/* ============================================================
   Century Real Estate School: core stylesheet
   Palette: warm ink, limestone, brass, bluegrass
   Type: Fraunces (display) / Hanken Grotesk (body) / JetBrains Mono (labels)
   ============================================================ */

:root {
  --ink: #15110B;
  --ink-90: #1B160F;
  --ink-pane: #1A150D;
  --ink-pane-2: #221B11;
  --limestone: #ECE5D7;
  --limestone-2: #F3EDE1;
  --paper: #FBF7EF;
  --brass: #B5873C;
  --brass-bright: #D6AE63;
  --brass-deep: #8E6A2E;
  --bluegrass: #28352B;
  --bluegrass-2: #36473A;

  --text-ink: #221C12;
  --text-muted: #5C5446;
  --on-dark: #E9E2D3;
  --on-dark-muted: #A99F8B;

  --line-light: rgba(33, 27, 18, 0.14);
  --line-dark: rgba(214, 174, 99, 0.20);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1320px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text-ink);
  line-height: 1.6;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.14rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }

::selection { background: var(--brass); color: var(--ink); }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(5rem, 11vw, 11rem); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 1.8em; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--center { justify-content: center; }

.display {
  font-family: var(--font-display);
  font-weight: 340;
  font-optical-sizing: auto;
  line-height: 0.96;
  letter-spacing: -0.02em;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 360; letter-spacing: -0.018em; line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.95rem); line-height: 1.12; }
.lede { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); line-height: 1.5; color: var(--text-muted); max-width: 42ch; }
.muted { color: var(--text-muted); }

em.gild { font-style: italic; color: var(--brass-deep); }

/* ---------- custom cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; will-change: transform; }
.cursor {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease),
              background-color .35s var(--ease), border-color .35s var(--ease), opacity .3s;
  mix-blend-mode: difference;
}
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--brass-bright); }
.cursor.is-hover { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(214,174,99,0.12); border-color: var(--brass-bright); }
.cursor.is-down { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
body.cursor-ready { cursor: none; }
body.cursor-ready a, body.cursor-ready button { cursor: none; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none !important; } body.cursor-ready { cursor: auto; } }

/* ---------- buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--font-mono);
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  padding: 1.05em 1.9em;
  border-radius: 100px;
  background: var(--ink);
  color: var(--limestone);
  border: 1px solid var(--ink);
  overflow: hidden;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--brass);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover { color: var(--ink); border-color: var(--brass); }
.btn:hover::after { transform: translateY(0); }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-light); }
.btn--ghost:hover { color: var(--ink); border-color: var(--brass); }
.btn--light { background: var(--limestone); color: var(--ink); border-color: var(--limestone); }
.btn--light::after { background: var(--brass-bright); }
.btn--light:hover { color: var(--ink); }
.btn--lg { padding: 1.2em 2.3em; font-size: 0.82rem; }

.link-line {
  position: relative; display: inline-block;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding-bottom: 3px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
  padding-block: 1.4rem;
  transition: padding .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding-block: 0.7rem;
  background: rgba(21, 17, 11, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.site-header.is-scrolled .nav__link,
.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav__toggle { color: var(--on-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--on-dark); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { font-family: var(--font-display); font-size: 1.16rem; line-height: 1; letter-spacing: -0.01em; }
.brand__text small { display: block; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass-bright); margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); list-style: none; margin: 0; padding: 0; }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.nav__link {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--on-dark); position: relative; padding-block: 0.3rem;
  transition: color .4s var(--ease);
}
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: var(--brass-bright); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--brass-bright); }
.nav__cta { margin-left: 0.4rem; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__cta .btn { padding: 0.8em 1.3em; }
  .nav { gap: 1.2rem; }
  .nav__links, .nav__cta-inline { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px; width: 30px; color: var(--on-dark);
    align-items: flex-end;
  }
  .nav__toggle span { display: block; height: 1.5px; width: 26px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
  .nav__toggle span:nth-child(2) { width: 18px; }
  body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 26px; }
  body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 26px; }
}

/* mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease);
  pointer-events: none;
}
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.4rem); color: var(--on-dark);
  padding-block: 0.35rem; line-height: 1.1; opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
body.menu-open .mobile-menu a { opacity: 1; transform: none; }
body.menu-open .mobile-menu a:nth-child(1) { transition-delay: .15s; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: .22s; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: .29s; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: .36s; }
body.menu-open .mobile-menu a:nth-child(5) { transition-delay: .43s; }
.mobile-menu a:hover { color: var(--brass-bright); }
.mobile-menu__foot { margin-top: 2.5rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; color: var(--on-dark-muted); opacity: 0; transition: opacity .5s .5s var(--ease); }
body.menu-open .mobile-menu__foot { opacity: 1; }

/* ============================================================
   HERO: scroll-driven portal
   ============================================================ */
.hero-scroll { position: relative; height: 230vh; background: var(--ink); }
.hero {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(120% 80% at 50% 120%, #241b0e 0%, var(--ink) 60%);
}
.hero__layer { position: absolute; inset: 0; display: grid; place-items: center; will-change: transform, opacity; }

.hero__glow {
  width: 60vmin; height: 60vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(214,174,99,0.55) 0%, rgba(181,135,60,0.18) 38%, transparent 68%);
  transform: scale(calc(0.7 + var(--p, 0) * 2.2));
  opacity: calc(0.85 + var(--p, 0) * 0.15);
  filter: blur(2px);
}
.hero__portal {
  width: min(92vw, 1100px);
  transform: scale(calc(1 + var(--p, 0) * 2.4)) translateY(calc(var(--p, 0) * -4vh));
  opacity: calc(1 - (var(--p, 0) * 1.35));
}
.hero__portal svg { width: 100%; height: auto; }

.hero__grain { position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay; pointer-events: none; }
.hero__vignette { position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 40%, transparent 50%, rgba(10,8,5,0.7) 100%); pointer-events: none; }

.hero__content {
  position: relative; z-index: 5; text-align: center; color: var(--on-dark);
  padding-inline: var(--gutter);
  transform: translateY(calc(var(--p, 0) * -14vh));
  opacity: calc(1 - var(--p, 0) * 1.6);
  will-change: transform, opacity;
}
.hero__eyebrow { color: var(--brass-bright); margin-bottom: 1.6rem; }
.hero h1 { color: var(--on-dark); font-size: clamp(2.7rem, 8.5vw, 8.2rem); font-weight: 320; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(110%); }
.hero.is-in h1 .line > span { transform: translateY(0); transition: transform 1.1s var(--ease); }
.hero.is-in h1 .line:nth-child(2) > span { transition-delay: .12s; }
.hero.is-in h1 .line:nth-child(3) > span { transition-delay: .24s; }
.hero__sub { max-width: 46ch; margin: 1.8rem auto 0; color: var(--on-dark-muted); font-size: clamp(1.05rem, 1vw + 0.6rem, 1.35rem); opacity: 0; transform: translateY(16px); }
.hero.is-in .hero__sub { opacity: 1; transform: none; transition: opacity 1s .5s var(--ease), transform 1s .5s var(--ease); }
.hero__actions { margin-top: 2.4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; opacity: 0; }
.hero.is-in .hero__actions { opacity: 1; transition: opacity 1s .7s var(--ease); }

.hero__scrollcue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); z-index: 6;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--on-dark-muted); display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  opacity: calc(1 - var(--p, 0) * 3);
}
.hero__scrollcue .bar { width: 1px; height: 46px; background: linear-gradient(var(--brass-bright), transparent); position: relative; overflow: hidden; }
.hero__scrollcue .bar::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--brass-bright); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

.line-reveal { display: inline-block; overflow: hidden; vertical-align: top; }
.line-reveal > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.line-reveal.in > span { transform: translateY(0); }

/* media panel: ink panel w/ brass art + clip reveal */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(140% 120% at 80% 0%, #2a2113 0%, transparent 55%),
    linear-gradient(160deg, var(--ink-pane-2), var(--ink-pane));
  border: 1px solid var(--line-dark);
  display: grid; place-items: center;
  isolation: isolate;
}
.media::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 120px rgba(0,0,0,0.55); }
.media__art { width: 84%; height: auto; opacity: 0.92; transition: transform 1.6s var(--ease); will-change: transform; }
.media.in .media__art { animation: kenburns 14s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.media__grain { position: absolute; inset: 0; z-index: 2; opacity: 0.4; mix-blend-mode: overlay; }
.media__tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 4;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-dark-muted); border: 1px solid var(--line-dark); padding: 0.4em 0.7em; border-radius: 100px;
  background: rgba(0,0,0,0.3);
}
/* clip-curtain reveal wrapper */
.curtain { position: relative; clip-path: inset(0 0 0 0); }
.curtain > * { transition: none; }
.curtain.pre { clip-path: inset(0 0 100% 0); }
.curtain.in { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease); }

/* If a real photo is dropped in: <img class="media__photo"> replaces art */
.media__photo { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.media:has(.media__photo) { background: var(--ink); }
.media:has(.media__photo) .media__art { display: none; }

/* ============================================================
   INTRO / value section
   ============================================================ */
.intro { background: var(--paper); }
.intro__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1.1fr 0.9fr; align-items: end; } }
.intro h2 { max-width: 16ch; }
.intro .lede { margin-top: 1.5rem; }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-light); border-block: 1px solid var(--line-light); margin-top: clamp(3rem, 6vw, 5rem); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.6rem) 1.2rem; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; color: var(--ink); font-weight: 360; }
.stat__num .unit { color: var(--brass-deep); }
.stat__label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.8rem; max-width: 22ch; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--ink); color: var(--on-dark); padding-block: 1.4rem; overflow: hidden; border-block: 1px solid var(--line-dark); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 1rem; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--on-dark); white-space: nowrap; }
.marquee__item::after { content: "✦"; color: var(--brass); font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SPLIT / alternating feature rows
   ============================================================ */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--flip .split__media { order: 2; } }
.split__media { aspect-ratio: 4 / 3.2; }
.split__body h2 { margin-bottom: 1.3rem; }
.split__body .lede { margin-bottom: 1.6rem; }
.feature-list { display: grid; gap: 1rem; margin-block: 1.6rem; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; padding-top: 1rem; border-top: 1px solid var(--line-light); }
.feature-list .n { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brass-deep); letter-spacing: 0.1em; padding-top: 0.25em; }
.feature-list strong { font-weight: 600; }
.feature-list p { color: var(--text-muted); font-size: 0.98rem; margin-top: 0.2rem; }

/* ============================================================
   JOURNEY: horizontal pinned scroll
   ============================================================ */
.journey { background: var(--ink); color: var(--on-dark); position: relative; }
.journey__head { padding-top: clamp(4rem, 8vw, 7rem); }
.journey__head h2 { color: var(--on-dark); max-width: 18ch; }
.journey__head .lede { color: var(--on-dark-muted); margin-top: 1.3rem; }
.journey-pin { position: relative; height: 400vh; }
@media (max-width: 900px) { .journey-pin { height: auto; } }
.journey-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
@media (max-width: 900px) { .journey-sticky { position: static; height: auto; display: block; padding-block: 3rem; } }
.journey-track { display: flex; gap: clamp(1.5rem, 3vw, 3rem); padding-inline: var(--gutter); will-change: transform; }
@media (max-width: 900px) { .journey-track { flex-direction: column; transform: none !important; padding-inline: var(--gutter); } }
.jcard {
  flex: 0 0 min(78vw, 460px); position: relative;
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  background: linear-gradient(165deg, var(--ink-pane-2), var(--ink-pane));
  min-height: 56vh; display: flex; flex-direction: column;
}
@media (max-width: 900px) { .jcard { flex: none; min-height: auto; } }
.jcard__step { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--brass-bright); }
.jcard__num { font-family: var(--font-display); font-size: clamp(3.5rem, 6vw, 5.5rem); color: rgba(214,174,99,0.16); line-height: 0.8; margin-top: auto; }
.jcard h3 { color: var(--on-dark); margin-top: 1.2rem; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.jcard p { color: var(--on-dark-muted); margin-top: 1rem; font-size: 1rem; }
.jcard__meta { margin-top: 1.4rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--on-dark-muted); padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.journey-progress { height: 1px; background: var(--line-dark); position: relative; margin: 2rem var(--gutter) 0; }
.journey-progress span { position: absolute; left: 0; top: 0; height: 100%; background: var(--brass-bright); width: 0%; }
@media (max-width: 900px) { .journey-progress { display: none; } }

/* ============================================================
   PROGRAMS / pricing cards
   ============================================================ */
.programs { background: var(--limestone); }
.prog-grid { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 820px) { .prog-grid { grid-template-columns: repeat(3, 1fr); } }
.prog {
  background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column;
  transition: transform .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.prog:hover { transform: translateY(-6px); border-color: var(--brass); box-shadow: 0 30px 60px -40px rgba(40,30,10,0.4); }
.prog--featured { background: var(--ink); color: var(--on-dark); border-color: var(--ink); position: relative; }
.prog--featured h3, .prog--featured .prog__price { color: var(--on-dark); }
.prog--featured .prog__feat li { color: var(--on-dark-muted); border-color: var(--line-dark); }
.prog__flag { position: absolute; top: 1.4rem; right: 1.4rem; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); background: var(--brass-bright); padding: 0.4em 0.7em; border-radius: 100px; }
.prog__name { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-deep); }
.prog--featured .prog__name { color: var(--brass-bright); }
.prog h3 { margin-top: 0.8rem; font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.prog__price { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 2.9rem); margin-top: 1rem; color: var(--ink); }
.prog__price small { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--text-muted); text-transform: uppercase; display: block; margin-top: 0.4rem; }
.prog--featured .prog__price small { color: var(--on-dark-muted); }
.prog__feat { margin: 1.6rem 0; display: grid; gap: 0.85rem; flex: 1; }
.prog__feat li { font-size: 0.95rem; color: var(--text-muted); padding-top: 0.85rem; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; }
.prog__feat li::before { content: "→"; color: var(--brass); }
.prog .btn { width: 100%; justify-content: center; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--bluegrass); color: var(--on-dark); }
.testimonials h2 { color: var(--on-dark); }
.t-grid { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 820px) { .t-grid { grid-template-columns: repeat(3, 1fr); } }
.tcard { border: 1px solid rgba(233,226,211,0.16); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem); background: rgba(0,0,0,0.12); display: flex; flex-direction: column; }
.tcard__quote { font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.35; color: var(--on-dark); }
.tcard__quote::before { content: "“"; color: var(--brass-bright); font-size: 2.4em; line-height: 0; display: block; margin-bottom: 0.2em; font-family: var(--font-display); }
.tcard__who { margin-top: auto; padding-top: 1.5rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-bright); }
.tcard__who span { display: block; color: var(--on-dark-muted); margin-top: 0.3rem; letter-spacing: 0.08em; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--paper); }
.faq__grid { display: grid; gap: clamp(2rem,4vw,3.5rem); }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.faq__list { border-top: 1px solid var(--line-light); }
.faq__item { border-bottom: 1px solid var(--line-light); }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.5rem 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--ink); }
.faq__q .ico { flex: none; width: 22px; height: 22px; position: relative; }
.faq__q .ico::before, .faq__q .ico::after { content: ""; position: absolute; background: var(--brass-deep); transition: transform .4s var(--ease); }
.faq__q .ico::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__q .ico::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq__item[open] .faq__q .ico::after { transform: translateX(-50%) scaleY(0); }
.faq__a { overflow: hidden; }
.faq__a p { padding-bottom: 1.6rem; color: var(--text-muted); max-width: 60ch; }
details.faq__item summary { list-style: none; cursor: pointer; }
details.faq__item summary::-webkit-details-marker { display: none; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: var(--ink); color: var(--on-dark); text-align: center; position: relative; overflow: hidden; }
.cta-band__glow { position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 120%, rgba(214,174,99,0.35), transparent 70%); pointer-events: none; }
.cta-band h2 { color: var(--on-dark); font-size: clamp(2.3rem, 6vw, 5rem); max-width: 16ch; margin-inline: auto; position: relative; }
.cta-band .lede { color: var(--on-dark-muted); margin: 1.6rem auto 2.6rem; text-align: center; }
.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { background: var(--ink); color: var(--on-dark); padding-top: clamp(8rem, 14vw, 12rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }
.page-hero__glow { position: absolute; top: -20%; right: -10%; width: 50vmax; height: 50vmax; background: radial-gradient(circle, rgba(214,174,99,0.16), transparent 60%); }
.page-hero .eyebrow { color: var(--brass-bright); }
.page-hero h1 { color: var(--on-dark); font-size: clamp(2.7rem, 7vw, 6rem); font-weight: 320; margin-top: 1.4rem; max-width: 18ch; }
.page-hero .lede { color: var(--on-dark-muted); margin-top: 1.6rem; }
.crumbs { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); display: flex; gap: 0.6rem; }
.crumbs a:hover { color: var(--brass-bright); }

/* prose */
.prose { max-width: 70ch; }
.prose h2 { margin-top: clamp(2.5rem,5vw,4rem); margin-bottom: 1rem; }
.prose h3 { margin-top: 2.2rem; margin-bottom: 0.8rem; }
.prose p { margin-bottom: 1.2rem; color: var(--text-ink); }
.prose ul.bullets { margin: 1.2rem 0; display: grid; gap: 0.8rem; }
.prose ul.bullets li { padding-left: 1.6rem; position: relative; color: var(--text-muted); }
.prose ul.bullets li::before { content: "→"; position: absolute; left: 0; color: var(--brass); }
.prose strong { color: var(--ink); }

/* steps (numbered list, vertical) */
.steps { counter-reset: s; display: grid; gap: 0; margin-top: clamp(2rem,4vw,3rem); }
.step { counter-increment: s; display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem,3vw,2.4rem); padding-block: clamp(1.6rem,3vw,2.4rem); border-top: 1px solid var(--line-light); }
.step:last-child { border-bottom: 1px solid var(--line-light); }
.step__n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--brass-deep); letter-spacing: 0.1em; }
.step__n::before { content: counter(s, decimal-leading-zero); }
.step h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.step p { color: var(--text-muted); margin-top: 0.6rem; max-width: 56ch; }
.step__meta { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-deep); margin-top: 0.9rem; }

/* comparison table */
.table-wrap { overflow-x: auto; margin-top: clamp(2rem,4vw,3rem); border: 1px solid var(--line-light); border-radius: var(--radius); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
table.cmp th, table.cmp td { text-align: left; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line-light); font-size: 0.95rem; }
table.cmp thead th { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-deep); background: var(--limestone-2); }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp td:first-child { font-weight: 600; color: var(--ink); }
table.cmp .yes { color: var(--bluegrass-2); font-weight: 600; }

/* ============================================================
   FORM (contact)
   ============================================================ */
.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 0.95rem 1.1rem;
  background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius); color: var(--text-ink);
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(181,135,60,0.14); }
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; gap: 1.3rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 0.82rem; color: var(--text-muted); }

.contact-grid { display: grid; gap: clamp(2.5rem,5vw,4rem); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info { display: grid; gap: 1.6rem; align-content: start; }
.contact-info .row { padding-top: 1.4rem; border-top: 1px solid var(--line-light); }

/* contact info rows */
.info-list { border-top: 1px solid var(--line-light); margin-bottom: clamp(2rem,4vw,3rem); }
.info-row { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; align-items: baseline; padding-block: 1.1rem; border-bottom: 1px solid var(--line-light); }
.info-row__label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-deep); }
.info-row__value { font-size: 1.02rem; color: var(--ink); }
a.info-row__value { color: var(--ink); text-decoration: none; transition: color .3s var(--ease); }
a.info-row__value:hover { color: var(--brass-deep); }
@media (max-width: 460px) { .info-row { grid-template-columns: 1fr; gap: 0.3rem; } }

/* quick enroll links */
.quick-links h3 { font-size: clamp(1.1rem,1.6vw,1.35rem); margin-bottom: 1rem; }
.link-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; margin-bottom: 0.8rem; background: var(--limestone); border: 1px solid var(--line-light); border-radius: 4px; text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease); }
.link-card:hover { transform: translateX(4px); border-color: var(--brass); background: var(--limestone-2); }
.link-card strong { display: block; font-weight: 600; }
.link-card small { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.3rem; }
.link-card .arrow { color: var(--brass-deep); font-size: 1.1rem; flex: none; transition: transform .4s var(--ease); }
.link-card:hover .arrow { transform: translate(3px,-3px); }
.contact-info .k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-deep); }
.contact-info .v { font-family: var(--font-display); font-size: clamp(1.3rem,2vw,1.7rem); margin-top: 0.5rem; color: var(--ink); }
.contact-info .v a:hover { color: var(--brass-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(4rem,8vw,7rem); }
.footer-top { display: grid; gap: 3rem; padding-bottom: clamp(3rem,6vw,5rem); border-bottom: 1px solid var(--line-dark); }
@media (min-width: 880px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .brand { color: var(--on-dark); margin-bottom: 1.4rem; }
.footer-brand p { max-width: 38ch; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-bright); margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: 0.8rem; }
.footer-col a { color: var(--on-dark-muted); font-size: 0.95rem; transition: color .3s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-block: 2rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--brass-bright); }

/* ============================================================
   UTILITIES
   ============================================================ */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.max-44 { max-width: 44ch; } .max-54 { max-width: 54ch; }
.section-head { max-width: 60ch; }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head h2 { margin-bottom: 1.2rem; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .line-reveal > span, .hero h1 .line > span, .hero__sub, .hero__actions { opacity: 1 !important; transform: none !important; }
  .curtain { clip-path: none !important; }
  .hero__portal { transform: scale(1) !important; opacity: 1 !important; }
  .hero__content { transform: none !important; opacity: 1 !important; }
}

/* ---------- Ford / UAW state selector ---------- */
.state-grid { display: grid; gap: 1rem; margin-top: clamp(2.2rem, 4vw, 3.2rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .state-grid { grid-template-columns: repeat(4, 1fr); } }
.state-card {
  background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; min-height: 215px;
  transition: transform .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.state-card:hover { transform: translateY(-6px); border-color: var(--brass); box-shadow: 0 30px 60px -40px rgba(40,30,10,0.4); }
.state-card--live { border-color: rgba(181,135,60,0.45); }
.state-card__tag { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); display: flex; align-items: center; }
.state-card__name { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.04; color: var(--ink); font-weight: 360; }
.state-card__status { font-size: .86rem; color: var(--text-muted); line-height: 1.5; }
.state-card__link { margin-top: auto; }
.state-card .btn { width: 100%; justify-content: center; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brass-bright); margin-right: .55rem; }
.dot--soon { background: var(--text-muted); opacity: .5; }

/* ---------- film grain (data-uri noise) ---------- */
.hero__grain, .media__grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* single-file: offset anchors below fixed header */
#top,#pre-licensing,#continuing-ed,#about,#contact,#why,#path,#programs,#faq,#prep,#tracks,#post{scroll-margin-top:84px;}

/* ============ GSAP motion layer ============ */
.gsap-on .reveal, .gsap-on .line-reveal > span, .gsap-on .curtain, .gsap-on .curtain.in { transition: none !important; }
.gsap-on .site-header { will-change: transform; }
main, .site-footer { animation: pageIn .9s cubic-bezier(.22,1,.36,1) backwards; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { main, .site-footer { animation: none; } }
.state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .state-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .state-grid { grid-template-columns: 1fr; } }
.state-card .btn { white-space: normal; max-width: 100%; }
.cta-band .btn--ghost { color: var(--on-dark); border-color: var(--line-dark); }
.cta-band .btn--ghost:hover { border-color: var(--brass-bright, #D6AE63); }
/* ============ multi-page additions ============ */
.nav__link[aria-current="page"] { color: var(--brass-bright, #D6AE63); }
.mobile-menu a[aria-current="page"] { color: var(--brass-bright, #D6AE63); }
.page-hero { scroll-margin-top: 0; }
[id] { scroll-margin-top: 96px; }
.crumbs { display:flex; gap:.6rem; align-items:center; font-family: var(--font-mono, monospace); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color: var(--on-dark-muted, #b9b0a0); margin-bottom: 1.2rem; }
.crumbs a { color: inherit; text-decoration:none; border-bottom:1px solid transparent; transition: border-color .3s; }
.crumbs a:hover { border-color: currentColor; }
.crumbs span[aria-hidden] { color: var(--brass-bright, #D6AE63); }
.next-page { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.next-page .wrap { display:flex; justify-content:space-between; align-items:center; gap:2rem; padding-top: clamp(2.5rem,5vw,4rem); padding-bottom: clamp(2.5rem,5vw,4rem); flex-wrap:wrap; }
.next-page a { color: var(--on-dark); text-decoration:none; font-family: var(--font-display); font-weight:320; font-size: clamp(1.8rem,4vw,3.2rem); line-height:1.05; display:inline-flex; gap:.8rem; align-items:baseline; }
.next-page a .arrow { color: var(--brass-bright,#D6AE63); transition: transform .5s var(--ease, ease); }
.next-page a:hover .arrow { transform: translateX(.5rem); }
.next-page small { display:block; font-family: var(--font-mono, monospace); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color: var(--on-dark-muted,#b9b0a0); margin-bottom:.6rem; }

/* ============ Oct 19 content additions ============ */
@media (min-width: 700px) { .prog-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .prog-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.prog { display: flex; flex-direction: column; }
.prog .btn { margin-top: auto; align-self: flex-start; }
.prog__feat { margin-bottom: 1.6rem; }
.portal-note { margin-top: 1.6rem; font-size: .92rem; color: var(--text-muted); display: flex; gap: .6rem; align-items: baseline; }
.page-hero .portal-note, .cta-band .portal-note { color: var(--on-dark-muted); }
.ple-list { margin-top: 2rem; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); padding: 1.1rem 0; }
.ple-list summary { cursor: pointer; font-family: var(--font-display); font-size: clamp(1.05rem, 1.5vw, 1.3rem); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.ple-list summary::after { content: "+"; color: var(--brass-deep); font-size: 1.4em; line-height: 1; }
.ple-list[open] summary::after { content: "\2212"; }
.ple-list summary::-webkit-details-marker { display: none; }
.ple-list ul { columns: 2 320px; column-gap: 2.5rem; margin: 1.2rem 0 0; padding-left: 1.1rem; }
.ple-list li { break-inside: avoid; margin-bottom: .55rem; color: var(--text-muted); }
.ple-list em { font-style: normal; color: var(--brass-deep); font-size: .88em; }
.walk { counter-reset: w; list-style: none; padding: 0; margin: clamp(2rem,4vw,3rem) 0 0; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.walk li { counter-increment: w; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-light); line-height: 1.65; color: var(--text-muted); }
.walk li::before { content: counter(w, decimal-leading-zero); font-family: var(--font-mono); color: var(--brass-deep); font-size: .85rem; padding-top: .2rem; }
.walk li > div { min-width: 0; }
.walk strong { color: var(--ink); font-weight: 600; margin-right: .25rem; }
.walk code { font-family: var(--font-mono); background: rgba(214,174,99,.16); padding: .1em .45em; border-radius: 4px; color: var(--ink); }
.testimonials .lede { color: var(--on-dark); opacity: .92; }
.testimonials .lede strong { color: var(--brass-bright); }
.testimonials .link-line { color: var(--brass-bright); border-bottom-color: var(--brass-bright); }
.table-wrap { position: relative; }
@media (max-width: 700px) {
  .table-wrap::after { content: "Swipe to see all columns \2192"; display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-top: .6rem; }
  .cmp th, .cmp td { white-space: nowrap; }
}
.footer-social { display: flex; gap: 1.1rem; margin-top: 1rem; flex-wrap: wrap; }
.footer-team { margin-top: .8rem; font-size: .85rem; color: var(--on-dark-muted); }

.guide-prose h2 { max-width: 22ch; }
.guide-prose p.reveal { max-width: 68ch; margin-top: 1.1rem; color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; }
.guide-prose p.reveal:first-of-type { margin-top: 1.6rem; }
a.prog { text-decoration: none; color: inherit; }

/* ============ legal pages ============ */
.legal h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 2.2rem 0 .6rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { max-width: 68ch; color: var(--text-muted); line-height: 1.75; margin-bottom: .9rem; }
.legal small { color: var(--text-muted); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
/* ============ sticky mobile CTA ============ */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 180; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom); transform: translateY(100%); transition: transform .5s var(--ease); }
  .sticky-cta.is-on { transform: translateY(0); }
  .sticky-cta a { display: flex; align-items: center; justify-content: center; padding: 1rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
  .sticky-cta__call { background: var(--ink); color: var(--on-dark); }
  .sticky-cta__enroll { background: var(--brass-bright, #D6AE63); color: var(--ink); font-weight: 600; }
  body.has-sticky { padding-bottom: 3.6rem; }
  .cookie { bottom: 3.6rem; }
}
/* ============ cookie notice ============ */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 170; max-width: 34rem; margin: 0 auto; background: var(--ink); color: var(--on-dark); border: 1px solid var(--line-dark); border-radius: 12px; padding: 1rem 1.1rem; display: flex; gap: 1rem; align-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .9rem; color: var(--on-dark-muted); flex: 1; }
.cookie a { color: var(--brass-bright, #D6AE63); }
.cookie .btn { padding: .6em 1.1em; }
/* ============ form states ============ */
.form input.is-invalid, .form textarea.is-invalid, .form select.is-invalid { border-color: #b23a3a; }
.field__err { display: none; color: #b23a3a; font-size: .8rem; margin-top: .35rem; }
.field.has-error .field__err { display: block; }
.form.is-submitting button[type="submit"] { opacity: .6; pointer-events: none; }
.form.is-submitting button[type="submit"] span::after { content: "…"; }
.form__status { margin-top: .8rem; font-size: .9rem; color: #b23a3a; display: none; }
.form.has-error .form__status { display: block; }
