/* ============================================================
   GPEC-X - premium build v2
   Brand palette (from live site + logo): black / champagne gold / sage
   Type: Cormorant Garamond (display) · Outfit (sans)
   Scale: restrained, editorial - Apple-like density
   ============================================================ */

:root {
  --bg0: #0b0b0a;
  --bg1: #111110;
  --bg2: #161614;
  --card: #1a1915;
  --card-edge: #23221c;

  /* Gold sampled from the supplied brand swatch */
  --gold: #c0a563;
  --gold-2: #ab9153;
  --gold-hi: #d9c48b;
  --gold-dim: #7e6a35;
  --gold-grad: linear-gradient(115deg, #7e6a35 0%, #c0a563 30%, #e3d3a3 50%, #c0a563 70%, #7e6a35 100%);

  --sage: #e4e7d6;
  --sage-2: #d9ddc6;
  --ink: #161614;

  --t-hi: #f4f2ea;
  --t-mid: #b8b5ac;
  --t-low: #8f8c82;

  --line-gold: rgba(192, 165, 99, 0.28);
  --line-soft: rgba(244, 242, 234, 0.08);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 5.4rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--t-mid);
  background: var(--bg1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a:focus-visible, button:focus-visible {
  outline: 1.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: rgba(192, 165, 99, 0.35); color: var(--t-hi); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Film-grain texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* Scroll progress hairline */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--gold-grad);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 70;
  pointer-events: none;
}

/* (Cursor-following effects intentionally removed.) */

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--t-hi); line-height: 1.12; }

.display-xl { font-size: clamp(2.2rem, 4.4vw, 3.5rem); letter-spacing: -0.015em; line-height: 1.06; }
/* Hero gets more presence than interior page titles */
.hero .display-xl { font-size: clamp(2.6rem, 6vw, 5.1rem); line-height: 1.02; letter-spacing: -0.025em; }
.display-lg { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
.display-md { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

.gold-text {
  background: var(--gold-grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

em.flourish { font-style: italic; font-weight: 500; }

/* Reading measure is set in rem, not ch: `ch` depends on the webfont and
   resolves differently before it loads, giving inconsistent caps. 34rem holds
   body copy to roughly 68 characters. */
.lede { font-size: clamp(1rem, 1.3vw, 1.125rem); font-weight: 300; color: var(--t-mid); max-width: 34rem; line-height: 1.75; }

/* Without these, body copy runs to ~86-96 characters once the two-column
   sections stack at tablet width, well past a comfortable measure. */
.split p,
.section-head p,
.checklist li,
.syllabus .mod-body p,
.aside-note { max-width: 34rem; }

.section { padding-block: clamp(3.75rem, 8vw, 6.25rem); position: relative; }
.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }

.band-sage { background: var(--sage); color: #4b4a40; }
.band-sage h1, .band-sage h2, .band-sage h3 { color: var(--ink); }
.band-sage .lede { color: #55544a; }
.band-sage .eyebrow { color: #7e6a35; }
.band-sage .eyebrow::before { background: #7e6a35; }

.rule-gold {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line-gold), transparent);
}

/* ---------- Buttons (pill) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.78rem 1.55rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: color 300ms ease, background-color 300ms ease, box-shadow 300ms ease, transform 300ms var(--ease-lux);
  will-change: transform;
}
.btn .arr { transition: transform 300ms var(--ease-lux); font-family: var(--font-display); font-size: 1.05em; }
.btn:hover .arr { transform: translateX(4px); }

.btn-gold {
  background: linear-gradient(115deg, #ab9153, #c0a563 45%, #d3bd7e);
  color: #171308;
  box-shadow: 0 0 0 0 rgba(192, 165, 99, 0);
}
.btn-gold:hover {
  background: linear-gradient(115deg, #b89b58, #d3bd7e 45%, #e3d3a3);
  box-shadow: 0 6px 28px rgba(192, 165, 99, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--line-gold);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 6px 24px rgba(192, 165, 99, 0.14); color: var(--gold-hi); }

.band-sage .btn-ghost { color: #63532a; box-shadow: inset 0 0 0 1px rgba(126, 106, 53, 0.5); }
.band-sage .btn-ghost:hover { box-shadow: inset 0 0 0 1px #7e6a35; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform 450ms var(--ease-lux), background-color 400ms ease, border-color 400ms ease,
              -webkit-backdrop-filter 400ms ease, backdrop-filter 400ms ease;
}
.site-header.scrolled {
  background: rgba(11, 11, 10, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line-soft);
}
/* Header stays pinned at all times - never hides on scroll. */

/* Full-bleed header: brand hard left, actions hard right. */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  max-width: none;
  padding-inline: clamp(1.25rem, 2.5vw, 2.25rem);
}

.header-actions { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }

.signin-link {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--t-mid);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 250ms ease;
  white-space: nowrap;
}
.signin-link:hover { color: var(--gold-hi); }
.signin-link svg { width: 0.95rem; height: 0.95rem; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* Brand: the full logo is shown at all times, at every scroll position. */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-full {
  height: 3.5rem;
  width: auto;
  -webkit-user-drag: none;
  user-select: none;
  transition: transform 400ms var(--ease-lux);
  transform-origin: left center;
}
.brand:hover .logo-full { transform: scale(1.03); }

@media (max-width: 560px) {
  .logo-full { height: 2.7rem; }
}

/* Nav - quiet, modern */
.site-nav { display: flex; align-items: center; gap: 0.35rem; }
.site-nav a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--t-mid);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  transition: color 250ms ease, background-color 250ms ease;
}
.site-nav a:hover { color: var(--t-hi); background: rgba(244, 242, 234, 0.07); }
.site-nav a[aria-current="page"] { color: var(--gold-hi); background: rgba(192, 165, 99, 0.1); }

.header-cta { flex-shrink: 0; padding: 0.6rem 1.25rem; font-size: 0.72rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .header-cta, .signin-link { display: none; }
  .site-nav .mobile-only { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    /* dvh so mobile browser chrome cannot clip the last item; vh fallback */
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 0.75rem;
    padding-bottom: 2rem;
    /* Solid, not translucent: at 0.97 alpha the page still showed through and
       the menu read as merging into the content behind it. */
    background: var(--bg0);
    border-top: 1px solid var(--line-gold);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;   /* scrolling the sheet must not chain to the page */
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    width: 100%;
    font-size: 1.05rem;
    padding: 1rem var(--gutter);
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-nav a[aria-current="page"] {
    background: none;
    color: var(--gold);
    box-shadow: inset 3px 0 0 var(--gold);
  }

  /* Freeze the page behind the open sheet. The scrolling element here is
     <html>, so locking only <body> does nothing: the page kept scrolling
     under the menu. Both are locked. */
  html.nav-open, body.nav-open { overflow: hidden; }
  /* Header goes opaque too, or the hero shows through the bar above the menu. */
  html.nav-open .site-header { background: var(--bg0); border-bottom-color: var(--line-soft); }
}

/* ---------- Hero (home) ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /* Video removed: the gold gradient now carries the hero on its own. */
  background:
    radial-gradient(58rem 40rem at 78% 18%, rgba(192, 165, 99, 0.13), transparent 62%),
    radial-gradient(46rem 34rem at 4% 92%, rgba(192, 165, 99, 0.06), transparent 62%),
    var(--bg0);
  padding-top: calc(var(--header-h) + 2rem);
  /* Must clear the absolutely-positioned stats bar, otherwise the CTAs and the
     schedule panel collide with it. */
  padding-bottom: clamp(9rem, 17vh, 12rem);
}

.hero-grid, .hero-foot { position: relative; z-index: 1; }

/* Same container as every other section, so the hero headline shares one left
   edge with the sections and footer down the page. */
.hero-grid {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
/* Copy block sits centred within the left column, so it reads as balanced
   between the screen edge and the brand mark rather than jammed left. */
.hero-copy { max-width: 34rem; justify-self: start; width: 100%; }
.site-nav .mobile-only { display: none; }

/* ---- Hero panel: glass card carrying the live programme schedule ---- */
.hero-panel {
  justify-self: end;
  width: 100%;
  max-width: 25rem;
  padding: 1.6rem 1.6rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(192, 165, 99, 0.34);
  background: linear-gradient(155deg, rgba(30, 27, 19, 0.72), rgba(13, 13, 11, 0.62));
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 245, 220, 0.09);
  position: relative;
  overflow: hidden;
}
/* Gold light catch across the top edge */
.hero-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hp-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hp-label-sub { margin-top: 1.5rem; margin-bottom: 0.75rem; color: var(--t-low); }

.hp-feature {
  display: block;
  text-decoration: none;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line-soft);
}
.hp-date { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.6rem; }
.hp-date b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--t-hi);
  letter-spacing: -0.02em;
}
.hp-date i {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hp-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.22;
  color: var(--t-hi);
  margin-bottom: 0.45rem;
  transition: color 300ms ease;
}
.hp-feature:hover .hp-title { color: var(--gold-hi); }
.hp-venue {
  display: block;
  font-size: 0.76rem;
  color: var(--t-low);
  margin-bottom: 1rem;
}
.hp-go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.hp-go .arr { transition: transform 300ms var(--ease-lux); }
.hp-feature:hover .hp-go .arr { transform: translateX(4px); }

.hp-next { list-style: none; }
.hp-next a {
  display: grid;
  /* wide enough for a date carrying its year, e.g. "14 Oct 26" */
  grid-template-columns: 5rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.6rem 0;
  text-decoration: none;
  font-size: 0.84rem;
  color: var(--t-mid);
  border-bottom: 1px solid rgba(244, 242, 234, 0.05);
  transition: color 260ms ease, padding-left 300ms var(--ease-lux);
}
.hp-next li:last-child a { border-bottom: 0; }
.hp-next a span {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.hp-next a i { font-style: normal; color: var(--gold); opacity: 0; transition: opacity 260ms ease, transform 300ms var(--ease-lux); }
.hp-next a:hover { color: var(--t-hi); padding-left: 0.35rem; }
.hp-next a:hover i { opacity: 1; transform: translateX(3px); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { justify-self: stretch; max-width: none; margin-top: 2.5rem; }
}

/* The organisation's full name, sitting above the tagline headline. */
.hero-fullform {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--gold);
  max-width: 40ch;
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}

.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--gold);
  margin: 1.3rem 0 1rem;
}

.hero .lede { margin-bottom: 2.2rem; }

.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line-gold);
  background: rgba(11, 11, 10, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  z-index: 2;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.stat {
  padding: 1.1rem 1rem 1rem 1.4rem;
  border-left: 1px solid var(--line-soft);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--gold);
  line-height: 1.1;
}
.stat span {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t-low);
}
@media (max-width: 760px) {
  .hero { min-height: auto; padding-bottom: 0; }
  .hero-foot { position: static; margin-top: 3rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Staggered line reveal */
.reveal-lines .line { display: block; overflow: hidden; }
.reveal-lines .line > span { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal-lines .line > span {
    transform: translateY(110%);
    animation: lineUp 900ms var(--ease-lux) forwards;
  }
  .js .reveal-lines .line:nth-child(2) > span { animation-delay: 120ms; }
  .js .reveal-lines .line:nth-child(3) > span { animation-delay: 240ms; }
  @keyframes lineUp { to { transform: translateY(0); } }

  .js .fade-up { opacity: 0; transform: translateY(16px); transition: opacity 800ms ease, transform 800ms var(--ease-lux); }
  .js .fade-up.in { opacity: 1; transform: none; }
  .js .fade-up.d1 { transition-delay: 90ms; }
  .js .fade-up.d2 { transition-delay: 180ms; }
  .js .fade-up.d3 { transition-delay: 270ms; }
  .js .fade-up.d4 { transition-delay: 360ms; }

}

/* ---------- Residency timeline ---------- */

.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--line-soft);
}
.timeline .progress {
  position: absolute;
  left: 0; top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-dim), var(--gold));
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}

.t-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 9rem) 1fr auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.3rem, 2.4vw, 1.9rem) 0 clamp(1.3rem, 2.4vw, 1.9rem) clamp(1.4rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  position: relative;
  transition: background-color 350ms ease, padding-left 350ms var(--ease-lux);
}
.t-row:hover { background: rgba(192, 165, 99, 0.045); padding-left: clamp(1.8rem, 3.4vw, 2.9rem); }
.t-row::before {
  content: "";
  position: absolute;
  left: -3px; top: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%) scale(0.6);
  opacity: 0.5;
  transition: transform 300ms var(--ease-lux), opacity 300ms ease, box-shadow 300ms ease;
}
.t-row:hover::before { transform: translateY(-50%) scale(1.1); opacity: 1; box-shadow: 0 0 14px rgba(192, 165, 99, 0.7); }

.t-date { font-family: var(--font-display); line-height: 1; }
.t-date b { display: block; font-weight: 600; font-size: clamp(1.45rem, 2.4vw, 2rem); color: var(--t-hi); }
.t-date span {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}

.t-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  color: var(--t-hi);
  transition: color 300ms ease;
}
.t-row:hover .t-title { color: var(--gold-hi); }
.t-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-low);
  margin-top: 0.4rem;
}

.t-arr {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 350ms var(--ease-lux);
}
.t-row:hover .t-arr { transform: translateX(7px); }

@media (max-width: 640px) {
  .t-row { grid-template-columns: 1fr auto; }
  .t-date { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 0.6rem; }
}

/* ---------- Programme cards ---------- */

.prog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.p-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  text-decoration: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 400ms ease, transform 500ms var(--ease-lux), box-shadow 500ms ease;
}
.p-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 4px 24px rgba(192, 165, 99, 0.08);
}
.p-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--gold-grad);
  background-size: 200% auto;
  opacity: 0;
  transition: opacity 400ms ease;
}
.p-card:hover::after { opacity: 1; }

.p-media { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; }
.p-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition: transform 1.2s var(--ease-lux), filter 500ms ease;
}
.p-card:hover .p-media img { transform: scale(1.05); filter: saturate(1) contrast(1.03); }
.p-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,10,0.05) 55%, rgba(11,11,10,0.72));
}

.p-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.75rem; flex-grow: 1; }
.p-kicker {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.p-body h3 { font-size: 1.25rem; line-height: 1.18; }
.p-body p { font-size: 0.9rem; color: var(--t-mid); flex-grow: 1; line-height: 1.65; }
.p-more {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  gap: 0.5rem;
}

/* ---------- Logo marquee ---------- */

.marquee-band { padding-block: clamp(2.75rem, 5vw, 4rem); overflow: hidden; }
.marquee-label {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--t-low);
  margin-bottom: 1.9rem;
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: clamp(2rem, 5vw, 4rem); padding-right: clamp(2rem, 5vw, 4rem); flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: slide 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes slide { to { transform: translateX(-100%); } }

.logo-chip {
  background: #f4f3ec;
  border-radius: 10px;
  padding: 0.8rem 1.3rem;
  height: 4.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(0.4);
  opacity: 0.88;
  transition: filter 350ms ease, opacity 350ms ease, transform 350ms var(--ease-lux), box-shadow 350ms ease;
}
.logo-chip:hover { filter: grayscale(0); opacity: 1; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.logo-chip img { max-height: 2.6rem; width: auto; max-width: 9.5rem; object-fit: contain; }

/* ---------- Mission / vision ---------- */

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 780px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-cell { border-top: 1px solid var(--line-gold); padding-top: 1.75rem; }
.mv-cell blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  color: var(--t-hi);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.mv-cell blockquote .gold-text { font-style: normal; }

/* ---------- Checklist ---------- */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.25rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.checklist { list-style: none; counter-reset: obj; }
.checklist li {
  counter-increment: obj;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
  color: var(--t-mid);
  line-height: 1.65;
}
.checklist li::before {
  content: "0" counter(obj);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
}
.band-sage .checklist li { border-bottom-color: rgba(22, 22, 20, 0.12); color: #55544a; }

/* ---------- Page hero (interior) ---------- */

.page-hero {
  position: relative;
  padding-top: clamp(7.5rem, 13vw, 10.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.75rem);
  background:
    radial-gradient(50rem 28rem at 80% 0%, rgba(192, 165, 99, 0.07), transparent 60%),
    var(--bg0);
  overflow: hidden;
}
/* Full-bleed programme hero: image background, heading + key facts only */
.page-hero.has-media {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
/* z-index 0 (not -1): .page-hero has an opaque background and does NOT create a
   stacking context, so a negative z-index would paint the photo behind it. */
.page-hero .media { position: absolute; inset: 0; z-index: 0; }
.page-hero .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(0.9) contrast(1.03);
}
/* Scrim: only as dark as legibility needs - the photo must stay clearly visible. */
.page-hero .media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,10,0.42) 0%, rgba(11,11,10,0.06) 32%, rgba(11,11,10,0.5) 86%, var(--bg0) 100%),
    linear-gradient(90deg, rgba(11,11,10,0.72) 0%, rgba(11,11,10,0.18) 60%, rgba(11,11,10,0) 100%);
}
/* Copy must sit above the media layer. */
.page-hero.has-media .wrap { position: relative; z-index: 1; }

/* Nav-tab pages get the same full-viewport treatment as the programme heroes. */
.page-hero.has-media.page-hero-compact {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
.page-hero-compact .media img { opacity: 0.62; }
.page-hero-compact .media::after {
  background:
    linear-gradient(180deg, rgba(11,11,10,0.5) 0%, rgba(11,11,10,0.12) 32%, rgba(11,11,10,0.5) 84%, var(--bg0) 100%),
    linear-gradient(90deg, rgba(11,11,10,0.8) 0%, rgba(11,11,10,0.3) 58%, rgba(11,11,10,0.02) 100%);
}
/* width:100% is required - as a flex item, margin-inline:auto would otherwise
   shrink the wrap to fit-content and pull the copy toward the centre.
   Width/padding intentionally inherit .wrap so the hero h1 sits on the same
   left edge as the sections and footer below it. */
.page-hero.has-media .wrap { width: 100%; }
.page-hero.has-media h1 { max-width: 18ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.page-hero.has-media .lede { max-width: 52ch; color: #ddd9cf; }
.page-hero h1 { max-width: 24ch; }
.page-hero .lede { margin-top: 1.3rem; }

/* Scroll cue */
/* Hero call to action on the programme pages */
.hero-cta { margin-top: clamp(1.6rem, 3vw, 2.4rem); }

/* ---------- Syllabus accordions ---------- */

.syllabus { list-style: none; }
.syllabus > li { border-bottom: 1px solid var(--line-soft); }
.syllabus .mod-head {
  width: 100%;
  display: grid;
  grid-template-columns: 3.2rem 1fr 1.6rem;
  gap: 1.1rem;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.syllabus .mod-code {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.syllabus h3 { font-size: clamp(1rem, 1.5vw, 1.2rem); transition: color 250ms ease; font-weight: 600; }
.syllabus .mod-head:hover h3 { color: var(--gold-hi); }
.syllabus .mod-toggle {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  line-height: 1;
  transition: transform 400ms var(--ease-lux);
}
.syllabus li.open .mod-toggle { transform: rotate(45deg); }
.syllabus .mod-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms var(--ease-lux);
}
.syllabus li.open .mod-body { grid-template-rows: 1fr; }
.syllabus .mod-body > div { overflow: hidden; }
.syllabus .mod-body p {
  padding: 0 0 1.5rem 4.3rem;
  max-width: 58ch;
  color: var(--t-mid);
  font-size: 0.92rem;
  line-height: 1.7;
}
@media (max-width: 560px) {
  .syllabus .mod-head { grid-template-columns: 2.4rem 1fr 1.6rem; }
  .syllabus .mod-body p { padding-left: 0; }
}

/* ---------- Five Cs wheel ---------- */

.five-c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.25rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .five-c { grid-template-columns: 1fr; } }

.c-wheel { position: relative; aspect-ratio: 1; max-width: 23rem; margin-inline: auto; width: 100%; }
.c-wheel .ring { position: absolute; inset: 9%; border: 1px solid var(--line-gold); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .c-wheel .ring { animation: spin 60s linear infinite; }
  .c-wheel .ring::before {
    content: "";
    position: absolute;
    top: -3.5px; left: 50%;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(192, 165, 99, 0.8);
  }
  @keyframes spin { to { transform: rotate(360deg); } }
}
.c-core {
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203,178,106,0.15), rgba(203,178,106,0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
}
.c-node {
  position: absolute;
  width: 4.6rem; height: 4.6rem;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-mid);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: border-color 300ms ease, color 300ms ease, transform 300ms var(--ease-lux), background-color 300ms ease, box-shadow 300ms ease;
  padding: 0.35rem;
}
.c-node:hover, .c-node.active {
  border-color: var(--gold);
  color: var(--gold-hi);
  background: #201d14;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 24px rgba(192, 165, 99, 0.25);
}
.c-detail { min-height: 9.5rem; }
.c-detail h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.c-detail h3 b { color: var(--gold); font-weight: 600; }
.c-detail p { font-size: 0.95rem; max-width: 34rem; }

/* ---------- Design-thinking segmented control ---------- */

.dt-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 2rem;
  border: 1px solid var(--card-edge);
  border-radius: 999px;
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  background: var(--card);
}
.dt-step {
  flex: 1 1 auto;
  background: transparent;
  border: 0;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-mid);
  cursor: pointer;
  position: relative;
  transition: color 300ms ease, background-color 300ms ease;
  white-space: nowrap;
}
.dt-step b {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.62rem;
  color: var(--gold);
  margin-right: 0.5rem;
  transition: color 300ms ease;
}
.dt-step:hover { color: var(--t-hi); background: rgba(244, 242, 234, 0.04); }
.dt-step.active {
  background: linear-gradient(115deg, #ab9153, #c0a563 45%, #d3bd7e);
  color: #171308;
}
.dt-step.active b { color: #171308; }
@media (max-width: 720px) {
  .dt-steps { border-radius: 18px; width: 100%; }
  .dt-step { flex: 1 1 33%; padding: 0.8rem 0.5rem; font-size: 0.62rem; }
}

.dt-detail h3 { font-size: 1.5rem; }
.dt-detail p { font-size: 0.98rem; }

/* ---------- Team ---------- */

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.4rem; }
.filter-btn {
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--t-mid);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: border-color 300ms ease, color 300ms ease, background-color 300ms ease;
}
.filter-btn:hover { border-color: var(--line-gold); color: var(--gold-hi); }
.filter-btn.active {
  border-color: transparent;
  background: linear-gradient(115deg, #ab9153, #c0a563 45%, #d3bd7e);
  color: #171308;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1.25rem;
}
.person {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 400ms ease, transform 500ms var(--ease-lux), opacity 400ms ease, box-shadow 500ms ease;
}
.person:hover {
  border-color: var(--line-gold);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.person.dim { opacity: 0.16; }
.person .photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.person .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(0.3) saturate(0.9);
  transition: filter 600ms ease, transform 1.1s var(--ease-lux);
}
.person:hover .photo img { filter: grayscale(0) saturate(1); transform: scale(1.04); }
.person .photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,11,10,0.68));
}
.person .p-info { padding: 1.05rem 1.15rem 1.25rem; }
.person h3 { font-size: 1rem; line-height: 1.25; }
.person .role {
  display: block;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.35rem 0 0.6rem;
}
.person p { font-size: 0.79rem; color: var(--t-mid); line-height: 1.6; }
.person .quote { font-family: var(--font-display); font-style: italic; color: var(--t-hi); margin-top: 0.5rem; font-size: 0.86rem; }
.band-sage .person h3 { color: var(--t-hi); }

/* Operations team: single card shouldn't stretch full width */
.team-grid.compact { grid-template-columns: repeat(auto-fill, minmax(215px, 240px)); }

/* ---------- Partners ---------- */

.partner-row {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
@media (max-width: 700px) { .partner-row { grid-template-columns: 1fr; } }
.partner-logo {
  background: #f4f3ec;
  border-radius: 12px;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7rem;
  transition: transform 400ms var(--ease-lux), box-shadow 400ms ease;
}
.partner-row:hover .partner-logo { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }
.partner-logo img { max-height: 4.4rem; width: auto; max-width: 100%; object-fit: contain; }
.partner-kind {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.7rem;
}
.partner-row h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.partner-row p { max-width: 34rem; font-size: 0.95rem; }
.partner-row p + p { margin-top: 0.7rem; }

/* ---------- Events / speakers ---------- */

.speaker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem 1.5rem; }
.speaker { text-align: center; }
/* Uniform circular avatars - the source photos have inconsistent framing,
   so a fixed circular crop is what makes them read as a set. */
.speaker .photo {
  width: 8.5rem;
  height: 8.5rem;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 500ms var(--ease-lux), border-color 400ms ease;
}
.speaker:hover .photo { transform: translateY(-4px); border-color: var(--gold); }
.speaker .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(0.25);
  transition: filter 500ms ease;
}
.speaker:hover .photo img { filter: grayscale(0); }
.speaker h3 { font-size: 1rem; margin-top: 1.1rem; }
.speaker span { font-size: 0.76rem; color: var(--t-low); display: block; margin-top: 0.3rem; line-height: 1.55; max-width: 22ch; margin-inline: auto; }

/* ---------- Designed panels (replace low-res diagram images) ---------- */

/* Journey rail - numbered vertical steps */
.rail { list-style: none; position: relative; padding-left: 0; }
.rail::before {
  content: "";
  position: absolute;
  left: 1.25rem; top: 0.9rem; bottom: 0.9rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(140,116,57,0.5), rgba(140,116,57,0.12));
}
.rail li {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.1rem;
  padding-block: 0.85rem;
}
.rail .rail-num {
  position: relative;
  z-index: 1;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--sage);
  border: 1px solid rgba(140,116,57,0.5);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #7e6a35;
}
.rail h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }
.rail p { font-size: 0.88rem; color: #55544a; line-height: 1.6; }
.rail li.is-after .rail-num { background: #7e6a35; border-color: #7e6a35; color: var(--sage); }

/* Format grid - 2×2 delivery cards */
.fmt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 520px) { .fmt-grid { grid-template-columns: 1fr; } }
.fmt {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(126, 106, 53, 0.22);
  border-radius: 12px;
  padding: 1.15rem 1.2rem 1.25rem;
  transition: border-color 350ms ease, transform 400ms var(--ease-lux), background-color 350ms ease;
}
.fmt:hover { border-color: rgba(126, 106, 53, 0.6); transform: translateY(-3px); background: rgba(255, 255, 255, 0.72); }
.fmt b {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7e6a35;
  margin-bottom: 0.55rem;
}
.fmt h4 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; }
.fmt p { font-size: 0.84rem; color: #55544a; line-height: 1.55; max-width: 30rem; }

/* Chips - audience / standards tags */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  font-size: 0.76rem;
  font-weight: 400;
  color: #4b4a40;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(126, 106, 53, 0.28);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  transition: border-color 300ms ease, background-color 300ms ease;
}
.chips li:hover { border-color: rgba(126, 106, 53, 0.6); background: rgba(255, 255, 255, 0.85); }

/* Standards grid - framework cards */
.std-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: 0.75rem; }
.std {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(126, 106, 53, 0.22);
  border-radius: 12px;
  padding: 1rem 0.9rem;
  text-align: center;
  transition: border-color 350ms ease, transform 400ms var(--ease-lux);
}
.std:hover { border-color: rgba(126, 106, 53, 0.6); transform: translateY(-3px); }
.std b { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.std span { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: #7e6a35; display: block; margin-top: 0.3rem; }

/* Exposure list - impact rows.
   Capped measure: unconstrained these run to ~81 characters at 0.9rem, which
   reads as sprawling text rather than a list and clashes with the shorter
   measure in the adjacent column. */
.exposure { list-style: none; max-width: 30rem; }
.exposure li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(22, 22, 20, 0.12);
  font-size: 0.9rem;
  color: #55544a;
}
.exposure li:last-child { border-bottom: 0; }
.exposure li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #7e6a35;
  transform: translateY(-2px);
}
.exposure strong { color: var(--ink); font-weight: 600; font-family: var(--font-display); font-size: 1rem; }

.badge-past {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #171308;
  background: linear-gradient(115deg, #ab9153, #c0a563 45%, #d3bd7e);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.3rem;
}

/* ---------- Aside note ---------- */

.aside-note {
  border-left: 2px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(192, 165, 99, 0.06);
  padding: 1.3rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
}
.aside-note strong { color: var(--t-hi); font-weight: 500; }
.band-sage .aside-note { background: rgba(126, 106, 53, 0.08); }
.band-sage .aside-note strong { color: var(--ink); }

/* ---------- CTA band ---------- */

.cta-band { text-align: left; position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  left: 12%; top: 50%;
  width: 50rem; height: 50rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(192, 165, 99, 0.08), transparent 55%);
  pointer-events: none;
}
.cta-band h2 { max-width: 26ch; margin-bottom: 1.7rem; }
.cta-band .lede { margin-bottom: 1.9rem; }

/* ---------- Forms ---------- */

.form-grid { display: grid; gap: 1.4rem; }

.field label {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t-low);
  margin-bottom: 0.5rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.98rem;
  color: var(--t-hi);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  padding: 0.6rem 0;
  transition: border-color 300ms ease;
  border-radius: 0;
}
.field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c0a563' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  padding-right: 1.5rem;
}
.field select option { background: var(--bg2); color: var(--t-hi); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field .hint { font-size: 0.75rem; color: var(--t-low); margin-top: 0.35rem; }

.form-success {
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  background: rgba(192, 165, 99, 0.07);
  padding: 1.5rem;
  display: none;
  font-size: 0.92rem;
}
.form-success.visible { display: block; }
.form-success a { color: var(--gold); }

/* Contact email, shown so visitors always have a route that does not depend
   on the form succeeding. */
.contact-email {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
}
.contact-email a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 2px;
  transition: color 250ms ease, border-color 250ms ease;
}
.contact-email a:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }

.f-email { margin-top: 0.6rem; }
.f-email a { color: var(--gold); text-decoration: none; font-size: 0.85rem; }
.f-email a:hover { color: var(--gold-hi); }
.form-success.is-error {
  border-color: rgba(200, 90, 70, 0.5);
  background: rgba(200, 90, 70, 0.08);
}
.form-success.is-error strong { color: #e8b9ae; }
.form-success strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-hi); font-weight: 600; }

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

.site-footer {
  background: var(--bg0);
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.25rem;
  font-size: 0.88rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } }

.site-footer .f-brand img { height: 2.6rem; width: auto; margin-bottom: 1.1rem; }
.site-footer .f-brand p { color: var(--t-low); max-width: 34ch; font-size: 0.82rem; line-height: 1.7; }

.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--t-mid); text-decoration: none; font-size: 0.85rem; transition: color 250ms ease; }
.site-footer a:hover { color: var(--gold-hi); }

.newsletter p { color: var(--t-low); margin-bottom: 0.9rem; font-size: 0.82rem; }
.newsletter form { display: flex; border-bottom: 1px solid var(--line-soft); }
.newsletter input {
  flex: 1;
  background: none; border: 0;
  color: var(--t-hi);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  padding: 0.55rem 0;
}
.newsletter input:focus { outline: none; }
.newsletter button {
  background: none; border: 0;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.newsletter .nl-done { color: var(--gold); font-size: 0.85rem; padding: 0.55rem 0; }

.legal {
  border-top: 1px solid var(--line-soft);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--t-low);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
