/* ------------------------------------------------------------------ core
   Structural skeleton shared by every direction. All color, type, radius,
   and composition decisions live in the theme block appended below this
   file - the core only consumes the tokens the theme defines. */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--body-size, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.container {
  max-width: var(--container-max, 1280px);
  margin-inline: auto;
  padding-inline: var(--container-pad, 24px);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  padding: 10px 18px;
  background: var(--ink); color: var(--canvas);
  text-decoration: none; transition: top 160ms var(--ease);
}
.skip-link:focus-visible { top: 12px; }

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

::selection { background: var(--accent); color: var(--canvas); }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--nav-h, 74px);
  display: flex; align-items: center;
  color: var(--nav-ink);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav--solid { background: var(--nav-bg); box-shadow: 0 1px 0 var(--line); }
/* The sheet needs an opaque bar and, critically, no backdrop-filter: a
   filtered ancestor becomes the containing block for the fixed sheet and
   collapses it to bar height. No version uses backdrop-filter, kept as a
   guard for future edits. */
.nav--sheet { background: var(--nav-bg); backdrop-filter: none; -webkit-backdrop-filter: none; }

.nav__inner { display: flex; align-items: center; gap: 40px; width: 100%; }
.nav__brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav__brand img { width: auto; }
.nav nav { margin-left: auto; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: inherit; text-decoration: none;
  font-family: var(--font-ui, var(--font-body));
  font-size: var(--nav-size, 0.9375rem);
  letter-spacing: var(--nav-track, 0);
  text-transform: var(--nav-case, none);
}
.nav__link:hover, .nav__link[aria-current] { color: var(--nav-hot, var(--accent)); }
.nav__chev { transition: transform var(--dur) var(--ease); }
.nav__link--menu[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

.nav__item--menu { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: -18px; z-index: 95;
  min-width: 230px; padding: 8px;
  background: var(--menu-bg, var(--card)); color: var(--menu-ink, var(--ink));
  border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; translate: 0 -6px;
  transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease), visibility var(--dur);
}
.nav__link--menu[aria-expanded="true"] + .nav__menu { opacity: 1; visibility: visible; translate: 0 0; }
html:not(.js) .nav__item--menu:focus-within .nav__menu { opacity: 1; visibility: visible; translate: 0 0; }
.nav__menu-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 14px; border-radius: calc(var(--r-card) - 4px);
  text-decoration: none; font-family: var(--font-ui, var(--font-body));
  font-size: 0.9375rem;
}
a.nav__menu-link:hover { background: var(--well); color: var(--accent); }
.nav__menu-link.is-soon { color: var(--muted); cursor: not-allowed; }
.nav__soon {
  font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 9px;
}

.nav__cta { margin-left: 4px; }

.nav__toggle {
  display: none; align-items: center; gap: 10px;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-family: var(--font-ui, var(--font-body)); font-size: 0.9375rem;
}
.nav__toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav__toggle-bars span { width: 20px; height: 2px; background: currentColor; transition: opacity var(--dur), transform var(--dur); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border: 0; border-radius: var(--r-btn);
  background: var(--btn-bg); color: var(--btn-ink);
  font-family: var(--font-ui, var(--font-body));
  font-size: var(--btn-size, 0.9375rem); font-weight: var(--btn-weight, 600);
  letter-spacing: var(--btn-track, 0); text-transform: var(--btn-case, none);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), translate var(--dur) var(--ease);
}
.btn:hover { background: var(--btn-hover); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn__arrow { transition: translate var(--dur) var(--ease); }
.btn:hover .btn__arrow { translate: 3px 0; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  color: var(--accent); text-decoration: none;
  font-family: var(--font-ui, var(--font-body)); font-weight: 600;
}
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------- sections */
.section { padding-block: var(--section-y, 110px); }
.section--tight { padding-block: calc(var(--section-y, 110px) * 0.66); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-title { font-family: var(--font-display); color: var(--ink); }
.lede { margin-top: 20px; max-width: 62ch; }
.lede + .lede { margin-top: 14px; }
.subhead { color: var(--ink); }

.split {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}

/* Capability list: plain typographic rows, no icon grid. */
.cap__list { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.cap__list li {
  padding: 11px 2px; border-top: 1px solid var(--line);
  font-family: var(--font-ui, var(--font-body)); font-size: 0.9375rem; color: var(--ink);
}

.proof img { width: 100%; border-radius: var(--r-media); }
.proof figcaption { margin-top: 14px; font-size: 0.875rem; color: var(--muted); max-width: 52ch; }

/* ----------------------------------------------------------------- news */
.news__grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px); align-items: start;
}
/* The list rides along while the taller featured story scrolls; only in
   the two-column layout (the 1000px breakpoint stacks the grid). */
@media (min-width: 1001px) {
  .news-list { position: sticky; top: calc(var(--nav-h, 76px) + 32px); }
}

.story__art { border-radius: var(--r-media); overflow: hidden; }
.story__standin { background: var(--standin-2); }
.story__standin--p { background: var(--standin-1); }
.story__standin--a { background: var(--standin-2); }
.story__standin--i { background: var(--standin-3); }
.story__standin--e { background: var(--standin-4); }

.story__label {
  font-family: var(--font-ui, var(--font-body));
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent);
}
.story__trigger {
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  font: inherit; color: inherit;
}
.story__trigger:hover { color: var(--accent); }
.story__title { font-family: var(--font-display); color: var(--ink); }
.story__excerpt { color: var(--text); }

/* Featured form: art on top, text below. */
.story.is-featured .story__art { aspect-ratio: 16 / 10; }
.story.is-featured .story__standin { width: 100%; height: 100%; }
.story.is-featured .story__body { padding-top: 24px; display: grid; gap: 10px; }
.story.is-featured .story__title { font-size: var(--story-featured-size, 1.65rem); line-height: 1.15; }

/* List form: compact row. */
.news-list .story {
  display: grid; grid-template-columns: 118px minmax(0, 1fr);
  gap: 20px; align-items: start; padding-block: 22px;
  border-top: 1px solid var(--line);
}
.news-list li:last-child .story { border-bottom: 1px solid var(--line); }
.news-list .story__art { aspect-ratio: 16 / 12; cursor: pointer; }
.news-list .story__standin { width: 100%; height: 100%; }
.news-list .story__body { display: grid; gap: 6px; }
.news-list .story__title { font-size: 1.0625rem; line-height: 1.3; }
.news-list .story__excerpt { display: none; }

/* Swap motion - interaction feedback, restarted from js/site.js. */
@keyframes storyZoomIn  { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@keyframes storyZoomOut { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
.story.just-featured { animation: storyZoomIn 420ms var(--ease) both; transform-origin: 30% 40%; }
.story.just-listed   { animation: storyZoomOut 360ms var(--ease) both; transform-origin: 20% 50%; }

/* -------------------------------------------------------------- contact */
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 88px); align-items: start;
}
.contact__direct {
  display: inline-block; margin-top: 26px;
  font-family: var(--font-ui, var(--font-body)); font-weight: 600; font-size: 1.125rem;
  color: var(--accent); text-decoration: none;
}
.contact__direct:hover { text-decoration: underline; text-underline-offset: 4px; }

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-ui, var(--font-body));
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: var(--field-bg, transparent);
  border: 1px solid var(--line-strong); border-radius: var(--r-btn-sm, var(--r-btn));
  color: var(--ink); font: inherit; font-size: 0.9375rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field ::placeholder { color: var(--muted); opacity: 1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--focus-c); outline-offset: 0; border-color: transparent;
}
.form__note { font-size: 0.875rem; color: var(--muted); }

/* --------------------------------------------------------------- footer */
.footer { background: var(--foot-bg); color: var(--foot-ink); }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px;
  padding-block: 72px 56px;
}
.footer__brand img { width: auto; }
.footer__tag { margin-top: 18px; color: var(--foot-muted); font-size: 0.9375rem; }
.footer__nav { display: flex; gap: clamp(48px, 7vw, 120px); }
.footer__col h3 {
  font-family: var(--font-ui, var(--font-body));
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--foot-muted); margin-bottom: 18px;
}
.footer__col li + li { margin-top: 12px; }
.footer__col a { font-size: 0.9375rem; }
.footer__word {
  font-family: var(--font-display); color: var(--foot-word, var(--foot-ink));
  line-height: 0.86; letter-spacing: -0.02em; text-transform: uppercase;
  font-size: clamp(4rem, 14.5vw, 13rem);
  text-align: center; user-select: none;
}
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-block: 26px; border-top: 1px solid var(--foot-line);
  font-size: 0.875rem; color: var(--foot-muted);
}

/* ---------------------------------------------------------------- about */
.page-hero { padding: calc(var(--nav-h, 74px) + clamp(64px, 10vh, 128px)) 0 clamp(48px, 7vh, 88px); }
.page-hero__sub { margin-top: 22px; max-width: 56ch; }
.page-hero__meta { margin-top: 26px; font-size: 0.875rem; color: var(--muted); }

.statements { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); margin-top: 64px; }
.statement { border-top: 1px solid var(--line-strong); padding-top: 26px; }
.statement__label {
  font-family: var(--font-ui, var(--font-body)); font-weight: 600;
  font-size: 0.8125rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); margin-top: 56px; }
.member__mono {
  width: 74px; height: 74px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-mono, 999px);
  font-family: var(--font-display); font-size: 1.35rem; color: var(--accent);
  margin-bottom: 22px;
}
.member__name { font-family: var(--font-display); font-size: 1.1875rem; color: var(--ink); }
.member__role { margin: 6px 0 12px; font-size: 0.875rem; color: var(--accent); font-family: var(--font-ui, var(--font-body)); font-weight: 600; }
.member p:last-child { font-size: 0.9375rem; }

/* ------------------------------------------------------------- football */
.videoframe { border-radius: var(--r-media); overflow: hidden; background: #0b0e10; }
.videoframe video { width: 100%; height: auto; }
.feed { max-width: 960px; margin-inline: auto; }
.feed__head, .feed__foot {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  font-family: var(--font-ui, var(--font-body)); font-size: 0.8125rem; color: var(--muted);
}
.feed__head { justify-content: space-between; padding-bottom: 14px; }
.feed__foot { padding-top: 14px; }
.feed__key { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.feed__swatch { width: 12px; height: 12px; border-radius: 2px; }
.feed__key--a .feed__swatch { background: #2ecc40; }
.feed__key--b .feed__swatch { background: #e23b3b; }
.feed__key--o .feed__swatch { background: #ffd11a; }

/* The CV overlay colours are product truth; they read against a dark chip
   on every canvas so the graphics bar holds regardless of direction. */
.legend { margin-top: 34px; display: grid; gap: 18px; }
.legend li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.legend__box { width: 40px; height: 28px; background: #15181b; border: 2px solid; border-radius: 3px; }
.legend--a .legend__box { border-color: #2ecc40; }
.legend--b .legend__box { border-color: #e23b3b; }
.legend--o .legend__box { border-color: #ffd11a; }
.legend__label { display: block; font-family: var(--font-ui, var(--font-body)); font-weight: 600; color: var(--ink); }
.legend__note { display: block; font-size: 0.875rem; color: var(--muted); }

.output { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); margin-top: 72px; }
.panel { border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px; background: var(--card); }
.panel__head {
  display: flex; justify-content: space-between; gap: 16px; margin-bottom: 16px;
  font-family: var(--font-ui, var(--font-body)); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted);
}
.events { width: 100%; border-collapse: collapse; }
.events th {
  text-align: left; font-family: var(--font-ui, var(--font-body)); font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  padding: 0 0 10px; border-bottom: 1px solid var(--line-strong); font-weight: 600;
}
.events td { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 0.9375rem; }
.events td:last-child, .events th:last-child { text-align: right; font-family: var(--font-mono); font-size: 0.875rem; letter-spacing: 0; }
.events tr[data-key] td { color: var(--accent); font-weight: 600; }

.panel--events { max-width: 680px; margin-top: 64px; }

.caps { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3.5vw, 48px); }
.cap { border-top: 1px solid var(--line-strong); padding-top: 28px; }
.cap__title { font-family: var(--font-display); color: var(--ink); font-size: 1.375rem; }
.cap__body { margin-top: 12px; }
.cap .cap__list { margin-top: 22px; }
.cap__media { margin-bottom: 22px; border-radius: var(--r-media); overflow: hidden; }
.cap__media img { width: 100%; }

.cta { text-align: left; }
.cta .btn { margin-top: 34px; }

/* --------------------------------------------------------------- reveal */
html.js [data-reveal] { opacity: 0; translate: 0 16px; transition: opacity 640ms var(--ease), translate 640ms var(--ease); }
html.js [data-reveal].is-visible { opacity: 1; translate: 0 0; }
html.js [data-reveal-delay="1"] { transition-delay: 90ms; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .split, .contact__grid, .news__grid, .output { grid-template-columns: 1fr; }
  .news__grid { gap: 40px; }
  .team { grid-template-columns: 1fr 1fr; }
  .statements { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav nav { margin-left: auto; }

  .nav__links {
    position: fixed; inset: var(--nav-h, 74px) 0 0 0; z-index: 85;
    display: none; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 24px var(--container-pad, 24px) 48px;
    background: var(--nav-bg); color: var(--nav-sheet-ink, var(--ink));
    overflow-y: auto;
  }
  .nav__links[data-open="true"] { display: flex; }
  .nav__links > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; padding: 18px 0; font-size: 1.125rem; }
  .nav__chev { display: none; }
  .nav__link--menu { cursor: default; }
  .nav__menu {
    position: static; opacity: 1; visibility: visible; translate: none;
    min-width: 0; padding: 0 0 12px; border: 0; border-radius: 0;
    background: none; color: inherit; box-shadow: none;
  }
  .nav__menu-link { padding: 10px 0 10px 18px; }
  a.nav__menu-link:hover { background: none; }

  .form__row { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; gap: 40px; padding-block: 56px 40px; }
  .footer__nav { flex-direction: column; gap: 32px; }
  .news-list .story { grid-template-columns: 92px minmax(0, 1fr); gap: 16px; }
  .team { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html.js [data-reveal] { opacity: 1; translate: 0 0; }
}

/* =================================================================== V2
   QUIET FACILITY - after the Louvre Sport reference.
   Warm paper ground, one soft sage image-card carrying the hero, medium-
   weight Hanken Grotesk in sentence case, small pill chips, air everywhere.
   The design whispers; the product proof does the talking. */

:root {
  color-scheme: light;

  --canvas: #f1f1ea;
  --ink: #23271f;
  --text: #4a5044;
  --muted: #61685a;
  --card: #fbfbf6;
  --well: #e7e9dd;
  --line: rgba(35, 39, 31, 0.12);
  --line-strong: rgba(35, 39, 31, 0.24);
  --accent: #35691c;

  /* Brand action green per the Koralyze DS: white label clears 4.5:1
     on both the resting and hover fill. */
  --btn-bg: #3f7d22;
  --btn-ink: #ffffff;
  --btn-hover: #35691c;
  --btn-weight: 500;
  --btn-size: 0.9375rem;

  --nav-bg: #f1f1ea;
  --nav-ink: var(--ink);
  --nav-size: 0.9375rem;

  --foot-bg: #e3e6d8;
  --foot-ink: #23271f;
  --foot-muted: #5a614f;
  --foot-line: rgba(35, 39, 31, 0.16);

  --font-display: 'Hanken Grotesk', sans-serif;
  --font-body: 'Hanken Grotesk', sans-serif;
  --font-ui: 'Hanken Grotesk', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  --r-btn: 999px;
  --r-btn-sm: 12px;
  --r-card: 16px;
  --r-media: 22px;
  --shadow: 0 16px 40px rgba(35, 39, 31, 0.10);
  --focus-c: #2f5bb0;

  --nav-h: 76px;
  --section-y: clamp(96px, 12vw, 148px);
  --container-max: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 180ms;
  --story-featured-size: 1.5rem;
  --body-size: 1.0625rem;
}

.nav__logo--light { display: none; }

/* ----------------------------------------------------------------- hero
   The hero is an inset card, not a full bleed: the page breathes around it. */
.hero {
  position: relative;
  max-width: min(var(--container-max), calc(100% - 32px));
  margin: calc(var(--nav-h) + 20px) auto 0;
  min-height: 76svh;
  display: flex; align-items: flex-end;
  border-radius: 26px; overflow: hidden;
  color: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video, .hero__standin { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__standin { background: #b7c2a7; }
/* If the real photo lands dark, add class hero--scrim to restore ink-text
   contrast the flat stand-in provides today. */
.hero--scrim .hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(241, 241, 234, 0.62);
}
/* Softer variant for imagery that only fights the type locally: a paper
   gradient anchored to the text corner, leaving the rest of the frame clear. */
/* Scroll-zoom hero: the runway is taller than the viewport; the hero rides
   sticky inside it while js/site.js drives clip-path from card to full. */
.heroScroll { position: relative; }
html.js .heroScroll .hero {
  position: sticky; top: 0;
  will-change: clip-path;
}
html.js .heroScroll .hero__media video { will-change: transform; transform-origin: center; }

/* Full-bleed alternative to the inset card: edge to edge, full viewport.
   Toggle by adding/removing hero--full on the section - nothing else moves. */
.hero--full {
  max-width: none; margin: 0;
  border-radius: 0;
  min-height: 100svh;
  padding-top: var(--nav-h);
}
.hero--full .hero__inner { padding-bottom: clamp(36px, 6vh, 72px); }

.hero--grad .hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(52deg,
    rgba(241, 241, 234, 0.92) 0%,
    rgba(241, 241, 234, 0.72) 26%,
    rgba(241, 241, 234, 0.28) 48%,
    rgba(241, 241, 234, 0) 66%);
}
.hero__inner { position: relative; z-index: 1; padding: clamp(28px, 5vw, 60px); width: 100%; }

.hero__title {
  font-weight: 600; font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  line-height: 1.06; letter-spacing: -0.022em; color: #1d211a; max-width: 17ch;
}
.hero__title em { font-style: normal; color: #29511a; }
.hero__sub { margin-top: 20px; max-width: 46ch; font-size: 1.0625rem; color: #333a2e; }
.hero__meta {
  margin-top: 30px; display: inline-flex; align-items: center;
  padding: 7px 15px; border: 1px solid rgba(29, 33, 26, 0.4); border-radius: 999px;
  font-size: 0.8125rem; font-weight: 500; color: #29301f;
}

/* The one authored moment: the card settles into place once. */
@keyframes v2-settle { from { opacity: 0; scale: 0.985; translate: 0 12px; } }
html.js .hero { animation: v2-settle 760ms var(--ease) backwards; }

/* ------------------------------------------------------------- headings */
.section-title {
  font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15;
}
.page-hero__title {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em;
  font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; color: var(--ink);
}
.section--well { background: var(--well); }
.section-head { margin-bottom: 48px; }

/* ----------------------------------------------------------------- news */
.story.is-featured {
  background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
}
.story.is-featured .story__art { border-radius: 0; }
.story.is-featured .story__body { padding: 24px 26px 30px; }
.story.is-featured .story__title { font-weight: 600; }
.news-list .story__art { border-radius: 14px; }
.news-list .story__title { font-weight: 600; }

.story__standin--p { background: #ccd4bd; }
.story__standin--a { background: #c0cbae; }
.story__standin--i { background: #d7dcc9; }
.story__standin--e { background: #b6c2a3; }

/* ----------------------------------------------------------------- form */
.field input, .field select, .field textarea { background: var(--card); border-color: var(--line); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }

/* ------------------------------------------------------------------ cta */
.cta { background: var(--well); }

.member__mono { background: var(--card); border-color: var(--line); }

/* --------------------------------------------------------------- footer */
.footer__word { display: none; }
.footer__top { padding-block: 64px 48px; }

/* ------------------------------------------- news: logo tiles + big art
   Each story carries two arts: a partner/event logo tile (shown in the
   list) and its large artwork (shown when featured). The swap only moves
   the node; these rules decide which face is visible where. */
.news-list .story .story__art--photo { display: none; }
.story.is-featured .story__art--logo { display: none; }
.story__art--logo {
  background: var(--card);
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.story__art--logo img { width: 76%; height: 72%; object-fit: contain; }
.story__art--logo .story__standin { width: 100%; height: 100%; }

.story__art--photo img { width: 100%; height: 100%; object-fit: cover; }

/* Featured form of a logo-only story: the mark centered on clean white. */
.story__art--tile { background: #ffffff; display: grid; place-items: center; }
.story__art--tile img { width: auto; height: auto; max-width: 58%; max-height: 84%; object-fit: contain; }

/* Portrait photos in the featured slot: shown whole at reduced size on a
   white mount instead of a hard landscape crop. */
.story__art--fit { position: relative; background: #ffffff; }
.story__art--fit img {
  position: absolute; inset: 0; margin: auto;
  width: auto; height: auto; max-width: 90%; max-height: 88%;
  object-fit: contain;
}

/* Tracking section: two balanced stacks - the legend sits with the frame it
   explains, the event stream with the claim it proves. */
.split--start { align-items: flex-start; }
.split .legend { margin-top: 28px; }
.split .panel--events { margin-top: 40px; max-width: none; }

/* Legend swatches: solid CV colours with a hairline edge so the yellow
   keeps a visible boundary on paper. */
.legend li { grid-template-columns: 24px minmax(0, 1fr); }
.legend__box {
  width: 22px; height: 22px; margin-top: 3px;
  background: none; border: 0; border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(35, 39, 31, 0.18);
}
.legend--a .legend__box { background: #2ecc40; }
.legend--b .legend__box { background: #e23b3b; }
.legend--o .legend__box { background: #ffd11a; }

/* Live event stream: the green highlight hands off softly between rows. */
.events td { transition: color 320ms var(--ease); }

/* Ambient illustration loops: fill their slots like the stills they replace. */
.cap__media video, .panel video.ambient { width: 100%; height: auto; display: block; }

/* Live pitch in the football page hero. */
.page-hero__split {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.pitchlive svg { width: 100%; height: auto; display: block; }
.pl-ground { fill: var(--well); }
.pl-lines { stroke: rgba(35, 39, 31, 0.22); stroke-width: 1.5; }
.pl-dot--a { fill: #2ecc40; }
.pl-dot--b { fill: #e23b3b; }
.pl-ball { fill: #23271f; }
@media (max-width: 1000px) {
  .page-hero__split { grid-template-columns: 1fr; gap: 40px; }
  .pitchlive { max-width: 520px; }
}
