/* =========================================================
   Counseling with Humanity — v2 "Consulting Room"
   Jennifer Fleming, MEd, LPC

   Thesis: a therapy practice site should feel like a room you
   can walk into, not a product launch. Warm daylight, paper and
   ink, an arched-doorway motif. No loader, no custom cursor,
   no JS libraries — everything paints on the first byte.
   ========================================================= */

:root {
  /* ---- Paper (warm oat, lit from a window) ---- */
  --paper:   #fbf8f2;
  --paper-2: #f3ede1;
  --paper-3: #e9e0cf;

  /* ---- Ink (deep pine — grounded and growing, not clinical) ---- */
  --ink:     #1c2620;
  --ink-2:   #2f4238;
  --ink-3:   #55645b;
  --ink-dim: #7d8a82;

  /* ---- Sage (the quiet middle) ---- */
  --sage:      #5c7365;
  --sage-soft: #a8bcac;
  --sage-wash: #dde6dc;

  /* ---- Clay (the armchair mark — one sharp accent, used sparingly) ---- */
  --clay:        #b4451c;  /* text grade on paper — 6.6:1 */
  --clay-bright: #d2571f;  /* fills */
  --clay-deep:   #8e3614;
  --clay-soft:   #e8a071;

  /* ---- Rules ---- */
  --rule:      #ded3bf;
  --rule-soft: #ebe3d4;
  --rule-ink:  rgba(251, 248, 242, 0.16);

  /* ---- Type ---- */
  --display: 'Fraunces', 'Hoefler Text', Georgia, serif;
  --body:    'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Fraunces axes — SOFT rounds the terminals, WONK swaps in the
     quirky single-storey forms. This is the whole personality. */
  --wonk:  'SOFT' 36, 'WONK' 1;
  --plain: 'SOFT' 24, 'WONK' 0;

  /* ---- The arch: doorway / window. Repeats everywhere. ---- */
  --arch:    50% 50% 12px 12px / 40% 40% 12px 12px;
  --arch-sm: 50% 50% 8px 8px / 34% 34% 8px 8px;

  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --maxw: 1240px;
  --pad:  clamp(22px, 5vw, 72px);

  --shadow-soft:  0 20px 44px -28px rgba(28, 38, 32, 0.34);
  --shadow-plate: 0 44px 88px -48px rgba(28, 38, 32, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;   /* containing block for the grain layer */
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
::selection { background: var(--clay-bright); color: var(--paper); }

/* ---------- Paper grain: the one texture in the system ----------
   Deliberately `absolute`, not `fixed`. A fixed full-viewport overlay
   forces the compositor to redraw the entire viewport on every scroll
   frame; absolute makes it part of the page layer, so it costs nothing
   to scroll — and paper texture that travels with the paper is more
   honest anyway. */
.grain {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 900; pointer-events: none;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.34'/%3E%3C/svg%3E");
}

/* ---------- Skip link + focus ---------- */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 10000;
  padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 14px;
  transform: translateY(-220%);
  transition: transform .22s var(--ease);
}
.skip-link:focus-visible { transform: none; }

a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--clay-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.h1 {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-weight: 400;
  font-size: clamp(43px, 7.2vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.h2 {
  font-family: var(--display);
  font-variation-settings: var(--wonk);
  font-weight: 400;
  font-size: clamp(33px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: balance;
}

.h3 {
  font-family: var(--display);
  font-variation-settings: var(--plain);
  font-weight: 500;
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.h1 em, .h2 em {
  font-style: italic;
  color: var(--clay);
  font-variation-settings: 'SOFT' 64, 'WONK' 1;
}

.lede {
  font-size: clamp(17px, 1.3vw, 19.5px);
  line-height: 1.68;
  color: var(--ink-3);
  max-width: 54ch;
}

/* ---------- Eyebrow: small caps with a little arch tick ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ''; width: 16px; height: 9px; flex: none;
  border: 1.5px solid currentColor; border-bottom: none;
  border-radius: 999px 999px 0 0;
}
.eyebrow--light { color: var(--clay-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em;
  white-space: nowrap; text-align: center;
  transition: transform .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--clay { background: var(--clay-bright); color: #fff; box-shadow: 0 14px 30px -16px rgba(180, 69, 28, .8); }
.btn--clay:hover { background: var(--clay-deep); box-shadow: 0 20px 38px -16px rgba(180, 69, 28, .9); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }

.btn--ghost { border: 1.4px solid var(--rule); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(28, 38, 32, .04); }

.btn--ghost-light { border: 1.4px solid var(--rule-ink); color: var(--paper); }
.btn--ghost-light:hover { border-color: var(--paper); background: rgba(251, 248, 242, .08); }

.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }

.btn--block { width: 100%; }

/* =========================================================
   NAV — light throughout; condenses to a paper bar on scroll
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 22px;
  padding-left:  max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
  border-bottom: 1px solid transparent;
  transition: padding .4s var(--ease), background .4s var(--ease),
              border-color .4s var(--ease);
}
.nav.is-stuck {
  padding-block: 13px;
  background: rgba(251, 248, 242, 0.86);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--rule-soft);
}

.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; color: var(--clay-bright); flex: none; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-line { font-size: 12.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.brand-line--sub { color: var(--sage); font-weight: 500; }

.nav-right { display: flex; align-items: center; gap: 4px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-links a:hover { color: var(--clay); background: rgba(180, 69, 28, .07); }
.nav-links a.is-current { color: var(--clay); }

.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  padding: 9px 14px; border-radius: 999px;
  transition: background .25s var(--ease);
}
.nav-phone:hover { background: rgba(28, 38, 32, .05); }
.nav-phone svg { width: 15px; height: 15px; stroke: var(--clay); fill: none; flex: none; }

.nav-cta { margin-left: 8px; padding: 12px 24px; font-size: 15px; }

.burger {
  display: none; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%; border: 1.4px solid var(--rule);
}
.burger span {
  display: block; width: 18px; height: 1.6px; background: var(--ink);
  border-radius: 2px; transition: transform .35s var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.3px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 790;
  background: var(--paper);
  padding: 104px var(--pad) calc(40px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .38s var(--ease), visibility .38s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-inner { display: flex; flex-direction: column; }
.mobile-menu-inner > a {
  font-family: var(--display); font-variation-settings: var(--wonk);
  font-size: 34px; line-height: 1.5; color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  padding: 4px 0;
}
.mobile-cta {
  margin-top: 28px; align-self: flex-start;
  background: var(--clay-bright); color: #fff !important;
  border-bottom: none !important;
  padding: 15px 30px !important; border-radius: 999px;
  font-family: var(--body) !important; font-size: 16px !important;
  font-weight: 600; line-height: 1.2 !important;
}
.mobile-menu-foot {
  margin-top: auto; padding-top: 28px;
  display: flex; flex-direction: column; gap: 7px;
  font-size: 15px; color: var(--sage);
}
.mobile-menu-foot a { color: var(--ink-2); }

/* =========================================================
   INDEX RAIL — marginalia that tracks where you are
   ========================================================= */
.rail {
  position: fixed; top: 50%; left: 24px; z-index: 700;
  transform: translateY(-50%);
  display: none; flex-direction: column; gap: 2px;
  opacity: 0; transition: opacity .5s var(--ease);
}
.rail.is-on { opacity: 1; }
.rail a {
  display: flex; align-items: center; gap: 10px; padding: 5px 0;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim);
  transition: color .35s var(--ease);
}
.rail-dash {
  display: block; width: 14px; height: 1.5px; flex: none;
  background: currentColor;
  transition: width .45s var(--ease), background .35s var(--ease);
}
.rail a:hover { color: var(--ink-2); }
.rail a.is-active { color: var(--clay); }
.rail a.is-active .rail-dash { width: 34px; background: var(--clay-bright); }
.rail-num { font-variant-numeric: tabular-nums; opacity: .5; }

/* ---------- Scroll progress hairline ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 850; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--clay-soft), var(--clay-bright));
}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.wrap {
  max-width: var(--maxw); margin: 0 auto;
  /* max() keeps clear of the notch in landscape without adding a gap elsewhere */
  padding-left:  max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}
section { position: relative; }

.section-head { margin-bottom: clamp(42px, 5vw, 70px); max-width: 780px; }
.section-head--split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 5vw, 72px); align-items: end; max-width: none;
}
.section-head--split .lede { padding-bottom: 9px; }

.band-oat { background: var(--paper-2); }
.band-ink { background: var(--ink); color: rgba(251, 248, 242, 0.8); }
.band-ink .h2, .band-ink .h3 { color: var(--paper); }
.band-ink .lede { color: rgba(251, 248, 242, 0.72); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(128px, 15vh, 180px) 0 clamp(52px, 7vw, 92px);
  overflow: hidden;
}

/* "Window light" — layered gradients, drifting slowly. No WebGL. */
.hero-light {
  position: absolute; inset: -25% -10%;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(52% 44% at 76% 14%, rgba(255, 206, 140, 0.58), transparent 64%),
    radial-gradient(46% 40% at 14% 66%, rgba(178, 205, 184, 0.44), transparent 66%),
    radial-gradient(68% 52% at 52% 108%, rgba(233, 224, 207, 0.9), transparent 70%);
  animation: drift 52s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2.5%, 1.6%, 0) scale(1.06); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.02); }
}

/* A huge ghosted arch behind everything — the doorway */
.hero-arch {
  position: absolute; z-index: 0; pointer-events: none;
  right: -6%; top: 6%;
  width: min(48vw, 620px); aspect-ratio: 0.74;
  border: 1px solid var(--rule); border-bottom: none;
  border-radius: 999px 999px 0 0 / 52% 52% 0 0;
  opacity: .55;
}

.hero-inner { position: relative; z-index: 1; display: grid; gap: clamp(36px, 5vw, 64px); }

@media (min-width: 981px) {
  .hero-inner { grid-template-columns: 1.18fr 0.82fr; align-items: center; }
}

.hero-flag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 17px 8px 13px; margin-bottom: 26px;
  border: 1px solid var(--rule); border-radius: 999px;
  background: rgba(251, 248, 242, 0.7);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--ink-2);
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--clay-bright);
  box-shadow: 0 0 0 0 rgba(210, 87, 31, .6);
  animation: pulse 2.8s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(210, 87, 31, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(210, 87, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(210, 87, 31, 0); }
}

.hero-lede { margin-top: 28px; max-width: 46ch; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 26px; border-top: 1px solid var(--rule);
}
.hero-fact { display: flex; flex-direction: column; gap: 3px; }
.hero-fact b {
  font-family: var(--display); font-variation-settings: var(--plain);
  font-size: clamp(27px, 3vw, 38px); font-weight: 400;
  line-height: 1; color: var(--ink);
}
.hero-fact span {
  font-size: 12px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-dim);
}

/* ---------- The arched portrait plate ---------- */
.hero-portrait { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.hero-plate {
  position: relative;
  aspect-ratio: 0.78;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-plate);
  transform: rotate(-1.2deg);
}
.hero-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

/* hairline registration arch, offset behind the plate */
.hero-portrait::before {
  content: ''; position: absolute; inset: 16px -16px -16px 16px;
  border: 1px solid var(--clay-soft);
  border-radius: var(--arch);
  transform: rotate(-1.2deg);
  opacity: .75;
}

.hero-seal {
  position: absolute; left: -26px; bottom: 44px; z-index: 2;
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: grid; place-items: center; text-align: center;
  box-shadow: var(--shadow-soft);
}
.hero-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 44s linear infinite; }
.hero-seal svg line { stroke: var(--clay-bright); stroke-width: 3.4; stroke-linecap: round; }
.hero-seal b {
  position: relative;
  font-family: var(--display); font-variation-settings: var(--plain);
  font-size: 13.5px; font-weight: 500; line-height: 1.24; color: var(--ink);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Two doors: new client vs current client ---------- */
.hero-doors {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; margin-top: 34px; max-width: 540px;
}
.door {
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  min-height: 64px; padding: 13px 22px 14px;
  border-radius: 16px;
  transition: transform .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.door:hover { transform: translateY(-2px); }
.door:active { transform: translateY(0); }
.door-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; opacity: .78;
}
.door-label { font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; }

.door--new {
  background: var(--clay-bright); color: #fff;
  box-shadow: 0 14px 30px -16px rgba(180, 69, 28, .8);
}
.door--new:hover { background: var(--clay-deep); }

.door--current {
  border: 1.4px solid var(--rule); color: var(--ink);
  background: rgba(251, 248, 242, .7);
}
.door--current .door-tag { color: var(--sage); opacity: 1; }
.door--current:hover { border-color: var(--ink); }

.door:focus-visible { outline: 2px solid var(--clay-bright); outline-offset: 3px; border-radius: 16px; }

.hero-meet {
  display: inline-block; margin-top: 16px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-3);
  text-decoration: underline; text-decoration-color: var(--rule);
  text-underline-offset: 4px;
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}
.hero-meet:hover { color: var(--clay); text-decoration-color: var(--clay); }

@media (max-width: 480px) {
  .hero-doors { grid-template-columns: 1fr; }
}

/* contact section: send current clients to Upheal before they reach the form */
.contact-current {
  margin-top: 22px; padding: 14px 18px;
  border: 1px dashed var(--rule-ink); border-radius: 12px;
  font-size: 15px; line-height: 1.55; color: rgba(251, 248, 242, .78);
}
.contact-current b { color: var(--paper); margin-right: 6px; }
.contact-current a { color: var(--clay-soft); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-current a:hover { color: var(--paper); }

/* =========================================================
   TICKER — CSS-only marquee, acts as a hard graphic divider
   ========================================================= */
.ticker {
  background: var(--ink); color: var(--paper);
  padding: 15px 0; overflow: hidden;
  border-block: 1px solid var(--ink);
}
.ticker-move { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker-set { display: flex; align-items: center; list-style: none; }
.ticker-set li {
  display: flex; align-items: center; gap: 30px;
  padding-right: 30px;
  font-family: var(--display); font-variation-settings: var(--plain);
  font-size: 20px; font-weight: 400; letter-spacing: -0.005em;
  white-space: nowrap;
}
.ticker-set li::after {
  content: ''; width: 5px; height: 5px; border-radius: 50%; flex: none;
  background: var(--clay-bright);
}
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-move { animation-play-state: paused; }

/* =========================================================
   QUOTE
   ========================================================= */
.quote { padding: clamp(78px, 11vw, 150px) 0; overflow: hidden; }
.quote-inner { position: relative; max-width: 940px; margin: 0 auto; text-align: center; }
.quote-glyph {
  position: absolute; top: -0.38em; left: 50%;
  transform: translateX(-50%);
  font-family: var(--display); font-size: clamp(180px, 26vw, 340px);
  line-height: 1; color: var(--clay); opacity: .09;
  pointer-events: none; user-select: none;
}
blockquote {
  position: relative;
  font-family: var(--display); font-variation-settings: 'SOFT' 60, 'WONK' 1;
  font-style: italic; font-weight: 400;
  font-size: clamp(25px, 3.5vw, 46px);
  line-height: 1.26; letter-spacing: -0.015em;
  color: var(--ink); text-wrap: balance;
}
.quote-cite {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 34px; font-style: normal;
  font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-dim);
}
.quote-cite::before { content: ''; width: 40px; height: 1px; background: var(--rule); }

/* =========================================================
   APPROACH — staggered, grid-breaking
   ========================================================= */
.approach { padding: clamp(72px, 9vw, 128px) 0; }
.approach-grid {
  display: grid; gap: clamp(26px, 3.2vw, 44px);
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  align-items: start;
}
@media (min-width: 900px) {
  .approach-grid > *:nth-child(2) { margin-top: 52px; }
  .approach-grid > *:nth-child(3) { margin-top: 104px; }
}
.approach-card {
  position: relative;
  padding: 32px 30px 34px;
  border-top: 1.5px solid var(--ink);
  background: linear-gradient(180deg, rgba(243, 237, 225, .58), rgba(243, 237, 225, 0));
  transition: transform .45s var(--ease), background .45s var(--ease);
}
.approach-card:hover { transform: translateY(-6px); background: linear-gradient(180deg, rgba(243, 237, 225, .92), rgba(243, 237, 225, .12)); }
.approach-num {
  display: block; margin-bottom: 20px;
  font-family: var(--display); font-variation-settings: var(--plain);
  font-size: 46px; font-weight: 400; line-height: 1;
  color: var(--sage-soft);   /* visible fill if text-stroke is unsupported */
  transition: color .45s var(--ease), -webkit-text-stroke-color .45s var(--ease);
}
@supports (-webkit-text-stroke: 1px red) {
  .approach-num { color: transparent; -webkit-text-stroke: 1px var(--sage-soft); }
}
.approach-card:hover .approach-num { color: var(--clay); -webkit-text-stroke-color: transparent; }
.approach-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 11px; }
.approach-card p { font-size: 16px; line-height: 1.64; color: var(--ink-3); }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: clamp(72px, 9vw, 128px) 0; }
.about-grid { display: grid; gap: clamp(40px, 6vw, 84px); align-items: start; }
@media (min-width: 981px) { .about-grid { grid-template-columns: 0.86fr 1.14fr; } }

.about-media { position: relative; }
.about-plate {
  position: relative; border-radius: 6px; overflow: hidden;
  aspect-ratio: 0.82; background: var(--ink);
  box-shadow: var(--shadow-plate);
}
.about-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
/* letterpress registration frame — sits under the plate, offset like a
   misregistered second pass on a press */
.about-media::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--clay-soft); border-radius: 6px;
}
.about-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  padding: 13px 20px; border-radius: 6px;
  background: rgba(251, 248, 242, 0.93);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}
.about-tag b {
  font-family: var(--display); font-variation-settings: var(--plain);
  font-size: 19px; font-weight: 500; color: var(--ink);
}
.about-tag span { font-size: 11px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--sage); }

.about-copy .lede { margin-top: 22px; }
.about-body { margin-top: 24px; font-size: 16.5px; line-height: 1.7; color: var(--ink-3); max-width: 62ch; }
.about-body p + p { margin-top: 17px; }

/* Credentials as a hairline register */
.creds {
  display: grid; gap: clamp(26px, 4vw, 52px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 40px 0 38px;
  padding-top: 26px; border-top: 1px solid var(--rule);
}
.cred-head {
  display: block; margin-bottom: 16px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--clay);
}
.creds ul { list-style: none; display: flex; flex-direction: column; }
.creds li {
  display: flex; flex-direction: column; gap: 1px;
  padding: 11px 0; border-bottom: 1px solid var(--rule-soft);
}
.creds li b { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.creds li span { font-size: 13.5px; color: var(--ink-dim); }
.creds li .cred-lic {
  margin-top: 2px; font-size: 11.5px; letter-spacing: .04em;
  color: var(--sage); font-variant-numeric: tabular-nums;
}

/* =========================================================
   SPECIALTIES — editorial rows
   ========================================================= */
.specialties { padding: clamp(72px, 9vw, 128px) 0; }
.spec-list { list-style: none; border-top: 1px solid var(--rule); }

.spec-row {
  position: relative;
  display: grid; align-items: start;
  gap: 8px 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule-soft);
  grid-template-columns: auto 1fr;
  transition: padding-left .45s var(--ease);
}
@media (min-width: 861px) {
  .spec-row { grid-template-columns: 58px minmax(0, 1fr) 210px; align-items: center; gap: 30px; }
}
/* a clay hairline that sweeps in on hover */
.spec-row::after {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--clay-bright);
  transition: width .6s var(--ease);
}
@media (hover: hover) {
  .spec-row:hover::after { width: 100%; }
}
@media (hover: hover) and (min-width: 861px) {
  .spec-row:hover { padding-left: 14px; }
}

.spec-num {
  font-family: var(--display); font-variation-settings: var(--plain);
  font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums;
  color: var(--sage-soft);
  transition: color .4s var(--ease);
}
.spec-row:hover .spec-num { color: var(--clay); }

.spec-body h3 {
  font-family: var(--display); font-variation-settings: var(--wonk);
  font-size: clamp(25px, 2.8vw, 36px); font-weight: 400;
  line-height: 1.1; letter-spacing: -0.018em; color: var(--ink);
  margin-bottom: 8px;
}
.spec-body p { font-size: 16px; line-height: 1.62; color: var(--ink-3); max-width: 62ch; }

.spec-meta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (min-width: 861px) { .spec-meta { align-items: flex-end; text-align: right; } }
.spec-for { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }

/* "Ask about this" — pre-fills the contact form. Real function, not decoration. */
.spec-ask {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--clay);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.spec-ask svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.spec-row:hover .spec-ask, .spec-ask:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .spec-ask { opacity: 1; transform: none; } }

/* ---------- Format band ---------- */
.format {
  display: grid; gap: 1px; margin-top: clamp(48px, 6vw, 76px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--rule); border: 1px solid var(--rule); border-radius: 10px;
  overflow: hidden;
}
.format-item { background: var(--paper-2); padding: 30px 28px; }
.format-item b {
  display: block; margin-bottom: 11px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--clay);
}
.format-item p { font-size: 15.5px; line-height: 1.62; color: var(--ink-3); }

/* =========================================================
   FEES — admission tickets
   ========================================================= */
.fees { padding: clamp(72px, 9vw, 128px) 0; }
.tickets {
  display: grid; gap: clamp(14px, 1.8vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(226px, 1fr));
  /* held well short of the 1240 content width: fees should inform, not shout */
  max-width: 880px;
}
.ticket {
  position: relative;
  display: flex; flex-direction: column;
  padding: 24px 24px 22px;
  border: 1px solid var(--rule); border-radius: 12px;
  background: var(--paper);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ticket:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
/* the perforation notch */
.ticket::before, .ticket::after {
  content: ''; position: absolute; left: -7px; width: 13px; height: 13px;
  border-radius: 50%; background: var(--paper);
  border: 1px solid var(--rule);
  clip-path: inset(0 0 0 50%);
}
.ticket::before { top: 50%; margin-top: -24px; }
.ticket::after  { right: -7px; left: auto; top: 50%; margin-top: -24px; transform: rotate(180deg); }

.ticket--feature { background: var(--ink); border-color: var(--ink); color: rgba(251, 248, 242, .78); }
.ticket--feature::before, .ticket--feature::after { background: var(--paper); border-color: var(--paper); }

.ticket-label {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--clay);
}
.ticket--feature .ticket-label { color: var(--clay-soft); }

.ticket-price {
  display: flex; align-items: baseline; gap: 3px;
  margin: 10px 0 11px;
  font-family: var(--display); font-variation-settings: var(--plain);
  font-size: clamp(31px, 3.4vw, 42px); font-weight: 400; line-height: 0.95;
  letter-spacing: -0.03em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ticket--feature .ticket-price { color: var(--paper); }
.ticket-price small { font-size: 0.42em; font-weight: 500; letter-spacing: 0; color: var(--ink-dim); }
.ticket--feature .ticket-price small { color: var(--sage-soft); }

.ticket p { font-size: 14.5px; line-height: 1.58; color: var(--ink-3); }
.ticket--feature p { color: rgba(251, 248, 242, .72); }
.ticket .btn { margin-top: 18px; align-self: flex-start; padding: 12px 24px; font-size: 14.5px; }

/* ---------- Returning clients: self-scheduling ---------- */
.returning {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 26px; max-width: 880px; margin-top: 18px;
  padding: 20px 24px;
  border: 1px dashed var(--rule); border-radius: 12px;
}
.returning b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 3px; }
.returning p { font-size: 14px; line-height: 1.55; color: var(--ink-3); max-width: 54ch; }
.returning .btn { flex: none; padding: 12px 24px; font-size: 14.5px; }

/* ---------- Insurance ---------- */
.insurance {
  display: grid; gap: clamp(32px, 5vw, 68px);
  margin-top: clamp(52px, 7vw, 92px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--rule);
}
@media (min-width: 941px) { .insurance { grid-template-columns: 0.92fr 1.08fr; } }
.insurance p { margin-top: 15px; font-size: 16px; line-height: 1.66; color: var(--ink-3); max-width: 52ch; }
.insurance-fine { font-size: 14.5px !important; color: var(--ink-dim) !important; }
.insurance-fine a, .policy-link { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }

.carriers { list-style: none; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 40px; }
.carriers li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--rule-soft);
}
.carriers b {
  font-family: var(--display); font-variation-settings: var(--plain);
  font-size: 19px; font-weight: 400; color: var(--ink);
}
.carriers span { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); white-space: nowrap; }

/* ---------- FAQ — native <details>, zero JS ---------- */
.faq { margin-top: clamp(52px, 7vw, 92px); }
.faq-list { margin-top: 28px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule-soft); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 17.5px; font-weight: 600; color: var(--ink);
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--clay); }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 0;
  width: 100%; height: 1.6px; background: var(--clay-bright); border-radius: 2px;
  transition: transform .35s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 0 24px; max-width: 66ch; font-size: 16px; line-height: 1.66; color: var(--ink-3); }
.faq details[open] .faq-a { animation: faqIn .38s var(--ease) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================
   CONTACT — the ink anchor
   ========================================================= */
.contact { padding: clamp(78px, 10vw, 140px) 0; }
.contact-grid { display: grid; gap: clamp(44px, 6vw, 84px); align-items: start; }
@media (min-width: 981px) { .contact-grid { grid-template-columns: 0.92fr 1.08fr; } }

.contact-tiles { display: grid; gap: 12px; margin-top: 34px; }
.contact-tile {
  display: flex; flex-direction: column; gap: 4px;
  padding: 19px 24px; border-radius: 12px;
  border: 1px solid var(--rule-ink);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.contact-tile:hover { border-color: var(--clay-soft); background: rgba(251, 248, 242, .05); transform: translateX(4px); }
.contact-tile b { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--clay-soft); }
.contact-tile span {
  font-family: var(--display); font-variation-settings: var(--plain);
  /* capped so the full email address fits on one line in the tile.
     `anywhere` not `break-word`: only `anywhere` lowers the element's
     min-content width, so the address can't force the page wider than
     the viewport on a narrow phone. */
  font-size: clamp(16.5px, 1.6vw, 20px); font-weight: 400; color: var(--paper);
  overflow-wrap: anywhere;
}

.crisis {
  margin-top: 28px; padding: 17px 22px;
  border-left: 2px solid var(--clay-bright); border-radius: 0 8px 8px 0;
  background: rgba(210, 87, 31, .1);
  font-size: 14.5px; line-height: 1.6; color: rgba(251, 248, 242, .86);
}
.crisis b { color: var(--clay-soft); }
.crisis a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Form: ruled lines, like a paper intake sheet ---------- */
.form { display: flex; flex-direction: column; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; border: none; }
.field-row { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 561px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label, .field legend {
  font-size: 12px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--sage-soft);
}
.field .opt { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--ink-dim); }

.field input, .field textarea {
  padding: 12px 2px; border: none;
  border-bottom: 1px solid var(--rule-ink);
  background: transparent; color: var(--paper);
  font-size: 17px; border-radius: 0;
  transition: border-color .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(251, 248, 242, .3); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--clay-bright); }
.field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.field.has-err input, .field.has-err textarea { border-bottom-color: #e8744f; }

.err { font-size: 13px; color: #f0a184; min-height: 0; }
.err:empty { display: none; }

.req { color: var(--clay-soft); font-weight: 700; }

.form-intro {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  font-size: 14px; color: rgba(251, 248, 242, .6);
  padding-bottom: 6px; border-bottom: 1px solid var(--rule-ink);
}

/* live submit feedback */
.form-status { font-size: 14.5px; line-height: 1.55; }
.form-status:empty { display: none; }
.form-status.is-error { color: #f0a184; }
.form-status.is-busy  { color: rgba(251, 248, 242, .66); }
.form-status a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* spam trap — hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* a submit in flight shouldn't look clickable */
.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }
.note { font-size: 13.5px; line-height: 1.5; color: var(--clay-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 3px; }
/* the input is the real control; the label is the chip you see */
.chips input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip {
  /* inline-flex + min-height guarantees the 44px iOS tap target instead of
     leaving it to padding + line-height arithmetic */
  display: inline-flex; align-items: center; min-height: 44px;
  cursor: pointer;
  padding: 0 17px; border-radius: 999px;
  border: 1px solid var(--rule-ink);
  font-size: 14px; font-weight: 500; color: rgba(251, 248, 242, .78);
  transition: background .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .chip:hover { border-color: var(--clay-soft); color: var(--paper); } }
.chip:active { transform: scale(.97); }
.chips input:checked + .chip {
  background: var(--clay-bright); border-color: var(--clay-bright);
  color: #fff; font-weight: 600;
}
.chips input:focus-visible + .chip { outline: 2px solid var(--clay-bright); outline-offset: 3px; }

.form-fine { font-size: 13.5px; line-height: 1.58; color: rgba(251, 248, 242, .5); }
.form-fine a { color: rgba(251, 248, 242, .78); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Consultation CTA (replaces the old inline form) ---------- */
.consult-cta {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--rule-ink); border-radius: 14px;
  background: rgba(251, 248, 242, 0.04);
}
.cta-label {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--clay-soft);
}
.consult-cta .h3 { margin: 10px 0 12px; }
.consult-cta > p { font-size: 15.5px; line-height: 1.65; color: rgba(251, 248, 242, .76); }
.consult-cta .btn { margin-top: 24px; }
.consult-cta .form-fine { margin-top: 16px; font-size: 13.5px; }

/* ---------- Consultation page ---------- */
.consult-page { padding-top: clamp(120px, 15vh, 168px); }
.consult-page .h2 { font-size: clamp(34px, 4.4vw, 56px); }

.next-steps {
  list-style: none; counter-reset: step;
  margin-top: 28px; display: flex; flex-direction: column; gap: 14px;
}
.next-steps li {
  counter-increment: step; position: relative;
  padding-left: 42px; font-size: 15.5px; line-height: 1.6;
  color: rgba(251, 248, 242, .72);
}
.next-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-variation-settings: var(--plain);
  font-size: 14px; color: var(--clay-soft);
  border: 1px solid var(--rule-ink);
}
.next-steps b { color: var(--paper); font-weight: 600; }

/* ---------- Availability grid: a ruled timetable, day x slot ---------- */
.avail-hint {
  margin-top: 4px; font-size: 13.5px; line-height: 1.5;
  color: rgba(251, 248, 242, .55);
}
.avail {
  display: grid;
  grid-template-columns: minmax(42px, auto) repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 12px;
}
/* the real controls sit behind the cells */
.avail input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.avail-time, .avail-day {
  display: flex; align-items: center;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sage-soft);
}
.avail-time { justify-content: center; text-align: center; font-size: 10.5px; padding-bottom: 4px; }
.avail-day  { font-size: 11.5px; color: rgba(251, 248, 242, .75); }

.avail-cell {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; cursor: pointer;
  border: 1px solid var(--rule-ink); border-radius: 9px;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.avail-cell::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(251, 248, 242, .22);
  transition: opacity .15s var(--ease);
}
@media (hover: hover) {
  .avail-cell:hover { border-color: var(--clay-soft); background: rgba(251, 248, 242, .04); }
}
.avail input:checked + .avail-cell {
  background: var(--clay-bright); border-color: var(--clay-bright);
}
/* the dot becomes a tick */
.avail input:checked + .avail-cell::after {
  width: 11px; height: 6px; border-radius: 0; background: transparent;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -2px);
}
.avail input:focus-visible + .avail-cell { outline: 2px solid var(--clay-bright); outline-offset: 2px; }
.field.has-err .avail-cell { border-color: rgba(232, 116, 79, .55); }

/* visible to screen readers only */
.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;
}

@media (max-width: 420px) {
  .avail { gap: 4px; grid-template-columns: minmax(34px, auto) repeat(4, minmax(0, 1fr)); }
  .avail-time { font-size: 9.5px; letter-spacing: .04em; }
  .avail-day  { font-size: 10.5px; letter-spacing: .04em; }
}

/* ---------- Success state ---------- */
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px 0; }
.sent-mark { width: 84px; height: 84px; }
.sent-mark svg { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.sent-mark line { stroke: var(--clay-bright); stroke-width: 4; stroke-linecap: round; }
.sent-mark circle { fill: var(--clay-bright); }
.sent a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.sent .h3 { color: var(--paper); }
.sent p { font-size: 16.5px; line-height: 1.65; color: rgba(251, 248, 242, .78); max-width: 46ch; }

/* =========================================================
   MOBILE ACTION BAR — the conversion fix
   ========================================================= */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 780;
  display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--rule);
  transform: translateY(110%);
  transition: transform .4s var(--ease);
}
.actionbar.is-up { transform: none; }
.actionbar a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 10px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
}
.actionbar .ab-ghost { border: 1.3px solid var(--rule); color: var(--ink); flex: 0 0 auto; padding-inline: 20px; }
.actionbar .ab-main { background: var(--clay-bright); color: #fff; flex: 1.4; }
.actionbar svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding: clamp(52px, 7vw, 84px) 0 0; }
.footer-top { display: grid; gap: clamp(34px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 60px); }
@media (min-width: 861px) { .footer-top { grid-template-columns: 1fr 1.5fr; } }
.footer-brand .brand-mark { width: 44px; height: 44px; margin-bottom: 18px; }
.footer-tag { font-size: 15px; line-height: 1.6; color: var(--ink-3); max-width: 34ch; }
.footer-cols { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-cols > div { display: flex; flex-direction: column; gap: 9px; }
.footer-label {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--clay); margin-bottom: 3px;
}
.footer-cols a {
  font-size: 15px; color: var(--ink-2);
  transition: color .22s var(--ease);
  max-width: 100%;
  /* the email address is one long unbreakable token — without this it spills
     out of its grid track and lands on top of the next column */
  overflow-wrap: anywhere;
}
.footer-cols a:hover { color: var(--clay); }
.footer-muted { font-size: 14px; line-height: 1.56; color: var(--ink-dim); }
.footer-muted a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.footer-bar {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  padding: 22px 0 26px; border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--ink-dim);
}

/* =========================================================
   POLICIES PAGE
   ========================================================= */
.policy-main { padding: clamp(128px, 16vh, 180px) 0 clamp(60px, 8vw, 100px); }
.policy-wrap { max-width: 790px; margin: 0 auto; padding-inline: var(--pad); }
.policy-wrap > .lede { margin-top: 22px; }
.policy { margin-top: clamp(48px, 6vw, 76px); padding-top: clamp(30px, 4vw, 44px); border-top: 1px solid var(--rule); }
.policy > * + * { margin-top: 17px; }
.policy p { font-size: 16.5px; line-height: 1.72; color: var(--ink-3); }
.policy a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.policy ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.policy li {
  position: relative; padding-left: 26px;
  font-size: 16.5px; line-height: 1.68; color: var(--ink-3);
}
.policy li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 13px; height: 7px; border: 1.4px solid var(--clay-soft);
  border-bottom: none; border-radius: 999px 999px 0 0;
}
.policy strong { color: var(--ink); font-weight: 600; }
.policy-notice {
  padding: 24px 26px; border-radius: 12px;
  background: var(--paper-2); border-left: 2px solid var(--clay-bright);
}
.policy-notice p:first-child {
  font-family: var(--display); font-variation-settings: var(--plain);
  font-size: 20px; line-height: 1.34; color: var(--ink);
}
.policy-notice p + p { margin-top: 12px; }
.policy-updated { font-size: 14px !important; color: var(--ink-dim) !important; padding-top: 12px; }

/* =========================================================
   REVEALS — applied only when JS is on, so a no-JS visitor
   (or a failed CDN) still sees every word.
   ========================================================= */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Safety-net state (set by main.js if the observer never fired). Skips the
   transition entirely so the content paints even without animation frames. */
.js.reveal-all [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* The rail is fixed at left:24px and ~145px wide; content starts at
   (100vw - 1240)/2 + 72. Below ~1480px those collide, so the rail stays
   hidden. 1480 still catches a 14" MacBook Pro (1512 logical) with a
   scrollbar, with ~23px of clearance at the threshold. */
@media (min-width: 1480px) { .rail { display: flex; } }

@media (max-width: 980px) {
  .hero-portrait { max-width: 380px; margin-inline: auto; }
  .hero-seal { left: auto; right: -14px; bottom: -18px; width: 92px; height: 92px; }
}

@media (max-width: 860px) {
  /* one column: number, body, meta stack cleanly */
  .spec-row { grid-template-columns: 1fr; gap: 10px; }
  .spec-meta {
    flex-direction: row; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 14px; width: 100%;
    padding-top: 4px;
  }
}

@media (max-width: 880px) {
  .nav-links, .nav-phone, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .actionbar { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .hero { padding-top: 116px; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .ticker-set li { font-size: 17px; gap: 22px; padding-right: 22px; }
  .ticket { padding: 26px 24px; }
  .spec-row { padding: 24px 0; }
}

/* =========================================================
   REDUCED MOTION — everything still works, nothing moves
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ticker-move { animation: none; }
  .actionbar { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .rail, .progress, .actionbar, .grain, .ticker, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
  .band-ink { background: #fff !important; color: #000 !important; }
}
