/* Mario combined site. Radford fundamentals (see DESIGN.md): Italiana display, Inter body,
   near-black grounds, one gold accent, square corners, hairline rules, fluid vw spacing. */

:root {
  --black: #050505;
  --hero: #080808;
  --band: #0a0a0a;
  --card: #0b0b0b;
  --ink: #111111;
  --cream: #f7f7f3;
  --mat: #f1f1f1;
  --gold: #c6a45f;
  --gold-deep: #7a5f28; /* OURS: gold on light grounds, 5.59:1 */
  --gold-line: rgba(198, 164, 95, .45);
  --line: rgba(255, 255, 255, .18);
  --text-dark: #aaaaaa;
  --serif: 'Italiana', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
  --edge: 8vw;
  --hero-edge: 5vw;
  --bar-edge: 3.5vw;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
.nowrap { white-space: nowrap; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
h1 em, h2 em { display: block; font-style: italic; color: var(--gold); }
.light-ground h2 em { color: var(--gold-deep); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.light-ground :focus-visible { outline-color: var(--gold-deep); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--gold); color: #070707; padding: 12px 18px;
  font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  margin: 0 0 20px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.light-ground .eyebrow { color: var(--gold-deep); }

/* ---------- Buttons and links ---------- */
.button {
  display: inline-block;
  padding: 14px 21px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #070707;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.button:hover { background: #fff; border-color: #fff; }
.button--outline { background: transparent; color: #fff; }
.button--outline:hover { background: var(--gold); border-color: var(--gold); color: #070707; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex;
  align-items: baseline;
  padding: 0 0 7px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .25s, border-color .25s;
}
.text-link i { font-style: normal; color: var(--gold); margin-left: 10px; }
.light-ground .text-link i { color: var(--gold-deep); }
.text-link:hover { color: var(--gold); }
.light-ground .text-link:hover { color: var(--gold-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  height: 86px;
  padding: 0 var(--bar-edge);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 24px;
  background: var(--black);
  color: #fff;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; justify-content: center; min-height: 44px; text-decoration: none; color: #fff; width: max-content; }
.brand__name { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: .01em; }
.brand__sub { margin-top: 6px; font-size: 14px; line-height: 1; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dark); }

.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px clamp(14px, 2vw, 38px); }
.nav a {
  padding: 12px 0;
  border-bottom: 1px solid transparent;
  color: #bdbdbd;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s, border-color .25s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.nav__call { display: none; }
.nav a.nav__call { padding: 14px 21px; color: #070707; border-bottom-color: var(--gold); }
.nav a.nav__call:hover { color: #070707; border-color: #fff; }

.header-tools { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 18px; }
@media (max-width: 1440px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; }
  .nav { column-gap: clamp(14px, 1.6vw, 38px); }
}
.lang { display: flex; border: 1px solid var(--line); }
.lang button {
  min-width: 40px; min-height: 36px; padding: 0 8px;
  border: 0; background: none; color: #bdbdbd;
  font-size: 14px; letter-spacing: .08em; cursor: pointer;
  transition: color .25s, background-color .25s;
}
.lang button[aria-pressed="true"] { background: var(--gold); color: #070707; }
.lang button:not([aria-pressed="true"]):hover { color: #fff; }

.menu-btn {
  display: none;
  min-height: 40px; padding: 0 4px;
  border: 0; background: none; color: #fff;
  font-size: 14px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
}
.menu-btn .when-open { display: none; }
.menu-btn[aria-expanded="true"] .when-open { display: inline; }
.menu-btn[aria-expanded="true"] .when-closed { display: none; }

/* Compact header: set by js/site.js at 900px and below, or whenever the nav does not fit one row
   (Spanish labels at 1280). The media query keeps phones from flashing the full nav before JS runs. */
.site-header.is-compact .menu-btn { display: inline-block; }
.site-header.is-compact .nav {
  display: none;
  position: fixed; inset: 86px 0 0; z-index: 29;
  flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 18px;
  background: var(--hero);
}
.site-header.is-compact .nav[data-open="true"] { display: flex; }
.site-header.is-compact .nav a { font-size: 16px; }
@media (max-width: 900px) {
  .site-header { height: 72px; grid-template-columns: 1fr auto; padding: 0 7vw; }
  .header-tools { grid-column: 2; }
  .site-header .nav { display: none; }
  .site-header.is-compact .nav { inset: 72px 0 0; }
  .brand__name { font-size: 26px; }
}
@media (max-width: 560px) {
  .header-tools .button { display: none; }
  .site-header.is-compact .nav__call { display: inline-block; margin-top: 12px; }
  .brand__sub { display: none; }
  .header-tools { gap: 12px; }
  .site-header.menu-open .lang { display: none; } /* "Close menu" needs the room; the toggle comes back when the menu closes */
}
@media (max-width: 400px) {
  .site-header { padding: 0 5vw; column-gap: 10px; }
  .brand__name { font-size: 23px; }
  .header-tools { gap: 8px; }
  .lang button { min-width: 34px; padding: 0 6px; }
  .menu-btn { letter-spacing: .06em; }
}
body.no-scroll { overflow: hidden; }

/* ---------- Placeholder panels (photos Mario has not sent yet) ---------- */
.ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 40px 28px;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(198, 164, 95, .07), transparent 60%),
    linear-gradient(135deg, #161616, #0b0b0b 70%);
  color: #bdbdbd;
  text-align: center;
  overflow: hidden;
}
.ph__inner { position: relative; max-width: 420px; }
.ph__icon { width: 44px; height: 44px; margin: 0 auto 18px; color: var(--gold); }
.ph__label { margin: 0; text-wrap: balance; font-size: 14px; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; }
.ph__pre { color: var(--gold); }
.ph__size { margin: 8px 0 0; font-size: 14px; letter-spacing: .1em; color: #8f8f8f; }

.tag {
  position: absolute; z-index: 2;
  padding: 8px 12px;
  background: var(--black); /* Radford uses rgba(5,5,5,.78); solid keeps AA contrast on any photo */
  border-bottom: 1px solid var(--gold);
  color: #fff;
  font-size: 14px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- 1. Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  column-gap: clamp(32px, 4vw, 76px);
  align-items: center;
  padding: 48.6px var(--hero-edge) 49px;
  background: linear-gradient(115deg, #101010, #050505 75%);
  color: #fff;
}
.hero .eyebrow { margin-bottom: 16px; }
.hero h1 {
  font-size: clamp(3.1rem, 5vw, 5.8rem);
  line-height: .94;
  letter-spacing: -.035em;
  margin-bottom: 25px;
}
.hero__intro { max-width: 620px; margin: 0 0 36px; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; font-weight: 300; color: #d1d1d1; }
.hero__media { justify-self: end; width: min(100%, 720px); margin: 0; } /* 720 = the photo's native width, so it never upscales */
.hero__media .eyebrow { margin-bottom: 12px; }
.hero__frame { border: 1px solid var(--gold-line); aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 2. Full-width photo band ---------- */
.photo-band { position: relative; height: clamp(440px, 52vh, 600px); background: var(--card); }
.photo-band .ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 31%);
  pointer-events: none;
}
.photo-band .ph__icon { display: none; } /* quiet text only in the big panels */
.photo-band .text-link { position: absolute; z-index: 2; left: var(--hero-edge); bottom: 43px; color: #fff; }

/* ---------- 2b. Delivery day strip (home): three square tiles, 2px gaps like Radford's two-up.
   About 640px each at 1920, under the photos' native 927 to 947px. ---------- */
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--ink); }
.strip__tile { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--card); }
.strip__tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.strip__tile--03 img { object-position: 50% 45%; }
.strip__tile--01::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .78), transparent 34%);
  pointer-events: none;
}
.strip .text-link { position: absolute; z-index: 2; left: var(--hero-edge); bottom: 43px; color: #fff; }

/* ---------- 3. Principle band (How I work) ---------- */
.principle {
  display: grid;
  grid-template-columns: .86fr 1.14fr; /* Radford .72 / 1.28; widened so the Spanish H2 lines fit (623px needed at 1920) */
  gap: 42px 7vw;
  padding: 82px var(--edge) 0;
  background: var(--cream);
}
.principle .eyebrow { grid-column: 1 / -1; margin: 0 0 20px; }
.principle h2 { font-size: clamp(3rem, 5vw, 5.4rem); line-height: .93; letter-spacing: -.03em; }
.principle__copy { align-self: end; max-width: 620px; }
.principle__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; color: #555; font-weight: 300; }
.principle__cols p { margin: 0; }
.principle__copy .text-link { margin-top: 32px; }
.principle--solo { padding-bottom: 96px; } /* the two-up photos no longer close the band */

/* ---------- 5. Dark chapter band (Hablamos español) ---------- */
.chapter {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  column-gap: 8vw;
  align-items: start;
  padding: 70px var(--edge) 62px;
  background: var(--hero);
  color: #fff;
}
.chapter .eyebrow { grid-column: 1; grid-row: 1; }
.chapter h2 {
  grid-column: 1; grid-row: 2 / 5;
  margin-top: 44px;
  font-size: clamp(3.6rem, 6vw, 7rem); line-height: .9; letter-spacing: -.035em;
}
.chapter__body { grid-column: 2; grid-row: 1 / 5; }
.chapter__body p { max-width: 600px; margin: 16px 0; color: #bdbdbd; font-weight: 300; }
.chapter__body .text-link { display: flex; margin-top: 12px; color: #fff; }

/* ---------- 6. Facebook highlight (Radford image and quote band, no quote) ----------
   Radford splits 1.45fr / .75fr; the photo column is capped at delivery-04's native 943px so it never upscales. */
.drivers { display: grid; grid-template-columns: minmax(0, 943px) minmax(420px, 1fr); background: var(--card); color: #fff; }
.drivers__photo { position: relative; margin: 0; min-height: clamp(560px, 40vw, 760px); overflow: hidden; }
.drivers__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.drivers__photo .tag { left: 28px; bottom: 34px; }
.drivers__card { padding: 75px 5vw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.drivers__card h2 { font-size: clamp(2.6rem, 4vw, 4.6rem); line-height: 1.08; margin: 25px 0; }
.drivers__card p:not(.eyebrow) { color: var(--text-dark); font-weight: 300; max-width: 460px; margin-bottom: 36px; }
.drivers__card .text-link { margin-top: 30px; }
/* Light variant on the home page, so the bands alternate: light How I work, dark chapter, light Facebook, dark Let's talk */
.drivers--light { background: var(--mat); color: var(--ink); }
.drivers--light .drivers__card p:not(.eyebrow) { color: #555; }
.drivers--light .button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 7. Contact band ---------- */
.contact-band { padding: 120px 20px; background: var(--band); color: #fff; text-align: center; }
.contact-band h2 { font-size: clamp(3rem, 7vw, 7rem); line-height: 1.55; margin-bottom: 45px; }
.contact-band p:not(.eyebrow) { max-width: 590px; margin: -24px auto 38px; color: var(--text-dark); font-weight: 300; }
.contact-band .button-row { justify-content: center; }

/* ---------- 8. Footer ---------- */
.site-footer {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end;
  padding: 70px var(--bar-edge) 30px;
  background: var(--black);
  border-top: 1px solid #222;
  color: var(--text-dark);
}
.footer__mark { width: 92px; height: 92px; margin-bottom: 30px; color: var(--gold); }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 25px; margin: 0; padding: 0; list-style: none; }
.footer__links li { line-height: 20px; }
.footer__left > .footer__links { margin-top: 8px; }
/* Page links sit in a balanced grid (two rows of three) so no link is left alone on a row in either language */
.footer__left nav .footer__links { display: grid; grid-template-columns: repeat(3, max-content); }
@media (min-width: 901px) and (max-width: 1100px) { .footer__left nav .footer__links { grid-template-columns: repeat(2, max-content); } }
@media (max-width: 640px) { .footer__left nav .footer__links { grid-template-columns: repeat(2, max-content); column-gap: 20px; } }
@media (max-width: 380px) { .footer__left nav .footer__links { grid-template-columns: max-content; } }
.footer__links a, .footer__links span {
  font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--text-dark);
  transition: color .25s;
}
.footer__links a:hover { color: #fff; }
.footer__right { text-align: right; }
.footer__tagline { margin: 0 0 18px; text-wrap: balance; font-family: var(--serif); font-size: 2rem; line-height: 1.2; color: #fff; }
.footer__small { margin: 0 0 0 auto; max-width: 620px; font-size: 14px; line-height: 1.6; }
.footer__small + .footer__small { margin-top: 10px; max-width: none; }
.footer__small a { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
/* Below 1728px the H2 scales with 5vw (no cap), so the Spanish lines need about .36 of the viewport. */
@media (max-width: 1727px) {
  .principle { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .drivers { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .principle { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --edge: 7vw; --hero-edge: 6vw; --bar-edge: 7vw; }
  .hero { grid-template-columns: 1fr; row-gap: 48px; padding: 48px 6vw 42px; }
  .hero__media { justify-self: start; width: min(100%, 560px); }
  .photo-band { height: clamp(340px, 49vw, 520px); }
  .principle { grid-template-columns: 1fr; padding: 70px 7vw 0; gap: 32px; }
  .principle--solo { padding-bottom: 72px; }
  .chapter { grid-template-columns: 1fr; padding: 65px 7vw 58px; }
  .chapter .eyebrow, .chapter h2, .chapter__body { grid-column: 1; grid-row: auto; }
  .chapter h2 { margin: 0 0 26px; }
  .drivers { grid-template-columns: 1fr; }
  .drivers__photo { min-height: 0; aspect-ratio: 10 / 7; }
  .strip .text-link { left: 6vw; bottom: 32px; }
  .contact-band { padding: 90px 7vw; }
  .site-footer { grid-template-columns: 1fr; }
  .footer__right { text-align: left; }
  .footer__small { margin-left: 0; }
}

@media (max-width: 700px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip__tile--01 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
  .hero { padding-top: 30px; }
  .hero h1 { font-size: clamp(2.5rem, 9vw, 3.2rem); line-height: .98; }
  .principle h2 { font-size: min(3rem, 11.5vw); } /* Spanish first line needs 346px at 48px; 11.5vw fits 310 at 360 */
  .button-row .button { flex: 1 1 100%; text-align: center; }
  .principle__cols { grid-template-columns: 1fr; gap: 16px; }
  .photo-band { height: 320px; }
  .photo-band .ph { padding-bottom: 90px; }
  .photo-band .text-link { bottom: 40px; }
  .drivers__photo .tag { left: 12px; bottom: 12px; padding: 6px 9px; letter-spacing: .08em; }
  .drivers__card .button { display: block; width: 100%; text-align: center; }
  .drivers__card { padding: 65px 7vw; }
  .contact-band { padding: 80px 7vw; }
  .footer__tagline { font-size: 1.7rem; }
  .site-footer { padding-top: 56px; }
  .footer__mark { width: 64px; height: 64px; margin-bottom: 22px; }
}

/* =====================================================================
   Inner pages (consolidated 2026-09-29 from the page-scoped blocks).
   Shared patterns first, then one block per page. Type sizes use the
   DESIGN.md section 3 scale; section padding uses section 4.
   ===================================================================== */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Shared type scale ---------- */
/* Page H1 (inner hero) */
.page-hero h1, .split-hero h1 { font-size: clamp(3.3rem, 6vw, 6.6rem); line-height: .93; letter-spacing: -.03em; }
/* Principle H2 */
.asks h2, .about-intro h2 { font-size: clamp(3rem, 5vw, 5.4rem); line-height: .93; letter-spacing: -.03em; }
/* New chapter H2 */
.fb-band h2 { font-size: clamp(3.6rem, 6vw, 7rem); line-height: .9; letter-spacing: -.035em; }
/* Card H3 scale, used for panel headings */
.spot__copy h2, .side-tile h2, .form-head h2 { font-size: clamp(2.4rem, 3.3vw, 3.8rem); line-height: 1; }
/* Gallery H3 scale, used for every card heading */
.step h3, .spot__step h3, .paths__copy h3 { font-size: clamp(2.1rem, 3vw, 3.5rem); line-height: 1; }
/* Timeline H3 scale, used for rows on cream */
.asks__list h3, .count__row h3 { font-size: clamp(2rem, 2.4vw, 2.4rem); line-height: 1.15; }
/* Inner hero lead */
.page-hero__lead, .page-hero__lead p, .split-hero__lead { font-size: 1.08rem; line-height: 1.55; font-weight: 300; color: var(--text-dark); }
/* Number labels (01, Step 1) */
.step__num, .count__num, .policy__num { margin: 0; font-size: 14px; line-height: 1.25; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.light-ground .step__num, .light-ground .count__num, .light-ground .policy__num { color: var(--gold-deep); }
/* Solid buttons on light grounds hover to ink (white would vanish on cream) */
.fb-band .button:hover, .form-foot .button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
/* Inline phone links inside copy */
a.tel, .page-hero__lead a, .policy__item a, .form-foot .privacy a {
  color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px;
}
a.tel, .page-hero__lead a { white-space: nowrap; color: #fff; }
.light-ground .policy__item a, .form-foot .privacy a { color: var(--ink); text-decoration-color: var(--gold-deep); }
.policy__item a:hover { color: var(--gold-deep); }

/* ---------- Page hero (Radford .section-hero): about, clients, privacy, thanks ---------- */
.page-hero {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  column-gap: 8vw;
  align-items: end;
  padding: 130px var(--edge) 100px;
  background: var(--black);
  color: #fff;
}
.page-hero > .eyebrow { grid-column: 1 / -1; }
.page-hero__lead { max-width: 450px; margin: 0 0 17px; }
.page-hero__lead p { margin: 0 0 17px; }
.page-hero__lead p:last-child { margin-bottom: 0; }
.page-hero__lead .page-hero__meta { margin-top: 18px; font-size: 14px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: #8f8f8f; }

/* With a photo on the right (Meet Mario). OURS: the 575 x 719 crop shows at 560 x 700, never upscaled. */
.page-hero--media { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding: 100px var(--edge) 90px; }
.page-hero--media h1 { margin-bottom: 40px; }
.page-hero--media .page-hero__lead { max-width: 640px; margin: 0; }
.page-hero__media { justify-self: end; width: min(100%, 560px); margin: 0; }
.page-hero__frame { border: 1px solid var(--gold-line); aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.page-hero__frame img { width: 100%; height: 100%; object-fit: cover; }

/* Short page that fills the screen (Thanks) */
.page-short { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.page-short main { flex: 1 0 auto; display: flex; flex-direction: column; background: var(--black); }
.page-hero--fill { flex: 1 0 auto; grid-template-columns: 1.3fr .7fr; align-items: start; align-content: start; }
.page-hero__side { align-self: end; max-width: 520px; }
.page-hero__side .page-hero__lead { max-width: none; margin: 0 0 32px; }

/* ---------- Split hero (Radford cars hero) ---------- */
.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  column-gap: 90px;
  align-items: center;
  padding: 82px var(--edge);
  background: var(--black);
  color: #fff;
}
.split-hero h1 { margin-bottom: 28px; }
.split-hero__lead { max-width: 560px; margin: 0 0 36px; }
.split-hero__lead:has(+ .spec) { margin-bottom: 10px; }
.split-hero__frame { margin: 0; border: 1px solid var(--gold-line); aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); }
.split-hero__frame--photo { aspect-ratio: 4 / 3; } /* delivery-01, 927 x 975: 4:3 keeps both faces and the car */
.split-hero__frame--photo img { object-position: 50% 38%; }
.split-hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.spec { margin: 0 0 36px; font-size: 14px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: #fff; }

/* ---------- Spotlight (Radford .black-car-spotlight): photo 1182 + cream copy 738 ---------- */
.spot { display: grid; grid-template-columns: minmax(0, 1182fr) minmax(0, 738fr); min-height: 623px; background: var(--cream); }
.spot__media { position: relative; margin: 0; overflow: hidden; background: var(--ink); }
.spot__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot__copy { display: flex; flex-direction: column; justify-content: center; padding: 72px 64px; background: var(--cream); }
.spot__copy h2 { margin-bottom: 24px; }
.spot__copy > p:not(.eyebrow) { max-width: 520px; margin: 0; color: #555; font-weight: 300; }
/* Contained photo on the photo mat (cars: the 720 x 719 photo is never enlarged) */
.spot--mat .spot__media { background: var(--mat); }
.spot--mat .spot__media img { margin: auto; height: min(100%, 719px); width: auto; max-width: 100%; }
.spot__step { margin-top: 12px; padding-top: 26px; border-top: 1px solid #ccc; }
.spot__step h3 { margin: 24px 0 14px; }
.spot__step p:last-child { margin: 0; max-width: 500px; color: #555; font-weight: 300; }

/* ---------- Tight contact band (two-line or one-line serif heading) ---------- */
.contact-band--tight h2 { line-height: .95; letter-spacing: -.02em; margin-bottom: 40px; }
.contact-band--tight p:not(.eyebrow) { margin: 0 auto 38px; }
.contact-band--rule { border-top: 1px solid #222; } /* two dark bands in a row */
.contact-band p.contact-band__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; margin: 34px 0 0; max-width: none; }
.contact-band__info span { text-wrap: balance; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dark); }

/* ---------- Buy a Car (cars.html) ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5vw;
  margin: 0; padding: 110px var(--edge); list-style: none;
  background: var(--band); color: #fff;
}
.step { padding-top: 24px; border-top: 1px solid #444; }
.step h3 { margin: 24px 0 14px; }
.step p:last-child { margin: 0; color: var(--text-dark); font-weight: 300; }

.asks {
  display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 0 7vw; align-items: start;
  padding: 110px var(--edge);
  background: var(--cream);
}
.asks .eyebrow { grid-column: 1 / -1; }
.asks__intro { max-width: 620px; margin: 0 0 36px; color: #555; font-weight: 300; }
.asks__list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid #ccc; }
.asks__list li { padding: 28px 0; border-top: 1px solid #ccc; }
.asks__list h3 { margin: 0 0 8px; }
.asks__list p { margin: 0; max-width: 620px; color: #555; font-weight: 300; }

/* Good to know: paragraph level with the heading */
.know .chapter__body { grid-row: 2 / 5; padding-top: 58px; }
.know .chapter__body p { margin-top: 0; }

/* ---------- Happy Drivers (clients.html) ---------- */
/* 2 x 2 at desktop inside the 8vw edges: tiles are about 806px at 1920, under the photos' native 927 to 947px. */
.gallery-wrap { padding: 96px var(--edge) 40px; background: var(--cream); }
.gallery { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.gallery > li { display: flex; flex-direction: column; }
.gallery__photo { position: relative; aspect-ratio: 1 / 1; background: var(--card); overflow: hidden; }
.gallery__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.gallery__photo--03 img { object-position: 50% 45%; }
.gallery__photo--04 img { object-position: 50% 30%; }
.gallery__cap { display: flex; align-items: baseline; gap: 18px; margin: 0; padding: 22px 0 56px; border-top: 1px solid #ccc; font-size: 14px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: #555; }
.gallery__num { color: var(--gold-deep); letter-spacing: .1em; }

.fb-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  column-gap: 90px;
  align-items: center;
  padding: 110px var(--edge);
  background: var(--mat);
  border-top: 1px solid #bbb;
  color: var(--ink);
}
.fb-band h2 { margin-bottom: 34px; }
.fb-band__copy p:not(.eyebrow) { max-width: 520px; margin: 0 0 38px; color: #555; font-weight: 300; }
.fb-band__media { justify-self: end; width: min(100%, 560px); margin: 0; }
.fb-band__frame { border: 1px solid var(--gold-deep); aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink); }
.fb-band__frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Meet Mario (about.html) ---------- */
.about-band { padding: 110px var(--edge) 68px; background: var(--cream); }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 7vw; align-items: end; }
.about-intro .eyebrow { grid-column: 1 / -1; }
.about-intro__copy { max-width: 560px; color: #555; font-weight: 300; }
.about-intro__copy p:last-child { margin-bottom: 0; }
.count { margin-top: 110px; }
.count__row { display: grid; grid-template-columns: 180px minmax(0, 1fr); padding: 42px 0; border-top: 1px solid #ccc; }
.count__row .count__num { margin: 12px 0 0; }
.count__row h3 { margin-bottom: 8px; }
.count__row p { max-width: 750px; margin: 0; color: #555; }

.paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #292929; color: #fff; }
.paths__card { display: flex; flex-direction: column; background: var(--card); }
.paths__media { height: 440px; overflow: hidden; background: var(--card); }
.paths__media img { width: 100%; height: 100%; object-fit: cover; }
.paths__media--native { display: flex; justify-content: center; } /* delivery-02 is 947px wide; never stretch past it */
.paths__media--native picture { width: 100%; max-width: 947px; }
.paths__media--native img { object-position: 50% 42%; }
.paths__copy { padding: 42px 4vw 56px; }
.paths__copy h3 { margin-bottom: 18px; }
.paths__copy p:not(.eyebrow) { max-width: 600px; margin: 0 0 32px; color: var(--text-dark); }
.paths--solo { grid-template-columns: 1fr; }
.paths--solo .paths__card { display: grid; grid-template-columns: minmax(0, 947px) minmax(0, 1fr); }
.paths--solo .paths__media { height: auto; min-height: 520px; }
.paths--solo .paths__copy { align-self: center; padding: 64px 5vw; }

/* ---------- Contact (contact.html) ---------- */
.contact-hero { padding: 120px 20px; background: var(--band); color: #fff; text-align: center; }
.contact-hero h1 { font-size: clamp(3rem, 7vw, 7rem); line-height: .95; letter-spacing: -.02em; margin: 0 0 40px; }
.contact-hero p:not(.eyebrow) { max-width: 590px; margin: 0 auto; color: var(--text-dark); font-weight: 300; }

.contact-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 56px 7vw;
  align-items: start;
  padding: 110px var(--edge);
  background: var(--cream);
}
.side-tile { position: sticky; top: 118px; padding: 56px 48px 48px; background: var(--band); color: #fff; }
.side-tile h2 { margin: 0 0 18px; }
.side-tile > p { color: var(--text-dark); font-weight: 300; margin: 0 0 32px; }
.side-tile .button-col { display: flex; flex-direction: column; gap: 12px; }
.side-tile .button { text-align: center; }
.side-tile__meta { margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid #292929; list-style: none; }
.side-tile__meta li { font-size: 14px; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dark); }
.side-tile__meta li + li { margin-top: 6px; }

.form-head h2 { margin: 0 0 16px; }
.form-head p { max-width: 620px; margin: 0 0 40px; color: #555; font-weight: 300; }

/* Fields (DESIGN.md section 7, OURS): square, 1px #ccc on cream, 16px Inter, 14px uppercase label */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; }
.field--full { grid-column: 1 / -1; }
.field { min-width: 0; }
.field label, .field legend {
  display: block; margin: 0 0 10px; padding: 0;
  font-size: 14px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.field label, .field legend, .choice span { text-wrap: balance; }
.req { color: var(--gold-deep); margin-left: 4px; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"],
.field select, .field textarea {
  display: block; width: 100%; min-height: 52px; margin: 0; padding: 13px 14px;
  border: 1px solid #ccc; border-radius: 0; background: #fff; color: var(--ink);
  font: 300 16px/1.4 var(--sans);
  transition: border-color .25s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #888; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 1px solid var(--gold-deep); outline-offset: 0; border-color: var(--gold-deep);
}
.field [aria-invalid="true"] { border-color: #a4262c; }
.help { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #555; }
.field-error { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #a4262c; font-weight: 400; }

.choices { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; font-weight: 300; line-height: 1.35; cursor: pointer; }
.field .choice { display: flex; margin: 0; font-size: 16px; letter-spacing: 0; text-transform: none; }
.choice input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--band); cursor: pointer; }

.form-foot { margin-top: 40px; padding-top: 28px; border-top: 1px solid #ccc; }
.form-foot .note { margin: 0 0 24px; color: #555; font-weight: 300; }
.form-foot .button { min-width: 240px; }
.form-foot .privacy { margin: 20px 0 0; font-size: 14px; line-height: 1.6; color: #555; }
.form-status p { margin: 20px 0 0; padding: 14px 16px; border-left: 2px solid var(--gold-deep); background: #fff; color: var(--ink); font-size: 16px; font-weight: 300; }
.form-status p[data-state="failed"] { border-left-color: #a4262c; }

/* ---------- Privacy (privacy.html) ---------- */
.policy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #bbb; border-top: 3px solid var(--gold); }
.policy__item { padding: 52px 6vw 68px; background: var(--cream); }
.policy__item h2 { margin: 35px 0 15px; font-size: 3rem; line-height: 1.1; color: var(--ink); } /* Experience H3 scale */
.policy__item p:not(.policy__num) { max-width: 560px; margin: 0 0 1em; color: #555; font-weight: 300; }
.policy__item p:last-child { margin-bottom: 0; }

/* ---------- Inner pages: responsive ---------- */
@media (max-width: 1100px) {
  .page-hero--media, .page-hero--fill { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 6vw; }
  .split-hero { column-gap: 56px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .spot { grid-template-columns: 1.2fr 1fr; }
  .spot__copy { padding: 60px 48px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 160px minmax(0, 1fr); column-gap: 32px; padding: 30px 0 34px; }
  .step .step__num { grid-row: 1 / 3; padding-top: 8px; }
  .step h3 { margin: 0 0 12px; }
  .fb-band { column-gap: 56px; }
  .policy__item h2 { font-size: 3.6vw; } /* two columns: "Your language choice" stays on one line */
  .contact-grid { grid-template-columns: 1fr; gap: 64px; }
  .side-tile { position: static; }
}

@media (max-width: 900px) {
  /* One column: the eyebrow keeps its 20px gap on every page hero; the second block sits 32px under the H1 */
  .page-hero, .page-hero--media, .page-hero--fill { grid-template-columns: 1fr; row-gap: 0; padding: 80px 7vw 72px; }
  .page-hero__lead { margin: 0; max-width: 560px; }
  .page-hero > .page-hero__lead, .page-hero__side { margin-top: 32px; }
  .page-hero__media { justify-self: start; margin-top: 48px; }
  .page-hero__side { max-width: 560px; }
  .split-hero { grid-template-columns: 1fr; row-gap: 48px; padding: 72px 7vw; }
  .spot { grid-template-columns: 1fr; min-height: 0; }
  .spot__media { aspect-ratio: 1600 / 1066; }
  .spot--mat .spot__media { aspect-ratio: auto; display: flex; justify-content: center; padding: 48px 7vw; }
  .spot--mat .spot__media img { position: static; width: min(100%, 560px); height: auto; }
  .spot__copy { padding: 70px 7vw; }
  .steps { padding: 80px 7vw; }
  .asks { grid-template-columns: 1fr; padding: 80px 7vw; }
  .asks h2 { margin-bottom: 32px; }
  .know .chapter__body { grid-row: auto; padding-top: 0; }
  .gallery-wrap { padding: 72px 7vw 24px; }
  .gallery { column-gap: 16px; }
  .gallery__cap { padding: 18px 0 44px; }
  .fb-band { grid-template-columns: 1fr; row-gap: 48px; padding: 80px 7vw; }
  .fb-band__media { justify-self: start; }
  .about-band { padding: 80px 7vw 40px; }
  .about-intro { grid-template-columns: 1fr; row-gap: 28px; }
  .count { margin-top: 72px; }
  .paths { grid-template-columns: 1fr; }
  .paths--solo .paths__card { grid-template-columns: 1fr; }
  .paths--solo .paths__media { min-height: 0; height: clamp(260px, 56vw, 440px); }
  .paths--solo .paths__copy { padding: 40px 7vw 52px; }
  .paths__media { height: clamp(260px, 56vw, 440px); }
  .paths__copy { padding: 40px 7vw 52px; }
  .contact-hero { padding: 90px 7vw 80px; }
  .contact-grid { padding: 80px 7vw; }
  .policy { grid-template-columns: 1fr; }
  .policy__item { padding: 46px 7vw 54px; }
  .policy__item h2 { margin-top: 26px; font-size: 3rem; }
}

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .page-hero, .page-hero--media, .page-hero--fill { padding: 64px 7vw 56px; }
  .page-hero h1, .split-hero h1 { font-size: 3.1rem; }
  .page-hero--media h1 { margin-bottom: 28px; }
  .split-hero { padding: 48px 7vw 56px; row-gap: 40px; }
  .asks h2, .about-intro h2 { font-size: min(3rem, 11.5vw); }
  .chapter h2, .fb-band h2 { font-size: min(3.6rem, 13vw); }
  .step h3, .spot__step h3 { font-size: 2.1rem; }
  .asks__list h3, .count__row h3 { font-size: 1.75rem; }
  .spot__copy { padding: 56px 7vw; }
  .step { grid-template-columns: 1fr; }
  .step .step__num { grid-row: auto; padding-top: 0; margin-bottom: 18px; }
  .contact-band--tight h2 { font-size: min(3rem, 12vw); }
  .contact-band p.contact-band__info { flex-direction: column; align-items: center; }
  .gallery-wrap { padding: 56px 7vw 16px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__cap { padding: 16px 0 36px; }
  .fb-band .button, .paths__copy .button { display: block; text-align: center; }
  .count__row { grid-template-columns: 1fr; padding: 34px 0; }
  .count__row .count__num { margin: 0 0 6px; }
  .contact-hero { padding: 72px 7vw 64px; }
  .contact-hero h1 { margin-bottom: 28px; }
  .contact-grid { padding: 56px 7vw 72px; gap: 56px; }
  .side-tile { padding: 44px 7vw 40px; margin: 0 -7vw; }
  .form-foot .button { width: 100%; min-width: 0; }
  .policy__item h2 { font-size: min(2.4rem, 9vw); } /* "Your language choice" stays on one line down to 360 */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
