/* ==========================================================================
   RBE FITNESS — Routines Build Everything
   Rebuilt on the 2026 brand system. Blue / black / white only, flat color.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* The only three brand colors. */
  --blue: #0501DD;
  --black: #000000;
  --white: #FFFFFF;

  /* Near-black is permitted for large dark backgrounds. */
  --ink: #0A0A0A;
  --ink-2: #121212;   /* panel separation on dark, still reads as black */

  /* Text ramps. Brand blue is never used for text on a dark background —
     #0501DD on #0A0A0A measures 2.04:1. Blue on dark is a FILL only. */
  --on-dark: #FFFFFF;
  --on-dark-mute: #ABABB2;
  --on-light: #0A0A0A;
  --on-light-mute: #4A4A52;


  --rule-dark: rgba(255, 255, 255, 0.16);
  --rule-light: rgba(10, 10, 10, 0.14);

  /* Type */
  --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Montserrat', system-ui, Arial, sans-serif;

  --track-display: 0.02em;
  --track-eyebrow: 0.28em;

  --fs-h1: clamp(2.75rem, 8vw, 6rem);
  --fs-h2: clamp(2.25rem, 5.5vw, 4rem);
  --fs-h3: clamp(1.5rem, 3vw, 2.125rem);
  --fs-lead: clamp(1.0625rem, 1.9vw, 1.375rem);
  --fs-body: clamp(1rem, 1.1vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  --gutter: 1.25rem;
  --section-y: clamp(3.75rem, 10vh, 7.5rem);
  --maxw: 75rem;
  --maxw-narrow: 44rem;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur: 200ms;

  --header-h: 4.5rem;

  --focus: var(--white);
}

@media (min-width: 48rem) { :root { --gutter: 2.5rem; } }
@media (min-width: 75rem) { :root { --gutter: 3.5rem; --header-h: 5.25rem; } }

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1.15em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }

strong, b { font-weight: 900; }

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

::selection { background: var(--blue); color: var(--white); }

/* --------------------------------------------------------------------------
   3. UTILITIES
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--gutter); top: 0;
  z-index: 300;
  transform: translateY(-150%);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.25rem;
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}
.wrap--narrow { max-width: calc(var(--maxw-narrow) + var(--gutter) * 2); }

.section {
  padding-block: var(--section-y);
  position: relative;
  overflow: hidden; /* spatter bleeds to the edge, never past it */
}
.section--black { background: var(--black); }
.section--ink   { background: var(--ink); }
.section--ink-2 { background: var(--ink-2); }
.section--white { background: var(--white); color: var(--on-light); --focus: var(--blue); }
.section--blue  { background: var(--blue); color: var(--white); }

.section--white h1, .section--white h2, .section--white h3 { color: var(--on-light); }
.section--white p { color: var(--on-light-mute); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 48ch;
}
.section--white .lead { color: var(--on-light-mute); }

.mute { color: var(--on-dark-mute); }
.section--white .mute { color: var(--on-light-mute); }

/* Eyebrow: Bebas, wide tracking, blue bar. Blue is a fill here, not text. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 1.25rem;
  max-width: none;
}
.eyebrow::before {
  content: "";
  width: 2.25rem; height: 4px;
  background: var(--blue);
  flex: none;
}
.section--white .eyebrow { color: var(--blue); }
.section--blue .eyebrow { color: var(--white); }
.section--blue .eyebrow::before { background: var(--white); }

/* Tagline lockup: pipes in brand blue. */
.pillars {
  font-family: var(--font-display);
  font-size: clamp(0.9375rem, 2vw, 1.25rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
  max-width: none;
}
/* Pipes are drawn as bars, not glyphs: brand blue as a FILL reads on black,
   where a thin blue character would sit at 2:1. Matches the logo lockup. */
.pillars .pipe {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--blue);
  margin-inline: 0.75em;
  vertical-align: -0.05em;
}
.section--white .pillars { color: var(--on-light); }
/* Phones can't fit all four on one line, and a free wrap strands a pipe at
   a line end. Break at the middle pipe instead: two balanced pairs. */
@media (max-width: 29.99rem) {
  .pillars { line-height: 1.8; }
  .pillars .pipe:nth-of-type(2) { display: block; width: auto; height: 0; margin: 0; background: none; }
}

.rule { border: 0; border-top: 1px solid var(--rule-dark); margin: 0; }
.section--white .rule { border-top-color: var(--rule-light); }

.sec-head { max-width: 34ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head--wide { max-width: 50ch; }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  padding: 1.05rem 2rem;
  border: 2px solid transparent;
  background: none;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

/* White on blue — 10.3:1 */
.btn--primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--primary:hover { background: var(--white); color: var(--blue); border-color: var(--white); }

.btn--ghost { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: var(--white); color: var(--ink); }

.section--white .btn--ghost { border-color: rgba(10,10,10,0.3); color: var(--on-light); }
.section--white .btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* On the blue band, invert. */
.section--blue .btn--primary { background: var(--white); color: var(--blue); border-color: var(--white); }
.section--blue .btn--primary:hover { background: transparent; color: var(--white); border-color: var(--white); }
.section--blue .btn--ghost { border-color: rgba(255,255,255,0.6); color: var(--white); }
.section--blue .btn--ghost:hover { background: var(--white); color: var(--blue); border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2rem; }
.btn-row .btn { flex: 1 1 auto; min-width: 12rem; }
@media (min-width: 40rem) { .btn-row .btn { flex: 0 0 auto; } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  border-bottom: 3px solid var(--blue);
  padding-bottom: 2px;
}
.link-arrow:hover { border-bottom-color: var(--white); text-decoration: none; }
.section--white .link-arrow { color: var(--blue); border-bottom-color: var(--blue); }
.section--white .link-arrow:hover { border-bottom-color: var(--on-light); color: var(--on-light); }

/* --------------------------------------------------------------------------
   5. SPATTER — generated as inline SVG by js/main.js. Decorative only.
   -------------------------------------------------------------------------- */
.spatter {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.spatter svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
/* Brand row: socials, full logo, CTA. Scrolls away; the nav and the white
   tagline bar below it are the part that sticks. */
.site-header {
  background: var(--black);
}
.brandbar {
  display: flex;
  justify-content: center;
  padding-block: 0.625rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  flex: none;
  line-height: 1;
  text-decoration: none;
  color: var(--white);
  font-size: clamp(1.625rem, 4.5vw, 2rem);
}
.logo__mark { height: 1.35em; width: auto; }
.brandbar .logo--full, .brandbar .brandbar__cta { display: none; }
.logo__word {
  font-family: var(--font-display);
  font-size: 1em;
  letter-spacing: 0.14em;
  padding-top: 0.12em; /* Bebas sits high; optically centre it on the mark */
}

/* Socials in brand blue. Blue is a fill here, never a thin glyph on black. */
.socials--top { margin: 0; gap: 0.375rem; }
.socials--top .social--blue {
  width: 2.25rem; height: 2.25rem;
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.socials--top .social--blue svg { width: 1rem; height: 1rem; }
.socials--top .social--blue:hover { background: var(--white); border-color: var(--white); color: var(--blue); }

@media (min-width: 62rem) {
  .brandbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding-block: 1.25rem;
  }
  .brandbar .logo--full { display: inline-flex; font-size: 3rem; }
  .brandbar .brandbar__cta { display: inline-flex; justify-self: end; font-size: 1rem; padding: 0.8rem 1.125rem; letter-spacing: 0.08em; }
}

/* Sticky block: nav bar + white tagline bar. */
.stickybar {
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar {
  background: var(--black);
  border-top: 1px solid var(--rule-dark);
}
.navbar__inner {
  z-index: 2; /* above .tagbar so the mobile menu panel covers it */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
@media (min-width: 62rem) {
  .navbar__inner { justify-content: center; height: 3.75rem; }
  .logo--compact { display: none; }
}

/* White tagline bar: motto, rotating pillar, call + directions. */
.tagbar {
  background: var(--white);
  color: var(--on-light);
  border-bottom: 1px solid var(--rule-light);
}
.tagbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding-block: 0.375rem;
}
.tagbar__line {
  display: grid;
  margin: 0;
  max-width: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.05;
}
.tagbar__motto { font-size: 0.9375rem; letter-spacing: 0.12em; white-space: nowrap; }
@media (max-width: 22.49rem) { .tagbar__motto { font-size: 0.8125rem; letter-spacing: 0.08em; } }
.tagbar__line .pipe {
  display: none;
  width: 3px;
  height: 1em;
  margin-inline: 0.6em;
  background: var(--blue);
}
/* Blue on white is 9:1, so the rotating word can be set in blue here. */
.tagbar__rot {
  display: block;
  overflow: hidden;
  color: var(--blue);
  font-size: 1.375rem;
  letter-spacing: 0.1em;
}
.tagbar__word { display: inline-block; }
.tagbar__word.is-in { animation: tagbar-in 450ms var(--ease) both; }
@keyframes tagbar-in {
  from { transform: translateY(70%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.tagbar__actions { display: flex; gap: 0.5rem; flex: none; }
.tagbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 2px solid var(--blue);
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tagbtn svg { width: 1.125rem; height: 1.125rem; fill: currentColor; flex: none; }
.tagbtn--call { background: var(--blue); color: var(--white); }
.tagbtn--call:hover { background: var(--black); border-color: var(--black); text-decoration: none; }
.tagbtn--dir { background: var(--white); color: var(--blue); }
.tagbtn--dir:hover { background: var(--blue); color: var(--white); text-decoration: none; }
.tagbar .tagbtn:focus-visible { outline-color: var(--black); }
.tagbtn__label { display: none; }

@media (min-width: 40rem) {
  .tagbar__line { display: flex; align-items: center; }
  .tagbar__line .pipe { display: inline-block; }
  .tagbar__motto, .tagbar__rot { font-size: clamp(1.25rem, 2.4vw, 1.625rem); }
  .tagbar__rot { min-width: 7.5ch; }
  .tagbtn { padding: 0 1.125rem; }
  .tagbtn__label { display: inline; }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem; height: 2.75rem;
  padding: 0;
  border: 1px solid var(--rule-dark);
  background: none;
  cursor: pointer;
  flex: none;
}
.nav-toggle__bar {
  display: block;
  width: 1.25rem; height: 2px;
  margin-inline: auto;
  background: var(--white);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed;
  inset: var(--nav-top, var(--header-h)) 0 0 0;
  z-index: 2;
  background: var(--black);
  padding: 1.5rem var(--gutter) 5rem;
  overflow-y: auto;
  display: none;
}
.nav[data-open="true"] { display: block; }

.nav__list { list-style: none; margin: 0 0 2rem; padding: 0; }
.nav__list li { margin: 0; border-bottom: 1px solid var(--rule-dark); }
.nav__link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  padding: 0.8rem 0;
}
.nav__link[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 1rem; height: 4px;
  background: var(--blue);
  vertical-align: middle;
  margin-right: 0.6rem;
}

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .nav {
    position: static;
    display: flex !important;
    align-items: center;
    gap: 2rem;
    inset: auto;
    background: none;
    padding: 0;
    overflow: visible;
  }
  .nav__list { display: flex; align-items: center; gap: 1.75rem; margin: 0; }
  .nav__list li { border: 0; }
  .nav__link {
    font-size: 1.125rem;
    letter-spacing: 0.12em;
    padding: 0.35rem 0;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
  }
  .nav__link[aria-current="page"]::before { content: none; }
  .nav__link[aria-current="page"] { border-bottom-color: var(--blue); }
  .nav__link:hover { border-bottom-color: rgba(255,255,255,0.5); }
  .nav__cta { display: none; }
  .nav .btn { font-size: 1rem; padding: 0.8rem 1.125rem; letter-spacing: 0.08em; }
}

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--black);
  padding-block: clamp(3rem, 9vh, 6.5rem) clamp(3.5rem, 10vh, 7rem);
  overflow: hidden;
  text-align: center;
}
.hero__logo { margin: 0 auto clamp(2rem, 5vw, 3.25rem); width: min(100%, 40rem); }
.hero__logo img { width: 100%; height: auto; }
/* Home uses the bare mark: the lockup's tagline is unreadable at hero size,
   and the pillars line below already carries it. */
.hero__logo--mark { width: min(88%, 34rem); }

.hero__title { margin: 0 auto 1.25rem; max-width: 16ch; }
.hero__sub {
  font-size: var(--fs-lead);
  color: var(--on-dark-mute);
  margin: 0 auto 0;
  max-width: 46ch;
}
.hero .btn-row { justify-content: center; }
.hero .pillars { margin-top: clamp(2rem, 5vw, 3rem); }

/* Interior page hero */
.page-hero {
  position: relative;
  background: var(--black);
  padding-block: clamp(3rem, 9vh, 6rem) clamp(2.5rem, 7vh, 4.5rem);
  overflow: hidden;
}
.page-hero h1 { margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   8. LAYOUT
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
.grid > * { min-width: 0; }
.grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 56rem) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--media-first > .split__media { order: -1; }
}

/* --------------------------------------------------------------------------
   9. CARDS / OFFERINGS
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--rule-dark);
  border-top: 4px solid var(--blue);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--on-dark-mute); }
.card__foot { margin-top: auto; padding-top: 1.5rem; }
.section--white .card {
  background: var(--white);
  border-color: var(--rule-light);
  border-top-color: var(--blue);
}
.section--white .card p { color: var(--on-light-mute); }

.price {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.section--white .price { color: var(--blue); }

/* Numbered statement rows */
.rows { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rows > li {
  counter-increment: r;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--rule-dark);
  display: grid;
  gap: 0.35rem 1.5rem;
  grid-template-columns: auto minmax(0, 1fr);
}
.rows > li:last-child { border-bottom: 1px solid var(--rule-dark); }
.rows > li::before {
  content: counter(r, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
}
.rows h3 { margin: 0; align-self: center; }
.rows p { margin: 0; grid-column: 2; color: var(--on-dark-mute); }
.section--white .rows > li { border-color: var(--rule-light); }
.section--white .rows > li::before { color: var(--blue); }
.section--white .rows p { color: var(--on-light-mute); }

/* --------------------------------------------------------------------------
   10. COUNTDOWN
   -------------------------------------------------------------------------- */
.countdown-page {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vh, 5rem);
  text-align: center;
}
.countdown-page .hero__logo { width: min(80%, 26rem); } /* bare mark, same reason as home */

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  width: min(100%, 54rem);
  margin: clamp(2rem, 5vw, 3rem) auto;
  list-style: none;
  padding: 0;
}
.cd-unit {
  margin: 0;
  border-left: 3px solid var(--blue);
  padding-left: clamp(0.4rem, 1.5vw, 0.9rem);
  text-align: left;
}
.cd-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 11vw, 7rem);
  line-height: 0.88;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.cd-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.6875rem, 1.8vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-top: 0.4rem;
}

.cd-live {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  color: var(--white);
  margin: clamp(2rem, 5vw, 3rem) auto;
  max-width: 20ch;
}

/* Compact teaser used on the home page */
.countdown--teaser { width: min(100%, 32rem); margin-inline: 0; gap: 0.375rem; }
.countdown--teaser .cd-num { font-size: clamp(1.625rem, 5vw, 2.5rem); }
.countdown--teaser .cd-label { font-size: 0.625rem; letter-spacing: 0.16em; }

/* Sender email embed slot */
/* Countdown email capture. */
.notify { margin: clamp(2rem, 5vw, 3rem) auto 0; width: min(100%, 34rem); text-align: left; }
.notify__row { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.notify__row input {
  flex: 1 1 14rem;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--white);
  background: var(--ink-2);
  border: 1px solid var(--rule-dark);
  border-radius: 0;
  padding: 0.9rem 1rem;
  -webkit-appearance: none;
}
.notify__row input:focus { border-color: var(--white); }
.notify__row input::placeholder { color: #8A8A93; }
.notify__row input[aria-invalid="true"] { border-color: #FF9E9E; }
.notify__row .btn { flex: 1 1 auto; }
@media (min-width: 30rem) { .notify__row .btn { flex: 0 0 auto; } }

/* --------------------------------------------------------------------------
   11. ABOUT PHOTO — the only photograph on the site
   -------------------------------------------------------------------------- */
.portrait { margin: 0; }
.portrait img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule-dark);
}
.portrait figcaption {
  font-size: var(--fs-small);
  color: var(--on-dark-mute);
  margin-top: 0.875rem;
}
.section--white .portrait figcaption { color: var(--on-light-mute); }

blockquote.pull {
  margin: clamp(1.75rem, 4vw, 2.75rem) 0;
  padding-left: clamp(1rem, 2.5vw, 1.75rem);
  border-left: 4px solid var(--blue);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  color: var(--white);
  max-width: 26ch;
}
.section--white blockquote.pull { color: var(--on-light); }
blockquote.pull cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-top: 1rem;
}
.section--white blockquote.pull cite { color: var(--on-light-mute); }

/* --------------------------------------------------------------------------
   12. FORM
   -------------------------------------------------------------------------- */
.form { margin-top: 2.5rem; }
.field { margin-bottom: 1.5rem; }
.field label, .legend {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.field .opt { color: var(--on-dark-mute); }

.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--white);
  background: var(--ink-2);
  border: 1px solid var(--rule-dark);
  border-radius: 0;
  padding: 0.9rem 1rem;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--dur) var(--ease);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: #8A8A93; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #FF9E9E; }

.err {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  color: #FF9E9E;
  margin-top: 0.4rem;
}
.err:empty { display: none; }

fieldset { border: 0; margin: 0 0 1.75rem; padding: 0; }

.chips { display: grid; gap: 0.625rem; }
@media (min-width: 40rem) { .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.chip { position: relative; }
.chip input {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.chip__face {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  height: 100%;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink-2);
  border: 1px solid var(--rule-dark);
  padding: 0.9rem 1rem;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.chip__face::before {
  content: "";
  width: 0.8125rem; height: 0.8125rem;
  border: 2px solid var(--on-dark-mute);
  border-radius: 50%;
  flex: none;
}
.chip input:focus-visible + .chip__face { outline: 3px solid var(--white); outline-offset: 3px; }
.chip input:checked + .chip__face { border-color: var(--white); background: #17172B; }
.chip input:checked + .chip__face::before { border-color: var(--white); box-shadow: inset 0 0 0 3px var(--blue); }

/* Honeypot — off-screen, never shown to a person */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status { margin-top: 1.5rem; font-weight: 700; }
.form-status:empty { display: none; }
.form-status[data-state="ok"] {
  background: var(--blue);
  color: var(--white);
  padding: 1rem 1.25rem;
}
.form-status[data-state="err"] {
  color: #FF9E9E;
  border: 2px solid #FF9E9E;
  padding: 1rem 1.25rem;
}

/* --------------------------------------------------------------------------
   13. GRAND OPENING MODAL
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.85);
}
.modal[data-open="true"] { display: flex; }

.modal__panel {
  position: relative;
  width: min(100%, 34rem);
  max-height: calc(100svh - 2.5rem);
  overflow-y: auto;
  background: var(--black);
  border: 2px solid var(--blue);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
}
.modal__logo { width: min(100%, 13rem); margin: 0 auto 1.25rem; }
.modal__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 0.3rem 0.75rem 0.25rem;
  margin-bottom: 1rem;
}
.modal__title { font-size: clamp(2.25rem, 8vw, 3.25rem); margin-bottom: 0.75rem; }
.modal__when {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.625rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 0.5rem;
  max-width: none;
}
.modal__meta {
  font-size: var(--fs-small);
  color: var(--on-dark-mute);
  margin: 0 auto 1.5rem;
  max-width: 36ch;
}
.modal__panel .btn-row { justify-content: center; margin-top: 0; }
.modal__dismiss {
  display: inline-block;
  margin-top: 1.125rem;
  background: none;
  border: 0;
  padding: 0.25rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--on-dark-mute);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.modal__dismiss:hover { color: var(--white); }

.modal__close {
  position: absolute;
  top: 0.375rem; right: 0.375rem;
  width: 2.75rem; height: 2.75rem;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover { color: var(--blue); background: var(--white); }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--black);
  border-top: 1px solid var(--rule-dark);
  padding-block: clamp(3rem, 7vh, 4.5rem) 2rem;
  overflow: hidden;
  font-size: var(--fs-small);
}
.footer-top { display: grid; gap: clamp(2rem, 5vw, 3.5rem); padding-bottom: 2.5rem; }
@media (min-width: 56rem) { .footer-top { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr); } }

.footer-brand .logo { margin-bottom: 1.25rem; }
.footer-brand .logo img { height: auto; width: min(100%, 19rem); }
.footer-brand address { font-style: normal; color: var(--on-dark-mute); line-height: 1.75; }
.footer-brand address a { color: var(--white); }

.footer-col h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: var(--track-eyebrow);
  color: var(--on-dark-mute);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: var(--white); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }

.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.social {
  display: inline-grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--rule-dark);
  color: var(--white);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.social:hover { background: var(--blue); border-color: var(--blue); }
.social svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-dark);
  color: var(--on-dark-mute);
  font-size: var(--fs-micro);
}
.footer-bottom p { margin: 0; max-width: none; }
.footer-bottom .credit a { color: var(--white); text-underline-offset: 0.2em; }
.footer-bottom .credit a:hover { color: var(--on-dark-mute); }
.footer-bottom .tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   PRESS RELEASE
   -------------------------------------------------------------------------- */
.release__head { padding-bottom: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: clamp(1.75rem, 4vw, 2.5rem); border-bottom: 1px solid var(--rule-light); }
.release__head h2 { font-size: clamp(2rem, 4.8vw, 3.25rem); }
.release__head .btn-row { margin-top: 1.5rem; }
.release h3 { margin-top: clamp(2rem, 5vw, 2.75rem); color: var(--blue); }
.release blockquote.pull { max-width: none; }
/* Long quotes read as text, not display type: italic with the blue rule. */
.release__quote {
  margin: 1.5rem 0;
  padding-left: clamp(1rem, 2.5vw, 1.5rem);
  border-left: 4px solid var(--blue);
  font-style: italic;
  color: var(--on-light);
  max-width: 60ch;
}
.release__box {
  margin: clamp(2rem, 5vw, 2.75rem) 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 4px solid var(--blue);
  background: #F3F3F6;
}
.release__box h3 { margin-top: 0; }
.release__end { margin-top: 2.5rem; text-align: center; letter-spacing: 0.4em; max-width: none; color: var(--on-light-mute); }


/* --------------------------------------------------------------------------
   15. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .stickybar, .modal, .spatter { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
}
