/* ==========================================================================
   Velocity HP Coaching
   Creative direction: Robert Wong (Apple Marcom / Fitness+ / Health lineage)
   System: dark carbon canvas, pearl type, one disciplined red accent.
   No gradients of color, no glass, no glow, no drop shadows. Hairlines only.
   ========================================================================== */

/* ---- Brand display font (Troglodyte = the Velocity wordmark face) -------- */
@font-face {
  font-family: "Troglodyte";
  src: url("../assets/fonts/troglodyte.woff2") format("woff2"),
       url("../assets/fonts/troglodyte.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ------------------------------------------------------- */
:root {
  /* Surfaces */
  --carbon: #0A0A0B;          /* primary canvas, never pure black */
  --graphite: #141417;        /* secondary surface */
  --steel: #1F1F23;           /* dividers, raised elements */

  /* Type */
  --pearl: #F5F5F7;           /* primary type on dark */
  --titanium: #86868B;        /* secondary type, metadata */

  /* Accent — used with restraint */
  --brand-navy: #2B3F62;        /* official brand navy (logo): solid fills, selection, chat */
  --brand-navy-hover: #355081;  /* lifted navy for solid-button hover on the dark canvas */
  --brand-blue: #6E9BD8;        /* brightened brand blue: hairline accents and icons on carbon */
  --danger: #E5484D;            /* error and validation states only */

  /* Brand display face: the Velocity wordmark face, matching the logo */
  --font-display: "Troglodyte", "Inter", -apple-system, sans-serif;

  /* Type scale (desktop ceiling / mobile floor via clamp) */
  --t-hero:    clamp(3rem, 8.5vw, 6rem);        /* 48 -> 96 */
  --t-section: clamp(2rem, 5vw, 3.5rem);        /* 32 -> 56 */
  --t-stat:    clamp(4.5rem, 13vw, 7.5rem);     /* 72 -> 120 */
  --t-display: clamp(2.5rem, 7vw, 4rem);        /* contact / phone */
  --t-sub:     clamp(1.125rem, 1.6vw, 1.375rem);/* 18 -> 22 */
  --t-body:    clamp(1rem, 1.1vw, 1.0625rem);   /* 16 -> 17 */
  --t-manifesto: clamp(1.375rem, 3vw, 2rem);    /* 22 -> 32 */
  --t-eyebrow: 0.75rem;                          /* 12 */
  --t-meta:    0.8125rem;                         /* 13 */

  /* Rhythm */
  --section-pad: clamp(5rem, 11vw, 8.5rem);
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --maxw: 1240px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mobile-first rhythm: tighten the vertical scroll on phones without
   touching the premium desktop spacing (desktop keeps the 8.5rem cap). */
@media (max-width: 639px) {
  :root {
    --section-pad: clamp(3.75rem, 14vw, 8.5rem);
    --gutter: 1.4rem;
  }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--carbon);
  color: var(--pearl);
  font-family: "Inter", -apple-system, "SF Pro Display", BlinkMacSystemFont, sans-serif;
  font-size: var(--t-body);
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--brand-navy); color: var(--pearl); }

/* Visible focus: 2px brand-blue outline, 2px offset */
:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---- Shared primitives --------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-pad); position: relative; }
.section--graphite { background: var(--graphite); }
.rule-top { border-top: 1px solid var(--steel); }

.eyebrow {
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--titanium);
}

.section-headline {
  font-size: var(--t-section);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.0;
}

.centered { text-align: center; margin-inline: auto; }
.measure { max-width: 56ch; }
.measure-sm { max-width: 42ch; }

/* Buttons -------------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 1rem 2rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--brand-navy); color: var(--pearl); }
.btn--solid:hover { background: var(--brand-navy-hover); }

.btn--ghost { background: transparent; color: var(--pearl); border-color: rgba(245,245,247,0.35); }
.btn--ghost:hover { border-color: var(--pearl); }

.btn--outline { background: transparent; color: var(--brand-blue); border-color: rgba(110,155,216,0.5); }
.btn--outline:hover { border-color: var(--brand-blue); background: rgba(110,155,216,0.12); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,10,11,0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--steel);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; }
.wordmark__mark { height: 21px; width: auto; flex: none; }
.wordmark__text {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 400;                 /* Troglodyte is a single-weight display face */
  letter-spacing: 0.02em;           /* the face is already wide; keep tracking tight */
  color: var(--pearl);
  line-height: 1;
}
.wordmark__text b { font-weight: 400; }
.wordmark__text span { color: var(--titanium); font-weight: 400; }

.nav__links { display: flex; align-items: center; gap: 1.5rem; }
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--titanium);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--pearl); }
.nav__cta { display: inline-flex; }
.nav__toggle { display: none; background: none; border: 0; color: var(--pearl); padding: 0.5rem; }

@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(10,10,11,0.96);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--steel);
    padding: 1.5rem var(--gutter) 2rem;
    gap: 1.25rem;
    align-items: flex-start;
  }
  .nav.is-open .nav__links a { font-size: 1.125rem; }
  .nav.is-open .nav__cta { margin-top: 0.5rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: clamp(7rem, 16vh, 11rem); padding-bottom: var(--section-pad); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__headline {
  font-size: var(--t-hero);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.75rem;
}
.hero__sub {
  font-size: var(--t-sub);
  color: var(--titanium);
  letter-spacing: -0.01em;
  max-width: 34rem;
  margin-bottom: 2.5rem;
  line-height: 1.45;
}
.hero__sub b { color: var(--pearl); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Portrait — monochrome editorial treatment, faded into carbon */
.hero__portrait { position: relative; aspect-ratio: 4 / 5; }
.hero__portrait::after {
  /* fade left + bottom edges into the canvas so the warm source merges */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--carbon) 0%, rgba(10,10,11,0) 28%),
    linear-gradient(0deg, var(--carbon) 0%, rgba(10,10,11,0) 32%);
  pointer-events: none;
}
.hero__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  /* push warm source toward clinical monochrome */
  filter: grayscale(1) contrast(1.12) brightness(0.86);
  border-left: 2px solid var(--brand-blue); /* single restrained accent */
}

@media (max-width: 767px) {
  .hero { padding-top: clamp(5.5rem, 13vh, 7rem); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { aspect-ratio: 3 / 4; max-width: 22rem; order: -1; margin-bottom: 1.25rem; }
  .hero__headline { letter-spacing: -0.03em; }
}

/* ==========================================================================
   The Numbers
   ========================================================================== */
.numbers__head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}
.stat { text-align: center; }
.stat__num {
  /* 120px reads as a single hero stat; in a 4-up row it must stay on one line,
     so it scales to fit the column while remaining the dominant element. */
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.0;
  white-space: nowrap;
}
.stat__num .accent { color: var(--brand-blue); }
.stat__unit {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--titanium);
  letter-spacing: 0;
}
@media (max-width: 767px) {
  .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
}

/* ==========================================================================
   Meet Dr. O'Connor
   ========================================================================== */
.bio__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.bio__portrait { position: relative; aspect-ratio: 3 / 4; }
.bio__portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 15%;
  filter: grayscale(1) contrast(1.1) brightness(0.82);
}
.bio__portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--graphite) 0%, rgba(20,20,23,0) 26%);
  pointer-events: none;
}
.bio__eyebrow { margin-bottom: 1.25rem; }
.bio__name { font-size: var(--t-section); font-weight: 600; letter-spacing: -0.03em; line-height: 1.0; }
.bio__role { font-size: var(--t-sub); color: var(--titanium); margin-top: 0.75rem; margin-bottom: 2rem; }
.bio__body p { margin-bottom: 1.25rem; max-width: 60ch; }
.bio__body p .dim { color: var(--titanium); }

.bio__creds {
  display: flex; flex-wrap: wrap;
  gap: 0 2rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--steel);
}
.cred {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: var(--t-meta); color: var(--titanium);
  padding-right: 2rem;
}
.cred:not(:last-child) { border-right: 1px solid var(--steel); }
.cred i { font-size: 1.1rem; color: var(--pearl); }
.cred b { color: var(--pearl); font-weight: 500; }

@media (max-width: 859px) {
  .bio__grid { grid-template-columns: 1fr; }
  .bio__portrait { max-width: 22rem; }
  .cred { border-right: 0 !important; padding-right: 0; }
  .bio__creds { flex-direction: column; gap: 1rem; }
}

/* ==========================================================================
   What We Do — six pillars, no cards, hairline above each
   ========================================================================== */
.dowedo__head { text-align: center; margin-bottom: clamp(3rem, 7vw, 5rem); }
.dowedo__head .section-headline { max-width: 16ch; margin-inline: auto; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.pillar {
  padding: 2rem 2rem 2.5rem 0;
  border-top: 1px solid var(--steel);
}
.pillar__ord {
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin-bottom: 1rem;
}
.pillar__title { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.pillar__body { color: var(--titanium); max-width: 30ch; }
@media (max-width: 1023px) { .pillars { grid-template-columns: repeat(2, 1fr); } .pillar { padding-right: 1.5rem; } }
@media (max-width: 639px)  { .pillars { grid-template-columns: 1fr; } .pillar { padding-right: 0; } }

/* ==========================================================================
   Who We Serve — discipline strip
   ========================================================================== */
.serve__head { text-align: center; margin-bottom: clamp(3rem, 7vw, 4.5rem); }
.serve__head .section-headline { max-width: 18ch; margin-inline: auto; }
.disciplines {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--steel);
}
.discipline {
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 1.75rem 1rem;
  text-align: center;
  border-right: 1px solid var(--steel);
  display: flex; align-items: center; justify-content: center;
}
.discipline:last-child { border-right: 0; }
@media (max-width: 1023px) {
  .disciplines { grid-template-columns: repeat(2, 1fr); }
  .discipline { border-right: 1px solid var(--steel); border-bottom: 1px solid var(--steel); padding: 1.5rem 1rem; }
  .discipline:nth-child(2n) { border-right: 0; }
  /* 7 items: the lone last one spans both columns instead of leaving a hanging cell */
  .discipline:last-child { grid-column: 1 / -1; border-right: 0; }
}

/* ==========================================================================
   Tough Love Manifesto
   ========================================================================== */
.manifesto { text-align: center; }
.manifesto__head { margin-bottom: clamp(3rem, 8vw, 5rem); }
.manifesto__head .section-headline { max-width: 24ch; margin-inline: auto; }
.manifesto__lines {
  display: flex; flex-direction: column;
  gap: 1.5rem;
  max-width: 40ch;
  margin-inline: auto;
}
.manifesto__lines p {
  font-size: var(--t-manifesto);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.manifesto__sign {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  display: inline-flex; flex-direction: column; align-items: center; gap: 1rem;
}
.manifesto__sign::before {
  content: ""; width: 48px; height: 2px; background: var(--brand-blue);
}
.manifesto__sign span { font-size: 0.875rem; font-weight: 500; color: var(--titanium); }

/* ==========================================================================
   Coaching Programs — Apple compare
   ========================================================================== */
.programs__head { text-align: center; margin-bottom: clamp(3rem, 7vw, 4.5rem); }
.programs__head .programs__sub { font-size: var(--t-sub); color: var(--titanium); margin-top: 1rem; }
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.tier {
  display: flex; flex-direction: column;
  background: var(--carbon);
  border: 1px solid var(--steel);
  border-radius: 14px;
  padding: 2.25rem 2rem 2rem;
  position: relative;
}
.section--graphite .tier { background: var(--carbon); }
.tier--featured {
  border: 2px solid var(--brand-blue);
}
.tier__pill {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--brand-navy); color: var(--pearl);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.tier__label {
  font-size: var(--t-eyebrow); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--titanium); margin-bottom: 1rem;
}
.tier__name { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; }
.tier__pos { color: var(--titanium); font-size: 0.95rem; margin-top: 0.75rem; margin-bottom: 1.75rem; line-height: 1.45; }
.tier__list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2.25rem; }
.tier__list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.4; }
.tier__list i { color: var(--brand-blue); font-size: 1.05rem; flex: none; margin-top: 0.05rem; }
.tier__list .lead { color: var(--titanium); }
.tier__cta { margin-top: auto; width: 100%; }
@media (max-width: 959px) {
  .tiers { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .tier--featured { order: -1; }
}

/* ==========================================================================
   Real Results — testimonials
   ========================================================================== */
.results__head { text-align: center; margin-bottom: clamp(3rem, 7vw, 4.5rem); }
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.testimonial {
  border-left: 1px solid var(--steel);
  padding: 0.5rem 0 0.5rem 2rem;
}
.testimonial__quote { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.4; }
.testimonial__by { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.75rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--graphite); border: 1px solid var(--steel);
  display: grid; place-items: center;
  font-size: 0.875rem; font-weight: 600; color: var(--pearl); flex: none;
}
.section--graphite .avatar { background: var(--steel); }
.testimonial__name { font-size: 0.9375rem; font-weight: 500; }
.testimonial__title { font-size: var(--t-meta); color: var(--titanium); }
@media (max-width: 719px) { .testimonials { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.faq__list { max-width: 760px; margin-inline: auto; }
.faq__item { border-top: 1px solid var(--steel); }
.faq__item:last-child { border-bottom: 1px solid var(--steel); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; position: relative; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--brand-blue);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }          /* horizontal */
.faq__icon::after  { left: 8px; top: 0; width: 2px; height: 18px; }          /* vertical */
.faq__item[open] .faq__icon::before { transform: rotate(45deg); }
.faq__item[open] .faq__icon::after  { transform: rotate(45deg); }
.faq__answer { padding: 0 0 1.75rem; max-width: 64ch; }
.faq__answer { color: var(--pearl); line-height: 1.6; }
.faq__answer .dim { color: var(--titanium); }
/* open animation */
.faq__item[open] .faq__answer { animation: faqReveal 0.35s var(--ease); }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   The Call — contact
   ========================================================================== */
.call__head { text-align: center; margin-bottom: clamp(3rem, 7vw, 4.5rem); }
.call__head .call__headline { font-size: var(--t-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.0; }
.call__head .call__sub { font-size: var(--t-sub); color: var(--titanium); margin-top: 1.25rem; max-width: 42rem; margin-inline: auto; line-height: 1.45; }
.call__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.call__phone-label { font-size: 0.875rem; font-weight: 500; color: var(--titanium); }
.call__phone {
  display: block;
  font-size: var(--t-display);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
  margin: 0.75rem 0;
  transition: color 0.2s var(--ease);
}
.call__phone:hover { color: var(--brand-blue); }
.call__loc { font-size: 0.875rem; color: var(--titanium); }

/* Form */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: var(--t-meta); font-weight: 500; color: var(--titanium); }
.field input, .field select, .field textarea {
  background: var(--graphite);
  color: var(--pearl);
  border: 1px solid var(--steel);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  font-family: inherit; font-size: 1rem;
  transition: border-color 0.2s var(--ease);
  width: 100%;
}
.section--graphite .field input,
.section--graphite .field select,
.section--graphite .field textarea { background: var(--carbon); }
.field input::placeholder, .field textarea::placeholder { color: #5b5b61; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-blue); outline-offset: 1px; border-color: transparent; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2386868B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form__submit { margin-top: 0.5rem; width: 100%; }
.form__note { font-size: var(--t-meta); color: var(--titanium); text-align: center; }
.form__status { font-size: 0.9375rem; min-height: 1.2em; }
.form__status.is-error { color: var(--danger); }
.form__status.is-ok { color: var(--pearl); }

@media (max-width: 859px) {
  .call__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--carbon); border-top: 1px solid var(--steel); padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}
.footer__brand .wordmark__text { font-size: 1.125rem; }
.footer__tagline { color: var(--titanium); font-size: 0.875rem; max-width: 22rem; margin-top: 1rem; line-height: 1.5; }
.footer__col h4 { font-size: var(--t-eyebrow); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--titanium); margin-bottom: 1.25rem; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col a { font-size: 0.9375rem; color: var(--pearl); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--brand-blue); }
.footer__social { display: flex; gap: 1.25rem; }
.footer__social a { color: var(--titanium); font-size: 1.25rem; transition: color 0.2s var(--ease); }
.footer__social a:hover { color: var(--brand-blue); }
.footer__legal { border-top: 1px solid var(--steel); padding-top: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.footer__copy { font-size: var(--t-eyebrow); color: var(--titanium); }
.footer__credit { font-size: 0.6875rem; color: var(--titanium); opacity: 0.6; }
@media (max-width: 719px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hero load — staggered, runs on first paint */
@media (prefers-reduced-motion: no-preference) {
  .hero .reveal { opacity: 0; transform: translateY(24px); animation: heroIn 0.85s var(--ease) forwards; }
  .hero .reveal[data-delay="1"] { animation-delay: 0.12s; }
  .hero .reveal[data-delay="2"] { animation-delay: 0.22s; }
  .hero .reveal[data-delay="3"] { animation-delay: 0.34s; }
  .hero .reveal[data-delay="4"] { animation-delay: 0.46s; }
  @keyframes heroIn { to { opacity: 1; transform: none; } }
}

/* ==========================================================================
   Accent A/B preview (internal review toggle)
   Default = brand navy (A, the official logo color). data-accent="red"
   restores the original red accent (B). The whole accent system flips by
   redefining three tokens, so nothing else needs to change.
   ========================================================================== */
:root[data-accent="red"] {
  --brand-navy: #E11D2E;        /* solid fills (buttons, pills, selection) */
  --brand-navy-hover: #7A0E18;  /* solid-button hover */
  --brand-blue: #E11D2E;        /* hairline accents and icons (single red, as originally) */
}

.accent-toggle {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 200;
  display: inline-flex; gap: 2px; padding: 3px;
  background: rgba(20,20,23,0.82);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border: 1px solid var(--steel); border-radius: 999px;
}
.accent-toggle button {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--titanium); background: transparent; border: 0; cursor: pointer;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.accent-toggle button:hover { color: var(--pearl); }
.accent-toggle button.is-active { color: var(--pearl); background: var(--brand-navy); }
@media (max-width: 767px) {
  .accent-toggle { left: 0.75rem; bottom: 0.75rem; transform: scale(0.92); transform-origin: left bottom; }
}
