/* Layout: a navy race-livery hero split by twin Le Mans stripes, then aluminum-ground sections stacked down one column of content, each led by a stamped chassis-plate label. */
:root {
  --bg: #e9ecef;          /* brushed aluminum ground */
  --surface: #f8f9fa;
  --ink: #0e1a30;
  --muted: #56617a;
  --line: #c7cdd6;
  --blue: #1f3d7a;        /* Guardsman-style blue */
  --blue-ink: #ffffff;
  --signal: #c8231b;      /* race-number red, used sparingly */
  --livery: #13254a;      /* hero band, same in both themes */
  --livery-ink: #f2f4f7;
  --stripe: #f4f5f2;
  --alu: #c3c9d1;
  --tire: #16181c;
  --focus: #e0a526;
  --f-display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1222; --surface: #121c33; --ink: #e6eaf2; --muted: #98a3ba; --line: #26334f;
    --blue: #5b84d8; --blue-ink: #0b1222; --signal: #ff6152; --livery: #0f1d3b; --livery-ink: #f2f4f7;
    --stripe: #e9ebe6; --alu: #8d96a5; --tire: #05070b; --focus: #f0b93a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1222; --surface: #121c33; --ink: #e6eaf2; --muted: #98a3ba; --line: #26334f;
  --blue: #5b84d8; --blue-ink: #0b1222; --signal: #ff6152; --livery: #0f1d3b; --livery-ink: #f2f4f7;
  --stripe: #e9ebe6; --alu: #8d96a5; --tire: #05070b; --focus: #f0b93a; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 1rem; line-height: 1.6; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: .95; letter-spacing: .005em; text-wrap: balance; margin: 0; text-transform: uppercase; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.num { font-variant-numeric: tabular-nums; }

/* Stamped label — the chassis-plate motif */
.plate-label { display: inline-flex; align-items: center; gap: .6em; font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plate-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--alu); box-shadow: inset 0 0 0 1.5px var(--muted); }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--livery); color: var(--livery-ink); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--stripe); color: var(--livery); display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 1.05rem; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.brand-name small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .62rem; letter-spacing: .18em; opacity: .7; margin-top: 3px; }
.nav ul { list-style: none; display: flex; gap: clamp(12px, 2.4vw, 28px); margin: 0; padding: 0; flex-wrap: wrap; }
.nav ul a { text-decoration: none; font-size: .88rem; font-weight: 500; opacity: .85; }
.nav ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { position: relative; background: var(--livery); color: var(--livery-ink); overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(22px, 3vw, 44px); background: var(--stripe); opacity: .14; z-index: 0; }
.hero::before { right: calc(clamp(22px, 3vw, 44px) + clamp(30px, 4vw, 56px)); }
.hero::after { right: clamp(30px, 4vw, 56px); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(24px, 4vw, 56px); padding-block: clamp(48px, 8vw, 104px) clamp(64px, 10vw, 136px); align-items: start; }
.hero-copy { min-width: 0; display: grid; gap: 22px; align-content: start; }
.hero .plate-label { color: rgba(242,244,247,.7); }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 6.4rem); font-weight: 900; }
.hero h1 em, .page-hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--livery-ink); }
.hero-lede { max-width: 52ch; font-size: 1.1rem; color: rgba(242,244,247,.86); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem/1 var(--f-body); padding: 14px 20px; border-radius: 3px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--stripe); color: var(--livery); }
.btn-ghost { border-color: rgba(242,244,247,.5); color: var(--livery-ink); background: transparent; }
.btn-ghost:hover { border-color: var(--livery-ink); }

.spec-plate { position: relative; background: linear-gradient(135deg, #d9dde3, #b9c0ca 55%, #d3d8de); color: #1a2232; border-radius: 4px; padding: 22px 24px; font-family: var(--f-mono); font-size: .8rem; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 30px rgba(0,0,0,.35); }
.spec-plate::before, .spec-plate::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f1f3f5, #8a919c); top: 9px; }
.spec-plate::before { left: 9px; } .spec-plate::after { right: 9px; }
.spec-plate h2 { font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-align: center; border-bottom: 1px solid rgba(26,34,50,.35); padding-bottom: 10px; margin-bottom: 10px; line-height: 1.4; }
.spec-plate dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.spec-plate dt { opacity: .7; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; align-self: center; }
.spec-plate dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.heritage .years { display: flex; align-items: center; gap: 14px; padding: 6px 0 14px; border-bottom: 1px solid rgba(26,34,50,.35); }
.heritage .years strong { font-family: var(--f-display); font-weight: 900; font-size: 4.6rem; line-height: .85; letter-spacing: -.01em; color: #13254a; font-variant-numeric: tabular-nums; }
.heritage .years span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; }
.heritage ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; font-family: var(--f-body); font-size: .86rem; line-height: 1.35; }
.heritage li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; }
.heritage li::before { content: ""; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #13254a; }
.heritage .stamp { margin-top: 14px; padding-top: 10px; border-top: 1px dashed rgba(26,34,50,.4); font-size: .66rem; letter-spacing: .16em; text-align: center; opacity: .75; }
/* Background car: large, soft and slowly drifting; a navy scrim keeps the copy side clean */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-art { position: absolute; right: -18%; bottom: 3%; width: min(1500px, 115%); filter: blur(3px); opacity: .3; animation: hero-drift 26s ease-in-out infinite alternate; }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(.75); opacity: .38; }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--livery) 8%, color-mix(in srgb, var(--livery) 78%, transparent) 42%, color-mix(in srgb, var(--livery) 25%, transparent) 100%),
  linear-gradient(0deg, var(--livery) 0%, transparent 22%); }
@keyframes hero-drift { from { transform: translateX(2.5%) scale(1); } to { transform: translateX(-2.5%) scale(1.04); } }

/* Sections */
section.block { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.build-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(28px, 4vw, 48px); }
.build-head .section-head { margin-bottom: 0; }
.blueprint { margin: 0; color: var(--blue); opacity: .5; pointer-events: none; }
.blueprint svg { display: block; width: 100%; height: auto; }

/* Models */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; display: grid; grid-template-rows: auto auto 1fr auto; overflow: hidden; }
.model-art { background: var(--livery); padding: 18px 12px 6px; position: relative; }
.model-art svg { width: 100%; height: auto; display: block; }
.model-art .tag { position: absolute; top: 12px; left: 14px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; color: rgba(242,244,247,.7); }
.model-body { padding: 20px 22px 0; display: grid; gap: 8px; }
.model h3 { font-size: 2rem; }
.model p { color: var(--muted); font-size: .95rem; }
.model dl { margin: 16px 22px 0; display: grid; grid-template-columns: 1fr auto; gap: 0; font-size: .88rem; align-self: start; }
.model dt, .model dd { padding: 7px 0; border-top: 1px solid var(--line); margin: 0; }
.model dt { color: var(--muted); }
.model dd { font-family: var(--f-mono); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.model-foot { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 18px 22px 22px; margin-top: 12px; border-top: 2px solid var(--ink); }
.price-from { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.price-from strong { display: block; font-family: var(--f-display); font-size: 1.9rem; color: var(--ink); letter-spacing: 0; line-height: 1; margin-top: 4px; font-variant-numeric: tabular-nums; }
.link-btn { font-weight: 600; font-size: .9rem; color: var(--blue); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font-family: inherit; }

/* Build sequence */
.build { background: var(--surface); border-block: 1px solid var(--line); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: stage; }
.timeline li { counter-increment: stage; padding: 0 18px 0 0; display: grid; gap: 10px; align-content: start; position: relative; }
.timeline .bar { height: 10px; background: var(--blue); position: relative; margin-right: -18px; }
.timeline li:nth-child(even) .bar { background: color-mix(in srgb, var(--blue) 60%, var(--bg)); }
.timeline .weeks { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.timeline h3 { font-size: 1.5rem; }
.timeline h3::before { content: counter(stage) " · "; color: var(--signal); }
.timeline p { font-size: .9rem; color: var(--muted); }
.timeline-scale { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); margin-top: 28px; padding-top: 10px; border-top: 1px dashed var(--line); }

/* Packages table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .92rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--f-display); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; border-bottom: 2px solid var(--ink); }
thead th span { display: block; font-family: var(--f-mono); font-size: .68rem; font-weight: 400; letter-spacing: .12em; color: var(--muted); margin-top: 4px; }
tbody th { font-weight: 600; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; width: 22%; }
td.yes::before { content: "●  "; color: var(--blue); }
td.no { color: var(--muted); }
tr.total td { font-family: var(--f-mono); font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

/* Configurator */
.config { background: var(--livery); color: var(--livery-ink); }
.config .section-head p { color: rgba(242,244,247,.75); }
.config .plate-label { color: rgba(242,244,247,.7); }
.config-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.stage { background: radial-gradient(ellipse at 50% 85%, rgba(255,255,255,.10), transparent 60%), #0a1530; border-radius: 4px; padding: clamp(16px, 3vw, 32px) clamp(8px, 2vw, 24px) 12px; border: 1px solid rgba(255,255,255,.08); }
.stage svg { width: 100%; height: auto; display: block; }
.stage-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(242,244,247,.6); padding: 10px 8px 0; }
.controls { display: grid; gap: 22px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
legend { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(242,244,247,.7); padding: 0; margin-bottom: 10px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-block; padding: 9px 14px; border: 1.5px solid rgba(242,244,247,.3); border-radius: 3px; font-size: .88rem; font-weight: 500; transition: border-color .15s, background .15s; }
.seg input:checked + span { background: var(--stripe); color: var(--livery); border-color: var(--stripe); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.seg input:disabled + span { opacity: .4; cursor: not-allowed; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches label { position: relative; cursor: pointer; }
.swatches input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.swatches .chip { display: block; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(242,244,247,.25); box-shadow: inset 0 -6px 10px rgba(0,0,0,.25); }
.swatches input:checked + .chip { outline: 2.5px solid var(--stripe); outline-offset: 3px; }
.swatches input:focus-visible + .chip { outline: 3px solid var(--focus); outline-offset: 3px; }
.paint-name { font-size: .88rem; color: rgba(242,244,247,.85); }
.num-input { width: 90px; padding: 9px 12px; font: 600 1rem var(--f-mono); background: transparent; color: var(--livery-ink); border: 1.5px solid rgba(242,244,247,.3); border-radius: 3px; }
.quote { margin-top: 28px; background: var(--surface); color: var(--ink); border-radius: 4px; padding: 22px 24px; display: grid; gap: 4px; }
.quote h3 { font-size: 1.5rem; margin-bottom: 8px; }
.quote .row { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; padding: 6px 0; border-bottom: 1px solid var(--line); }
.quote .row span:last-child { font-family: var(--f-mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.quote .row.total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 1.05rem; }
.quote .row.total span:last-child { font-family: var(--f-display); font-size: 2rem; line-height: 1; }
.quote small { color: var(--muted); font-size: .8rem; margin-top: 8px; }

/* Visit / contact */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.facts { display: grid; gap: 22px; }
.fact h3 { font-size: 1.3rem; margin-bottom: 6px; }
.fact p, .fact li { color: var(--muted); font-size: .95rem; }
.fact ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-variant-numeric: tabular-nums; }
.fact ul li { display: flex; justify-content: space-between; max-width: 300px; }
.copyline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copyline code { font-family: var(--f-mono); font-size: .9rem; color: var(--ink); user-select: all; }
.copy-btn { font: 500 .75rem var(--f-mono); padding: 4px 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 3px; cursor: pointer; }
form.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 1rem var(--f-body); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--ink); width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.contact .btn { background: var(--blue); color: var(--blue-ink); justify-self: start; }
.form-note { font-size: .9rem; padding: 12px 14px; border-left: 3px solid var(--blue); background: var(--bg); }

.site-footer { background: var(--livery); color: rgba(242,244,247,.72); font-size: .88rem; border-top: 4px solid var(--stripe); }
.site-footer a { color: rgba(242,244,247,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 36px 32px; padding-block: clamp(48px, 6vw, 72px) 40px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .brand { color: var(--livery-ink); }
.foot-brand p { max-width: 36ch; line-height: 1.55; }
.foot-brand address { font-style: normal; line-height: 1.6; font-size: .84rem; }
.site-footer h3 { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(242,244,247,.5); margin-bottom: 14px; line-height: 1.2; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-social { display: grid; align-content: start; justify-items: end; text-align: right; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(242,244,247,.25); color: var(--livery-ink); transition: background .15s, border-color .15s, color .15s; }
.socials a:hover { background: var(--stripe); color: var(--livery); border-color: var(--stripe); text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.foot-hours span { white-space: nowrap; }
.foot-hours { margin-top: 22px; font-size: .84rem; line-height: 1.7; font-variant-numeric: tabular-nums; }
.foot-legal { border-top: 1px solid rgba(242,244,247,.12); padding-block: 22px; font-size: .78rem; line-height: 1.6; color: rgba(242,244,247,.55); max-width: 110ch; }
.foot-bottom { border-top: 1px solid rgba(242,244,247,.12); padding-block: 18px 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: .8rem; color: rgba(242,244,247,.55); }
.foot-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }

@media (max-width: 960px) {
  .models { grid-template-columns: 1fr; max-width: 560px; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .config-grid, .visit-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .foot-social { grid-column: 1 / -1; justify-items: start; text-align: left; }
}
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { width: 190%; right: -70%; bottom: 0; opacity: .22; }
  .hero-scrim { background: linear-gradient(180deg, color-mix(in srgb, var(--livery) 70%, transparent), color-mix(in srgb, var(--livery) 40%, transparent) 60%, var(--livery)); }
  .spec-plate { max-width: 360px; }
  .build-head { grid-template-columns: 1fr; }
  .blueprint { max-width: 460px; }
}
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline .bar { margin-right: 0; }
  .two { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav ul { gap: 14px; }
}

/* ---------- Multi-page additions ---------- */
.nav ul a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--stripe); padding-bottom: 5px; }
.menu-toggle { display: none; align-items: center; gap: 8px; background: transparent; color: var(--livery-ink); border: 1px solid rgba(242,244,247,.3); border-radius: 3px; padding: 8px 12px; font: 600 .85rem var(--f-body); cursor: pointer; }
.menu-toggle span { width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.btn-solid { background: var(--blue); color: var(--blue-ink); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.model-links { display: flex; gap: 16px; align-items: center; }
a.link-btn { display: inline-block; }

/* Inner-page header */
.page-hero { position: relative; background: var(--livery); color: var(--livery-ink); overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 18px; padding-block: clamp(52px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 900; max-width: 15ch; }
.page-hero .plate-label { color: rgba(242,244,247,.7); }
.page-hero-art { position: absolute; right: -8%; bottom: -10%; width: min(1100px, 82%); filter: blur(2.5px); opacity: .24; }
.page-hero-art svg { display: block; width: 100%; height: auto; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.jump a { font-size: .85rem; font-weight: 500; text-decoration: none; padding: 8px 14px; border: 1px solid rgba(242,244,247,.3); border-radius: 3px; }
.jump a:hover { background: var(--stripe); color: var(--livery); border-color: var(--stripe); }

/* Models page */
.model-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.model-feature:nth-of-type(even) .mf-stage { order: 2; }
.mf-stage { background: radial-gradient(ellipse at 50% 85%, rgba(255,255,255,.10), transparent 60%), var(--livery); border-radius: 4px; padding: clamp(24px, 4vw, 48px) clamp(12px, 2vw, 24px) 16px; position: sticky; top: 84px; }
.mf-stage svg { display: block; width: 100%; height: auto; }
.mf-stage .tag { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; color: rgba(242,244,247,.65); margin-bottom: 10px; }
.mf-body { display: grid; gap: 16px; min-width: 0; }
.mf-body h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.mf-body .tagline { font-size: 1.15rem; font-weight: 500; }
.mf-body p { color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 0; font-size: .9rem; }
.spec-table th, .spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); width: 42%; font-size: .85rem; }
.spec-table td { font-family: var(--f-mono); font-size: .84rem; }
.price-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.price-strip div { padding: 14px 16px; display: grid; gap: 4px; }
.price-strip div + div { border-left: 1px solid var(--line); }
.price-strip span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price-strip strong { font-family: var(--f-display); font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
.engines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.engine { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.engine h3 { font-size: 1.7rem; }
.engine .hp { font-family: var(--f-display); font-size: 3rem; font-weight: 900; line-height: .9; color: var(--blue); font-variant-numeric: tabular-nums; }
.engine .hp small { font-size: .9rem; font-family: var(--f-mono); font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: .08em; }
.engine p { color: var(--muted); font-size: .92rem; }
.engine .fits { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; color: var(--ink); border-top: 1px solid var(--line); padding-top: 10px; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { font: 500 .88rem var(--f-body); padding: 9px 16px; border-radius: 3px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; grid-auto-flow: dense; }
.g-tile { all: unset; box-sizing: border-box; cursor: zoom-in; display: grid; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.g-tile:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.g-tile { grid-template-rows: 1fr auto; }
.g-tile.wide { grid-column: span 2; grid-row: span 2; }
.g-tile.wide .g-stage { aspect-ratio: auto; height: 100%; }
.g-stage { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 6% 4% 2%; max-width: 100%; transition: transform .3s ease; }
.g-tile:hover .g-stage { transform: scale(1.02); }
.g-stage svg { width: 100%; height: auto; display: block; }
.bg-navy { background: radial-gradient(ellipse at 50% 90%, rgba(255,255,255,.12), transparent 60%), #13254a; }
.bg-alu { background: radial-gradient(ellipse at 50% 90%, rgba(0,0,0,.10), transparent 60%), linear-gradient(#dfe3e8, #b8bfc8); }
.bg-dusk { background: radial-gradient(ellipse at 50% 100%, rgba(224,150,70,.35), transparent 60%), linear-gradient(#24314f, #0d1426); }
.bg-slate { background: radial-gradient(ellipse at 50% 90%, rgba(255,255,255,.08), transparent 60%), #2a2f38; }
.g-cap { padding: 12px 16px 14px; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.g-cap strong { font-family: var(--f-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; }
.g-cap span { font-size: .84rem; color: var(--muted); }
dialog.lightbox { border: 0; padding: 0; width: min(1000px, calc(100% - 32px)); max-height: calc(100% - 32px); border-radius: 6px; background: var(--surface); color: var(--ink); }
dialog.lightbox::backdrop { background: rgba(6, 10, 20, .82); }
.lb-stage { aspect-ratio: auto; padding: 6% 4% 3%; }
.lb-body { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px 22px; }
.lb-body h2 { font-size: 2rem; }
.lb-body p { color: var(--muted); font-size: .92rem; }
.lb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lb-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.lb-nav { position: absolute; top: 40%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 1.3rem; cursor: pointer; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.gallery-note { margin-top: 28px; font-size: .9rem; color: var(--muted); }

/* About */
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.big-year { font-family: var(--f-display); font-weight: 900; font-size: clamp(6rem, 16vw, 13rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--blue); letter-spacing: -.01em; }
.big-year + p { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.prose { display: grid; gap: 18px; font-size: 1.08rem; max-width: 62ch; }
.prose p:first-child { font-size: 1.3rem; font-weight: 500; line-height: 1.5; }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 2px solid var(--ink); }
.numbers div { padding: 26px 20px; display: grid; gap: 6px; }
.numbers div + div { border-left: 1px solid var(--line); }
.numbers strong { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.8rem, 5vw, 4rem); line-height: .9; font-variant-numeric: tabular-nums; }
.numbers span { font-size: .85rem; color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.principles div { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.principles div:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
.principles h3 { font-size: 1.6rem; }
.principles p { color: var(--muted); }
.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.shop-grid .blueprint { opacity: .6; }
.station-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: st; }
.station-list li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.station-list li::before { content: counter(st); font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: var(--signal); }
.station-list strong { font-weight: 600; }
.station-list span { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.cta-band { background: var(--livery); color: var(--livery-ink); }
.cta-band .wrap { padding-block: clamp(48px, 7vw, 80px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.cta-band p { color: rgba(242,244,247,.75); margin-top: 10px; max-width: 52ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.info-stack { display: grid; gap: 16px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 22px 24px; display: grid; gap: 10px; }
.info-card h3 { font-size: 1.4rem; }
.info-card p, .info-card li { color: var(--muted); font-size: .93rem; }
.info-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.info-card ul.hours li { display: flex; justify-content: space-between; gap: 12px; }
.dept { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.dept strong { color: var(--ink); font-weight: 600; font-size: .95rem; }
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
.radio-row label { display: inline-flex; gap: 8px; align-items: center; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); font-size: .95rem; }
.tour-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tour-grid div { border-top: 3px solid var(--blue); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.tour-grid h3 { font-size: 1.5rem; }
.tour-grid p { color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-side { position: sticky; top: 84px; display: grid; gap: 18px; }
.faq-side input { font: 400 1rem var(--f-body); padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--ink); width: 100%; }
.faq-side nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.faq-side nav a { display: block; padding: 8px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.faq-side nav a:hover { color: var(--blue); }
.faq-group { display: grid; gap: 0; margin-bottom: 44px; scroll-margin-top: 80px; }
.faq-group h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.faq-group details { border-top: 1px solid var(--line); }
.faq-group details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-group summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 1.3rem; color: var(--blue); }
.faq-group details[open] summary::after { content: "–"; }
.faq-group details p { padding: 0 0 20px; color: var(--muted); max-width: 66ch; }
.faq-empty { color: var(--muted); }

@media (max-width: 960px) {
  .model-feature, .story, .shop-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .model-feature:nth-of-type(even) .mf-stage { order: 0; }
  .mf-stage, .faq-side { position: static; }
  .engines, .tour-grid { grid-template-columns: 1fr; max-width: 560px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers div:nth-child(3) { border-left: 0; }
  .numbers div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav ul { display: none; width: 100%; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.08); }
  .nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--stripe); padding-left: 12px; }
  .page-hero-art { width: 160%; right: -60%; opacity: .16; }
  .principles { grid-template-columns: 1fr; }
  .principles div:nth-child(even) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .g-tile.wide { grid-column: auto; grid-row: auto; }
  .g-tile.wide .g-stage { aspect-ratio: 16 / 10; height: auto; }
  .price-strip { grid-template-columns: 1fr; }
  .price-strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  .numbers { grid-template-columns: 1fr; }
  .numbers div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* Uploaded logo in the header */
.brand-logo { display: block; height: 48px; width: auto; max-width: 100%; }
@media (max-width: 560px) { .brand-logo { height: 40px; } }

/* ---------- Brand red accents, taken from the logo. Blue stays the primary color. ---------- */
:root { --red: #d42a1f; --red-hover: #b51f15; --red-text: #ffffff; }
.nav { border-bottom: 3px solid var(--red); }
.nav ul a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.btn-primary { background: var(--red); color: var(--red-text); }
.btn-primary:hover { background: var(--red-hover); }
.plate-label::before { background: var(--red); box-shadow: none; }
.heritage li::before { background: var(--red); }
.heritage h2 { border-bottom-color: var(--red); }
.model-foot { border-top-color: var(--signal); }
.timeline h3::before, .station-list li::before { color: var(--signal); }
.big-year { -webkit-text-stroke-color: var(--signal); }
.faq-group summary::after { color: var(--signal); }
.faq-side nav a:hover { color: var(--signal); }
.socials a:hover { background: var(--red); border-color: var(--red); color: var(--red-text); }
.site-footer { border-top-color: var(--red); }
.cta-band { border-top: 3px solid var(--red); }
@media (max-width: 760px) {
  .nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); }
}

/* ---------- Photography ---------- */
/* Home hero: photo blurred and dimmed behind the copy, with a soft glossy sheen */
.hero-photo { position: absolute; inset: -40px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; filter: blur(7px) saturate(1.2) brightness(.72); transform: scale(1.04); animation: hero-drift 30s ease-in-out infinite alternate; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(115deg, transparent 35%, rgba(255,255,255,.10) 48%, rgba(255,255,255,.02) 56%, transparent 66%),
  linear-gradient(180deg, rgba(255,255,255,.06), transparent 40%); }
.hero .hero-scrim { background:
  linear-gradient(90deg, var(--livery) 6%, color-mix(in srgb, var(--livery) 80%, transparent) 40%, color-mix(in srgb, var(--livery) 35%, transparent) 100%),
  linear-gradient(0deg, var(--livery) 0%, transparent 25%); }
/* Model photos on the home cards and the Models page */
.model-art { padding: 0; overflow: hidden; }
.model-art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.model-art .tag, .mf-stage .tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(10, 18, 36, .72); color: #f2f4f7; padding: 5px 9px; border-radius: 2px; margin: 0; }
.mf-stage { padding: 0; overflow: hidden; }
.mf-stage img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 760px) {
  .hero .hero-scrim { background: linear-gradient(180deg, color-mix(in srgb, var(--livery) 72%, transparent), color-mix(in srgb, var(--livery) 55%, transparent) 60%, var(--livery)); }
}

/* Contact form: hidden bot trap and result states */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
form.contact { position: relative; }
.form-note[data-kind="success"] { border-left-color: #2e8b57; }
.form-note[data-kind="error"] { border-left-color: var(--signal); }
form.contact .btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- Build process (five shops, no timeline) ---------- */
.timeline.timeline-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 960px) { .timeline.timeline-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .timeline.timeline-5 { grid-template-columns: 1fr; } }

/* Models page: single price cell for the Cabriolet */
.price-strip.price-strip-1 { grid-template-columns: 1fr; }
.price-strip-1 strong { font-size: 1.35rem; line-height: 1.15; }
.engine .hp { font-size: 2.6rem; }

/* ---------- Photo gallery ---------- */
.g-section { scroll-margin-top: 80px; }
.g-section + .g-section { margin-top: clamp(48px, 7vw, 80px); }
.g-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); }
.g-head > div { display: grid; gap: 8px; }
.g-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.g-count { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
/* Justified rows: tiles share a height and the last row stretches to fill */
.photo-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.p-tile { all: unset; box-sizing: border-box; display: block; position: relative; flex: 1 1 240px; height: clamp(150px, 17vw, 210px); overflow: hidden; border-radius: 3px; background: var(--livery); cursor: zoom-in; }
.p-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .3s ease; }
.p-tile:hover img { transform: scale(1.04); }
.p-tile:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.p-tile::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.p-tile:hover::after, .p-tile:focus-visible::after { transform: scaleX(1); }
.lb-figure { margin: 0; background: #05070b; display: grid; place-items: center; }
.lb-figure img { display: block; max-width: 100%; max-height: min(72vh, 900px); width: auto; height: auto; }
@media (max-width: 560px) { .photo-grid { gap: 6px; } .p-tile { flex-basis: 140px; height: 120px; } }

/* ---------- About: milestones and factory photo ---------- */
.milestones { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.milestones li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.milestones li > span { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--signal); padding-top: 4px; }
.milestones h3 { font-size: 1.6rem; margin-bottom: 8px; }
.milestones p { color: var(--muted); max-width: 70ch; }
.shop-photo { margin: 0; border-radius: 4px; overflow: hidden; }
.shop-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 560px) { .milestones li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- News carousel: one story at a time ---------- */
.page-hero-short .wrap { padding-block: clamp(40px, 6vw, 72px); }
.news-carousel { display: grid; gap: 18px; }
.news-viewport { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 6px; box-shadow: 0 18px 40px rgba(6, 12, 28, .18); }
.news-viewport::-webkit-scrollbar { display: none; }
.news-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); min-height: clamp(360px, 42vw, 480px); background: var(--surface); }
.news-photo { overflow: hidden; background: var(--livery); }
.news-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 7s ease-out; }
.news-slide.is-active .news-photo img { transform: scale(1.06); }
.news-body { padding: clamp(24px, 4vw, 48px); display: grid; gap: 14px; align-content: center; justify-items: start; border-left: 4px solid var(--red); }
.news-body h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.news-body p { color: var(--muted); max-width: 46ch; }
.news-date { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.news-tag { font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: var(--red); color: #fff; padding: 5px 10px; border-radius: 2px; }
.news-feature .news-body { background: var(--livery); color: var(--livery-ink); }
.news-feature .news-body p, .news-feature .news-date { color: rgba(242,244,247,.78); }
.news-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.news-count { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .12em; color: var(--muted); min-width: 64px; }
.news-arrows { display: flex; gap: 10px; }
.news-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.news-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.news-dots { display: flex; gap: 8px; }
.news-dots button { width: 26px; height: 4px; padding: 0; border-radius: 2px; border: 0; background: var(--line); cursor: pointer; transition: background .2s, width .2s; }
.news-dots button[aria-current="true"] { background: var(--red); width: 44px; }
.news-follow { background: var(--surface); border-top: 1px solid var(--line); }
.news-follow-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.news-follow-grid > div:first-child { display: grid; gap: 10px; max-width: 560px; }
.news-follow h2 { font-size: clamp(2rem, 4vw, 3rem); }
.news-follow p { color: var(--muted); }
@media (max-width: 760px) {
  .news-slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; }
  .news-photo img { aspect-ratio: 16 / 10; height: auto; }
  .news-body { border-left: 0; border-top: 4px solid var(--red); }
  .news-count { display: none; }
}

/* ---------- Page transitions ---------- */
/* Cross-document view transitions: the nav holds still while the page underneath crossfades */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .32s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
/* Fallback for browsers without them: fade the page in, and out when a link is followed (site.js) */
.page-fade body > header, .page-fade body > main, .page-fade body > footer { animation: vt-in .35s ease both; }
.page-leaving body > header, .page-leaving body > main, .page-leaving body > footer { opacity: 0; transition: opacity .15s ease; }
/* Hero copy settles in on every page */
.page-hero .wrap > *, .hero-copy > *, .hero .spec-plate { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .wrap > :nth-child(2), .hero-copy > :nth-child(2) { animation-delay: .06s; }
.page-hero .wrap > :nth-child(3), .hero-copy > :nth-child(3) { animation-delay: .12s; }
.page-hero .wrap > :nth-child(4), .hero-copy > :nth-child(4), .hero .spec-plate { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Home hero: the photo is the star, the copy shares the stage ---------- */
.hero-feature { min-height: clamp(560px, 74vh, 760px); display: grid; align-items: end; }
.hero-feature::before, .hero-feature::after { top: auto; bottom: 0; left: 0; right: 0; width: auto; opacity: 1; z-index: 1; }
.hero-feature .wrap { z-index: 2; }
.hero-feature::before { height: 6px; background: var(--red); bottom: 6px; }
.hero-feature::after { height: 6px; background: var(--stripe); }
.hero-feature .hero-photo { inset: 0 0 0 34%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%); }
.hero-feature .hero-photo::after { display: none; }
.hero-feature .hero-photo img { filter: saturate(1.08) contrast(1.04); object-position: 50% 62%; transform: none; animation: hero-settle 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-feature .hero-video { filter: none; opacity: 1; left: 34%; width: 66%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%); }
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-feature .hero-scrim { background:
  radial-gradient(ellipse at 18% 55%, rgba(255,255,255,.06), transparent 55%),
  linear-gradient(0deg, color-mix(in srgb, var(--livery) 70%, transparent) 0%, transparent 26%),
  linear-gradient(180deg, color-mix(in srgb, var(--livery) 45%, transparent) 0%, transparent 18%); }
.hero-feature .wrap { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 252px); align-items: end; padding-block: clamp(72px, 9vw, 120px) clamp(48px, 6vw, 80px); }
.hero-feature .hero-copy { max-width: 640px; }
.hero-feature h1 { font-size: clamp(2.8rem, 6.4vw, 5.8rem); text-shadow: 0 2px 24px rgba(6, 12, 28, .35); }
.hero-feature .hero-lede { font-size: 1.15rem; max-width: 46ch; color: rgba(242,244,247,.92); }
.hero-feature { overflow: visible; }
.hero-feature .spec-plate { align-self: end; z-index: 3; translate: 0 calc(clamp(48px, 6vw, 80px) + 55%); }
.hero-feature .heritage .stamp { margin-top: 12px; border-top: 0; padding-top: 0; }
.hero-caption { position: absolute; z-index: 1; right: clamp(16px, 4vw, 40px); top: 26px; margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(242,244,247,.8); }
.hero-caption::before { content: ""; width: 28px; height: 2px; background: var(--red); }
@media (max-width: 760px) {
  .hero-feature { min-height: 0; display: block; }
  .hero-feature .hero-media { position: relative; height: 68vw; min-height: 260px; }
  .hero-feature .hero-scrim { background: linear-gradient(0deg, var(--livery) 0%, transparent 45%); }
  .hero-feature .hero-photo, .hero-feature .hero-video { inset: 0; left: 0; width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero-feature .hero-photo img { object-position: 64% 70%; }
  .hero-feature .wrap { grid-template-columns: 1fr; margin-top: -56px; padding-block: 0 56px; }
  .hero-feature .spec-plate { margin-top: 0; translate: none; }
  .hero-caption { display: none; }
}

/* ---------- Build packages on the blue livery ---------- */
.block.livery { background: var(--livery); color: var(--livery-ink); }
.livery .plate-label, .livery .gallery-note { color: rgba(242,244,247,.72); }
.livery .section-head p { color: rgba(242,244,247,.78); }
.livery .table-scroll { color: var(--ink); border-color: rgba(255,255,255,.14); box-shadow: 0 18px 40px rgba(0,0,0,.25); }

/* ---------- Build section photo: blueprint duotone that turns to color on hover ---------- */
.build-photo { position: relative; margin: 0; border-radius: 4px; overflow: hidden; background: var(--blue); isolation: isolate; }
.build-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(1.1); mix-blend-mode: multiply; transition: filter .6s ease, mix-blend-mode .6s; }
.build-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, transparent 1px 28px),
  repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 28px); transition: opacity .6s; }
.build-photo::after { content: ""; position: absolute; inset: 12px; z-index: 1; pointer-events: none; border: 1px solid rgba(255,255,255,.55);
  -webkit-mask: linear-gradient(#000 0 0) top left / 22px 22px no-repeat, linear-gradient(#000 0 0) top right / 22px 22px no-repeat, linear-gradient(#000 0 0) bottom left / 22px 22px no-repeat, linear-gradient(#000 0 0) bottom right / 22px 22px no-repeat;
          mask: linear-gradient(#000 0 0) top left / 22px 22px no-repeat, linear-gradient(#000 0 0) top right / 22px 22px no-repeat, linear-gradient(#000 0 0) bottom left / 22px 22px no-repeat, linear-gradient(#000 0 0) bottom right / 22px 22px no-repeat; }
.build-photo figcaption { position: absolute; z-index: 2; left: 20px; bottom: 18px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(10, 18, 36, .55); padding: 4px 8px; }
.build-photo:hover img { filter: none; mix-blend-mode: normal; }
.build-photo:hover::before { opacity: 0; }

/* ---------- Inner-page headers: a blurred photo behind the copy ---------- */
.page-hero-photo { position: absolute; inset: -30px; }
.page-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; filter: blur(5px) saturate(1.1) brightness(.8); transform: scale(1.04); }
@media (max-width: 760px) { .page-hero-photo img { filter: blur(4px) saturate(1.1) brightness(.6); } }

/* ---------- 50th nav item ---------- */
.nav ul a.nav-50 { display: inline-block; background: var(--red); color: #fff; opacity: 1; font-family: var(--f-display); font-weight: 900; font-size: 1rem; letter-spacing: .08em; line-height: 1; padding: 7px 12px 6px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset; }
.nav ul a.nav-50:hover { background: var(--red-hover); text-decoration: none; }
.nav ul a.nav-50[aria-current="page"] { box-shadow: 0 0 0 2px #fff inset; padding-bottom: 6px; }
@media (max-width: 760px) {
  .nav ul a.nav-50, .nav ul a.nav-50[aria-current="page"] { display: block; margin: 4px 0 8px; padding: 11px 12px; box-shadow: none; }
}

/* ---------- 50th anniversary page ---------- */
.page-50 { --anniv: #5c120d; --anniv-deep: #2c0806; }
.page-50 .page-hero { background: var(--anniv); }
.page-50 .page-hero .hero-scrim { background:
  linear-gradient(90deg, var(--anniv) 6%, color-mix(in srgb, var(--anniv) 78%, transparent) 42%, color-mix(in srgb, var(--anniv) 30%, transparent) 100%),
  linear-gradient(0deg, var(--anniv) 0%, transparent 25%); }
.page-50 .page-hero { border-bottom: 6px solid var(--red); }
.page-50 .page-hero .plate-label::before { background: #fff; }
.page-50 .btn-primary { background: #fff; color: var(--anniv); }
.page-50 .btn-primary:hover { background: #f1e3e1; }
.anniv-mark { position: absolute; z-index: 1; right: clamp(16px, 6vw, 80px); bottom: clamp(20px, 4vw, 48px); display: grid; justify-items: end; pointer-events: none; }
.anniv-mark strong { font-family: var(--f-display); font-weight: 900; font-size: clamp(7rem, 20vw, 17rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.6); letter-spacing: -.02em; }
.anniv-mark span { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .2em; color: rgba(255,255,255,.75); margin-top: 8px; }
.hc-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hc-story .prose { max-width: none; }
.hc-story .prose p:first-of-type { font-size: 1.2rem; font-weight: 500; }
.hc-title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.hc-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hc-photo { margin: 0; border-radius: 4px; overflow: hidden; }
.hc-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hc-photo-main { grid-column: 1 / -1; border-bottom: 5px solid var(--red); }
.hc-photo-main img { aspect-ratio: 2 / 1; }
.hc-register { background: linear-gradient(135deg, var(--anniv), var(--anniv-deep)); color: #fff; }
.hc-register-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.hc-register .plate-label { color: rgba(255,255,255,.75); }
.hc-register .plate-label::before { background: #fff; }
.hc-register .section-head p { color: rgba(255,255,255,.8); }
.page-50 form.contact .btn { background: var(--red); color: #fff; padding-inline: 32px; }
.page-50 form.contact .btn:hover { background: var(--red-hover); }
.hc-attend { border: 0; padding: 0; margin: 0; }
.hc-attend legend { font-family: var(--f-body); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; padding: 0; }
@media (max-width: 960px) {
  .hc-story, .hc-register-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .anniv-mark { opacity: .35; }
}
.hc-attend .radio-row label { white-space: nowrap; }

/* 50th nav item: a thin glint of light that travels around its edge, plus a soft red glow */
@property --ring-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.nav ul a.nav-50 { position: relative; box-shadow: 0 0 10px 1px color-mix(in srgb, var(--red) 50%, transparent); }
.nav ul a.nav-50::before { content: ""; position: absolute; inset: -2px; padding: 2px; border-radius: 5px; pointer-events: none;
  background: conic-gradient(from var(--ring-angle), transparent 0deg 250deg, rgba(255,255,255,.95) 320deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: ring-spin 3.2s linear infinite; }
@keyframes ring-spin { to { --ring-angle: 360deg; } }

/* ---------- Home testimonials: a slim red band with twin racing stripes ---------- */
.testimonials { position: relative; overflow: hidden; background: linear-gradient(135deg, #5c120d, #2c0806); color: #fff; padding-block: clamp(40px, 5vw, 60px); }
.testimonials::before { content: ""; position: absolute; top: 0; bottom: 0; right: clamp(40px, 8vw, 120px); width: 64px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.12) 0 24px, transparent 24px 40px, rgba(255,255,255,.12) 40px 64px); transform: skewX(-12deg); }
.testimonials-grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) repeat(3, minmax(0, 1fr)); gap: 0; align-items: stretch; }
.testimonials-head { display: grid; gap: 10px; align-content: center; padding-right: 24px; }
.testimonials-head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.testimonials .plate-label { color: rgba(255,255,255,.85); }
.testimonials .plate-label::before { background: #fff; }
.quote-card { margin: 0; padding: 4px 24px; border-left: 1px solid rgba(255,255,255,.35); display: grid; gap: 14px; align-content: space-between; }
.quote-card blockquote { margin: 0; position: relative; padding-top: 26px; }
.quote-card blockquote::before { content: "\201C"; position: absolute; top: -14px; left: -2px; font-family: var(--f-display); font-weight: 900; font-size: 4rem; line-height: 1; color: rgba(255,255,255,.55); }
.quote-card p { font-size: 1rem; line-height: 1.5; }
.quote-card figcaption { display: grid; gap: 2px; }
.quote-card figcaption strong { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; }
.quote-card figcaption span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 22px; }
  .testimonials-head { padding-right: 0; }
  .quote-card { border-left: 0; border-top: 1px solid rgba(255,255,255,.35); padding: 18px 0 0; }
}

/* ---------- Homecoming: silver apparel pre-order badge ---------- */
.btn-silver { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 12px 20px 12px 16px; border-radius: 999px;
  font: 700 .82rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: #1a2232;
  background: linear-gradient(135deg, #f4f6f8, #b9c0ca 45%, #e6e9ee 60%, #a9b1bc); border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 8px 22px rgba(0,0,0,.3); transition: transform .15s ease, box-shadow .15s ease; }
.btn-silver::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #8a919c); box-shadow: 0 0 0 1px rgba(26,34,50,.3); }
.btn-silver:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 12px 28px rgba(0,0,0,.35); }

/* Phone and email as plain links (no copy buttons) */
.contact-line { margin: 0; }
.contact-line a { font-family: var(--f-mono); font-size: .9rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-line a:hover { border-bottom-color: var(--red); }
/* Home model card: the Cabriolet's "Call for pricing & availability" is a phrase, not a number */
.price-from strong.price-call { font-size: 1.15rem; line-height: 1.15; max-width: 14ch; }
