/* =========================================================
   CEE@VVS — styles
   Colours, spacing, radius and shadow tokens live on :root.
   ========================================================= */

:root {
  /* Brand palette (CEE@VVS brand guide) */
  --maroon: #981B1E;      /* VVCEE Red: headings, key text, buttons, full-colour backgrounds */
  --maroon-deep: #6E1316; /* darker shade of VVCEE Red for hovers, ticker, footer */
  --cream: #FAF0E3;       /* Cream: background for almost everything */
  --ink: #1A1A1A;         /* Black: body text */
  --gold: #A87C0A;        /* Deep Gold: on cream, large headings/accents only */
  --laurel: #E3B341;      /* Bright Gold: text and accents on red or black */
  /* Supporting tints derived from the palette */
  --surface: #FFF8EE;
  --border: #EADAC3;
  --muted: #6B5F52;
  --gold-soft: #F5E6C2;
  --gold-text: #7A5A06;   /* Deep Gold darkened so small text stays readable on cream */
  --on-maroon: #FAF0E3;
  --on-maroon-muted: #F0D9C9;

  /* Brand fonts: EB Garamond (headings and body), Libre Baskerville (centre name by the logo) */
  --font-head: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --font-body: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --font-brand: "Libre Baskerville", Baskerville, Georgia, serif;

  /* Type scale: every font size on the site comes from these steps */
  --fs-xs: 14px;                                   /* labels, meta, eyebrows */
  --fs-sm: 16px;                                   /* secondary text, buttons */
  --fs-base: 17px;                                 /* body text */
  --fs-md: 19px;                                   /* small titles */
  --fs-lg: clamp(20px, 0.4vw + 18px, 23px);        /* card titles */
  --fs-lead: clamp(19px, 0.8vw + 16px, 24px);      /* intro paragraphs */
  --fs-xl: clamp(24px, 0.9vw + 19px, 30px);        /* sub-headings */
  --fs-2xl: clamp(30px, 2.2vw + 21px, 44px);       /* section titles */
  --fs-hero: clamp(34px, 3.8vw + 20px, 70px);      /* the centre's name */
  --fs-display: clamp(48px, 5vw + 30px, 96px);     /* big numbers */

  --r-sm: 8px;
  --r-card: 14px;
  --shadow: 0 1px 2px rgba(42, 20, 12, .04), 0 8px 24px rgba(42, 20, 12, .06);
  --shadow-lift: 0 2px 4px rgba(42, 20, 12, .05), 0 14px 32px rgba(42, 20, 12, .10);

  --section-pad: 48px;
  --gutter: 16px;
  --topbar-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --section-pad: 72px; --topbar-h: 76px; --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  /* Garamond has small lowercase letters; this scales them up so text stays easy to read */
  font-size-adjust: 0.45;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; margin: 0; color: var(--ink); letter-spacing: -.005em; }
button, input { font-size-adjust: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; border-radius: 4px; }
.section--maroon :focus-visible, .hero :focus-visible, .sticky-cta:focus-visible { outline-color: var(--on-maroon); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--maroon); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

section[id] { scroll-margin-top: calc(var(--topbar-h) + 8px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--r-sm); border: 1px solid transparent;
  font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none; letter-spacing: .01em;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-sm); }
.btn--primary { background: var(--maroon); color: var(--on-maroon); }
.btn--primary:hover { background: var(--maroon-deep); }
.btn--outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn--outline:hover { background: rgba(152, 27, 30, .06); }
.btn--light { background: var(--cream); color: var(--maroon); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { border-color: rgba(250, 240, 227, .8); color: var(--on-maroon); background: transparent; }
.btn--ghost-light:hover { background: rgba(250, 240, 227, .12); }

.link-btn {
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  color: var(--maroon); font-weight: 600; font-size: var(--fs-sm);
  display: inline-flex; align-items: center; gap: 8px;
}
.link-btn::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease);
}
.link-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 238, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar { transition: box-shadow .3s ease; }
.topbar.is-scrolled { box-shadow: 0 6px 24px rgba(42, 20, 12, .08); }
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.topbar__inner { display: flex; align-items: center; gap: 16px; height: var(--topbar-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--maroon); min-width: 0; flex: 1 1 auto; }
.brand__logo { width: 44px; height: 44px; flex: none; object-fit: contain; }
.brand__name { font-family: var(--font-brand); font-size-adjust: none; font-size: var(--fs-xs); line-height: 1.3; font-weight: 400; max-width: 240px; color: var(--maroon); }
.nav { display: none; }
.topbar__cta { display: none; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); cursor: pointer; font-size: var(--fs-sm); font-weight: 500; color: var(--maroon);
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--border); background: var(--surface); }
.mobile-menu ul { list-style: none; padding-top: 8px; padding-bottom: 16px; }
.mobile-menu a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--ink); font-size: var(--fs-base);
}
.mobile-menu li:last-child a { border-bottom: 0; }

@media (min-width: 960px) {
  .menu-btn, .mobile-menu { display: none !important; }
  .nav { display: block; }
  .topbar__cta { display: inline-flex; }
  .brand { flex: 0 1 auto; }
  .brand__logo { width: 52px; height: 52px; }
  .brand__name { font-size: var(--fs-sm); max-width: 270px; }
  .nav__list { display: flex; gap: 4px; list-style: none; margin-left: auto; }
  .nav { margin-left: auto; }
  .nav a {
    display: block; padding: 8px 12px; border-radius: var(--r-sm);
    text-decoration: none; color: var(--muted); font-size: var(--fs-sm); font-weight: 500;
    position: relative; transition: color .2s; white-space: nowrap;
  }
  .topbar__cta { flex: none; }
  .nav a:hover { color: var(--maroon); }
  .nav a.is-active { color: var(--maroon); }
  .nav a.is-active::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--maroon); border-radius: 2px;
  }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .nav__list { gap: 0; }
  .nav a { padding: 8px 9px; }
  .nav a.is-active::after { left: 9px; right: 9px; }
  .brand__name { max-width: 230px; font-size: var(--fs-xs); }
}
@media (min-width: 1200px) { .brand__name { max-width: 290px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--on-maroon); background: var(--maroon);
  min-height: calc(100svh - var(--topbar-h));
  display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); }
.hero__slide.is-zooming img { animation: kenburns 8.5s linear forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.05); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(110, 19, 22, .55) 0%, rgba(110, 19, 22, .78) 60%, rgba(70, 12, 14, .9) 100%);
}
.hero__inner {
  display: grid; gap: 32px; padding-top: 72px; padding-bottom: 40px; align-items: end;
}
.hero__title {
  color: #fff; font-weight: 400; font-size: var(--fs-hero); line-height: 1.08; letter-spacing: -.02em;
  max-width: 14ch; text-wrap: balance;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__eyebrow {
  margin: 0 0 12px; color: var(--laurel); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
}

/* Accolades: film-poster laurels, deliberately not button-like (no box, no border) */
.accolades {
  list-style: none; display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 0; padding: 0;
  color: var(--laurel); grid-column: 1 / -1; align-self: start;
}
.accolades + .hero__copy { margin-top: -8px; }
@media (min-width: 960px) {
  .accolades { padding-bottom: 28px; border-bottom: 1px solid rgba(227, 179, 65, .22); margin-bottom: 8px; }
  .laurel { width: 38px; height: 74px; }
  .accolade__title { font-size: var(--fs-base); }
  .accolade__text { max-width: 230px; }
}
.accolade {
  display: flex; align-items: center; gap: 6px; cursor: default;
  text-shadow: 0 1px 12px rgba(20, 4, 6, .45);
}
.laurel { display: block; width: 32px; height: 62px; flex: none; color: var(--laurel); opacity: .95; }
.laurel svg { width: 100%; height: 100%; display: block; }
.laurel--right svg { transform: scaleX(-1); }
.accolade__text { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 190px; }
.accolade__title {
  font-family: var(--font-head); font-size: var(--fs-sm); line-height: 1.2; font-weight: 500; color: #FFF6E6; letter-spacing: .01em;
}
.accolade__source {
  margin-top: 4px; font-size: var(--fs-xs); line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--laurel);
  font-feature-settings: "smcp"; font-weight: 500;
}

/* Phones: one accolade at a time, centred like a poster */
.accolades.is-rotating { display: grid; justify-items: start; min-height: 64px; }
.accolades.is-rotating .accolade {
  grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .7s ease, transform .7s var(--ease);
}
.accolades.is-rotating .accolade.is-active { opacity: 1; transform: none; }

/* Scroll cue: label + fine line with a gold segment flowing down */
.scroll-cue {
  position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: 18px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none;
  color: rgba(250, 240, 227, .85); transition: opacity .5s ease, transform .5s var(--ease);
}
.scroll-cue:hover { color: #fff; }
.scroll-cue__text { font-size: var(--fs-xs); letter-spacing: .24em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.scroll-cue__track { position: relative; width: 1px; height: 46px; background: rgba(250, 240, 227, .3); overflow: hidden; }
.scroll-cue__flow {
  position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: linear-gradient(transparent, var(--laurel));
  animation: cueflow 2.2s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes cueflow { 0% { top: -40%; } 100% { top: 100%; } }
.is-past-hero .scroll-cue { opacity: 0 !important; pointer-events: none; }

/* Values ticker */
.ticker { background: var(--maroon-deep); color: var(--on-maroon); overflow: hidden; border-top: 1px solid rgba(227, 179, 65, .25); }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item { font-family: var(--font-head); font-size: var(--fs-base); font-style: italic; padding: 14px 0; white-space: nowrap; }
.ticker__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--laurel); margin: 0 28px; flex: none; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* "Next up" — solid cream card with a travelling gold border, so it stands out on the photo */
.next-card { max-width: 440px; width: 100%; position: relative; }
.next-strip {
  position: relative; isolation: isolate; display: flex; align-items: center; gap: 14px;
  padding: 12px 12px 12px 12px; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: var(--cream);
  box-shadow: 0 18px 40px rgba(20, 4, 6, .35), 0 2px 6px rgba(20, 4, 6, .2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
/* animated gold ring (a rotating gradient seen only through a 2px border gap) */
.next-strip::before {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: 16px;
  background: conic-gradient(from var(--ring, 0deg), #E3B341, #FFF1C7 12%, #A87C0A 25%, #E3B341 40%, #7A5A06 60%, #FFF1C7 75%, #E3B341);
  animation: ring 6s linear infinite;
}
.next-strip::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 14px; background: var(--cream); }
@property --ring { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ring { to { --ring: 360deg; } }
.next-strip:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(20, 4, 6, .4), 0 2px 6px rgba(20, 4, 6, .2); }
.next-strip__date {
  flex: none; width: 58px; height: 64px; border-radius: 10px; background: var(--maroon); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15);
}
.next-strip__day { font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 600; }
.next-strip__mon { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: 3px; color: var(--laurel); }
.next-strip__body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.next-strip__label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--fs-xs); }
.next-strip__tag {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--maroon); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.next-strip__tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--maroon);
  animation: live 1.8s ease-out infinite;
}
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(152, 27, 30, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(152, 27, 30, 0); } }
.next-strip__count {
  padding: 1px 9px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); font-weight: 600;
}
.next-strip__example { font-weight: 600; color: #8A1C1C; }
.next-strip__title {
  font-family: var(--font-head); font-size: var(--fs-md); line-height: 1.25; color: var(--ink); font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.next-strip__arrow {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--maroon); color: var(--cream); font-size: var(--fs-md); transition: transform .25s var(--ease), background-color .25s;
}
.next-strip:hover .next-strip__arrow { transform: translateX(3px); background: var(--maroon-deep); }

@media (min-width: 960px) {
  .hero { min-height: min(calc(100vh - var(--topbar-h)), 780px); align-items: center; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px 56px; padding-top: 56px; padding-bottom: 116px; align-items: end; }
  .hero__title { font-size: var(--fs-hero); max-width: 15ch; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }
.section--surface { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--maroon { background: var(--maroon); color: var(--on-maroon); }
.section--maroon .section-title { color: #fff; }
.section--maroon a:not(.btn) { color: #fff; }

.eyebrow {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--maroon); margin: 0 0 8px;
}
.eyebrow:empty { display: none; }
.eyebrow--light { color: var(--on-maroon-muted); }
.section-title { font-size: var(--fs-2xl); margin-bottom: 24px; color: var(--maroon); }
.section-intro { color: var(--muted); max-width: 62ch; font-size: var(--fs-base); margin-bottom: 32px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 32px; }
.section-head .section-title { margin-bottom: 0; }

/* Reveal on scroll (only when JS is running) */
.js-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about { display: grid; gap: 40px; }
.lede { font-family: var(--font-head); font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); max-width: 38ch; margin-bottom: 16px; font-weight: 400; }
.collapsible { overflow: hidden; transition: height .45s var(--ease); max-width: 68ch; color: var(--ink); }
.collapsible > :first-child { padding-top: 8px; }
.collapsible ul { list-style: none; margin: 0 0 1em; display: grid; gap: 8px; }
.collapsible li { position: relative; padding-left: 24px; }
.collapsible li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 2px; background: var(--gold); }
.about__aside { position: relative; }
.about__photos { position: relative; padding-bottom: 18%; margin-bottom: 8px; }
.about__photo { margin: 0; overflow: hidden; border-radius: var(--r-card); box-shadow: var(--shadow); background: var(--border); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--1 { aspect-ratio: 4 / 3; width: 86%; margin-left: auto; }
.about__photo--2 {
  position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 1 / 1;
  border: 6px solid var(--cream); will-change: transform;
}
.stat {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: var(--r-card); padding: 20px 24px; box-shadow: var(--shadow); margin-top: 16px;
}
.stat__value { font-family: var(--font-head); font-size: var(--fs-display); line-height: 1; color: var(--maroon); font-weight: 400; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: var(--fs-sm); max-width: 24ch; }
@media (min-width: 640px) and (max-width: 959px) {
  .about__aside { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: end; }
}
@media (min-width: 960px) {
  .about { grid-template-columns: minmax(0, 1fr) 420px; gap: 72px; align-items: start; }
  .stat { position: absolute; right: -16px; bottom: -36px; margin: 0; max-width: 230px; }
  .about__photos { margin-bottom: 0; }
  .about__aside { padding-bottom: 36px; }
}

/* ---------- Tabs (generic) ---------- */
.tablist { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 32px; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab {
  background: none; border: 0; cursor: pointer; flex: none;
  padding: 12px 16px; min-height: 48px; font-size: var(--fs-base); font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--maroon); }
.tab[aria-selected="true"] { color: var(--maroon); border-bottom-color: var(--maroon); }
.tab--lg { font-family: var(--font-head); font-size: var(--fs-lg); padding: 12px 20px; }
.tabpanel:focus-visible { outline-offset: 8px; }

/* Vision / Mission / Values: tappable cards with a visible prompt */
.dtabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border: 0; overflow: visible; margin-bottom: 32px;
}
.dtab {
  position: relative; overflow: hidden; text-align: left; margin: 0; padding: 0; min-height: 0;
  border: 1px solid var(--border); border-radius: var(--r-card); background: var(--cream); color: var(--ink);
  box-shadow: 0 1px 0 rgba(42, 20, 12, .03); transition: border-color .25s, background-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.dtab:hover { border-color: var(--maroon); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.dtab[aria-selected="true"] { background: var(--maroon); border-color: var(--maroon); color: var(--on-maroon); box-shadow: var(--shadow-lift); }
.dtab__inner { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 18px; }
.dtab__num { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.dtab[aria-selected="true"] .dtab__num { color: var(--on-maroon-muted); }
.dtab__label { font-family: var(--font-head); font-size: var(--fs-xl); line-height: 1.15; font-weight: 500; }
.dtab__cta { font-size: var(--fs-xs); font-weight: 600; color: var(--maroon); margin-top: 4px; }
.dtab[aria-selected="true"] .dtab__cta { color: var(--on-maroon-muted); }
.dtab__cta-active { display: none; }
.dtab[aria-selected="true"] .dtab__cta-idle { display: none; }
.dtab[aria-selected="true"] .dtab__cta-active { display: inline; }
.dtab__mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .dtab__mouse { display: inline; } .dtab__touch { display: none; } }
.dtab__arrow { display: inline-block; margin-left: 4px; }
.dtabs.is-inview .dtab:not([aria-selected="true"]) .dtab__arrow { animation: nudge 1.1s ease-in-out 3; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.dtab__progress {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--laurel);
  transform: scaleX(0); transform-origin: left;
}
.dtabs.is-autoplay .dtab[aria-selected="true"] .dtab__progress { animation: dprogress 5s linear forwards; }

/* Glow on the next card until the visitor has tapped one */
.dtabs:not(.is-touched) .dtab.is-next { border-color: var(--gold); animation: dglow 1.8s ease-in-out infinite; }
.dtabs:not(.is-touched) .dtab.is-next .dtab__cta { color: var(--gold-text); }
@keyframes dglow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168, 124, 10, 0), 0 1px 0 rgba(42, 20, 12, .03); }
  50% { box-shadow: 0 0 0 4px rgba(168, 124, 10, .22), 0 0 22px 2px rgba(168, 124, 10, .35); }
}
.dtabs.is-paused .dtab__progress, .dtabs.is-hovering .dtab__progress { animation-play-state: paused !important; }
@keyframes dprogress { to { transform: scaleX(1); } }
@media (max-width: 399px) {
  .dtabs { gap: 8px; }
  .dtab__inner { padding: 12px 10px 16px; }
}
@media (min-width: 640px) { .dtabs { gap: 16px; } .dtab__inner { padding: 20px 22px 24px; } }
.tabpanel.is-entering { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.drives-text { font-size: var(--fs-base); max-width: 68ch; }
.pillars { list-style: none; display: grid; gap: 16px; margin: 24px 0 32px; counter-reset: pillar; }
.pillar {
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px;
  counter-increment: pillar; position: relative;
}
.pillar::before {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); margin-bottom: 20px;
}
.pillar h3 { font-size: var(--fs-lg); color: var(--maroon); }
.pillar p { color: var(--muted); margin: 8px 0 0; font-size: var(--fs-sm); }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.values { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.value-chip {
  font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.25;
  padding: 16px 24px; border-radius: var(--r-card); background: var(--cream); border: 1px solid var(--border); color: var(--maroon);
}
.values.is-staggering .value-chip { animation: chip-in .5s var(--ease) both; animation-delay: calc(var(--i) * 80ms); }
@keyframes chip-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Workshops ---------- */
.segmented {
  display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
}
.segmented button {
  border: 0; background: none; cursor: pointer; min-height: 40px; padding: 8px 18px; border-radius: 7px;
  font-size: var(--fs-sm); font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s;
}
.segmented button[aria-selected="true"] { background: var(--maroon); color: var(--on-maroon); }

.date-badge {
  flex: none; width: 68px; text-align: center; border-radius: var(--r-sm);
  background: var(--maroon); color: var(--on-maroon); padding: 8px 4px; line-height: 1.1;
}
.date-badge__m { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.date-badge__d { display: block; font-family: var(--font-head); font-size: var(--fs-xl); line-height: 1.1; }
.date-badge__y { display: block; font-size: var(--fs-xs); opacity: .85; }
.date-badge--muted { background: var(--border); color: var(--ink); }

.ws-featured {
  display: grid; gap: 24px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow);
}
.ws-featured__top { display: flex; gap: 20px; align-items: flex-start; }
.ws-featured .date-badge { width: 84px; padding: 12px 4px; }
.ws-featured .date-badge__d { font-size: var(--fs-2xl); }
.ws-label { display: inline-block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon); margin-bottom: 8px; }
.ws-label--gold { background: var(--gold-soft); color: var(--gold-text); padding: 2px 8px; border-radius: 6px; }
.ws-featured__title { font-size: var(--fs-xl); line-height: 1.25; }
.ws-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; color: var(--muted); font-size: var(--fs-sm); }
.ws-meta li { display: inline-flex; gap: 6px; }
.ws-meta strong { font-weight: 600; color: var(--ink); }
.ws-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ws-countdown { font-weight: 600; color: var(--maroon); font-size: var(--fs-sm); }
@media (min-width: 960px) {
  .ws-featured { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 32px; }
  .ws-actions { justify-content: flex-end; }
}

.ws-list { list-style: none; display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 640px) { .ws-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .ws-list--concluded { grid-template-columns: repeat(3, 1fr); } }
.ws-card {
  display: flex; flex-direction: column; gap: 16px; height: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 20px;
}
.ws-card__top { display: flex; gap: 16px; align-items: flex-start; }
.ws-card__title { font-size: var(--fs-md); line-height: 1.3; font-family: var(--font-head); font-weight: 500; }
.ws-card .ws-actions { margin-top: auto; }
.ws-card .ws-meta { font-size: var(--fs-xs); margin-top: 8px; }
.ws-status { display: inline-block; font-size: var(--fs-xs); font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.ws-example { display: inline-block; font-size: var(--fs-xs); font-weight: 600; color: #8A1C1C; background: #FBE9E7; border-radius: 6px; padding: 2px 8px; margin-bottom: 8px; }

.empty {
  text-align: center; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--r-card); padding: 48px 24px;
}
.empty p { font-family: var(--font-head); font-size: var(--fs-lg); margin-bottom: 20px; }

/* ---------- Grid ---------- */
.grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- Programme cards ---------- */
.programme-card {
  position: relative; height: 100%; cursor: pointer; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px 22px 18px;
  box-shadow: 0 1px 0 rgba(42, 20, 12, .03);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.programme-card:hover, .programme-card:focus-within { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #DCC7A6; }
.programme-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--maroon);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.programme-card:hover::before, .programme-card:focus-within::before { transform: scaleX(1); }
.programme-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.programme-card__icon-wrap {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(168, 124, 10, .25);
  transition: background-color .3s;
}
.programme-card:hover .programme-card__icon-wrap { background: #F2DDAA; }
.programme-card__icon { width: 36px; height: 36px; object-fit: contain; mix-blend-mode: multiply; }
.programme-card__num {
  font-family: var(--font-head); font-size: var(--fs-xl); line-height: 1; font-weight: 500;
  color: var(--gold); opacity: .55; transition: opacity .3s;
}
.programme-card:hover .programme-card__num { opacity: 1; }
.programme-card__btn { all: unset; cursor: pointer; display: inline; }
.programme-card__btn::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); z-index: 1; }
.programme-card__btn:focus-visible { outline: none; }
.programme-card__btn:focus-visible::after { outline: 2px solid var(--maroon); outline-offset: 3px; }
.focus-tile img, .drawer__icon { mix-blend-mode: multiply; }
.programme-card__title { font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.22; font-weight: 500; color: var(--maroon); }
.programme-card__sub { color: var(--muted); font-size: var(--fs-sm); line-height: 1.45; margin: 0; font-style: italic; }
.programme-card__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.programme-card__duration {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0;
  font-size: var(--fs-xs); line-height: 1.35; color: var(--muted);
}
.programme-card__duration::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.programme-card__more { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--maroon); white-space: nowrap; }
.programme-card__more-arrow { display: inline-block; transition: transform .25s var(--ease); }
.programme-card:hover .programme-card__more-arrow { transform: translateX(3px); }
.carousel-nav { display: none; }
.chip {
  display: inline-block; font-size: var(--fs-xs); line-height: 1.35; padding: 6px 12px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--border); color: var(--ink);
}
.chip--duration { color: var(--muted); }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(30, 10, 12, .5); opacity: 0; transition: opacity .3s ease; }
.drawer__panel {
  position: absolute; inset: 0; background: var(--surface); display: flex; flex-direction: column;
  transform: translateY(24px); opacity: 0; transition: transform .35s var(--ease), opacity .3s ease;
  outline: none;
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; opacity: 1; }
.drawer__head {
  display: flex; align-items: center; gap: 16px; padding: 16px var(--gutter);
  border-bottom: 1px solid var(--border); background: var(--surface); flex: none;
}
.drawer__icon { height: 40px; width: auto; flex: none; }
.drawer__title { font-size: var(--fs-xl); line-height: 1.25; flex: 1; }
.drawer__close {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--border); background: var(--cream); cursor: pointer; color: var(--ink);
}
.drawer__close:hover { background: #fff; color: var(--maroon); }
.drawer__body { overflow-y: auto; padding: 24px var(--gutter) 48px; flex: 1; overscroll-behavior: contain; }
.drawer__body > * + * { margin-top: 24px; }
.drawer__body p { margin-bottom: 0; }
.drawer__body > p + p { margin-top: 16px; }
.drawer__body h3 { font-size: var(--fs-md); margin-bottom: 12px; }
.d-label { font-weight: 600; color: var(--maroon); }
.d-duration { display: block; padding: 16px; background: var(--cream); border-radius: var(--r-sm); border: 1px solid var(--border); }
.d-list { list-style: none; display: grid; gap: 8px; }
.d-list > li { position: relative; padding-left: 24px; }
.d-list > li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--gold); }
.d-list--plain > li { padding-left: 0; }
.d-list--plain > li::before { display: none; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { background: var(--cream); }

.disclosure { border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--cream); }
.disclosure__btn {
  width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; justify-content: space-between;
  background: none; border: 0; cursor: pointer; padding: 14px 16px; font-weight: 500; color: var(--ink); min-height: 48px;
}
.disclosure__btn::after {
  content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--maroon); border-bottom: 2px solid var(--maroon);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.disclosure__btn[aria-expanded="true"]::after { transform: rotate(-135deg); }
.disclosure__body { padding: 0 16px 16px; }
.disclosure__body > * + * { margin-top: 12px; }
.disclosure__body ul { padding-left: 20px; display: grid; gap: 6px; }

.focus-tiles { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.focus-tile {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 16px 8px; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--cream); cursor: pointer;
  font-weight: 500; font-size: var(--fs-sm); transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.focus-tile img { width: 40px; height: 40px; object-fit: contain; }
.focus-tile:hover { border-color: var(--maroon); }
.focus-tile[aria-pressed="true"] { border-color: var(--maroon); background: #fff; box-shadow: inset 0 0 0 1px var(--maroon); }
@media (min-width: 640px) { .focus-tiles { grid-template-columns: repeat(4, 1fr); } }

.wk-chips { list-style: none; display: grid; gap: 8px; }
.wk-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-sm); background: var(--cream); border: 1px solid var(--border); font-size: var(--fs-sm); line-height: 1.4;
}
.wk-chip a { flex: none; font-size: var(--fs-xs); font-weight: 600; text-decoration: none; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--maroon); }
.wk-chip a:hover { background: var(--maroon); color: var(--on-maroon); }

.stepper { list-style: none; display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; position: relative; padding-bottom: 24px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--border);
}
.step:last-child::before { display: none; }
.step__letter {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--maroon); color: var(--on-maroon); font-family: var(--font-head); font-size: var(--fs-lg); position: relative; z-index: 1;
}
.step__text { align-self: center; font-weight: 500; }

@media (min-width: 640px) {
  .drawer__panel {
    inset: 0 0 0 auto; width: min(640px, 100%);
    transform: translateX(32px); box-shadow: -20px 0 60px rgba(30, 10, 12, .2);
  }
  .drawer.is-open .drawer__panel { transform: none; }
  .drawer__head { padding: 20px 32px; }
  .drawer__body { padding: 32px 32px 56px; }
  .stepper { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .step { grid-template-columns: 1fr; gap: 12px; padding-bottom: 0; }
  .step::before { left: 48px; right: -12px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .step__text { align-self: start; font-size: var(--fs-sm); line-height: 1.45; }
}
body.drawer-open { overflow: hidden; }

/* ---------- People ---------- */
.person {
  display: flex; align-items: center; gap: 16px; height: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 16px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.person:hover, .person:focus-within { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.person__photo {
  width: 88px; height: 88px; border-radius: 50%; flex: none; overflow: hidden; background: var(--border);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.person__photo img.is-loaded { opacity: 1; }
.person__photo img { transition: opacity .6s ease, transform .5s var(--ease); }
.person:hover .person__photo img, .person:focus-within .person__photo img { transform: scale(1.06); }
.person__photo { box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--border); transition: box-shadow .3s; }
.person:hover .person__photo { box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--gold); }
.person__name { font-size: var(--fs-md); line-height: 1.3; }
.person__role { color: var(--muted); font-size: var(--fs-sm); margin: 4px 0 0; line-height: 1.45; }
@media (min-width: 640px) {
  .person { flex-direction: column; text-align: center; padding: 32px 24px; }
  .person__photo { width: 128px; height: 128px; }
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; }
.contact__address { font-size: var(--fs-base); line-height: 1.7; color: var(--on-maroon); margin-bottom: 16px; }
.contact__address span { display: block; }
.contact__address span:first-child { font-family: var(--font-head); font-size: var(--fs-lg); color: #fff; }
.contact__map { font-weight: 500; }
.contact__list { display: grid; gap: 0; align-content: start; }
.contact__row { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid rgba(250, 240, 227, .2); }
.contact__row:first-child { border-top: 1px solid rgba(250, 240, 227, .2); }
.contact__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--on-maroon-muted); font-weight: 600; }
.contact__value { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: var(--fs-base); word-break: break-word; }
.contact__phones { gap: 0 24px; }
.contact__value a, .contact__map, .footer__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.copy-btn {
  min-height: 36px; padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(250, 240, 227, .5);
  background: transparent; color: var(--on-maroon); font-size: var(--fs-xs); font-weight: 500; cursor: pointer;
}
.copy-btn:hover { background: rgba(250, 240, 227, .12); }
.copy-status { font-size: var(--fs-xs); color: var(--gold-soft); min-height: 1em; }
.contact__cta { margin-top: 24px; justify-self: start; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1fr; gap: 72px; } .contact__row { grid-template-columns: 120px 1fr; align-items: center; } }

/* ---------- Social media buttons ---------- */
.socials { gap: 10px; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: none;
  width: 44px; height: 44px; border-radius: 50%; text-decoration: none;
  color: var(--on-maroon); border: 1px solid rgba(250, 240, 227, .4); background: transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.social-btn:hover { background: var(--laurel); border-color: var(--laurel); color: var(--ink); transform: translateY(-2px); }
.social-btn__icon { display: inline-flex; }
.social-btn__icon svg { display: block; }
.section--maroon a.social-btn--named, .social-btn--named {
  width: auto; height: 46px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--cream); color: var(--maroon); border-color: var(--cream);
  font-weight: 600; font-size: var(--fs-sm); text-decoration: none;
}
.section--maroon a.social-btn--named:hover { background: var(--laurel); border-color: var(--laurel); color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--maroon-deep); color: var(--on-maroon-muted); padding: 56px 0 0; font-size: var(--fs-sm); }
.footer p { margin: 0; }
.footer a { color: var(--on-maroon); text-decoration: none; }
.footer a:hover { color: var(--laurel); }
.footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 40px; }
.footer__logo { width: 64px; height: 64px; background: var(--cream); border-radius: 50%; padding: 8px; margin-bottom: 16px; }
.footer__name { font-family: var(--font-brand); font-size-adjust: none; font-size: 15px; line-height: 1.5; color: #fff; max-width: 260px; margin-bottom: 12px !important; }
.footer__address { display: flex; flex-direction: column; line-height: 1.6; }
.footer__heading { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--laurel); margin-bottom: 14px !important; }
.footer__list { list-style: none; display: grid; gap: 2px; }
.footer__list a { display: inline-flex; align-items: center; min-height: 36px; }
.footer__enquire { font-weight: 600; color: var(--laurel) !important; }
.footer__socials { display: flex; flex-direction: column; gap: 14px; }
.footer__social-group { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__social-label { font-size: var(--fs-xs); letter-spacing: .06em; color: var(--on-maroon-muted); }
.footer__social-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.footer .social-btn { width: 40px; height: 40px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
  padding-top: 18px; padding-bottom: 96px; border-top: 1px solid rgba(250, 240, 227, .14); font-size: var(--fs-xs);
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 48px; }
  .footer__bottom { padding-bottom: 24px; }
}

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 39; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none; font-size: var(--fs-md);
  background: var(--cream); color: var(--maroon); border: 1px solid var(--border); box-shadow: var(--shadow-lift);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background-color .2s;
}
.to-top:hover { background: var(--laurel); color: var(--ink); }
.show-top .to-top { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 639px) {
  .to-top { right: 14px; bottom: 76px; width: 44px; height: 44px; }
  .footer { padding-top: 44px; }
  .footer__list a, .footer__bottom a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer__grid { gap: 28px; }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  display: flex; align-items: center; justify-content: center; min-height: 52px;
  background: var(--maroon); color: var(--on-maroon); border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px rgba(40, 6, 10, .3);
  transition: transform .3s var(--ease), opacity .3s;
  margin-bottom: env(safe-area-inset-bottom);
}
.sticky-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 640px) { .sticky-cta { left: auto; right: 24px; width: 280px; } }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* ---------- Splash screen ---------- */
.splash {
  position: fixed; inset: 0; z-index: 300; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px;
  background: radial-gradient(ellipse at 50% 40%, #FFF8EE 0%, var(--cream) 60%, #F3E4CF 100%);
  transition: opacity .6s ease, visibility .6s;
}
.has-splash .splash { display: flex; }
.splash.is-done { opacity: 0; visibility: hidden; }
.splash__logo { position: relative; width: 132px; height: 132px; }
.splash__logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash__base { filter: grayscale(1); opacity: .16; }
.splash__fill { clip-path: inset(100% 0 0 0); animation: logofill 1.25s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
@keyframes logofill { to { clip-path: inset(0 0 0 0); } }
.splash__name {
  margin: 0; max-width: 270px; text-align: center; text-wrap: balance;
  font-family: var(--font-brand); font-size-adjust: none; font-size: 15px; line-height: 1.45; color: var(--maroon);
  opacity: 0; transform: translateY(8px); animation: splashname .7s var(--ease) .55s forwards;
}
@keyframes splashname { to { opacity: 1; transform: none; } }
.splash__bar { width: 120px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.splash__bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: splashbar 1.4s cubic-bezier(.65, 0, .35, 1) .15s forwards; }
@keyframes splashbar { to { transform: scaleX(1); } }
.has-splash body { overflow: hidden; }
.has-splash.is-loaded body { overflow: auto; }

/* Hero intro: elements rise in one after another once the page is ready */
.js-ready .hero-anim { opacity: 0; transform: translateY(16px); }
.js-ready.is-loaded .hero-anim {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s);
}

/* ---------- Motion: quiet, premium details ---------- */
/* A short gold line draws in under each section title */
.section-title::after {
  content: ""; display: block; width: 44px; height: 2px; margin-top: 14px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .2s;
}
.section--maroon .section-title::after { background: var(--laurel); }
.section-head .section-title::after { margin-top: 12px; }
.reveal.is-visible .section-title::after, html:not(.js-ready) .section-title::after { transform: scaleX(1); }

/* Cards cascade in one after another */
.js-ready .reveal .stagger { opacity: 0; transform: translateY(18px); }
.js-ready .reveal.is-visible .stagger {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .25s, border-color .25s;
  transition-delay: calc(var(--n, 0) * 70ms + 120ms);
}
.js-ready .reveal.is-visible .programme-card.stagger:hover,
.js-ready .reveal.is-visible .person.stagger:hover,
.js-ready .reveal.is-visible .person.stagger:focus-within { transform: translateY(-3px); transition-delay: 0s; }
@media (max-width: 639px) { .js-ready .reveal.is-visible .programme-card.stagger:hover { transform: none; } }
.hero__media { will-change: transform; }

/* ---------- Desktop: show more, hide less ---------- */
.drives-grid, .ws-subhead, .programme-card__about { display: none; }
@media (min-width: 960px) {
  /* Vision / Mission / Values side by side, always open */
  #drives-tabs { display: none; }
  .drives-grid { display: grid; grid-template-columns: 1fr 1.25fr 0.9fr; gap: 24px; align-items: stretch; }
  .drive-col {
    position: relative; background: var(--cream); border: 1px solid var(--border); border-radius: var(--r-card);
    padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  }
  .drive-col::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .15s; }
  .reveal.is-visible .drive-col::before { transform: scaleX(1); }
  .drive-col__num { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; color: var(--gold-text); }
  .drive-col__title { font-size: var(--fs-xl); color: var(--maroon); }
  .drive-col__text { margin: 0; font-size: var(--fs-base); line-height: 1.65; }
  .drive-pillars { list-style: none; display: grid; gap: 8px; margin: 2px 0; }
  .drive-pillars li {
    display: flex; flex-direction: column; padding: 10px 14px; border-radius: var(--r-sm);
    background: var(--surface); border-left: 3px solid var(--gold);
  }
  .drive-pillars__name { font-family: var(--font-head); font-size: var(--fs-md); color: var(--maroon); }
  .drive-pillars__desc { font-size: var(--fs-sm); color: var(--muted); }
  .drive-values { list-style: none; display: grid; gap: 8px; margin-top: 2px; }
  .drive-values li {
    font-family: var(--font-head); font-size: var(--fs-md); color: var(--maroon);
    padding: 10px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border);
    opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
    transition-delay: calc(var(--i) * 90ms + .2s);
  }
  .reveal.is-visible .drive-values li { opacity: 1; transform: none; }

  /* About: full text, no Read more */
  #about-more[hidden] { display: block !important; }
  #about-toggle { display: none; }

  /* Workshops: upcoming and concluded both visible */
  #ws-switch { display: none; }
  #ws-panel-concluded[hidden] { display: block !important; }
  .ws-subhead { display: block; font-size: var(--fs-lg); color: var(--muted); margin: 40px 0 4px; font-weight: 500; }

  /* Programme cards: short preview of the programme */
  .programme-card__about {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    margin: 2px 0 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink); opacity: .85;
  }
}

/* ---------- Loading skeleton (removed by main.js once content is ready) ---------- */
.skel {
  display: block; border-radius: 8px;
  background: linear-gradient(90deg, #F0E2CD 0%, #F8EEE0 45%, #F0E2CD 90%);
  background-size: 220% 100%; animation: shimmer 1.3s ease-in-out infinite;
}
.skel--dark { background: linear-gradient(90deg, rgba(250,240,227,.14) 0%, rgba(250,240,227,.3) 45%, rgba(250,240,227,.14) 90%); background-size: 220% 100%; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -100% 0; } }
.skel-wrap { display: block; list-style: none; }
html:not(.js) [data-skeleton] { display: none !important; }
.skel-line { height: 14px; margin: 10px 0; width: 100%; }
.skel-line:last-child { width: 62%; }
.skel-lede .skel-line { height: 18px; margin: 12px 0; }
.skel-dtabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.skel-card { height: 92px; border-radius: var(--r-card); }
.skel-ws { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); }
.skel-badge { width: 64px; height: 72px; flex: none; }
.skel-col { flex: 1; }
.skel-prog { padding: 22px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); min-height: 230px; }
.skel-circle { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 18px; }
.skel-person { display: flex; flex-direction: column; align-items: center; padding: 24px 12px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); }
.skel-avatar { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 8px; }
.skel-person .skel-line { margin: 6px auto; }
.about__photo.skel { border: 0; }
@media (max-width: 639px) {
  .programme-grid > .skel-prog { flex: 0 0 82%; }
  .skel-avatar { width: 68px; height: 68px; }
  .skel-card { height: 76px; }
}

/* ---------- Misc ---------- */
.noscript, .load-error {
  max-width: 1200px; margin: 24px auto; padding: 16px 24px; background: var(--gold-soft); color: var(--ink); border-radius: var(--r-sm);
}
.load-error { position: fixed; left: 16px; right: 16px; bottom: 84px; z-index: 60; box-shadow: var(--shadow); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================
   Phones (under 640px): tighter, denser, less scrolling
   ========================================================= */
@media (max-width: 639px) {
  :root { --section-pad: 40px; --topbar-h: 60px; }
  body { line-height: 1.55; }

  /* Header */
  .brand { gap: 10px; }
  .brand__logo { width: 42px; height: 42px; }
  .brand__name { font-size: var(--fs-xs); max-width: 200px; }
  .menu-btn { min-height: 42px; padding: 6px 10px; font-size: var(--fs-xs); }

  /* Section basics */
  .section-title { font-size: var(--fs-xl); margin-bottom: 16px; }
  .eyebrow { margin-bottom: 6px; letter-spacing: .1em; }
  .section-intro { font-size: var(--fs-sm); margin-bottom: 20px; }
  .section-head { margin-bottom: 20px; gap: 14px; }

  /* Hero: the centre's name leads. Order on phones:
     eyebrow → NAME → gold rule → accolade → buttons → Next up strip */
  .hero { min-height: 0; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(70, 12, 14, .82) 0%, rgba(110, 19, 22, .72) 45%, rgba(70, 12, 14, .92) 100%);
  }
  .hero__inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 36px; padding-bottom: 100px; }
  .scroll-cue { bottom: 14px; gap: 8px; }
  .scroll-cue__track { height: 36px; }
  .hero__inner > * { align-self: stretch; }
  .hero__copy { display: contents; }
  .hero__eyebrow { order: 1; margin-bottom: 10px; font-size: var(--fs-xs); letter-spacing: .22em; }
  .hero__title {
    order: 2; font-size: clamp(36px, 10vw, 46px); max-width: none; line-height: 1.02; letter-spacing: -.01em;
    text-shadow: 0 2px 18px rgba(20, 4, 6, .35);
  }
  .hero__title::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 16px; background: var(--laurel); border-radius: 2px; }
  /* Accolade: one quiet supporting line under the name */
  .accolades { order: 3; margin-top: 14px; }
  .accolades.is-rotating { min-height: 38px; }
  .accolade { gap: 8px; text-shadow: none; }
  .laurel { width: 14px; height: 30px; opacity: .85; }
  .accolade__text { max-width: none; }
  .accolade__title { font-size: var(--fs-sm); line-height: 1.2; white-space: nowrap; color: rgba(255, 246, 230, .92); }
  .accolade__source { margin-top: 1px; font-size: var(--fs-xs); letter-spacing: .05em; }
  .hero__actions { order: 4; margin-top: 22px; gap: 10px; flex-wrap: nowrap; }
  .hero__actions .btn { flex: 1 1 0; min-height: 46px; padding: 10px 12px; font-size: var(--fs-sm); }
  /* Next up: standout card at the foot of the hero */
  .next-card { order: 5; margin-top: 26px; max-width: none; }
  .next-strip { padding: 10px; gap: 12px; }
  .next-strip__date { width: 52px; height: 58px; }
  .next-strip__day { font-size: var(--fs-lg); }
  .next-strip__title { font-size: var(--fs-sm); }
  .next-strip__arrow { width: 36px; height: 36px; }

  /* Ticker */
  .ticker__item { font-size: var(--fs-sm); padding: 10px 0; }
  .ticker__dot { margin: 0 18px; }

  /* About: photos side by side, stat as a compact strip */
  .about { gap: 24px; }
  .lede { font-size: var(--fs-base); line-height: 1.5; margin-bottom: 8px; }
  .collapsible { font-size: var(--fs-sm); }
  .about__aside { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .about__photos { display: contents; }
  .about__photo--1, .about__photo--2 {
    position: static; width: 100%; aspect-ratio: 4 / 3; margin: 0; border: 0; transform: none !important;
  }
  .stat {
    grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; margin: 0; padding: 12px 16px;
  }
  .stat__value { font-size: var(--fs-display); }
  .stat__label { font-size: var(--fs-sm); }

  /* What drives us */
  .dtabs { gap: 8px; margin-bottom: 20px; }
  .dtab__inner { padding: 12px 10px 14px; gap: 2px; }
  .dtab__label { font-size: var(--fs-md); }
  .dtab__cta { font-size: var(--fs-xs); line-height: 1.3; }
  .drives-text { font-size: var(--fs-sm); }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 20px; }
  .pillar { padding: 14px 10px; }
  .pillar::before { margin-bottom: 10px; width: 20px; }
  .pillar h3 { font-size: var(--fs-sm); line-height: 1.25; }
  .values { gap: 8px; margin-top: 16px; }
  .value-chip { font-size: var(--fs-sm); padding: 10px 14px; border-radius: var(--r-sm); }

  /* Workshops */
  .segmented button { min-height: 42px; padding: 8px 16px; font-size: var(--fs-xs); }
  .brand { min-height: 44px; }
  .copy-btn { min-height: 42px; }
  .ws-featured { padding: 16px; gap: 16px; }
  .ws-featured__top { gap: 14px; }
  .ws-featured .date-badge { width: 64px; padding: 8px 4px; }
  .ws-featured .date-badge__d { font-size: var(--fs-xl); }
  .ws-featured__title { font-size: var(--fs-md); }
  .ws-meta { font-size: var(--fs-xs); margin-top: 8px; }
  .ws-actions { gap: 8px; }
  .ws-featured .ws-actions .btn { flex: 1 1 0; min-height: 44px; padding: 10px 12px; font-size: var(--fs-sm); }
  .ws-list { gap: 10px; margin-top: 10px; }
  .ws-card { padding: 14px; gap: 12px; }
  .ws-card__top { gap: 12px; }
  .ws-card__title { font-size: var(--fs-sm); }
  .date-badge { width: 56px; padding: 6px 2px; }
  .date-badge__d { font-size: var(--fs-lg); }
  .empty { padding: 28px 16px; }
  .empty p { font-size: var(--fs-base); }

  /* Programmes: swipeable row of cards (next card peeks in) */
  .grid { gap: 10px; }
  .chip { font-size: var(--fs-xs); padding: 4px 10px; }
  .programme-grid {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 14px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .programme-grid::-webkit-scrollbar { display: none; }
  .programme-grid > .programme-card { flex: 0 0 82%; scroll-snap-align: start; height: auto; }
  .programme-card { padding: 18px 18px 14px; }
  .programme-card:hover, .programme-card:focus-within { transform: none; }
  .programme-card__icon-wrap { width: 52px; height: 52px; }
  .programme-card__icon { width: 30px; height: 30px; }
  .programme-card__num { font-size: var(--fs-xl); }
  .programme-card__title { font-size: var(--fs-md); }
  .programme-card__sub { font-size: var(--fs-sm); }
  .programme-card__foot { padding-top: 12px; flex-direction: column; align-items: flex-start; gap: 8px; }

  .carousel-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
  .carousel-dots { display: flex; gap: 6px; }
  .carousel-dot {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--border); cursor: pointer;
    transition: width .3s var(--ease), background-color .3s;
  }
  .carousel-dot.is-active { width: 22px; background: var(--maroon); }
  .carousel-hint { display: inline-flex; gap: 12px; font-size: var(--fs-xs); color: var(--muted); }
  .carousel-count { font-variant-numeric: tabular-nums lining-nums; }
  .carousel-swipe { color: var(--maroon); font-weight: 600; transition: opacity .3s; }
  .carousel-nav.is-scrolled .carousel-swipe { opacity: 0; }

  /* People: two per row, compact */
  .people-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .person { flex-direction: column; text-align: center; gap: 8px; padding: 14px 8px; justify-content: flex-start; }
  .person__photo { width: 68px; height: 68px; }
  .person__name { font-size: var(--fs-sm); }
  .person__role { font-size: var(--fs-xs); line-height: 1.35; }

  /* Contact */
  .contact { gap: 24px; }
  .contact__address { font-size: var(--fs-sm); line-height: 1.6; margin-bottom: 4px; }
  .contact__address span:first-child { font-size: var(--fs-base); }
  .contact__row { padding: 8px 0; gap: 0; }
  .contact__value { font-size: var(--fs-sm); }
  .contact__cta { margin-top: 16px; width: 100%; }

  /* Footer + sticky button */
  .sticky-cta { left: 12px; right: 12px; bottom: 12px; min-height: 48px; }

  /* Drawer */
  .drawer__head { padding: 12px var(--gutter); gap: 12px; }
  .drawer__icon { height: 32px; }
  .drawer__title { font-size: var(--fs-md); }
  .drawer__body { padding: 18px var(--gutter) 40px; font-size: var(--fs-sm); }
  .drawer__body > * + * { margin-top: 18px; }
  .drawer__body h3 { font-size: var(--fs-base); margin-bottom: 10px; }
  .focus-tile { padding: 12px 6px; font-size: var(--fs-xs); }
  .focus-tile img { width: 32px; height: 32px; }
  .wk-chip { padding: 10px 12px; font-size: var(--fs-xs); }
}

/* Very narrow phones (iPhone SE 1st gen, small Androids) */
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .brand__name { font-size: var(--fs-xs); max-width: 160px; }
  .menu-btn__label { display: none; }
  .accolade__title { white-space: normal; }
  .hero__actions { flex-wrap: wrap; }
  .hero__actions .btn { flex: 1 1 100%; }
  .dtab__label { font-size: var(--fs-base); }
  .dtab__inner { padding: 10px 8px 12px; }
  .people-grid { gap: 8px; }
  .person__photo { width: 64px; height: 64px; }
}

/* ---------- Reduced motion: switch everything off ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
  .hero__slide img { transform: none !important; }
}
