:root {
  --ink: #082d44;
  --ink-soft: #16475c;
  --lagoon: #0e9fa0;
  --lagoon-deep: #087578;
  --canopy: #668f43;
  --sun: #f3b61f;
  --coral: #f25f45;
  --coral-deep: #d94a35;
  --mineral: #eaf4f1;
  --mist: #f7fbfa;
  --white: #ffffff;
  --line: rgba(8, 45, 68, 0.18);
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", Arial, sans-serif;
  --font-data: "Roboto Mono", ui-monospace, monospace;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --section-pad: clamp(4.5rem, 9vw, 9rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button, a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.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-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto auto;
  align-items: center;
  min-height: 6.25rem;
  padding: 0 var(--page-pad);
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  width: fit-content;
}

.brand img {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
  margin-right: clamp(1.5rem, 3vw, 3rem);
}

.primary-nav a {
  position: relative;
  padding: 0.65rem 0;
  color: rgba(255,255,255,0.86);
  font-size: 0.94rem;
  font-weight: 600;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--lagoon);
  transition: transform 280ms var(--ease-out);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-height: 3.25rem;
  padding: 0 1.25rem;
  color: var(--ink);
  background: var(--sun);
  font-family: var(--font-display);
  font-weight: 750;
  transition: background 180ms ease, transform 180ms var(--ease-out);
}

.header-cta:hover { background: #ffca3a; transform: translateY(-2px); }

.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(26rem, 43%) 1fr;
  min-height: min(46rem, calc(100vh - 6.25rem));
  overflow: hidden;
  background: var(--mineral);
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.25rem) var(--page-pad);
  overflow: hidden;
}

.chart-field {
  background:
    radial-gradient(circle at 22% 84%, rgba(14,159,160,0.13) 0 1px, transparent 1.5px) 0 0 / 14px 14px,
    var(--mineral);
}

.contour-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(14, 159, 160, 0.17);
  pointer-events: none;
}

.contour-lines path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.hero-meta,
.section-code,
.image-index,
.phase-range,
.phase-visual span,
.evidence-item figcaption > span,
.visit-coordinate,
.visit-contact > span {
  font-family: var(--font-data);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--lagoon-deep);
}

.hero-heading-wrap {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  padding: clamp(2rem, 5vh, 3.5rem) 0 1.5rem;
}

.hero-kicker {
  margin: 0 0 1.15rem;
  color: var(--lagoon-deep);
  font-size: 0.98rem;
  font-weight: 700;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 100;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 4.6vw, 4.85rem);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-intro {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.5;
}

.hero-actions {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.visit-marker {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 7.25rem;
  height: 7.25rem;
  color: var(--white);
  background: var(--coral);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 720;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, transform 240ms var(--ease-out);
}

.visit-marker svg {
  position: absolute;
  inset: -7%;
  width: 114%;
  height: 114%;
  overflow: visible;
  fill: none;
  stroke: rgba(255,255,255,0.65);
  stroke-width: 1;
  pointer-events: none;
  transition: transform 450ms var(--ease-out);
}

.visit-marker:hover { background: var(--coral-deep); transform: translateY(-4px); }
.visit-marker:hover svg { transform: rotate(22deg); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  padding: 0.55rem 0 0.35rem;
  border-bottom: 2px solid var(--lagoon);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 720;
  text-transform: uppercase;
  transition: gap 200ms var(--ease-out), border-color 180ms ease;
}

.text-link:hover { gap: 1.4rem; border-color: var(--coral); }

.coordinate-stamp {
  position: absolute;
  right: 1.75rem;
  bottom: 1.75rem;
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  border: 1px solid rgba(8,45,68,0.23);
  color: var(--lagoon-deep);
  background: rgba(234,244,241,0.88);
  font-family: var(--font-data);
  font-size: 0.63rem;
}

.coordinate-stamp strong { color: var(--ink); font-size: 0.72rem; }

.hero-image {
  position: relative;
  min-height: 38rem;
  overflow: hidden;
  background: var(--ink);
}

.hero-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 50%;
  filter: saturate(0.96) contrast(1.02);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,45,68,0.08), transparent 35%, rgba(8,45,68,0.1));
  pointer-events: none;
}

@media (min-width: 901px) {
  .learning-rail {
    position: relative;
    z-index: 5;
    margin-top: -3rem;
  }
}

.image-index {
  position: absolute;
  z-index: 2;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.55rem 0.7rem;
  color: var(--white);
  background: rgba(8,45,68,0.88);
}

.hero-route {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero-route path { fill: none; }
.route-shadow { stroke: rgba(8,45,68,0.48); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1 18; }
.route-line { stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 15; stroke-dashoffset: 820; }
.route-origin circle:first-child, .route-destination circle { fill: rgba(8,45,68,0.56); stroke: var(--white); stroke-width: 2; }
.route-origin circle:last-child { fill: var(--sun); }
.route-destination path { fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.is-ready .route-line { animation: trace-route 2.1s var(--ease-out) 180ms forwards; }

@keyframes trace-route { to { stroke-dashoffset: 0; } }

.campus-fact {
  position: absolute;
  z-index: 4;
  right: 1.5rem;
  bottom: 1.5rem;
  display: grid;
  gap: 0.25rem;
  min-width: 10rem;
  padding: 1rem 1.15rem;
  color: var(--ink);
  background: var(--sun);
}

.campus-fact span { font-family: var(--font-data); font-size: 0.65rem; }
.campus-fact strong { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.1; }

.learning-rail {
  display: grid;
  grid-template-columns: minmax(13rem, 0.75fr) 3fr;
  align-items: stretch;
  color: var(--white);
  background: var(--ink);
}

.rail-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem var(--page-pad);
  border-right: 1px solid rgba(255,255,255,0.15);
}

.rail-title span { color: #75d0ce; font-family: var(--font-data); font-size: 0.68rem; }
.rail-title h2 { margin: 0.25rem 0 0; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1; }

.route-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  min-height: 8.25rem;
  padding: 1rem clamp(1rem, 3vw, 3rem);
  overflow: hidden;
}

.route-track::before,
.route-progress {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(3rem, 6vw, 7rem);
  left: clamp(3rem, 6vw, 7rem);
  height: 2px;
}

.route-track::before { background: rgba(255,255,255,0.18); }
.route-progress { transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--lagoon), var(--canopy), var(--sun), var(--coral)); transition: transform 1.25s var(--ease-out); }
.route-track.is-visible .route-progress { transform: scaleX(1); }

.stage-point {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 0.65rem;
  min-width: 8.5rem;
  padding: 0.6rem;
  color: var(--white);
  background: var(--ink);
}

.stage-index {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 4px solid var(--white);
  border-radius: 50%;
  font-family: var(--font-data);
  font-weight: 600;
  transition: transform 220ms var(--ease-out);
}

.stage-nursery .stage-index { background: var(--lagoon); }
.stage-casa .stage-index { background: var(--canopy); }
.stage-ks1 .stage-index { background: #4b83b6; }
.stage-ks2 .stage-index { color: var(--ink); background: var(--sun); }
.stage-point:hover .stage-index { transform: scale(1.12); }
.stage-point strong, .stage-point small { display: block; }
.stage-point strong { font-family: var(--font-display); font-size: 0.98rem; line-height: 1.05; }
.stage-point small { margin-top: 0.2rem; color: rgba(255,255,255,0.72); font-size: 0.76rem; }

.flair-section {
  display: grid;
  grid-template-columns: minmax(20rem, 0.85fr) minmax(36rem, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding: var(--section-pad) var(--page-pad);
  overflow: hidden;
  background: var(--mist);
}

.flair-intro { max-width: 35rem; }
.section-code { margin-bottom: 1.4rem; color: var(--lagoon-deep); }
.flair-intro h2,
.curriculum-heading h2,
.evidence-heading h2,
.campus-copy h2,
.visit-copy h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 5vw, 5rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.flair-intro > p:not(.section-code),
.curriculum-heading > p:not(.section-code),
.evidence-heading > p:not(.section-code),
.campus-copy > p:not(.section-code),
.visit-copy > p:not(.section-code) {
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.flair-readout {
  display: grid;
  gap: 0.35rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.flair-readout span { color: var(--coral-deep); font-family: var(--font-data); font-size: 0.72rem; }
.flair-readout strong { font-family: var(--font-display); font-size: 1.45rem; }
.flair-readout p { max-width: 48ch; margin-bottom: 0; color: var(--ink-soft); }
.flair-mobile-hint { display: none; }

.flair-map {
  position: relative;
  width: min(100%, 43rem);
  aspect-ratio: 1;
  justify-self: center;
}

.flair-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(8,45,68,0.25);
  stroke-width: 1.5;
}

.flair-orbit { stroke-dasharray: 0.012 0.025; }
.flair-halo { fill: var(--mineral); stroke: var(--lagoon); stroke-width: 2; }

.flair-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 9.2rem;
  height: 9.2rem;
  transform: translate(-50%, -50%);
  color: var(--white);
  background: var(--ink);
  border: 0.7rem solid var(--mineral);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(8,45,68,0.18);
}

.flair-core::before,
.flair-core::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1.2rem;
  border-radius: 50%;
  pointer-events: none;
}

.flair-core::before {
  border: 1px solid var(--coral);
  opacity: 0;
}

.flair-core::after {
  background: conic-gradient(from 0deg, transparent 0 305deg, var(--sun) 305deg 322deg, transparent 322deg);
  opacity: 0;
  -webkit-mask: radial-gradient(circle, transparent 64%, #000 66%);
  mask: radial-gradient(circle, transparent 64%, #000 66%);
}

.flair-core img { width: 4.3rem; height: 4.3rem; object-fit: contain; }
.flair-core span { margin-top: -0.2rem; font-family: var(--font-data); font-size: 0.68rem; letter-spacing: 0.12em; }

.flair-node {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: max-content;
  max-width: 10.5rem;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.node-letter {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.8rem;
  height: 3.8rem;
  color: var(--white);
  background: var(--lagoon);
  border: 4px solid var(--mist);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 760;
  transition: transform 260ms var(--ease-out), box-shadow 180ms ease;
}

.flair-node > span:last-child { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.flair-node:hover .node-letter, .flair-node.is-active .node-letter { transform: scale(1.14); box-shadow: 0 7px 22px rgba(8,45,68,0.22); }
.flair-node.is-active > span:last-child { text-decoration: underline 2px var(--coral); text-underline-offset: 0.28rem; }
.node-f { top: 0; left: 50%; transform: translateX(-50%); flex-direction: column; text-align: center; }
.node-l { top: 28%; right: 0; }
.node-a { right: 10%; bottom: 6%; }
.node-i { bottom: 6%; left: 10%; flex-direction: row-reverse; text-align: right; }
.node-r { top: 28%; left: 0; flex-direction: row-reverse; text-align: right; }
.node-f .node-letter { background: var(--lagoon-deep); }
.node-l .node-letter { background: var(--canopy); }
.node-a .node-letter { color: var(--ink); background: var(--sun); }
.node-i .node-letter { background: #4b83b6; }
.node-r .node-letter { background: var(--coral); }

.flair-map.is-animated .flair-orbit {
  animation: flair-orbit-draw 760ms var(--ease-out) both;
}

.flair-map.is-animated .flair-routes {
  animation: flair-route-draw 720ms var(--ease-out) 150ms both;
}

.flair-map.is-animated .flair-halo {
  animation: flair-halo-arrive 620ms var(--ease-out) 280ms both;
}

.flair-map.is-animated .flair-core {
  animation: flair-core-arrive 720ms var(--ease-out) 260ms both;
}

.flair-map.is-animated .flair-core::before {
  animation: flair-signal-pulse 900ms var(--ease-out) 620ms both;
}

.flair-map.is-animated .flair-core::after {
  animation: flair-bearing-sweep 1050ms var(--ease-out) 420ms both;
}

.flair-map.is-animated .flair-node {
  animation: flair-coordinate-arrive 560ms var(--ease-out) both;
}

.flair-map.is-animated .node-f { animation-delay: 420ms; }
.flair-map.is-animated .node-l { animation-delay: 500ms; }
.flair-map.is-animated .node-a { animation-delay: 580ms; }
.flair-map.is-animated .node-i { animation-delay: 660ms; }
.flair-map.is-animated .node-r { animation-delay: 740ms; }

@keyframes flair-orbit-draw {
  from { opacity: 0.15; stroke-dashoffset: 1; }
  to { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes flair-route-draw {
  from { opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1; }
  to { opacity: 1; stroke-dasharray: 1; stroke-dashoffset: 0; }
}

@keyframes flair-halo-arrive {
  from { opacity: 0.25; transform: scale(0.72); transform-origin: center; }
  to { opacity: 1; transform: scale(1); transform-origin: center; }
}

@keyframes flair-core-arrive {
  from { opacity: 0.4; transform: translate(-50%, -50%) scale(0.76); filter: blur(5px); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: blur(0); }
}

@keyframes flair-signal-pulse {
  0% { opacity: 0; transform: scale(0.72); }
  35% { opacity: 0.85; }
  100% { opacity: 0; transform: scale(1.65); }
}

@keyframes flair-bearing-sweep {
  0% { opacity: 0; transform: rotate(-105deg) scale(0.82); }
  24% { opacity: 1; }
  100% { opacity: 0; transform: rotate(255deg) scale(1.1); }
}

@keyframes flair-coordinate-arrive {
  from { opacity: 0; filter: blur(5px); }
  to { opacity: 1; filter: blur(0); }
}

.curriculum {
  padding: var(--section-pad) var(--page-pad);
  background: var(--mineral);
}

.curriculum-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  column-gap: 3rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.curriculum-heading .section-code { grid-column: 1 / -1; }
.curriculum-heading h2 { margin-bottom: 0; }
.curriculum-heading > p:last-child { margin-bottom: 0.4rem; }

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

.phase {
  display: grid;
  min-height: 32rem;
  border-bottom: 1px solid var(--ink);
}

.phase-early { grid-template-columns: 1.3fr 0.7fr; }
.phase-primary { grid-template-columns: 0.7fr 1.3fr; }

.phase-visual { position: relative; min-height: 28rem; overflow: hidden; }
.phase-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.phase:hover .phase-visual img { transform: scale(1.025); }
.phase-visual span { position: absolute; top: 1.2rem; left: 1.2rem; padding: 0.55rem 0.7rem; color: var(--white); background: rgba(8,45,68,0.9); }
.phase-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5.5rem); }
.phase-early .phase-copy { background: var(--sun); }
.phase-primary .phase-copy { color: var(--white); background: var(--lagoon-deep); }
.phase-range { margin-bottom: 1.5rem; }
.phase-copy h3 { margin-bottom: 1.2rem; font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 1; letter-spacing: -0.025em; }
.phase-copy p { max-width: 42ch; font-size: 1.06rem; }
.phase-copy a { display: inline-flex; align-items: center; gap: 0.9rem; width: fit-content; margin-top: 1.1rem; padding-bottom: 0.25rem; border-bottom: 2px solid currentColor; font-weight: 700; }
.phase-copy a:hover { gap: 1.3rem; }

.field-evidence {
  padding: var(--section-pad) var(--page-pad);
  background: var(--mist);
}

.evidence-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.evidence-heading .section-code { grid-column: 1 / -1; }
.evidence-heading h2 { margin-bottom: 0; }
.evidence-heading > p:last-child { margin-bottom: 0.4rem; }

.evidence-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.evidence-item { margin: 0; padding: 1.2rem; border-right: 1px solid var(--ink); }
.evidence-item:first-child { padding-left: 0; }
.evidence-item:last-child { padding-right: 0; border-right: 0; }
.evidence-image { height: clamp(16rem, 28vw, 28rem); overflow: hidden; }
.evidence-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.evidence-item:hover img { transform: scale(1.03); }
.evidence-food .evidence-image { height: clamp(13rem, 21vw, 21rem); margin-top: clamp(3rem, 7vw, 8rem); }
.evidence-community .evidence-image { height: clamp(15rem, 24vw, 25rem); margin-top: clamp(1rem, 3vw, 3rem); }
.evidence-item figcaption { padding: 1.25rem 0 0.5rem; }
.evidence-item figcaption > span { display: block; margin-bottom: 0.55rem; color: var(--lagoon-deep); }
.evidence-item figcaption strong { display: block; margin-bottom: 0.6rem; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
.evidence-item figcaption p { max-width: 40ch; margin-bottom: 0; color: var(--ink-soft); }

.campus-map {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  min-height: 42rem;
  color: var(--white);
  background: var(--ink);
}

.campus-image-wrap { position: relative; min-height: 38rem; overflow: hidden; }
.campus-image-wrap > img { width: 100%; height: 100%; object-fit: cover; }
.campus-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(8,45,68,0.55)); pointer-events: none; }
.map-pin { position: absolute; z-index: 2; display: flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.75rem 0.55rem 0.55rem; color: var(--ink); background: var(--white); font-family: var(--font-data); font-size: 0.67rem; text-transform: uppercase; box-shadow: 0 7px 22px rgba(8,45,68,0.25); }
.map-pin span { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; color: var(--white); background: var(--coral); border-radius: 50%; }
.pin-pool { right: 10%; bottom: 19%; }
.pin-campus { top: 34%; left: 43%; }
.campus-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 6.5rem) var(--page-pad); }
.campus-copy .section-code { color: #75d0ce; }
.campus-copy > p:not(.section-code) { color: rgba(255,255,255,0.78); }
.campus-copy dl { display: grid; gap: 1.1rem; margin: 2.5rem 0; }
.campus-copy dl div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.22); }
.campus-copy dt { color: #75d0ce; font-family: var(--font-data); font-size: 0.66rem; text-transform: uppercase; }
.campus-copy dd { margin: 0; font-weight: 600; }
.text-link.on-dark { border-color: var(--sun); }

.visit-section {
  position: relative;
  display: grid;
  grid-template-columns: 0.4fr 1.2fr 0.55fr;
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: 38rem;
  padding: var(--section-pad) var(--page-pad) clamp(4rem, 7vw, 7rem);
  overflow: hidden;
  background: var(--sun);
}

.visit-route { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(8,45,68,0.2); stroke-width: 2; stroke-dasharray: 8 12; pointer-events: none; }
.visit-coordinate {
  position: relative;
  align-self: start;
  display: grid;
  grid-template-columns: 3.9rem 1fr;
  align-items: center;
  gap: 0.8rem;
  width: min(100%, 12rem);
  color: var(--ink);
  text-align: left;
}

.visit-coordinate-index {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.9rem;
  height: 3.9rem;
  color: var(--white);
  background: var(--coral);
  border: 4px solid rgba(255,255,255,0.72);
  border-radius: 50%;
  box-shadow: 0 7px 22px rgba(8,45,68,0.18);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.visit-coordinate-index::after {
  content: "";
  position: absolute;
  inset: -0.55rem;
  border: 2px solid var(--coral);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.visit-section.is-animated .visit-coordinate-index {
  animation: visit-start-arrive 720ms var(--ease-out) both;
}

.visit-section.is-animated .visit-coordinate-index::after {
  animation: visit-start-signal 920ms var(--ease-out) 360ms both;
}

@keyframes visit-start-arrive {
  0% { opacity: 0.45; transform: scale(0.72); filter: blur(4px); box-shadow: 0 2px 8px rgba(8,45,68,0.08); }
  62% { opacity: 1; transform: scale(1.08); filter: blur(0); box-shadow: 0 12px 30px rgba(8,45,68,0.26); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); box-shadow: 0 7px 22px rgba(8,45,68,0.18); }
}

@keyframes visit-start-signal {
  0% { opacity: 0; transform: scale(0.72); }
  28% { opacity: 0.8; }
  100% { opacity: 0; transform: scale(1.65); }
}

.visit-coordinate-label { display: grid; gap: 0.25rem; }
.visit-coordinate-label small { font-family: var(--font-data); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.07em; }
.visit-coordinate-label strong { font-family: var(--font-display); font-size: 0.95rem; line-height: 1.05; }
.visit-copy { position: relative; max-width: 49rem; }
.visit-copy .section-code { color: var(--ink); }
.visit-copy h2 { max-width: 12ch; font-size: clamp(3.2rem, 6vw, 6rem); }
.visit-copy > p:not(.section-code) { color: var(--ink); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.3rem; }
.button-primary, .button-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3.75rem; padding: 0 1.5rem; font-family: var(--font-display); font-weight: 750; transition: transform 180ms var(--ease-out), background 180ms ease; }
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover { transform: translateY(-3px); background: var(--lagoon-deep); }
.button-secondary { border: 2px solid var(--ink); }
.button-secondary:hover { transform: translateY(-3px); background: rgba(255,255,255,0.38); }
.visit-contact { position: relative; display: grid; gap: 0.6rem; align-self: end; padding-top: 1rem; border-top: 2px solid var(--ink); }
.visit-contact a { width: fit-content; font-weight: 700; }
.visit-contact a:hover { text-decoration: underline; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 3rem var(--page-pad);
  color: var(--white);
  background: var(--ink);
}

.footer-brand { display: flex; align-items: center; gap: 0.8rem; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.footer-brand img { width: 3.5rem; height: 3.5rem; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.5rem; color: rgba(255,255,255,0.78); font-weight: 600; }
.footer-links a:hover { color: var(--sun); }
.site-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.6); font-family: var(--font-data); font-size: 0.67rem; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { order: 3; grid-column: 1 / -1; justify-content: center; margin: 0; padding: 0.55rem 0 0.85rem; border-top: 1px solid rgba(255,255,255,0.12); }
  .header-cta { grid-column: 2; grid-row: 1; }
  .hero { grid-template-columns: 48% 52%; }
  .coordinate-stamp { display: none; }
  .flair-section { grid-template-columns: 0.8fr 1.2fr; gap: 2rem; }
  .campus-map { grid-template-columns: 1.2fr 0.8fr; }
  .visit-section { grid-template-columns: 0.35fr 1.2fr; }
  .visit-contact { grid-column: 2; }
}

@media (min-width: 1181px) and (max-width: 1360px) {
  .coordinate-stamp { display: none; }
}

@media (max-width: 900px) {
  .site-header { min-height: 5.5rem; }
  .brand img { width: 3.7rem; height: 3.7rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 42rem; }
  .hero-image { min-height: 38rem; }
  .learning-rail { grid-template-columns: 1fr; }
  .rail-title { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .route-track { min-height: 7.5rem; }
  .flair-section { grid-template-columns: 1fr; }
  .flair-intro { max-width: 44rem; }
  .flair-map { width: min(100%, 39rem); }
  .curriculum-heading, .evidence-heading { grid-template-columns: 1fr; gap: 1.25rem; }
  .curriculum-heading .section-code, .evidence-heading .section-code { grid-column: auto; }
  .phase-early, .phase-primary { grid-template-columns: 1fr; }
  .phase-primary .phase-copy { order: 2; }
  .phase { min-height: unset; }
  .phase-visual { min-height: 25rem; }
  .evidence-grid { grid-template-columns: 1fr 1fr; }
  .evidence-item { padding: 1rem; }
  .evidence-item:nth-child(2) { border-right: 0; }
  .evidence-item:last-child { grid-column: 1 / -1; padding: 1rem 0 0; border-top: 1px solid var(--ink); }
  .evidence-food .evidence-image, .evidence-community .evidence-image { height: 22rem; margin-top: 0; }
  .campus-map { grid-template-columns: 1fr; }
  .campus-copy { min-height: 35rem; }
}

@media (max-width: 680px) {
  .site-header { grid-template-columns: 1fr auto; padding-block: 0.6rem; }
  .brand-name { font-size: 0.78rem; }
  .header-cta { display: none; }
  .menu-toggle {
    display: grid;
    gap: 5px;
    justify-items: end;
    width: 3rem;
    padding: 0.65rem;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
  }
  .menu-toggle span:not(.sr-only) { display: block; width: 1.35rem; height: 2px; background: currentColor; transition: transform 180ms ease, width 180ms ease; }
  .menu-toggle span:nth-child(3) { width: 0.95rem; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { width: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav {
    display: none;
    align-items: stretch;
    flex-direction: column;
    grid-column: 1 / -1;
    padding: 1rem 0 0.25rem;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 0.7rem 0; }
  .hero-copy { min-height: auto; padding-top: 2rem; padding-bottom: 1.25rem; }
  .hero-heading-wrap { padding: 2.2rem 0 1.5rem; }
  h1 { font-size: clamp(3rem, 13.5vw, 4rem); }
  .hero-meta { flex-direction: column; gap: 0.2rem; }
  .hero-actions { align-items: flex-end; }
  .visit-marker { width: 6.25rem; height: 6.25rem; font-size: 0.82rem; }
  .text-link { font-size: 0.77rem; }
  .hero-image { min-height: 28rem; }
  .campus-fact { right: 0.9rem; bottom: 0.9rem; }
  .route-track { grid-template-columns: 1fr; gap: 0.85rem; padding: 1.35rem var(--page-pad); }
  .route-track::before, .route-progress { top: 2rem; bottom: 2rem; left: 2.8rem; width: 2px; height: auto; }
  .route-progress { transform: scaleY(0); transform-origin: top; }
  .route-track.is-visible .route-progress { transform: scaleY(1); }
  .stage-point { justify-self: stretch; justify-content: flex-start; min-width: 0; padding: 0.3rem 0; }
  .stage-point small { display: inline; margin-left: 0.4rem; }
  .flair-section { padding-bottom: 5rem; }
  .flair-intro h2, .curriculum-heading h2, .evidence-heading h2, .campus-copy h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .flair-mobile-hint { display: block; margin: 1rem 0 0; color: var(--lagoon-deep); font-family: var(--font-data); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
  .flair-map { position: relative; display: block; width: min(100%, 23rem); aspect-ratio: 1; margin: 2rem auto 0; }
  .flair-connectors { display: block; }
  .flair-core { position: absolute; top: 50%; left: 50%; width: 7rem; height: 7rem; margin: 0; border-width: 0.55rem; transform: translate(-50%, -50%); }
  .flair-core img { width: 3.3rem; height: 3.3rem; }
  .flair-node { position: absolute; inset: auto; display: grid; width: 3.4rem; max-width: none; padding: 0; border: 0; text-align: center; }
  .flair-node .node-letter { width: 3.4rem; height: 3.4rem; border-width: 3px; font-size: 1.15rem; }
  .flair-node > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .node-f { top: 0; left: 50%; transform: translateX(-50%); }
  .node-l { top: 25%; right: 1%; }
  .node-a { right: 13%; bottom: 3%; }
  .node-i { bottom: 3%; left: 13%; }
  .node-r { top: 25%; left: 1%; }
  .flair-readout { margin-top: 2rem; }
  .phase-visual { min-height: 20rem; }
  .phase-copy { padding: 2.5rem 1.5rem; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-item, .evidence-item:first-child, .evidence-item:last-child { grid-column: auto; padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .evidence-item:last-child { border-top: 0; border-bottom: 0; }
  .evidence-image, .evidence-food .evidence-image, .evidence-community .evidence-image { height: 21rem; }
  .campus-image-wrap { min-height: 27rem; }
  .pin-campus { top: 25%; left: 20%; }
  .pin-pool { right: 7%; bottom: 14%; }
  .visit-section { grid-template-columns: 1fr; align-items: start; min-height: 42rem; }
  .visit-coordinate { width: 100%; max-width: 12rem; }
  .visit-copy h2 { font-size: clamp(3rem, 14vw, 4.75rem); }
  .visit-contact { grid-column: auto; }
  .visit-actions { align-items: stretch; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; gap: 1rem 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .route-line { stroke-dashoffset: 0; }
  .route-progress { transform: none; }
}
