/* =========================================================
   Ellerby Studio (DEMO) — interior design, Manchester.

   Ported from the Calibre Framer template's design language onto a
   hand-coded token system. Measured off the live template rather than
   eyeballed, so the numbers below are its numbers:

     - Inter at weight 400 for display type, never bold. The page gets its
       authority from SIZE and TRACKING, not weight — h1 is 66px at
       -0.065em, h2 54px at -0.065em, the stat numbers 86px at -0.085em.
       Setting any of these to 600 makes it a different, heavier design.
     - Radii of 1–2px. Effectively square. This is the single most
       distinctive thing about the template and the easiest to lose: one
       rounded card and the architectural read goes.
     - White -> #f5f6f7 wash -> white banding, with near-black #101014
       full-bleed bands carrying all the contrast.
     - Mono "// Label" eyebrows above every section heading.
     - Container 1300px, 32px gutter, ~100–120px section padding.

   THE GLASS NAV is the piece the template is known for and the reason this
   build exists: a floating capsule, backdrop-filter blur(10px) over
   rgba(255,255,255,.15), 6px radius, 0 1px 3px shadow, 10px/18px padding,
   40px gap. See .nav for the one departure (dark glass past the hero).

   ANIMATION. Framer runs everything through Motion in JS, so there is no
   CSS to copy — these are rebuilt from observed behaviour:
     - the capsule slides down from -160% on load
     - every link and button is a two-copy text roll on hover
     - stats count up from 0 when revealed
     - sections rise 28px out of a 6px blur, staggered
     - the credential strip marquees
   All of it is behind prefers-reduced-motion.

   PHOTOGRAPHY. Five slots — a 16:9 hero and four 4:3 project tiles — cropped
   at build time by scripts/make_ellerby_images.py, never with object-fit.
   Re-frame by editing that script's MANIFEST focus/zoom columns and re-running;
   don't hand-edit a WebP, it would be overwritten on the next run. The
   originals are NOT in the repo — see the script header.

   It shipped the same day with a drawn hero panel and four "material block"
   tiles, because there were no licensed interior photographs yet. That was a
   stopgap, not the intent: for an interior studio the portfolio IS the product,
   and a prospect is buying the way a finished room looks.

   Unlike Marram these are not greyscaled. This page is strictly neutral in its
   CHROME precisely so the photography is the only colour on it — desaturating
   would leave the design nothing to be restrained against.
   ========================================================= */

:root {
  --ink:        #0a0b12;            /* near-black, slight blue cast */
  --ink-70:     rgba(10, 11, 18, .70);
  --ink-50:     rgba(10, 11, 18, .50);
  --paper:      #ffffff;
  --wash:       #f5f6f7;            /* the one grey band            */
  --dark:       #101014;            /* full-bleed contrast bands    */
  --muted:      #2b2b2b;

  --line:       rgba(10, 11, 18, .12);
  --line-d:     rgba(255, 255, 255, .14);
  --muted-d:    rgba(255, 255, 255, .66);

  /* Near-square. See the header note — this is the template's signature. */
  --r:          2px;
  --r-sm:       1px;
  --r-glass:    6px;

  --wrap:       1300px;
  --gut:        32px;
  --sect:       clamp(72px, 8.5vw, 118px);

  --ease:       cubic-bezier(.22, 1, .36, 1);
  --f:          "Inter", system-ui, -apple-system, sans-serif;
  --fm:         "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
/* .form and .done both set `display: grid`, which outranks the `hidden`
   attribute the script toggles them with — without this the success panel
   shows alongside the form and submitting never hides it. */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }
/* Calibre's 32px gutter is a desktop number; on a phone it costs a sixth of
   the screen, and this page's long headlines need the width. */
@media (max-width: 640px) { :root { --gut: 20px; } }
.brk { display: none; }
@media (min-width: 900px) { .brk { display: inline; } }

/* Demo badge — every client demo carries one, so nobody mistakes a concept
   build for a live business. */
.demobadge {
  position: fixed; z-index: 90; left: 14px; bottom: 14px;
  background: var(--ink); color: #fff;
  font-size: 11.5px; font-weight: 500; letter-spacing: -.01em;
  padding: 8px 14px; border-radius: var(--r);
  box-shadow: 0 8px 26px rgba(10, 11, 18, .3);
  transition: background .3s var(--ease);
}
.demobadge:hover { background: var(--muted); }

/* ---------------------------------------------------------
   TYPE SCALE
   Weight 400 everywhere. The tracking does the work.
   --------------------------------------------------------- */
.h2 {
  font-size: clamp(33px, 5.2vw, 54px);
  line-height: 1.025;
  letter-spacing: -.065em;
  font-weight: 400;
  max-width: 18ch;
  text-wrap: balance;
}
.h2--light { color: #fff; }

.eyebrow {
  font-family: var(--fm);
  font-size: 13px;
  letter-spacing: -.01em;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow--light { color: rgba(255, 255, 255, .78); }

.sect { padding: var(--sect) 0; }
.sect--wash { background: var(--wash); }
.dark { background: var(--dark); color: #fff; }

.shead { margin-bottom: clamp(40px, 5vw, 64px); max-width: 780px; }
.shead__p { color: var(--ink-70); font-size: 17px; max-width: 56ch; margin-top: 20px; }
.dark .shead__p { color: var(--muted-d); }
.shead--row { max-width: none; display: grid; gap: 26px; align-items: end; }
@media (min-width: 900px) {
  .shead--row { grid-template-columns: 1fr auto; }
  .shead--row .shead__p { margin-top: 0; max-width: 40ch; }
}

/* ---------------------------------------------------------
   TEXT ROLL
   The template's hover on every link and button: the label is stacked
   twice inside a clipped box and the pair slides one line. Note the
   second copy is aria-hidden in the markup so it is never read twice.
   --------------------------------------------------------- */
.roll { display: block; position: relative; overflow: hidden; }
.roll > span { display: block; transition: transform .55s var(--ease); }
.roll > span:last-child { position: absolute; inset: 0; transform: translateY(105%); }
a:hover .roll > span:first-child,
button:hover .roll > span:first-child { transform: translateY(-105%); }
a:hover .roll > span:last-child,
button:hover .roll > span:last-child { transform: translateY(0); }

/* ---------------------------------------------------------
   BUTTONS
   Square, quiet, and small — the template never shouts with a button.
   --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  padding: 13px 24px;
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--muted); border-color: var(--muted); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 16px 30px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }

.btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
/* .hero is a dark surface without being a .dark section, so it has to be
   named here too — otherwise the ghost button paints near-black type on a
   near-black hero and disappears. */
.dark .btn, .hero .btn { background: #fff; color: var(--ink); border-color: #fff; }
.dark .btn:hover, .hero .btn:hover { background: rgba(255, 255, 255, .86); border-color: rgba(255, 255, 255, .86); }
.dark .btn--line, .hero .btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.dark .btn--line:hover, .hero .btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: border-color .35s var(--ease);
}
.link:hover { border-color: var(--ink); }
.link svg { transition: transform .4s var(--ease); }
.link:hover svg { transform: translate(2px, -2px); }

.dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; display: inline-block;
  margin-right: 4px; vertical-align: middle;
}

/* =========================================================
   NAV — the glass capsule
   ========================================================= */
.navwrap {
  position: fixed; z-index: 60; top: 14px; left: 0; right: 0;
  padding: 0 var(--gut);
  /* Slides down on load. .is-ready is set on the next frame by script.js
     so the transition actually runs instead of being the initial state. */
  transform: translateY(-160%);
  transition: transform .9s var(--ease);
}
.navwrap.is-ready { transform: translateY(0); }

.nav {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}

.brand {
  font-size: 17px; font-weight: 500; letter-spacing: -.045em;
  text-transform: uppercase;
  color: #fff;
  transition: color .35s var(--ease);
}
.brand sup { font-size: .5em; top: -.7em; position: relative; }
.brand--lg { font-size: 26px; }

/* The capsule itself. These five values ARE the effect — white at 15% over
   blur(10px), with a 1px/3px shadow to lift it off the photograph. Raising
   the alpha turns it into a solid bar; dropping the shadow makes it float
   without weight. */
.nav__caps {
  display: none;
  align-items: center; gap: 40px;
  padding: 10px 18px;
  border-radius: var(--r-glass);
  background: rgba(255, 255, 255, .15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
@media (min-width: 940px) { .nav__caps { display: flex; } }
.nav__caps a {
  font-size: 13px; font-weight: 400; letter-spacing: -.01em;
  color: #fff;
  transition: color .35s var(--ease);
}

/* Past the hero the page is white, and white glass over white is nothing.
   Same material, inverted — this is the one place the port departs from
   the template, and only because the template never has to solve it. */
.navwrap.is-stuck .nav__caps {
  background: rgba(16, 16, 20, .55);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}
.navwrap.is-stuck .brand { color: var(--ink); }
.navwrap.is-stuck .nav__burger span { background: var(--ink); }

.nav__end { display: flex; align-items: center; gap: 12px; }
.nav__end .btn {
  background: rgba(255, 255, 255, .15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.nav__end .btn:hover { background: #fff; color: var(--ink); }
.navwrap.is-stuck .nav__end .btn { background: var(--ink); color: #fff; }
.navwrap.is-stuck .nav__end .btn:hover { background: var(--muted); }

.nav__burger {
  display: grid; gap: 5px; place-content: center;
  width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer;
}
.nav__burger span {
  display: block; width: 18px; height: 1.5px; background: #fff;
  transition: transform .4s var(--ease), opacity .3s;
}
.is-open .nav__burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.is-open .nav__burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (min-width: 940px) { .nav__burger { display: none; } }

.nav__drawer {
  display: none;
  width: min(100%, var(--wrap));
  margin: 10px auto 0;
  padding: 18px;
  border-radius: var(--r-glass);
  background: rgba(16, 16, 20, .82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}
.navwrap.is-open .nav__drawer { display: grid; gap: 4px; }
.nav__drawer a { color: #fff; font-size: 15px; padding: 10px 4px; }
.nav__drawer .btn { margin-top: 10px; background: #fff; color: var(--ink); border-color: #fff; }
@media (min-width: 940px) { .navwrap.is-open .nav__drawer { display: none; } }

/* =========================================================
   HERO
   720px dark panel, headline over its left third — the template's
   proportions, with a drawing where its photograph goes.
   ========================================================= */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex; align-items: center;
  padding: 150px 0 70px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.hero__panel { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }

/* The veil ramps rather than sitting at one alpha. Two layers on purpose:
   a left-to-right gradient that is near-opaque under the headline and clears
   by the right third, and a gentle bottom lift so the marquee below has an
   edge to sit against. This frame looks through a doorway into a sunlit room
   on the LEFT — exactly where the type is — so a flat overlay dark enough for
   the headline would flatten the whole photograph. */
.hero__veil {
  position: absolute; inset: 0;
  background:
    /* nav scrim. The glass capsule is white at 15% — the template's exact
       value, kept — which only reads if there is something behind it. Over a
       photograph that can be any brightness, so the top band guarantees it
       rather than leaving the nav's legibility to the crop. */
    linear-gradient(to bottom, rgba(10, 11, 18, .5) 0%, rgba(10, 11, 18, .16) 12%, transparent 22%),
    linear-gradient(100deg,
      rgba(10, 11, 18, .93) 0%,
      rgba(10, 11, 18, .86) 26%,
      rgba(10, 11, 18, .58) 48%,
      rgba(10, 11, 18, .22) 72%,
      rgba(10, 11, 18, .10) 100%),
    linear-gradient(to top, rgba(10, 11, 18, .5), transparent 32%);
}
@media (max-width: 899px) {
  /* One column: the type crosses the whole frame, so the ramp has to become
     an almost-even wash or the right-hand words lose their background. */
  .hero__veil {
    background:
      linear-gradient(to bottom, rgba(10, 11, 18, .5) 0%, rgba(10, 11, 18, .16) 10%, transparent 18%),
      linear-gradient(100deg, rgba(10, 11, 18, .92) 0%, rgba(10, 11, 18, .8) 60%, rgba(10, 11, 18, .72) 100%),
      linear-gradient(to top, rgba(10, 11, 18, .5), transparent 40%);
  }
}

.hero__in { position: relative; z-index: 1; }
.hero__h1 {
  font-size: clamp(40px, 7.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -.065em;
  font-weight: 400;
  max-width: 15ch;
}
.hero__p {
  margin-top: 24px;
  max-width: 52ch;
  font-size: 17px;
  color: rgba(255, 255, 255, .74);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__qual {
  margin-top: 34px;
  font-family: var(--fm);
  font-size: 12.5px;
  letter-spacing: -.01em;
  color: rgba(255, 255, 255, .6);
}

/* Hero entrance — the lines rise in sequence, which is the template's
   load behaviour. Delays are hand-set rather than nth-child so the order
   survives adding an element in the middle. */
.hero .eyebrow, .hero__h1, .hero__p, .hero__cta, .hero__qual {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.hero.is-in .eyebrow  { opacity: 1; transform: none; transition-delay: .05s; }
.hero.is-in .hero__h1 { opacity: 1; transform: none; transition-delay: .14s; }
.hero.is-in .hero__p  { opacity: 1; transform: none; transition-delay: .24s; }
.hero.is-in .hero__cta{ opacity: 1; transform: none; transition-delay: .32s; }
.hero.is-in .hero__qual { opacity: 1; transform: none; transition-delay: .4s; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marq {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--paper);
}
.marq__track { display: flex; width: max-content; animation: marq 38s linear infinite; }
.marq:hover .marq__track { animation-play-state: paused; }
.marq__set { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marq__set span {
  font-family: var(--fm); font-size: 12.5px; letter-spacing: -.01em;
  color: var(--muted); white-space: nowrap;
}
.marq__set i { width: 4px; height: 4px; border-radius: 50%; background: var(--line); flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }

/* =========================================================
   STUDIO + STATS
   ========================================================= */
.ab { display: grid; gap: 34px; }
@media (min-width: 900px) { .ab { grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: start; } }
.ab .h2 { max-width: 16ch; }
.ab__k {
  font-family: var(--fm); font-size: 12.5px; letter-spacing: -.01em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.ab__p { color: var(--ink-70); margin-bottom: 24px; }

.stats {
  display: grid; gap: 30px;
  margin-top: clamp(56px, 7vw, 90px);
  padding-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--line);
}
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.stat__n {
  font-size: clamp(52px, 8.6vw, 86px);
  line-height: 1;
  letter-spacing: -.085em;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.stat__l { margin-top: 12px; font-size: 15px; color: var(--ink-70); }

/* =========================================================
   SERVICES
   ========================================================= */
.svc { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 900px) { .svc { grid-template-columns: repeat(3, 1fr); } }
.svc__c { background: var(--wash); padding: 38px 32px 34px; }
.svc__n { font-family: var(--fm); font-size: 12.5px; color: var(--ink-50); }
.svc__i { width: 40px; height: 40px; margin: 26px 0 22px; color: var(--ink); }
.svc__h { font-size: 24px; font-weight: 400; letter-spacing: -.04em; }
.svc__p { margin-top: 12px; font-size: 15.5px; color: var(--ink-70); }
.svc__l { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.svc__l li { font-size: 14px; color: var(--muted); padding-left: 18px; position: relative; }
.svc__l li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 1px; background: var(--ink-50);
}

/* =========================================================
   PHILOSOPHY
   ========================================================= */
.phi { display: grid; gap: 1px; background: var(--line-d); border-top: 1px solid var(--line-d); }
@media (min-width: 900px) { .phi { grid-template-columns: repeat(3, 1fr); } }
.phi__c { background: var(--dark); padding: 38px 0 0; position: relative; }
@media (min-width: 900px) { .phi__c { padding: 38px 32px 0; } .phi__c:first-child { padding-left: 0; } }
.phi__h { font-size: 22px; font-weight: 400; letter-spacing: -.04em; }
.phi__p { margin-top: 12px; font-size: 15.5px; color: var(--muted-d); }
/* A material swatch under each principle — the smallest possible nod to
   what an interior studio actually hands over. */
.phi__sw { display: block; height: 4px; margin-top: 26px; border-radius: var(--r-sm); }
.phi__sw--a { background: linear-gradient(90deg, #b9a48b, #5c4a3a); }
.phi__sw--b { background: linear-gradient(90deg, #dfe1de, #9aa39c); }
.phi__sw--c { background: linear-gradient(90deg, #c9c2b6, #3f4238); }

/* =========================================================
   WORK
   Tile = a material block where the photograph goes, plus its caption.
   The four swatch colours come from the inline --m1..--m4 on each tile.
   ========================================================= */
.wk { display: grid; gap: 26px; }
@media (min-width: 800px) { .wk { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
.wk__c { cursor: pointer; }
/* Calibre scales its project images on hover behind a fixed frame. Same move:
   the figure clips, the image scales. */
.wk__fig {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--wash);
  border: 1px solid var(--line);
}
.wk__fig img {
  width: 100%; aspect-ratio: 4 / 3; height: auto;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.wk__c:hover .wk__fig img { transform: scale(1.045); }

.wk__meta { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-top: 18px; }
.wk__h { font-size: 21px; font-weight: 400; letter-spacing: -.04em; }
.wk__p { margin-top: 6px; font-size: 15px; color: var(--ink-70); max-width: 38ch; }
.wk__tag { font-family: var(--fm); font-size: 12px; color: var(--ink-50); white-space: nowrap; flex: none; }

/* =========================================================
   PROCESS
   ========================================================= */
.prc { border-top: 1px solid var(--line); }
.prc__i {
  display: grid; gap: 14px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) { .prc__i { grid-template-columns: 90px 1fr; gap: 40px; align-items: start; } }
.prc__n { font-family: var(--fm); font-size: 13px; color: var(--ink-50); padding-top: 5px; }
.prc__b { display: grid; gap: 10px; }
@media (min-width: 1000px) { .prc__b { grid-template-columns: 1fr 1.3fr auto; gap: 40px; align-items: start; } }
.prc__h { font-size: 26px; font-weight: 400; letter-spacing: -.045em; }
.prc__p { font-size: 15.5px; color: var(--ink-70); max-width: 52ch; }
.prc__t { font-family: var(--fm); font-size: 12.5px; color: var(--ink-50); white-space: nowrap; }

/* =========================================================
   FEES
   ========================================================= */
.fee { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 900px) { .fee { grid-template-columns: repeat(3, 1fr); } }
.fee__c { background: var(--paper); padding: 36px 30px 32px; display: flex; flex-direction: column; position: relative; }
.fee__c--feat { background: var(--wash); }
.fee__flag {
  position: absolute; top: 0; right: 0;
  font-family: var(--fm); font-size: 11px; letter-spacing: -.01em;
  background: var(--ink); color: #fff; padding: 5px 11px;
  border-bottom-left-radius: var(--r);
}
.fee__k { font-size: 20px; font-weight: 400; letter-spacing: -.04em; }
.fee__d { font-size: 14px; color: var(--ink-50); margin-top: 4px; }
.fee__n {
  font-size: clamp(42px, 5.4vw, 56px); line-height: 1;
  letter-spacing: -.075em; font-weight: 400;
  margin-top: 26px;
}
.fee__u { font-family: var(--fm); font-size: 12.5px; color: var(--ink-50); margin-top: 10px; }
.fee__l { margin: 26px 0 30px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.fee__l li { font-size: 14.5px; color: var(--muted); padding-left: 18px; position: relative; }
.fee__l li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 1px; background: var(--ink-50);
}
.fee__c .btn { margin-top: auto; }

.fee__note {
  display: flex; gap: 14px; align-items: start;
  margin-top: 26px; padding: 24px 26px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--wash);
}
.fee__note svg { flex: none; margin-top: 3px; color: var(--ink-50); }
.fee__note p { font-size: 15px; color: var(--ink-70); max-width: 88ch; }
.fee__note strong { font-weight: 500; color: var(--ink); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.tst { display: grid; gap: 1px; background: var(--line-d); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
@media (min-width: 900px) { .tst { grid-template-columns: repeat(3, 1fr); } }
.tst__c { background: var(--dark); padding: 36px 0; }
@media (min-width: 900px) { .tst__c { padding: 36px 32px; } .tst__c:first-child { padding-left: 0; } }
.tst__c blockquote { font-size: 19px; line-height: 1.45; letter-spacing: -.035em; text-wrap: pretty; }
.tst__c figcaption { margin-top: 24px; display: grid; gap: 3px; }
.tst__n { font-size: 14px; }
.tst__r { font-family: var(--fm); font-size: 12px; color: var(--muted-d); }

/* =========================================================
   FAQ
   ========================================================= */
.faq__wrap { display: grid; gap: 44px; }
@media (min-width: 950px) { .faq__wrap { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; } }
.faq__head .h2 { max-width: 12ch; }
.faq__head .shead__p { margin-bottom: 26px; }
.faq__head .btn { display: inline-flex; }

.faq { border-top: 1px solid var(--line); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 22px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 24px 0;
  font-size: 17px; letter-spacing: -.025em;
  transition: color .3s var(--ease);
}
.faq__q:hover { color: var(--muted); }
.faq__x { position: relative; width: 13px; height: 13px; flex: none; }
.faq__x::before, .faq__x::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: currentColor;
}
.faq__x::before { width: 13px; height: 1px; }
.faq__x::after { width: 1px; height: 13px; transition: transform .4s var(--ease); }
.faq__i.is-open .faq__x::after { transform: rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq__a p { padding-bottom: 26px; font-size: 15.5px; color: var(--ink-70); max-width: 62ch; }

/* =========================================================
   BRIEF FORM
   ========================================================= */
.brief { display: grid; gap: 50px; }
@media (min-width: 950px) { .brief { grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; } }
.brief__p { color: var(--muted-d); margin-top: 20px; max-width: 46ch; }
.brief__l2 { margin-top: 30px; display: grid; gap: 12px; }
.brief__l2 li { font-size: 15px; color: rgba(255, 255, 255, .84); display: flex; gap: 12px; align-items: baseline; }
.brief__l2 span { width: 8px; height: 1px; background: rgba(255, 255, 255, .5); flex: none; }
.brief__c {
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-d);
  display: grid; gap: 6px;
  font-family: var(--fm); font-size: 13px; color: var(--muted-d);
}
.brief__c a:hover { color: #fff; }

.form { display: grid; gap: 18px; }
.f2 { display: grid; gap: 18px; }
@media (min-width: 620px) { .f2 { grid-template-columns: 1fr 1fr; } }
.fld { display: grid; gap: 8px; }
.fld > span { font-size: 13px; color: rgba(255, 255, 255, .8); }
.fld > span i { font-style: normal; color: rgba(255, 255, 255, .45); }
.fld input, .fld select, .fld textarea {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-d);
  border-radius: var(--r);
  padding: 13px 14px;
  color: #fff;
  font-size: 15px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.fld textarea { resize: vertical; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.6) 50%), linear-gradient(135deg, rgba(255,255,255,.6) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.fld select option { background: var(--dark); }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08);
}
.fld input:user-invalid { border-color: rgba(255, 138, 128, .7); }

.fset { border: 0; }
.fset legend { font-size: 13px; color: rgba(255, 255, 255, .8); margin-bottom: 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: block; padding: 9px 16px;
  border: 1px solid var(--line-d); border-radius: var(--r);
  font-size: 13.5px; color: rgba(255, 255, 255, .8);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.chip input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.fnote {
  margin-top: 12px; padding: 12px 14px;
  border-left: 1px solid rgba(255, 255, 255, .4);
  font-size: 13.5px; color: var(--muted-d);
}
.fmicro { font-family: var(--fm); font-size: 12px; color: rgba(255, 255, 255, .45); text-align: center; }

.done { display: grid; gap: 12px; justify-items: start; padding: 40px 0; }
.done h3 { font-size: 30px; font-weight: 400; letter-spacing: -.05em; }
.done p { color: var(--muted-d); max-width: 46ch; }

/* =========================================================
   FOOTER
   ========================================================= */
.ft { background: var(--dark); color: #fff; padding: clamp(60px, 7vw, 90px) 0 34px; }
.ft__top { display: grid; gap: 44px; padding-bottom: 50px; }
@media (min-width: 850px) { .ft__top { grid-template-columns: 1fr 1.2fr; gap: 70px; } }
.ft__brand p { margin-top: 18px; color: var(--muted-d); font-size: 15px; max-width: 34ch; }
.ft__cols { display: grid; gap: 32px; }
@media (min-width: 560px) { .ft__cols { grid-template-columns: repeat(3, 1fr); } }
.ft__cols div { display: grid; gap: 10px; align-content: start; }
.ft__k { font-family: var(--fm); font-size: 12px; color: rgba(255, 255, 255, .45); margin-bottom: 4px; }
.ft__cols a, .ft__cols span { font-size: 14.5px; color: var(--muted-d); transition: color .3s var(--ease); }
.ft__cols a:hover { color: #fff; }
.ft__base {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-top: 26px; border-top: 1px solid var(--line-d);
  font-family: var(--fm); font-size: 12px; color: rgba(255, 255, 255, .45);
}
.ft__base a { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.ft__base a:hover { color: #fff; }

/* =========================================================
   REVEAL
   Rise out of a blur — the template's scroll entrance. The stagger is
   applied by script.js as an inline delay, not nth-child, so it works on
   any grid without knowing its column count.
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .hero .eyebrow, .hero__h1, .hero__p, .hero__cta, .hero__qual {
    opacity: 1; transform: none; filter: none;
  }
  .navwrap { transform: none; }
}
