/* =========================================================
   Bramblewood Nursery (DEMO) — warm early-years.

   Ported from the Glooma Framer template's design language onto
   a hand-coded token system: deep indigo ink on cream, full-bleed
   deep-green bands, one terracotta accent, and a four-tint pastel
   card family. Parkinsans display, Inclusive Sans body.

   The template's signatures, kept deliberately:
     - 32px card radii / 28px inner / pill buttons at 80px
     - buttons carry a circular icon chip on the LEFT, which is why
       their padding is asymmetric (14px 24px 14px 18px)
     - alternating cream -> green -> cream full-bleed bands
     - very tight display tracking (-.045em at h1)

   PHOTOGRAPHY. This shipped first with inline SVG scenes, because there
   were no licensed photographs of children to use. Licensed originals
   arrived on 2026-08-19 and replaced them — a nursery site needs real
   rooms and real key people, because that is what parents are buying.
   Crops are baked at build time by scripts/make_bramblewood_images.py,
   not with object-fit: every slot wants a different aspect and the
   browser should only download the pixels it shows. Re-frame by editing
   that script's MANIFEST and re-running, never by hand-editing a WebP.
   The originals are NOT in the repo — see the script header.
   ========================================================= */

:root {
  --ink:        #180c3d;          /* deep indigo — all body text  */
  --ink-70:     rgba(24, 12, 61, .68);
  --ink-45:     rgba(24, 12, 61, .45);
  --paper:      #fffbf4;          /* page cream                   */
  --paper-2:    #fcf6e7;          /* warmer band                  */
  --paper-3:    #f3efe8;          /* stone band (FAQ)             */
  --band:       #2a6f38;          /* deep green full-bleed        */
  --band-deep:  #225a2d;
  --accent:     #dd6b3f;          /* terracotta                   */
  --accent-deep:#c3542b;

  /* Pastel card family. Extend this set to add a tint —
     never hardcode a hex onto a card or a button. */
  --t-lime:     #edf5c4;
  --t-butter:   #fbecca;
  --t-peach:    #ffeadd;
  --t-sky:      #dcf3ff;

  --line:       rgba(24, 12, 61, .12);
  --line-d:     rgba(255, 255, 255, .22);
  --muted:      var(--ink-70);
  --muted-d:    rgba(255, 251, 244, .78);

  --r-card:     32px;
  --r-inner:    28px;
  --r-pill:     80px;

  --wrap:       1240px;
  --sect:       clamp(72px, 8.5vw, 120px);
  --ease:       cubic-bezier(.19, 1, .22, 1);
  --f-disp:     "Parkinsans", system-ui, sans-serif;
  --f-body:     "Inclusive Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body); color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sect); }
.section--paper2 { background: var(--paper-2); }
.section--stone  { background: var(--paper-3); }

/* Full-bleed green band. Flipping --line/--muted here means every
   component inside it inverts without needing its own dark variant. */
.section--band {
  background: var(--band); color: var(--paper);
  --line: var(--line-d); --muted: var(--muted-d); --ink: var(--paper);
}

.demobadge {
  position: fixed; left: 14px; bottom: 14px; z-index: 200;
  font-family: var(--f-disp); font-size: 11px; font-weight: 600; letter-spacing: .03em;
  color: var(--paper); background: #180c3d; border-radius: 999px; padding: 8px 15px;
}
.demobadge::before { content: "\25CF"; margin-right: 8px; font-size: 7px; vertical-align: middle; color: var(--accent); }
@media (max-width: 560px) { .demobadge { font-size: 10px; padding: 6px 12px; } }

/* ---------- Type primitives ---------- */
.label {
  display: block; font-family: var(--f-disp); font-size: 14px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.section--band .label { color: var(--t-lime); }

h1, h2, h3, h4, .display { font-family: var(--f-disp); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.h1 { font-size: clamp(42px, 6.6vw, 90px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.032em; line-height: 1.2; }
.h3 { font-size: clamp(24px, 2.7vw, 36px); letter-spacing: -.028em; line-height: 1.4; }
.h4 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.5; }

.lead { font-size: clamp(16px, 1.35vw, 18px); color: var(--muted); max-width: 56ch; }
.small { font-size: 14px; color: var(--muted); }
mark { background: none; color: var(--accent); }

/* Section head — used everywhere so the vertical rhythm can't drift. */
.sechead { display: flex; flex-direction: column; gap: 18px; margin-bottom: 56px; max-width: 62ch; }
.sechead--center { margin-inline: auto; text-align: center; align-items: center; }
.sechead--split { max-width: none; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
.sechead--split .sechead__c { display: flex; flex-direction: column; gap: 18px; max-width: 62ch; }
@media (max-width: 860px) { .sechead--split { flex-direction: column; align-items: flex-start; } }

/* ---------- Buttons ----------
   Glooma's button is a pill with a circular icon chip on the left, so
   the left padding is tighter than the right. That asymmetry is the
   whole look — don't "tidy" it to an even 24px. */
.btn {
  --bg: var(--ink); --fg: var(--paper); --chip: rgba(255, 255, 255, .18);
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bg);
  font-family: var(--f-disp); font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  padding: 14px 24px 14px 18px; border-radius: var(--r-pill); cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn__i {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none;
  border-radius: 999px; background: var(--chip); transition: transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__i { transform: rotate(45deg); }
.btn--cream { --bg: var(--paper); --fg: var(--ink); --chip: rgba(24, 12, 61, .12); }
.btn--accent { --bg: var(--accent); --fg: #fff; --chip: rgba(255, 255, 255, .24); }
.btn--ghost { --bg: transparent; --fg: currentColor; --chip: rgba(255, 255, 255, .16); border-color: currentColor; }
.btn--ghost-ink { --bg: transparent; --fg: var(--ink); --chip: rgba(24, 12, 61, .1); border-color: var(--line); }
.btn--sm { font-size: 14px; padding: 10px 18px 10px 13px; gap: 9px; }
.btn--sm .btn__i { width: 22px; height: 22px; }
.btn--lg { font-size: 16px; padding: 16px 28px 16px 20px; }
.btn--block { width: 100%; justify-content: center; }

/* Text link with a sliding arrow — the template's "Learn More". */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-disp); font-size: 15px; font-weight: 500; color: var(--ink);
}
.tlink svg { transition: transform .3s var(--ease); }
.tlink:hover svg { transform: translate(3px, -3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; padding: 18px 0;
  transition: background .3s, padding .3s, box-shadow .3s, color .3s;
  /* At the top the nav sits over the hero photograph, so it runs light. Once
     it is stuck it has its own cream bar behind it and reverts to ink. */
  color: var(--paper);
}
.nav.is-stuck {
  background: rgba(255, 251, 244, .92); backdrop-filter: blur(14px);
  padding: 11px 0; box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.nav .btn { --bg: var(--paper); --fg: var(--ink); --chip: rgba(24, 12, 61, .12); }
.nav.is-stuck .btn { --bg: var(--ink); --fg: var(--paper); --chip: rgba(255, 255, 255, .18); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-disp); font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--band); color: var(--t-lime); flex: none; }
.nav__links { display: flex; gap: 30px; font-family: var(--f-disp); font-size: 15px; font-weight: 500; }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__tel { font-family: var(--f-disp); font-size: 15px; font-weight: 500; }
.nav__toggle { display: none; width: 42px; height: 42px; border: 1.5px solid currentColor; background: none; border-radius: 999px; cursor: pointer; color: inherit; opacity: .75; }
.nav__toggle span { display: block; width: 16px; height: 1.6px; background: currentColor; margin: 3.6px auto; transition: transform .3s var(--ease), opacity .2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }
.nav__mobile { display: none; }

@media (max-width: 980px) {
  .nav__links, .nav__tel { display: none; }
  .nav__toggle { display: block; }
  .nav__mobile {
    display: grid; gap: 4px; padding: 0 22px;
    max-height: 0; overflow: hidden; transition: max-height .45s var(--ease), padding .3s;
  }
  .nav.is-open { background: rgba(255, 251, 244, .97); backdrop-filter: blur(14px); color: var(--ink); }
  .nav.is-open .nav__mobile { max-height: 480px; padding: 18px 22px 26px; }
  .nav.is-open .btn { --bg: var(--ink); --fg: var(--paper); --chip: rgba(255, 255, 255, .18); }
  .nav__mobile a { font-family: var(--f-disp); font-size: 19px; font-weight: 500; padding: 9px 0; border-bottom: 1px solid var(--line); }
  .nav__mobile .btn { margin-top: 16px; border-bottom: 0; justify-content: center; }
}

/* Below this the header CTA starts wrapping onto two lines next to the
   wordmark. It already sits in the drawer, so drop it rather than shrink it. */
@media (max-width: 600px) { .nav__actions > .btn { display: none; } }

/* ---------- Hero ----------
   Full-bleed photograph under an angled veil. The veil is a gradient rather
   than a flat tint so the left stays dark enough for cream text while the
   right opens up onto the photograph — a flat overlay heavy enough to read
   against would grey the whole picture out. */
.hero {
  position: relative; overflow: hidden; margin-top: -76px; padding: 196px 0 104px;
  background: var(--band-deep); color: var(--paper);
  --line: var(--line-d); --muted: var(--muted-d);
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  /* The subject is already framed right-of-centre by the build script, so this
     only needs to hold that framing when the viewport is wider or taller. */
  object-fit: cover; object-position: 50% 42%;
}
.hero__veil {
  position: absolute; inset: 0;
  /* Two layers. The angled one carries the text contrast and falls away fast
     past the headline's right edge (~52% of the viewport) so the photograph is
     still a photograph. The flat top scrim is only there to guarantee the nav
     reads, whatever the picture happens to be doing up there. */
  background:
    linear-gradient(to bottom, rgba(12, 6, 30, .55) 0%, rgba(12, 6, 30, 0) 20%),
    linear-gradient(96deg,
      rgba(14, 7, 38, .93) 0%,
      rgba(18, 52, 32, .84) 26%,
      rgba(28, 78, 44, .54) 48%,
      rgba(42, 111, 56, .22) 72%,
      rgba(42, 111, 56, .10) 100%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__c { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 660px; }
.hero__title { color: var(--paper); text-shadow: 0 2px 24px rgba(12, 6, 30, .35); }
.hero__title em { font-style: normal; color: var(--t-lime); }
.hero__lead { color: rgba(255, 251, 244, .88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__trust {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 10px;
  background: rgba(12, 6, 30, .34); border: 1px solid var(--line-d);
  backdrop-filter: blur(6px);
  border-radius: var(--r-pill); padding: 9px 18px; font-size: 14px;
}
.hero__trust b { font-family: var(--f-disp); font-weight: 600; }
.hero__stars { color: var(--t-butter); letter-spacing: 2px; }

/* Entrance — one transform per element, staggered by nth-child. */
.hero__c > * { opacity: 0; transform: translateY(20px); }
.hero.is-in .hero__c > * { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero.is-in .hero__c > :nth-child(1) { transition-delay: .05s; }
.hero.is-in .hero__c > :nth-child(2) { transition-delay: .13s; }
.hero.is-in .hero__c > :nth-child(3) { transition-delay: .21s; }
.hero.is-in .hero__c > :nth-child(4) { transition-delay: .29s; }
.hero.is-in .hero__c > :nth-child(5) { transition-delay: .37s; }
.hero__bg { transform: scale(1.06); }
.hero.is-in .hero__bg { transform: none; transition: transform 1.6s var(--ease); }

@media (max-width: 860px) {
  .hero { padding: 156px 0 84px; }
  /* Narrow: the text runs the full width, so the veil has to sit evenly
     across the frame rather than favouring one side. */
  .hero__veil {
    background:
      linear-gradient(to bottom, rgba(12, 6, 30, .55) 0%, rgba(12, 6, 30, 0) 16%),
      linear-gradient(172deg,
        rgba(14, 7, 38, .91) 0%,
        rgba(20, 56, 34, .87) 44%,
        rgba(28, 78, 44, .81) 100%);
  }
  .hero__bg { object-position: 60% 38%; }
}

/* ---------- Stat strip ---------- */
.stats { margin-top: calc(var(--sect) * -.42); position: relative; z-index: 2; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat {
  background: var(--paper); border-radius: var(--r-card); padding: 30px 32px;
  box-shadow: 0 18px 44px rgba(24, 12, 61, .07);
  display: flex; flex-direction: column; gap: 4px;
}
.stat__n { font-family: var(--f-disp); font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.stat__l { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .stats__grid { grid-template-columns: 1fr; } .stats { margin-top: calc(var(--sect) * -.3); } }

/* ---------- Statement ---------- */
.statement__t {
  font-family: var(--f-disp); font-size: clamp(26px, 3.5vw, 44px); font-weight: 600;
  letter-spacing: -.032em; line-height: 1.32; max-width: 22ch;
}
.statement__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: end; }
.statement__side { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 900px) { .statement__grid { grid-template-columns: 1fr; gap: 32px; align-items: start; } .statement__t { max-width: none; } }

/* ---------- Room cards (template's "Programs") ---------- */
.rooms__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.room {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  background: var(--tint); color: #180c3d; border-radius: var(--r-card); padding: 32px 30px 30px;
  transition: transform .45s var(--ease);
}
.room:hover { transform: translateY(-6px); }
.room--butter { --tint: var(--t-butter); }
.room--peach  { --tint: var(--t-peach); }
.room--sky    { --tint: var(--t-sky); }
.room__age { font-family: var(--f-disp); font-size: 18px; font-weight: 500; color: var(--accent); }
.room__t { color: #180c3d; }
.room__d { font-size: 15px; color: rgba(24, 12, 61, .7); }
.room__scene { width: 100%; border-radius: var(--r-inner); overflow: hidden; background: rgba(255, 255, 255, .55); }
.room__scene img { width: 100%; height: auto; aspect-ratio: 9 / 4; object-fit: cover; }
.room__list { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: rgba(24, 12, 61, .78); }
.room__list li { display: flex; gap: 10px; align-items: flex-start; list-style: none; }
.room__list svg { flex: none; margin-top: 6px; color: var(--accent); }
.room .tlink { color: #180c3d; margin-top: 4px; }
@media (max-width: 940px) { .rooms__grid { grid-template-columns: 1fr; } }

/* ---------- Feature row ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.feat { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding-top: 22px; border-top: 1px solid var(--line); }
/* Solid lime chip so the icon survives the green band — a translucent
   cream chip reads as a smudge at this size. */
.feat__i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: var(--t-lime); color: var(--band); }
.feat__d { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .feats { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Our day (template's segmented timeline) ---------- */
.day__tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--paper-3); border-radius: var(--r-pill); margin-bottom: 36px; }
.tab {
  font-family: var(--f-disp); font-size: 15px; font-weight: 500; color: var(--ink-70);
  background: none; border: 0; border-radius: var(--r-pill); padding: 10px 22px; cursor: pointer;
  transition: background .3s, color .3s;
}
.tab[aria-selected="true"] { background: var(--band); color: var(--paper); }
.day__panel { display: none; }
.day__panel.is-active { display: block; animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.day__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.slot {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 10px;
}
.slot__time { font-family: var(--f-disp); font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.slot__d { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .day__grid { grid-template-columns: 1fr; } .day__tabs { display: flex; width: 100%; } .tab { flex: 1; padding: 10px 8px; } }

/* ---------- Spaces (template's tag-row image swapper) ---------- */
.spaces__bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.stag {
  font-family: var(--f-disp); font-size: 14.5px; font-weight: 500;
  background: rgba(255, 251, 244, .12); color: var(--paper);
  border: 1px solid var(--line-d); border-radius: var(--r-pill);
  padding: 10px 20px; cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.stag[aria-selected="true"] { background: var(--paper); color: var(--band); border-color: var(--paper); }
.spaces__stage { background: var(--paper); border-radius: var(--r-card); padding: 24px; }
.space { display: none; grid-template-columns: 1fr .8fr; gap: 28px; align-items: center; }
.space.is-active { display: grid; animation: fade .5s var(--ease); }
.space__scene { border-radius: var(--r-inner); overflow: hidden; background: var(--paper-2); }
.space__scene img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.space__c { display: flex; flex-direction: column; gap: 12px; padding-right: 12px; color: var(--ink); }
.space__t { color: #180c3d; }
.space__d { font-size: 15px; color: rgba(24, 12, 61, .7); }
@media (max-width: 900px) { .space.is-active { grid-template-columns: 1fr; } .space__c { padding: 0 8px 10px; } }

/* ---------- Fees ---------- */
.fees__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fee {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px 30px 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.fee--featured { background: var(--t-lime); border-color: transparent; }
.fee__t { font-family: var(--f-disp); font-size: 19px; font-weight: 600; }
.fee__p { font-family: var(--f-disp); font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.fee__p span { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.fee__l { display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; color: var(--muted); }
.fee__l li { display: flex; gap: 9px; list-style: none; }
.fee__l svg { flex: none; margin-top: 6px; color: var(--accent); }
.fees__note {
  margin-top: 22px; background: var(--t-sky); border-radius: var(--r-inner);
  padding: 20px 26px; font-size: 15px; display: flex; gap: 14px; align-items: flex-start;
}
.fees__note svg { flex: none; margin-top: 4px; color: var(--band); }
@media (max-width: 940px) { .fees__grid { grid-template-columns: 1fr; } }

/* ---------- Quotes ---------- */
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: var(--tint, var(--paper)); border-radius: var(--r-card); padding: 30px 30px 26px;
  display: flex; flex-direction: column; gap: 16px; color: #180c3d;
}
.quote--lime { --tint: var(--t-lime); }
.quote--peach { --tint: var(--t-peach); }
.quote--butter { --tint: var(--t-butter); }
.quote blockquote { font-family: var(--f-disp); font-size: 17px; font-weight: 500; letter-spacing: -.015em; line-height: 1.55; }
.quote figcaption { font-size: 14px; color: rgba(24, 12, 61, .6); }
@media (max-width: 940px) { .quotes__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__i { background: var(--paper); border-radius: var(--r-inner); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--f-disp); font-size: 17px; font-weight: 500; letter-spacing: -.015em; text-align: left;
  background: none; border: 0; padding: 22px 26px; cursor: pointer;
}
.faq__q svg { flex: none; transition: transform .35s var(--ease); color: var(--accent); }
.faq__i.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 26px 24px; font-size: 15.5px; color: var(--muted); max-width: 62ch; }

/* ---------- CTA / enquiry ---------- */
.cta { position: relative; overflow: hidden; }
.cta__panel {
  background: var(--band); color: var(--paper); border-radius: var(--r-card);
  padding: clamp(34px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  --line: var(--line-d); --muted: var(--muted-d);
}
.cta__c { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta__t { color: var(--paper); }
.cta__pts { display: flex; flex-direction: column; gap: 9px; font-size: 15px; color: var(--muted-d); margin-top: 4px; }
.cta__pts li { display: flex; gap: 10px; list-style: none; }
.cta__pts svg { flex: none; margin-top: 6px; color: var(--t-lime); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--f-disp); font-size: 13.5px; font-weight: 500; color: var(--muted-d); }
.field input, .field select, .field textarea {
  background: rgba(255, 251, 244, .1); border: 1px solid var(--line-d); border-radius: 14px;
  padding: 13px 16px; font-size: 15px; color: var(--paper); width: 100%;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 251, 244, .45); }
.field select option { color: #180c3d; }
.form__note { font-size: 13px; color: rgba(255, 251, 244, .6); }
.form__done {
  display: none; background: rgba(237, 245, 196, .16); border: 1px solid var(--line-d);
  border-radius: var(--r-inner); padding: 26px 28px;
}
.form__done.is-on { display: block; }
.form.is-off { display: none; }
@media (max-width: 940px) { .cta__panel { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
/* The demo badge is fixed to the bottom-left, so the footer keeps a lane clear
   of it at every width — otherwise it sits on the copyright line. */
.footer { background: var(--paper-2); padding: 64px 0 62px; }
.footer__row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 44px; }
.footer__blurb { max-width: 40ch; font-size: 15px; color: var(--muted); }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.footer__col b { font-family: var(--f-disp); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-45); }
.footer__col a:hover { color: var(--accent); }
.footer__big { display: block; width: 100%; height: auto; opacity: .13; }
.footer__big text {
  font-family: var(--f-disp); font-weight: 700; font-size: 150px;
  letter-spacing: -.045em; fill: var(--band);
}
.footer__bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 20px; margin-top: 14px; font-size: 13.5px; color: var(--muted);
}
.footer__bottom a { color: var(--accent); }

@media (max-width: 620px) {
  /* 64px between three link columns wraps them 2 + 1 with a hole in the middle;
     a two-column grid puts them where they look deliberate. */
  .footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .75s var(--ease), transform .75s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal, .hero__c > * { opacity: 1; transform: none; }
  .hero__bg { transform: none; }
}
