/* =========================================================================
   AM3C — site stylesheet
   Hand-rolled, brand palette as custom properties. Mobile-first (360px).
   ========================================================================= */

/* ----- Fonts ----------------------------------------------------------- */
/* Self-hosted Encode Sans Expanded if the files are present; otherwise the
   layout also loads the Google Fonts stylesheet as a fallback. */
@font-face {
  font-family: "Encode Sans Expanded";
  src: url("../fonts/encode-sans-expanded/EncodeSansExpanded-Medium.woff2") format("woff2");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Encode Sans Expanded";
  src: url("../fonts/encode-sans-expanded/EncodeSansExpanded-SemiBold.woff2") format("woff2");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Encode Sans Expanded";
  src: url("../fonts/encode-sans-expanded/EncodeSansExpanded-Bold.woff2") format("woff2");
  font-weight: 700; font-display: swap;
}

/* ----- Tokens -------------------------------------------------------------- */
:root {
  --green-900: #163f31;
  --green-700: #225745;   /* primary */
  --green-500: #00B172;
  --teal-400:  #1BCFA8;
  --orange:    #FFA82B;   /* CTA */
  --orange-600:#e8931a;
  --yellow:    #FFEE4C;
  --paper:     #EFFFFE;

  --ink:       #14231d;
  --ink-soft:  #40514a;
  --line:      #dbe7e2;
  --white:     #ffffff;
  --bg:        #f6fbf9;

  /* Brand face is Encode Sans Expanded. It is a display width — beautiful in a
     headline, tiring in a paragraph — so long-form copy uses its normal-width
     sibling from the same superfamily. Same typeface, correct width for the job. */
  --font-display: "Encode Sans Expanded", "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
  --font: "Encode Sans", "Encode Sans Expanded", "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --gap: clamp(1.15rem, 4vw, 2rem);
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(22, 63, 49, .06), 0 2px 8px rgba(22, 63, 49, .06);
  --shadow-md: 0 4px 12px rgba(22, 63, 49, .10), 0 12px 32px rgba(22, 63, 49, .10);

  --section-y: clamp(3rem, 8vw, 6rem);
}

/* ----- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;         /* 17px — comfortably above the 16px floor */
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;          /* safety net — no horizontal scroll at any width */
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700; line-height: 1.12; margin: 0 0 .5em;
  color: var(--green-900); letter-spacing: -0.022em;
  overflow-wrap: break-word; text-wrap: balance;
}
h1 { font-size: clamp(1.6rem, 5.4vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.4rem, 4.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-500); }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; border-radius: 4px; }

/* ----- Layout helpers -------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gap); }
.section { position: relative; padding-block: var(--section-y); }

/* plain white — clean counterpoint to the tinted, textured bands.
   Cards inside take the pale brand tint so they still read as cards. */
.section--white { background: #fff; }
.section--white .focus,
.section--white .card,
.section--white .person { background: linear-gradient(180deg, #fff, var(--paper)); }
.section--white .focus:hover,
.section--white .card--link:hover,
.section--white .person:hover { background: #fff; }

/* tinted sections carry a faint dot grid and a soft brand glow */
.section--tint { background: var(--paper); overflow: hidden; }
.section--tint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 26px 26px; color: var(--green-700); opacity: .045;
}
.section--tint::after {
  content: ""; position: absolute; pointer-events: none;
  width: 46rem; height: 46rem; right: -16rem; top: -20rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,207,168,.16), transparent 68%);
}
.section--tint > .wrap { position: relative; z-index: 1; }

.section--green {
  background:
    radial-gradient(90% 120% at 12% 0%, #2a6b55 0%, transparent 62%),
    var(--green-700);
  color: #dff3ec; overflow: hidden;
}
.section--green::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 30px 30px; opacity: .05;
}
.section--green > .wrap { position: relative; z-index: 1; }
.section--green h2, .section--green h3 { color: #fff; }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
/* eyebrow with a small burnt-orange rule, echoing the hero */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-display);
  font-size: .76rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green-500); margin: 0 0 .85rem;
}
.eyebrow::before {
  content: ""; display: block; height: 2px; width: 30px;
  background: var(--orange); border-radius: 2px; flex: 0 0 auto;
}
.center > .eyebrow, .eyebrow.center { justify-content: center; }
.section--green .eyebrow { color: var(--teal-400); }

.lede { font-size: clamp(1.08rem, 2.4vw, 1.28rem); line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }
.section-head { max-width: min(64ch, 100%); margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }

/* ----- Buttons -------------------------------------------------------------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font-family: var(--font-display); font-size: .95rem; font-weight: 700; letter-spacing: .005em;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  text-decoration: none;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
/* a light sweep on hover */
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.42) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn--primary {
  background: linear-gradient(135deg, #FFBB55 0%, var(--orange) 55%, #f09b18 100%);
  color: #3a2600; box-shadow: 0 4px 14px rgba(255,168,43,.34);
}
.btn--primary:hover { background: var(--orange-600); color: #3a2600; box-shadow: 0 8px 22px rgba(255,168,43,.42); }
.btn--green { background: var(--green-700); color: #fff; }
.btn--green:hover { background: var(--green-900); color: #fff; }
.btn--outline { background: transparent; border-color: currentColor; color: var(--green-700); }
.section--green .btn--outline, .hero .btn--outline { color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.12); }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff; }
.btn--lg { min-height: 54px; padding: .9rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ----- Header / nav ------------------------------------------------------------ */
.topbar {
  background: var(--green-900); color: #bfe6db; font-size: .82rem;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; padding-block: .4rem; align-items: center; }
.topbar a { color: #d7f0e9; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__spacer { margin-left: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; text-decoration: none; }
.brand__mark { height: 52px; width: auto; }

/* Wordmark beside the lock-up, set in the brand display face.
   Hidden where the row is genuinely tight (see the breakpoints below) so the
   nav never wraps — the logo alone still carries the identity there. */
.brand__word {
  display: none;
  padding-left: .85rem;
  line-height: 1.12;
  position: relative;
}
/* gradient hairline separating the mark from the wordmark */
.brand__word::before {
  content: ""; position: absolute; left: 0; top: 6%; bottom: 6%; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--green-500), var(--teal-400) 55%, var(--orange));
}
.brand__word-name {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 800; letter-spacing: -0.028em;
  color: var(--green-900); white-space: nowrap;
}
.brand__word-sub {
  display: block; margin-top: .18rem;
  font-family: var(--font-display);
  font-size: .66rem; font-weight: 700; letter-spacing: .185em; text-transform: uppercase;
  color: var(--green-500); white-space: nowrap;
}
/* Room exists once past the narrowest phones… */
@media (min-width: 520px) { .brand__word { display: block; } }
.brand__fallback { font-weight: 700; color: var(--green-700); line-height: 1.1; font-size: .95rem; }

.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; border-radius: 10px;
  background: var(--green-700); color: #fff; cursor: pointer; flex-shrink: 0;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Closed state also sets visibility so a short viewport can never let the
   panel peek out from behind the header, and it leaves the a11y tree. */
.primary-nav { position: fixed; inset: 74px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
  transform: translateY(-120%); visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
  max-height: calc(100vh - 74px); overflow-y: auto; }
.primary-nav.is-open { transform: translateY(0); visibility: visible; transition-delay: 0s; }
.primary-nav ul { list-style: none; margin: 0; padding: .5rem var(--gap) 1.5rem; }
.primary-nav > ul > li { border-bottom: 1px solid var(--line); }
.primary-nav a { display: block; padding: .9rem .25rem; font-weight: 600; color: var(--green-900); text-decoration: none; min-height: 48px; }
.primary-nav a[aria-current="page"] { color: var(--green-500); }
.primary-nav .has-sub > .sub { padding: 0 0 .75rem .9rem; }
.primary-nav .sub a { font-weight: 500; color: var(--ink-soft); padding: .55rem .25rem; }
.primary-nav .nav-cta { margin-top: 1rem; }

/* ----- Hero --------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background:
    radial-gradient(120% 90% at 15% 0%, #1d4f3f 0%, transparent 60%),
    radial-gradient(90% 80% at 90% 100%, #12362a 0%, transparent 55%),
    var(--green-900);
}

/* decorative layer — sits above the photograph, below the copy */
.hero__deco { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }

/* drifting brand light */
.hero__orb {
  position: absolute; border-radius: 50%; filter: blur(80px); mix-blend-mode: screen;
  will-change: transform; animation: heroDrift 26s ease-in-out infinite alternate;
}
.hero__orb--a { width: 52vw; height: 52vw; left: -14%; top: -20%; background: var(--green-500); opacity: .34; }
.hero__orb--b { width: 34vw; height: 34vw; right: 8%; bottom: -16%; background: var(--teal-400); opacity: .26;
                animation-duration: 34s; animation-delay: -8s; }
@keyframes heroDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6%, -7%, 0) scale(1.18); }
}

/* slow-turning sunburst echoing the AM3C roundel — sits high right, in the sky,
   masked so it reads as light rather than as stripes across the photograph */
.hero__rays {
  position: absolute; right: -26%; top: -62%; width: min(680px, 92vw); aspect-ratio: 1;
  opacity: .8;
}
.hero__rays rect { fill: var(--yellow); }
.hero__rays-spin { transform-origin: 300px 300px; animation: heroSpin 120s linear infinite; }
.hero__rays-ring { fill: none; stroke: var(--teal-400); stroke-width: 1.5; opacity: .35;
  transform-origin: 300px 300px; animation: heroPulse 9s ease-in-out infinite; }
.hero__rays-ring--slow { stroke: var(--yellow); opacity: .22; animation-duration: 13s; animation-delay: -3s; }
@keyframes heroSpin { to { transform: rotate(360deg); } }
@keyframes heroPulse { 0%, 100% { transform: scale(1); opacity: .3; } 50% { transform: scale(1.06); opacity: .12; } }

.hero__track {
  position: relative; z-index: 1;
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; max-width: 100%;
}
.hero__track::-webkit-scrollbar { display: none; }

.hero__slide {
  position: relative; flex: 0 0 auto; width: 100%; scroll-snap-align: start;
  min-height: 520px; display: flex; align-items: center;
}

/* image frame — the Ken Burns drift lives here so the scrim stays still */
.hero__frame { position: absolute; inset: 0; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
  transform: scale(1.06); will-change: transform;
}
.hero--anim .hero__slide.is-active .hero__bg { animation: heroKen 24s ease-out forwards; }
@keyframes heroKen {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.18) translate3d(-2%, -1.5%, 0); }
}

/* scrim — even on small screens, side-fading on wide ones (media query below) */
.hero__slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(22,63,49,.86) 0%, rgba(22,63,49,.80) 45%, rgba(22,63,49,.94) 100%);
}

/* bottom padding leaves room for the slide indicators */
.hero__inner {
  position: relative; z-index: 3;
  padding-top: clamp(2.75rem, 8vw, 5.5rem);
  padding-bottom: clamp(3.75rem, 8vw, 5.5rem);
}
.hero__slide h1 { color: #fff; max-width: 22ch; font-size: clamp(1.35rem, 5.6vw, 3.2rem); hyphens: auto; }
.hero__sub { color: #d7f0e9; max-width: 46ch; font-size: clamp(1rem, 2.6vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* eyebrow with a rule that draws itself in */
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 .9rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-400);
}
.hero__eyebrow span { display: block; height: 2px; width: 34px; background: var(--orange); border-radius: 2px;
  transform-origin: left; }
.hero--anim .hero__slide.is-active .hero__eyebrow span {
  animation: heroRule .9s cubic-bezier(.2,.7,.3,1) both; animation-delay: calc(var(--d) + .25s);
}
@keyframes heroRule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Staggered entrance for the active slide's copy.
   Everything below is additive: it only applies once the inline bootstrap has
   added .hero--anim, so with JS blocked or still parsing the hero renders
   complete and readable rather than empty. */
.hero--anim .hero__eyebrow,
.hero--anim .hero__slide h1,
.hero--anim .hero__sub,
.hero--anim .hero__actions,
.hero--anim .hero__facts,
.hero--anim .hero__countdown { opacity: 0; }

.hero--anim .hero__slide.is-active .hero__eyebrow,
.hero--anim .hero__slide.is-active h1,
.hero--anim .hero__slide.is-active .hero__sub,
.hero--anim .hero__slide.is-active .hero__actions,
.hero--anim .hero__slide.is-active .hero__facts,
.hero--anim .hero__slide.is-active .hero__countdown {
  animation: heroRise .85s cubic-bezier(.2,.7,.3,1) both;
  animation-delay: var(--d, 0s);
}
@keyframes heroRise {
  from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* key-figure chips */
.hero__facts { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.75rem 0 0; }
.hero__facts li {
  display: flex; align-items: baseline; gap: .45rem;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: .4rem .95rem; backdrop-filter: blur(6px);
}
.hero__facts b { font-size: 1.15rem; color: var(--yellow); }
.hero__facts span { font-size: .8rem; color: #cfeae1; }
/* On the narrowest screens each chip takes a full row — keep the hero tight. */
@media (max-width: 560px) { .hero__facts li:nth-child(n+3) { display: none; } }

/* countdown chips on the conference slide */
.hero__countdown { display: flex; gap: .6rem; margin-top: 1.75rem; }
.hero__countdown div {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: .5rem .85rem; text-align: center; min-width: 66px; backdrop-filter: blur(6px);
}
.hero__countdown b { display: block; font-size: 1.35rem; color: #fff; line-height: 1.1; }
.hero__countdown small { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-400); }

/* progress-bar slide indicators */
.hero__dots {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 1.6rem;
  display: flex; gap: .6rem; justify-content: center;
}
.hero__dot {
  width: 46px; height: 4px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.28); overflow: hidden; position: relative;
}
.hero__dot::before { content: ""; position: absolute; inset: -22px 0; }  /* 48px tap target */
/* Without JS the selected dot simply reads as a solid bar. */
.hero__dot i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 999px; }
.hero__dot[aria-selected="true"] i { width: 100%; }
.hero--anim .hero__dot[aria-selected="true"] i { width: 0; animation: heroProgress var(--hero-interval, 7s) linear forwards; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

/* A single brand rule closes the hero — a straight, institutional edge rather
   than a decorative divider. Static: nothing moves down here. */
.hero::after {
  content: ""; position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg,
    var(--green-500) 0%, var(--teal-400) 38%, var(--yellow) 68%, var(--orange) 100%);
}

/* ----- Video ------------------------------------------------------------------- */
.video-block { background: var(--paper); }

/* 3/2 split: the convocation message beside the Centre's figures */
.split { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
.split__title { font-size: clamp(1.25rem, 3vw, 1.85rem); margin-bottom: 1.35rem; }
.split__note { font-size: .95rem; margin: 1.1rem 0 0; }
.split__side-title { font-size: clamp(1.2rem, 2.6vw, 1.6rem); margin-bottom: .35rem; }
.split__side-note { font-size: .9rem; margin-bottom: 1.35rem; }

/* the side column sticks alongside the video on tall screens */
@media (min-width: 900px) {
  .split { grid-template-columns: 3fr 2fr; }
  .split__side { position: sticky; top: 6rem; }
}
.video-facade { position: relative; width: 100%; max-width: 900px; margin: 0; aspect-ratio: 16 / 9;
  border-radius: 18px; overflow: hidden; cursor: pointer; background: #06251c; box-shadow: var(--shadow-md);
  transition: box-shadow .3s ease, transform .3s cubic-bezier(.2,.7,.3,1); }
.video-facade:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(22,63,49,.24); }
.video-facade:hover .video-facade__play span { transform: scale(1.08); }
.video-facade__play span { transition: transform .3s cubic-bezier(.2,.7,.3,1); }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.video-facade__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-facade__play span { width: 76px; height: 76px; border-radius: 999px; background: var(--orange); color: #3a2600;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }
.video-facade__play svg { width: 30px; height: 30px; }
.video-block iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); max-width: 900px; margin: 1.5rem auto 0; display: block; }
.video-caption { color: var(--ink-soft); font-size: .87rem; margin: .85rem 0 0; }

/* ----- Stats strip ------------------------------------------------------------ */
/* Figures as a stacked list of cards, sitting beside the video */
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.stat-row {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 1.05rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: .95rem 1.15rem;
  transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s ease, border-color .26s ease;
}
/* brand spine, grows on hover */
.stat-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--green-500), var(--teal-400));
  transform: scaleY(.4); transform-origin: center;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), background .3s ease;
}
.stat-row:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: #c6ded6; }
.stat-row:hover::before { transform: scaleY(1); background: linear-gradient(180deg, var(--orange), #ffd27a); }
.stat-row__figure {
  /* fixed column so every label starts on the same line, whatever the digits */
  flex: 0 0 4.25rem; text-align: right;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.15rem); font-weight: 800; line-height: 1;
  letter-spacing: -0.045em;
  background: linear-gradient(135deg, var(--green-700) 10%, var(--green-500) 70%, var(--teal-400) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--green-700);
}
.stat-row__label { font-size: .86rem; line-height: 1.4; color: var(--ink-soft); }

/* While the split is stacked, two figures per row read better than one long list. */
@media (min-width: 620px) and (max-width: 899px) {
  .stat-list { grid-template-columns: 1fr 1fr; }
  .stat-list > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ----- Cards ----------------------------------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.card {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
/* a brand hairline that wipes in across the top on hover */
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--green-500), var(--teal-400), var(--orange));
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.card:hover::before { transform: scaleX(1); }

.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.card:hover .card__media img { transform: scale(1.06); }
/* gradient foot on the image so an overlaid pill always reads */
.card__media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(to top, rgba(22,63,49,.55), transparent);
  opacity: 0; transition: opacity .35s ease;
}
.card:hover .card__media::after { opacity: 1; }

/* category pill floating on the image */
.card__pill {
  position: absolute; left: .85rem; bottom: .85rem; z-index: 1;
  font-family: var(--font-display); font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: #3a2600; background: var(--orange);
  border-radius: 999px; padding: .3rem .8rem;
  box-shadow: 0 3px 10px rgba(22,63,49,.28);
}

.card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__meta {
  font-family: var(--font-display);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--green-500); font-weight: 700;
}
.card__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.3;
  letter-spacing: -0.015em; color: var(--green-900); }
.card__title a { text-decoration: none; color: inherit; }
.card__title a:hover { color: var(--green-500); }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #c6ded6; }
/* the "Read more" arrow slides on hover */
.card--link .focus__more svg, .card--link .focus__more::after { transition: transform .3s ease; }
.card--link:hover .focus__more { color: var(--orange-600); }

/* person / speaker cards */
.person {
  position: relative; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 1.75rem 1rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c6ded6; }
/* portrait sits in a soft brand halo */
.person__photo {
  width: 116px; height: 116px; border-radius: 999px; object-fit: cover;
  margin: 0 auto .95rem; background: var(--paper);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px rgba(0,177,114,.28), 0 8px 18px rgba(22,63,49,.14);
  transition: box-shadow .3s ease, transform .3s ease;
}
.person:hover .person__photo {
  transform: scale(1.04);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--orange), 0 10px 22px rgba(22,63,49,.20);
}
.person__name { font-family: var(--font-display); font-weight: 700; color: var(--green-900);
  font-size: 1.02rem; line-height: 1.3; letter-spacing: -0.015em; }
.person__role { font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }
.person__tag {
  display: inline-block; margin-top: .6rem; font-family: var(--font-display);
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--green-700); background: linear-gradient(135deg, var(--paper), #ddf4ec);
  border: 1px solid #cbe9de; border-radius: 999px; padding: .22rem .75rem;
}

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font-size: .85rem; color: var(--green-900); }

/* ----- Focus areas --------------------------------------------------------- */
.focus {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.75rem 1.6rem; text-decoration: none; color: inherit; display: block;
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
/* brand spine down the left edge, growing on hover */
.focus::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--green-500), var(--teal-400));
  transform: scaleY(.35); transform-origin: top;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), background .3s ease;
}
/* a soft brand wash that blooms from the corner */
.focus::after {
  content: ""; position: absolute; right: -5rem; top: -5rem; width: 14rem; height: 14rem;
  border-radius: 50%; background: radial-gradient(circle, rgba(27,207,168,.20), transparent 68%);
  opacity: 0; transition: opacity .4s ease, transform .5s ease; transform: scale(.7);
}
.focus:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c6ded6; }
.focus:hover::before { transform: scaleY(1); background: linear-gradient(180deg, var(--orange), #ffd27a); }
.focus:hover::after { opacity: 1; transform: scale(1); }
.focus > * { position: relative; z-index: 1; }
/* Keep the heading clear of the index numeral: the numeral sits 1.1rem from the
   right and is roughly 3.5rem wide, so the heading must reserve both. */
.focus h3 { margin-bottom: .4rem; padding-right: 4.9rem; }
.focus p { margin: 0; color: var(--ink-soft); font-size: .93rem; line-height: 1.6; }
.focus__more {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem;
  font-family: var(--font-display); font-weight: 700; color: var(--green-700); font-size: .82rem;
  letter-spacing: .04em; transition: gap .25s ease, color .25s ease;
}
.focus:hover .focus__more, .card--link:hover .focus__more { gap: .75rem; color: var(--orange-600); }

/* optional index numeral on a focal-area card */
.focus__index {
  position: absolute; right: 1.1rem; top: .6rem; z-index: 0;
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: 1;
  color: var(--green-700); opacity: .07; letter-spacing: -0.05em;
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.3,1);
}
.focus:hover .focus__index { opacity: .14; transform: translateY(-3px); }

/* ----- Cards on the dark green ground -------------------------------------
   Glass panels rather than white boxes: they sit in the band instead of
   punching holes through it. */
.section--green .focus {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.section--green .focus::after {
  background: radial-gradient(circle, rgba(27,207,168,.30), transparent 68%);
}
.section--green .focus:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .30);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}
.section--green .focus h3 { color: #fff; }
.section--green .focus p { color: #cfeae1; }
.section--green .focus__index { color: #fff; opacity: .12; }
.section--green .focus:hover .focus__index { opacity: .2; }
.section--green .focus__more { color: var(--teal-400); }
.section--green .focus:hover .focus__more { color: var(--yellow); }
.section--green .muted { color: #bfe6db; }

/* ----- Figure strip (Academy) --------------------------------------------------- */
.figure-strip { background: var(--green-900); color: #fff; }
.figure-row {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid rgba(255,255,255,.12);
}
@media (min-width: 780px) { .figure-row { grid-template-columns: repeat(4, 1fr); } }
.figure-row li {
  padding: 1.5rem 1.25rem; border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (min-width: 780px) { .figure-row li { border-bottom: 0; } }
.figure-row b {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; line-height: 1;
  letter-spacing: -0.04em; color: var(--yellow); margin-bottom: .4rem;
}
.figure-row span { font-size: .82rem; line-height: 1.45; color: #cfeae1; }

/* ----- Nav cards (section index) ------------------------------------------------ */
.nav-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: .6rem;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.nav-card::after {
  content: ""; position: absolute; right: -4rem; top: -4rem; width: 11rem; height: 11rem;
  border-radius: 50%; background: radial-gradient(circle, rgba(27,207,168,.20), transparent 68%);
  opacity: 0; transform: scale(.7); transition: opacity .4s ease, transform .5s ease;
}
.nav-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c6ded6; }
.nav-card:hover::after { opacity: 1; transform: scale(1); }
.nav-card > * { position: relative; z-index: 1; }
.nav-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: .35rem;
  background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: #fff;
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.nav-card__icon svg { width: 22px; height: 22px; }
.nav-card:hover .nav-card__icon { transform: scale(1.08) rotate(-4deg); }
.nav-card__title { margin: 0; font-size: 1.1rem; }
.nav-card__desc { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--ink-soft); }
.nav-card__foot {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.nav-card__meta {
  font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--green-500);
}
.nav-card__go { font-size: 1.15rem; color: var(--green-500); transition: transform .25s ease, color .25s ease; }
.nav-card:hover .nav-card__go { transform: translateX(4px); color: var(--orange-600); }

/* ----- Feature story (news lead) --------------------------------------------- */
.feature-story {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.feature-story:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c6ded6; }
.feature-story__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.feature-story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.feature-story:hover .feature-story__media img { transform: scale(1.05); }
.feature-story__body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: .7rem; }
.feature-story__title { font-size: clamp(1.3rem, 2.8vw, 1.9rem); margin: 0; }
.feature-story__excerpt { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.feature-story__meta { font-size: .82rem; color: var(--green-500); font-weight: 600; }
.feature-story .focus__more { margin-top: auto; padding-top: .5rem; }
@media (min-width: 880px) {
  .feature-story { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
  .feature-story__media { aspect-ratio: auto; height: 100%; min-height: 340px; }
  .feature-story__body { justify-content: center; }
}

/* ----- Event cards ------------------------------------------------------------ */
.event-card {
  display: flex; align-items: center; gap: 1.15rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.1rem 1.35rem; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s ease, border-color .26s ease;
}
.event-card:hover { transform: translateX(5px); box-shadow: var(--shadow-md); border-color: #c6ded6; }
.section--green .event-card {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16);
  backdrop-filter: blur(6px); box-shadow: none; color: #fff;
}
.section--green .event-card:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); }

.date-block {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 74px; padding: .6rem .5rem; border-radius: 12px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: #fff; text-align: center;
}
.date-block b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.date-block small { font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; opacity: .9; }

.event-card__body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.event-card__title { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.3; color: var(--green-900); }
.section--green .event-card__title { color: #fff; }
.event-card__venue { font-size: .85rem; color: var(--ink-soft); }
.section--green .event-card__venue { color: #cfeae1; }
.event-card__fee { font-size: .78rem; color: var(--green-500); font-weight: 600; }
.section--green .event-card__fee { color: var(--yellow); }
.event-card__go { margin-left: auto; flex: 0 0 auto; font-size: 1.2rem; color: var(--green-500); transition: transform .25s ease; }
.event-card:hover .event-card__go { transform: translateX(4px); }
.event-card--past { opacity: .78; }
.event-card--past .date-block { background: linear-gradient(135deg, #7d9990, #a8bfb7); }

/* ----- Cohort panel (Our Students) --------------------------------------------- */
.cohort-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.cohort-panel__total {
  display: flex; flex-direction: column; margin-bottom: 1.15rem;
  font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--green-700) 10%, var(--green-500) 70%, var(--teal-400) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--green-700);
}
.cohort-panel__total small {
  margin-top: .35rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  -webkit-text-fill-color: var(--ink-soft); color: var(--ink-soft);
}
.cohort-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--paper); }
.cohort-bar__phd { background: linear-gradient(90deg, var(--green-700), var(--green-500)); }
.cohort-bar__msc { background: linear-gradient(90deg, var(--teal-400), #8fe6d0); }
.cohort-key { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .87rem; color: var(--ink-soft); }
.cohort-key li { display: flex; align-items: center; gap: .45rem; }
.cohort-key b { font-family: var(--font-display); font-weight: 800; color: var(--green-900); }
.cohort-key__dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.cohort-key__dot--phd { background: var(--green-500); }
.cohort-key__dot--msc { background: var(--teal-400); }

/* ----- Filter pills ------------------------------------------------------------ */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filter-pill {
  min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-size: .82rem; font-weight: 700;
  background: #fff; color: var(--green-900); border: 1px solid var(--line);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.filter-pill:hover { border-color: var(--green-500); transform: translateY(-2px); }
.filter-pill[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff; border-color: transparent;
}
.student-research { font-size: .82rem; line-height: 1.5; color: var(--ink-soft); margin: .6rem 0 0; }

/* ----- Empty states ------------------------------------------------------------- */
.empty-state {
  text-align: center; max-width: 46rem; margin-inline: auto;
  background: #fff; border: 1px dashed #bcd9cf; border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.5rem);
}
.empty-state--inline { border-style: solid; border-color: var(--line); box-shadow: var(--shadow-sm); }
.empty-state__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 18px; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: #fff;
}
.empty-state__icon svg { width: 28px; height: 28px; }
.empty-state h2, .empty-state h3 { margin-bottom: .6rem; }
.empty-state p { margin-inline: auto; max-width: 52ch; }
.empty-state .btn { margin-top: .9rem; }

/* ----- Social band ----------------------------------------------------------- */
.social-band {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  background:
    radial-gradient(110% 100% at 8% 0%, #24604c 0%, transparent 60%),
    radial-gradient(90% 90% at 95% 100%, #10312648 0%, transparent 55%),
    var(--green-900);
}
.social-band::before {                       /* the same fine dot texture */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 30px 30px; opacity: .05;
}
.social-band__deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.social-band__orb {
  position: absolute; border-radius: 50%; filter: blur(70px); mix-blend-mode: screen;
}
.social-band__orb--a { width: 32vw; height: 32vw; left: -8%; top: -50%; background: var(--green-500); opacity: .3; }
.social-band__orb--b { width: 26vw; height: 26vw; right: 2%; bottom: -55%; background: var(--teal-400); opacity: .24; }

.social-band__inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center;
}
@media (min-width: 900px) { .social-band__inner { grid-template-columns: 1fr auto; } }

.social-band__copy h2 { color: #fff; margin-bottom: .5rem; }
.social-band .eyebrow { color: var(--teal-400); }
.social-band__note { margin: 0 0 1.15rem; max-width: 44ch; color: #cfeae1; font-size: .97rem; line-height: 1.6; }
.social-band__handle {
  display: inline-block; margin-top: .45rem;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; color: var(--yellow);
}
.social-band__mail {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .92rem; font-weight: 600; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: .55rem 1.1rem; min-height: 44px;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.social-band__mail svg { width: 18px; height: 18px; display: block; }
.social-band__mail:hover {
  background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.34);
  transform: translateY(-2px); color: #fff;
}

/* tiles */
.social-tiles {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem;
}
@media (min-width: 560px) { .social-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .social-tiles { display: flex; flex-wrap: wrap; } }

.social-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem;
  min-height: 104px; padding: 1rem .75rem; width: 100%;
  border-radius: 18px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), background .3s ease,
              border-color .3s ease, box-shadow .3s ease;
}
@media (min-width: 900px) { .social-tile { width: 116px; } }

/* platform colour blooms up from the foot on hover */
.social-tile::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 100%;
  background: var(--tile, var(--green-500));
  opacity: 0; transform: translateY(60%); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.3,1);
}
.social-tile:hover, .social-tile:focus-visible {
  transform: translateY(-6px); border-color: rgba(255,255,255,.42);
  box-shadow: 0 14px 30px rgba(0,0,0,.28); color: #fff;
}
.social-tile:hover::before, .social-tile:focus-visible::before { opacity: .9; transform: translateY(0); }
.social-tile > * { position: relative; z-index: 1; }

.social-tile__icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.12);
  transition: background .3s ease, transform .35s cubic-bezier(.2,.7,.3,1);
}
.social-tile__icon svg { width: 20px; height: 20px; display: block; }
.social-tile:hover .social-tile__icon { background: rgba(255,255,255,.22); transform: scale(1.08); }
.social-tile__label {
  font-family: var(--font-display); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}

/* brand accents */
.social-tile--facebook  { --tile: #1877F2; }
.social-tile--x         { --tile: #1a1a1a; }
.social-tile--linkedin  { --tile: #0A66C2; }
.social-tile--youtube   { --tile: #FF0033; }
.social-tile--instagram { --tile: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }

/* ----- Footer -------------------------------------------------------------- */
.site-footer { background: var(--green-900); color: #b9ddd2; font-size: .92rem; }
.site-footer .wrap { padding-block: clamp(2.5rem, 6vw, 4rem); }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .8rem; }
.site-footer a { color: #d7f0e9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .82rem; color: #8fc4b7; }

/* ----- Breadcrumbs -------------------------------------------------------------- */
.crumbs { font-size: .85rem; color: var(--ink-soft); padding-block: 1rem; }
.crumbs a { color: var(--green-700); text-decoration: none; }
.crumbs span[aria-current] { color: var(--ink); }

/* ----- Page hero (interior pages) ------------------------------------------ */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding-block: clamp(2.25rem, 6vw, 4.25rem);
  background:
    radial-gradient(120% 100% at 12% 0%, #245c4a 0%, transparent 62%),
    radial-gradient(90% 90% at 92% 100%, #12362a 0%, transparent 58%),
    var(--green-900);
}
/* same brand rule that closes the home hero */
.page-hero::after {
  content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg,
    var(--green-500) 0%, var(--teal-400) 38%, var(--yellow) 68%, var(--orange) 100%);
}
.page-hero__deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.page-hero__orb {
  position: absolute; left: -10%; top: -60%; width: 40vw; height: 40vw; border-radius: 50%;
  background: var(--green-500); opacity: .3; filter: blur(80px); mix-blend-mode: screen;
}
.page-hero__rays {
  position: absolute; right: -14%; top: -76%; width: min(560px, 78vw); aspect-ratio: 1;
  opacity: .22;                 /* texture, not stripes */
}
.page-hero__rays rect { fill: var(--yellow); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .35rem; }
.page-hero .eyebrow { color: var(--teal-400); }
.page-hero__lede {
  margin: .75rem 0 0; max-width: 58ch;
  font-size: clamp(1rem, 2.2vw, 1.15rem); line-height: 1.6; color: #d7f0e9;
}
.crumbs--onDark { padding-top: 0; color: #a9d6c8; }
.crumbs--onDark a { color: #d7f0e9; }
.crumbs--onDark a:hover { color: #fff; }
.crumbs--onDark span[aria-current] { color: #fff; }

/* ----- Side panel (interior pages) ------------------------------------------ */
.side-panel {
  margin-top: 1.75rem; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 1.25rem; box-shadow: var(--shadow-sm);
}
.side-panel__title {
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .13em; color: var(--green-500); margin-bottom: .85rem;
}
.side-link {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .7rem 0; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--green-900); text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}
.side-link:first-of-type { border-top: 0; }
a.side-link:hover { color: var(--orange-600); padding-left: .3rem; }
.side-link--pending { color: var(--ink-soft); }
.side-link--pending em { font-size: .75rem; font-style: normal; color: var(--green-500); white-space: nowrap; }

/* ----- Fact panel (side column) --------------------------------------------- */
.fact-panel {
  margin-top: 1.5rem; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 1.35rem; box-shadow: var(--shadow-sm);
}
.section--green .fact-panel {
  background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16);
  backdrop-filter: blur(6px); box-shadow: none;
}
.section--green .fact-panel .side-panel__title { color: var(--teal-400); }
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li { display: flex; gap: .9rem; align-items: baseline; padding: .6rem 0; border-top: 1px solid var(--line); }
.fact-list li:first-child { border-top: 0; }
.section--green .fact-list li { border-color: rgba(255,255,255,.14); }
.fact-list b {
  flex: 0 0 6.5rem; font-family: var(--font-display); font-weight: 800;
  font-size: .95rem; letter-spacing: -0.02em; color: var(--green-700);
}
.section--green .fact-list b { color: var(--yellow); }
.fact-list span { font-size: .88rem; line-height: 1.45; color: var(--ink-soft); }
.section--green .fact-list span { color: #cfeae1; }
.fact-list--plain li { display: block; }
.fact-list--plain span { display: block; }

/* ----- Officers (board page) ---------------------------------------------------- */
.officer-list { display: grid; gap: .85rem; margin-top: 1.25rem; }
.officer {
  display: flex; align-items: center; gap: 1.1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm);
  transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s ease, border-color .26s ease;
}
.officer:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: #c6ded6; }
.officer__photo {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  background: var(--paper); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px rgba(0,177,114,.3);
}
.officer__body { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.officer__role {
  font-family: var(--font-display); font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--orange-600);
}
.officer__name { font-family: var(--font-display); font-size: 1.02rem; color: var(--green-900); line-height: 1.25; }
.officer__title { font-size: .87rem; line-height: 1.45; color: var(--ink-soft); }

.panel-prose { font-size: .9rem; line-height: 1.6; color: var(--ink-soft); }
.panel-prose p { margin: 0 0 .7rem; }
.panel-prose p:last-child { margin-bottom: 0; }
.panel-note { margin: 0; font-size: .87rem; line-height: 1.55; color: var(--ink-soft); }

/* ----- Timeline (meeting record) ------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.65rem; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: .5rem; bottom: .5rem; width: 2px;
  background: linear-gradient(180deg, var(--green-500), var(--teal-400), transparent);
}
.timeline__item { position: relative; padding-bottom: 1.5rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker {
  position: absolute; left: -1.65rem; top: .35rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green-500); box-shadow: 0 0 0 4px rgba(0,177,114,.18);
}
.timeline__item--pending .timeline__marker { background: #b7cdc5; box-shadow: 0 0 0 4px rgba(183,205,197,.28); }
.timeline__body {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1.05rem 1.25rem; box-shadow: var(--shadow-sm);
}
.timeline__date { display: block; font-family: var(--font-display); font-weight: 700; color: var(--green-900); font-size: .98rem; }
.timeline__place { display: block; font-size: .82rem; color: var(--green-500); font-weight: 600; margin-top: .1rem; }
.timeline__summary { margin: .55rem 0 0; font-size: .9rem; line-height: 1.6; color: var(--ink-soft); }
.timeline__item--pending .timeline__body { border-style: dashed; box-shadow: none; }

/* ----- Board cards (governance index) --------------------------------------- */
.board-card {
  position: relative; display: flex; flex-direction: column; gap: .65rem;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.board-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, var(--green-500), var(--teal-400));
  transform: scaleY(.35); transform-origin: top;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), background .3s ease;
}
.board-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c6ded6; }
.board-card:hover::before { transform: scaleY(1); background: linear-gradient(180deg, var(--orange), #ffd27a); }
.board-card__count {
  align-self: flex-start; display: inline-flex; align-items: baseline; gap: .35rem;
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; line-height: 1;
  letter-spacing: -0.04em; color: var(--green-700);
}
.board-card__count small { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--green-500); }
.board-card__title { font-size: 1.2rem; margin: 0; }
.board-card__desc { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
.board-card__chair {
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--line);
}
.board-card__chair img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #fff; }
.board-card__chair b { display: block; font-size: .87rem; color: var(--green-900); }
.board-card__chair em { display: block; font-style: normal; font-size: .74rem; color: var(--green-500); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.board-card__foot {
  margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between;
  font-size: .8rem; color: var(--ink-soft);
}
.board-card:hover .focus__more { gap: .75rem; color: var(--orange-600); }

/* ----- Info cards (contact) --------------------------------------------------- */
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c6ded6; }
.info-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: #fff;
}
.info-card__icon svg { width: 22px; height: 22px; }
.info-card__title { font-size: 1.05rem; margin-bottom: .75rem; }
.info-card__row { margin: 0 0 .7rem; font-size: .92rem; }
.info-card__row a { font-weight: 600; text-decoration: none; }
.info-card__row a:hover { text-decoration: underline; }
.info-card__row span { display: block; font-size: .8rem; color: var(--ink-soft); }
.info-card__addr { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--ink-soft); }

/* ----- Forms ------------------------------------------------------------------ */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.map-band { line-height: 0; border-top: 4px solid var(--green-700); }

/* ----- Department cards ------------------------------------------------------- */
.dept-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.75rem 1.6rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .9rem;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.dept-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--green-500), var(--teal-400));
  transform: scaleY(.35); transform-origin: top;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), background .3s ease;
}
.dept-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c6ded6; }
.dept-card:hover::before { transform: scaleY(1); background: linear-gradient(180deg, var(--orange), #ffd27a); }
.dept-card__index {
  position: absolute; right: 1.1rem; top: .5rem;
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: 1;
  color: var(--green-700); opacity: .07; letter-spacing: -0.05em;
}
.dept-card__title { margin: 0; padding-right: 4.9rem; font-size: clamp(1.15rem, 2.4vw, 1.35rem); }
.dept-card__title a { color: inherit; text-decoration: none; }
.dept-card__title a:hover { color: var(--green-500); }
.chips--sm li { font-size: .78rem; padding: .25rem .7rem; }
.dept-card__foot {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem;
}
.pill-count {
  display: inline-flex; align-items: baseline; gap: .3rem;
  font-size: .76rem; font-weight: 600; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .22rem .7rem;
}
.pill-count b { font-family: var(--font-display); font-size: .95rem; font-weight: 800; color: var(--green-700); }
.dept-card__foot .focus__more { margin: 0 0 0 auto; }

/* ----- Programme groups + cards ------------------------------------------------ */
.prog-group__head { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-bottom: 1.75rem; }
.prog-group__head h2 { margin: 0; }
.prog-group__count {
  margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .85rem;
}
.level-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 3.2rem;
  font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .06em;
  border-radius: 999px; padding: .35rem .85rem; color: #fff;
}
.level-badge--msc { background: linear-gradient(135deg, var(--green-700), var(--green-500)); }
.level-badge--phd { background: linear-gradient(135deg, #14483a, var(--teal-400)); }

.prog-card {
  position: relative; display: flex; flex-direction: column; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.35rem; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.prog-card::before {
  content: ""; position: absolute; top: 0; left: 1.35rem; right: 1.35rem; height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--green-500), var(--teal-400), var(--orange));
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.prog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c6ded6; }
.prog-card:hover::before { transform: scaleX(1); }
.prog-card__level {
  align-self: flex-start; font-family: var(--font-display);
  font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--green-500);
}
.prog-card__title { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.prog-card__dept { margin: 0; font-size: .82rem; color: var(--ink-soft); }
.prog-card .focus__more { margin-top: auto; padding-top: .6rem; }

/* ----- Document download card (policy page) --------------------------------- */
.doc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); text-align: center;
}
.doc-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: #fff;
}
.doc-card__icon svg { width: 26px; height: 26px; }
.doc-card__title { margin-bottom: .25rem; font-size: 1.1rem; }
.doc-card__meta { margin: 0 0 1.15rem; font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--green-500); font-family: var(--font-display); }
.doc-card__pending { display: block; font-size: .88rem; line-height: 1.5; color: var(--ink-soft);
  background: var(--paper); border: 1px dashed #bcd9cf; border-radius: 12px; padding: .9rem; }

/* ----- Pipeline (numbered vertical flow) ----------------------------------- */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 720px) { .pipeline { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .pipeline { grid-template-columns: repeat(4, 1fr); } }
.pipeline__step {
  position: relative; padding: 2.5rem 1.4rem 1.5rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px; backdrop-filter: blur(6px);
}
.pipeline__num {
  position: absolute; top: -1.05rem; left: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #04231a;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.pipeline__step h3 { color: #fff; font-size: 1.05rem; margin-bottom: .45rem; }
.pipeline__step p { margin: 0; font-size: .9rem; line-height: 1.55; color: #cfeae1; }
/* connector arrows between steps on the wide layout */
@media (min-width: 1040px) {
  .pipeline__step:not(:last-child)::after {
    content: ""; position: absolute; right: -0.75rem; top: 50%; width: 1.5rem; height: 2px;
    background: rgba(255,255,255,.28);
  }
}

/* ----- LMS access panel --------------------------------------------------- */
.lms-access {
  display: grid; gap: 1.5rem; align-items: center;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: 22px; padding: clamp(1.75rem, 4vw, 3rem); color: #fff;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.lms-access::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 28px 28px; opacity: .05;
}
.lms-access > * { position: relative; z-index: 1; }
.lms-access .eyebrow { color: var(--teal-400); }
.lms-access__title { color: #fff; margin-bottom: .5rem; }
.lms-access__body p.muted { color: #cfeae1; margin-bottom: 1.35rem; max-width: 44ch; }
.lms-access__pending {
  display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; line-height: 1.5; color: #dff3ec;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: .9rem 1.1rem; max-width: 42ch;
}
.lms-access__pending svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: .1rem; }
.lms-access__art { color: var(--teal-400); justify-self: center; max-width: 240px; opacity: .9; }
.lms-access__art svg { width: 100%; height: auto; }
@media (min-width: 860px) {
  .lms-access { grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
  .lms-access__art { max-width: 260px; }
}
@media (max-width: 859px) { .lms-access__art { display: none; } }

/* ----- Steps (admissions) ------------------------------------------------------ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 2.4rem 1.6rem 1.6rem; box-shadow: var(--shadow-sm);
}
.step__num {
  position: absolute; top: -1.1rem; left: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  box-shadow: 0 6px 16px rgba(22,63,49,.22);
}
.step h3 { margin-bottom: .5rem; font-size: 1.08rem; }
.step p { margin: 0 0 .9rem; font-size: .93rem; line-height: 1.6; color: var(--ink-soft); }

/* ----- Career Hub -------------------------------------------------------------- */
.lead-card {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 1.75rem 1.25rem; box-shadow: var(--shadow-sm);
}
.lead-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--green-900); margin-top: .55rem; }
.lead-card__role { font-size: .88rem; color: var(--ink-soft); }
.portfolio { margin-bottom: 2.75rem; }
.portfolio:last-child { margin-bottom: 0; }
.portfolio__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.portfolio__head h3 { margin: 0; color: #fff; font-size: 1.05rem; }
.portfolio__rule { flex: 1; height: 1px; background: rgba(255,255,255,.18); }
.portfolio__pending { font-size: .9rem; }
.section--green .person {
  background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16);
  backdrop-filter: blur(6px); box-shadow: none;
}
.section--green .person:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.3); }
.section--green .person__name { color: #fff; }
.section--green .person__role { color: #cfeae1; }
.section--green .person__tag { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); color: #fff; }

/* ----- CTA band -------------------------------------------------------------- */
.cta-band { background: var(--paper); padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { margin: 0; max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 860px) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; }
}

/* ----- Prose (CMS body) ---------------------------------------------------- */
.prose { max-width: 68ch; }
/* section headings inside CMS copy get the same small brand rule as .eyebrow */
.prose h2 {
  position: relative; margin-top: 2.5rem; padding-top: 1.5rem;
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
}
.prose h2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 3px;
  border-radius: 3px; background: linear-gradient(90deg, var(--green-500), var(--orange));
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 4px solid var(--green-500); color: var(--ink-soft); font-style: italic; }
/* the opening paragraph carries the page — set it larger */
.prose--lead > p:first-of-type {
  font-size: clamp(1.08rem, 2.3vw, 1.24rem); line-height: 1.6; color: var(--green-900);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }

/* ----- Tables that must scroll on small screens ---------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll table { width: 100%; border-collapse: collapse; min-width: 460px; }
.table-scroll th, .table-scroll td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.table-scroll thead th { background: var(--green-700); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.table-scroll tbody tr:last-child td { border-bottom: 0; }

/* ----- Accordion (FAQ) --------------------------------------------------------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.accordion__group + .accordion__group { border-top: 1px solid var(--line); }
.accordion__group-title { padding: 1rem 1.25rem .25rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green-500); }
.accordion__item { border-top: 1px solid var(--line); }
.accordion__item:first-of-type { border-top: 0; }
.accordion__q { width: 100%; text-align: left; background: none; border: 0; padding: 1.1rem 1.25rem; font: inherit; font-weight: 600; color: var(--green-900);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center; cursor: pointer; min-height: 48px; }
.accordion__q::after { content: "+"; font-size: 1.4rem; color: var(--green-500); line-height: 1; }
.accordion__q[aria-expanded="true"]::after { content: "–"; }
.accordion__a { padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; color: var(--ink-soft); }
.accordion__a.is-open { padding: 0 1.25rem 1.25rem; max-height: 1500px; }

/* ----- Forms --------------------------------------------------------------- */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--green-900); }
.field .hint { font-size: .82rem; color: var(--ink-soft); margin-top: .25rem; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=password], input[type=date], select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green-500); outline: none; box-shadow: 0 0 0 3px rgba(0,177,114,.15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1.25rem; }
.form-note--ok { background: #e2f7ee; color: #14563f; border: 1px solid #a6e2cc; }
.form-note--err { background: #fdecec; color: #8a2020; border: 1px solid #f2b8b8; }

/* ----- Sticky mobile register bar ---------------------------------------------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--green-900);
  padding: .6rem var(--gap); display: flex; gap: .75rem; align-items: center; justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25); transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__label { color: #d7f0e9; font-size: .82rem; font-weight: 600; line-height: 1.2; }
.sticky-cta .btn { flex-shrink: 0; }

/* ----- Conference hero (banner slideshow) ----------------------------------- */
.conf-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(120% 100% at 12% 0%, #245c4a 0%, transparent 60%),
    var(--green-900);
  padding-block: clamp(1rem, 3vw, 2rem) clamp(1.75rem, 4vw, 2.75rem);
}
.conf-hero::after {
  content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-500) 0%, var(--teal-400) 38%, var(--yellow) 68%, var(--orange) 100%);
}
.conf-hero__inner { position: relative; z-index: 1; }
.conf-hero .crumbs--onDark { padding-top: 0; margin-bottom: .9rem; }

/* the 1200×630 banner graphics — one frame, cross-fading */
.conf-hero__show {
  position: relative; width: 100%; max-width: 940px; margin-inline: auto;
  aspect-ratio: 1200 / 630; border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.32); background: #0c3529;
}
.conf-hero__slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity .9s ease;
}
.conf-hero__slide.is-active { opacity: 1; }
.conf-hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.conf-hero__dots {
  position: absolute; z-index: 2; left: 50%; bottom: .8rem; transform: translateX(-50%);
  display: flex; gap: .45rem; padding: .4rem .6rem;
  background: rgba(6, 37, 28, .55); border-radius: 999px; backdrop-filter: blur(4px);
}
.conf-hero__dots button {
  position: relative; width: 30px; height: 4px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.5);
}
.conf-hero__dots button::before { content: ""; position: absolute; inset: -18px -4px; }
.conf-hero__dots button[aria-selected="true"] { background: var(--orange); }

/* CTA + countdown row under the banner */
.conf-hero__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  justify-content: center; margin-top: clamp(1.25rem, 3vw, 1.85rem);
}
.conf-hero__bar .hero__actions { margin: 0; }

.countdown { display: flex; gap: .6rem; margin: 0; }
.countdown div {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: .4rem .7rem; text-align: center; min-width: 58px; backdrop-filter: blur(6px);
}
.countdown b { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: #fff; line-height: 1.1; }
.countdown small { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-400); }

/* host strip — retained for the fallback path when no banner is set */
.host-strip { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(255,255,255,.08); border-radius: var(--radius); }
.host-strip img { height: 46px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.host-strip span { color: #dff3ec; font-weight: 700; letter-spacing: .04em; }

/* ----- Conference intro (condensed) --------------------------------------- */
.conf-intro { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); grid-template-columns: 1fr; align-items: start; }
.conf-intro__text { max-width: none; }
.conf-intro__text p { font-size: 1.02rem; line-height: 1.65; }
.conf-intro__text p:first-child { font-size: clamp(1.1rem, 2.3vw, 1.3rem); line-height: 1.55; color: var(--green-900); }
.conf-intro__text p:last-child { margin-bottom: 0; }
.conf-intro__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.conf-intro__facts li {
  display: flex; align-items: baseline; gap: .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
.conf-intro__facts b {
  flex: 0 0 auto; min-width: 4.75rem; text-align: right;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: 1.1rem; color: var(--green-700);
}
.conf-intro__facts span { font-size: .88rem; line-height: 1.4; color: var(--ink-soft); }
@media (min-width: 880px) {
  .conf-intro { grid-template-columns: 1fr 18rem; }
}
.pay-block { background: var(--paper); border: 1px dashed var(--green-500); border-radius: var(--radius); padding: 1.5rem; }
.pay-block dl { display: grid; grid-template-columns: 1fr; gap: .3rem 1rem; margin: 0; }
.deadline-flag { display: inline-flex; align-items: center; gap: .5rem; background: var(--yellow); color: #4a3c00; font-weight: 700; border-radius: 999px; padding: .4rem 1rem; }

/* ----- Scroll reveal ------------------------------------------------------- */
/* Additive: .js-reveal is only added by JS, so content is visible without it. */
.js-reveal { opacity: 0; transform: translateY(24px); }
.js-reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--rd, 0ms);
}

/* skip link */
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ----- Responsive --------------------------------------------------------------- */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .pay-block dl { grid-template-columns: max-content 1fr; }
}

@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }

  .nav-toggle { display: none; }
  .primary-nav { position: static; transform: none; visibility: visible; border: 0; background: none;
    max-height: none; overflow: visible; margin-left: auto; }
  .primary-nav > ul { display: flex; align-items: center; gap: .1rem; padding: 0; }
  .primary-nav > ul > li { border: 0; position: relative; }
  .primary-nav > ul > li > a { padding: .5rem .6rem; border-radius: 8px; white-space: nowrap; font-size: .95rem; }
  .site-header .wrap { gap: .5rem; }
  .brand__mark { height: 48px; }
  /* …but between 960 and 1179 the horizontal nav needs every pixel. */
  .brand__word { display: none; }
  .primary-nav .has-sub:hover > .sub, .primary-nav .has-sub:focus-within > .sub {
    display: block; position: absolute; top: 100%; left: 0; min-width: 260px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); padding: .5rem;
  }
  .primary-nav .has-sub > .sub { display: none; }
  .primary-nav .sub a { border-radius: 8px; }
  .primary-nav .sub a:hover { background: var(--paper); }
  .primary-nav .nav-cta { margin: 0 0 0 .5rem; }
  .sticky-cta { display: none; }
}

@media (min-width: 1100px) {
  .hero__slide { min-height: 620px; }
}

/* Wide enough for the bolder wordmark and the full nav together. */
@media (min-width: 1240px) {
  .brand__word { display: block; }
  .brand { margin-right: 1rem; }   /* breathing room before the first nav item */
}

/* Wider screens: the artwork's subject sits right of centre, so fade the
   overlay left-to-right — the copy stays on a solid ground, the photograph
   stays visible. */
@media (min-width: 820px) {
  .hero__slide::after {
    background:
      linear-gradient(90deg, rgba(22,63,49,.97) 0%, rgba(22,63,49,.90) 34%, rgba(22,63,49,.55) 60%, rgba(22,63,49,.32) 100%),
      linear-gradient(180deg, rgba(22,63,49,.18), rgba(22,63,49,.42));
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }

  /* Land the hero in its resting state rather than snapping to an animation's
     end frame: no drift, no zoom, copy simply present. */
  .hero__orb, .hero__rays-spin, .hero__rays-ring { animation: none !important; }
  .hero--anim .hero__slide.is-active .hero__bg { animation: none !important; transform: scale(1.06); }
  .hero--anim .hero__eyebrow, .hero--anim .hero__slide h1, .hero--anim .hero__sub,
  .hero--anim .hero__actions, .hero--anim .hero__facts, .hero--anim .hero__countdown {
    opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important;
  }
  .hero--anim .hero__slide.is-active .hero__eyebrow span { animation: none !important; transform: none !important; }
  .hero--anim .hero__dot[aria-selected="true"] i { animation: none !important; width: 100%; }
  .tile__img, .tile__play span { transition: none !important; }
}

/* ============================================================================
   Gallery — tabbed media index, category filter, mosaic, lightbox
   ========================================================================== */
.gallery__bar {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 1rem 1.5rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.gallery__bar .seg { align-self: flex-start; }
.gallery__filter { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (min-width: 800px) {
  .gallery__bar { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Segmented Photos / Videos control */
.seg {
  display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
}
.seg__btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  padding: .5rem 1.15rem; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  color: var(--green-900); background: transparent;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.seg__btn:hover { color: var(--green-500); }
.seg__btn[aria-selected="true"] {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff; box-shadow: 0 6px 16px rgba(22,63,49,.22);
}
.seg__count {
  font-size: .72rem; font-weight: 700; padding: .05rem .5rem; border-radius: 999px;
  background: rgba(22,63,49,.12); color: inherit; min-width: 1.6em; text-align: center;
}
.seg__btn[aria-selected="true"] .seg__count { background: rgba(255,255,255,.24); }

/* With JS on, the per-panel headings are redundant with the tabs. */
.gallery__panel[hidden], .gallery [data-item][hidden], .filter-pill[hidden],
.gallery__filter[hidden], [data-empty][hidden] { display: none !important; }
.gallery__panel-title { margin-bottom: 1.25rem; }
.gallery--js .gallery__panel-title {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.gallery--js .gallery__panel + .gallery__panel { margin-top: 0; }
.gallery__panel + .gallery__panel { margin-top: 3rem; }
.gallery__lead { margin: -0.5rem 0 1.75rem; }

/* Mosaic grid */
.mosaic {
  display: grid; gap: clamp(.6rem, 1.6vw, 1rem);
  grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense;
}
@media (min-width: 720px)  { .mosaic { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .mosaic { grid-template-columns: repeat(4, 1fr); } }

.tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: var(--green-900); color: #fff; text-decoration: none;
  box-shadow: var(--shadow-sm); isolation: isolate;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (min-width: 720px) {
  .tile--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
  .tile--video { grid-column: span 2; aspect-ratio: 16 / 9; }
}
.tile__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0; transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.tile:hover .tile__img { transform: scale(1.06); }
.tile__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,38,30,0) 28%, rgba(11,38,30,.30) 52%, rgba(11,38,30,.88) 100%);
}
.tile__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: clamp(.7rem, 2vw, 1.1rem);
  display: flex; flex-direction: column; gap: .3rem;
}
.tile__tag {
  align-self: flex-start; font-family: var(--font-display); font-weight: 700;
  font-size: .62rem; text-transform: uppercase; letter-spacing: .1em;
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .15rem;
  background: rgba(255,255,255,.16); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.22);
}
.tile__title {
  font-family: var(--font-display); font-weight: 700; line-height: 1.25;
  font-size: clamp(.92rem, 1.1vw + .55rem, 1.1rem); letter-spacing: -0.01em;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.tile--video .tile__title, .tile--wide .tile__title { -webkit-line-clamp: 2; }
.tile__meta { font-size: .76rem; color: #dff3ec; }

/* Play + duration + zoom affordances */
.tile__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 58px; height: 58px; border-radius: 999px; display: flex; pointer-events: none;
  align-items: center; justify-content: center; color: #3a2600;
  background: var(--orange); box-shadow: 0 8px 22px rgba(0,0,0,.35);
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.tile__play svg { width: 26px; height: 26px; margin-left: 3px; }
.tile:hover .tile__play { transform: translate(-50%, -50%) scale(1.1); }
.tile--video .tile__body { padding-right: 3.6rem; }
.tile__dur {
  position: absolute; top: .6rem; right: .6rem; z-index: 2; font-family: var(--font-display);
  font-weight: 700; font-size: .7rem; padding: .15rem .5rem; border-radius: 6px;
  background: rgba(11,38,30,.82); color: #fff;
}
.tile__zoom {
  position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 34px; height: 34px;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.9); color: var(--green-900);
  opacity: 0; transform: scale(.8); transition: opacity .25s ease, transform .25s ease;
}
.tile__zoom svg { width: 18px; height: 18px; }
.tile:hover .tile__zoom, .tile:focus-visible .tile__zoom { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 120; display: none;
  align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6,37,28,.94); backdrop-filter: blur(3px);
}
.lightbox.is-open { display: flex; }
.lightbox__stage { margin: 0; max-width: 1100px; width: 100%; }
.lightbox__media { display: flex; align-items: center; justify-content: center; }
.lightbox__media img {
  max-width: 92vw; max-height: 78vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__frame { position: relative; width: min(92vw, 1000px); aspect-ratio: 16 / 9; }
.lightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.lightbox figcaption { color: #dff3ec; text-align: center; margin-top: .9rem; font-size: .9rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer; border-radius: 999px; display: flex; align-items: center;
  justify-content: center; transition: background .2s ease, transform .2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__close { top: 1rem; right: 1rem; width: 48px; height: 48px; font-size: 1.9rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lightbox__nav--prev { left: clamp(.5rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(.5rem, 2vw, 1.5rem); }
@media (max-width: 560px) {
  .lightbox__nav { top: auto; bottom: 1rem; transform: none; }
  .lightbox__nav--prev { left: 1rem; }
  .lightbox__nav--next { right: 1rem; }
}
