/* Rogers Meadow — rm3 design system
   Bright daylight: cream / sky / sage / sunflower-brass.
   Typography (LOCKED by Jared, 2026-10-19): Geist Sans for headlines + body,
   Geist Mono for accents. Self-hosted woff2 (Fontsource builds of Vercel's
   Geist, SIL OFL 1.1) under fonts/ — no Google Fonts, no CDN dependency. */

@font-face { font-family: "Geist Sans"; src: url("fonts/geist-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Sans"; src: url("fonts/geist-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Sans"; src: url("fonts/geist-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Sans"; src: url("fonts/geist-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Sans"; src: url("fonts/geist-sans-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Sans"; src: url("fonts/geist-sans-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --cream: #fff8ec;
  --paper: #fffdf7;
  --ink: #24303a;
  --muted: #5d6d79;
  --sky: #3d7ea6;
  --sky-deep: #2c5f7f;
  --sky-soft: #eaf6fc;
  --sage: #5f7d5a;
  --sage-soft: #eef5ea;
  --gold: #e9b44c;
  --gold-deep: #b97f16;
  --brass-1: #8a5d0f;
  --brass-2: #b97f16;
  --brass-3: #e9b44c;
  --brass-4: #f6d47c;
  --line: #e7dcc4;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(36, 48, 58, .08);
  --font-sans: "Geist Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--ink); }
a { color: var(--sky); }
section[id] { scroll-margin-top: 96px; }

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.mono { font-family: var(--font-mono); }
.grad {
  background: linear-gradient(100deg, var(--brass-1) 0%, var(--brass-2) 30%, var(--brass-3) 55%, var(--brass-4) 75%, var(--brass-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem 1.25rem;
  background: rgba(255, 248, 236, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .66rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.brand-emblem { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--sky); }
.nav a[aria-current="page"] { color: var(--gold-deep); box-shadow: inset 0 -2px 0 var(--gold); }
.nav .nav-cta { background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 999px; box-shadow: none; }
.nav .nav-cta:hover { background: var(--sky); color: #fff; }

main { width: calc(100% - 2rem); max-width: 980px; margin: 0 auto; }
.page { padding-top: 2.6rem; }
.page-head { text-align: center; max-width: 720px; margin: 0 auto 0.5rem; }
.page-head h1 { font-size: clamp(2.1rem, 5.5vw, 3.3rem); margin: .2rem 0 .8rem; }

/* ---------- hero / type ---------- */
.hero { text-align: center; padding: 3.4rem 1rem 0; position: relative; }
.eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 600; color: var(--gold-deep); margin: 0 0 .6rem; }
.hero h1 { font-size: clamp(2.3rem, 6.4vw, 3.9rem); margin: .2rem 0 1rem; }
.hero h1 .stack-line { display: block; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 660px; margin: 0 auto 1.6rem; }
.hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: .95rem; margin-top: 1rem; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; letter-spacing: -0.01em;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); }

/* pure-CSS daylight meadow strip */
.meadow { position: relative; height: 120px; margin-top: 2.2rem; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); }
.meadow .sun { position: absolute; top: 8px; right: 12%; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 10px rgba(233,180,76,.25); }
.meadow .hill { position: absolute; left: -10%; width: 120%; border-radius: 50% 50% 0 0; }
.meadow .hill-back { bottom: 28px; height: 70px; background: #cfe3c2; }
.meadow .hill-front { bottom: -18px; height: 70px; background: #a9c795; }
.meadow .cow { position: absolute; bottom: 22px; left: 14%; font-size: 2rem; }

/* ---------- availability pill (Home signature) ---------- */
.availability-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: #fff3d6; border: 1px solid var(--gold); color: var(--ink);
  padding: .45rem 1rem; border-radius: 999px; box-shadow: var(--shadow);
}
.availability-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: #4c9a4c; flex: none; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(76,154,76,.45); } 50% { box-shadow: 0 0 0 6px rgba(76,154,76,0); } }
.availability {
  background: #fff3d6; border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 1rem 1.3rem; margin: 2rem 0 0; text-align: center; box-shadow: var(--shadow);
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 2.4rem 0 0; padding: .7rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 30s linear infinite; font-family: var(--font-mono); font-size: .84rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee-track span::after { content: "✿"; margin-left: 2.6rem; color: var(--gold-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards & grids ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2.4rem 2rem; margin: 2rem 0;
}
.card h2 { font-size: clamp(1.55rem, 3.6vw, 2.05rem); margin: .2rem 0 1rem; }
.card-sky { background: var(--sky-soft); }
.card-sage { background: var(--sage-soft); }
.muted { color: var(--muted); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.4rem; }
.three article { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; }
.three h3 { margin-top: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.checklist { padding-left: 1.2rem; }
.checklist li { margin-bottom: .55rem; }
.checklist-no li::marker { content: "✕ "; color: #b04a3a; font-weight: 700; }
.callout { background: var(--sky-soft); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; margin-top: 1.4rem; }
.slot {
  border: 2px dashed var(--gold-deep); background: #fff3d6; border-radius: 14px;
  padding: 1rem 1.2rem; margin: 1.2rem 0; color: var(--ink);
}
.slot .slot-label { font-family: var(--font-mono); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: .35rem; }
.slot p { margin: 0; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- examples / work ---------- */
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.4rem; }
.example-card { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; transition: transform .25s ease, box-shadow .25s ease; }
.example-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.example-card h3 { margin: .6rem 0 .4rem; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .04em; padding: .25rem .6rem; border-radius: 999px; }
.tag-live { background: var(--sage-soft); color: var(--sage); border: 1px solid var(--sage); }
.tag-demo { background: var(--sky-soft); color: var(--sky); border: 1px solid var(--sky); }

/* before / after slider (Work signature) */
.ba { position: relative; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); margin-top: 1.4rem; }
.ba-layer { padding: 1.6rem; min-height: 240px; }
.ba-before { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .86rem; color: #444; background: #f4f1ea; white-space: pre-wrap; word-break: break-word; }
.ba-after-wrap { position: absolute; inset: 0; }
.ba-after { position: absolute; inset: 0; background: linear-gradient(160deg, var(--sky-soft), var(--cream) 60%); box-shadow: inset -3px 0 0 var(--gold); }
.ba-after h3 { font-size: 1.7rem; margin: .2rem 0 .5rem; }
.ba-tag { position: absolute; top: .7rem; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; padding: .2rem .55rem; border-radius: 999px; z-index: 3; }
.ba-tag-l { left: .7rem; } .ba-tag-r { right: .7rem; background: var(--gold-deep); }
.ba-range { width: 100%; margin-top: 1rem; accent-color: var(--gold-deep); }
.ba-caption { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); text-align: center; margin-top: .4rem; }

/* ---------- pricing ---------- */
.pricing-card { background: #fff; border: 2px solid var(--gold); border-radius: 16px; padding: 1.8rem; position: relative; overflow: hidden; }
.pricing-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: linear-gradient(90deg, var(--brass-1), var(--brass-3), var(--brass-4), var(--brass-2)); }
.pricing-card h3 { margin-top: .4rem; font-size: 1.4rem; }
.price { font-family: var(--font-mono); font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; margin: .3rem 0 1.2rem; }
.price span { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.price-hero { text-align: center; padding: 2.6rem 2rem; }
.price-hero .price { font-size: clamp(4rem, 12vw, 6.5rem); margin: .4rem 0 .2rem; }
.stamp {
  display: inline-block; font-family: var(--font-mono); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); border: 2px solid var(--gold-deep); border-radius: 8px; padding: .35rem .8rem; transform: rotate(-3deg);
}
.calc { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; margin-top: 1.4rem; }
.calc label { font-weight: 700; display: block; margin-bottom: .4rem; }
.calc .calc-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.calc input[type="number"] { width: 110px; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.calc input[type="range"] { flex: 1; min-width: 180px; accent-color: var(--gold-deep); }
.calc-out { font-size: 1.12rem; margin-top: 1rem; }
.calc-out strong { font-family: var(--font-mono); }
.calc-bars { margin-top: 1rem; display: grid; gap: .5rem; font-family: var(--font-mono); font-size: .78rem; }
.calc-bars .bar { height: 16px; border-radius: 999px; background: var(--gold); transition: width .4s ease; min-width: 34px; }
.calc-bars .bar-builder { background: var(--sky); }

/* ---------- comparison table (Services signature) ---------- */
.compare-wrap { overflow-x: auto; margin-top: 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table.compare { border-collapse: collapse; width: 100%; min-width: 620px; }
table.compare th, table.compare td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--cream); font-size: 1.02rem; }
table.compare thead th .mono { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); margin-top: .2rem; }
table.compare tbody th { font-weight: 600; color: var(--muted); width: 22%; }
table.compare td.yes { color: var(--sage); font-weight: 700; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: none; }

/* ---------- process ---------- */
.steps-list { list-style: none; padding: 0; }
.steps-list li { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.steps-list h3 { margin: 0 0 .4rem; }
.steps-list h3 .mono { color: var(--gold-deep); font-size: .85em; }
.steps-list p { margin: 0; }

/* ---------- about / stats ---------- */
.portrait-slot { text-align: center; padding: 2rem 1.4rem; }
.portrait-frame {
  width: min(340px, 80vw); aspect-ratio: 4 / 5; margin: 0 auto 1rem;
  border: 3px solid var(--gold); border-radius: 18px; background: var(--paper);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
.stat { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1rem; text-align: center; }
.stat .num { font-family: var(--font-mono); font-size: 2.3rem; font-weight: 700; letter-spacing: -0.03em; display: block; }
.stat .lbl { color: var(--muted); font-size: .9rem; }
.stat-joke { border-style: dashed; border-color: var(--gold-deep); background: #fff3d6; }
.byline { font-weight: 800; font-size: 1.08rem; margin-top: 1.4rem; }

/* ---------- FAQ ---------- */
details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: .9rem 1.1rem; margin-bottom: .7rem; }
details summary { font-weight: 700; cursor: pointer; }
details p { margin: .6rem 0 .2rem; }

/* ---------- forms / contact ---------- */
form label { display: block; font-weight: 700; margin: 1rem 0 .35rem; }
form label:first-child { margin-top: 0; }
form input, form textarea, form select {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit;
}
form input:focus, form textarea:focus, form select:focus { outline: 2px solid var(--sky); outline-offset: 1px; border-color: var(--sky); }
form button { margin-top: 1.2rem; }
.form-note { color: var(--muted); font-size: .9rem; }
.optional { font-weight: 400; color: var(--muted); font-size: .88rem; }
.pills { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .35rem; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label.pill {
  margin: 0; font-weight: 600; font-size: .94rem; cursor: pointer;
  border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: .55rem 1rem;
}
.pills input:checked + label.pill { border-color: var(--gold-deep); background: #fff3d6; }
.pills input:focus-visible + label.pill { outline: 2px solid var(--sky); outline-offset: 2px; }
.thanks { text-align: center; padding: 2rem 1.4rem; }
.thanks h3 { font-size: 1.6rem; margin: .2rem 0 .6rem; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: .7rem; }
.contact-side h3 { margin-top: 0; }

/* ---------- footer (personality) ---------- */
footer { text-align: center; padding: 3rem 1rem 3.2rem; color: var(--muted); }
footer p { margin: .3rem 0; }
.footer-emblem { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 14px; }
.footer-stack { font-family: var(--font-mono); font-weight: 700; letter-spacing: .22em; font-size: .95rem; line-height: 1.5; color: var(--ink); margin: 1rem 0 .4rem; text-transform: uppercase; }
.footer-nav { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; }
.footer-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--sky); }

/* ---------- live-preview thumbnails (Work + Home proof) ---------- */
.shot { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow); margin-bottom: 1rem; }
.shot-bar { display: flex; align-items: center; gap: .5rem; background: var(--cream); border-bottom: 1px solid var(--line); padding: .4rem .7rem; }
.shot-dots { display: inline-flex; gap: 5px; flex: none; }
.shot-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.shot-dots i:first-child { background: #e08a7b; }
.shot-dots i:nth-child(2) { background: var(--gold); }
.shot-dots i:last-child { background: #8fbf7f; }
.shot-url { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-frame { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.shot-frame iframe { position: absolute; top: 0; left: 0; width: 200%; height: 200%; transform: scale(.5); transform-origin: 0 0; border: 0; pointer-events: none; }
.proof { margin-top: 2.4rem; text-align: center; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.2rem; text-align: left; }
.proof-card { text-decoration: none; color: var(--ink); display: block; }
.proof-card .shot { transition: transform .25s ease, box-shadow .25s ease; margin-bottom: .6rem; }
.proof-card:hover .shot { transform: translateY(-4px); }
.proof-cap { font-size: .92rem; color: var(--muted); margin: 0; }
.proof-cap strong { color: var(--ink); }

/* demo pages */
.demo-banner { background: var(--ink); color: #fff; text-align: center; padding: .55rem 1rem; font-size: .92rem; font-family: var(--font-mono); }
.demo-banner a { color: var(--gold); }

@media (max-width: 760px) {
  .three, .two, .examples, .stats, .proof-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .card { padding: 1.8rem 1.25rem; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .availability-pill .dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .example-card { transition: none; }
}
