/* ============================================================
   NYC TOW MARKETING — corporate light system
   Full-bleed layout, tight vertical rhythm, no black anywhere
   ============================================================ */

:root {
  /* --- surfaces: all light --- */
  --white:  #ffffff;
  --mist:   #f5f8fc;   /* cool grey */
  --sand:   #faf8f4;   /* warm */
  --tint:   #eef3fb;   /* blue tint */
  --page:   #ffffff;

  --bg-0: var(--white);
  --bg-1: var(--white);
  --bg-2: #fbfcfe;
  --bg-3: #f4f7fb;

  --line:   #e3e9f1;
  --line-2: #cfd8e5;
  --line-3: #b6c2d4;

  /* --- ink --- */
  --ink:   #0f1b2d;
  --body:  #44536b;
  --muted: #64748b;
  --dim:   #8а97a8;
  --dim:   #8792a4;

  /* --- brand --- */
  --brass:    #a97c1c;
  --brass-lt: #c89b32;
  --brass-dp: #7d5a10;
  --navy:     #17263f;
  --navy-lt:  #24395c;
  --blue:     #2563eb;

  /* --- elevation: corporate, restrained --- */
  --e1: 0 1px 2px rgba(15,27,45,.05);
  --e2: 0 2px 8px rgba(15,27,45,.06), 0 1px 2px rgba(15,27,45,.04);
  --e3: 0 8px 24px rgba(15,27,45,.08), 0 2px 6px rgba(15,27,45,.05);
  --e4: 0 18px 44px rgba(15,27,45,.11), 0 4px 12px rgba(15,27,45,.06);

  --header-h: 72px;
  --gutter:   clamp(20px, 4.2vw, 76px);
  --maxw:     1680px;
  --r:  10px;
  --r-lg: 14px;

  --display: "Archivo", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  --font:    "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--body);
  background: var(--page);
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--brass); text-decoration: none; }
h1, h2, h3 { margin: 0 0 .5em; color: var(--ink); }

/* --- full-bleed with gutters --- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--navy); color: #fff; padding: .8rem 1.1rem; font-weight: 600;
}
.skip:focus { left: 0; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: var(--e2); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); flex-shrink: 0; }
.brand__mark {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border-radius: 9px; color: #fffdf7;
  background: linear-gradient(150deg, var(--brass-lt), var(--brass) 48%, var(--brass-dp));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), var(--e2);
}
.brand__mark svg { width: 19px; height: 19px; }
.brand > span:last-child {
  font-family: var(--display); font-weight: 800;
  font-size: 1.02rem; letter-spacing: -.014em; line-height: 1.1; white-space: nowrap;
}
.brand em { font-style: normal; color: var(--brass); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; color: var(--muted);
  font-size: .875rem; font-weight: 600; letter-spacing: -.004em;
  padding: .55rem .8rem; border-radius: 7px;
  transition: color .15s ease, background .15s ease; white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem;
  height: 2px; border-radius: 2px; background: var(--brass);
}

.nav-cta {
  margin-left: 12px; padding: .64rem 1.2rem;
  font-family: var(--display); font-weight: 700; font-size: .875rem; letter-spacing: -.005em;
  color: #fff !important; border-radius: 8px; white-space: nowrap;
  background: var(--navy);
  box-shadow: var(--e2);
  transition: background .16s ease, transform .14s ease, box-shadow .2s ease;
}
.nav-cta:hover { background: var(--navy-lt); transform: translateY(-1px); box-shadow: var(--e3); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; position: relative; flex: none;
  border: 1px solid var(--line-2); border-radius: 9px; cursor: pointer;
  background: var(--white); box-shadow: var(--e1);
}
.nav-toggle span {
  position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .18s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 20px var(--gutter) calc(30px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    font-family: var(--display); font-weight: 700; font-size: 1.34rem;
    color: var(--ink); padding: 1rem .2rem; border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav a:hover { background: none; color: var(--brass); }
  .nav a.is-active::after { display: none; }
  .nav-cta { margin: 24px 0 0; text-align: center; justify-content: center; font-size: 1.02rem; padding: 1rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 5.4vw, 88px) 0 clamp(42px, 4.6vw, 72px);
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(37,99,235,.07), transparent 62%),
    radial-gradient(760px 380px at 6% 0%, rgba(169,124,28,.09), transparent 60%),
    linear-gradient(180deg, var(--tint), var(--white) 78%);
  border-bottom: 1px solid var(--line);
}
/* engineering grid */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(23,38,63,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,38,63,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000, transparent 76%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 76%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='110' preserveAspectRatio='none'><g fill='%23dfe7f2'><rect x='0' y='60' width='58' height='50'/><rect x='58' y='38' width='34' height='72'/><rect x='92' y='70' width='46' height='40'/><rect x='138' y='24' width='26' height='86'/><rect x='164' y='52' width='52' height='58'/><rect x='216' y='12' width='30' height='98'/><rect x='246' y='64' width='60' height='46'/><rect x='306' y='42' width='38' height='68'/><rect x='344' y='74' width='54' height='36'/><rect x='398' y='32' width='28' height='78'/><rect x='426' y='56' width='48' height='54'/><rect x='474' y='18' width='24' height='92'/><rect x='498' y='68' width='56' height='42'/><rect x='554' y='40' width='36' height='70'/><rect x='590' y='76' width='50' height='34'/><rect x='640' y='28' width='30' height='82'/><rect x='670' y='54' width='52' height='56'/><rect x='722' y='8' width='22' height='102'/><rect x='744' y='62' width='58' height='48'/><rect x='802' y='42' width='34' height='68'/><rect x='836' y='72' width='48' height='38'/><rect x='884' y='30' width='28' height='80'/><rect x='912' y='58' width='54' height='52'/><rect x='966' y='20' width='26' height='90'/><rect x='992' y='66' width='60' height='44'/><rect x='1052' y='44' width='36' height='66'/><rect x='1088' y='76' width='52' height='34'/><rect x='1140' y='34' width='60' height='76'/></g></svg>") repeat-x bottom center / 1200px 110px;
}
.hero .wrap { position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 1.1rem; }

.hero h1 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.15rem, 4.6vw, 3.9rem);
  line-height: 1.06; letter-spacing: -.03em;
  color: var(--ink); max-width: 24ch; margin-bottom: .5em;
}
.hero__lede { max-width: 74ch; margin: 0 0 1.9rem; }
.hero__lede p { color: var(--body); font-size: clamp(1rem, 1.4vw, 1.1rem); margin: 0 0 .95rem; }
.hero__lede p:last-child { margin-bottom: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ============================================================
   RIBBON
   ============================================================ */
.ribbon {
  position: relative; z-index: 3; overflow: hidden; padding: .72rem 0;
  background: var(--navy);
  border-block: 1px solid var(--navy);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ribbon__track { display: flex; width: max-content; animation: ribbon 56s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__group { display: flex; align-items: center; flex: none; }
.ribbon__group span {
  font-family: var(--display); font-weight: 600; font-size: .76rem;
  letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.62); padding: 0 1.1rem; white-space: nowrap;
}
.ribbon__group span::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--brass-lt); margin-left: 1.1rem;
}
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS — tight rhythm, four light treatments
   ============================================================ */
.section {
  position: relative;
  padding: clamp(46px, 4.4vw, 74px) 0;
  border-top: 1px solid var(--line);
}
.section--dark  { background: var(--white); }
.section--light { background: var(--mist); }
.section--steel { background: var(--sand); }
.section--spot  {
  background:
    radial-gradient(900px 380px at 84% 0%, rgba(37,99,235,.06), transparent 62%),
    var(--tint);
}

/* --- section head: corporate two-column --- */
.section__head {
  display: grid; gap: 10px 56px; align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  padding-bottom: 26px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1000px) {
  .section__head { grid-template-columns: 1fr; gap: 14px; padding-bottom: 20px; margin-bottom: 24px; }
}

/* signage plate — corporate rule + index */
.sign {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.sign__num {
  display: inline-grid; place-items: center; min-width: 42px; padding: .2rem .5rem;
  border-radius: 5px; color: var(--brass-dp);
  background: rgba(169,124,28,.1);
  border: 1px solid rgba(169,124,28,.24);
  font-family: var(--display); font-weight: 700; font-size: .68rem; letter-spacing: .08em;
}
.sign__label {
  font-size: .705rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-size: .695rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--brass-dp); padding: .34rem .8rem; border-radius: 5px;
  background: rgba(169,124,28,.09); border: 1px solid rgba(169,124,28,.2);
}

.section h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.14; letter-spacing: -.028em;
  max-width: 26ch; margin: 0;
}
.section h2 .hl { color: var(--brass); }

.section__desc { max-width: 78ch; }
.section__desc p { color: var(--body); font-size: 1.005rem; margin: 0 0 .95rem; }
.section__desc p:last-child { margin-bottom: 0; }
.section__desc p:first-child { color: var(--ink); font-size: 1.08rem; line-height: 1.62; }
.section__desc a, .sub a, .prose a {
  color: var(--brass-dp); font-weight: 500;
  border-bottom: 1px solid rgba(169,124,28,.32);
  transition: border-color .15s ease, color .15s ease;
}
.section__desc a:hover, .sub a:hover, .prose a:hover { color: var(--brass); border-bottom-color: var(--brass); }
.section__desc em, .sub em { color: var(--ink); font-style: italic; }

.lede { color: var(--body); font-size: clamp(1rem, 1.5vw, 1.08rem); max-width: 68ch; margin: 0; }

/* ============================================================
   H3 PANELS
   ============================================================ */
.subs {
  margin-top: 30px;
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.sub {
  position: relative;
  padding: 1.5rem 1.6rem 1.4rem;
  background: var(--white);
  transition: background .18s ease;
}
.sub:hover { background: var(--bg-2); }
.sub h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 1.02rem; line-height: 1.32; letter-spacing: -.018em;
  margin-bottom: .7rem; padding-left: 14px; position: relative;
}
.sub h3::before {
  content: ""; position: absolute; left: 0; top: .38em; bottom: .22em; width: 3px;
  border-radius: 2px; background: var(--brass);
}
.sub p { color: var(--body); font-size: .935rem; margin: 0 0 .8rem; }
.sub p:last-child { margin-bottom: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .82rem 1.5rem; border-radius: 8px;
  font-family: var(--display); font-weight: 700; font-size: .93rem; letter-spacing: -.008em;
  white-space: nowrap;
  transition: background .16s ease, transform .14s ease, box-shadow .2s ease, border-color .16s ease, color .16s ease;
}
.btn--primary { color: #fff !important; background: var(--navy); box-shadow: var(--e2); }
.btn--primary:hover { background: var(--navy-lt); transform: translateY(-1px); box-shadow: var(--e3); }
.btn--ghost {
  color: var(--ink) !important; background: var(--white);
  border: 1px solid var(--line-2); box-shadow: var(--e1);
}
.btn--ghost:hover { border-color: var(--line-3); transform: translateY(-1px); box-shadow: var(--e2); }
.btn--lg { padding: .95rem 1.8rem; font-size: 1rem; }

/* ============================================================
   CARDS / STEPS
   ============================================================ */
.grid { display: grid; gap: 14px; margin-top: 28px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.card {
  display: block; padding: 1.5rem 1.5rem 1.3rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--e1);
  color: var(--ink) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--e3); }
.card h3 {
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  letter-spacing: -.018em; line-height: 1.3; margin-bottom: .45rem;
}
.card p { color: var(--body); font-size: .92rem; margin: 0 0 .9rem; }
.card__more { color: var(--brass-dp); font-size: .715rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card__more::after { content: " \2192"; }

.step {
  padding: 1.6rem 1.5rem; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--e1);
}
.step__n {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: .95rem;
  border-radius: 9px; color: #fff; background: var(--navy);
  font-family: var(--display); font-weight: 800; font-size: 1.06rem;
}
.step h3 { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.018em; margin-bottom: .4rem; }
.step p { color: var(--body); font-size: .92rem; margin: 0; }

/* ============================================================
   REGIONS + CHIPS
   ============================================================ */
.regions { display: grid; gap: 26px 34px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.region h3 {
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  letter-spacing: -.014em; color: var(--ink);
  margin-bottom: .85rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line-2);
}
.region h3 a { color: var(--ink); }
.region h3 a:hover { color: var(--brass); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.chips li {
  font-size: .855rem; color: var(--muted); border-radius: 7px;
  background: var(--white); border: 1px solid var(--line);
  transition: border-color .15s ease, color .15s ease;
}
.chips li a { display: block; padding: .42rem .8rem; color: var(--body); }
.chips li:not(:has(a)) { padding: .42rem .8rem; }
.chips li:has(a):hover { border-color: var(--line-3); }
.chips li a:hover { color: var(--brass); }
.chips--lg { margin-top: 24px; }

/* ============================================================
   SEARCH CHALLENGE
   ============================================================ */
.challenge {
  position: relative; margin-top: 30px;
  padding: 1.7rem 1.7rem 1.6rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: var(--e2);
}
.challenge__head { margin-bottom: 1.25rem; }
.challenge__badge {
  display: inline-block; margin-bottom: .75rem; padding: .28rem .72rem;
  color: #fff; border-radius: 5px; background: var(--navy);
  font-family: var(--display); font-weight: 700; font-size: .675rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.challenge__head h3 {
  font-family: var(--display); font-weight: 800; font-size: 1.18rem;
  letter-spacing: -.022em; margin-bottom: .4rem;
}
.challenge__head p { color: var(--body); font-size: .93rem; margin: 0; max-width: 72ch; }

.challenge__list {
  display: grid; gap: .5rem; list-style: none; margin: 0; padding: 0;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.challenge__list a {
  display: flex; align-items: center; gap: .6rem;
  padding: .66rem .85rem; border-radius: 8px;
  background: var(--mist); border: 1px solid var(--line);
  color: var(--ink) !important; font-size: .865rem; font-weight: 500;
  transition: border-color .15s ease, background .15s ease, transform .14s ease;
}
.challenge__list a:hover { border-color: var(--brass); background: var(--white); transform: translateY(-1px); }
.challenge__list svg { width: 14px; height: 14px; flex: none; color: var(--brass); }
.challenge__list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================
   PER-SECTION CTA
   ============================================================ */
.scta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 30px; padding: 1.35rem 1.6rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--brass);
  box-shadow: var(--e1);
}
.scta__copy { flex: 1 1 400px; min-width: 0; }
.scta__kicker {
  margin: 0 0 .22rem;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  letter-spacing: -.018em; color: var(--ink);
}
.scta__text { margin: 0; color: var(--body); font-size: .93rem; max-width: 76ch; }
.scta__btn { flex: 0 0 auto; }
@media (max-width: 620px) { .scta { padding: 1.2rem 1.2rem; } .scta__btn { width: 100%; } }

/* ============================================================
   CTA BAND — the one dark moment, navy not black
   ============================================================ */
.band {
  padding: clamp(44px, 4.6vw, 68px) 0;
  background: var(--navy);
  border-top: 1px solid var(--navy);
}
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 {
  color: #fff;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.16; letter-spacing: -.026em; margin-bottom: .3rem; max-width: 24ch;
}
.band p { color: rgba(255,255,255,.68); margin: 0; }
.band .btn--primary {
  background: var(--brass); color: #fffdf7 !important;
}
.band .btn--primary:hover { background: var(--brass-lt); }

/* ============================================================
   PROSE / TOC / RAIL / REVEAL / FOOTER
   ============================================================ */
.prose { max-width: 76ch; }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.022em; margin-top: 2.2rem; }
.prose p { color: var(--body); margin: 0 0 1rem; }
.prose p.lede { color: var(--ink); font-size: 1.08rem; }
.prose strong { color: var(--ink); }
.prose ul { color: var(--body); padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .5rem; }
.prose--legal h2 { font-size: 1.14rem; margin-top: 1.9rem; }
.muted { color: var(--muted); font-size: .92rem; }
.after-grid { margin-top: 1.5rem; color: var(--body); font-size: .94rem; }

.ticks { list-style: none; padding: 0; margin: 1.7rem 0 0; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .72rem; color: var(--body); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .44em;
  width: 10px; height: 5px;
  border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg);
}

.crumbs { margin-bottom: 1.3rem; }
.crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem;
  list-style: none; margin: 0; padding: 0; font-size: .775rem; color: var(--dim);
}
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-3); }
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--brass); }
.crumbs li[aria-current] { color: var(--muted); }

.toc {
  position: sticky; top: var(--header-h); z-index: 40; padding: .68rem 0;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.toc__label { display: none; }
.toc ol { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.toc ol::-webkit-scrollbar { display: none; }
.toc li { flex: none; }
.toc a {
  display: block; padding: .4rem .82rem; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  white-space: nowrap; color: var(--muted);
  background: var(--white); border: 1px solid var(--line);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.toc a:hover, .toc a.is-active { color: var(--ink); border-color: var(--line-3); background: var(--mist); }

.todo {
  margin-top: 1.6rem; padding: 1rem 1.15rem;
  border: 1px dashed var(--line-2); border-radius: var(--r);
  background: var(--mist); color: var(--muted); font-size: .89rem;
}

.rail {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%);
  z-index: 60; display: flex; flex-direction: column; gap: 9px;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.rail.is-on { opacity: 1; pointer-events: auto; }
.rail a {
  display: block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-3);
  transition: background .2s ease, transform .2s ease;
}
.rail a:hover { background: var(--muted); transform: scale(1.3); }
.rail a.is-active { background: var(--brass); transform: scale(1.45); }
@media (max-width: 1400px) { .rail { display: none; } }

/* Reveal is progressive enhancement only. Without JS - or before it
   runs - everything stays visible. The .js class is set by an inline
   script in <head>, so this never causes a flash of hidden content. */
html.js .reveal { opacity: 0; transform: translateY(16px); }
html.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .5s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1);
}
.reveal.d1.is-in { transition-delay: .05s; }
.reveal.d2.is-in { transition-delay: .1s; }
.reveal.d3.is-in { transition-delay: .15s; }
/* hero content is above the fold and never animated in */
.hero .reveal { opacity: 1 !important; transform: none !important; }

.site-footer {
  padding: clamp(44px, 4.6vw, 64px) 0 26px;
  background: var(--navy);
  color: rgba(255,255,255,.6);
}
.site-footer .brand { color: #fff; }
.site-footer .brand em { color: var(--brass-lt); }
.footer-grid { display: grid; gap: 34px 40px; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1180px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col--brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h3 {
  font-family: var(--display); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: .95rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .58rem; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-col a:hover { color: var(--brass-lt); }
.footer-col--brand .brand { margin-bottom: 1rem; }
.footer-col--brand p { color: rgba(255,255,255,.6); font-size: .9rem; margin: 0 0 .75rem; max-width: 40ch; }
.footer-note { font-size: .845rem !important; color: rgba(255,255,255,.42) !important; }
.footer-bar {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.42); font-size: .795rem;
}
.footer-bar p { margin: 0; }

@media (max-width: 640px) {
  .subs { grid-template-columns: 1fr; }
  .sub { padding: 1.3rem 1.25rem; }
  .challenge { padding: 1.4rem 1.2rem; }
  .challenge__list { grid-template-columns: 1fr; }
}

/* ============================================================
   AEO — direct-answer box + key facts table
   Structured so answer engines and voice assistants can lift a
   clean, self-contained answer without parsing the whole page.
   ============================================================ */
.answer { padding: 26px 0 0; background: var(--white); }
.answer-box {
  padding: 1.35rem 1.6rem;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--brass);
  border-radius: var(--r-lg);
  background: var(--sand);
}
.answer-box__q {
  margin: 0 0 .4rem;
  font-family: var(--display); font-weight: 700; font-size: .96rem;
  letter-spacing: -.012em; color: var(--ink);
}
.answer-box__a { margin: 0; color: var(--body); font-size: 1.005rem; max-width: 88ch; }
.answer-box__a strong { color: var(--ink); }

.facts {
  display: grid; gap: 1px; margin: 16px 0 0;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.facts__row { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: .8rem 1.1rem; background: var(--white); }
.facts dt {
  flex: 0 0 auto; min-width: 132px;
  font-size: .705rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
  color: var(--muted); padding-top: .18rem;
}
.facts dd { flex: 1 1 200px; margin: 0; color: var(--ink); font-size: .93rem; font-weight: 500; }
@media (max-width: 560px) { .facts dt { min-width: 100%; } }

/* ============================================================
   LEAD FORM
   ============================================================ */
.lead { margin-top: 30px; }
.lead__grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--wide { grid-column: 1 / -1; }
.field > span {
  font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.field > span b { color: var(--brass); font-weight: 800; }
.field input, .field textarea {
  width: 100%; padding: .78rem .9rem;
  font: inherit; font-size: .96rem; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--e1);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(169,124,28,.14);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}

/* honeypot: hidden from people, reachable by bots */
.hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}

.lead__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px;
  margin-top: 20px;
}
.lead__note { margin: 0; color: var(--muted); font-size: .875rem; max-width: 52ch; }
.lead__status {
  margin: 16px 0 0; font-size: .95rem; font-weight: 600;
  min-height: 1.4em;
}
.lead__status.is-err { color: #a5321f; }
.lead__status.is-ok  { color: #1e6b3a; }
.lead.is-sending #leadSubmit { opacity: .6; pointer-events: none; }
.lead.is-done .lead__grid, .lead.is-done .lead__foot { display: none; }
