/* SDG Speedway Dienste GmbH – site styles
   Type: Archivo (variable, wdth 62–125, wght 100–900), self-hosted, SIL OFL 1.1 */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext-wdth-italic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --asphalt: #0c0d0f;
  --carbon: #15171a;
  --line: #2b2e33;
  --chalk: #edebe6;
  --smoke: #a3a6ad;
  --red: #d00303;
  --paper: #f3f2ef;
  --ink: #111214;
  --ink-soft: #55585e;
  --paper-line: #d9d7d1;

  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --display: 800 clamp(2.6rem, 7.4vw, 6.2rem)/0.92 var(--font);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--asphalt);
  color: var(--chalk);
  font: 400 1.0625rem/1.6 var(--font);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type roles ---------- */
.display {
  font: var(--display); font-stretch: 68%; text-transform: uppercase;
  letter-spacing: -0.01em; text-wrap: balance; margin: 0;
}
.h2 {
  font-weight: 800; font-stretch: 70%; text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 0.95; letter-spacing: -0.005em;
  text-wrap: balance; margin: 0;
}
.h3 {
  font-weight: 700; font-stretch: 80%; text-transform: uppercase;
  font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.1; letter-spacing: 0.01em; margin: 0;
}
.label {
  font-weight: 600; font-stretch: 87%; text-transform: uppercase;
  font-size: 0.78rem; letter-spacing: 0.14em; color: var(--smoke);
}
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; max-width: 60ch; margin: 0; }
.prose p { max-width: 65ch; margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(12,13,15,.92); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 118px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  text-decoration: none; font-weight: 600; font-stretch: 87%; text-transform: uppercase;
  font-size: 0.82rem; letter-spacing: 0.1em; color: var(--chalk); opacity: .82; padding-block: 6px;
}
.nav a:hover { opacity: 1; }
.nav .nav-cta { opacity: 1; border: 1px solid var(--chalk); padding: 9px 16px; }
.nav .nav-cta:hover { background: var(--chalk); color: var(--asphalt); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--chalk);
  font: 600 0.8rem var(--font); letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; cursor: pointer;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--asphalt); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
  .nav .nav-cta { margin-top: 14px; text-align: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 700 0.9rem/1 var(--font); font-stretch: 87%; text-transform: uppercase; letter-spacing: .1em;
  padding: 16px 22px; border: 1px solid transparent;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #b00202; }
.btn-ghost { border-color: rgba(237,235,230,.5); color: var(--chalk); }
.btn-ghost:hover { border-color: var(--chalk); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 5vh); padding-bottom: 0; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.hero > .wrap { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--asphalt); }
.hero-media .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-media .slide.is-active { opacity: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.12) translate3d(0, var(--py, 0px), 0); }
.hero-media .slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(-1.5%, var(--py, 0px), 0); } to { transform: scale(1.02) translate3d(0, var(--py, 0px), 0); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12,13,15,.62) 0%, rgba(12,13,15,.2) 55%, transparent 75%), linear-gradient(180deg, rgba(12,13,15,.55) 0%, rgba(12,13,15,.2) 35%, rgba(12,13,15,.8) 80%, var(--asphalt) 100%);
}
.hero .claim { color: var(--chalk); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.hero .claim::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.hero .display { max-width: 17ch; font-size: clamp(2.3rem, min(6.6vw, 8.2vh), 5.8rem); }
.hero .display .line { display: inline-block; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; margin-top: clamp(14px, 2.5vh, 40px); }
.hero-caption { margin: 0; font-weight: 600; font-stretch: 87%; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: #d8d6d1; display: flex; align-items: center; gap: 10px; }
.hero-caption::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.hero-dots { display: flex; gap: 8px; }
.dot { width: 56px; height: 22px; background: none; border: 0; padding: 0; cursor: pointer; display: grid; align-items: center; }
.dot i { display: block; height: 3px; background: rgba(237,235,230,.28); position: relative; overflow: hidden; }
.dot i::after { content: ""; position: absolute; inset: 0; background: var(--chalk); transform: scaleX(0); transform-origin: left; }
.dot.is-active i::after { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .dot.is-active i::after { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.hero .display em { font-style: normal; color: var(--red); }
.hero-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-top: clamp(20px, 3.5vh, 34px); }
.hero-text .lede { color: #d8d6d1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .hero-text { grid-template-columns: 1fr; } }


.facts { background: var(--asphalt); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 28px 20px 30px 0; border-right: 1px solid var(--line); display: grid; gap: 6px; }
.facts li + li { padding-left: 24px; }
.facts li:last-child { border-right: 0; }
.facts .value { font-weight: 800; font-stretch: 70%; font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.facts .value sup { color: var(--red); font-size: .5em; vertical-align: top; margin-left: 2px; position: relative; top: .15em; }
.facts .label { color: var(--smoke); line-height: 1.4; }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(2) { border-right: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts li:nth-child(3) { padding-left: 0; }
}

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding-block: clamp(72px, 11vw, 140px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .label { display: block; margin-bottom: 16px; }
.sec-head .lede { color: var(--smoke); }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

.light { background: var(--paper); color: var(--ink); }
.light .label, .light .sec-head .lede { color: var(--ink-soft); }

/* ---------- approach ---------- */
.approach-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.approach-grid figure { margin: 0; }
.approach-grid figcaption { margin-top: 10px; font-size: .85rem; color: var(--ink-soft); }
.milestones { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--paper-line); }
.milestones li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--paper-line); }
.milestones .yr { font-weight: 800; font-stretch: 72%; font-size: 1.6rem; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 7vw, 88px); border-top: 2px solid var(--ink); }
.ways > div { padding: 22px 24px 0 0; }
.ways > div + div { padding-left: 24px; border-left: 1px solid var(--paper-line); }
.ways p { margin: 10px 0 0; color: var(--ink-soft); }
@media (max-width: 860px) {
  .approach-grid { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .ways > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--paper-line); margin-top: 18px; }
}

/* ---------- phases ---------- */
.phase-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.phase-tab {
  background: none; border: 0; border-right: 1px solid var(--line); color: var(--smoke);
  text-align: left; padding: 18px 16px 20px; cursor: pointer; font: inherit; position: relative;
  display: grid; gap: 6px;
}
.phase-tab:last-child { border-right: 0; }
.phase-tab::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: transparent; transition: background-color .2s; }
.phase-tab .p-no { font-weight: 800; font-stretch: 70%; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; }
.phase-tab .p-name { font-weight: 600; font-stretch: 87%; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.phase-tab:hover { color: var(--chalk); }
.phase-tab[aria-selected="true"] { color: var(--chalk); background: var(--carbon); }
.phase-tab[aria-selected="true"]::before { background: var(--red); }
.phase-panel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); background: var(--carbon); }
.phase-panel .body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 20px; align-content: start; }
.phase-panel .media { min-height: 320px; }
.phase-panel .media img { width: 100%; height: 100%; object-fit: cover; }
.phase-panel ul.items { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.phase-panel ul.items li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.phase-panel .prose { color: #cfcdc8; }
@media (max-width: 860px) {
  .phase-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .phase-tab { padding: 14px 8px; }
  .phase-tab .p-name { font-size: .66rem; letter-spacing: .04em; }
  .phase-panel { grid-template-columns: 1fr; }
  .phase-panel .media { min-height: 220px; order: -1; }
  .phase-panel ul.items { grid-template-columns: 1fr; }
}

.venue-types { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 64px; align-items: start; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); padding: 8px 12px; font-size: .9rem; color: #d8d6d1; }
@media (max-width: 860px) { .venue-types { grid-template-columns: 1fr; } }

/* ---------- operations ---------- */
.ops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); }
.op { background: var(--paper); display: grid; grid-template-rows: auto 1fr; }
.op .media { aspect-ratio: 16 / 8; overflow: hidden; }
.op .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.op:hover .media img { transform: scale(1.03); }
.op .body { padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.op .body > p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.op ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.op li { font-size: .84rem; padding: 5px 10px; background: #e7e5e0; color: var(--ink); }
@media (max-width: 860px) { .ops { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .op .media img { transition: none; } }

/* ---------- projects (results sheet) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter {
  background: none; border: 1px solid var(--line); color: var(--smoke); cursor: pointer;
  font: 600 .8rem/1 var(--font); font-stretch: 87%; letter-spacing: .1em; text-transform: uppercase; padding: 11px 14px;
}
.filter:hover { color: var(--chalk); border-color: var(--smoke); }
.filter[aria-pressed="true"] { background: var(--chalk); color: var(--asphalt); border-color: var(--chalk); }
.filter .count { margin-left: 6px; opacity: .65; font-variant-numeric: tabular-nums; }

.sheet { border-top: 2px solid var(--chalk); }
.sheet-head, .venue { display: grid; grid-template-columns: 112px minmax(0, 3.4fr) minmax(0, 2fr) minmax(0, 2.6fr) 24px; gap: 20px; align-items: center; }
.sheet-head { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sheet-head span { font-weight: 600; font-stretch: 87%; text-transform: uppercase; font-size: .72rem; letter-spacing: .14em; color: var(--smoke); }
.venue { padding: 14px 0; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.venue:hover { background: var(--carbon); }
.venue .thumb { width: 112px; aspect-ratio: 16/10; overflow: hidden; background: var(--carbon); }
.venue .thumb img { width: 100%; height: 100%; object-fit: cover; }
.venue .name { font-weight: 700; font-stretch: 80%; font-size: clamp(1.15rem, 1.8vw, 1.45rem); text-transform: uppercase; line-height: 1.05; }
.venue .sub { display: block; font-weight: 400; font-stretch: 100%; text-transform: none; font-size: .9rem; color: var(--smoke); margin-top: 4px; line-height: 1.4; }
.venue .loc { color: #d8d6d1; font-size: .95rem; }
.venue .role { font-size: .95rem; }
.venue .flag { width: 10px; height: 10px; background: var(--red); justify-self: end; }
@media (max-width: 860px) {
  .sheet-head { display: none; }
  .venue { grid-template-columns: 96px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
  .venue .thumb { width: 96px; grid-row: span 3; }
  .venue .loc, .venue .role { font-size: .88rem; }
  .venue .flag { display: none; }
}

.subprojects { margin-top: clamp(64px, 8vw, 104px); }
.subprojects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
.sp { background: var(--asphalt); padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; }
.sp .label { color: var(--red); }
.sp p { margin: 0; color: #cfcdc8; }
.sp ul { margin: 0; padding-left: 1.1em; color: #cfcdc8; }
@media (max-width: 860px) { .subprojects-grid { grid-template-columns: 1fr; } }

/* ---------- events ---------- */
.events-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.big-count { margin: 18px 0 0; font-weight: 900; font-stretch: 62%; font-size: clamp(6rem, 17vw, 13rem); line-height: .8; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.big-count span { color: var(--red); }
.ev-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.ev-lists h3 { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.ev-lists ul { list-style: none; margin: 0; padding: 0; }
.ev-lists li { padding: 7px 0; border-bottom: 1px solid var(--paper-line); font-size: .96rem; display: grid; gap: 1px; }
.ev-lists li small { color: var(--ink-soft); font-size: .84rem; }
@media (max-width: 860px) { .events-top, .ev-lists { grid-template-columns: 1fr; } }

.mosaic { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 13vw, 190px); grid-auto-flow: dense; gap: 6px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: #ddd; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 22px 10px 8px; font-size: .74rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.m-w2 { grid-column: span 2; } .m-w3 { grid-column: span 3; } .m-h2 { grid-row: span 2; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-w2, .m-w3 { grid-column: span 2; } .m-h2 { grid-row: span 1; }
}

/* ---------- founder ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.portrait { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.portrait img { width: 100%; aspect-ratio: 3/4; object-fit: contain; object-position: 50% 100%; background: var(--red); }
.portrait figcaption { margin-top: 14px; display: grid; gap: 4px; }
.portrait figcaption strong { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.portrait figcaption span { color: var(--smoke); font-size: .92rem; }
.founder-grid .prose { color: #d8d6d1; }
.quote { margin: 36px 0; padding: 0 0 0 22px; border-left: 3px solid var(--red); font-weight: 500; font-stretch: 90%; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; max-width: 34ch; }
.quote footer { margin-top: 12px; font-size: .85rem; font-weight: 400; color: var(--smoke); font-stretch: 100%; }
.career { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.career li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.career .when { font-weight: 700; font-stretch: 80%; font-variant-numeric: tabular-nums; color: var(--smoke); font-size: .95rem; padding-top: 2px; }
.career li.now .when { color: var(--red); }
.career .what { display: grid; gap: 4px; }
.career .what strong { font-weight: 700; font-size: 1.05rem; }
.career .what span { color: var(--smoke); font-size: .94rem; }
.career .what p { margin: 4px 0 0; color: #cfcdc8; font-size: .95rem; max-width: 62ch; }
.founder-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.founder-meta p { margin: 6px 0 0; color: #d8d6d1; }
@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 420px; }
  .career li { grid-template-columns: 1fr; gap: 6px; }
  .founder-meta { grid-template-columns: 1fr; }
}

/* ---------- contact ---------- */
.contact { background: var(--carbon); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); }
.direct { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.direct li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.direct a { text-decoration: none; border-bottom: 1px solid var(--red); }
.direct .val { overflow-wrap: anywhere; }
form.enquiry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-stretch: 87%; text-transform: uppercase; font-size: .74rem; letter-spacing: .14em; color: var(--smoke); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--asphalt); color: var(--chalk); border: 1px solid var(--line);
  font: 400 1rem/1.4 var(--font); padding: 14px 14px; border-radius: 0;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--chalk); }
.hp { position: absolute; left: -9999px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--smoke); max-width: 46ch; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-left: 3px solid var(--red); background: var(--asphalt); }
@media (max-width: 860px) { .contact-grid, form.enquiry { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 40px; color: var(--smoke); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.foot-grid h4 { margin: 0 0 12px; font-weight: 600; font-stretch: 87%; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--chalk); }
.foot-grid p { margin: 0; line-height: 1.7; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--chalk); }
.foot-brand img { width: 260px; max-width: 100%; }
.foot-brand .claim { color: var(--chalk); font-weight: 600; font-stretch: 87%; }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- legal pages ---------- */
.legal { padding-top: calc(var(--header-h) + 64px); padding-bottom: 96px; }
.legal .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 72px; margin-top: 48px; }
.legal h2 { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.6rem; margin: 0 0 20px; }
.legal h3 { font-weight: 700; font-size: 1rem; margin: 28px 0 6px; }
.legal p { margin: 0 0 10px; color: #d8d6d1; max-width: 60ch; }
.legal .note { border-left: 3px solid var(--red); padding: 12px 16px; background: var(--carbon); margin-top: 32px; max-width: 80ch; }
@media (max-width: 860px) { .legal .cols { grid-template-columns: 1fr; } }

/* ---------- motion ---------- */
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
.hero .display, .hero .claim, .hero-text { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .display { animation-delay: .05s; } .hero-text { animation-delay: .15s; }
@media (prefers-reduced-motion: reduce) { .hero .display, .hero .claim, .hero-text { animation: none; } }

/* ---------- motion & dynamics ---------- */
.hero:hover 
.hero .display .line { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .display .line:nth-child(2) { animation-delay: .08s; }
.hero .display .line:nth-child(3) { animation-delay: .16s; }
.hero .display { animation: none; }

.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--asphalt); padding-block: 16px; }
.ticker-track { display: flex; width: max-content; animation: tick 62s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; }
.ticker li { font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1; color: var(--chalk); white-space: nowrap; padding-inline: 22px; display: flex; align-items: center; gap: 44px; }
.ticker li::after { content: ""; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

.js .reveal.is-pending { opacity: 0; transform: translateY(36px); }
.js .reveal { transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }

.phase-tab .p-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; overflow: hidden; }
.phase-tab .p-bar::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.phase-tabs.is-auto .phase-tab[aria-selected="true"] .p-bar::after { animation: fill 7000ms linear forwards; }
.phase-panel { animation: panelin .6s ease both; }
@keyframes panelin { from { transform: translateY(10px); opacity: .4; } to { transform: none; opacity: 1; } }
.phase-panel .media { overflow: hidden; }
.phase-panel .media img { animation: kenburns 9s ease-out forwards; }

.venue-preview { position: fixed; left: 0; top: 0; width: 340px; aspect-ratio: 16/10; z-index: 40; pointer-events: none; opacity: 0; transform: translate3d(-9999px,0,0); transition: opacity .25s ease; box-shadow: 0 24px 60px rgba(0,0,0,.55); border: 1px solid var(--line); }
.venue-preview.is-on { opacity: 1; }
.venue-preview img { width: 100%; height: 100%; object-fit: cover; }
.venue { cursor: default; }
.venue .name { transition: transform .25s ease, color .25s ease; }
.venue:hover .name { transform: translateX(8px); }
.venue:hover .flag { transform: scale(1.6); }
.venue .flag { transition: transform .25s ease; }

.mosaic figure img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mosaic figure:hover img { transform: scale(1.06); }

.h2::after { content: ""; display: block; width: 0; height: 3px; background: var(--red); margin-top: 18px; transition: width .9s cubic-bezier(.2,.7,.2,1) .2s; }
.reveal:not(.is-pending) .h2::after, .h2.is-lit::after { width: 64px; }

@media (prefers-reduced-motion: reduce) {
  .hero-media .slide { transition: none; }
  .hero-media img, .hero-media .slide.is-active img, .phase-panel .media img { animation: none; transform: none; }
  .ticker-track { animation: none; }
  .js .reveal.is-pending { opacity: 1; transform: none; }
  .phase-panel, .hero .display .line { animation: none; }
  .dot.is-active i::after { animation: none; transform: scaleX(1); }
}

/* ---------- first screen: key figures + ticker inside the hero ---------- */
.hero-bottom { margin-top: clamp(18px, 3vh, 36px); }
.hero .facts { background: rgba(12,13,15,.78); backdrop-filter: blur(6px); border-top: 1px solid rgba(237,235,230,.14); border-bottom: 1px solid var(--line); }
.hero .facts li { padding-block: clamp(14px, 2.2vh, 26px); }
.hero .facts .value { font-size: clamp(2rem, min(4.4vw, 6.8vh), 4.8rem); }
.hero .ticker { padding-block: clamp(10px, 1.6vh, 16px); }
.hero .ticker li { font-size: clamp(1.1rem, min(2vw, 2.8vh), 1.8rem); }
@media (max-width: 760px) {
  .hero .facts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero .facts li, .hero .facts li + li { padding: 12px 6px 12px 8px; border-right: 1px solid var(--line); border-top: 0; }
  .hero .facts li:first-child { padding-left: 0; }
  .hero .facts li:last-child { border-right: 0; }
  .hero .facts .value { font-size: 1.7rem; }
  .hero .facts .label { font-size: .58rem; letter-spacing: .06em; }
  .hero .lede { font-size: 1rem; }
  .hero-actions .btn { padding: 13px 16px; }
}

/* ---------- larger logo on the first screen, shrinks once scrolled ---------- */
:root { --header-h: 88px; }
.brand img { width: clamp(150px, 13vw, 210px); transition: width .3s ease; }
.site-header .wrap { transition: height .3s ease; }
.site-header.is-solid .wrap { height: 68px; }
.site-header.is-solid .brand img { width: 128px; }
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .brand img { width: 140px; }
  .site-header.is-solid .wrap { height: 64px; }
  .site-header.is-solid .brand img { width: 118px; }
}
@media (prefers-reduced-motion: reduce) { .brand img, .site-header .wrap { transition: none; } }

/* ---------- LinkedIn button with running chevrons ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn-chevrons { gap: 14px; }
.chevrons { display: inline-flex; align-items: center; gap: 3px; }
.chevrons i { font-size: 0; display: inline-block; width: 9px; height: 9px; border-top: 3px solid #fff; border-right: 3px solid #fff; transform: rotate(45deg); opacity: .55; }
.btn-chevrons:hover .chevrons i, .btn-chevrons:focus-visible .chevrons i { animation: chev 0.9s ease-in-out infinite; }
.btn-chevrons:hover .chevrons i:nth-child(2), .btn-chevrons:focus-visible .chevrons i:nth-child(2) { animation-delay: .15s; }
.btn-chevrons:hover .chevrons i:nth-child(3), .btn-chevrons:focus-visible .chevrons i:nth-child(3) { animation-delay: .3s; }
@keyframes chev { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .btn-chevrons:hover .chevrons i { animation: none; opacity: 1; } }
.founder-grid .btn-chevrons { margin-top: -4px; }

/* ---------- founder: name headline, slanted red panel, bold quote ---------- */
.founder-name { margin: 16px 0 0; font-weight: 900; font-stretch: 68%; text-transform: uppercase; font-size: clamp(3rem, 7vw, 6rem); line-height: .88; letter-spacing: -0.01em; }
.founder-name span { display: block; color: var(--chalk); }
.founder-name em { display: block; font-style: normal; color: var(--red); }
.founder-name::after { content: ""; display: block; width: 64px; height: 3px; background: var(--red); margin-top: 20px; }
.founder-claim { margin: 18px 0 0; font-weight: 700; font-stretch: 80%; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: #d8d6d1; }

.portrait-frame { position: relative; aspect-ratio: 3 / 4; isolation: isolate; }
.portrait-frame::before { content: ""; position: absolute; inset: 6% 0 0 0; z-index: -1; background: var(--red);
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%); }
.portrait-flag { position: absolute; z-index: 1; right: 6%; top: 1%; width: 72px; height: 24px;
  background: conic-gradient(var(--chalk) 25%, transparent 0 50%, var(--chalk) 0 75%, transparent 0) 0 0 / 24px 24px; }
.portrait .portrait-frame img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; object-position: 50% 100%; background: none; }
.portrait figcaption strong { font-size: 1.2rem; }

.quote { border-left: 0; padding-left: 0; max-width: 44ch; }
.quote p { margin: 0; font-style: italic; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.08; letter-spacing: .005em; color: var(--chalk); }
.quote p strong { color: var(--red); font-weight: 900; }
.quote footer { margin-top: 14px; }

/* ---------- header: current section + filled CTA ---------- */
.nav a:not(.nav-cta) { position: relative; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a.is-current { opacity: 1; }
.nav a.is-current::after, .nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav .nav-cta { background: var(--red); border-color: var(--red); color: #fff; }
.nav .nav-cta:hover { background: #b00202; border-color: #b00202; color: #fff; }
@media (max-width: 900px) { .nav a:not(.nav-cta)::after { bottom: 8px; right: auto; width: 40px; } }
@media (prefers-reduced-motion: reduce) { .nav a:not(.nav-cta)::after { transition: none; } }

/* ---------- About SDG: big statement + race-line timeline ---------- */
.about-intro { display: grid; gap: 22px; }
.about-quote { margin: 0; font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(2.2rem, 5.2vw, 4.6rem); line-height: .95; letter-spacing: -0.005em; max-width: 20ch; text-wrap: balance; color: var(--ink); }
.about-quote em { font-style: italic; color: var(--red); }
.about-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 48px; max-width: 980px; margin-top: 8px; }
.about-sub p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
@media (max-width: 760px) { .about-sub { grid-template-columns: 1fr; } }

.timeline { --p: 0; position: relative; margin-top: clamp(56px, 8vw, 96px); }
.tl-track { position: absolute; left: 0; right: 0; top: 86px; height: 4px; background: var(--paper-line); }
.tl-fill { position: absolute; inset: 0; background: var(--red); transform: scaleX(var(--p)); transform-origin: left; }
.tl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.tl-stop { position: relative; display: grid; gap: 12px; align-content: start; }
.tl-year { order: -2; font-weight: 900; font-stretch: 65%; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; height: 64px; display: flex; align-items: flex-end; transition: color .4s ease; }
.tl-dot { order: -1; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 4px solid var(--paper-line); margin: 3px 0 10px -1px; position: relative; z-index: 1; transition: border-color .4s ease, background-color .4s ease, transform .4s ease; }
.tl-stop.is-lit .tl-dot { border-color: var(--red); background: var(--red); transform: scale(1.15); }
.tl-stop.is-lit .tl-year { color: var(--red); }
.tl-media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.tl-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.tl-stop.is-lit .tl-media img { filter: none; }
.tl-stop:hover .tl-media img { transform: scale(1.05); }
.tl-title { margin: 6px 0 0; font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; }
.tl-stop p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) {
  .tl-track { top: 0; bottom: 0; left: 7px; right: auto; width: 4px; height: auto; }
  .tl-fill { transform: scaleY(var(--p)); transform-origin: top; }
  .tl-list { grid-template-columns: 1fr; gap: 40px; padding-left: 40px; }
  .tl-dot { position: absolute; left: -40px; top: 22px; margin: 0; }
  .tl-year { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-media img { filter: none; transition: none; }
  .tl-year, .tl-dot { transition: none; }
}
.ways { margin-top: clamp(56px, 7vw, 88px); }

/* ---------- one size for all section headings (matches About SDG) ---------- */
:root { --h-section: clamp(2.2rem, 5.2vw, 4.6rem); }
.h2, .about-quote, .founder-name { font-size: var(--h-section); line-height: .95; }
.founder-name { line-height: .9; }
.subprojects .h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.sec-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }
.events-top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 1100px) { .events-top { grid-template-columns: 1fr; } }

/* ---------- menu CTA appears only once the hero button has scrolled away ---------- */
@media (min-width: 1181px) {
  .nav .nav-cta { transition: opacity .35s ease, transform .35s ease, visibility .35s, background-color .2s ease; }
  .site-header.cta-hidden .nav .nav-cta { opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .nav .nav-cta { transition: none; } }
.about-quote { max-width: 26ch; }

/* ---------- timeline: 2000 shown as the roots before SDG (grey), red line starts at 2006 ---------- */
.tl-track::after { content: ""; position: absolute; left: 0; top: 0; background: #a9a6a0; width: var(--roots-len, 0px); height: 100%; }
.tl-roots .tl-year, .tl-roots.is-lit .tl-year { color: #9a978f; }
.tl-roots.is-lit .tl-dot { border-color: #a9a6a0; background: #a9a6a0; transform: none; }
@media (max-width: 900px) { .tl-track::after { width: 100%; height: var(--roots-len, 0px); } }

/* ---------- The motorsport ecosystem ---------- */
.eco { background: var(--asphalt); border-top: 1px solid var(--line); }
.eco-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.eco-wheel { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin-inline: auto; }
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco-lines line { stroke: var(--line); stroke-width: .35; transition: stroke .35s ease, stroke-width .35s ease; }
.eco-lines line.is-on { stroke: var(--red); stroke-width: .7; }
.eco-lines circle { fill: none; stroke: var(--line); stroke-width: .3; stroke-dasharray: 1 1.4; }
.eco-hub { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--red); display: grid; place-content: center; text-align: center; gap: 4px; color: #fff; box-shadow: 0 0 0 10px rgba(208,3,3,.12); }
.eco-hub strong { font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: clamp(1rem, 2vw, 1.5rem); line-height: 1; }
.eco-hub small { font-weight: 600; font-stretch: 87%; text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; opacity: .9; }
.eco-hub-flag { justify-self: center; width: 30px; height: 10px; margin-bottom: 4px;
  background: conic-gradient(#fff 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0 / 10px 10px; }
.eco-node { --a: calc(var(--i) * 60deg - 90deg); position: absolute; left: calc(50% + 40% * cos(var(--a))); top: calc(50% + 40% * sin(var(--a)));
  transform: translate(-50%, -50%); width: 25%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); background: var(--carbon);
  color: var(--smoke); cursor: pointer; display: grid; place-content: center; gap: 4px; text-align: center; padding: 6px; font: inherit;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease; }
.eco-node:hover { color: var(--chalk); border-color: var(--smoke); }
.eco-node[aria-selected="true"] { background: var(--chalk); color: var(--asphalt); border-color: var(--chalk); transform: translate(-50%, -50%) scale(1.08); }
.eco-num { font-weight: 800; font-stretch: 70%; font-size: .8rem; color: var(--red); }
.eco-name { font-weight: 700; font-stretch: 80%; text-transform: uppercase; font-size: clamp(.62rem, 1.05vw, .82rem); line-height: 1.1; letter-spacing: .02em; }

.eco-panel { display: grid; gap: 24px; animation: panelin .5s ease both; }
.eco-media { display: grid; grid-template-columns: 3fr 2fr; gap: 8px; }
.eco-media figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--carbon); }
.eco-media img { width: 100%; height: 100%; object-fit: cover; }
.eco-media figcaption { position: absolute; right: 6px; bottom: 4px; font-size: .62rem; color: rgba(255,255,255,.8); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.eco-body { display: grid; gap: 14px; }
.eco-title { margin: 0; font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: .95; }
.eco-body .prose { color: #cfcdc8; }
.eco-body .prose p { margin: 0 0 .7em; }
.eco-focus ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.eco-focus li { padding-left: 18px; position: relative; color: var(--chalk); }
.eco-focus li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--red); }
.eco-tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.eco-tags li { border: 1px solid var(--line); padding: 6px 10px; font-size: .85rem; color: #d8d6d1; }

@media (max-width: 900px) {
  .eco-grid { grid-template-columns: 1fr; }
  .eco-wheel { aspect-ratio: auto; max-width: none; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .eco-lines, .eco-hub { display: none; }
  .eco-node { position: static; transform: none; width: auto; aspect-ratio: auto; border-radius: 0; flex: 0 0 auto; padding: 10px 14px; scroll-snap-align: start; display: flex; gap: 8px; align-items: center; }
  .eco-node[aria-selected="true"] { transform: none; }
  .eco-name { font-size: .78rem; white-space: nowrap; }
}
@supports not (left: calc(1% * cos(0deg))) {
  .eco-node:nth-of-type(1) { left: 50%; top: 10%; } .eco-node:nth-of-type(2) { left: 84.6%; top: 30%; }
  .eco-node:nth-of-type(3) { left: 84.6%; top: 70%; } .eco-node:nth-of-type(4) { left: 50%; top: 90%; }
  .eco-node:nth-of-type(5) { left: 15.4%; top: 70%; } .eco-node:nth-of-type(6) { left: 15.4%; top: 30%; }
}
@media (prefers-reduced-motion: reduce) { .eco-panel { animation: none; } .eco-node, .eco-lines line { transition: none; } }

.eco-media { grid-template-rows: clamp(180px, 20vw, 300px); }
.eco-media figure { aspect-ratio: auto; height: 100%; }
@media (max-width: 900px) { .eco-media { grid-template-rows: clamp(150px, 42vw, 240px); } }

.eco-quote { margin: 4px 0 6px; padding: 0; max-width: 40ch; }
.eco-quote p { margin: 0; font-style: italic; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.1; color: var(--chalk); }
.eco-quote strong { color: var(--red); font-weight: 900; }
.eco-quote { max-width: none; }
.eco-name { hyphens: manual; overflow-wrap: normal; max-width: 100%; }
.eco-node { overflow: hidden; }
@media (min-width: 901px) { .eco-node { padding: 6px 13%; } }

/* ---------- Operations: four service areas with sub-topics ---------- */
.ops { background: var(--asphalt); border-top: 1px solid var(--line); }
.ops-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: clamp(56px, 7vw, 96px); }
.ops-tile { background: var(--carbon); padding: 26px 24px 28px; text-decoration: none; display: grid; gap: 10px; align-content: start; position: relative; transition: background-color .3s ease; }
.ops-tile::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.ops-tile:hover { background: #1c1e22; }
.ops-tile:hover::after { transform: scaleX(1); }
.ops-no { font-weight: 900; font-stretch: 65%; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.ops-name { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.05; color: var(--chalk); }
.ops-tile ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.ops-tile li { color: var(--smoke); font-size: .92rem; padding-left: 16px; position: relative; }
.ops-tile li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 2px; background: var(--red); }

.ops-layout { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.ops-rail { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 6px; }
.ops-rail a { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 8px; text-decoration: none; color: var(--smoke); padding: 8px 0; border-left: 2px solid var(--line); padding-left: 12px; transition: color .25s ease, border-color .25s ease; }
.ops-rail a span { font-weight: 800; font-stretch: 70%; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.ops-rail a em { font-style: normal; font-weight: 600; font-stretch: 87%; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; line-height: 1.2; }
.ops-rail a:hover { color: var(--chalk); }
.ops-rail a.is-current { color: var(--chalk); border-left-color: var(--red); }
.ops-rail a.is-current span { color: var(--red); }

.ops-chapters { display: grid; gap: clamp(72px, 9vw, 120px); }
.ops-chapter { scroll-margin-top: calc(var(--header-h) + 24px); }
.ops-chapter-head { display: flex; align-items: flex-end; gap: clamp(16px, 2.5vw, 32px); padding-bottom: 22px; margin-bottom: 28px; border-bottom: 2px solid var(--chalk); }
.ops-big-no { font-weight: 900; font-stretch: 62%; font-size: clamp(4rem, 9vw, 8rem); line-height: .8; color: var(--red); font-variant-numeric: tabular-nums; }
.ops-chapter-title { margin: 0; font-weight: 900; font-stretch: 68%; text-transform: uppercase; font-size: var(--h-section); line-height: .92; }
.ops-chapter-tag { margin: 8px 0 0; font-weight: 600; font-stretch: 87%; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--smoke); }
.ops-cards { display: grid; gap: 24px; }
.ops-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ops-card { background: var(--carbon); display: grid; grid-template-rows: auto 1fr; scroll-margin-top: calc(var(--header-h) + 24px); }
.ops-card-media { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; height: clamp(200px, 20vw, 300px); }
.ops-card-media figure { margin: 0; position: relative; overflow: hidden; }
.ops-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.ops-card:hover .ops-card-media img { transform: scale(1.04); }
.ops-card-media figcaption { position: absolute; right: 6px; bottom: 4px; font-size: .62rem; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.ops-card-body { padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 14px; align-content: start; }
.ops-card-title { margin: 0; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1; }
.ops-card-body .prose { color: #cfcdc8; }
.ops-card-body .prose p { margin: 0 0 .7em; }
.ops-cards-1 .ops-card { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto; }
.ops-cards-1 .ops-card-media { height: auto; min-height: 360px; grid-auto-flow: row; grid-auto-rows: 1fr; }
@media (max-width: 1100px) {
  .ops-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-layout { grid-template-columns: 1fr; }
  .ops-rail { display: none; }
}
@media (max-width: 760px) {
  .ops-overview { grid-template-columns: 1fr; }
  .ops-cards-2, .ops-cards-1 .ops-card { grid-template-columns: 1fr; }
  .ops-cards-1 .ops-card-media { min-height: 0; height: 220px; grid-auto-flow: column; }
  .ops-card-media { height: 200px; }
}
@media (prefers-reduced-motion: reduce) { .ops-tile::after, .ops-card-media img { transition: none; } }
.ops-card-media figure, .ops-card, .ops-chapter, .ops-cards > * { min-width: 0; }
.ops-card-media { grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 1100px) { .ops-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .ops-cards-2, .ops-cards-1 .ops-card { grid-template-columns: minmax(0, 1fr); } }
.ops-chapter-head > div { min-width: 0; }
@media (max-width: 760px) {
  .ops-chapter-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ops-big-no { font-size: 3.2rem; }
  .ops-chapter-title { hyphens: auto; overflow-wrap: anywhere; }
}
/* the old card-grid rule for .ops no longer applies to the section */
section.ops { display: block; gap: 0; border: 0; border-top: 1px solid var(--line); background: var(--asphalt); }

.ops-quote { margin: 0 0 28px; }
.ops-note { margin: 4px 0 0; padding: 12px 14px; border-left: 3px solid var(--line); color: var(--smoke); font-size: .86rem; line-height: 1.5; }
.ops-refs { margin-top: 6px; }
.ops-refs ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ops-refs a { display: grid; gap: 2px; padding: 12px 14px; background: var(--asphalt); text-decoration: none; transition: background-color .2s ease; }
.ops-refs a:hover { background: #1c1e22; }
.ops-refs strong { font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: 1.05rem; color: var(--chalk); }
.ops-refs span { color: var(--smoke); font-size: .86rem; }
#member-clubs { scroll-margin-top: calc(var(--header-h) + 24px); }

/* burger menu from 1180px down (seven menu items no longer fit in one line) */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--asphalt); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
  .nav .nav-cta { margin-top: 14px; text-align: center; }
  .nav a:not(.nav-cta)::after { bottom: 8px; right: auto; width: 40px; }
  .site-header.is-solid .wrap { height: var(--header-h); }
}

/* ---------- hero headline on two lines (desktop) ---------- */
@media (min-width: 761px) {
  .hero .display { max-width: none; }
  .hero .display .line:nth-child(1) { display: block; }
}
.hero::after { background: linear-gradient(90deg, rgba(12,13,15,.72) 0%, rgba(12,13,15,.38) 62%, rgba(12,13,15,.12) 90%),
  linear-gradient(180deg, rgba(12,13,15,.55) 0%, rgba(12,13,15,.2) 35%, rgba(12,13,15,.8) 80%, var(--asphalt) 100%); }
@media (max-width: 760px) { .hero .display { font-size: clamp(1.9rem, 8.4vw, 2.4rem); } }
@media (max-width: 760px) { .hero-actions .btn-ghost { display: none; } }

/* ---------- hero headline: more air between letters, words and lines ---------- */
.hero .display { font-stretch: 74%; letter-spacing: .01em; word-spacing: .12em; line-height: 1.02; }

/* ---------- all large headings: same looser setting as the hero ---------- */
.h2, .about-quote, .founder-name, .ops-chapter-title, .eco-title, .big-count { font-stretch: 76%; letter-spacing: .01em; word-spacing: .1em; line-height: 1.02; }
.ops-card-title, .h3, .tl-title, .ops-name, .founder-claim, .venue .name { font-stretch: 84%; letter-spacing: .015em; word-spacing: .06em; }
.quote p, .eco-quote p { font-stretch: 82%; letter-spacing: .01em; word-spacing: .08em; line-height: 1.15; }
.tl-year, .ops-big-no, .ops-no, .facts .value { font-stretch: 72%; }
.events-top { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
#events-title { overflow-wrap: normal; hyphens: manual; }

/* ---------- Member clubs: own section ---------- */
.clubs { background: var(--carbon); border-top: 1px solid var(--line); }
.clubs .sec-head .eco-quote { margin: 0; align-self: end; }
.clubs-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.clubs-media { display: grid; grid-template-columns: 3fr 2fr; gap: 4px; height: clamp(280px, 30vw, 460px); }
.clubs-media figure { margin: 0; overflow: hidden; min-width: 0; }
.clubs-media img { width: 100%; height: 100%; object-fit: cover; }
.clubs-body { display: grid; gap: 18px; align-content: start; }
.clubs-body .prose { color: #cfcdc8; }
.clubs-body .prose p { margin: 0 0 .7em; }
.clubs .ops-refs a { background: var(--asphalt); }
@media (max-width: 900px) { .clubs-grid { grid-template-columns: minmax(0, 1fr); } .clubs-media { height: 240px; } }
.phase-link { justify-self: start; margin-top: 4px; }

/* ---------- alternating section grounds: About light · Services black · Operations anthracite · Member Clubs black · Projects anthracite · Events light · Founder black · Contact anthracite ---------- */
section.ops { background: var(--carbon); }
.ops-overview { background: var(--line); }
.ops-tile { background: var(--asphalt); }
.ops-tile:hover { background: #111316; }
.ops-card { background: var(--asphalt); }
.ops-refs a { background: var(--carbon); }
.clubs { background: var(--asphalt); }
.clubs .ops-refs a { background: var(--carbon); }
.clubs .ops-refs a:hover { background: #1c1e22; }
#projects { background: var(--carbon); border-top: 1px solid var(--line); }
#projects .venue:hover { background: var(--asphalt); }
#projects .venue .thumb { background: var(--asphalt); }
#projects .sp { background: var(--carbon); }

/* ---------- hero: lighter overlay; darken only behind the text, keep the photo bright ---------- */
.hero::after { background:
  linear-gradient(90deg, rgba(12,13,15,.62) 0%, rgba(12,13,15,.34) 38%, rgba(12,13,15,.08) 62%, transparent 78%),
  linear-gradient(180deg, rgba(12,13,15,.45) 0%, transparent 22%, transparent 62%, rgba(12,13,15,.55) 88%, rgba(12,13,15,.8) 100%); }
.hero .display, .hero .lede, .hero .claim, .hero-caption { text-shadow: 0 2px 18px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.45); }
.hero::after { background:
  linear-gradient(90deg, rgba(12,13,15,.66) 0%, rgba(12,13,15,.44) 36%, rgba(12,13,15,.12) 60%, transparent 76%),
  linear-gradient(180deg, rgba(12,13,15,.45) 0%, transparent 22%, transparent 62%, rgba(12,13,15,.55) 88%, rgba(12,13,15,.8) 100%); }

/* hero secondary button: own dark backing so it stays readable on bright photos */
.hero .btn-ghost { background: rgba(12,13,15,.55); border-color: rgba(237,235,230,.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hero .btn-ghost:hover { background: rgba(12,13,15,.75); border-color: var(--chalk); }

/* ---------- hero: smooth Ken Burns (no jitter) ----------
   zoom runs on the image on its own GPU layer; the scroll parallax moves the container instead,
   so the two no longer fight over the same transform */
.hero-media { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.hero-media img { transform: scale(1.06); will-change: transform; backface-visibility: hidden; }
.hero-media .slide.is-active img { animation: kenburns-smooth 12s linear forwards; }
@keyframes kenburns-smooth { from { transform: scale(1.06) translate3d(-1%, 0, 0); } to { transform: scale(1.0) translate3d(0, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .hero-media, .hero-media img, .hero-media .slide.is-active img { transform: none; animation: none; } }

/* ---------- hero: no zoom, no parallax – still images with soft crossfade only (jitter fix) ---------- */
.hero-media { transform: none !important; will-change: auto; }
.hero-media img, .hero-media .slide.is-active img { transform: none !important; animation: none !important; will-change: auto; }

/* ---------- Engagement models (replaces the three plain blocks) ---------- */
.engage { margin-top: clamp(64px, 8vw, 104px); display: grid; gap: 28px; }
.engage-head { display: grid; gap: 12px; }
.engage-title { margin: 0; font-weight: 800; font-stretch: 76%; letter-spacing: .01em; word-spacing: .1em; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; color: var(--ink); }
.engage-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.engage-item { background: var(--asphalt); color: var(--chalk); padding: 28px 28px 24px; display: grid; gap: 12px; align-content: start; position: relative;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.engage-item:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(12,13,15,.22); }
.engage-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.engage-no { font-weight: 900; font-stretch: 72%; font-size: 2.4rem; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.engage-tag { font-weight: 600; font-stretch: 87%; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--smoke); }
.engage-name { margin: 4px 0 0; font-weight: 800; font-stretch: 80%; letter-spacing: .015em; text-transform: uppercase; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.05; }
.engage-item p { margin: 0; color: #cfcdc8; min-height: 3.2em; }
.engage-meter { height: 4px; background: var(--line); margin-top: 10px; overflow: hidden; }
.engage-meter span { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.engage.is-on .engage-meter span { transform: scaleX(var(--level)); }
.engage.is-on .engage-item:nth-child(2) .engage-meter span { transition-delay: .15s; }
.engage.is-on .engage-item:nth-child(3) .engage-meter span { transition-delay: .3s; }
.engage-scale { font-weight: 600; font-stretch: 87%; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: var(--smoke); }
.engage-link { justify-self: start; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink);
  font-weight: 700; font-stretch: 87%; text-transform: uppercase; letter-spacing: .1em; font-size: .86rem; padding-bottom: 4px; border-bottom: 2px solid var(--red); }
.engage-link .chevrons i { border-color: var(--red); }
.engage-link:hover .chevrons i { animation: chev 0.9s ease-in-out infinite; }
.engage-link:hover .chevrons i:nth-child(2) { animation-delay: .15s; }
.engage-link:hover .chevrons i:nth-child(3) { animation-delay: .3s; }
@media (max-width: 860px) { .engage-list { grid-template-columns: minmax(0, 1fr); } .engage-item p { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .engage-item, .engage-meter span { transition: none; } .engage .engage-meter span { transform: scaleX(var(--level)); } }
.engage-item { display: flex; flex-direction: column; gap: 12px; }
.engage-item p { flex: 1 1 auto; min-height: 0; }

/* ---------- Services phases: no slow zoom (jitter); short wipe-in on each phase change, then still ---------- */
.phase-panel .media img { animation: none !important; transform: none; }
.phase-panel:not([hidden]) .media { animation: phase-wipe .9s cubic-bezier(.65,0,.25,1) both; }
.phase-panel:not([hidden]) .body > * { animation: phase-text .7s cubic-bezier(.2,.7,.2,1) both; }
.phase-panel:not([hidden]) .body > *:nth-child(2) { animation-delay: .08s; }
.phase-panel:not([hidden]) .body > *:nth-child(3) { animation-delay: .16s; }
@keyframes phase-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes phase-text { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .phase-panel:not([hidden]) .media, .phase-panel:not([hidden]) .body > * { animation: none; } }

/* ---------- Engagement: four models + on site / remote ---------- */
.engage-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .engage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .engage-list { grid-template-columns: minmax(0, 1fr); } }
.engage-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.engage-mode { font-weight: 600; font-stretch: 87%; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: #d8d6d1; }
.engage-meter.is-continuous { background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 16px); }
.engage-meter.is-continuous span { display: none; }
.engage-note { margin: -6px 0 0; color: var(--ink-soft); font-size: 1rem; }
.engage-note strong { color: var(--ink); }
.eco-tags li.more { border-style: dashed; color: var(--smoke); font-style: italic; }
.tags-label { display: block; margin-top: 4px; }
.clubs-intro { margin: 0 0 6px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--chalk); padding-left: 18px; border-left: 3px solid var(--red); }
.clubs-intro strong { font-weight: 700; }
@media (min-width: 901px) { .clubs-media { position: sticky; top: calc(var(--header-h) + 24px); } }
.clubs-left { display: grid; gap: 4px; align-content: start; min-width: 0; }
@media (min-width: 901px) { .clubs-media { position: static; } .clubs-left { position: sticky; top: calc(var(--header-h) + 24px); } }
.img-placeholder { margin: 0; height: clamp(200px, 20vw, 300px); border: 1px dashed var(--line); background: repeating-linear-gradient(135deg, #111316 0 12px, #15171a 12px 24px);
  display: grid; place-content: center; text-align: center; gap: 6px; color: var(--smoke); }
.img-placeholder span { font-weight: 600; font-stretch: 87%; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; }
.img-placeholder strong { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 1.1rem; color: #d8d6d1; }
@media (max-width: 900px) { .img-placeholder { height: 180px; } }
.sp { padding-top: 0; }
.sp-media { margin: 0 -26px 8px; height: clamp(170px, 14vw, 230px); overflow: hidden; }
.sp-media img { width: 100%; height: 100%; object-fit: cover; }
.sp-media-light { background: #fff; }
.sp-media-light img { object-fit: contain; padding: 10px 16px; }
.sp-media.img-placeholder { border: 0; border-bottom: 1px dashed var(--line); }

/* ---------- hero with more punch: heavy italic headline, darker left side, bolder italic menu ---------- */
.hero .display {
  font-style: italic; font-weight: 900; font-stretch: 78%;
  font-size: clamp(2.6rem, min(7.6vw, 11vh), 8.4rem);
  line-height: .9; letter-spacing: -0.005em; word-spacing: .06em;
  text-shadow: 0 4px 30px rgba(0,0,0,.45);
}
.hero::after { background:
  linear-gradient(90deg, rgba(12,13,15,.9) 0%, rgba(12,13,15,.72) 30%, rgba(12,13,15,.3) 55%, transparent 74%),
  linear-gradient(180deg, rgba(12,13,15,.5) 0%, transparent 22%, transparent 62%, rgba(12,13,15,.55) 88%, rgba(12,13,15,.8) 100%); }
.hero .claim { font-weight: 700; }
@media (min-width: 1181px) {
  .nav a { font-style: italic; font-weight: 800; font-stretch: 80%; font-size: .98rem; letter-spacing: .04em; opacity: .95; }
  .nav .nav-cta { font-style: italic; }
}
@media (max-width: 760px) { .hero .display { font-size: clamp(2.1rem, 10vw, 2.8rem); } }
.hero .display em { font-style: italic; }
.hero .display { font-size: clamp(2.6rem, min(7.4vw, 10vh), 8.2rem); }
@media (min-width: 761px) and (max-width: 1180px) { .hero .display { font-size: min(6.6vw, 8.6vh); } }
@media (min-width: 1181px) { .hero .display { font-size: clamp(2.6rem, min(7.4vw, 10vh), 7.1rem); } .hero .display .line { white-space: nowrap; } }
@media (min-width: 761px) { .hero .display .line { display: block; } }
@media (min-width: 761px) and (max-height: 820px) {
  .hero .display { font-size: clamp(2.4rem, min(6.4vw, 8.6vh), 6.2rem); }
  .hero .lede { font-size: 1rem; }
  .hero-text { margin-top: 14px; }
}

/* ---------- large headings in the hero style: heavy italic (small headings stay upright) ---------- */
.h2, .about-quote, .founder-name, .ops-chapter-title, .big-count, .engage-title {
  font-style: italic; font-weight: 900; font-stretch: 78%; letter-spacing: -0.005em; word-spacing: .06em; line-height: .95;
}
.about-quote em, .founder-name em { font-style: italic; }
.subprojects .h2 { font-weight: 900; }
@media (max-width: 760px) {
  .big-count { font-size: clamp(4.5rem, 24vw, 6rem); }
  #events-title { font-size: clamp(1.8rem, 8.4vw, 2.2rem); }
}
@media (max-width: 1100px) { .events-top { grid-template-columns: minmax(0, 1fr); } }
#contact-title em { font-style: italic; color: var(--red); }

/* v51 ownership models (public / PPP / private) */
.own { margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); display: grid; gap: clamp(28px, 3.5vw, 40px); }
.own-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 64px; align-items: end; }
.own-head .lede { margin: 0; color: var(--smoke); }
.own-title { margin: 14px 0 0; font-style: italic; font-weight: 900; font-stretch: 78%; text-transform: uppercase; line-height: .95; letter-spacing: -0.005em; word-spacing: .06em; font-size: clamp(2rem, 4.4vw, 3.6rem); color: var(--chalk); }
.own-title em { font-style: italic; color: var(--red); }
.own-scale { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.own-scale i { height: 3px; background: linear-gradient(90deg, var(--smoke) 0%, var(--red) 50%, var(--chalk) 100%); }
.own-list { list-style: none; margin: -12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.own-item { background: var(--carbon); padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.own-ppp { background: #1b1d21; box-shadow: inset 0 3px 0 var(--red); }
.own-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.own-no { font-weight: 900; font-style: italic; font-stretch: 78%; font-size: 1.5rem; color: var(--red); }
.own-tag { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.own-name { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 800; color: var(--chalk); line-height: 1.15; }
.own-item dl { margin: 0; display: grid; gap: 4px; flex: 1 1 auto; }
.own-item dt { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); margin-top: 8px; }
.own-item dd { margin: 0; color: #d8d6d1; font-size: .97rem; line-height: 1.5; }
.own-proof { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.5; color: var(--smoke); }
.own-proof strong { color: var(--chalk); }
.own-proof .own-zero { color: var(--red); }
.own-quote footer { margin-top: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.own-bring { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 64px; align-items: start; }
.own-bring .label { padding-top: 8px; }
.own-note { grid-column: 2; margin: 0; font-size: .85rem; color: var(--smoke); }
@media (max-width: 1000px) {
  .own-head, .own-bring { grid-template-columns: minmax(0, 1fr); }
  .own-note { grid-column: 1; }
  .own-list { grid-template-columns: minmax(0, 1fr); }
}
/* v51 align rows across the three cards */
@supports (grid-template-rows: subgrid) {
  .own-list { grid-auto-rows: auto; }
  .own-item { display: grid; grid-row: span 9; grid-template-rows: subgrid; row-gap: 6px; }
  .own-item dl { display: contents; }
  .own-item .own-name { margin-bottom: 4px; }
  .own-item dt { margin-top: 12px; }
  .own-proof { margin-top: 14px; align-self: start; }
}
/* v54 next-phase button */
.phase-next { margin-top: 8px; }
.phase-next .chevrons i { border-color: var(--red); opacity: .9; }
.phase-next { background: transparent; color: var(--chalk); cursor: pointer; font-family: inherit; }
.phase-next:hover { background: rgba(237,235,230,.06); }

/* v58 engagement intro, sparring statement, project arc */
.engage-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 64px; align-items: end; }
.engage-intro p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; }
.engage-intro p + p { margin-top: 14px; }
.engage-sparring { padding-left: 16px; border-left: 3px solid var(--red); }
.engage-sparring strong { color: var(--ink); }
.engage-arc { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.engage-arc::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: linear-gradient(90deg, var(--red) 0%, var(--red) 83%, var(--paper-line) 100%); }
.engage-arc li { position: relative; padding-top: 22px; padding-right: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); line-height: 1.3; }
.engage-arc li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--paper); }
.engage-arc li.is-end { color: var(--ink-soft); }
.engage-arc li.is-end::before { background: var(--paper); border: 2px solid var(--ink-soft); box-sizing: border-box; }
@media (max-width: 900px) {
  .engage-head { grid-template-columns: minmax(0, 1fr); }
  .engage-arc { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .engage-arc::before { display: none; }
}
#engagement { scroll-margin-top: calc(var(--header-h) + 24px); }

/* v66 own event formats band (Event Development) */
.ops-own { margin-top: 2px; background: var(--carbon); border-left: 4px solid var(--red); padding: clamp(28px, 3.5vw, 44px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px 48px; }
.ops-own-title { margin: 12px 0 0; font-style: italic; font-weight: 900; font-stretch: 78%; text-transform: uppercase; line-height: .95; font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--chalk); }
.ops-own-title em { color: var(--red); font-style: italic; }
.ops-own-body p { margin: 0 0 12px; color: #d8d6d1; line-height: 1.6; }
.ops-own-body .eco-tags { margin-top: 16px; }
@media (max-width: 900px) { .ops-own { grid-template-columns: minmax(0, 1fr); } }
/* v68 safety collage: always show all six pictures uncropped */
#ops-safety .ops-cards-1 .ops-card-media { height: auto; min-height: 0; align-self: start; }
#ops-safety .ops-card-media img { height: auto; object-fit: contain; }
#ops-safety .ops-card:hover .ops-card-media img { transform: none; }
/* v69 commercialisation: one wide illustration above the text */
#ops-commercial .ops-cards-1 .ops-card { grid-template-columns: minmax(0, 1fr); }
#ops-commercial .ops-cards-1 .ops-card-media { min-height: 0; height: clamp(240px, 40vw, 540px); grid-auto-flow: row; }
#ops-commercial .ops-card-media img { object-position: 50% 70%; }
#ops-commercial .ops-card-media figcaption { font-size: .66rem; letter-spacing: .04em; }
/* v72 member clubs: AI garage illustration replaces placeholder */
.clubs-garage { margin: 0; position: relative; overflow: hidden; height: clamp(200px, 20vw, 300px); }
.clubs-garage img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; display: block; }
.clubs-garage figcaption { position: absolute; right: 6px; bottom: 4px; font-size: .66rem; letter-spacing: .04em; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
@media (max-width: 900px) { .clubs-garage { height: 200px; } }
/* v77 Hyundai/Zakspeed slide: show complete */
.sp-media-light img[src*="bc-hyundai"] { padding: 4px 8px; }
/* v78 Zakspeed promotion slide: never crop the lettering */
.sp-media img[src*="bc-zakspeed-promotion"] { object-fit: contain; background: #ece7e6; }
.sp-media:has(img[src*="bc-zakspeed-promotion"]) { background: #ece7e6; }
/* v79 beyond the circuit: three projects side by side, full 16:9 visuals */
.subprojects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-media { height: auto; aspect-ratio: 16 / 9; }
.sp-media-light img[src*="bc-hyundai"] { padding: 0; }
@media (max-width: 900px) { .subprojects-grid { grid-template-columns: minmax(0, 1fr); } }
/* v87 privacy policy: single readable column, DE then EN */
.legal-jump { margin-top: 44px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.legal-jump a { color: var(--chalk); }
.legal-text { max-width: 78ch; margin-top: 48px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-text + .legal-text { border-top: 1px solid var(--line); padding-top: 48px; margin-top: 64px; }
.legal-text h3 { font-size: 1.1rem; margin: 36px 0 10px; }
.legal-text h4 { font-weight: 700; font-size: .95rem; margin: 22px 0 6px; color: var(--chalk); }
.legal-text ul { margin: 0 0 12px; padding-left: 1.2em; color: #d8d6d1; }
.legal-text li { margin: 2px 0; }
.legal-text a { color: var(--chalk); }
/* v89 venue roles: Founder vs SDG */
.role-line { display: block; }
.role-line + .role-line { margin-top: 8px; }
.role-tag { display: inline-block; vertical-align: 1px; margin-right: 8px; padding: 2px 6px 1px; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; border: 1px solid var(--red); color: var(--chalk); background: var(--red); }
.role-tag.is-founder { background: transparent; color: var(--chalk); border-color: var(--chalk); }
.venue-note { margin: 18px 0 16px; font-size: .85rem; color: var(--smoke); }
.venue-note .role-tag { margin-left: 2px; }
.venue-note .role-tag:not(:first-child) { margin-left: 14px; }
/* v99 timeline: Dresden as a typographic tile (no licensed photo) */
.tl-place { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px; background: var(--asphalt); color: var(--chalk); }
.tl-place-name { font-style: italic; font-weight: 900; font-stretch: 78%; text-transform: uppercase; font-size: 1.7rem; line-height: 1; }
.tl-place-geo { font-size: .7rem; font-weight: 700; letter-spacing: .14em; color: var(--smoke); font-variant-numeric: tabular-nums; }
/* v102 venue lightbox (tap to enlarge) */
.venue .thumb { cursor: zoom-in; }
.venue .thumb:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.venue-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,9,10,.92); display: flex; align-items: center; justify-content: center; padding: 56px 16px 24px; }
.venue-lightbox[hidden] { display: none; }
.venue-lightbox figure { margin: 0; max-width: min(1200px, 100%); display: grid; gap: 12px; }
.venue-lightbox img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; display: block; }
.venue-lightbox figcaption { color: var(--chalk); font-weight: 800; font-style: italic; font-stretch: 80%; text-transform: uppercase; letter-spacing: .02em; font-size: 1.1rem; }
.vl-close { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border: 1px solid rgba(237,235,230,.4); background: transparent; color: var(--chalk); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.vl-close:hover, .vl-close:focus-visible { border-color: var(--chalk); outline: none; }
html.lb-open { overflow: hidden; }

/* v103: no single word alone on the last line */
p, li, dd, dt, figcaption, blockquote, td, .lede { text-wrap: pretty; }

/* v104: phase tab labels must always fit their tab (narrow phones, Android font boosting) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 860px) {
  .phase-tab { padding: 14px 6px; container-type: inline-size; min-width: 0; }
  .phase-tab .p-name { font-stretch: 70%; letter-spacing: .02em; font-size: min(.66rem, 19cqi); }
}
.legal h2 { hyphens: auto; -webkit-hyphens: auto; }
.nobr { white-space: nowrap; }
/* v108: footer on phones – Company and Legal full width, Navigate below */
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot-grid > div:nth-child(3) { order: 1; }
}

/* v109: project arc – animated path; vertical timeline on phones */
.engage-arc { --go: #3be81c; --step: .7s; }
.engage-arc li { --i: 0; }
.engage-arc::after { content: ""; position: absolute; left: 0; top: 6px; height: 2px; width: 100%; pointer-events: none;
  background: linear-gradient(90deg, var(--go) 0%, var(--go) 83%, transparent 100%); transform-origin: left center; }
.engage-arc li:not(.is-end)::before { background: var(--go); }
@media (max-width: 900px) {
  .engage-arc { grid-template-columns: minmax(0, 1fr); row-gap: 16px; padding: 2px 0; }
  .engage-arc::before, .engage-arc::after { display: block; left: 6px; right: auto; top: 9px; bottom: 9px; width: 2px; height: auto; }
  .engage-arc::before { background: var(--paper-line); }
  .engage-arc::after { background: linear-gradient(180deg, var(--go) 0%, var(--go) 80%, transparent 100%); transform-origin: center top; }
  .engage-arc li { padding: 0 0 0 30px; min-height: 16px; line-height: 16px; }
  .engage-arc li::before { top: 1px; }
}
@media (min-width: 901px) { .engage-arc::before { background: var(--paper-line); } }
/* animation: dots start red, the green line runs through and turns each dot green */
html.js .engage-arc::after { transform: scaleX(0); transition: transform calc(var(--step) * 6) linear; }
html.js .engage-arc li:not(.is-end)::before { background: var(--red); transition: background-color .5s ease calc(var(--i) * var(--step) + .1s), transform .5s ease calc(var(--i) * var(--step) + .1s); }
html.js .engage-arc.is-in::after { transform: none; }
html.js .engage-arc.is-in li:not(.is-end)::before { background: var(--go); transform: scale(1.15); }
html.js .engage-arc.is-in.is-done li:not(.is-end)::before { transform: none; }
@media (max-width: 900px) {
  html.js .engage-arc::after { transform: scaleY(0); }
  html.js .engage-arc.is-in::after { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .engage-arc::after, html.js .engage-arc li::before { transition: none !important; }
}

/* v109: green light on the thank-you page */
.go-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #3be81c; margin-right: 12px; vertical-align: -1px;
  box-shadow: 0 0 0 0 rgba(59,232,28,.55); animation: go-pulse 2s ease-out infinite; }
@keyframes go-pulse { 0% { box-shadow: 0 0 0 0 rgba(59,232,28,.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(59,232,28,0); } }
@media (prefers-reduced-motion: reduce) { .go-dot { animation: none; box-shadow: 0 0 10px rgba(59,232,28,.6); } }
