/* LynneFoundry homepage v2
   Colours follow the LynneWaters brand tokens (lynnewaters.co.za): red and
   charcoal lead, with navy and olive as stage accents. Type is Mona Sans.
   Sharp corners everywhere, real photos, light and dark sections for contrast. */

:root {
  /* Main */
  --red: #E60000;
  --red-medium: #990000;
  --charcoal: #191919;
  /* Accents */
  --navy: #1F4E79;
  --olive: #6B8E23;
  /* Neutrals */
  --ink-2: #242424;
  --grey-700: #4B4B4B;
  --grey-500: #727272;
  --grey-400: #9A9A9A;
  --grey-dark: #B8B8B8;
  --paper: #F6F4EF;
  --stone: #EBE8E1;
  --bg: #F4F4F4;
  --white: #FFFFFF;
  /* Lines */
  --line: #E3E3E3;
  --line-strong: #CCCCCC;
  --line-dark: rgba(255, 255, 255, .12);
  --grid: rgba(25, 25, 25, .05);
  --grid-dark: rgba(255, 255, 255, .04);

  /* Type */
  --font: "Mona Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Four heading sizes, used everywhere: display (page openers), statement
     (photo band, footer line), section (h2) and card (h3). The "What changes"
     rows keep their own giant size. */
  --fs-display: clamp(2.4rem, min(6.4vw, 10.2svh), 6.4rem);
  --fs-statement: clamp(2.3rem, 4.4vw, 4rem);
  --fs-h1: var(--fs-display);
  --fs-h2: clamp(2rem, 3.4vw, 3.1rem);
  --fs-h3: 1.3rem;
  --fs-lead: clamp(1.12rem, 1.35vw, 1.28rem);
  --fs-body: 1.02rem;

  /* Layout */
  --container: 1280px;
  --gutter: 48px;
  --section-y: 136px;
  --block-gap: 72px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 991px) {
  :root { --gutter: 32px; --section-y: 112px; --block-gap: 60px; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --section-y: 88px; --block-gap: 48px; --nav-h: 64px; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
/* Lenis drives scrolling when it runs */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.045em; font-stretch: 110%; }
h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.035em; font-stretch: 106%; max-width: 18ch; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; font-stretch: 104%; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--charcoal); color: var(--white); padding: 8px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--grey-700); max-width: 36ch; }

/* Faint grid background, fading at the top and bottom of the section */
.grid-bg, .dark { position: relative; isolation: isolate; }
.grid-bg::before, .dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

/* Dark sections */
.dark { background: var(--charcoal); color: var(--white); }
.dark::before {
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
}
.dark .lead { color: rgba(255, 255, 255, .72); }
.dark--olive { background: var(--olive); }
.dark--olive::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
}
.dark--navy { background: var(--navy); }
.dark--navy::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
}

/* Buttons: square, 2px border */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border: 2px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
}
.btn--sm { min-height: 42px; padding: 8px 20px; font-size: 0.9rem; }
.btn--red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--red:hover { background: var(--charcoal); border-color: var(--charcoal); }
.btn--ghost { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: var(--white); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.dark .btn--red:hover, .footer .btn--red:hover { background: var(--white); border-color: var(--white); color: var(--charcoal); }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, .9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: var(--container);
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nav__logo img { height: 28px; width: auto; }
.nav__menu { display: flex; gap: 36px; margin-left: auto; }
.nav__menu a {
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  color: var(--grey-700);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color .2s;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__menu a:hover { color: var(--charcoal); }
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }

/* Language picker: a plain select, sharp, with a drawn chevron */
.lang { display: inline-flex; flex-direction: column; gap: 6px; }
.lang select {
  -webkit-appearance: none;
  appearance: none;
  padding: 7px 30px 7px 12px;
  border: 1px solid var(--line-strong);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%23191919' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 11px center;
  color: var(--charcoal);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s;
}
.lang select:hover { border-color: var(--charcoal); }
.lang--dark { display: flex; width: max-content; margin-top: 28px; }
.lang--dark .footer__label { margin-bottom: 4px; }
.lang--dark select {
  border-color: rgba(255, 255, 255, .3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%23ffffff' stroke-width='1.4'/%3E%3C/svg%3E");
  color: var(--white);
}
.lang--dark select:hover { border-color: var(--white); }
.lang--dark option { color: var(--charcoal); }
.nav__menu .lang { align-self: center; margin-left: 4px; }
.nav__menu a, .nav__cta { white-space: nowrap; }
@media (max-width: 1280px) {
  .nav__menu { gap: 24px; }
}

/* four links, the language picker and the CTA need about 1100px in French */
@media (max-width: 1100px) {
  .nav__inner { gap: 12px; }
  .nav__logo { margin-right: auto; }
  .nav__logo img { height: 24px; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 18px var(--gutter); border-top: 1px solid var(--line); }
  .nav__menu a::after { display: none; }
  .nav__menu .lang { align-self: stretch; margin: 0; padding: 14px var(--gutter) 18px; border-top: 1px solid var(--line); }
  .nav__menu .lang select { width: 100%; padding-top: 10px; padding-bottom: 10px; }
  .nav__cta { min-height: 38px; padding: 6px 14px; font-size: 0.85rem; white-space: nowrap; }
  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav__bars, .nav__bars::before, .nav__bars::after { display: block; width: 20px; height: 2px; background: var(--charcoal); position: relative; }
  .nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
  .nav__bars::before { top: -6px; }
  .nav__bars::after { top: 6px; }
}

/* Hero: a big promise, a year that counts up to 2030, and the four stages as a
   strip of photos that opens on hover. On wider screens it fits the viewport. */
.hero { padding: clamp(32px, 5.5vh, 64px) 0 clamp(32px, 5vh, 56px); }
.hero__inner { display: flex; flex-direction: column; gap: clamp(28px, 4.5vh, 56px); }
.hero__title {
  max-width: 19ch;
  font-size: var(--fs-display);
  line-height: .96;
  letter-spacing: -0.055em;
  font-stretch: 112%;
}
.hero__year { display: inline-block; color: var(--red); }
.hero__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.hero__copy { align-self: end; }
.hero__sub { margin-bottom: 32px; font-size: var(--fs-lead); line-height: 1.6; color: var(--grey-700); max-width: 40ch; }
.hero__strip { position: relative; display: flex; flex-direction: column; gap: 14px; }
/* crosshairs at the strip's top corners, as in the footer */
.hero__strip::before, .hero__strip::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(var(--charcoal), var(--charcoal)) center / 1px 100% no-repeat,
    linear-gradient(var(--charcoal), var(--charcoal)) center / 100% 1px no-repeat;
}
.hero__strip::before { left: -12px; }
.hero__strip::after { right: -12px; }
.hero__panels { display: flex; gap: 6px; height: 100%; min-height: 240px; }
.panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  background: var(--charcoal);
  transition: flex-grow .7s var(--ease);
}
.panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  height: 5px;
  background: var(--c);
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 25, 25, .78), rgba(25, 25, 25, 0) 50%);
  pointer-events: none;
}
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.panel img.is-right { object-position: 78% 50%; }
.panel img.is-lead { object-position: 37% 50%; }
.panel__cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--white);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 600;
  font-stretch: 108%;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.panel__cap b, .footer__index b { font-weight: inherit; }
.panel__cap span { font-size: 0.75rem; font-weight: 600; font-variant-numeric: tabular-nums; opacity: .7; }
.hero__panels:hover .panel { flex-grow: .7; }
.hero__panels .panel:hover { flex-grow: 2.2; }
.panel:hover img { transform: scale(1); }
.hero__ruler { display: flex; align-items: center; gap: 16px; font-size: 0.82rem; font-weight: 550; color: var(--grey-500); white-space: nowrap; }
.hero__ruler span:last-child { color: var(--charcoal); }
.hero__track { position: relative; flex: 1; height: 2px; background: var(--line-strong); }
.hero__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--red); }
.hero__fill::after { content: ""; position: absolute; right: -5px; top: -4px; width: 10px; height: 10px; background: var(--red); }

/* Entrance on page load: copy fades up, panels wipe up one after another
   while the year counts */
.js .hero__title, .js .hero__sub, .js .hero .btn-row { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .hero .hero__sub { transition-delay: .12s; }
.js .hero .btn-row { transition-delay: .22s; }
.js .hero.is-in .hero__title, .js .hero.is-in .hero__sub, .js .hero.is-in .btn-row { opacity: 1; transform: none; }
.js .hero .panel { clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease), flex-grow .7s var(--ease); }
.js .hero .panel:nth-child(2) { transition-delay: .12s, 0s; }
.js .hero .panel:nth-child(3) { transition-delay: .24s, 0s; }
.js .hero .panel:nth-child(4) { transition-delay: .36s, 0s; }
.js .hero.is-in .panel { clip-path: inset(0 0 0 0); }
.js .hero .hero__fill { width: 0; transition: width 1.6s var(--ease) .2s; }
.js .hero.is-in .hero__fill { width: 100%; }

@media (min-width: 992px) {
  .hero { height: calc(100svh - var(--nav-h) - 1px); min-height: 500px; max-height: 1000px; }
  .hero > .container, .hero__inner { height: 100%; }
  .hero__row { flex: 1; min-height: 0; }
}
@media (max-width: 991px) {
  .hero { padding: 48px 0 72px; }
  :root { --fs-display: clamp(2.4rem, 7.4vw, 4.4rem); }
  .hero__row { grid-template-columns: 1fr; gap: 48px; }
  .hero__panels { height: 340px; }
}
@media (max-width: 420px) {
  .nav__logo img { height: 20px; }
  .nav__cta { padding: 6px 12px; font-size: 0.8rem; }
}
@media (max-width: 640px) {
  .hero { padding-top: 36px; }
  :root { --fs-display: clamp(2.2rem, 10.4vw, 2.9rem); }
  .hero__sub { font-size: 1.05rem; }
  .hero .btn { padding: 12px 20px; }
  .hero__strip::before, .hero__strip::after { display: none; }
  .hero__panels { display: grid; grid-template-columns: 1fr 1fr; height: auto; min-height: 0; }
  .panel { aspect-ratio: 4 / 3.4; }
  .hero__ruler { font-size: 0.72rem; gap: 10px; }
}

/* Sections */
.section { padding: var(--section-y) 0; }
.section--stone { background: var(--stone); }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 96px; align-items: end; }
.split--top { align-items: start; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
}

/* Scroll-read paragraph: words darken as you scroll */
.scroll-read { font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.5; letter-spacing: -0.01em; font-weight: 450; }
.scroll-read .w { color: #C9C9C9; transition: color .4s; }
.scroll-read .w.is-on { color: var(--charcoal); }
.dark .scroll-read .w { color: #555; }
.dark--olive .scroll-read .w, .dark--navy .scroll-read .w { color: rgba(255, 255, 255, .35); }
.dark .scroll-read .w.is-on { color: var(--white); }

/* Cards: sharp, thin border */
.cards { display: grid; gap: 20px; margin-top: var(--block-gap); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px;
  transition: border-color .3s;
}
.card:hover { border-color: var(--charcoal); }
.card h3 { margin-bottom: 12px; }
.card > p:not([class]) { color: var(--grey-700); font-size: 0.98rem; }
.card__icon { display: inline-flex; color: var(--olive); }
.card__icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
/* Challenge cards: icon and count on top, a hard shadow on hover */
.card--issue { display: flex; flex-direction: column; transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 56px; }
.card__count { font-size: 0.8rem; font-weight: 600; color: var(--grey-400); font-variant-numeric: tabular-nums; }
.card--issue:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--charcoal); }
/* A solid block behind one key word in a big heading. The block colour suits
   the section: charcoal on olive, red on charcoal and on light sections, white
   on navy, navy on stone. It sweeps in when the heading appears. */
.mark {
  --mk: var(--charcoal);
  --mk-text: var(--white);
  display: inline-block;
  padding: 0 .14em;
  line-height: 1.05;
  background: linear-gradient(var(--mk), var(--mk)) no-repeat left center / 0% 100%;
  transition: background-size .9s var(--ease) .35s, color .5s var(--ease) .55s;
}
.is-in .mark, html:not(.js) .mark { background-size: 100% 100%; color: var(--mk-text); }
.dark .mark, .grid-bg .mark { --mk: var(--red); }
.dark--olive .mark { --mk: var(--charcoal); }
.dark--navy .mark { --mk: var(--white); --mk-text: var(--navy); }
/* the hero already has a red year, so its block is charcoal and lands once the count ends */
.hero .mark { --mk: var(--charcoal); transition-delay: 1.9s, 2.1s; }
.section--stone .mark { --mk: var(--navy); }
.card__num { font-size: 0.85rem; font-weight: 600; color: var(--c, var(--red)); margin-bottom: 32px; font-variant-numeric: tabular-nums; }
.card__label { font-size: 0.9rem; font-weight: 550; color: var(--red); margin-bottom: 16px; }
.card__label--olive { color: #9DBE5A; }
.card__big { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; }
.card--stage { border-top: 4px solid var(--c, var(--red)); }
.dark--olive .card { color: var(--charcoal); border-color: transparent; }
.dark--olive .card:hover { border-color: var(--charcoal); }
.dark--navy .card { background: #173C5E; border-color: rgba(255, 255, 255, .14); color: var(--white); }
.dark--navy .card > p:not([class]) { color: rgba(255, 255, 255, .74); }
.dark--navy .card--stage { border-top-color: var(--c); }
.card--stage:hover { border-color: rgba(255, 255, 255, .4); border-top-color: var(--c, var(--red)); }
@media (max-width: 1080px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cards--3 { grid-template-columns: 1fr; }
  .card__top { margin-bottom: 32px; }
}
@media (max-width: 640px) {
  .cards--4 { grid-template-columns: 1fr; }
  .card { padding: 28px 22px; }
  .card__num { margin-bottom: 20px; }
}

/* Start earlier: a bold headline, the photo with a hard red offset, and a timing scale */
.early__title { max-width: 20ch; margin-bottom: var(--block-gap); }

.early__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
.early__photo { aspect-ratio: 4 / 5; box-shadow: 16px 16px 0 var(--red); }
.early__photo img { width: 100%; height: 100%; object-fit: cover; }
.scale { position: relative; margin-top: 64px; padding-top: 44px; }
.scale__track { position: relative; height: 6px; background: rgba(255, 255, 255, .12); }
.scale__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); transition: width 1.8s var(--ease) .2s; }
.scale.is-in .scale__fill { width: 100%; }
.scale__ticks { display: flex; justify-content: space-between; padding-top: 14px; font-size: 0.85rem; color: var(--grey-400); }
.scale__ticks li { position: relative; }
.scale__ticks li::before { content: ""; position: absolute; top: -20px; left: 0; width: 1px; height: 12px; background: rgba(255, 255, 255, .4); }
.scale__ticks li:last-child { text-align: right; }
.scale__ticks li:last-child::before { left: auto; right: 0; }
.scale__mark { position: absolute; top: 0; font-size: 0.85rem; font-weight: 600; }
.scale__mark span { display: inline-block; padding: 5px 10px; }
.scale__mark--you { left: 0; }
.scale__mark--you span { background: var(--red); color: var(--white); }
.scale__mark--market { right: 0; }
.scale__mark--market span { border: 1px solid rgba(255, 255, 255, .3); color: var(--grey-dark); }
.early__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 64px; }
.early__pair > div { padding-top: 20px; border-top: 2px solid var(--red); }
.early__pair > div + div { border-top-color: var(--olive); }
.early__label { margin-bottom: 12px; font-size: 0.88rem; font-weight: 550; color: var(--grey-dark); }
.early__big { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.025em; font-weight: 600; font-stretch: 106%; }
@media (max-width: 960px) {
  .early__grid { grid-template-columns: 1fr; gap: 56px; }
  .early__photo { aspect-ratio: 16 / 11; margin-right: 16px; }
}
@media (max-width: 560px) {
  .early__pair { grid-template-columns: 1fr; gap: 28px; }
  .scale__ticks { font-size: 0.75rem; }
  .scale__mark { font-size: 0.75rem; }
}

/* Figures */
.fig { margin: var(--block-gap) 0 0; background: var(--white); border: 1px solid var(--line-strong); color: var(--charcoal); }
.dark .fig { border-color: transparent; }
.fig__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--grey-500);
}
.fig__bar > span:first-child { color: var(--charcoal); font-weight: 600; }
.fig__live { display: inline-flex; align-items: center; gap: 8px; }
.fig__live i { width: 8px; height: 8px; background: var(--red); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
@media (max-width: 640px) {
  .fig__bar { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 20px; }
}

/* FIG. 01: a rising route through four colour-coded stops */
.route { --pad: 56px; --gap: 64px; position: relative; padding: 120px var(--pad); }
.route__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route__base { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 6; }
.route__line { fill: none; stroke: var(--charcoal); stroke-width: 2; stroke-linejoin: miter; }
.route__dot { fill: var(--red); stroke: var(--white); stroke-width: 3; opacity: 0; transition: opacity .4s; }
.route.is-running .route__dot { opacity: 1; }
.route__stops { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); align-items: start; }
.stop {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  transition: border-color .4s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.stop::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 4px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.stop:nth-child(1) { margin-top: 210px; }
.stop:nth-child(2) { margin-top: 140px; }
.stop:nth-child(3) { margin-top: 70px; }
.stop__num { font-size: 0.8rem; font-weight: 600; color: var(--grey-400); transition: color .4s; }
.stop__name { font-size: var(--fs-h3); font-weight: 600; font-stretch: 108%; letter-spacing: -0.03em; line-height: 1.1; }
.stop__note { font-size: 0.9rem; color: var(--grey-500); }
.stop.is-lit { border-color: var(--charcoal); }
.stop.is-lit::before { transform: scaleX(1); }
.stop.is-lit .stop__num { color: var(--c); }
.stop.is-here { box-shadow: 8px 8px 0 var(--c); transform: translate(-4px, -4px); }
.route__end {
  position: absolute;
  z-index: 1;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.route__end--start { left: calc(var(--pad) + (100% - 2 * var(--pad) - 3 * var(--gap)) / 8); bottom: 36px; transform: translateX(-50%); background: var(--white); border: 1px solid var(--charcoal); }
.route__end--finish { right: calc(var(--pad) + (100% - 2 * var(--pad) - 3 * var(--gap)) / 8); top: 36px; transform: translateX(50%); background: var(--red); color: var(--white); }
@media (max-width: 1100px) {
  .route { --pad: 32px; --gap: 40px; }
  .stop { padding: 22px 18px 20px; }
}
@media (max-width: 900px) {
  .route { padding: 72px 20px; }
  .route__end { transform: none; }
  .route__stops { grid-template-columns: 1fr; gap: 20px; padding-left: 36px; }
  .stop:nth-child(n) { margin-top: 0; }
  .stop.is-here { box-shadow: 6px 6px 0 var(--c); transform: translate(-3px, -3px); }
  .route__end--start { left: 20px; top: 20px; bottom: auto; }
  .route__end--finish { left: 20px; right: auto; top: auto; bottom: 20px; }
}

/* Full-bleed photo band */
.band { position: relative; height: clamp(360px, 46vw, 640px); overflow: hidden; background: var(--charcoal); }
.band__img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 25, 25, .85), rgba(25, 25, 25, .1) 55%, transparent);
  pointer-events: none;
}
.band__caption { position: absolute; left: 0; right: 0; bottom: clamp(32px, 5vw, 64px); margin: 0 auto; z-index: 1; }
.band__line {
  display: inline-block;
  padding-left: 24px;
  border-left: 6px solid var(--red);
  color: var(--white);
  font-size: var(--fs-statement);
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: -0.045em;
  line-height: 1;
}

/* What changes: giant rows that take focus as you scroll */
.dark__title { margin-bottom: var(--block-gap); max-width: 20ch; }
.big-rows { border-top: 1px solid var(--line-dark); }
.big-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px auto 1fr minmax(0, 30ch);
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-dark);
  cursor: default;
}
.big-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--navy), var(--olive));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease);
}
.big-row__num { font-size: 0.85rem; font-weight: 600; color: var(--grey-500); font-variant-numeric: tabular-nums; transition: color .4s; }
.big-row__name {
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  font-weight: 600;
  font-stretch: 115%;
  letter-spacing: -0.055em;
  line-height: .95;
  color: #3E3E3E;
  transition: color .5s;
}
.big-row__img {
  justify-self: end;
  width: 240px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .7s var(--ease);
}
.big-row__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.big-row__note { color: var(--grey-500); font-size: 1rem; line-height: 1.5; transition: color .5s; }
.big-row.is-active .big-row__name { color: var(--white); }
.big-row.is-active .big-row__num { color: var(--red); }
.big-row.is-active .big-row__note { color: var(--grey-dark); }
.big-row.is-active .big-row__img { clip-path: inset(0 0 0 0); }
.big-row.is-active .big-row__img img { transform: scale(1); }

.big-row.is-active::after { transform: scaleX(1); }
@media (max-width: 960px) {
  .big-row { grid-template-columns: 40px 1fr; gap: 12px 16px; padding: 28px 0; }
  .big-row__img { display: none; }
  .big-row__note { grid-column: 2; max-width: 40ch; }
}

/* FIG. 02: the pilot loop */
.cycle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "steps loop" "next loop";
  gap: 24px 72px;
  align-items: center;
  padding: 56px;
}
.cycle__steps { grid-area: steps; align-self: end; }
.loop { grid-area: loop; }
.cycle__next { grid-area: next; justify-self: start; align-self: start; }
.cycle__steps { display: flex; flex-direction: column; gap: 12px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .4s, background-color .4s;
}
.step::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 4px;
  background: var(--c);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease);
}
.step h3 { margin-bottom: 0; }
.step p { font-size: 0.95rem; color: var(--grey-700); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.step__num { font-size: 0.85rem; font-weight: 600; color: var(--grey-400); padding-top: 3px; transition: color .4s; }
.step:hover { border-color: var(--grey-400); }
.step:focus-visible { outline-offset: -3px; }
.step.is-active { border-color: var(--charcoal); }
.step.is-active::before { transform: scaleY(1); }
.step.is-active .step__num { color: var(--c); }
.step.is-active p { max-height: 8em; opacity: 1; margin-top: 8px; }

.loop { position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1; }
.loop svg { width: 100%; height: 100%; overflow: visible; }
.loop__track { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 6; }
.loop__arc { fill: none; stroke: var(--red); stroke-width: 3; stroke-linejoin: miter; stroke-dasharray: 100; stroke-dashoffset: 100; }
.loop__nodes rect { fill: var(--white); stroke: var(--charcoal); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.loop__nodes rect.is-on:nth-child(1) { fill: var(--red); stroke: var(--red); }
.loop__nodes rect.is-on:nth-child(2) { fill: var(--navy); stroke: var(--navy); }
.loop__nodes rect.is-on:nth-child(3) { fill: var(--olive); stroke: var(--olive); }
.loop__nodes rect.is-on:nth-child(4) { fill: var(--charcoal); stroke: var(--charcoal); }
.loop__dot { fill: var(--charcoal); stroke: var(--white); stroke-width: 3; }
.loop__label {
  position: absolute;
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey-500);
  background: var(--white);
  border: 1px solid var(--line);
  transition: color .4s, background-color .4s, border-color .4s;
}
.loop__label.is-on { color: var(--white); border-color: transparent; }
.loop__label--1 { left: 15%; top: 15%; transform: translate(-50%, calc(-100% - 14px)); }
.loop__label--2 { left: 85%; top: 15%; transform: translate(-50%, calc(-100% - 14px)); }
.loop__label--3 { left: 85%; top: 85%; transform: translate(-50%, 14px); }
.loop__label--4 { left: 15%; top: 85%; transform: translate(-50%, 14px); }
.loop__label--1.is-on { background: var(--red); }
.loop__label--2.is-on { background: var(--navy); }
.loop__label--3.is-on { background: var(--olive); }
.loop__label--4.is-on { background: var(--charcoal); }
.loop__centre { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.loop__count { font-size: clamp(3.5rem, 7vw, 5.5rem); font-weight: 600; font-stretch: 120%; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.loop__caption { font-size: 0.95rem; color: var(--grey-500); line-height: 1.4; }
@media (max-width: 960px) {
  .cycle { grid-template-columns: 1fr; grid-template-areas: "loop" "steps" "next"; padding: 56px 28px; gap: 24px; }
  .loop { max-width: 340px; margin-bottom: 32px; }
}
@media (max-width: 640px) {
  .cycle { padding: 48px 20px 40px; }
  .loop { max-width: 270px; }
  .step { padding: 16px 18px; grid-template-columns: 36px 1fr; }
}

/* Final CTA: a big question on the left, the form on the right */
.section--stone { background: var(--stone); }
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.cta__intro h2 { max-width: 14ch; }
.cta__body { margin-top: 32px; font-size: var(--fs-lead); color: var(--grey-700); max-width: 38ch; }
.cta__panel { background: var(--white); border: 1px solid var(--line-strong); padding: 48px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__row { display: flex; flex-direction: column; gap: 8px; }
.form__row--full { grid-column: 1 / -1; }
.form label { font-size: 0.88rem; font-weight: 550; }
.form__opt { color: var(--grey-500); font-weight: 450; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-size: 0.98rem;
  transition: border-color .2s, box-shadow .2s;
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--grey-400); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--charcoal); box-shadow: 4px 4px 0 var(--red); }
.form__note { margin-top: 12px; font-size: 0.85rem; color: var(--grey-500); }
@media (max-width: 960px) {
  .cta { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .cta__panel { padding: 28px 20px; }
  .form { grid-template-columns: 1fr; }
}

/* Footer: technical and minimal. A hairline grid of cells with corner marks,
   a live local clock, and the four stage colours. */
.footer { position: relative; isolation: isolate; background: #0F0F0F; color: var(--white); }
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0 25%, #5B8FC7 25% 50%, var(--olive) 50% 75%, var(--white) 75%);
}
.footer__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  padding: 112px 0 72px;
}
.footer__statement {
  max-width: 24ch;
  font-size: var(--fs-statement);
  font-weight: 600;
  font-stretch: 108%;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.footer__statement span { color: var(--grey-500); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.footer__cell {
  position: relative;
  min-height: 240px;
  padding: 32px 28px 40px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
/* small crosshair where the hairlines meet */
.footer__cell::before, .footer__cell:last-child::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)) center / 1px 100% no-repeat,
    linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)) center / 100% 1px no-repeat;
}
.footer__cell:last-child::after { left: auto; right: -6px; }
.footer__label { margin-bottom: 20px; font-size: 0.78rem; font-weight: 500; font-stretch: 92%; letter-spacing: 0.04em; color: var(--grey-500); }
.footer__cell--brand img { height: 30px; width: auto; margin-bottom: 24px; }
.footer__cell--brand p { max-width: 36ch; font-size: 0.95rem; color: var(--grey-400); }
.footer__cell--brand a { color: var(--white); text-underline-offset: 3px; }
.footer__cell--brand a:hover { color: var(--red); }
.footer__index a { display: flex; gap: 16px; padding: 5px 0; color: var(--grey-dark); text-decoration: none; transition: color .2s; }
.footer__index span { min-width: 20px; font-size: 0.8rem; color: var(--grey-500); font-variant-numeric: tabular-nums; padding-top: 3px; transition: color .2s; }
.footer__index a:hover { color: var(--white); }
.footer__index a:hover span { color: var(--red); }
.footer__stages li { display: flex; align-items: center; gap: 12px; padding: 5px 0; color: var(--grey-dark); }
.footer__stages li::before { content: ""; width: 8px; height: 8px; background: var(--c); }
.footer__clock { font-size: 2.4rem; font-weight: 500; font-stretch: 115%; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.footer__clock span { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; color: var(--grey-500); }
.footer__top-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 32px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color .2s;
}
.footer__top-link:hover { border-color: var(--red); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 28px 0 36px;
  font-size: 0.85rem;
  color: var(--grey-400);
}
.footer__base a { color: var(--white); text-underline-offset: 3px; }
.footer__base a:hover { color: var(--red); }
@media (max-width: 991px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__cell:last-child::after { display: none; }
}
@media (max-width: 600px) {
  .footer__head { padding: 80px 0 48px; }
  .footer__cell { min-height: 0; padding: 28px 20px 32px; }
  .footer__cell--brand, .footer__cell--meta { grid-column: 1 / -1; }
  .footer__base { flex-direction: column; }
}

/* ---------- Inner pages: about, privacy, cookies ---------- */
.nav__menu a[aria-current="page"] { color: var(--charcoal); }
.nav__menu a[aria-current="page"]::after { transform: scaleX(1); }

/* Page opener: display headline, lead and a photo */
.page-head { padding: clamp(56px, 9vh, 104px) 0 var(--section-y); }
.page-head__title { max-width: 22ch; margin-bottom: var(--block-gap); font-size: var(--fs-display); line-height: .96; letter-spacing: -0.055em; font-stretch: 112%; }
.page-head__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: end; }
.page-head__lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--grey-700); max-width: 40ch; }
.page-head__photo { aspect-ratio: 16 / 9; box-shadow: 16px 16px 0 var(--charcoal); }
.page-head__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.page-head .mark { --mk: var(--charcoal); }
@media (max-width: 900px) {
  .page-head__row { grid-template-columns: 1fr; gap: 40px; }
  .page-head__photo { margin-right: 16px; }
}
/* Legal pages open at section size */
.page-head--legal { padding-bottom: 64px; }
.page-head--legal .page-head__title { margin-bottom: 20px; font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.035em; font-stretch: 106%; }
.page-head__meta { margin-bottom: 24px; font-size: 0.85rem; font-weight: 550; color: var(--grey-500); }

/* The group: parent company, a hairline that branches to each company */
.group { margin-top: var(--block-gap); }
.group__parent { position: relative; width: min(100%, 420px); margin: 0 auto; padding: 28px 32px; background: var(--charcoal); color: var(--white); text-align: center; }
.group__parent::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 40px; background: var(--charcoal); }
.group__label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em; color: var(--grey-400); margin-bottom: 10px; }
.group__name img { height: 24px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); }
.group__link { display: inline-block; margin-top: 12px; font-size: 0.85rem; color: var(--grey-dark); text-underline-offset: 3px; }
.group__link:hover { color: var(--white); }
.group__companies { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; padding-top: 40px; }
/* the branch: a line across the tops, with a drop to each company */
.group__companies::before { content: ""; position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 1px; background: var(--charcoal); }
.company { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 32px; background: var(--white); border: 1px solid var(--line-strong); border-top: 4px solid var(--c); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.company::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 44px; background: var(--charcoal); }
.company::after { content: ""; position: absolute; left: calc(50% - 4px); top: -48px; width: 9px; height: 9px; background: var(--c); }
.company:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--charcoal); }
.company__status { align-self: flex-start; padding: 4px 10px; font-size: 0.78rem; font-weight: 600; border: 1px solid var(--line-strong); color: var(--grey-500); }
.company--here .company__status { background: var(--red); border-color: var(--red); color: var(--white); }
.company__status--live { border-color: var(--navy); color: var(--navy); }
.company__name { margin-top: 8px; }
.company__name img { height: 30px; width: auto; max-width: 100%; }
/* LynneWaters has no bracket mark, so it sits smaller to match the other wordmarks */
.company__name img.is-wordmark { height: 15px; margin: 8px 0 7px; }
.company__line { font-weight: 600; line-height: 1.4; }
.company > p:not([class]) { color: var(--grey-700); font-size: 0.95rem; }
.company__link { margin-top: auto; padding-top: 8px; font-size: 0.92rem; font-weight: 600; color: var(--navy); text-underline-offset: 3px; }
.company__link:hover { color: var(--red); }
.company--soon { background: transparent; border-style: dashed; border-top-style: solid; }
.company--soon .company__line { color: var(--grey-500); font-weight: 500; }
.group__note { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: var(--block-gap); padding-top: 40px; border-top: 1px solid var(--line-strong); color: var(--grey-700); }
@media (max-width: 991px) {
  .group__companies { grid-template-columns: 1fr 1fr; }
  .group__companies::before { left: 25%; right: 25%; }
  .company:nth-child(n+3)::before, .company:nth-child(n+3)::after { display: none; }
}
@media (max-width: 640px) {
  .group__companies { grid-template-columns: 1fr; padding-top: 0; }
  .group__companies::before { display: none; }
  .company::before, .company::after { display: none; }
  .group__parent::after { display: none; }
  .group__note { grid-template-columns: 1fr; gap: 20px; }
}

/* About: overview text and a light button on dark */
.about__text { margin-top: 32px; color: var(--grey-dark); max-width: 52ch; }
.dark .early__pair { margin-bottom: 40px; }
.btn--light { border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--charcoal); }

/* Who we work with: numbered list beside a photo */
.partners { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; margin-top: var(--block-gap); }
.partners__list { border-top: 1px solid var(--line-strong); }
.partners__list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.partners__list span { font-size: 0.85rem; font-weight: 600; color: var(--red); padding-top: 4px; font-variant-numeric: tabular-nums; }
.partners__list p { color: var(--grey-700); }
.partners__list b { color: var(--charcoal); font-weight: 600; }
.partners__photo { position: sticky; top: calc(var(--nav-h) + 32px); aspect-ratio: 4 / 5; box-shadow: 16px 16px 0 var(--olive); }
.partners__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .partners { grid-template-columns: 1fr; gap: 48px; }
  .partners__photo { position: static; aspect-ratio: 16 / 11; margin-right: 16px; }
}

/* Legal pages: a sticky contents list and readable text */
.legal-wrap { padding-top: 64px; }
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 96px; align-items: start; }
.legal__toc { position: sticky; top: calc(var(--nav-h) + 32px); padding-top: 8px; border-top: 3px solid var(--charcoal); }
.legal__toc-label { margin: 12px 0 12px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em; color: var(--grey-500); }
.legal__toc ol { counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 12px; padding: 6px 0; font-size: 0.92rem; color: var(--grey-700); text-decoration: none; }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); min-width: 22px; font-size: 0.78rem; color: var(--grey-400); padding-top: 2px; }
.legal__toc a:hover { color: var(--charcoal); }
.legal__toc a:hover::before { color: var(--red); }
.legal__body { max-width: 70ch; }
.legal__body h2 { max-width: none; margin: 56px 0 16px; padding-top: 20px; border-top: 1px solid var(--line-strong); font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.015em; font-stretch: 104%; }
.legal__body p, .legal__body ul, .legal__body dl { color: var(--grey-700); margin-bottom: 16px; }
.legal__body ul { padding-left: 20px; list-style: square; }
.legal__body li { margin-bottom: 6px; }
.legal__body li::marker { color: var(--red); }
.legal__body b { color: var(--charcoal); font-weight: 600; }
.legal__body a { color: var(--charcoal); text-underline-offset: 3px; }
.legal__body a:hover { color: var(--red); }
.legal__draft { padding: 16px 20px; background: var(--white); border: 1px solid var(--line-strong); border-left: 4px solid var(--red); font-size: 0.92rem; }
.legal__facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; border-top: 1px solid var(--line); }
.legal__facts dt, .legal__facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal__facts dt { padding-right: 32px; font-weight: 550; color: var(--charcoal); }
.todo { display: inline-block; padding: 0 8px; border: 1px dashed var(--red); color: var(--red); font-size: 0.9em; font-weight: 550; }
.todo::before { content: "["; } .todo::after { content: "]"; }
.legal__table { overflow-x: auto; margin: 8px 0 20px; border: 1px solid var(--line-strong); background: var(--white); }
.legal__table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.92rem; }
.legal__table th, .legal__table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal__table th { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; color: var(--grey-500); background: var(--paper); }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table code { white-space: nowrap; font-size: 0.85rem; padding: 2px 6px; background: var(--stone); }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .legal__facts { grid-template-columns: minmax(0, 1fr); }
  .legal__facts dt { padding-bottom: 0; border-bottom: 0; }
  .legal__toc { position: static; }
}

/* Footer legal links */
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__consent { padding: 0; border: 0; background: none; color: var(--white); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__consent:hover { color: var(--red); }

/* Cookie banner: a sharp card in the corner with a hard shadow */
.consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  width: min(440px, calc(100% - 48px));
  padding: 24px 24px 22px;
  background: var(--white);
  border: 1px solid var(--charcoal);
  border-top: 4px solid var(--red);
  box-shadow: 10px 10px 0 var(--charcoal);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.consent.is-open { opacity: 1; transform: none; }
.consent__title { margin-bottom: 8px; font-weight: 600; font-stretch: 104%; }
.consent__text { margin-bottom: 18px; font-size: 0.9rem; line-height: 1.55; color: var(--grey-700); }
.consent__text a { color: var(--charcoal); text-underline-offset: 3px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; box-shadow: 6px 6px 0 var(--charcoal); }
  .consent__actions .btn { flex: 1; }
}

/* Reveal on scroll (only when JS runs and motion is allowed) */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .band__img { transform: none !important; }
  .js .hero .panel { clip-path: none; }
  .js .hero__title, .js .hero__sub, .js .hero .btn-row { opacity: 1; transform: none; }
  .mark { background-size: 100% 100%; color: var(--mk-text); }
  .consent { transform: none; }
  .js .hero .hero__fill { width: 100%; }
}
