/* Fora Digital — "Main Street Modern" (warm gallery)
   A small-town gallery wall hung with modern work: warm linen paper, oversized Instrument
   Serif, hairline frame linework, portfolio shown as framed browser plates.
   Deliberately BREAKS the dark/tech-slick agency convention — our buyers are local trade
   owners, and both portfolio screenshots are dark heroes that pop against a light wall.
   Electric cobalt is kept as the category's trust cue, and is the ONLY interactive color. */

:root{
  --paper:#F2F5FF;
  --surface:#FFFFFF;
  --ink:#0F1633;
  --stone:#5A6076;
  --cobalt:#1F4EFF;
  --cobalt-deep:#1637C9;
  --clay:#FF5A1F;
  --line:#E2E7F5;

  --fs-hero:clamp(3.4rem,9vw,7.25rem);
  --fs-h2:clamp(2.1rem,4.5vw,3.5rem);
  --fs-h3:clamp(1.35rem,2vw,1.65rem);
  --fs-lead:clamp(1.125rem,1.5vw,1.3125rem);
  --fs-body:1.0625rem;
  --fs-small:.9375rem;
  --fs-kicker:.8125rem;
  --lh-display:1.05;
  --lh-body:1.65;

  --space-1:.5rem; --space-2:1rem; --space-3:1.5rem;
  --space-4:2.5rem; --space-5:4rem; --space-6:6.5rem;
  --space-section:clamp(6rem,11vw,10rem);
  --container:1200px;
  --radius:10px;
  --radius-plate:14px;
  --nav-h:76px;
  --ease-out:cubic-bezier(.22,.9,.24,1);
  --ease-curtain:cubic-bezier(.77,0,.18,1);

  --serif:'Instrument Serif',Georgia,'Times New Roman',serif;
  --sans:'Hanken Grotesk','Segoe UI',system-ui,sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  background:var(--paper);color:var(--ink);
  font-family:var(--sans);font-size:var(--fs-body);line-height:var(--lh-body);
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
::selection{background:var(--cobalt);color:#fff}
:focus-visible{outline:2px solid var(--cobalt);outline-offset:3px;border-radius:2px}

.wrap{max-width:var(--container);margin:0 auto;padding:0 5vw}

/* anchor targets clear the sticky header */
#work,#founders,#process,#pricing,#contact,#reviews,#top{scroll-margin-top:calc(var(--nav-h) + 12px)}

/* linen grain */
.grain{
  position:fixed;inset:0;z-index:90;pointer-events:none;opacity:.03;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:var(--lh-display);letter-spacing:-.01em}
.kicker{
  font-family:var(--sans);font-weight:600;font-size:var(--fs-kicker);
  text-transform:uppercase;letter-spacing:.14em;color:var(--stone);
}
.lead{font-size:var(--fs-lead);color:var(--stone);max-width:52ch}

/* ---------- mask-curtain entrance (signature) ----------
   Scoped to .js (set by main.js before anything else). Without JavaScript there is no
   curtain at all — the page renders as plain, fully-visible content rather than a wall
   of opaque cobalt panels that nothing is left to remove. */
.reveal{position:relative}
.js .reveal::after{
  content:"";position:absolute;inset:0;background:var(--cobalt);z-index:3;
  transform:scaleX(1);transform-origin:left;
  transition:transform .7s var(--ease-curtain);
  transition-delay:calc(var(--i,0) * 90ms);
}
.js .reveal.in::after{transform:scaleX(0);transform-origin:right}

/* ---------- buttons / links (ink-sweep hover family) ---------- */
.btn{
  position:relative;overflow:hidden;display:inline-block;border-radius:var(--radius);
  font-family:var(--sans);font-weight:600;font-size:var(--fs-small);
  padding:14px 26px;border:1px solid transparent;
}
.btn span{position:relative;z-index:2}
.btn-primary{background:var(--cobalt);color:#fff}
.btn-primary::before{
  content:"";position:absolute;inset:0;background:var(--cobalt-deep);z-index:1;
  transform:scaleX(0);transform-origin:left;transition:transform .38s var(--ease-out);
}
@media (hover:hover) and (pointer:fine){.btn-primary:hover::before{transform:scaleX(1)}}
.btn:active{transform:translateY(1px)}

.link-draw{
  display:inline-block;color:var(--cobalt);font-weight:500;
  background:linear-gradient(var(--cobalt),var(--cobalt)) no-repeat 0 100%/0% 1.5px;
  transition:background-size .34s var(--ease-out);padding-bottom:2px;
}
@media (hover:hover) and (pointer:fine){.link-draw:hover{background-size:100% 1.5px}}

.link-arrow{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--ink)}
.link-arrow .arrow{transition:transform .15s var(--ease-out)}
@media (hover:hover) and (pointer:fine){.link-arrow:hover .arrow{transform:translateX(5px)}}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:60;height:var(--nav-h);
  background:color-mix(in srgb,var(--surface) 92%,transparent);
  backdrop-filter:blur(8px);border-bottom:1px solid var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:var(--nav-h)}
.wordmark{font-family:var(--serif);font-size:1.5rem;letter-spacing:-.01em}
.wordmark .dot{color:var(--cobalt)}
.nav-links{display:flex;gap:var(--space-3);font-weight:500;font-size:var(--fs-small)}
.nav-links a{
  background:linear-gradient(var(--cobalt),var(--cobalt)) no-repeat 0 100%/0% 1.5px;
  transition:background-size .34s var(--ease-out);padding-bottom:3px;
}
@media (hover:hover) and (pointer:fine){.nav-links a:hover{background-size:100% 1.5px}}
.nav-links a.current{background-size:100% 1.5px;color:var(--cobalt)}

/* mobile menu toggle: hidden on desktop, shown under the nav-links breakpoint */
.nav-toggle{
  display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  width:44px;height:44px;margin-left:var(--space-2);background:none;border:0;cursor:pointer;
}
.nav-toggle .bar{
  display:block;width:22px;height:2px;background:var(--ink);
  transition:transform .25s var(--ease-out),opacity .25s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] .bar:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* dropdown link list the toggle opens on mobile — same pages as .nav-links, just too
   cramped to stay inline once the header collapses under 720px. Sits right under the
   header (which is `position:sticky`, so it's the containing block) and sizes to its
   own content — never a fixed-height panel the links have to scroll inside. */
.mobile-nav{
  position:absolute;top:100%;left:0;right:0;z-index:59;
  background:var(--surface);border-bottom:1px solid var(--line);
  box-shadow:0 16px 32px rgba(15,22,51,.1);
  padding:var(--space-2) 5vw var(--space-3);
}
.mobile-nav[hidden]{display:none}
.mobile-nav a{
  display:block;padding:13px 0;font-weight:500;font-size:1.05rem;
  border-bottom:1px solid var(--line);
}
.mobile-nav a.current{color:var(--cobalt)}
.mobile-nav .mobile-cta{
  margin-top:var(--space-3);border-bottom:none;text-align:center;
}

@media(max-width:720px){.nav-links{display:none}.nav-cta{padding:11px 18px}.nav-toggle{display:flex}}
@media(min-width:721px){.mobile-nav{display:none!important}}

/* ---------- hero ---------- */
.hero{
  position:relative;min-height:calc(100svh - var(--nav-h));max-height:860px;
  display:flex;flex-direction:column;justify-content:center;overflow:hidden;
}
.hero-wash{
  position:absolute;top:-10%;left:-8%;width:70%;height:80%;z-index:0;pointer-events:none;
  background:radial-gradient(closest-side,rgba(31,78,255,.14),transparent 70%);
}
/* interactive cobalt "compass field" — reacts to the pointer (see main.js). Sits above the
   warm wash, below the registration frame and the text. pointer-events:none keeps CTAs clickable. */
.hero-field{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0;pointer-events:none}
.mat{position:absolute;inset:28px;border:1px solid var(--line);z-index:1;pointer-events:none}
.reg{position:absolute;width:12px;height:12px}
.reg::before,.reg::after{content:"";position:absolute;background:var(--cobalt)}
.reg::before{left:50%;top:0;width:1px;height:100%;transform:translateX(-50%)}
.reg::after{top:50%;left:0;height:1px;width:100%;transform:translateY(-50%)}
.reg-tl{top:-6px;left:-6px}
.reg-br{bottom:-6px;right:-6px}
.hero-inner{position:relative;z-index:2;width:100%;padding-top:var(--space-5);padding-bottom:var(--space-5)}

/* hero device — the site itself, turning on a phone. Dark plate against the paper, framed
   in the same border/radius/shadow language as the work plates. */
.hero-device{
  position:relative;border-radius:var(--radius-plate);overflow:hidden;background:#0B0E16;
  border:1px solid var(--line);box-shadow:0 34px 64px -30px rgb(15 22 51 / .5);
}
.hero-device::before{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  border-radius:inherit;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .07);
}
.hero-device .device-video{width:100%;height:auto;display:block}
@media(min-width:1000px){
  .hero-inner{
    display:grid;align-items:center;
    grid-template-columns:minmax(0,1fr) clamp(300px,30vw,440px);
    gap:clamp(1.5rem,4vw,4rem);
  }
}
@media(max-width:999px){
  .hero{max-height:none}
  .hero-device{width:min(280px,66vw);margin-top:var(--space-4)}
}
/* hero with the device moved into the next section — copy runs one column */
.hero-inner--solo{display:block}
/* our own site shown on a phone, hung as a portrait plate in the gallery rhythm */
.plate-device .device-plate{grid-column:1/span 5;background:#0B0E16;overflow:hidden}
.plate-device .device-plate .device-video{width:100%;height:auto;display:block}
.plate-device .plate-caption{grid-column:7/span 5;align-self:center}
@media(max-width:900px){.plate-device .device-plate,.plate-device .plate-caption{grid-column:1/-1}}
.hero-kicker{display:inline-block;margin-bottom:var(--space-3)}
.hero-h1{font-size:var(--fs-hero);margin-bottom:var(--space-3);max-width:14ch}
.hero-h1 .line{display:block;width:fit-content}
.hero-h1 em{font-style:italic;color:var(--clay)}
.hero-h1 .period{color:var(--cobalt)}
.hero-lead{margin-bottom:var(--space-3)}
/* the speed/price facts, hung as hairline-ruled rows so they read as spec, not marketing */
.hero-facts{
  list-style:none;margin:0 0 var(--space-4);padding:0;
  display:grid;gap:0;max-width:52ch;border-top:1px solid var(--line);
}
.hero-facts li{
  font-size:var(--fs-small);color:var(--stone);line-height:1.45;
  padding:10px 0 10px 18px;border-bottom:1px solid var(--line);position:relative;
}
.hero-facts li::before{
  content:"";position:absolute;left:0;top:1.05em;width:7px;height:1px;background:var(--cobalt);
}
.hero-facts strong{color:var(--ink);font-weight:600}
/* desktop: the three facts run as one ruled band so the hero (and the marquee under it)
   still fits inside the 860px cap instead of being clipped by it */
@media(min-width:1000px){
  .hero-inner{padding-top:var(--space-4);padding-bottom:var(--space-4)}
  .hero-facts{
    grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;
    border-bottom:1px solid var(--line);margin-bottom:var(--space-3);
  }
  .hero-facts li{border-bottom:0;padding:9px 20px 9px 18px}
  .hero-facts li+li{border-left:1px solid var(--line);padding-left:22px}
  .hero-facts li+li::before{left:4px}
}
.cta-row{display:inline-flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}

/* marquee */
.marquee{
  position:relative;z-index:2;margin-top:auto;overflow:hidden;white-space:nowrap;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;
}
.marquee-track{
  display:flex;width:max-content;
  font-family:var(--serif);font-size:1.15rem;color:var(--stone);
  animation:marquee 60s linear infinite;
}
/* each set carries the spacing (incl. a trailing gap) so the seam between the two sets
   matches the internal rhythm and translateX(-50%) lands exactly one set over. */
.mq-set{display:flex;align-items:center;gap:var(--space-3);padding-right:var(--space-3);flex:none}
.marquee .sep{color:var(--cobalt)}
@keyframes marquee{to{transform:translateX(-50%)}}
@media (hover:hover) and (pointer:fine){.marquee:hover .marquee-track{animation-play-state:paused}}

/* ---------- sections ---------- */
.section{padding:var(--space-section) 0;position:relative}
.section-head{margin-bottom:var(--space-6);max-width:32ch}
.section-head .kicker{display:inline-block;margin-bottom:var(--space-2)}
.section-head h2{font-size:var(--fs-h2);margin-bottom:var(--space-2)}

/* ---------- work plates ---------- */
.plate-row{
  display:grid;grid-template-columns:repeat(12,1fr);gap:var(--space-4);
  align-items:start;margin-bottom:var(--space-6);
}
.plate-left .plate{grid-column:1/span 8}
.plate-left .plate-caption{grid-column:9/span 4}
.plate-right .plate{grid-column:5/span 8;order:2}
.plate-right .plate-caption{grid-column:1/span 4;order:1}

.plate{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-plate);
  overflow:hidden;box-shadow:0 24px 48px -24px rgb(27 24 19 / .18);
  transition:border-color .4s var(--ease-out);
}
/* Browser-chrome bar removed at the client's request — the plate reads as a clean framed
   screenshot. The frame itself (border + radius + shadow) carries the "hung artwork" idea. */
.shot{overflow:hidden;line-height:0}
.shot img{width:100%;height:auto}

.plate-caption .badge{
  display:inline-block;font-family:var(--sans);font-weight:600;font-size:.75rem;
  text-transform:uppercase;letter-spacing:.08em;padding:6px 12px;border-radius:100px;
  margin-bottom:var(--space-2);
}
.badge-real{background:var(--cobalt);color:#fff}
.badge-concept{border:1px solid var(--line);color:var(--ink)}
.plate-caption h3{font-size:var(--fs-h3);margin-bottom:var(--space-1)}
.plate-caption p{color:var(--stone);font-size:var(--fs-small)}

/* Portfolio plates ARE links now — each opens its real bundled build in a new tab. The
   cobalt hover cue is therefore correct here (cobalt = "a click lives here"), unlike the
   earlier dead-plate version. Coming-soon plates stay non-interactive and get none of it. */
.plate-link{display:block;cursor:pointer}
.plate-link:focus-visible{outline:2px solid var(--cobalt);outline-offset:4px}
@media (hover:hover) and (pointer:fine){
  .plate-row:hover .plate-link{border-color:var(--cobalt)}
  .plate-row:hover .plate-caption h3 .u{background-size:100% 1.5px}
}
/* h3 stays block-level so the badge sits on its own line above the title. (A previous
   pass set display:inline, which collapsed badge + title into one line box and killed
   the h3's bottom margin — vertical margins don't apply to inline boxes.) */
.plate-caption h3 .u{
  background:linear-gradient(var(--ink),var(--ink)) no-repeat 0 100%/0% 1.5px;
  transition:background-size .34s var(--ease-out);
}

/* ---------- pricing ---------- */
/* The one number on the page, hung like a piece on the gallery wall: an oversized serif
   figure on the left with the hairline rule beside it doing the framing, the plain list of
   what it covers on the right. No card, no tier grid — a tier grid would imply prices we
   have not quoted. */
.price-row{
  display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:var(--space-5);align-items:start;
}
.price-figure{border-top:1px solid var(--line);padding-top:var(--space-3)}
.price-from{
  font-family:var(--sans);font-weight:600;font-size:var(--fs-kicker);
  text-transform:uppercase;letter-spacing:.14em;color:var(--stone);
}
.price-number{
  font-family:var(--serif);font-size:clamp(4rem,10vw,7.5rem);line-height:.92;
  letter-spacing:-.02em;color:var(--ink);margin-top:var(--space-1);
}
.price-cur{font-size:.45em;vertical-align:.62em;margin-right:.06em;color:var(--stone)}
.price-detail .kicker{margin-bottom:var(--space-2)}
.price-list{list-style:none;display:flex;flex-direction:column;gap:var(--space-2)}
.price-list li{
  position:relative;padding:0 0 var(--space-2) 26px;border-bottom:1px solid var(--line);
}
.price-list li:last-child{border-bottom:0;padding-bottom:0}
/* cobalt tick — the only color in the section, matching the interactive-only rule */
.price-list li::before{
  content:"";position:absolute;left:2px;top:.62em;width:10px;height:6px;
  border-left:1.8px solid var(--cobalt);border-bottom:1.8px solid var(--cobalt);
  transform:rotate(-45deg);
}
.price-detail .btn{margin-top:var(--space-4)}
@media(max-width:860px){
  .price-row{grid-template-columns:1fr;gap:var(--space-4)}
  .price-detail .btn{width:100%;text-align:center}
}

/* ---------- founders ---------- */
.founders{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.founder-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-5)}
.founder-card h3{font-size:var(--fs-h3);margin-bottom:2px}
.founder-card .role{display:block;margin-bottom:var(--space-2)}
.founder-card p{color:var(--stone);margin-bottom:var(--space-2)}
.monogram{
  width:150px;height:190px;border:1px solid var(--line);background:var(--paper);
  border-radius:999px 999px var(--radius) var(--radius);
  display:grid;place-items:center;margin-bottom:var(--space-2);
}
.monogram span{font-family:var(--serif);font-size:3.5rem;color:var(--ink)}
/* real founder photo drops into the same arched frame, filling it */
.monogram-photo{overflow:hidden;padding:0}
.monogram-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.photo-note{font-size:.8rem;color:var(--stone);margin-bottom:var(--space-3)!important}

/* ---------- contact ---------- */
.contact{position:relative;overflow:hidden}
.contact-wash{
  position:absolute;right:-10%;top:0;width:60%;height:100%;z-index:0;pointer-events:none;
  background:radial-gradient(closest-side,rgba(220,228,250,.30),transparent 70%);
}
.contact .wrap{position:relative;z-index:1}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4)}
.contact-card{
  display:flex;flex-direction:column;gap:4px;padding:var(--space-4);
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  transition:border-color .35s var(--ease-out);
}
.contact-card .c-name{font-family:var(--serif);font-size:var(--fs-h3)}
.contact-card .c-email{
  font-family:var(--serif);font-size:1.35rem;color:var(--cobalt);margin-top:var(--space-2);
  background:linear-gradient(var(--cobalt),var(--cobalt)) no-repeat 0 100%/0% 1.5px;
  transition:background-size .34s var(--ease-out);padding-bottom:2px;word-break:break-word;
}
@media (hover:hover) and (pointer:fine){
  .contact-card:hover{border-color:var(--cobalt)}
  .contact-card:hover .c-email{background-size:100% 1.5px}
}

/* ---------- inquiry form ----------
   Two-column ruled sheet: inputs are hairline-underlined rather than boxed, so the form
   reads like the gallery's linework instead of a generic bordered widget. */
.inquiry-form{
  position:relative;display:grid;grid-template-columns:1fr 1fr;
  gap:var(--space-3) var(--space-4);margin-bottom:var(--space-6);
  padding:var(--space-4);background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius);
}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field-wide{grid-column:1/-1}
.field label{
  font-family:var(--sans);font-weight:600;font-size:var(--fs-small);color:var(--ink);
}
.field .opt{font-weight:400;color:var(--stone);text-transform:none;letter-spacing:0}
.field input{
  font-family:var(--sans);font-size:var(--fs-body);color:var(--ink);
  background:transparent;border:0;border-bottom:1px solid var(--line);
  border-radius:0;padding:9px 2px;width:100%;
  transition:border-color .3s var(--ease-out);
}
.field input::placeholder{color:#9AA1B8}
.field input:focus{outline:none;border-color:var(--cobalt)}
.field input:focus-visible{outline:2px solid var(--cobalt);outline-offset:3px}
/* invalid styling only after a submit attempt, so nothing is red while still typing */
.inquiry-form.submitted :invalid{border-color:var(--clay)}
.form-actions{
  flex-direction:row;align-items:center;gap:var(--space-3);flex-wrap:wrap;
  margin-top:var(--space-2);
}
.form-note{color:var(--stone);font-size:var(--fs-small);max-width:34ch}
.form-status{
  grid-column:1/-1;margin:0;padding:12px 14px;border-radius:var(--radius);
  background:rgba(31,78,255,.07);border:1px solid var(--line);
  font-size:var(--fs-small);color:var(--ink);
}
/* submission confirmation page (thanks.html) — one column of text, so it gets more
   measure than the 32ch section heads on the home page */
.thanks-head{max-width:56ch}
.thanks-head h1{font-size:var(--fs-h2);margin-bottom:var(--space-3)}
.thanks-head .lead{margin-bottom:var(--space-4)}

/* honeypot: off-screen for bots to find, never shown to a person */
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:760px){
  .inquiry-form{grid-template-columns:1fr;padding:var(--space-3)}
  .form-actions .btn{width:100%;text-align:center}
}
/* touch: inputs clear the 44px tap-target floor */
@media (pointer:coarse){
  .field input{padding:12px 2px}
}

/* ---------- how it works ---------- */
/* Editorial ledger: four steps, each under its own hairline rule with an oversized serif
   numeral. Numbers are stone, not cobalt — cobalt stays reserved for interactive elements. */
.steps{
  list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-4);
}
.step{padding-top:var(--space-3);border-top:1px solid var(--line)}
.step-num{
  display:block;font-family:var(--serif);font-size:2.75rem;line-height:1;
  color:var(--stone);margin-bottom:var(--space-2);
}
.step h3{font-size:var(--fs-h3);margin-bottom:var(--space-1)}
.step p{color:var(--stone);font-size:var(--fs-small)}

/* ---------- reviews ---------- */
/* Surface block with a top rule, so it separates from the paper Contact section above and
   the ink footer below. Honest empty state mirrors the coming-soon plates: no fabricated
   quotes ever — the space just waits until real reviews arrive. */
.reviews{background:var(--surface);border-top:1px solid var(--line)}
.reviews .section-head .btn{margin-top:var(--space-3)}
.quote-glyph{
  display:block;font-family:var(--serif);font-size:4rem;line-height:.6;
  color:var(--cobalt);margin-bottom:var(--space-2);
}
/* Review form — same hairline-field language as the inquiry form, one column narrower so
   the two forms don't read as the same block twice. */
.review-form{
  position:relative;display:grid;grid-template-columns:1fr 1fr;
  gap:var(--space-3) var(--space-4);margin-bottom:var(--space-5);
  padding:var(--space-4);background:var(--paper);
  border:1px solid var(--line);border-radius:var(--radius);
}
.review-form textarea{
  font-family:var(--sans);font-size:var(--fs-body);color:var(--ink);
  background:transparent;border:1px solid var(--line);border-radius:var(--radius);
  padding:10px 12px;width:100%;resize:vertical;min-height:110px;
  transition:border-color .3s var(--ease-out);
}
.review-form textarea::placeholder{color:#9AA1B8}
.review-form textarea:focus{outline:none;border-color:var(--cobalt)}
.review-form textarea:focus-visible{outline:2px solid var(--cobalt);outline-offset:3px}
.review-form.submitted :invalid{border-color:var(--clay)}
.stars-field{border:0;padding:0;margin:0;min-width:0}
.stars-field legend{
  font-family:var(--sans);font-weight:600;font-size:var(--fs-small);color:var(--ink);
  padding:0;margin-bottom:6px;
}
/* Radios sit in DOM order 5→1 so a checked star can style the lower ones with ~ ;
   row-reverse puts them back on screen as 1→5, left to right. */
.stars-input{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:4px}
.stars-input input{position:absolute;opacity:0;width:1px;height:1px}
.stars-input label{
  cursor:pointer;font-size:1.6rem;line-height:1;color:var(--line);
  padding:2px 1px;transition:color .2s var(--ease-out);
}
.stars-input label::before{content:"\2605"}
.stars-input label:hover,
.stars-input label:hover ~ label,
.stars-input input:checked,
.stars-input input:checked ~ label{color:var(--clay)}
.stars-input input:focus-visible + label{outline:2px solid var(--cobalt);outline-offset:2px}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
/* a review the writer just submitted: visible to them, not published yet */
.review-card.is-pending{border-style:dashed}
.review-pending{
  font-size:var(--fs-small);color:var(--stone);font-weight:600;
  text-transform:uppercase;letter-spacing:.08em;
}
@media(max-width:760px){
  .review-form{grid-template-columns:1fr;padding:var(--space-3)}
  .stars-input label{font-size:1.9rem;padding:6px 3px}
}
@media (pointer:coarse){
  .stars-input label{font-size:1.9rem;padding:6px 4px}
}

.reviews-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4)}
.reviews-empty{
  grid-column:1/-1;background:var(--paper);border:1px dashed var(--line);
  border-radius:var(--radius);min-height:200px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:var(--space-5);gap:6px;
}
.reviews-empty .quote-glyph{margin-bottom:var(--space-1)}
.reviews-sub{color:var(--stone);font-size:var(--fs-small);max-width:34ch}

/* Review cards — used once real reviews come in (see the template in index.html). */
.review-card{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-2);
}
.review-stars{color:var(--clay);letter-spacing:2px;font-size:1.05rem}
.review-quote{font-family:var(--serif);font-size:1.35rem;line-height:1.35;color:var(--ink)}
.review-author{font-size:var(--fs-small);color:var(--stone);font-weight:600}

/* ---------- footer ---------- */
.site-footer{background:var(--ink);color:var(--paper);padding:var(--space-5) 0 var(--space-3)}
.foot{display:flex;justify-content:space-between;gap:var(--space-5);flex-wrap:wrap}
.foot-wordmark{font-size:1.6rem;color:var(--paper)}
.foot-line{color:#AEB4CC;font-size:var(--fs-small);margin-top:4px}
.foot-cols{display:flex;gap:var(--space-5)}
.foot-cols a{display:block;color:#A9BAF5;font-size:var(--fs-small);
  background-image:linear-gradient(#A9BAF5,#A9BAF5);background-repeat:no-repeat;
  background-position:0 100%;background-size:0% 1.5px;transition:background-size .34s var(--ease-out);
  padding-bottom:2px;margin-bottom:4px}
@media (hover:hover) and (pointer:fine){.foot-cols a:hover{background-size:100% 1.5px}}
.foot-kicker{color:#8990AB;margin-bottom:var(--space-1)}
.foot-bottom{margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid rgba(221,213,196,.18)}
.foot-bottom p{font-size:var(--fs-small);color:#8990AB}

/* ---------- scroll set-piece: gallery hang ---------- */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference) and (pointer:fine){
    .plate{
      animation:hang linear both;
      animation-timeline:view();
      animation-range:entry 5% cover 32%;
    }
    @keyframes hang{
      from{transform:rotate(-1.2deg) scale(.97);opacity:.55}
      to{transform:none;opacity:1}
    }
  }
}

/* ---------- responsive ---------- */
@media(max-width:900px){
  .plate-row{grid-template-columns:1fr;gap:var(--space-3)}
  .plate-left .plate,.plate-right .plate,
  .plate-left .plate-caption,.plate-right .plate-caption{grid-column:1/-1}
  .plate-right .plate{order:0}
  .plate-right .plate-caption{order:1}
  .founder-grid,.contact-grid,.reviews-grid{grid-template-columns:1fr;gap:var(--space-4)}
  .steps{grid-template-columns:1fr 1fr;gap:var(--space-4) var(--space-4)}
}
@media(max-width:560px){
  .steps{grid-template-columns:1fr}
}
/* Touch: every link is a ≥44px tap target (plan §11). Applied on coarse pointers so the
   desktop's tight typographic rhythm is untouched. */
@media (pointer:coarse){
  .link-draw,.link-arrow,.foot-cols a,.nav-links a,.wordmark{
    min-height:44px;display:inline-flex;align-items:center;
  }
  .founder-card .link-draw,.foot-cols a{padding-block:8px}
  .contact-card{padding:var(--space-4) var(--space-3)}
  .contact-card .c-email{min-height:44px;display:flex;align-items:center}
}

@media(max-width:560px){
  .hero{min-height:auto;max-height:none;padding-top:var(--space-4)}
  .section{padding:clamp(4rem,14vw,6rem) 0}
  .mat{inset:16px}
  .cta-row{width:100%}
  .cta-row .btn{width:100%;text-align:center}
  .monogram{width:120px;height:150px}
  .monogram span{font-size:2.75rem}
  .contact-card .c-email{font-size:1.1rem}
}

/* ---------- reduced motion kill switch ---------- */
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .js .reveal::after{display:none}
  .marquee-track{animation:none}
}
