/* Tapijt van Vlaardingen — styles */

:root {
  --navy: #082C58;
  --navy-deep: #061F40;
  --navy-2: #0D3566;
  --cream: #F5F1E8;
  --sand: #EDE7DA;
  --ph: #E7E0D1;
  --ink: #1A1814;
  --ink-2: #4A453C;
  --muted: #6B6457;
  --faint: #9A9282;
  --line: rgba(26, 24, 20, 0.12);
  --line-strong: rgba(26, 24, 20, 0.25);
  --on-navy: #F5F1E8;
  --on-navy-2: rgba(245, 241, 232, 0.72);
  --on-navy-3: rgba(245, 241, 232, 0.5);
  --navy-line: rgba(245, 241, 232, 0.14);
  --accent: #A3432B;
  --accent-bright: #C9573C;

  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1440px;
  --gutter: clamp(20px, 5.5vw, 80px);
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --section: clamp(96px, 11vw, 168px);
  --nav-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip;
  background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--cream); border-radius: 2px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; }
.skip:focus { opacity: 1; pointer-events: auto; }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }

.s-cream { background: var(--cream); color: var(--ink); }
.s-sand { background: var(--sand); color: var(--ink); }
.s-navy { background: var(--navy); color: var(--on-navy); }
.s-deep { background: var(--navy-deep); color: var(--on-navy); }
.s-navy .label, .s-deep .label { color: var(--on-navy-3); }
.s-navy .lead, .s-deep .lead { color: var(--on-navy-2); }

/* ---------- Type ---------- */

.serif, .display, .h1, .h2, .h3, .statement, .num { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; }
.display { font-size: clamp(48px, 8.3vw, 124px); line-height: 1; letter-spacing: -0.03em; }
.h1 { font-size: clamp(44px, 6vw, 88px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.h2 { font-size: clamp(36px, 4.45vw, 64px); line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
.h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.12; letter-spacing: -0.015em; }
.statement { font-size: clamp(40px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.label { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.label--red { color: var(--accent) !important; }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.small { font-size: 14px; line-height: 1.55; color: var(--muted); }
.stack { display: grid; gap: 28px; justify-items: start; align-content: start; }
.stack--sm { gap: 16px; }

/* ---------- Links & buttons ---------- */

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; padding-bottom: 6px;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0% 1px no-repeat,
              linear-gradient(var(--line-strong), var(--line-strong)) left bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 100% 1px, 100% 1px; }
.link .arr { display: inline-block; transition: transform .3s var(--ease); }
.link:hover .arr { transform: translateX(3px); }
.s-navy .link, .s-deep .link, .link--light {
  background: linear-gradient(var(--accent-bright), var(--accent-bright)) left bottom / 0% 1px no-repeat,
              linear-gradient(rgba(245,241,232,.35), rgba(245,241,232,.35)) left bottom / 100% 1px no-repeat;
}
.s-navy .link:hover, .s-deep .link:hover, .link--light:hover { background-size: 100% 1px, 100% 1px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 2px;
  background: var(--ink); color: var(--cream);
  font-size: 15px; font-weight: 500;
  transition: background-color .25s ease;
}
.btn:hover { background: var(--accent); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn--light { background: var(--cream); color: var(--navy); }
.btn--light:hover { background: #FFFFFF; color: var(--accent); }

.round {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(26, 24, 20, .25); background: transparent; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}
.round:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.round:disabled { opacity: .3; cursor: default; }

/* ---------- Loader ---------- */

.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: var(--navy-deep); color: var(--cream);
  transition: opacity .7s ease, visibility .7s;
}
.loader img { width: 54px; height: auto; }
.loader__mark { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; }
.loader__bar { position: relative; width: min(280px, 60vw); height: 1px; background: rgba(245, 241, 232, .18); overflow: hidden; }
.loader__bar span { position: absolute; inset: 0; background: var(--accent-bright); transform: scaleX(0); transform-origin: left; animation: load-bar 1.2s var(--ease-io) forwards .15s; }
.is-loaded .loader { opacity: 0; visibility: hidden; }
@keyframes load-bar { to { transform: scaleX(1); } }

/* ---------- Navigation ---------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(245, 241, 232, .9);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(26, 24, 20, .06);
  transform: translateY(-101%);
  transition: transform .45s var(--ease);
}
.nav.is-visible, .nav--static { transform: none; }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 18px; letter-spacing: -0.015em; white-space: nowrap; }
.brand img { width: 22px; height: auto; }
.nav__links { display: flex; gap: 30px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.nav__links a { position: relative; color: var(--muted); transition: color .2s ease; padding-block: 6px; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 28px; font-size: 13.5px; font-weight: 500; }
.nav__contact { color: var(--ink); }
.nav__contact:hover { color: var(--accent); }

.lang { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.lang button { background: none; border: 0; padding: 6px 4px; cursor: pointer; color: var(--faint); position: relative; transition: color .2s ease; }
.lang button[aria-pressed="true"] { color: var(--ink); }
.lang button[aria-pressed="true"]::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 2px; height: 1px; background: var(--accent); }
.lang span { color: var(--faint); }

.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; }
.nav__progress span { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--scroll, 0)); }
.nav__progress i { position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateX(calc(var(--scroll, 0) * (100vw - 5px))); }

.menu-toggle { display: none; }
.menu { display: none; }

/* ---------- Hero ---------- */

.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1100px; overflow: hidden; background: var(--navy-deep); color: var(--cream); }
.hero__media { position: absolute; inset: -3% 0 -3%; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform-origin: 60% 50%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 31, 64, .86) 0%, rgba(6, 31, 64, .55) 42%, rgba(6, 31, 64, .12) 78%),
    linear-gradient(180deg, rgba(6, 31, 64, .25) 0%, rgba(6, 31, 64, 0) 35%, rgba(6, 31, 64, .7) 100%);
}
.hero__content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(48px, 8vh, 88px); padding-bottom: max(36px, env(safe-area-inset-bottom)); }
.hero__text { display: grid; gap: 30px; max-width: 11.5em; font-size: clamp(48px, 8.3vw, 124px); }
.hero__text .label { font-size: 12px; color: rgba(245, 241, 232, .78); }
.hero__line { display: block; }
.hero__soft { color: rgba(245, 241, 232, .6); }
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(245, 241, 232, .22); }
.hero__meta p { display: flex; align-items: baseline; gap: 48px; font-size: 16px; }
.hero__meta .label { color: rgba(245, 241, 232, .7); }

/* ---------- Statement ---------- */

.statement-sec { padding-block: clamp(120px, 14vw, 200px) var(--section); }
.statement { max-width: 15em; }
.statement em { font-style: normal; color: var(--accent); }
.statement-sec .grid { margin-top: clamp(64px, 8vw, 112px); align-items: start; }
.statement-sec__intro { grid-column: 1 / span 5; }
.bayeux { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.bayeux > div { padding: 22px 24px 0 0; display: grid; gap: 10px; }
.bayeux > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.bayeux .num { font-size: clamp(40px, 4.2vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.bayeux .num small { font-size: .42em; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.bayeux p.small { max-width: 20em; }
.bayeux__link { grid-column: 1 / -1; padding-top: 28px; }

/* ---------- Meter (navy) ---------- */

.meter-sec { padding-block: clamp(96px, 10vw, 144px); }
.meter-sec__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.meter-figure { display: flex; align-items: baseline; gap: 18px; margin-top: 18px; }
.meter-figure .num { font-size: clamp(120px, 15vw, 220px); line-height: .8; letter-spacing: -0.05em; display: inline-block; min-width: 1.1em; font-variant-numeric: tabular-nums; }
.meter-figure .of { font-family: var(--serif); font-size: clamp(22px, 2.5vw, 36px); color: var(--on-navy-3); }
.meter-sec__top .lead { max-width: 26em; }

.meter { margin-top: clamp(64px, 8vw, 112px); }
.meter__track { position: relative; height: 96px; overflow-x: clip; overflow-y: visible; }
.meter__line { position: absolute; left: 0; right: 0; top: 36px; height: 1px; background: rgba(245, 241, 232, .22); }
.meter__fill { position: absolute; left: 0; top: 32px; height: 9px; width: var(--pct, 62.5%); }
.meter__fill::before { content: ''; position: absolute; left: 0; right: 0; top: 2.5px; height: 4px; background: var(--accent-bright); transform: scaleX(var(--p, 1)); transform-origin: left; }
.meter__head { position: absolute; inset: 0; transform: translate3d(calc(var(--p, 1) * 100%), 0, 0); }
.meter__dot { position: absolute; left: -6px; top: -1.5px; width: 12px; height: 12px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 5px var(--navy); }
.meter__ticks span { position: absolute; top: 48px; width: 1px; height: 5px; background: rgba(245, 241, 232, .2); transition: background-color .3s ease; }
.meter__ticks span.is-major { height: 11px; background: rgba(245, 241, 232, .45); }
.meter__ticks span.is-done { background: rgba(201, 87, 60, .7); }
.meter__marks { position: absolute; inset: 0; pointer-events: none; }
.meter__mark { position: absolute; top: 0; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-3); white-space: nowrap; }
.meter__mark b { color: var(--cream); font-weight: 500; }
.meter__mark--end { transform: translateX(-100%); }
.meter__mark--mid { transform: translateX(-50%); }
.meter__scale { position: absolute; top: 66px; font-size: 12px; font-weight: 500; color: var(--on-navy-3); font-variant-numeric: tabular-nums; transform: translateX(-50%); white-space: nowrap; }
.meter__scale:first-of-type { transform: none; }
.meter__scale:last-of-type { transform: translateX(-100%); }

.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.phase { position: relative; padding-top: 22px; border-top: 1px solid rgba(245, 241, 232, .16); display: grid; gap: 8px; align-content: start; }
.phase .h3 { font-size: clamp(22px, 1.9vw, 28px); }
.phase p { font-size: 15px; color: var(--on-navy-2); max-width: 22em; }
.phase.is-now { border-top-color: var(--accent-bright); }
.phase__now { position: absolute; top: -30px; left: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--accent-bright); }
.phase__now::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Journey (timeline slider) ---------- */

.journey { padding-block: var(--section) calc(var(--section) * .8); }
.journey__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.journey__head > div:first-child { display: grid; gap: 24px; }
.journey__bar { display: flex; align-items: flex-start; gap: clamp(24px, 3vw, 48px); margin-top: 24px; }
.journey__bar .timeline { flex: 1; min-width: 0; margin-top: 10px; }
.journey__controls { flex: none; display: flex; align-items: center; gap: 8px; }
.journey__hint { display: none; }
.journey__count { white-space: nowrap; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; margin-right: 18px; }
.journey__count span:last-child { color: var(--faint); }

.era { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: clamp(56px, 6vw, 88px); }
.era__now { display: grid; gap: 6px; min-height: 3.2em; }
.era__year { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); line-height: 1; letter-spacing: -0.02em; color: var(--accent); transition: opacity .25s ease, transform .35s var(--ease); }
.era__year.is-changing { opacity: 0; transform: translateY(6px); }
.era__name { font-size: 14px; color: var(--muted); }

.timeline { position: relative; height: 34px; margin-top: 24px; }
.timeline__line { position: absolute; left: 0; right: 0; top: 8px; height: 1px; background: var(--line-strong); }
.timeline__fill { position: absolute; left: 0; top: 7.5px; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--t, 0)); transition: transform .6s var(--ease); }
.timeline__tick { position: absolute; top: 4px; width: 1px; height: 9px; background: var(--line-strong); }
.timeline__marker { position: absolute; top: 3px; left: 0; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--cream); transform: translateX(calc(var(--t, 0) * var(--tw, 0px))); transition: transform .6s var(--ease); }
.timeline__ends { position: absolute; top: 18px; left: 0; right: 0; display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.track {
  --card-h: clamp(380px, 56vh, 580px);
  display: flex; gap: 28px; align-items: flex-start;
  margin-top: 48px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding-inline: var(--edge); padding-bottom: 8px;
  scrollbar-width: none; cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.track.is-dragging img { pointer-events: none; }
.track:focus-visible { outline-offset: -2px; }

.scene { flex: none; scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.scene__media { position: relative; height: var(--card-h); overflow: hidden; background: var(--ph); }
.scene__media img { height: 100%; width: auto; max-width: none; object-fit: cover; -webkit-user-drag: none; transition: transform .8s var(--ease); }
.scene__design { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); transition: clip-path .75s var(--ease-io); }
.scene__design img { width: 100%; height: 100%; object-fit: cover; }
.scene.is-design .scene__design { clip-path: inset(0 0 0 0); }
.scene__toggle {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px;
  border: 0; border-radius: 2px; background: rgba(245, 241, 232, .92); color: var(--ink);
  font-size: 12px; font-weight: 500; letter-spacing: .06em; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.scene__toggle::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.scene__toggle:hover { background: var(--ink); color: var(--cream); }
.scene__badge { position: absolute; left: 14px; top: 14px; padding: 5px 9px; background: rgba(245, 241, 232, .92); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.scene .label { margin-top: 8px; }
.scene > p:last-child { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); max-width: 26em; }
.scene--next .scene__media { display: flex; flex-direction: column; justify-content: space-between; width: calc(var(--card-h) * .8); padding: 28px; background: var(--sand); border: 1px dashed rgba(26, 24, 20, .22); }
.scene--next .scene__media .num { font-size: clamp(40px, 4vw, 56px); line-height: 1; letter-spacing: -0.03em; }

/* ---------- Heribaldus ---------- */
.heri { padding-block: clamp(72px, 8vw, 128px); }
.heri .grid { align-items: center; }
.heri__scene { grid-column: 2 / span 4; justify-self: center; --card-h: clamp(380px, 62vh, 600px); }
.heri__text { grid-column: 7 / span 5; display: grid; gap: 20px; justify-items: start; }
.heri__text .small { color: var(--muted); }

/* ---------- 1018 moment ---------- */

.moment { padding-top: var(--section); padding-bottom: 0; overflow: hidden; }
.moment__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.moment__year { grid-column: 1 / span 7; font-family: var(--serif); font-size: clamp(120px, 21vw, 300px); line-height: .8; letter-spacing: -0.05em; }
.moment__text { grid-column: 9 / span 4; display: grid; gap: 20px; padding-bottom: 12px; }
.moment__figure { margin-top: clamp(56px, 7vw, 96px); }
.moment__figure img { width: 100%; height: auto; }
.moment__figure figcaption { padding: 18px 0 clamp(56px, 6vw, 88px); font-size: 13px; color: var(--on-navy-3); }

/* ---------- Exhibition ---------- */

.expo__title { max-width: 14em; }
.expo .grid { margin-top: clamp(48px, 6vw, 80px); align-items: end; }
.expo__info { grid-column: 1 / span 5; display: grid; gap: 40px; }
.expo__media { grid-column: 7 / span 6; display: grid; gap: 14px; }
.expo__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 30% center; background: var(--ph); }
.expo__when { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -0.02em; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2.4s ease-in-out infinite; }
figcaption { font-size: 13px; color: var(--muted); }

/* ---------- Process (sticky steps, navy) ---------- */

.process__head { display: grid; gap: 24px; max-width: 46rem; }
.process__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: clamp(56px, 7vw, 96px); }
.process__stage { grid-column: 1 / span 6; position: relative; }
.process__frame { position: sticky; top: calc(var(--nav-h) + 6vh); height: min(76vh, 760px); }
.process__frame figure { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; gap: 14px; opacity: 0; transition: opacity .8s ease; }
.process__frame figure.is-active { opacity: 1; }
.process__frame img { width: 100%; height: 100%; min-height: 0; object-fit: cover; background: var(--navy-2); }
.process__frame figcaption { color: var(--on-navy-3); }
.process__steps { grid-column: 8 / span 5; }
.step { min-height: 78vh; display: grid; align-content: center; gap: 18px; padding-block: 40px; }
.step:first-child { min-height: 60vh; align-content: start; padding-top: 6vh; }
.step__num { font-family: var(--serif); font-size: 15px; letter-spacing: .02em; color: var(--accent-bright); display: flex; align-items: center; gap: 14px; }
.step__num::after { content: ''; height: 1px; width: 0; background: var(--accent-bright); transition: width .8s var(--ease); }
.step.is-active .step__num::after { width: 64px; }
.step .h3 { font-size: clamp(28px, 2.8vw, 40px); }
.step p { color: var(--on-navy-2); max-width: 28em; }
.step__media { display: none; }
.step { opacity: .38; transition: opacity .5s ease; }
.step.is-active { opacity: 1; }
.wools { display: grid; grid-template-columns: repeat(3, 34px); gap: 10px; margin-top: 6px; }
.wools span { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); transform: scale(.4); opacity: 0; transition: transform .5s var(--ease), opacity .5s ease; transition-delay: calc(var(--i) * 90ms); }
.step.is-active .wools span, .no-motion .wools span { transform: none; opacity: 1; }
.terms { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--navy-line); max-width: 28em; }
.terms div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--navy-line); font-size: 15px; color: var(--on-navy-2); }
.stitch { display: grid; gap: 12px; margin-top: 16px; max-width: 28em; }
.stitch img { width: 100%; height: auto; padding: 6%; background: var(--cream); border-radius: 2px; }
.stitch figcaption { font-size: 14px; color: var(--on-navy-3); }
.terms dt {font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); padding-top: 3px; }

/* ---------- Compare (reveal slider) ---------- */

.compare .grid { align-items: center; }
.compare__slider { grid-column: 1 / span 7; position: relative; aspect-ratio: 1034 / 979; overflow: hidden; background: var(--ph); touch-action: pan-y; user-select: none; --pos: 50%; }
.compare__slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.compare__top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--cream); box-shadow: 0 0 0 .5px rgba(26, 24, 20, .2); pointer-events: none; }
.compare__knob { position: absolute; top: 50%; left: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--cream); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(26, 24, 20, .18); transition: transform .25s var(--ease); }
.compare__slider.is-dragging .compare__knob { transform: scale(1.08); }
.compare__tag { position: absolute; top: 16px; padding: 5px 9px; background: rgba(245, 241, 232, .92); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.compare__tag--l { left: 16px; }
.compare__tag--r { right: 16px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__range:focus-visible + .compare__handle .compare__knob { outline: 2px solid var(--accent); outline-offset: 3px; }
.compare__text { grid-column: 9 / span 4; }

/* ---------- Haringstad: scroll pans the design ---------- */
.pan { position: relative; }
.pan__stage { display: grid; grid-template-rows: auto auto auto; align-content: center; gap: clamp(20px, 3.5vh, 44px); padding-block: clamp(56px, 8vh, 96px); }
.pan__head { display: grid; grid-template-columns: 1fr minmax(0, 34em); align-items: end; gap: 24px clamp(32px, 6vw, 96px); }
.pan__head > div { display: grid; gap: 14px; }
.pan__viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.pan__viewport::-webkit-scrollbar { display: none; }
.pan__viewport:focus-visible { outline-offset: -2px; }
.pan__strip { display: flex; width: max-content; height: clamp(240px, 52vh, 620px); height: clamp(240px, 52svh, 620px); padding-inline: var(--edge); will-change: transform; }
.pan__strip img { flex: none; height: 100%; width: auto; aspect-ratio: 1645 / 1200; max-width: none; background: #FDFCF9; -webkit-user-drag: none; }
.pan__foot { display: grid; gap: 14px; }
.pan__bar { position: relative; height: 1px; background: var(--navy-line); }
.pan__bar span { position: absolute; left: 0; top: -0.5px; height: 2px; width: 100%; background: var(--accent-bright); transform-origin: left; transform: scaleX(var(--p, 0)); }
.pan__marks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-3); }
.pan__marks li { transition: color .3s ease; }
.pan__marks li:nth-child(2) { text-align: center; }
.pan__marks li:nth-child(3) { text-align: right; }
.pan__marks li.is-active { color: var(--on-navy); }
.pan.is-pan .pan__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: calc(var(--nav-h) + 12px) 24px; }
.pan.is-pan .pan__viewport { overflow: hidden; }
.pan:not(.is-pan) .pan__bar { display: none; }

/* ---------- John Rabou ---------- */

.john .grid { align-items: end; }
.john__intro { grid-column: 1 / span 5; display: grid; gap: 28px; }
.john__portrait { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 70% center; background: var(--ph); }
.john__art { grid-column: 7 / span 6; display: grid; gap: 14px; }
.john__art img { width: 100%; aspect-ratio: 1600 / 1437; object-fit: cover; background: #fff; }
.facts { border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 130px 1fr; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dd { font-size: 16px; }
.facts.facts--money > div { grid-template-columns: 1fr auto; }
.facts--money dd { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.facts--money strong { font-weight: 500; }
.docs { border-top: 1px solid var(--line); }
.docs li { border-bottom: 1px solid var(--line); }
.docs a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; font-size: 16px; transition: color .2s var(--ease); }
.docs a:hover { color: var(--accent); }
.block__body > .h3 { margin-top: 12px; margin-bottom: -12px; }
.s-navy .facts, .s-navy .facts > div { border-color: var(--navy-line); }

/* ---------- Guild ---------- */

.guild__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: end; }
.guild__num { grid-column: 1 / span 4; font-family: var(--serif); font-size: clamp(140px, 17vw, 250px); line-height: .78; letter-spacing: -0.05em; color: var(--accent); }
.guild__lead { grid-column: 5 / span 7; display: grid; gap: 22px; padding-bottom: 6px; }
.guild__people { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.guild__people figure { display: grid; gap: 14px; }
.guild__people img { width: 100%; aspect-ratio: 810 / 1080; object-fit: cover; background: var(--ph); }
.guild__work { grid-column: 1 / span 6; }
.guild__group { grid-column: 8 / span 5; margin-top: clamp(48px, 10vw, 160px); }
.rhet__head { display: grid; gap: 20px; max-width: 46rem; }
.rhet__fig { display: grid; gap: 14px; margin-top: clamp(40px, 5vw, 72px); }
.rhet__scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.rhet__group { color: var(--accent); margin-bottom: -2px; }
.scene__tag { position: absolute; padding: 4px 8px; background: rgba(245, 241, 232, .92); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.rhet__fig img { display: block; width: 100%; height: auto; background: #FDFCF9; }
.guild__media { display: grid; grid-template-columns: 7fr 4fr; gap: 24px; margin-top: clamp(56px, 7vw, 96px); align-items: end; }
.guild__media figure { display: grid; gap: 14px; }
.guild__media img { width: 100%; object-fit: cover; background: var(--ph); }
.guild__media figure:first-child img { aspect-ratio: 4 / 3; }
.guild__media figure:last-child img { aspect-ratio: 4 / 3; }

/* ---------- Growing ---------- */

.grow .grid { align-items: start; }
.grow__intro { grid-column: 1 / span 5; display: grid; gap: 28px; position: sticky; top: calc(var(--nav-h) + 48px); }
.grow__body { grid-column: 7 / span 6; display: grid; gap: 48px; }
.chapters { border-top: 1px solid var(--line); }
.chapters li { display: grid; grid-template-columns: 150px 1fr auto; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.chapters .serif { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.015em; }
.chapters .tag { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.chapters li.is-now .tag { color: var(--accent); }
.chapters li.is-done { color: var(--muted); }
.grow__figure img { width: 100%; background: #fff; }

/* ---------- News ---------- */

.news__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; margin-top: clamp(48px, 6vw, 72px); align-items: end; }
.feature__media { grid-column: 1 / span 7; overflow: hidden; }
.feature__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--ph); transition: transform .9s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.015); }
.feature__body { grid-column: 9 / span 4; display: grid; gap: 18px; justify-items: start; }
.news-list { margin-top: 56px; border-top: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease), color .2s ease; }
.news-list a:hover { padding-left: 10px; }
.news-list a:hover .serif { color: var(--accent); }
.news-list .serif { font-size: clamp(21px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -0.015em; transition: color .2s ease; }
.news-list .arr { transition: transform .3s var(--ease); }
.news-list a:hover .arr { transform: translateX(3px); }

/* ---------- Join & support (navy) ---------- */

.join .grid { row-gap: 72px; }
.join__main { grid-column: 1 / span 7; display: grid; gap: 32px; justify-items: start; }
.join__side { grid-column: 9 / span 4; display: grid; gap: 24px; justify-items: start; align-content: start; padding-top: 28px; border-top: 1px solid var(--accent-bright); }
.join .statement { font-size: clamp(38px, 4.8vw, 72px); }
.checklist { display: grid; gap: 0; border-top: 1px solid var(--navy-line); width: 100%; max-width: 34em; }
.checklist li { display: grid; grid-template-columns: 34px 1fr; padding: 15px 0; border-bottom: 1px solid var(--navy-line); color: var(--on-navy-2); font-size: 16px; }
.checklist li span:first-child { font-family: var(--serif); color: var(--accent-bright); }

/* ---------- Sponsors (pinned) ---------- */

.givers { position: sticky; top: var(--pin-top, 0px); z-index: 0; }
.givers .grid { align-items: center; }
.givers__intro { grid-column: 1 / span 5; display: grid; gap: 28px; justify-items: start; }
.givers__quilt { grid-column: 7 / span 6; position: relative; width: min(100%, 78vh * 990 / 1140); aspect-ratio: 990 / 1140; }
.givers__quilt img { display: block; width: 100%; height: 100%; object-fit: fill; background: transparent; }
.givers__name { min-height: 1.6em; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.015em; color: var(--accent); transition: opacity .25s ease; }
.hotspots { position: absolute; inset: 0; }
.hotspots button { position: absolute; padding: 0; border: 0; background: transparent; cursor: pointer; transition: background-color .25s ease, box-shadow .25s ease; }
.hotspots button:hover, .hotspots button:focus-visible, .hotspots button.is-active { background: rgba(245, 241, 232, .0); box-shadow: inset 0 0 0 2px var(--accent); outline: none; }
.hotspots.has-active button:not(.is-active) { background: rgba(245, 241, 232, .38); }

/* ---------- Footer ---------- */

.footer { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; background: var(--navy-deep); color: var(--cream); box-shadow: 0 -24px 60px rgba(6, 31, 64, .18); }
.footer__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 80px; padding-block: clamp(64px, 7vw, 96px) max(32px, env(safe-area-inset-bottom)); }
.footer__lead { display: grid; gap: 22px; }
.footer__lead .h2 { max-width: 16em; }
.footer__line { position: relative; height: 30px; margin-top: 8px; }
.footer__line::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgba(245, 241, 232, .2); }
.footer__line span { position: absolute; left: 0; top: 5px; height: 3px; width: 62.5%; background: var(--accent-bright); }
.footer__line i { position: absolute; top: 2px; left: 62.5%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--cream); }
.footer__line p { position: absolute; top: 18px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-3); }
.footer__line p:last-child { right: 0; }
.footer__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; font-size: 15px; }
.footer .lead { color: var(--on-navy-2); }
.footer__cols > * { display: grid; gap: 12px; align-content: start; justify-items: start; }
.footer__cols .label { color: var(--on-navy-3); margin-bottom: 6px; }
.footer__cols a { color: var(--on-navy-2); transition: color .2s ease; }
.footer__cols a:hover { color: var(--cream); }
.footer__cols > :nth-child(1) { grid-column: 1 / span 3; }
.footer__cols > :nth-child(2) { grid-column: 5 / span 2; }
.footer__cols > :nth-child(3) { grid-column: 7 / span 3; }
.footer__cols > :nth-child(4) { grid-column: 10 / span 3; }
.footer__brandrow { margin-top: clamp(56px, 7vw, 96px); }
.footer__brand { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 32px); }
.footer__brand img { width: clamp(48px, 5vw, 76px); flex: none; }
.footer__mark { font-family: var(--serif); font-size: clamp(40px, 7.4vw, 108px); line-height: .92; letter-spacing: -0.04em; }
.footer__base { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; margin-top: 28px; border-top: 1px solid rgba(245, 241, 232, .14); font-size: 13px; color: var(--on-navy-3); }
.footer__base a:hover { color: var(--cream); }

/* ---------- Subpages ---------- */

.page-hero { padding-top: calc(var(--nav-h) + clamp(72px, 9vw, 136px)); padding-bottom: clamp(56px, 6vw, 88px); }
.page-hero .grid { align-items: end; margin-top: 28px; }
.page-hero .h1 { grid-column: 1 / span 8; }
.page-hero .lead { grid-column: 9 / span 4; }
.page-nav { display: flex; gap: 28px; flex-wrap: wrap; padding-block: 18px; border-block: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.page-nav a { color: var(--muted); }
.page-nav a:hover { color: var(--accent); }
.block { padding-block: clamp(72px, 8vw, 120px); }
.block + .block { border-top: 1px solid var(--line); }
.block .grid { align-items: start; }
.block__title { grid-column: 1 / span 4; display: grid; gap: 18px; position: sticky; top: calc(var(--nav-h) + 32px); }
.block__body { grid-column: 6 / span 7; display: grid; gap: 28px; }
.prose { display: grid; gap: 18px; max-width: 40em; color: var(--ink-2); }
.prose p { font-size: 17px; }
.prose strong { color: var(--ink); font-weight: 500; }
.history { border-top: 1px solid var(--line); }
.history li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.history .year { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; color: var(--accent); }
.history p { color: var(--ink-2); }
.history b { display: block; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.board__item { display: grid; gap: 6px; align-content: start; }
.board__card { position: relative; aspect-ratio: 1; margin-bottom: 10px; background: var(--sand); }
.board__card img { position: absolute; inset: 0; margin: auto; max-width: 74%; max-height: 74%; width: auto; height: auto; box-shadow: 0 1px 2px rgba(26, 24, 20, .14), 0 10px 24px -10px rgba(26, 24, 20, .3); }
.board__name { font-family: var(--serif); font-size: 19px; letter-spacing: -0.01em; }
.todo { color: var(--faint); }
.article { padding-block: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line); scroll-margin-top: var(--nav-h); }
.article .grid { align-items: start; }
.article__meta { grid-column: 1 / span 3; display: grid; gap: 10px; }
.article__body { grid-column: 4 / span 7; display: grid; gap: 22px; }
.article__body img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--ph); }
.sponsor-list { columns: 2; column-gap: 32px; }
.sponsor-list li { break-inside: avoid; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.iban { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); letter-spacing: .01em; }

/* ---------- Motion ---------- */

/* ---------- Gallery ---------- */

.gallery { padding-bottom: clamp(72px, 8vw, 120px); }
.gallery__grid { columns: 3 280px; column-gap: 20px; }
.gallery__item { break-inside: avoid; margin-bottom: 20px; }
.gallery__open { display: block; width: 100%; padding: 0; border: 0; background: var(--ph); cursor: zoom-in; overflow: hidden; border-radius: 2px; }
.gallery__open img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity 1.1s ease; }
.gallery__open:hover img { transform: scale(1.025); }
.gallery__open:focus-visible { outline-offset: 4px; }
.gallery__more { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); }
.gallery__more .link { color: var(--ink); margin-left: 4px; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 31, 64, .96); color: var(--on-navy); }
.lightbox::backdrop { background: rgba(6, 31, 64, .96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; padding: 64px clamp(16px, 7vw, 96px) 56px; max-width: 100%; max-height: 100%; }
.lightbox__figure img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; }
.lightbox__figure figcaption { max-width: 60ch; text-align: center; font-size: 14px; color: var(--on-navy-2); }
.lightbox__figure figcaption:empty { display: none; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--navy-line); border-radius: 50%; background: transparent; color: var(--on-navy); font-size: 20px; line-height: 1; cursor: pointer; transition: border-color .2s, background .2s; }
.lightbox__btn:hover { border-color: var(--on-navy-2); background: rgba(245, 241, 232, .06); }
.lightbox__close { top: 16px; right: 16px; font-size: 26px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn[hidden] { display: none; }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 13px; color: var(--on-navy-3); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .gallery__grid { columns: 2; column-gap: 12px; }
  .gallery__item { margin-bottom: 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; }
  .lightbox__count { bottom: 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero__img { opacity: 0; transition: opacity 1.6s ease; }
  .is-loaded .hero__img { opacity: 1; }
  .js .hero__text > *, .js .hero__meta { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .is-loaded .hero__text > *, .is-loaded .hero__meta { opacity: 1; transform: none; }
  .is-loaded .hero__text > :nth-child(1) { transition-delay: .15s; }
  .is-loaded .hero__text > :nth-child(2) { transition-delay: .35s; }
  .is-loaded .hero__text > :nth-child(3) { transition-delay: .6s; }
  .is-loaded .hero__meta { transition-delay: 1.15s; }

  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-img { opacity: 0; transform: translateY(24px); transition: opacity 1.1s ease, transform 1.1s var(--ease); }
  .js .reveal-img.is-in { opacity: 1; transform: none; }
  .js .reveal-line { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-io); }
  .js .reveal-line.is-in { transform: none; }
  .js figcaption.reveal { transition-delay: .25s; }
}
@media (prefers-reduced-motion: reduce) {
  .journey__hint::after { animation: none; }
  html { scroll-behavior: auto; }
  .js .loader { display: none; }
  .phase__now::before, .status::before { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .nav__links { gap: 20px; }
  .nav__inner, .nav__right { gap: 20px; }
}

@media (max-width: 1080px) {
  .nav__links { gap: 14px; font-size: 13px; }
  .statement-sec__intro, .bayeux { grid-column: 1 / -1; }
  .expo__info, .expo__media { grid-column: 1 / -1; }
  .moment__year { grid-column: 1 / -1; }
  .moment__text { grid-column: 1 / span 8; }
  .compare__slider, .compare__text { grid-column: 1 / -1; }
  .john__intro, .john__art { grid-column: 1 / -1; }
  .guild__num { grid-column: 1 / -1; }
  .guild__lead { grid-column: 1 / span 10; }
  .grow__intro { position: static; grid-column: 1 / -1; }
  .grow__body { grid-column: 1 / -1; }
  .feature__media, .feature__body { grid-column: 1 / -1; }
  .join__main, .join__side { grid-column: 1 / -1; }
  .givers__intro, .givers__quilt { grid-column: 1 / -1; }
  .givers__quilt { width: 100%; }
  .page-hero .h1, .page-hero .lead { grid-column: 1 / -1; }
  .block__title { position: static; grid-column: 1 / -1; }
  .block__body { grid-column: 1 / -1; }
  .article__meta, .article__body { grid-column: 1 / -1; }
  .footer__cols > :nth-child(1) { grid-column: 1 / -1; }
  .footer__cols > :nth-child(2) { grid-column: 1 / span 4; }
  .footer__cols > :nth-child(3) { grid-column: 5 / span 4; }
  .footer__cols > :nth-child(4) { grid-column: 9 / span 4; }
}

@media (max-width: 960px) {
  .nav__links { gap: 11px; font-size: 12.5px; }
  .nav__inner { gap: 14px; }
  .brand { font-size: 16px; gap: 8px; }
  .nav__right .nav__contact { display: none; }
  .process__stage { display: none; }
  .process__steps { grid-column: 1 / -1; }
  .step, .step:first-child { min-height: 0; opacity: 1; padding-block: 0 56px; }
  .step__media { display: block; }
  .step__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 8px; }
}

@media (max-width: 860px) {
  :root { --nav-h: 56px; }
  .nav__links, .nav__right .nav__contact, .nav__right .lang { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    position: fixed; top: max(10px, env(safe-area-inset-top)); right: calc(var(--gutter) - 8px); z-index: 70;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(245, 241, 232, .45); background: rgba(6, 31, 64, .2); color: var(--cream); cursor: pointer;
    transition: color .3s ease, border-color .3s ease, background-color .3s ease;
  }
  .nav-visible .menu-toggle, .menu-open .menu-toggle, .subpage .menu-toggle { color: var(--ink); border-color: rgba(26, 24, 20, .2); background: transparent; }
  .menu-toggle__icon { position: relative; width: 16px; height: 8px; }
  .menu-toggle__icon span { position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
  .menu-toggle__icon span:first-child { top: 0; }
  .menu-toggle__icon span:last-child { top: 6.5px; }
  .menu-open .menu-toggle__icon span:first-child { top: 3.25px; transform: rotate(45deg); }
  .menu-open .menu-toggle__icon span:last-child { top: 3.25px; transform: rotate(-45deg); }
  .menu { display: block; position: fixed; inset: 0; z-index: 60; background: var(--cream); padding-top: calc(var(--nav-h) + 32px); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; overflow-y: auto; }
  .menu-open .menu { opacity: 1; visibility: visible; }
  .menu__inner { display: grid; }
  .menu__inner a { font-family: var(--serif); font-size: 32px; letter-spacing: -0.025em; line-height: 1.1; padding-block: 13px; border-bottom: 1px solid var(--line); }
  .menu__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; }
  .menu__foot .lang { display: inline-flex; font-size: 14px; }
  .menu-open { overflow: hidden; }

  .hero__meta { flex-direction: column; align-items: flex-start; }
  .hero__meta p { flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
  .bayeux { grid-template-columns: 1fr; }
  .bayeux > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 22px; }
  .phases { grid-template-columns: 1fr; gap: 44px; margin-top: 64px; }
  .meter__mark { display: none; }
  .meter__mark.meter__mark--keep { display: block; }
  .meter__ticks span:not(.is-major) { display: none; }
  .journey__controls .round { display: none; }
  .journey__bar { flex-wrap: wrap; row-gap: 20px; }
  .journey__bar .timeline { flex-basis: 100%; }
  .journey__controls { width: 100%; justify-content: space-between; }
  .journey__hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
  .journey__hint::after { content: '→'; animation: hint-nudge 1.6s ease-in-out infinite; }
  @keyframes hint-nudge { 50% { transform: translateX(5px); } }
  .journey__count { margin-right: 0; }
  .track { --card-h: clamp(300px, 52vh, 440px); gap: 14px; }
  .scene { max-width: 84vw; }
  .scene__media img { max-width: 84vw; width: auto; }
  .moment__text { grid-column: 1 / -1; }
  .guild__lead { grid-column: 1 / -1; }
  .guild__media { grid-template-columns: 1fr; gap: 32px; }
  .guild__work, .guild__group { grid-column: 1 / -1; margin-top: 0; }
  .rhet__fig img { width: auto; max-width: none; height: 300px; }
  .rhet__scroll { scrollbar-width: thin; }
  .scene__tag { font-size: 9.5px; padding: 3px 6px; letter-spacing: .06em; }
  .scene--whole .scene__media { height: auto; }
  .scene--whole .scene__media img { width: 84vw; height: auto; }
  .chapters li { grid-template-columns: 1fr auto; }
  .chapters li .label { grid-column: 1 / -1; }
  .news-list a { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .news-list .label { grid-column: 1 / -1; }
  .facts > div { grid-template-columns: 100px 1fr; }
  .terms div { grid-template-columns: 1fr; gap: 4px; }
  .footer__cols > :nth-child(n+2) { grid-column: span 6; }
  .footer__cols > :nth-child(4) { grid-column: 1 / -1; }
  .footer__base { flex-direction: column; gap: 8px; }
  .history li { grid-template-columns: 1fr; gap: 6px; }
  .heri__scene, .heri__text { grid-column: 1 / -1; }
  .heri__scene { justify-self: start; --card-h: min(440px, 110vw); }
  .pan__head { grid-template-columns: 1fr; align-items: start; }
  .pan__head .lead { font-size: 15px; }
  .pan__marks { grid-template-columns: 1fr; }
  .pan__marks li { display: none; text-align: left !important; }
  .pan__marks li.is-active, .pan:not(.is-pan) .pan__marks li:first-child { display: block; }
  .board { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .sponsor-list { columns: 1; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .btn { width: 100%; }
  .journey__head { flex-direction: column; align-items: flex-start; }
}
