/* Hugh Baird College · Strategic Plan 2030
   ------------------------------------------------------------------ */

/* Fonts */
@font-face { font-family: 'Neue Haas Grotesk Display Pro'; src: url('../fonts/NeueHaasDisplayRoman.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neue Haas Grotesk Display Pro'; src: url('../fonts/NeueHaasDisplayRomanItalic.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Neue Haas Grotesk Display Pro'; src: url('../fonts/NeueHaasDisplayMedium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neue Haas Grotesk Display Pro'; src: url('../fonts/NeueHaasDisplayMediumItalic.woff') format('woff'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Neue Haas Grotesk Display Pro'; src: url('../fonts/NeueHaasDisplayBold.woff') format('woff'); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Neue Haas Grotesk Display Pro'; src: url('../fonts/NeueHaasDisplayBoldItalic.woff') format('woff'); font-weight: 600 700; font-style: italic; font-display: swap; }

/* Design tokens */
:root {
  --navy: #141732;
  --magenta: #D41C59;
  --blue: #0F3591;
  --yellow: #FFD93D;
  --white: #fff;
  --font: 'Neue Haas Grotesk Display Pro', 'neue-haas-grotesk-display', 'Inter Tight', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --logo-h: clamp(48px, 6.5vw, 72px);
  --header-pad: clamp(12px, 1.8vw, 20px);
  --header-h: calc(var(--logo-h) + 2 * var(--header-pad) + 1px);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body {
  margin: 0;
  overflow-x: clip; /* safety net: nothing can make the page scroll sideways */
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: .008em;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, blockquote, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); text-underline-offset: 3px; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
button { font-family: var(--font); }

h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: .94;
  font-weight: 700;
  letter-spacing: -.02em;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.btn, .voice, .priority, .voices__track { position: relative; }
.defs { position: absolute; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--white); color: var(--navy);
  padding: 12px 18px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Layout helpers */
.container { max-width: 1200px; margin: 0 auto; }
.section { padding: clamp(64px, 9vw, 128px) var(--gutter); }
.section--roomy { padding-block: clamp(72px, 11vw, 160px); }
.section--navy { background: var(--navy); }
.section--mag { background: var(--magenta); }
.section--blue { background: var(--blue); }
.section--clip { position: relative; overflow: hidden; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.body-text { font-size: 18px; line-height: 1.5; max-width: 60ch; }
.intro { margin-top: 24px; max-width: 56ch; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(36px, 5vw, 80px);
}
.split--top { align-items: start; }
.split--centre { align-items: center; }
.split--wide-gap { gap: clamp(40px, 6vw, 96px); }

/* Photos cropped to the brochure's cross shapes */
.cross-a { clip-path: url(#hb-cross-a); }
.cross-b { clip-path: url(#hb-cross-b); }
.cross-c { clip-path: url(#hb-cross-c); }
.cross-d { clip-path: url(#hb-cross-d); }
.photo { width: 100%; object-fit: cover; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 5 / 4; }

/* Pixel motifs */
svg[viewBox] { display: block; overflow: visible; }
.motif { position: absolute; aspect-ratio: 1 / 1; }
.motif svg { width: 100%; height: 100%; }
.motif--welcome { right: -4%; top: -5%; width: 22%; }
.motif--purpose { position: static; width: clamp(48px, 6vw, 80px); margin-bottom: clamp(20px, 3vw, 32px); }
.motif--communities { left: -6%; bottom: 6%; width: 20%; }
.motif--journey { right: -3%; top: -7%; width: 16%; }
.motif--aerial { right: var(--gutter); top: clamp(24px, 4vw, 56px); width: clamp(64px, 9vw, 120px); }
.motif--partners { right: -5%; bottom: 10%; width: 18%; }

/* "+" tag labels */
.tag { display: inline-flex; align-items: flex-start; }
.tag__plus {
  flex: none; width: 28px; height: 28px; border-radius: 6px;
  background: var(--white); color: var(--navy);
  display: grid; place-items: center;
  font-weight: 600; font-size: 22px; line-height: 1;
}
.tag__label {
  margin: 20px 0 0 -4px; padding: 7px 12px; border-radius: 7px;
  background: var(--white); color: var(--navy);
  font-style: italic; font-weight: 700; font-size: 16px; line-height: 1.1;
  letter-spacing: -.01em; white-space: nowrap;
}
.tag--sm .tag__plus { width: 26px; height: 26px; font-size: 20px; }
.tag--sm .tag__label { margin-top: 19px; padding: 6px 11px; font-size: 15px; letter-spacing: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px; border: 0;
  font-weight: 700; font-size: 17px; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .55); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; }
.btn__icon { flex: none; }
.btn--spaced { margin-top: 32px; }
.btn--mag { background: var(--magenta); color: var(--white); }
.btn--mag:hover { background: var(--white); color: var(--navy); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--yellow-hover:hover { background: var(--yellow); color: var(--navy); }
.btn--navy-hover:hover { background: var(--navy); color: var(--white); }
.btn--outline {
  background: transparent; color: var(--white); border: 2px solid var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0 16px 0 12px; font-size: 15px; align-self: flex-start; }
.btn--sm > span[aria-hidden] { font-size: 20px; font-weight: 600; width: 14px; text-align: center; }
.btn--close { min-height: 48px; padding: 0 16px; font-size: 16px; border: 2px solid var(--white); }
.btn--close > span { font-size: 22px; }

.btn-icon {
  width: 52px; height: 52px; border-radius: 12px;
  border: 2px solid var(--white); background: transparent; color: var(--white);
  font-weight: 600; font-size: 24px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.btn-icon:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn-icon:active { transform: translateY(0) scale(.97); }
.btn-icon--solid { background: var(--white); color: var(--navy); }
.btn-icon--solid:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-header__inner {
  max-width: 1280px; margin: 0 auto;
  padding: var(--header-pad) clamp(16px, 4vw, 48px);
  display: flex; align-items: center; gap: clamp(12px, 3vw, 40px);
}
.site-header__logo { flex: none; }
.site-header__logo img, .mobile-menu__top img { height: var(--logo-h); width: auto; }
.site-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px;
  color: var(--white); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.site-nav a:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.menu-button {
  display: none; margin-left: auto; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 12px; background: transparent; color: var(--white); cursor: pointer;
  place-items: center; transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.menu-button:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.menu-button > span { display: flex; flex-direction: column; gap: 6px; width: 28px; }
.menu-button > span > span { display: block; height: 3px; border-radius: 2px; background: currentColor; }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .js .menu-button { display: grid; }
}
/* Without JavaScript the full nav stays visible and wraps */
@media (max-width: 960px) {
  .no-js .site-nav { display: flex; }
  .no-js .site-nav ul { flex-wrap: wrap; justify-content: flex-end; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; border: 0; padding: var(--header-pad) clamp(16px, 4vw, 48px) 40px;
  background: var(--magenta); color: var(--white); overflow: auto;
}
.mobile-menu[open] { display: flex; flex-direction: column; }
.mobile-menu::backdrop { background: transparent; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mobile-menu nav { margin-top: 32px; }
.mobile-menu li { border-top: 2px solid rgba(255, 255, 255, .35); }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 8px 2px; color: var(--white); text-decoration: none;
  font-size: clamp(28px, 8vw, 40px); line-height: 1; font-weight: 700; letter-spacing: -.03em;
}

/* Hero */
.hero { background: var(--navy); position: relative; }
.hero__stage {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(8px, 2.5vh, 36px);
  padding: calc(var(--header-h) + clamp(8px, 2vh, 24px)) var(--gutter) clamp(36px, 8vh, 96px);
}
.hero-art {
  flex: none; position: relative; max-width: 100%; aspect-ratio: 10 / 12;
  height: clamp(110px, min(46vh, calc(100svh - var(--header-h) - 340px)), 640px);
}
.hero-art__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art g[data-third], .hero-art__yellow {
  transform-box: fill-box; transform-origin: center;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.hero-art__pulse { transform-box: fill-box; transform-origin: center; animation: hbPulse 1.4s ease-in-out infinite; }
.hero__words { position: relative; width: 100%; max-width: 1200px; flex: none; }
.hero__phrase {
  font-size: clamp(40px, min(8.4vw, 13vh), 128px); line-height: .92;
  font-weight: 700; letter-spacing: -.02em; text-align: center;
}
.hero__final { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(10px, 2.4vh, 24px); }
.hero h1 {
  max-width: 18ch; font-size: clamp(26px, min(4.6vw, 6.2vh), 64px); line-height: .95;
  font-weight: 700; letter-spacing: -.02em; text-wrap: balance;
}
.hero__dots, .hero__cue, .hero__phrase { display: none; }

/* With JavaScript the hero pins and plays the three phrases on scroll */
.js .hero { height: 360vh; }
.js .hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.js .hero__words { height: clamp(240px, 30vh, 300px); }
.js .hero__phrase, .js .hero__final {
  display: flex; position: absolute; inset: 0; align-items: center; justify-content: center;
}
.js .hero__phrase:not([data-hero-phrase="0"]), .js .hero__final { opacity: 0; }
.js .hero-art g[data-third]:not(.on), .js .hero-art__yellow:not(.on) { opacity: 0; transform: scale(.4); }
.no-js .hero-art g[data-only] { display: none; }
@media (max-width: 700px) { .js .hero { height: 250vh; } }

.js .hero__dots {
  display: flex; flex-direction: column; gap: 10px;
  position: absolute; right: clamp(16px, 3vw, 40px); top: 50%; transform: translateY(-50%);
  transition: opacity .5s;
}
.hero__dots.is-done { opacity: 0; }
.hero__dots span {
  display: block; width: 12px; height: 12px; border-radius: 2px; border: 2px solid var(--white);
  transition: background .4s, transform .4s var(--ease);
}
.hero__dots span.on { background: var(--white); }
.hero__dots span.current { transform: scale(1.25); }
.js .hero__cue {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: absolute; left: 50%; bottom: clamp(16px, 3vh, 32px); transform: translateX(-50%);
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
}
.hero__cue span { display: block; width: 2px; height: 28px; border-radius: 2px; background: var(--white); animation: hbCue 1.6s cubic-bezier(.65, 0, .35, 1) 3s infinite; }
.hero__cue.is-gone span { animation: none; }

@keyframes hbPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes hbCue {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(.2); transform-origin: bottom; opacity: .4; }
}

/* Principal's introduction */
.split--welcome { margin-top: clamp(32px, 5vw, 56px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.welcome__figure { position: relative; max-width: 520px; }
.welcome__figure figcaption { margin-top: 20px; }
.welcome__role { display: block; margin-top: 10px; font-size: 16px; }
.pull-quote {
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.06; font-weight: 700;
  letter-spacing: -.03em; text-wrap: balance;
}
.pull-quote span { color: var(--navy); }
.welcome__quote {
  margin-top: clamp(28px, 4vw, 44px); padding-top: 28px;
  border-top: 2px solid rgba(255, 255, 255, .5);
  font-size: 18px; line-height: 1.5; font-style: italic; max-width: 62ch;
}

/* Purpose and vision */
.split--purpose { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; }
.statement {
  margin-top: clamp(24px, 3vw, 40px);
  font-size: clamp(24px, 3vw, 38px); line-height: 1.22; font-weight: 600;
  letter-spacing: -.02em; text-wrap: pretty;
}
.purpose__vision { margin-top: 60px; }
.purpose__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.purpose__photo-1 { grid-column: 1 / 3; width: 72%; justify-self: end; }
.purpose__photo-2 { margin-top: -28%; }

/* Big phrase "beats" that open three sections */
.beat {
  position: relative; min-height: 88vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(40px, 6vw, 80px); padding: clamp(80px, 12vw, 160px) var(--gutter); text-align: center;
}
.beat__shape { height: clamp(110px, 14vw, 220px); }
.beat__shape svg { width: 100%; height: 100%; }
.beat__shape--y { aspect-ratio: 5 / 6; }
.beat__shape--square { aspect-ratio: 1 / 1; }
.beat__shape--bird { aspect-ratio: 7 / 5; }
.beat__text {
  font-size: clamp(56px, 12vw, 184px); line-height: .9; font-weight: 700;
  letter-spacing: -.035em; text-wrap: balance;
}
.section-beat__body { padding: clamp(56px, 8vw, 112px) var(--gutter) clamp(64px, 9vw, 128px); }
.section-beat__body > h2 + * { margin-top: clamp(40px, 6vw, 72px); }

/* Communities */
.communities__figure { position: relative; max-width: 500px; width: 100%; justify-self: end; }
.split--top h2 + .body-text { margin-top: 28px; }
.stats {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(28px, 4vw, 48px);
}
.stats li { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 2px solid rgba(255, 255, 255, .55); }
.stats__big { font-size: clamp(52px, 7vw, 84px); line-height: .92; font-weight: 700; letter-spacing: -.035em; }
.stats__text { font-size: 18px; line-height: 1.45; max-width: 30ch; }
.closing-line {
  margin-top: clamp(56px, 8vw, 96px); max-width: 22ch;
  font-size: clamp(30px, 4.6vw, 56px); line-height: 1.04; font-weight: 700;
  letter-spacing: -.035em; text-wrap: balance;
}

/* Journey */
.journey__figure { position: relative; }
.journey-cards {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  grid-auto-rows: 1fr; gap: 16px;
}
.journey-cards li {
  container-type: inline-size; background: var(--magenta); border-radius: 18px;
  padding: 24px 22px 28px; min-height: 240px;
  display: flex; flex-direction: column; gap: 16px;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.journey-cards li:nth-child(2) { transition-delay: .12s; }
.journey-cards li:nth-child(3) { transition-delay: .24s; }
.journey-cards li:nth-child(4) { transition-delay: .36s; }
.journey-cards.is-waiting li { opacity: 0; transform: translateY(16px); }
.journey-cards__big {
  margin-top: auto; font-size: clamp(26px, 13cqi, 52px); line-height: .98; font-weight: 700;
  letter-spacing: -.035em; text-wrap: balance; overflow-wrap: break-word;
}
.journey-cards__text { font-size: 17px; line-height: 1.45; }

/* Priorities */
.priorities { display: flex; gap: clamp(32px, 5vw, 80px); align-items: flex-start; }
.priorities__sticky {
  flex: 0 0 42%; max-width: 540px; aspect-ratio: 1 / 1;
  position: sticky; top: clamp(120px, 18vh, 180px);
}
.priorities__sticky-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity .9s var(--ease), transform 1.4s var(--ease);
}
.priorities__sticky-img.is-active { opacity: 1; transform: none; }
.priorities__list { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.priority {
  min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding: clamp(32px, 5vw, 56px) 0; border-top: 2px solid rgba(255, 255, 255, .45);
}
.priority__img { display: none; width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.priority__num { font-size: clamp(72px, 10vw, 144px); line-height: .85; font-weight: 700; letter-spacing: -.04em; color: var(--navy); }
.priority h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; max-width: 20ch; text-wrap: balance; }
.priority .body-text { max-width: 52ch; }
@media (max-width: 999px) {
  .priorities__sticky { display: none; }
  .priority { min-height: auto; }
  .priority__img { display: block; }
}

/* Shaped by you */
.shaped__art { position: relative; width: 100%; max-width: clamp(220px, 34vw, 420px); aspect-ratio: 1 / 1; justify-self: center; }
.shaped__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { white-space: nowrap; padding: 9px 14px; border-radius: 9px; border: 2px solid rgba(255, 255, 255, .6); font-size: 16px; font-weight: 600; }

/* Voices */
.voices__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.voices__arrows { display: flex; align-items: center; gap: 10px; }
.section-beat__body > .voices__head + * { margin-top: 32px; }
.voices__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 16px; margin-inline: -4px; align-items: stretch;
  scrollbar-width: none;
}
.voices__track::-webkit-scrollbar { display: none; }
.voice {
  flex: 0 0 min(86%, 400px); scroll-snap-align: start;
  background: var(--navy); border-radius: 22px; padding: 20px 22px 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.voice__img { object-position: center 25%; }
.voice h3 { font-size: 26px; line-height: 1.05; font-weight: 700; letter-spacing: -.025em; }
.voice__role { margin-top: 6px; font-size: 15px; line-height: 1.4; }
.voice__excerpt p { font-size: 20px; line-height: 1.35; font-weight: 700; font-style: italic; letter-spacing: -.01em; }
.voice .btn { margin-top: auto; }
.voices__dots { margin-top: 20px; display: flex; justify-content: center; gap: 4px; }
.voices__dots button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.voices__dots span {
  display: block; width: 12px; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, .45);
  transition: width .35s cubic-bezier(.2, .8, .2, 1), background .25s;
}
.voices__dots [aria-current="true"] span { width: 36px; background: var(--white); }

/* Values */
.values__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.values__head > div:first-child { flex: 1 1 420px; min-width: 0; }
.values__head .intro { margin-top: 20px; max-width: 52ch; }
.values__motif { flex: none; width: clamp(72px, 14vw, 200px); aspect-ratio: 5 / 6; }
.values__motif svg { width: 100%; height: 100%; }
.values {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
}
.values li { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 2px solid var(--yellow); }
.values__pixel { width: 22px; height: 22px; border-radius: 4px; background: var(--yellow); }
.values h3 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1; font-weight: 700; letter-spacing: -.035em; }
.values p { font-size: 18px; line-height: 1.5; max-width: 32ch; }

/* Rooted in community */
.aerial { position: relative; height: clamp(360px, 62vw, 780px); overflow: hidden; background: var(--navy); }
.aerial img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; max-width: none; object-fit: cover; object-position: center 0%; }
.aerial__fade {
  position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(180deg, rgba(212, 28, 89, 0) 0%, rgba(212, 28, 89, .55) 60%, var(--magenta) 100%);
}
.rooted { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(64px, 9vw, 128px); gap: clamp(28px, 5vw, 80px); }
.rooted__lead { margin-top: 28px; max-width: 22ch; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
.rooted .body-text { max-width: 56ch; }

/* Partner with us */
.partners__figure { position: relative; max-width: 520px; }

/* Download the plan */
.plan { position: relative; }
.plan h2 { margin-top: 24px; max-width: 14ch; text-wrap: balance; }
.plan .intro { margin-top: 20px; max-width: 46ch; }
.plan__art {
  position: absolute; right: clamp(-90px, calc(40vw - 400px), 64px); top: 50%; transform: translateY(-50%);
  width: clamp(140px, 22vw, 300px); aspect-ratio: 10 / 12;
}
.plan__art svg { width: 100%; height: 100%; }

/* Footer */
.site-footer { background: var(--navy); padding: 40px var(--gutter); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer img { height: 52px; width: auto; }
.site-footer address { font-style: normal; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; line-height: 1.4; }
.site-footer address a { color: var(--white); text-decoration: none; }
.site-footer address a:hover { color: var(--yellow); }

/* "Read more" panel */
.detail {
  width: min(100% - 32px, 920px); max-height: calc(100vh - 32px);
  padding: clamp(20px, 4vw, 40px); border: 0; border-radius: 24px;
  background: var(--navy); color: var(--white); overflow: auto;
}
.detail[open] { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 40px); align-items: flex-start; }
.detail::backdrop { background: rgba(10, 12, 30, .78); }
.detail__close {
  position: absolute; right: 14px; top: 14px; z-index: 2; width: 44px; height: 44px;
  border-radius: 10px; border: 2px solid var(--white); background: var(--navy); color: var(--white);
  font-weight: 600; font-size: 22px; line-height: 1; cursor: pointer;
}
.detail__close:hover { background: var(--white); color: var(--navy); }
.detail__media { flex: 1 1 260px; max-width: 340px; position: relative; }
.detail__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 25%; }
.detail__tag { position: absolute; left: 0; top: 0; }
.detail__tag .tag__plus { width: 30px; height: 30px; }
.detail__tag .tag__label { margin-top: 22px; }
.detail__body { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.detail h3 { padding-right: 48px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; text-wrap: pretty; }
.detail__role { margin-top: -6px; font-size: 16px; line-height: 1.4; }
.detail__role:empty { display: none; }
.detail__text { gap: 14px; font-size: 17px; line-height: 1.5; }
.detail--voice .detail__text { font-style: italic; }
.detail__nav {
  margin-top: 12px; padding-top: 18px; border-top: 2px solid rgba(255, 255, 255, .4);
  display: flex; justify-content: flex-end; gap: 10px;
}
.detail__nav .btn-icon { width: 48px; height: 48px; font-size: 22px; }

/* Scroll reveal (added by main.js) */
.reveal { opacity: 0; transform: translateY(-22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
img.reveal { transform: translateY(-32px) scale(.985); }
img.reveal.is-in { transform: none; transition-duration: 1.2s; }
/* iPhone fix: Safari can fail to draw SVG clip paths inside the scrolling Voices carousel,
   so the voice photos use the same cross shapes drawn as CSS polygons instead. */
.voice__img.cross-a { clip-path: polygon(0 0, 56% 0, 56% 26%, 100% 26%, 100% 68%, 56% 68%, 56% 100%, 0 100%); }
.voice__img.cross-b { clip-path: polygon(22% 0, 78% 0, 78% 24%, 100% 24%, 100% 70%, 78% 70%, 78% 100%, 22% 100%, 22% 70%, 0 70%, 0 24%, 22% 24%); }
.voice__img.cross-c { clip-path: polygon(40% 0, 100% 0, 100% 100%, 40% 100%, 40% 74%, 0 74%, 0 30%, 40% 30%); }
.voice__img.cross-d { clip-path: polygon(26% 0, 76% 0, 76% 36%, 100% 36%, 100% 86%, 76% 86%, 76% 100%, 26% 100%, 26% 86%, 0 86%, 0 36%, 26% 36%); }
/* Focus rings show for keyboard users only (main.js adds .kbd when a key is pressed).
   This stops iPhone Safari drawing yellow rings round things you tap. */
html:not(.kbd) :focus { outline: none; }
/* Focus rings show for keyboard users only (main.js adds .kbd when a key is pressed).
   This stops iPhone Safari drawing yellow rings round things you tap. */
html:not(.kbd) :focus { outline: none; }

/* Hero on phones: more scroll room per line (was 250vh), so "realising potential" isn't skipped */
@media (max-width: 700px) { .js .hero { height: 400vh; } }