/* Anyone For Bridge, site v2. Tokens (colours, fonts) live in tokens.css, shared with the flyer.
   Structure borrowed from Max's PinnacleSM build: fixed nav that settles on scroll, full-height hero,
   eyebrow + display type, reveal-on-scroll, generous section rhythm, dark bands, editorial footer. */

:root {
  --ink-soft: #3d3b35;
  --line: rgba(31, 90, 60, 0.18);
  --line-strong: rgba(31, 90, 60, 0.38);
  --gold-line: rgba(227, 197, 101, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
  --fs-xl: clamp(2.7rem, 6.2vw, 5rem);
  --fs-lg: clamp(2.1rem, 4.2vw, 3.4rem);
  --fs-md: clamp(1.55rem, 2.5vw, 2.1rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: var(--line-strong); }
p a:hover { text-decoration-color: var(--baize); }
::selection { background: var(--baize); color: var(--cream); }
:focus-visible { outline: 3px solid var(--baize); outline-offset: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--baize-deep); color: var(--cream); padding: .75rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(1180px, 90vw); margin-inline: auto; }
.wrap-narrow { width: min(760px, 90vw); margin-inline: auto; }
.section-pad { padding-block: clamp(3.6rem, 6.4vw, 5.9rem); }

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; line-height: 1.08; color: var(--baize-deep); letter-spacing: -0.005em; }
.display-xl { font-size: var(--fs-xl); line-height: 1.04; }
.display-lg { font-size: var(--fs-lg); }
.display-md { font-size: var(--fs-md); line-height: 1.2; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.6; color: var(--ink-soft); max-width: 36em; }
p { max-width: 62ch; color: var(--ink-soft); }
p + p { margin-top: 1rem; }
p.eyebrow, p.hero-meta, p.footer-tag, p.cta-date, .footer p, p.footer-name, .hero-ctas + p { max-width: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--baize); margin-bottom: 1.5rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--line-strong); }
.eyebrow--light { color: var(--gold); }
.eyebrow--light::before { background: var(--gold-line); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 34px; height: 1px; background: var(--line-strong); }
.eyebrow--light.eyebrow--center::after { background: var(--gold-line); }
.fine { font-size: 0.92rem; color: #6a675f; }
.on-dark { color: var(--cream); }
.on-dark h2, .on-dark h3 { color: var(--cream); }
.on-dark p, .on-dark .lede { color: rgba(246, 241, 231, 0.82); }
.on-dark .fine { color: rgba(246, 241, 231, 0.62); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 1.05rem 2.1rem; min-height: 52px; border-radius: 4px; border: 1.5px solid var(--baize-deep);
  background: var(--baize-deep); color: var(--cream); cursor: pointer; text-decoration: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn:hover { background: var(--baize); border-color: var(--baize); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--baize-deep); }
.btn--ghost:hover { background: var(--baize-deep); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--baize-deep); border-color: var(--cream); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--baize-deep); transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: var(--cream); border-color: rgba(246, 241, 231, 0.6); }
.btn--outline-light:hover { background: var(--cream); color: var(--baize-deep); border-color: var(--cream); }
.text-link { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; color: var(--baize); border-bottom: 1px solid var(--line-strong); padding-bottom: 0.3rem; }
.text-link .arrow { transition: transform 0.4s var(--ease); }
.text-link:hover .arrow { transform: translateX(5px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; color: var(--cream);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.5s var(--ease), height 0.5s var(--ease);
}
.nav.scrolled, body.subpage .nav, body.nav-solid .nav {
  background: rgba(246, 241, 231, 0.94); color: var(--baize-deep); height: 70px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { width: min(1320px, 94vw); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.005em; white-space: nowrap; }
/* Ravi asked for the logo "next to the name": the gold diamond becomes mark J. Two files, toggled by
   CSS rather than script, because the home-page nav has a transparent state over the hero photograph
   where the full-colour mark's green bezel and black suits disappear. mark_J_upright_cream is all cream;
   F_REV was no use here, its bezel is #12382A, the same colour as the footer it would sit on. */
.nav-brand .mark { width: 30px; height: 30px; flex: none; }
.nav-brand .mark--dark { display: none; }
.nav.scrolled .nav-brand .mark--light, .nav.sub .nav-brand .mark--light, .nav.menu-open .nav-brand .mark--light, body.nav-solid .nav-brand .mark--light { display: none; }
.nav.scrolled .nav-brand .mark--dark, .nav.sub .nav-brand .mark--dark, .nav.menu-open .nav-brand .mark--dark, body.nav-solid .nav-brand .mark--dark { display: block; }
.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.3rem); list-style: none; }
.nav-links a:not(.btn) { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; position: relative; padding-bottom: 5px; opacity: 0.92; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links .btn { padding: 0.75rem 1.4rem; min-height: 44px; font-size: 0.72rem; }
body:not(.nav-solid) .nav:not(.scrolled):not(.sub) .nav-links .btn { background: var(--cream); color: var(--baize-deep); border-color: var(--cream); }
body:not(.nav-solid) .nav:not(.scrolled):not(.sub) .nav-links .btn:hover { background: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 46px; height: 46px; position: relative; z-index: 130; color: inherit; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px auto; transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-toggle.open { color: var(--baize-deep); }
.nav.menu-open { color: var(--baize-deep); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.9rem; color: var(--baize-deep); }
.mobile-menu a.btn { font-family: var(--font-body); font-size: 0.82rem; margin-top: 1rem; color: var(--cream); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 5rem; color: var(--cream); isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 56, 42, 0.92) 0%, rgba(18, 56, 42, 0.78) 42%, rgba(18, 56, 42, 0.28) 100%),
    linear-gradient(180deg, rgba(18, 56, 42, 0.35) 0%, rgba(18, 56, 42, 0) 35%, rgba(18, 56, 42, 0.55) 100%);
}
.hero .wrap { position: relative; }
.hero h1 { color: var(--cream); max-width: 15ch; }
.hero .lede { color: rgba(246, 241, 231, 0.88); margin-top: 1.6rem; max-width: 30em; }
.hero-ctas { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-date { margin-top: 1.6rem; max-width: none; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.hero-meta { margin-top: 2.2rem; display: flex; gap: 2.4rem; flex-wrap: wrap; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: rgba(246, 241, 231, 0.75); }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.7rem; }
.hero-meta i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; flex: none; }
.hero-meta .hm-s { display: none; white-space: nowrap; }   /* the four core skills, short, for phones under 420 px */
.scroll-cue { position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%); width: 1px; height: 54px; background: linear-gradient(180deg, rgba(246,241,231,0) 0%, rgba(246,241,231,0.8) 100%); }
.scroll-cue::after { content: ""; position: absolute; left: -3px; bottom: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-40px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }

.hero-enter { opacity: 0; transform: translateY(22px); animation: heroIn 1.1s var(--ease) forwards; }
.he-1 { animation-delay: 0.15s; } .he-2 { animation-delay: 0.35s; } .he-3 { animation-delay: 0.55s; } .he-4 { animation-delay: 0.75s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; } .reveal-d2 { transition-delay: 0.24s; } .reveal-d3 { transition-delay: 0.36s; }

/* ---------- two ways in: his "two points of view, two profiles", [00:44:53] ---------- */
.profiles { background: var(--card); border-bottom: 1px solid var(--line); }
.profiles-grid { display: grid; grid-template-columns: 1fr 1fr; }
.profile { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; padding: 1.35rem clamp(1rem, 3vw, 2rem) 1.35rem 0; }
.profile + .profile { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 4vw, 3rem); padding-right: 0; }
.profile-k { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: var(--baize); }
.profile-v { color: var(--ink-soft); }
.profile .arrow { color: var(--baize); transition: transform 0.4s var(--ease); }
.profile:hover .arrow { transform: translateX(5px); }
.profile:hover .profile-v { color: var(--baize-deep); }

/* ---------- "for everyone": two photos + statement ---------- */
.everyone-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.everyone-copy .display-lg { max-width: 13ch; }
.everyone-copy .lede { margin-top: 1.6rem; }
.everyone-copy .text-link { margin-top: 2rem; }
.duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: end; }
.duo figure { margin: 0; overflow: hidden; border-radius: 6px; background: var(--baize-deep); }
.duo figure picture, .band-grid figure picture { display: block; width: 100%; height: 100%; }
.duo figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo figure:hover img { transform: scale(1.03); }
.duo .tall { aspect-ratio: 2 / 3; }
.duo .short { aspect-ratio: 3 / 4; margin-bottom: 2.2rem; }
.duo figcaption { position: absolute; left: 0; bottom: 0; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--baize); }

/* ---------- the four steps: the staircase and the four blocks ----------
   Mark Q re-proportioned, decomposed into four adjoining columns so each tread is its own <a>.
   Markup is generated by brand/tools/steps.py; colour and state live here. Ravi: [00:22:14] "the entry
   page should be the four steps and then the stairs", [00:41:49] "as long as you hover over two, you'll
   see the two, three, and four". No information exists on hover alone: every word in the caption is also
   in the block beside it. */
.ladder-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.ladder-aside { position: sticky; top: calc(70px + 1.8rem); }
.ladder-aside .display-lg { max-width: none; }
.ladder-aside .lede { margin-top: 1.2rem; }
.ladder-more { margin-top: 1.4rem; }

.stairs-fig { margin: 2rem 0 0; max-width: 400px; }
.stairs { width: 100%; height: auto; }
.stairs-floor { stroke: var(--line-strong); stroke-width: 2; }
.tread { cursor: pointer; }
.tread .hit { fill: transparent; pointer-events: all; }
.tread .face { fill: var(--baize); opacity: 0.36; transition: opacity 0.34s var(--ease); }
.tread .nose { fill: var(--gold); opacity: 0.4; transition: opacity 0.34s var(--ease); }
.tread .star { fill: var(--baize-deep); opacity: 0.5; transition: fill 0.34s var(--ease), opacity 0.34s var(--ease); }
.tread-n { font-family: var(--font-display); font-size: 26px; text-anchor: middle; fill: var(--baize); opacity: 0.4; transition: opacity 0.34s var(--ease); }
.tread.is-active .face, .tread:hover .face, .tread:focus-visible .face { opacity: 1; }
.tread.is-active .nose, .tread:hover .nose, .tread:focus-visible .nose { opacity: 1; }
.tread.is-active .star, .tread:hover .star, .tread:focus-visible .star { fill: var(--gold); opacity: 1; }
.tread.is-active .tread-n, .tread:hover .tread-n, .tread:focus-visible .tread-n { opacity: 1; }
/* the site-wide :focus-visible ring (baize, 7.2:1 on cream) is the right one here; gold is 1.5:1 on cream */

.stairs-cap { display: grid; margin-top: 16px; }
.cap-item {
  grid-area: 1 / 1; position: relative; display: grid; gap: 0.3rem;
  background: var(--baize-deep); color: var(--cream); border-radius: 8px; padding: 1rem 1.15rem;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease);
}
.cap-item::before {
  content: ""; position: absolute; top: -9px; left: var(--px); transform: translateX(-50%);
  border: 9px solid transparent; border-top: 0; border-bottom-color: var(--baize-deep);
}
.cap-item.is-on { opacity: 1; visibility: visible; }
.cap-k { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.cap-q { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.25; }
.cap-m { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: rgba(246, 241, 231, 0.66); }
/* hover and keyboard focus beat the scroll state, and do it with no JavaScript at all */
.stairs-fig:has(.tread:hover) .cap-item, .stairs-fig:has(.tread:focus-visible) .cap-item { opacity: 0; visibility: hidden; }
.stairs-fig:has(.tread[data-step="1"]:hover) .cap-item[data-step="1"],
.stairs-fig:has(.tread[data-step="1"]:focus-visible) .cap-item[data-step="1"],
.stairs-fig:has(.tread[data-step="2"]:hover) .cap-item[data-step="2"],
.stairs-fig:has(.tread[data-step="2"]:focus-visible) .cap-item[data-step="2"],
.stairs-fig:has(.tread[data-step="3"]:hover) .cap-item[data-step="3"],
.stairs-fig:has(.tread[data-step="3"]:focus-visible) .cap-item[data-step="3"],
.stairs-fig:has(.tread[data-step="4"]:hover) .cap-item[data-step="4"],
.stairs-fig:has(.tread[data-step="4"]:focus-visible) .cap-item[data-step="4"] { opacity: 1; visibility: visible; }
/* ...and while one is held, the scroll-lit tread stands down, so only ever one stair is lit */
.stairs-fig:has(.tread:hover) .tread.is-active:not(:hover) .face,
.stairs-fig:has(.tread:focus-visible) .tread.is-active:not(:focus-visible) .face { opacity: 0.36; }
.stairs-fig:has(.tread:hover) .tread.is-active:not(:hover) .nose,
.stairs-fig:has(.tread:focus-visible) .tread.is-active:not(:focus-visible) .nose,
.stairs-fig:has(.tread:hover) .tread.is-active:not(:hover) .tread-n,
.stairs-fig:has(.tread:focus-visible) .tread.is-active:not(:focus-visible) .tread-n { opacity: 0.4; }
.stairs-fig:has(.tread:hover) .tread.is-active:not(:hover) .star,
.stairs-fig:has(.tread:focus-visible) .tread.is-active:not(:focus-visible) .star { fill: var(--baize-deep); opacity: 0.5; }

.ladder-blocks { display: grid; }
.step-block {
  position: relative; min-height: 46vh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 6vh, 3.6rem) 0 clamp(2rem, 6vh, 3.6rem) 1.7rem; border-top: 1px solid var(--line);
}
.step-block:first-child { border-top: 0; }
.step-block::before {
  content: ""; position: absolute; left: 0; top: clamp(2rem, 6vh, 3.6rem); bottom: clamp(2rem, 6vh, 3.6rem);
  width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.step-block.is-current::before { transform: scaleY(1); }
.step-k { display: flex; align-items: center; gap: 0.85rem; font-size: 0.78rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 700; color: var(--baize); margin-bottom: 1rem; max-width: none; }
.step-n { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0; color: var(--baize-deep); flex: none; transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease); }
.step-block.is-current .step-n { background: var(--baize); border-color: var(--baize); color: var(--cream); }
.step-block h3 { margin-bottom: 0.7rem; }
.step-q { font-family: var(--font-display); font-style: italic; font-size: clamp(1.18rem, 1.8vw, 1.45rem); line-height: 1.3; color: var(--baize); max-width: 30ch; text-wrap: balance; }
.step-block .step-q { margin-bottom: 0.9rem; }
.step-block p { font-size: 1.05rem; }
.step-block p:last-child { margin-top: 1.3rem; }

/* ---------- how we teach ---------- */
.method { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.method-grid .display-lg { max-width: 12ch; }
.quote { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.35; color: var(--baize-deep); margin-top: 2rem; padding-left: 1.4rem; border-left: 2px solid var(--gold); max-width: 24em; }
.quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: var(--baize); margin-top: 0.9rem; }
.steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 2.6rem; counter-reset: step; }
.steps li { border-top: 1px solid var(--line-strong); padding-top: 1.3rem; }
.steps .n { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--baize); }
.steps h3 { font-size: 1.45rem; margin: 0.8rem 0 0.5rem; }
.steps p { font-size: 1.02rem; }

/* ---------- course band ---------- */
.band { background: var(--baize-deep); color: var(--cream); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(31, 90, 60, 0.9) 0%, rgba(18, 56, 42, 0) 55%); }
.band .wrap { position: relative; }
.band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.band-grid figure { margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.band-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.band h2 { color: var(--cream); }
.band .lede { margin-top: 1.4rem; }
.facts { list-style: none; margin-top: 2.2rem; border-top: 1px solid rgba(246,241,231,0.18); }
.facts li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid rgba(246,241,231,0.18); font-size: 1.05rem; }
.facts dt, .facts .k { font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: var(--gold); padding-top: 0.25rem; }
.facts .v { color: var(--cream); }
.facts .soon { color: rgba(246,241,231,0.7); font-style: italic; }
.band .btn { margin-top: 2.2rem; }
.band-tie { margin-top: 1rem; font-size: 1.05rem; }
.band-tie a { color: var(--gold); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: var(--gold-line); }
.band-tie a:hover { text-decoration-color: var(--gold); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: 6px; background: linear-gradient(160deg, var(--baize) 0%, var(--baize-deep) 100%); display: grid; place-items: center; color: var(--cream); text-align: center; padding: 2rem; position: relative; overflow: hidden; }
.portrait::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(246,241,231,0.25); border-radius: 4px; }
.portrait .initial { font-family: var(--font-display); font-size: clamp(5rem, 12vw, 9rem); line-height: 1; color: var(--cream); }
.portrait .cap { font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-top: 0.8rem; }
/* 15 Sep: the portrait arrived (Ravi, by WhatsApp; the frame Max approved on call 5 at 41:38). The
   photo variant drops the padding and the initial; the inset ::after frame line stays over it. */
.portrait--photo { display: block; padding: 0; margin: 0; background: var(--baize-deep); }
.portrait--photo picture, .portrait--photo img { display: block; width: 100%; height: 100%; }
.portrait--photo img { object-fit: cover; }
.about-copy .display-lg { max-width: 20ch; }
.about-copy .lede { margin-top: 1.5rem; }

/* ---------- open morning cta ---------- */
.cta { text-align: center; }
.cta p { margin-inline: auto; }
.cta .display-xl { max-width: 14ch; margin-inline: auto; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.cta .lede { margin: 1.5rem auto 0; }
.cta .btn { margin-top: 2rem; }
.cta-date { margin-top: 2.2rem; display: inline-flex; align-items: center; gap: 1.2rem; font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--baize); }
.cta-date::before, .cta-date::after { content: ""; width: 46px; height: 1px; background: var(--line-strong); }

/* ---------- footer ---------- */
.footer { background: var(--baize-deep); color: rgba(246,241,231,0.7); padding: 3.6rem 0 calc(2.2rem + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; align-items: start; }
.footer-name { font-family: var(--font-display); font-size: 1.7rem; color: var(--cream); display: flex; align-items: center; gap: 0.7rem; }
.footer-name .mark { width: 26px; height: 26px; flex: none; }
.footer-tag { margin-top: 0.8rem; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.footer h4 { font-size: 0.76rem; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 1rem; }
.footer p, .footer li { color: rgba(246,241,231,0.72); font-size: 1rem; }
.footer ul { list-style: none; }
.footer li + li { margin-top: 0.5rem; }
.footer a:hover { color: var(--cream); }
.footer-fine { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(246,241,231,0.12); font-size: 0.8rem; letter-spacing: 0.04em; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- /four-steps ---------- */
.fs-intro { border-bottom: 1px solid var(--line); }
.fs-intro-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.fs-intro .display-lg { max-width: none; }
.fs-intro .lede, .tbp .lede, .chain .lede { margin-top: 1.4rem; }
.stairs-fig--page { margin: 0; max-width: 470px; width: 100%; justify-self: end; }

.step-sec { border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.step-sec--alt { background: var(--card); }
.step-sec-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.2rem, 5vw, 4.5rem); align-items: start; }
/* The scroll state on this page, mirroring .step-block on the home page. main.js:52 has always
   toggled .is-current on .step-sec[data-step]; until 11 Sep nothing in this file listened for it,
   so the observer fired and the page never moved. Same gold rule, same filled numeral. */
.step-sec-head { position: relative; padding-left: 1.7rem; }
.step-sec-head::before {
  content: ""; position: absolute; left: 0; top: 0.3rem; bottom: 0.3rem;
  width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.step-sec.is-current .step-sec-head::before { transform: scaleY(1); }
.step-sec.is-current .step-n { background: var(--baize); border-color: var(--baize); color: var(--cream); }
.step-sec-head .display-lg { max-width: 12ch; }
.step-sub { font-size: 0.95rem; color: #6a675f; margin-top: 1rem; max-width: 34ch; }
.step-sub + .step-strap { margin-top: 0.4rem; }
.step-strap { margin-top: 1rem; max-width: 34ch; }
.step-sec .step-q { margin-top: 1.3rem; }
.step-sec-head .btn { margin-top: 1.9rem; }
.step-dates { margin-top: 1.1rem; max-width: 26ch; font-size: 0.79rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--baize); }
.step-lab { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--baize); margin: 2.1rem 0 0.85rem; }
.step-sec-body > .step-lab:first-child { margin-top: 0; }
.step-obj { font-size: 1.1rem; }
.topics { list-style: none; counter-reset: t; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.8rem; }
.topics li { counter-increment: t; position: relative; padding: 0.62rem 0 0.62rem 2.2rem; font-size: 1.02rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.topics li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 0.72rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; color: var(--baize); }
.step-held { font-size: 1.02rem; font-style: italic; color: #6a675f; }
.step-out { font-family: var(--font-display); font-size: clamp(1.12rem, 1.7vw, 1.38rem); line-height: 1.38; color: var(--baize-deep); padding-left: 1.3rem; border-left: 2px solid var(--gold); max-width: 32em; }
.step-out + .step-out { margin-top: 1rem; }

.tbp { background: var(--baize-deep); position: relative; overflow: hidden; }
.tbp::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 18% 12%, rgba(31, 90, 60, 0.9) 0%, rgba(18, 56, 42, 0) 58%); }
.tbp .wrap { position: relative; }
.tbp-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 4vw, 3rem); margin-top: clamp(2rem, 4vw, 3rem); }
.tbp-grid li { border-top: 1px solid rgba(246, 241, 231, 0.22); padding-top: 1.4rem; }
.tbp-k { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; color: var(--gold); margin-bottom: 0.8rem; }

/* These five were the only decorative box on the site: a grep for `border: 1px solid var(--line)`
   returned exactly two hits, this rule and .form, and the form is legitimately a box. That is why
   they read as bolted on, sitting directly under .tbp which uses hairline rules and gold display
   numerals. Same treatment as .steps and .tbp-grid now: a rule, a numeral, no box, no arrows.
   The sequence is carried by the numbers, which is how the rest of the site does it. */
.chain-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); margin-top: clamp(2rem, 4vw, 2.8rem); }
.chain-steps li { border-top: 1px solid var(--line-strong); padding-top: 1.2rem; }
.chain-n { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: var(--baize); margin-bottom: 0.6rem; }
.chain-t { display: block; font-weight: 700; color: var(--baize-deep); font-size: 1rem; line-height: 1.35; }
/* the closing line is a note on the whole row of five, not a footnote to the first column, so it
   needs enough air above it to stop reading as part of "The problem" */
.chain .fine { margin-top: clamp(2.2rem, 3.4vw, 2.9rem); max-width: 62ch; }

/* ---------- contact page ---------- */
.page-main { padding-top: 70px; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.contact-info .display-lg { max-width: none; font-size: clamp(2rem, 3.6vw, 3rem); }
.contact-info .lede { margin-top: 1.4rem; }
.contact-rows { margin-top: 2.6rem; border-top: 1px solid var(--line-strong); }
.contact-row { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.contact-row .k { font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: var(--baize); padding-top: 0.3rem; }
.contact-row .v { color: var(--ink-soft); }
.contact-row a { color: var(--baize-deep); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: var(--line-strong); }

.form { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.6rem, 3vw, 2.6rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; border: 0; padding: 0; min-width: 0; }
label, legend { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.45rem; color: var(--baize-deep); }
.opt { font-weight: 400; color: #6a675f; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 0.85rem 0.95rem; min-height: 52px;
  border: 1.5px solid #c9c2b1; border-radius: 6px; background: #fff; color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--baize); box-shadow: 0 0 0 3px rgba(31, 90, 60, 0.15); outline: none; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; }
.choice { display: flex; align-items: center; gap: 0.65rem; font-weight: 400; font-size: 1rem; color: var(--ink-soft); padding: 0.55rem 0.8rem; border: 1.5px solid #ddd6c5; border-radius: 6px; background: #fff; cursor: pointer; margin: 0; }
.choice:has(input:checked) { border-color: var(--baize); background: rgba(31, 90, 60, 0.06); color: var(--baize-deep); }
.choice input, .consent input { width: 20px; height: 20px; accent-color: var(--baize); flex: none; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; font-size: 0.98rem; color: var(--ink-soft); margin: 0.4rem 0 0.5rem; }
.consent-fine { margin: 0 0 1.4rem 1.95rem; }
.choices-fine { margin-top: 0.9rem; }
.choices-fine a { color: var(--baize-deep); text-decoration: underline; text-underline-offset: 0.18em; }
.consent input { margin-top: 0.25rem; }
.form .btn { width: 100%; }
.form-status { margin-top: 1rem; font-size: 0.98rem; color: var(--baize-deep); min-height: 1.5em; }
.form-status.error { color: var(--suit-red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- responsive ---------- */

/* Short desktops. This used to read `.ladder-aside { position: static }`, which switched the
   sticky OFF below 780px of viewport height and, because .ladder-grid is align-items: start,
   left the whole left column blank for the rest of the section: 631px of nothing at 1366x768,
   594px at 1200x700. That is the white space Max reported on 11 Sep.

   The aside genuinely does not fit a short screen at full size (782px tall against 801px of room
   at 1440x900), so the answer is to shrink it, not just to keep it stuck. Three bands:
   sticky and full, sticky and trimmed, and below the floor a single column so there is no empty
   rail to leave blank. Verified across 12 viewports from 1920x1080 down to 1024x600. */
@media (min-width: 901px) {
  /* the old top was calc(70px + 1.8rem) while --nav-h has been 84px: 14.8px of clearance */
  .ladder-aside { top: calc(var(--nav-h) + 1.2rem); }
  .stairs-fig { max-width: min(400px, 52vh); }
}
@media (min-width: 901px) and (max-height: 880px) {
  /* every word here is repeated in the four step blocks beside it, which is the standing rule
     for this component, so a short screen can lose them without losing information */
  .ladder-aside .lede { display: none; }
  .ladder-more { display: none; }
  .ladder-aside .display-lg { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
}
@media (min-width: 901px) and (max-height: 659px) {
  .ladder-grid { grid-template-columns: 1fr; }
  .ladder-aside { position: static; }
  .stairs-fig { max-width: 400px; margin-inline: auto; }
  .step-block { min-height: 0; }
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topics { grid-template-columns: 1fr; }
  .chain-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .everyone-grid, .method-grid, .band-grid, .about-grid, .contact-grid,
  .ladder-grid, .fs-intro-grid, .step-sec-grid, .tbp-grid, .profiles-grid { grid-template-columns: 1fr; }
  /* "Start at the top and scroll" tells a phone visitor to do the thing they are already doing,
     and costs two cards before any content on a page that is already 10.6 screens tall. It earns
     its place on desktop, where it sits beside the fold. Max, 11 Sep: "whatever youd recomend". */
  .profiles { display: none; }
  /* no sticky and no hover below 900: the staircase sits once above the blocks and every word
     in its caption is repeated in the block beside it, so nothing is lost. */
  .ladder-aside { position: static; }
  .stairs-fig, .stairs-fig--page { max-width: 520px; margin-inline: auto; justify-self: start; }
  .step-block { min-height: 0; }
  .profile + .profile { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .profile { padding-right: 0; }
  .step-sec-head .display-lg, .ladder-aside .display-lg { max-width: none; }
  .step-sub, .step-strap { max-width: none; }
  .everyone-copy .display-lg, .method-grid .display-lg, .about-copy .display-lg, .contact-info .display-lg { max-width: none; }
  .band-grid figure { order: -1; aspect-ratio: 3 / 2; }
  .duo .tall { aspect-ratio: 3 / 4; }
  .duo .short { aspect-ratio: 4 / 5; }
  .about-grid .portrait { max-width: 360px; }
  .hero { padding-top: calc(var(--nav-h) + 1rem); }
  .hero-bg img { object-position: 70% 65%; }
}
@media (max-width: 600px) {
  .wrap { width: min(1180px, 88vw); }
  .steps, .form-row, .choices, .footer-grid { grid-template-columns: 1fr; }
  /* a numeral and three words each: two up stays readable and halves the scroll */
  .chain-steps { grid-template-columns: 1fr 1fr; }
  .duo .short { margin-bottom: 1.6rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-meta { gap: 1rem 1.6rem; }
  .facts li, .contact-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .scroll-cue { display: none; }
  .cta-date::before, .cta-date::after { display: none; }
  .footer-fine { flex-direction: column; }
  .eyebrow { font-size: 0.74rem; letter-spacing: 0.22em; }
  .stairs-cap { margin-top: 14px; }
  .cta-date { font-size: 0.76rem; letter-spacing: 0.18em; }
  .footer-tag { font-size: 0.7rem; letter-spacing: 0.16em; }
}

@media (max-width: 420px) {
  .hero-meta .hm-l { display: none; }
  .hero-meta .hm-s { display: inline; }
  .hero-meta { gap: 0.8rem 1.4rem; }
}

/* ---------- motion safety ----------
   html.noanim is set by main.js for prefers-reduced-motion and for ?noanim, so the two paths
   give the identical page: all four treads lit, no sticky, no scroll-driven state to miss. */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-enter { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .scroll-cue::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
.noanim .reveal, .noanim .hero-enter { opacity: 1 !important; transform: none !important; animation: none !important; }
.noanim .scroll-cue::after { animation: none; }
.noanim * { transition-duration: 0.01ms !important; }
.noanim .ladder-aside { position: static; }
.noanim .tread .face, .noanim .tread .nose, .noanim .tread .star, .noanim .tread-n { opacity: 1; }
.noanim .tread .star { fill: var(--gold); }
.noanim .step-block::before, .noanim .step-sec-head::before { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .ladder-aside { position: static; }
  .tread .face, .tread .nose, .tread .star, .tread-n { opacity: 1; }
  .tread .star { fill: var(--gold); }
  .step-block::before { transform: scaleY(1); }
}

/* ---------- thank you (arrives here after a native form POST) ---------- */
.thanks {
  background: var(--baize-deep); color: var(--cream); position: relative; overflow: hidden;
  min-height: calc(100vh - 70px); display: grid; place-items: center; text-align: center;
}
.thanks::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 8%, rgba(31, 90, 60, 0.95) 0%, rgba(18, 56, 42, 0) 62%);
}
.thanks .wrap-narrow { position: relative; padding-block: clamp(3.2rem, 7vw, 5.4rem); }
.thanks h1 { color: var(--cream); margin-top: 1.4rem; font-size: clamp(2.4rem, 5vw, 4rem); }
.thanks .lede { color: rgba(246, 241, 231, 0.82); margin: 1.4rem auto 0; }
.thanks-cards { display: flex; justify-content: center; gap: 0.7rem; margin-bottom: 2.2rem; max-width: none; }
.thanks-cards span {
  width: 46px; height: 62px; border-radius: 4px; background: var(--card);
  display: grid; place-items: center; font-size: 1.55rem; line-height: 1;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}
.thanks-cards .r { color: var(--suit-red); }
.thanks-cards .b { color: var(--ink); }
.thanks-cards span:nth-child(1) { transform: rotate(-6deg); }
.thanks-cards span:nth-child(2) { transform: rotate(-2deg); }
.thanks-cards span:nth-child(3) { transform: rotate(2deg); }
.thanks-cards span:nth-child(4) { transform: rotate(6deg); }
.thanks .facts { max-width: 34rem; margin-inline: auto; text-align: left; }
.thanks .facts li { font-size: 1rem; }
.thanks-ctas { margin-top: 2.4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; max-width: none; }
@media (max-width: 900px) {
  .thanks { min-height: 0; }
  .thanks .facts li { grid-template-columns: 1fr; gap: 0.2rem; }
  .thanks-ctas .btn { width: 100%; }
}

/* ---------- privacy notice ---------- */
.policy .display-lg { max-width: none; }
.policy .lede { margin-top: 1.4rem; }
.policy .lede + .fine { margin-top: 0.9rem; }
.policy h2 { margin-top: 2.6rem; margin-bottom: 0.8rem; }
.policy ul { list-style: disc; padding-left: 1.3rem; margin-top: 0.8rem; max-width: 62ch; }
.policy ul + p { margin-top: 1rem; }
.policy li { color: var(--ink-soft); padding-left: 0.2rem; }
.policy li + li { margin-top: 0.35rem; }
