/* =========================================================
   LEF — Learningaid Educational Foundation
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-matched fallback so the swap to Archivo does not shift layout */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 88%;
  descent-override: 21%;
  line-gap-override: 0%;
}

:root {
  --red: #d71920;
  --red-deep: #a8121a;
  --ink: #111111;
  --ink-2: #3a3a3a;
  --ink-3: #686868;
  --mute: #b9b9b9;
  --blue: #173f8f;
  --white: #ffffff;
  --paper: #f6f2ec;
  --rule: rgba(17, 17, 17, 0.14);
  --rule-w: rgba(255, 255, 255, 0.32);

  --f: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* type */
  --t-mega: clamp(52px, min(10.4vw, 15.4vh), 168px);
  --t-xl: clamp(44px, 6.4vw, 104px);
  --t-l: clamp(38px, 5vw, 80px);
  --t-m: clamp(34px, 4vw, 64px);
  --t-s: clamp(22px, 2vw, 32px);
  --t-statement: clamp(27px, 3.3vw, 54px);
  --t-body: clamp(17px, 1.15vw, 19px);
  --t-small: 14px;
  --t-utility: 12px;

  /* space */
  --m: clamp(20px, 5vw, 80px);
  --gut: clamp(14px, 2vw, 32px);
  --max: 1360px;
  --edge: calc(max(var(--m), (100% - var(--max)) / 2) - var(--gut));
  --sec: clamp(96px, 12vw, 192px);
  --head: clamp(48px, 6vw, 96px);
  --nav: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav) + 16px);
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

em {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--red);
  color: var(--white);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  font-size: var(--t-small);
  font-weight: 600;
  translate: 0 -200%;
  transition: translate 0.3s var(--ease-out);
}

.skip:focus {
  translate: 0 0;
}

/* ---------- grid ---------- */

.g {
  display: grid;
  grid-template-columns:
    [full-start] var(--edge)
    [content-start] repeat(12, minmax(0, 1fr))
    [content-end] var(--edge)
    [full-end];
  column-gap: var(--gut);
}

.g > * {
  grid-column: content;
}

/* ---------- type tiers ---------- */

.display-mega,
.display-l,
.display-m,
.impact-title,
.footer-mark {
  font-family: var(--f);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
  font-synthesis: none;
}

.display-mega {
  font-size: var(--t-mega);
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.display-l {
  font-size: var(--t-l);
  line-height: 0.96;
}

.display-m {
  font-size: var(--t-m);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.utility {
  font-size: var(--t-utility);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-stretch: 112%;
}

.utility-red {
  color: var(--red);
}

.data {
  font-weight: 400;
  font-stretch: 125%;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--head);
  color: var(--ink-2);
}

.eyebrow .ix {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--red);
}

.eyebrow .ix::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.br-md {
  display: none;
}

/* ---------- controls ---------- */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: scale 0.25s var(--ease-out);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fill);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.55s var(--ease-out);
}

.btn:hover::before {
  clip-path: inset(0 0 0 0);
}

.btn:active {
  scale: 0.98;
}

.btn .arr {
  display: inline-block;
  transition: translate 0.55s var(--ease-out);
}

.btn:hover .arr {
  translate: 4px 0;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  --fill: var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
  --fill: var(--red);
}

.btn-wide {
  width: 100%;
  justify-content: space-between;
}

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
}

.link:hover::after {
  animation: relink 0.7s var(--ease-io);
}

@keyframes relink {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  55% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

/* ---------- navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  transition: translate 0.6s var(--ease-out), background-color 0.3s;
}

.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--rule);
  opacity: 0;
  transition: opacity 0.3s;
}

.nav.is-stuck::after {
  opacity: 1;
}

.nav.is-hidden {
  translate: 0 -100%;
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--nav);
  width: min(100% - 2 * var(--m), var(--max));
  margin-inline: auto;
}

.mark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
}

.mark-word {
  font-size: 27px;
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mark-sq {
  width: 7px;
  height: 7px;
  margin: 0 0 0 3px;
  align-self: flex-end;
  translate: 0 -10px;
  background: var(--red);
}

.mark-name {
  display: none;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--rule);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a[aria-current]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a[aria-current] {
  color: var(--ink);
}

.nav-links a[aria-current]::after {
  background: var(--red);
  height: 2px;
}

.nav-cta {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0 0 8px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.nav-toggle-lines {
  position: relative;
  width: 22px;
  height: 10px;
}

.nav-toggle-lines i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: translate 0.45s var(--ease-out), rotate 0.45s var(--ease-out);
}

.nav-toggle-lines i:first-child {
  top: 0;
}

.nav-toggle-lines i:last-child {
  bottom: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:first-child {
  translate: 0 4px;
  rotate: 45deg;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines i:last-child {
  translate: 0 -4px;
  rotate: -45deg;
}

.nav-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 2px;
  pointer-events: none;
}

.nav-progress i {
  display: block;
  height: 100%;
  background: var(--red);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* ---------- mobile menu ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  padding-top: var(--nav);
  background: var(--white);
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-out);
}

.menu.is-open {
  clip-path: inset(0 0 0 0);
}

.menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 100%;
  width: min(100% - 2 * var(--m), var(--max));
  margin-inline: auto;
  padding: clamp(24px, 6vh, 64px) 0 calc(32px + env(safe-area-inset-bottom));
}

.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.menu-links a:first-child {
  border-top: 1px solid var(--rule);
}

.menu-ix {
  width: 2.2em;
  flex: none;
  font-size: var(--t-utility);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--red);
}

.menu-word {
  display: inline-block;
  font-size: clamp(38px, 10.5vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  translate: 0 110%;
  transition: translate 0.8s var(--ease-out), color 0.25s;
}

.menu.is-open .menu-word {
  translate: 0 0;
}

.menu-links a:nth-child(1) .menu-word { transition-delay: 0.12s, 0s; }
.menu-links a:nth-child(2) .menu-word { transition-delay: 0.17s, 0s; }
.menu-links a:nth-child(3) .menu-word { transition-delay: 0.22s, 0s; }
.menu-links a:nth-child(4) .menu-word { transition-delay: 0.27s, 0s; }
.menu-links a:nth-child(5) .menu-word { transition-delay: 0.32s, 0s; }

.menu-links a:hover .menu-word,
.menu-links a[aria-current] .menu-word {
  color: var(--red);
}

.menu-foot {
  display: grid;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.6s 0.35s;
}

.menu.is-open .menu-foot {
  opacity: 1;
}

.menu-meta {
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--ink-3);
}

/* ---------- photographs & placeholders ---------- */

.photo {
  position: relative;
}

.photo-media {
  position: relative;
  overflow: hidden;
  background-color: var(--tone, #e9e2d7);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 30% 20%, var(--glow, rgba(255, 255, 255, 0.35)), transparent 60%);
}

.photo-media::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.4vw, 18px);
  border: 1px solid var(--tone-line, rgba(17, 17, 17, 0.12));
  pointer-events: none;
}

.photo-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.photo-wait {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tone-text, rgba(17, 17, 17, 0.5));
}

.photo-wait::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  translate: -50% calc(-50% - 28px);
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  opacity: 0.7;
}

.photo-media:has(img) .photo-wait,
.photo-media:has(img)::before {
  display: none;
}

.tone-sand { --tone: #e9e2d7; }
.tone-stone { --tone: #dcd6ce; }
.tone-sky { --tone: #dde4ee; }
.tone-ink { --tone: #232427; --glow: rgba(255, 255, 255, 0.05); --tone-line: rgba(255, 255, 255, 0.16); --tone-text: rgba(255, 255, 255, 0.62); }
.tone-red { --tone: #d71920; --glow: transparent; --tone-line: rgba(255, 255, 255, 0.3); --tone-text: rgba(255, 255, 255, 0.88); }

.slate {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  padding-top: 14px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.slate span:first-child {
  color: var(--ink);
}

.slate span {
  white-space: nowrap;
}

.slate span:not(:last-child)::after {
  content: "/";
  margin: 0 10px;
  color: var(--red);
}

/* image load fade */
.motion .photo-media img {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}

.motion .photo-media img.is-loaded {
  opacity: 1;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  grid-template-rows: auto 1fr auto auto;
  min-height: clamp(640px, 100svh, 1080px);
  padding-top: calc(var(--nav) + clamp(16px, 2.4vw, 36px));
}

.hero-kicker {
  grid-column: 2 / 6;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  color: var(--ink-2);
  z-index: 2;
}

.hero-kicker span + span {
  color: var(--ink-3);
}

.hero-photo {
  grid-column: 6 / full-end;
  grid-row: 1 / 5;
  position: relative;
  min-height: 420px;
}

.hero-plx {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo .photo-media {
  position: absolute;
  inset: -7% 0;
}

.hero-plate {
  position: absolute;
  right: var(--m);
  bottom: calc(-1 * clamp(40px, 5vw, 72px));
  z-index: 3;
  display: grid;
  gap: 2px;
  width: clamp(200px, 19vw, 280px);
  padding: 20px 22px 22px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.plate-no {
  margin-bottom: 18px;
  opacity: 0.85;
}

.plate-main {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-stretch: 112%;
  margin-bottom: 6px;
}

.hero-title {
  grid-column: 2 / 13;
  grid-row: 3;
  position: relative;
  z-index: 2;
  margin: 28px 0 0 -0.04em;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.07em;
  margin-bottom: -0.07em;
}

.hero-title .line > span {
  display: inline-block;
  padding: 0.04em 0.12em 0 0;
  background: var(--white);
}

.hero-title em {
  color: inherit;
}

.hero-foot {
  grid-column: 2 / 6;
  grid-row: 4;
  z-index: 2;
  display: grid;
  gap: 28px;
  padding: clamp(24px, 2.4vw, 36px) 0 clamp(36px, 4vw, 56px);
}

.hero-lede {
  max-width: 36ch;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
}

/* hero entrance */
.motion .hero-plx {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.5s var(--ease-out) 0.05s;
}

.motion .hero-photo .photo-media {
  scale: 1.14;
  transition: scale 2.4s var(--ease-out) 0.05s;
}

.motion .hero-title .line > span {
  translate: 0 108%;
  transition: translate 1.15s var(--ease-out);
}

.motion .hero-title .line:nth-child(1) > span { transition-delay: 0.3s; }
.motion .hero-title .line:nth-child(2) > span { transition-delay: 0.38s; }
.motion .hero-title .line:nth-child(3) > span { transition-delay: 0.46s; }
.motion .hero-title .line:nth-child(4) > span { transition-delay: 0.54s; }

.motion .hero-kicker,
.motion .hero-foot {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 1s var(--ease-out) 0.8s, translate 1.2s var(--ease-out) 0.8s;
}

.motion .hero-plate {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s var(--ease-out) 1.05s;
}

.hero.is-ready .hero-plx,
.hero.is-ready .hero-plate {
  clip-path: inset(0 0 0 0);
}

.hero.is-ready .hero-photo .photo-media {
  scale: 1;
}

.hero.is-ready .hero-title .line > span,
.hero.is-ready .hero-kicker,
.hero.is-ready .hero-foot {
  translate: 0 0;
  opacity: 1;
}

/* ---------- about ---------- */

.about {
  padding-top: calc(var(--sec) + 24px);
}

.statement {
  grid-column: 2 / 13;
  font-size: var(--t-statement);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.022em;
  text-wrap: pretty;
}

.motion .statement .w {
  color: var(--mute);
  transition: color 0.35s linear;
}

.motion .statement .w.is-lit {
  color: var(--ink);
}

.facts {
  grid-column: 6 / 14;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gut);
  margin-top: clamp(64px, 8vw, 128px);
}

.facts div {
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.facts dt {
  margin-bottom: 12px;
  color: var(--red);
}

.facts dd {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

.about-parent {
  grid-column: 6 / 14;
  margin-top: 40px;
  font-size: var(--t-small);
  color: var(--ink-3);
}

.purpose {
  grid-column: 2 / 14;
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, 2.4fr);
  column-gap: clamp(24px, 4vw, 72px);
  row-gap: 18px;
  margin-top: clamp(72px, 9vw, 128px);
  padding-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--ink);
}

.purpose h3 {
  margin: 8px 0 0;
  color: var(--red);
}

.purpose h3:nth-of-type(2) {
  margin-top: clamp(36px, 5vw, 64px);
}

.aims {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: aim;
  border-top: 1px solid var(--ink);
}

.purpose ol:nth-of-type(2) {
  margin-top: clamp(36px, 5vw, 64px);
}

.aims li {
  counter-increment: aim;
  display: grid;
  grid-template-columns: 2.6em 1fr;
  gap: 8px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

.aims li::before {
  content: counter(aim, decimal-leading-zero);
  padding-top: 3px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--red);
}

/* ---------- work ---------- */

.work {
  padding-top: var(--sec);
}

.work-head {
  align-items: end;
  margin-bottom: var(--head);
}

.work-head .eyebrow {
  grid-row: 1;
}

.work-head h2 {
  grid-column: 2 / 10;
  grid-row: 2;
}

.work-index {
  grid-column: 11 / 14;
  grid-row: 2;
  border-top: 1px solid var(--rule);
}

.work-index a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.25s, padding 0.5s var(--ease-out);
}

.work-index .ix {
  font-size: var(--t-utility);
  letter-spacing: 0.12em;
  color: var(--red);
}

.work-index a:hover {
  padding-left: 8px;
  color: var(--red);
}

.ch-no {
  font-size: clamp(56px, 7vw, 120px);
  color: var(--blue);
}

.chapter .utility {
  color: var(--ink-3);
  margin-bottom: 20px;
}

.ch-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  max-width: 44ch;
  color: var(--ink-2);
}

.ch-copy .link {
  justify-self: start;
  color: var(--ink);
}

/* chapter 01 — full bleed */
.ch-idp-photo .photo-media {
  height: min(86svh, 58vw);
  min-height: 360px;
}

.ch-idp-photo .slate {
  width: min(100% - 2 * var(--m), var(--max));
  margin-inline: auto;
}

.motion [data-expand] {
  clip-path: inset(0 calc((1 - var(--p, 1)) * var(--m)));
}

.motion .ch-idp-photo .photo-media > * {
  scale: calc(1.1 - var(--p, 1) * 0.1);
}

.ch-body {
  margin-top: clamp(48px, 6vw, 96px);
}

.ch-body .ch-no {
  grid-column: 2 / 4;
}

.ch-body .ch-title {
  grid-column: 4 / 10;
}

.ch-body .ch-copy {
  grid-column: 10 / 14;
  padding-top: 36px;
}

/* chapter 02 — sticky narrative */
.ch-books {
  padding-top: var(--sec);
  align-items: start;
}

.ch-books-copy {
  grid-column: 2 / 7;
  height: 100%;
}

.ch-sticky {
  position: sticky;
  top: calc(var(--nav) + 48px);
  display: grid;
  gap: 0;
}

.ch-sticky .ch-no {
  margin-bottom: 28px;
}

.ch-sticky h3 {
  margin-bottom: 32px;
}

.ch-books-photos {
  grid-column: 8 / 14;
  display: grid;
  gap: clamp(64px, 9vw, 140px);
}

.bk-1 .photo-media { aspect-ratio: 4 / 5; }
.bk-2 { width: 78%; margin-left: auto; }
.bk-2 .photo-media { aspect-ratio: 3 / 2; }
.bk-3 { width: 52%; }
.bk-3 .photo-media { aspect-ratio: 1 / 1; }

/* chapter 03 — split on paper */
.ch-fees {
  margin-top: var(--sec);
  padding-block: var(--sec);
  background: var(--paper);
  align-items: center;
}

.ch-fees-photo {
  grid-column: full-start / 8;
}

.ch-fees-photo .photo-media {
  aspect-ratio: 4 / 5;
  max-height: 92svh;
  width: 100%;
}

.ch-fees-photo .slate {
  padding-left: var(--m);
}

.ch-fees-copy {
  grid-column: 9 / 14;
  display: grid;
  justify-items: start;
}

.ch-fees-copy .ch-no {
  margin-bottom: 28px;
}

.ch-fees-copy h3 {
  margin-bottom: 32px;
}

.pull {
  margin: 40px 0;
  padding-left: 22px;
  border-left: 2px solid var(--blue);
}

.pull p {
  font-size: var(--t-s);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--blue);
}

/* ---------- impact ---------- */

.impact {
  background: var(--red);
  color: var(--white);
  padding-block: var(--sec);
}

.impact .eyebrow,
.impact .eyebrow .ix {
  color: var(--white);
}

.impact-title {
  grid-column: 2 / 14;
  display: grid;
  font-weight: 400;
  font-size: clamp(36px, 6.3vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.impact-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.impact-title .line > span {
  display: inline-block;
}

.impact-title .caps {
  text-transform: uppercase;
  font-size: 1.86em;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.045em;
  line-height: 0.86;
  margin-left: -0.05em;
}

.impact-title .line:nth-child(2) {
  padding-left: calc((100% - 11 * var(--gut)) / 12 * 2 + var(--gut) * 2);
  margin-top: 0.12em;
}

.impact-title .line:nth-child(3) {
  padding-left: calc((100% - 11 * var(--gut)) / 12 * 4 + var(--gut) * 4);
}

.ledger {
  grid-column: 2 / 14;
  margin-top: clamp(80px, 10vw, 160px);
  border-top: 1px solid var(--rule-w);
}

.ledger li {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  align-items: baseline;
  padding: clamp(22px, 2.4vw, 34px) 0;
  border-bottom: 1px solid var(--rule-w);
}

.ledger .ix {
  grid-column: 1 / 3;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.ledger strong {
  grid-column: 3 / 9;
  font-size: var(--t-s);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ledger li > span:last-child {
  grid-column: 9 / 13;
  font-size: 16px;
  line-height: 1.5;
}

.impact-note {
  grid-column: 10 / 14;
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- gallery ---------- */

.gallery {
  padding-top: var(--sec);
}

.gallery-head {
  align-items: end;
  margin-bottom: var(--head);
}

.gallery-head h2 {
  grid-column: 2 / 9;
  grid-row: 2;
}

.gallery-note {
  grid-column: 10 / 14;
  grid-row: 2;
  font-size: 16px;
  color: var(--ink-2);
}

.essay {
  display: grid;
  grid-template-columns:
    [full-start] var(--edge)
    [content-start] repeat(12, minmax(0, 1fr))
    [content-end] var(--edge)
    [full-end];
  column-gap: var(--gut);
  row-gap: clamp(56px, 7vw, 112px);
  align-items: start;
}

.essay:focus-visible {
  outline-offset: -2px;
}

.p1 { grid-column: 2 / 10; }
.p1 .photo-media { aspect-ratio: 3 / 2; }
.p2 { grid-column: 10 / 14; align-self: end; }
.p2 .photo-media { aspect-ratio: 4 / 5; }
.p3 { grid-column: 3 / 7; margin-top: clamp(24px, 4vw, 64px); }
.p3 .photo-media { aspect-ratio: 1 / 1; }
.p4 { grid-column: 8 / full-end; }
.p4 .photo-media { aspect-ratio: 16 / 9; }
.p4 .slate { padding-right: var(--m); }
.p5 { grid-column: 2 / 6; }
.p5 .photo-media { aspect-ratio: 4 / 5; }
.p6 { grid-column: 7 / 13; align-self: center; }
.p6 .photo-media { aspect-ratio: 3 / 2; }

.essay-ctrl {
  display: none;
}

/* ---------- stories ---------- */

.stories {
  margin-top: var(--sec);
  padding-block: var(--sec);
  background: var(--paper);
}

.stories-inner h2 {
  grid-column: 2 / 12;
  margin-bottom: var(--head);
}

.story-photo {
  grid-column: 2 / 9;
}

.story-photo .photo-media {
  aspect-ratio: 4 / 3;
}

.story-copy {
  grid-column: 10 / 14;
  align-self: end;
  display: grid;
  gap: 24px;
  padding-bottom: 32px;
}

.story-lede {
  font-size: var(--t-s);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.story-kinds {
  margin-top: 16px;
  border-top: 1px solid var(--rule);
}

.story-kinds li {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  color: var(--ink-2);
}

.story-kinds .utility {
  color: var(--ink);
}

/* ---------- get involved ---------- */

.involved {
  padding-block: var(--sec);
  align-items: start;
}

.involved .eyebrow {
  grid-row: 1;
}

.involved-lead {
  grid-column: 2 / 8;
  grid-row: 2;
}

.involved-sub {
  margin: 28px 0 clamp(40px, 5vw, 64px);
  max-width: 40ch;
  color: var(--ink-2);
}

.ways {
  border-top: 1px solid var(--ink);
}

.ways a {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  grid-template-areas: "ix way arr" ". sub arr";
  align-items: baseline;
  column-gap: 12px;
  row-gap: 4px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.ways .ix {
  grid-area: ix;
  font-size: 14px;
  color: var(--red);
}

.way {
  grid-area: way;
  font-size: var(--t-s);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: color 0.3s, translate 0.6s var(--ease-out);
}

.way-sub {
  grid-area: sub;
  font-size: 15px;
  color: var(--ink-3);
  transition: translate 0.6s var(--ease-out);
}

.ways .arr {
  grid-area: arr;
  align-self: center;
  font-size: 22px;
  color: var(--ink-3);
  clip-path: inset(0 100% 0 0);
  translate: -8px 0;
  transition: clip-path 0.5s var(--ease-out), translate 0.6s var(--ease-out), color 0.3s;
}

.ways a:hover .way,
.ways a.is-picked .way {
  color: var(--red);
  translate: 10px 0;
}

.ways a:hover .way-sub,
.ways a.is-picked .way-sub {
  translate: 10px 0;
}

.ways a:hover .arr,
.ways a.is-picked .arr,
.ways a:focus-visible .arr {
  clip-path: inset(0 0 0 0);
  translate: 0 0;
  color: var(--red);
}

.involved-aside {
  grid-column: 9 / 14;
  grid-row: 2;
  display: grid;
  align-content: start;
  gap: 16px;
}

.accounts {
  scroll-margin-top: calc(var(--nav) + 24px);
}

.accounts-title {
  margin: 12px 0 10px;
  font-size: var(--t-s);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.accounts-note {
  max-width: 36ch;
  margin-bottom: 22px;
  color: var(--ink-2);
}

.account-list {
  display: grid;
  gap: 14px;
}

.account-list li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 20px 16px;
  background: var(--paper);
}

.account-list .utility {
  color: var(--red);
}

.account-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.account-no {
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
}

.account-bank {
  font-size: 15px;
  font-weight: 700;
}

.account-list .link {
  justify-self: start;
  margin-top: 4px;
  font-size: 14px;
}

.enquiry {
  position: static;
}

.form-card {
  padding: clamp(28px, 3vw, 44px);
  background: var(--paper);
}

.form-card > .utility {
  color: var(--red);
}

.form-title {
  margin: 10px 0 28px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.field:nth-child(n + 5),
.field-full,
.form-submit {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.opt {
  font-weight: 400;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 2px;
  background: var(--white);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(-45deg, transparent 50%, var(--ink) 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(17, 17, 17, 0.45);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(23, 63, 143, 0.22);
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: var(--red);
}

.err {
  min-height: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-deep);
}

.err:empty {
  display: none;
}

.form-alert {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-left: 2px solid var(--red);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--red-deep);
}

.form-submit {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.form-fine {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

.form-fine a,
.form-success a,
.doc-body a[href^="mailto:"] {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.form-success {
  display: grid;
  gap: 16px;
}

.form-success h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.form-success h3:focus {
  outline: none;
}

.form-success pre {
  margin: 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--rule);
  font: 14px/1.6 var(--f);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ---------- footer ---------- */

.footer {
  overflow: hidden;
  background: var(--ink);
  color: #cfcfcf;
  padding-top: clamp(80px, 10vw, 160px);
}

.footer-top {
  align-items: end;
}

.footer-line {
  grid-column: 2 / 11;
  color: var(--white);
}

.footer-line em {
  color: #ff3b42;
}

.footer-cta {
  grid-column: 11 / 14;
  justify-self: end;
  --fill: var(--white);
}

.footer-cta:hover {
  color: var(--ink);
}

.footer-cols {
  margin-top: clamp(72px, 9vw, 136px);
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  row-gap: 40px;
}

.footer-cols > div,
.footer-cols > nav {
  grid-column: span 4;
  font-size: 15px;
  line-height: 1.6;
}

.footer-cols > :first-child {
  grid-column: 2 / 6;
}

.footer-cols .utility {
  margin-bottom: 14px;
  color: #8f8f8f;
}

.footer-cols nav ul {
  display: grid;
}

.footer-cols nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  transition: color 0.25s;
}

.footer-cols nav a:hover {
  color: #ff3b42;
}

.pending li {
  padding: 6px 0;
  color: var(--white);
}

.pending span {
  color: #8f8f8f;
}

.pending a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.pending a:hover {
  color: #ff3b42;
}

.footer-mark {
  margin: clamp(56px, 7vw, 112px) 0 -0.13em;
  padding-inline: var(--m);
  text-indent: -0.06em;
  font-size: 40.5vw;
  font-stretch: 125%;
  line-height: 0.74;
  letter-spacing: -0.075em;
  white-space: nowrap;
  color: var(--red);
  user-select: none;
}

.footer-legal {
  position: relative;
  align-items: center;
  row-gap: 4px;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom));
  background: var(--ink);
  font-size: 13px;
  color: #a3a3a3;
}

.footer-legal p:first-child {
  grid-column: 2 / 6;
}

.footer-legal .footer-parent {
  grid-column: 6 / 11;
}

.footer-legal a {
  grid-column: 11 / 14;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
}

.footer :focus-visible,
.impact :focus-visible {
  outline-color: var(--white);
}

/* ---------- scroll reveal ---------- */

.motion [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 1s var(--ease-out), translate 1.2s var(--ease-out);
}

.motion [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

.motion .ledger li:nth-child(2) { transition-delay: 0.08s; }
.motion .ledger li:nth-child(3) { transition-delay: 0.16s; }
.motion .ledger li:nth-child(4) { transition-delay: 0.24s; }

.motion [data-mask] .photo-media {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s var(--ease-out);
}

.motion [data-mask] .photo-media > * {
  scale: 1.12;
  transition: scale 1.8s var(--ease-out), opacity 0.9s var(--ease-out);
}

.motion [data-mask] .slate {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out) 0.5s;
}

.motion [data-mask].is-in .photo-media {
  clip-path: inset(0 0 0 0);
}

.motion [data-mask].is-in .photo-media > * {
  scale: 1;
}

.motion [data-mask].is-in .slate {
  opacity: 1;
}

.motion [data-lines] .line > span {
  translate: 0 108%;
  transition: translate 1.2s var(--ease-out);
}

.motion [data-lines] .line:nth-child(2) > span { transition-delay: 0.1s; }
.motion [data-lines] .line:nth-child(3) > span { transition-delay: 0.2s; }

.motion [data-lines].is-in .line > span {
  translate: 0 0;
}

/* image hover inside the mask */
@media (hover: hover) {
  .photo-media img {
    transition: scale 1.2s var(--ease-out), opacity 0.9s var(--ease-out);
  }

  .photo:hover .photo-media img {
    scale: 1.035;
  }
}

/* =========================================================
   Desktop wide
   ========================================================= */

@media (min-width: 1200px) {
  .mark-name {
    display: block;
  }
}

/* =========================================================
   Tablet — 768 to 1199
   ========================================================= */

@media (max-width: 1199px) {
  :root {
    --t-mega: clamp(52px, min(11.2vw, 12vh), 124px);
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav.is-menu {
    background: var(--white);
  }

  .nav.is-menu::after {
    opacity: 1;
  }

  /* hero: image first, type cuts into it */
  .hero {
    grid-template-rows: auto auto auto auto;
    min-height: 0;
  }

  .hero-kicker {
    grid-column: 2 / 14;
    margin-bottom: 20px;
  }

  .hero-photo {
    grid-column: full;
    grid-row: 2;
    min-height: 0;
    height: min(50svh, 58vw);
  }

  .hero-plate {
    bottom: auto;
    top: 0;
    width: 220px;
    padding: 16px 18px 18px;
  }

  .plate-no {
    margin-bottom: 12px;
  }

  .plate-main {
    font-size: 19px;
  }

  .hero-title {
    grid-column: 2 / 14;
    grid-row: 3;
    margin-top: calc(var(--t-mega) * -1.82);
  }

  .hero-foot {
    grid-column: 2 / 14;
    grid-row: 4;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gut);
    align-items: end;
    padding-top: 36px;
  }

  .hero-lede {
    grid-column: 1 / 8;
  }

  .hero-foot .actions {
    grid-column: 1 / -1;
  }

  .statement {
    grid-column: 2 / 14;
  }

  .facts,
  .about-parent,
  .purpose {
    grid-column: 2 / 14;
  }

  .work-head h2 {
    grid-column: 2 / 14;
  }

  .work-index {
    grid-column: 2 / 14;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--gut);
    margin-top: 48px;
  }

  .br-md {
    display: inline;
  }

  .ch-idp-photo .photo-media {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .ch-body .ch-no {
    grid-column: 2 / 4;
  }

  .ch-body .ch-title {
    grid-column: 4 / 14;
  }

  .ch-body .ch-copy {
    grid-column: 4 / 14;
    padding-top: 32px;
  }

  .ch-books-copy {
    grid-column: 2 / 14;
    height: auto;
    margin-bottom: 56px;
  }

  .ch-sticky {
    position: static;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gut);
  }

  .ch-sticky > * {
    grid-column: 3 / 13;
  }

  .ch-sticky .ch-no {
    grid-column: 1 / 3;
    grid-row: 1 / 4;
  }

  .ch-books-photos {
    grid-column: 2 / 14;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gut);
    row-gap: 40px;
  }

  .bk-1 { grid-column: 1 / 8; width: auto; }
  .bk-2 { grid-column: 8 / 13; width: auto; align-self: end; }
  .bk-2 .photo-media { aspect-ratio: 4 / 5; }
  .bk-3 { grid-column: 4 / 10; width: auto; }

  .ch-fees-photo {
    grid-column: full-start / 8;
  }

  .ch-fees-copy {
    grid-column: 8 / 14;
  }

  .impact-title .line:nth-child(2) {
    padding-left: 8%;
  }

  .impact-title .line:nth-child(3) {
    padding-left: 16%;
  }

  .ledger strong {
    grid-column: 3 / 13;
  }

  .ledger li > span:last-child {
    grid-column: 3 / 13;
    margin-top: 8px;
  }

  .impact-note {
    grid-column: 2 / 11;
  }

  .gallery-head h2 {
    grid-column: 2 / 14;
  }

  .gallery-note {
    grid-column: 2 / 10;
    grid-row: 3;
    margin-top: 28px;
  }

  .p1 { grid-column: 2 / 14; }
  .p2 { grid-column: 2 / 8; align-self: start; }
  .p3 { grid-column: 8 / 14; margin-top: 120px; }
  .p4 { grid-column: full; }
  .p4 .slate { padding-inline: var(--m); }
  .p5 { grid-column: 2 / 7; }
  .p6 { grid-column: 7 / 14; align-self: end; }

  .stories-inner h2,
  .story-photo,
  .story-copy {
    grid-column: 2 / 14;
  }

  .story-copy {
    margin-top: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--gut);
    padding-bottom: 0;
  }

  .story-copy > .utility,
  .story-lede {
    grid-column: 1 / -1;
  }

  .story-kinds {
    grid-column: 1 / -1;
  }

  .involved-lead,
  .involved-aside {
    grid-column: 2 / 14;
  }

  .involved-aside {
    grid-row: 3;
    margin-top: 64px;
  }

  .account-list {
    grid-template-columns: 1fr 1fr;
  }

  .footer-line {
    grid-column: 2 / 14;
  }

  .footer-cta {
    grid-column: 2 / 14;
    justify-self: start;
    margin-top: 40px;
  }

  .footer-cols > :first-child {
    grid-column: 2 / 6;
  }

  .footer-cols > :nth-child(2) {
    grid-column: 6 / 10;
  }

  .footer-cols > :nth-child(3) {
    grid-column: 10 / 14;
  }

  .footer-legal p:first-child {
    grid-column: 2 / 8;
  }

  .footer-legal .footer-parent {
    grid-column: 2 / 11;
    grid-row: 2;
  }

  .footer-legal a {
    grid-row: 1 / 3;
  }
}

/* =========================================================
   Mobile — up to 767
   ========================================================= */

@media (max-width: 767px) {
  :root {
    --nav: 64px;
    --t-mega: clamp(44px, 14.2vw, 92px);
    --sec: clamp(80px, 22vw, 112px);
    --head: 40px;
  }

  .mark-word {
    font-size: 25px;
  }

  .hero {
    padding-top: calc(var(--nav) + 12px);
  }

  .hero-kicker {
    gap: 2px 16px;
    margin-bottom: 14px;
    font-size: 11px;
  }

  .hero-photo {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 66svh;
  }

  .hero-photo .photo-media img {
    object-position: 78% center;
  }

  .hero-plate {
    right: auto;
    left: var(--m);
    top: 0;
    width: auto;
    min-width: 168px;
    padding: 12px 14px 14px;
    font-size: 10px;
  }

  .plate-no {
    margin-bottom: 8px;
  }

  .plate-main {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .hero-plate span:last-child {
    display: none;
  }

  .hero-title {
    margin-top: calc(var(--t-mega) * -0.95);
  }

  .hero-title .line:nth-child(n + 2) > span {
    padding-right: 0;
  }

  .hero-foot {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 0 8px;
  }

  .hero-lede {
    grid-column: 1;
  }

  .hero-foot .actions {
    grid-column: 1;
    gap: 12px 28px;
  }

  .about {
    padding-top: var(--sec);
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 56px;
  }

  .facts div {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--rule);
  }

  .facts div:first-child {
    border-top-color: var(--ink);
  }

  .facts dt {
    margin: 2px 0 0;
  }

  .purpose {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .purpose h3:nth-of-type(2),
  .purpose ol:nth-of-type(2) {
    margin-top: 28px;
  }

  .work-index {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .ch-idp-photo .photo-media {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

  .ch-body .ch-no,
  .ch-body .ch-title,
  .ch-body .ch-copy {
    grid-column: 2 / 14;
  }

  .ch-no {
    font-size: 64px;
    margin-bottom: 20px;
  }

  .ch-body .ch-copy {
    padding-top: 28px;
  }

  .ch-sticky {
    display: block;
  }

  .ch-books-copy {
    margin-bottom: 40px;
  }

  .ch-books-photos {
    grid-column: full;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-inline: var(--m);
    scroll-padding-inline: var(--m);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ch-books-photos::-webkit-scrollbar {
    display: none;
  }

  .ch-books-photos .photo {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  .ch-books-photos .photo-media {
    aspect-ratio: 4 / 5;
  }

  .ch-fees {
    padding-top: 0;
  }

  .ch-fees-photo,
  .ch-fees-copy {
    grid-column: full;
  }

  .ch-fees-photo .slate {
    padding-inline: var(--m);
  }

  .ch-fees-copy {
    grid-column: 2 / 14;
    margin-top: 56px;
  }

  .impact-title {
    font-size: clamp(30px, 9.6vw, 60px);
  }

  .impact-title .caps {
    font-size: 1.32em;
  }

  .impact-title .line:nth-child(n + 2) {
    padding-left: 0;
  }

  .ledger li {
    grid-template-columns: 44px 1fr;
    column-gap: 8px;
  }

  .ledger .ix {
    grid-column: 1;
  }

  .ledger strong,
  .ledger li > span:last-child {
    grid-column: 2;
  }

  .impact-note,
  .gallery-note {
    grid-column: 2 / 14;
  }

  /* immersive essay */
  .essay {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-inline: var(--m);
    scroll-padding-inline: var(--m);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .essay::-webkit-scrollbar {
    display: none;
  }

  .essay .photo {
    flex: 0 0 86%;
    margin: 0;
    scroll-snap-align: start;
  }

  .essay .photo-media {
    aspect-ratio: 4 / 5;
  }

  .essay .slate {
    padding-inline: 0;
  }

  .essay-ctrl {
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(100% - 2 * var(--m), var(--max));
    margin: 28px auto 0;
  }

  .essay-count {
    font-size: 14px;
    color: var(--ink-3);
  }

  .essay-count b {
    font-weight: 600;
    color: var(--ink);
  }

  .essay-bar {
    flex: 1;
    height: 1px;
    background: var(--rule);
  }

  .essay-bar i {
    display: block;
    height: 2px;
    margin-top: -0.5px;
    background: var(--ink);
    transform: scaleX(var(--essay, 0.1667));
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
  }

  .story-photo {
    grid-column: full;
  }

  .story-photo .slate {
    padding-inline: var(--m);
  }

  .story-copy {
    grid-template-columns: 1fr;
  }

  .involved-aside {
    margin-top: 56px;
  }

  .account-list {
    grid-template-columns: 1fr;
  }

  .ways a {
    grid-template-columns: 36px 1fr auto;
    padding: 18px 0;
  }

  .ways .arr {
    clip-path: none;
    translate: 0 0;
    font-size: 18px;
  }

  .enquiry {
    margin-top: 0;
  }

  .form-card {
    padding: 28px 22px;
  }

  .form-fields {
    grid-template-columns: 1fr;
  }

  .field {
    grid-column: 1 / -1;
  }

  .footer-cols > :first-child,
  .footer-cols > :nth-child(2),
  .footer-cols > :nth-child(3) {
    grid-column: 2 / 14;
  }

  .footer-cta {
    width: 100%;
    justify-content: space-between;
  }

  .footer-legal p:first-child,
  .footer-legal .footer-parent,
  .footer-legal a {
    grid-column: 2 / 14;
    grid-row: auto;
    justify-self: start;
  }
}

/* =========================================================
   Preferences & print
   ========================================================= */

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .nav,
  .menu,
  .skip,
  .essay-ctrl,
  .footer-mark {
    display: none !important;
  }

  .impact,
  .footer {
    background: none;
    color: var(--ink);
  }

  .hero-title .line > span {
    background: none;
  }
}

/* ---------- secondary pages ---------- */

.doc {
  padding: calc(var(--nav) + var(--sec) * 0.6) 0 var(--sec);
}

.doc .eyebrow {
  margin-bottom: 32px;
}

.doc h1 {
  grid-column: 2 / 11;
  margin-bottom: var(--head);
}

.doc-body {
  grid-column: 4 / 11;
  display: grid;
  gap: 20px;
  max-width: 62ch;
  color: var(--ink-2);
}

.doc-body .link {
  justify-self: start;
  color: var(--ink);
  margin-top: 12px;
}

.footer-slim {
  padding-top: 0;
}

.doc-404 h1 em {
  color: var(--red);
}

@media (max-width: 1199px) {
  .doc h1,
  .doc-body {
    grid-column: 2 / 14;
  }
}
