/* =========================================================================
   KEV'S SOCIETY — site stylesheet
   Heritage Navy #0E2A47 · Signal Saffron #E8B339 · Bone #F5F1E8
   ========================================================================= */

/* ------------------------------------------------------------ 1. Tokens */
:root {
  --navy: #0e2a47;
  --navy-deep: #0a2039;
  --navy-lift: #16385c;
  --saffron: #e8b339;
  --saffron-lift: #f2c557;
  --saffron-dim: rgba(232, 179, 57, 0.16);
  --bone: #f5f1e8;
  --bone-lift: #fbf9f4;
  --paper: #ffffff;

  --ink: #0e2a47;
  --ink-soft: #40546c;
  --ink-faint: #67788c;
  --gold-ink: #b8862a;
  --on-navy: #f5f1e8;
  --on-navy-soft: rgba(245, 241, 232, 0.88);
  --on-navy-faint: rgba(245, 241, 232, 0.68);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --wrap-tight: 940px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 9vw, 132px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  --shadow-sm: 0 2px 10px rgba(14, 42, 71, 0.06);
  --shadow-md: 0 14px 38px -18px rgba(14, 42, 71, 0.28);
  --shadow-lg: 0 34px 70px -34px rgba(14, 42, 71, 0.42);

  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
  --header-h: 68px;
}

/* ------------------------------------------------------------ 2. Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* width/height attributes reserve space while loading; CSS still drives the
   box. Kept at element specificity so every class rule below can override. */
img,
video {
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--saffron);
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--saffron);
  color: var(--navy);
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------- 3. Typography */
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.1;
  color: var(--ink);
}

.h-xl {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
}

.h-lg {
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  line-height: 1.06;
}

.h-md {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.h-sm {
  font-family: var(--serif);
  font-size: clamp(1.14rem, 1.6vw, 1.34rem);
  font-weight: 600;
  line-height: 1.28;
}

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 1.1rem;
}

.eyebrow--ink {
  color: var(--gold-ink);
}

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.68;
  color: var(--ink-soft);
  max-width: 60ch;
}

.muted {
  color: var(--ink-soft);
}

.fine {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--ink-faint);
}

.rule {
  width: 54px;
  height: 3px;
  background: var(--saffron);
  border-radius: 2px;
  margin-bottom: 1.6rem;
}

.center {
  text-align: center;
}

.center .lede,
.center .rule {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------- 4. Layout helpers */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--tight {
  max-width: var(--wrap-tight);
}

.wrap--wide {
  max-width: 1340px;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(52px, 6vw, 84px);
}

.section--bone {
  background: var(--bone);
}

.section--bone-lift {
  background: var(--bone-lift);
}

.section--navy {
  background: var(--navy);
  color: var(--on-navy);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy .h-sm {
  color: var(--on-navy);
}

.section--navy .lede,
.section--navy .muted {
  color: var(--on-navy-soft);
}

.section--navy .fine {
  color: var(--on-navy-faint);
}

.section-head {
  margin-bottom: clamp(34px, 4vw, 54px);
}

.section-head .lede {
  margin-top: 1rem;
}

.split {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--sidebar {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .split--flip > *:first-child {
    order: 2;
  }
}

.grid {
  display: grid;
  gap: clamp(16px, 1.8vw, 24px);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
}

.stack-sm > * + * {
  margin-top: 0.6rem;
}
.stack > * + * {
  margin-top: 1.1rem;
}
.stack-lg > * + * {
  margin-top: 1.9rem;
}

/* --------------------------------------------------------- 5. Buttons */
.btn {
  --btn-bg: var(--saffron);
  --btn-fg: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.82em 1.5em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 6px;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
  box-shadow: 0 8px 20px -12px rgba(14, 42, 71, 0.55);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(14, 42, 71, 0.5);
  background: var(--saffron-lift);
}

.btn:active {
  transform: translateY(0);
}

.btn--navy {
  --btn-bg: var(--navy);
  --btn-fg: var(--bone);
}

.btn--navy:hover {
  background: var(--navy-lift);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  box-shadow: inset 0 0 0 1.5px rgba(14, 42, 71, 0.24);
}

.btn--ghost:hover {
  background: rgba(14, 42, 71, 0.05);
  box-shadow: inset 0 0 0 1.5px rgba(14, 42, 71, 0.45);
}

.section--navy .btn--ghost,
.hero--frame .btn--ghost {
  --btn-fg: var(--bone);
  box-shadow: inset 0 0 0 1.5px rgba(245, 241, 232, 0.32);
}

.section--navy .btn--ghost:hover,
.hero--frame .btn--ghost:hover {
  background: rgba(245, 241, 232, 0.08);
}

.btn--lg {
  padding: 1em 1.9em;
  font-size: 1rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.center .btn-row {
  justify-content: center;
}

.arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------- 6. Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  border-bottom: 1px solid rgba(245, 241, 232, 0.09);
  transition: box-shadow 0.3s var(--ease);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--saffron) 0%,
    rgba(232, 179, 57, 0.25) 45%,
    var(--saffron) 100%
  );
}

.topbar.is-stuck {
  box-shadow: 0 12px 30px -18px rgba(10, 32, 57, 0.85);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: var(--header-h);
}

.topbar__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.topbar__logo img {
  height: 42px;
  width: auto;
  transition: opacity 0.25s var(--ease);
}

.topbar__logo:hover img {
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
  margin-inline: auto;
}

.nav a {
  position: relative;
  font-size: 0.93rem;
  color: var(--on-navy-soft);
  padding-block: 0.4rem;
  transition: color 0.22s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover {
  color: var(--bone);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--saffron);
}

.topbar .btn {
  flex: 0 0 auto;
  padding: 0.7em 1.15em;
  font-size: 0.86rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  border-radius: var(--r-sm);
  margin-left: auto;
}

.nav-toggle i {
  display: block;
  width: 20px;
  height: 1.8px;
  background: currentColor;
  position: relative;
  transition: background-color 0.2s var(--ease);
}

.nav-toggle i::before,
.nav-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.8px;
  background: currentColor;
  transition: transform 0.28s var(--ease);
}

.nav-toggle i::before {
  transform: translateY(-6px);
}
.nav-toggle i::after {
  transform: translateY(6px);
}

.topbar.is-open .nav-toggle i {
  background: transparent;
}
.topbar.is-open .nav-toggle i::before {
  transform: rotate(45deg);
}
.topbar.is-open .nav-toggle i::after {
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }
  .topbar__inner {
    flex-wrap: wrap;
  }
  .nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s var(--ease);
  }
  .topbar.is-open .nav {
    max-height: 340px;
  }
  .nav a {
    padding: 0.85rem 0.2rem;
    border-top: 1px solid rgba(245, 241, 232, 0.09);
  }
  .nav a::after {
    display: none;
  }
  /* The LINE button is the whole point of the page on a phone, so it stays
     in the bar rather than hiding behind the menu. */
  .topbar .btn {
    order: 2;
    margin-left: auto;
    padding: 0.7em 1.05em;
    min-height: 42px;
    font-size: 0.84rem;
  }
  .nav-toggle {
    order: 3;
    margin-left: 0.4rem;
  }
}

/* ----------------------------------------------------------- 7. Heroes */
.hero {
  position: relative;
  padding-block: clamp(76px, 11vw, 140px);
  overflow: hidden;
}

.hero--bone {
  background: var(--bone-lift);
}

.hero__inner {
  position: relative;
  z-index: 3;
}

/* Home: portrait ring */
.hero-ring {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-ring__face {
  position: absolute;
  width: var(--size, 62px);
  height: var(--size, 62px);
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 12px 26px -12px rgba(14, 42, 71, 0.45),
    0 0 0 3px rgba(255, 255, 255, 0.85);
  opacity: 0;
  animation: face-in 0.9s var(--ease) forwards,
    drift 9s ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 0.9s);
}

.hero-ring__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-ring__face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(232, 179, 57, 0.28);
}

@keyframes face-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-9px);
  }
}

@media (max-width: 900px) {
  .hero-ring__face[data-optional="true"] {
    display: none;
  }
}

/* Dark image hero (Debating) */
.hero--frame {
  background: var(--navy);
  color: var(--on-navy);
  min-height: min(84vh, 720px);
  display: flex;
  align-items: center;
}

.hero--frame h1,
.hero--frame h2 {
  color: var(--on-navy);
}

.hero--frame .lede {
  color: var(--on-navy-soft);
}

.hero__bg {
  position: absolute;
  top: -130px;
  bottom: -130px;
  left: 0;
  right: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
      180deg,
      rgba(10, 32, 57, 0.74) 0%,
      rgba(10, 32, 57, 0.46) 45%,
      rgba(10, 32, 57, 0.86) 100%
    ),
    radial-gradient(
      70% 60% at 50% 40%,
      rgba(232, 179, 57, 0.1) 0%,
      transparent 70%
    );
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(14, 42, 71, 0.06);
  color: var(--ink-soft);
}

.section--navy .hero-note,
.hero--frame .hero-note {
  background: rgba(245, 241, 232, 0.1);
  color: var(--on-navy-soft);
}

.hero-note .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--saffron);
  flex: 0 0 auto;
}

/* --------------------------------------------------- 8. Framed imagery */
.framed {
  position: relative;
  isolation: isolate;
}

.framed img {
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.framed::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: var(--r-md);
  background: var(--navy);
  z-index: 1;
}

.framed--saffron::before {
  background: var(--saffron);
  inset: 22px 22px -22px -22px;
}

@media (max-width: 640px) {
  .framed::before {
    inset: 14px -14px -14px 14px;
  }
  .framed--saffron::before {
    inset: 14px 14px -14px -14px;
  }
}

.media {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------- 9. Cards */
.card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14, 42, 71, 0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 179, 57, 0.5);
}

.card--navy {
  background: var(--navy);
  color: var(--on-navy);
  border-color: rgba(245, 241, 232, 0.12);
}

.card--navy h3,
.card--navy .h-sm {
  color: var(--on-navy);
}

/* Written with the extra class so it outranks `.card p` declared below. */
.card.card--navy p,
.card.card--navy .muted {
  color: var(--on-navy-soft);
}

.card--outline {
  background: transparent;
  box-shadow: none;
  border: 1px solid rgba(14, 42, 71, 0.14);
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--saffron);
  margin-bottom: 1.1rem;
}

.card__icon svg {
  width: 19px;
  height: 19px;
}

.card__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 0.5rem;
}

.card--navy .card__kicker {
  color: var(--saffron);
}

.card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.card .h-sm + p,
.card h3 + p {
  margin-top: 0.55rem;
}

/* Society pair (home) */
.society-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: var(--shadow-md);
}

.society-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.society-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  z-index: -2;
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
}

.society-card:hover .society-card__bg {
  transform: scale(1.05);
  opacity: 0.52;
}

.society-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(10, 32, 57, 0.45) 0%,
    rgba(10, 32, 57, 0.9) 72%
  );
}

.society-card__body {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
}

.society-card__body h3 {
  color: var(--on-navy);
}

.society-card__body p {
  color: var(--on-navy-soft);
  font-size: 0.97rem;
  max-width: 40ch;
}

.society-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--saffron);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.3rem;
}

.society-card:hover .society-card__link .arrow {
  transform: translateX(4px);
}

/* Score card */
.score-card {
  text-align: center;
  padding-block: clamp(22px, 2.6vw, 30px);
}

.score-card__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.85rem;
  background: var(--navy);
  box-shadow: 0 0 0 3px rgba(232, 179, 57, 0.35);
}

.score-card__name {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
}

.score-card__score {
  font-family: var(--serif);
  font-size: 2.15rem;
  line-height: 1.1;
  color: var(--saffron);
  margin: 0.15rem 0 0.25rem;
}

.score-card__where {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.score-card__quote {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* Testimonial */
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.quote-card__who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quote-card__who img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  flex: 0 0 auto;
}

.quote-card__name {
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.25;
}

.quote-card__meta {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.quote-card p {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}

/* Member card */
.member-card__photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy);
  position: relative;
}

.member-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.member-card:hover .member-card__photo img {
  transform: scale(1.05);
}

.member-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -70px 70px -50px rgba(10, 32, 57, 0.9);
}

.member-card__name {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.99rem;
}

.member-card__meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

.member-card__tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.section--navy .member-card__meta {
  color: var(--on-navy-soft);
}

.section--navy .member-card__tag {
  color: var(--saffron);
}

/* ------------------------------------------------ 10. Auto-scroll rail */
.rail {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 7%,
    #000 93%,
    transparent 100%
  );
}

.rail__track {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  width: max-content;
  animation: rail-run var(--rail-duration, 56s) linear infinite;
  will-change: transform;
}

.rail__track--reverse {
  animation-direction: reverse;
}

@keyframes rail-run {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.rail:hover .rail__track,
.rail:focus-within .rail__track {
  animation-play-state: paused;
}

.rail__item {
  flex: 0 0 auto;
  width: clamp(224px, 24vw, 288px);
}

.showcase-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  display: block;
  transition: transform 0.4s var(--ease);
}

.showcase-card:hover {
  transform: translateY(-5px);
}

.showcase-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.showcase-card:hover > img {
  transform: scale(1.05);
}

.showcase-card__body {
  position: absolute;
  inset: auto 0 0;
  padding: 18px 18px 16px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 32, 57, 0.88) 62%
  );
  color: var(--on-navy);
}

.showcase-card__name {
  display: block;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
}

.showcase-card__role {
  display: block;
  font-size: 0.78rem;
  color: var(--on-navy-faint);
  margin-top: 0.2rem;
}

/* Text ticker */
.ticker {
  border-block: 1px solid rgba(14, 42, 71, 0.1);
  background: var(--bone-lift);
  padding-block: 0.95rem;
}

.ticker--navy {
  background: var(--navy-deep);
  border-color: rgba(245, 241, 232, 0.12);
}

.ticker .rail__item {
  width: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.ticker--navy .rail__item {
  color: var(--on-navy-soft);
}

.ticker .sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--saffron);
  flex: 0 0 auto;
}

/* ------------------------------------------------- 11. Numbered lists */
.numlist {
  border-top: 1px solid rgba(14, 42, 71, 0.12);
}

.section--navy .numlist {
  border-color: rgba(245, 241, 232, 0.16);
}

.numlist__row {
  display: grid;
  gap: 0.4rem 1.6rem;
  grid-template-columns: 62px 1fr;
  padding-block: clamp(20px, 2.4vw, 28px);
  border-bottom: 1px solid rgba(14, 42, 71, 0.12);
  align-items: start;
}

.section--navy .numlist__row {
  border-color: rgba(245, 241, 232, 0.16);
}

@media (min-width: 800px) {
  .numlist__row {
    grid-template-columns: 62px 250px 1fr;
    align-items: baseline;
  }
}

.numlist__n {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--saffron);
}

.numlist__t {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
}

.numlist__d {
  color: var(--ink-soft);
  font-size: 0.96rem;
  grid-column: 2 / -1;
}

.section--navy .numlist__d {
  color: var(--on-navy-soft);
}

@media (min-width: 800px) {
  .numlist__d {
    grid-column: auto;
  }
}

/* -------------------------------------------------- 12. Course ladder */
.ladder {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ladder__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.35rem;
}

.ladder__label--gold {
  color: var(--gold-ink);
}

.section--navy .ladder__label {
  color: var(--on-navy-faint);
}

.section--navy .ladder__label--gold {
  color: var(--saffron);
}

.step {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  isolation: isolate;
  border: 1px solid rgba(245, 241, 232, 0.12);
  transition: border-color 0.3s var(--ease);
}

.step__bg {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: calc(100% + 80px);
  object-fit: cover;
  opacity: 0.09;
  filter: saturate(0.5) brightness(0.7);
  z-index: -1;
}

.step.is-open {
  border-color: rgba(232, 179, 57, 0.55);
}

.step__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(15px, 1.8vw, 20px) clamp(16px, 2vw, 24px);
  text-align: left;
}

.step__n {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--saffron);
  flex: 0 0 auto;
}

.step__title {
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  font-weight: 600;
  flex: 1 1 auto;
}

.step__price {
  font-size: 0.88rem;
  color: var(--on-navy-soft);
  flex: 0 0 auto;
}

.step__chev {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--on-navy-soft);
  transition: transform 0.32s var(--ease);
}

.step__chev svg {
  width: 15px;
  height: 15px;
}

.step.is-open .step__chev {
  transform: rotate(180deg);
  color: var(--saffron);
}

.step__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.step.is-open .step__panel {
  grid-template-rows: 1fr;
}

.step__panel > div {
  overflow: hidden;
  background: rgba(8, 26, 46, 0.62);   /* plain backing so the body text reads */
}

.step__grid {
  display: grid;
  gap: clamp(14px, 2vw, 28px);
  padding: 0 clamp(16px, 2vw, 24px) clamp(18px, 2.2vw, 26px);
}

@media (min-width: 760px) {
  .step__grid {
    grid-template-columns: 1.35fr 1fr;
  }
}

.step__grid p {
  color: var(--on-navy-soft);
  font-size: 0.95rem;
}

.step__includes {
  border-left: 1px solid rgba(245, 241, 232, 0.18);
  padding-left: clamp(14px, 2vw, 22px);
}

@media (max-width: 759px) {
  .step__includes {
    border-left: 0;
    border-top: 1px solid rgba(245, 241, 232, 0.18);
    padding-left: 0;
    padding-top: 14px;
  }
}

.step__includes li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--on-navy-soft);
  padding-block: 0.28rem;
}

.step__includes li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--saffron);
  margin-top: 0.62em;
  flex: 0 0 auto;
}

/* ------------------------------------------------ 13. Level tabs (SAT) */
.levels {
  display: grid;
  gap: 12px;
}

@media (min-width: 900px) {
  .levels[data-open="0"] {
    grid-template-columns: 3.4fr 1fr 1fr;
  }
  .levels[data-open="1"] {
    grid-template-columns: 1fr 3.4fr 1fr;
  }
  .levels[data-open="2"] {
    grid-template-columns: 1fr 1fr 3.4fr;
  }
}

.level {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
  isolation: isolate;
  min-height: 210px;
  text-align: left;
  display: flex;
  transition: box-shadow 0.35s var(--ease);
}

.level__bg {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: calc(100% + 80px);
  object-fit: cover;
  opacity: 0.09;
  filter: saturate(0.5) brightness(0.7);
  z-index: -1;
}

.level.is-open {
  box-shadow: 0 0 0 1.5px rgba(232, 179, 57, 0.55), var(--shadow-md);
}

.level__collapsed {
  display: none;
}

.level__open {
  padding: clamp(18px, 2.2vw, 26px);
  width: 100%;
}

@media (min-width: 900px) {
  .level:not(.is-open) .level__open {
    display: none;
  }
  .level:not(.is-open) .level__collapsed {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 8px;
  }
  .level__collapsed span {
    font-family: var(--serif);
    font-size: 1.1rem;
    writing-mode: vertical-rl;
    letter-spacing: 0.06em;
    color: var(--on-navy-soft);
  }
  .level:hover .level__collapsed span {
    color: var(--bone);
  }
}

.level__n {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--saffron);
}

/* Navy card sitting inside a light section, so the heading colour is set
   here rather than inherited from the section. */
.level__title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 600;
  color: var(--on-navy);
  margin: 0.35rem 0 0.5rem;
}

.level__desc {
  color: var(--on-navy-soft);
  font-size: 0.95rem;
  max-width: 54ch;
}

.subject-grid {
  display: grid;
  gap: 12px;
  margin-top: 1.2rem;
}

@media (min-width: 620px) {
  .subject-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.subject {
  background: rgba(245, 241, 232, 0.08);
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: var(--r-sm);
  padding: 14px 16px;
}

.subject__name {
  font-weight: 600;
  font-size: 0.98rem;
}

.pill {
  display: inline-block;
  margin: 0.5rem 0;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: var(--saffron-dim);
  color: var(--saffron);
  border: 1px solid rgba(232, 179, 57, 0.3);
}

.subject__meta {
  font-size: 0.82rem;
  color: var(--on-navy-faint);
}

/* Price cards */
.price-card {
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid rgba(14, 42, 71, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card__top {
  height: 5px;
  background: var(--navy);
}

.price-card--feature .price-card__top {
  background: var(--saffron);
}

.price-card__body {
  padding: clamp(20px, 2.4vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1 1 auto;
}

.price-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.price-card__name {
  font-weight: 600;
  font-size: 1.02rem;
}

.tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--saffron);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.24rem 0.6rem;
}

.price-card li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
  padding-block: 0.22rem;
}

.price-card li svg {
  width: 15px;
  height: 15px;
  color: var(--saffron);
  flex: 0 0 auto;
  margin-top: 0.32em;
}

.price-card__amount {
  margin-top: auto;
  padding-top: 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
}

.price-card__amount span {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-left: 0.4rem;
  vertical-align: 0.5em;
}

/* ----------------------------------------------- 14. Trophy / compete */
.trophy-item {
  display: flex;
  flex-direction: column;
}

.trophy {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
  background: var(--navy);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: var(--shadow-sm);
}

.trophy:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trophy img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.trophy--tall img {
  aspect-ratio: 3 / 4;
}

.trophy:hover img {
  transform: scale(1.04);
}

.trophy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 32, 57, 0.25) 0%,
    rgba(10, 32, 57, 0.78) 100%
  );
  pointer-events: none;
}

/* Tournament name sits over the photo, the way the tile art used to carry it. */
.trophy__label {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 18px 20px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--bone);
  text-shadow: 0 2px 14px rgba(10, 32, 57, 0.6);
  pointer-events: none;
}

.trophy__cap {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
  line-height: 1.5;
}

.section--navy .trophy__cap {
  color: var(--on-navy-soft);
}

/* --------------------------------------------------- 15. Parallax band */
.band {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--on-navy);
  padding-block: clamp(88px, 12vw, 168px);
  text-align: center;
}

.band__bg {
  position: absolute;
  top: -115px;
  bottom: -115px;
  left: 0;
  right: 0;
  z-index: 0;
}

.band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 32, 57, 0.78),
    rgba(10, 32, 57, 0.46) 50%,
    rgba(10, 32, 57, 0.84)
  );
}

.band__inner {
  position: relative;
  z-index: 2;
}

.band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--bone);
  max-width: 48ch;          /* three even lines at desktop, not a short orphan line */
  margin-inline: auto;
}

.band blockquote::before {
  content: "\201C";
  display: block;
  font-size: 2.6em;
  line-height: 0.6;
  color: var(--saffron);
  opacity: 0.85;
  margin-bottom: 0.25em;
}

.band figcaption {
  margin-top: 1.6rem;
  font-size: 0.98rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
}

/* ------------------------------------------------------- 16. Contact */
.contact {
  text-align: center;
  background: var(--navy);
  color: var(--on-navy);
  padding-block: clamp(74px, 9vw, 122px);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 70% at 50% 30%,
    rgba(232, 179, 57, 0.13) 0%,
    transparent 68%
  );
}

/* Thin saffron rule opens the closing section, echoing the top bar. */
.contact::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 3px;
  border-radius: 2px;
  background: var(--saffron);
}

.contact__inner {
  position: relative;
}

.contact h2 {
  color: var(--on-navy);
}

.contact .lede {
  color: var(--on-navy-soft);
  margin-inline: auto;
}

.contact .fine {
  color: var(--on-navy-faint);
}

/* -------------------------------------------------------- 17. Footer */
.footer {
  background: var(--navy-deep);
  color: var(--on-navy-faint);
  padding-block: clamp(38px, 4.5vw, 60px);
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  font-size: 0.88rem;
}

.footer__grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

@media (min-width: 820px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.9rem;
}

.footer li + li {
  margin-top: 0.5rem;
}

.footer a:hover {
  color: var(--bone);
}

.footer__base {
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: 1.3rem;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ------------------------------------------------- 18. Misc components */
.jump-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(14, 42, 71, 0.05);
  border: 1px solid rgba(14, 42, 71, 0.1);
  color: var(--ink-soft);
}

.chip strong {
  color: var(--ink);
  font-weight: 600;
}

.section--navy .chip {
  background: rgba(245, 241, 232, 0.07);
  border-color: rgba(245, 241, 232, 0.14);
  color: var(--on-navy-soft);
}

.section--navy .chip strong {
  color: var(--bone);
}

.videoframe {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy);
  display: block;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(245, 241, 232, 0.12);
  transition: transform 0.35s var(--ease), border-color 0.3s var(--ease);
}

.videoframe:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 179, 57, 0.5);
}

.videoframe img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Play control, drawn over the thumbnail rather than baked into it. */
.videoframe::after {
  content: "";
  position: absolute;
  top: 26%;
  left: calc(50% - 30px);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(14, 42, 71, 0.45) 54% 50% / 16px 20px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M2 1l13 9-13 9z' fill='%23E8B339'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1.5px rgba(232, 179, 57, 0.6);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
  pointer-events: none;
}

.videoframe:hover::after {
  transform: scale(1.08);
  background-color: rgba(14, 42, 71, 0.62);
}

.videoframe__cap {
  padding: 14px 16px 16px;
  font-size: 0.88rem;
  color: var(--on-navy-soft);
}

.videoframe__cap strong {
  display: block;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.award {
  text-align: center;
  padding-block: clamp(22px, 2.6vw, 28px);
}

.award__ico {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--saffron-dim);
  color: var(--gold-ink);
}

.award__ico svg {
  width: 20px;
  height: 20px;
}

.award__title {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
}

.award__meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}

.timeline {
  border-left: 2px solid rgba(232, 179, 57, 0.4);
  padding-left: clamp(18px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 28px);
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(18px, 2.4vw, 28px) - 6px);
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 4px var(--bone);
}

.section--navy .timeline__item::before {
  box-shadow: 0 0 0 4px var(--navy);
}

.timeline__when {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.section--navy .timeline__when {
  color: var(--saffron);
}

.timeline__what {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 0.2rem;
}

.timeline p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-top: 0.25rem;
}

.section--navy .timeline p {
  color: var(--on-navy-soft);
}

.faq {
  border-top: 1px solid rgba(14, 42, 71, 0.12);
}

.faq__item {
  border-bottom: 1px solid rgba(14, 42, 71, 0.12);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(16px, 2vw, 22px);
  text-align: left;
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
}

.faq__q svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--saffron);
  transition: transform 0.3s var(--ease);
}

.faq__item.is-open .faq__q svg {
  transform: rotate(180deg);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease);
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  padding-bottom: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
  max-width: 68ch;
}

.callout {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: rgba(14, 42, 71, 0.05);
  border: 1px solid rgba(14, 42, 71, 0.09);
  font-size: 0.88rem;
  color: var(--ink-soft);
  width: fit-content;
}

.callout svg {
  width: 16px;
  height: 16px;
  color: var(--gold-ink);
  flex: 0 0 auto;
}

.center .callout {
  margin-inline: auto;
}

/* ------------------------------------------------------ 19. Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

[data-parallax] {
  will-change: transform;
}

/* --------------------------------------------------- 20. Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-ring__face {
    opacity: 1;
  }
  .rail {
    overflow-x: auto;
  }
  .rail__track {
    animation: none;
    transform: none;
  }
}

/* --------------------------------------------------------- 21. Print */
@media print {
  .topbar,
  .contact,
  .band {
    display: none;
  }
}

/* =========================================================================
   22. Phones
   The desktop layout is fluid, so this block only handles what genuinely
   changes on a small screen: the scattered hero portraits (which collide
   with the headline), card counts per row, and touch target sizing.
   ========================================================================= */

/* Mobile-only portrait strip; replaces the scattered ring below 760px. */
.hero-faces {
  display: none;
  margin-top: 2.2rem;
}

.hero-faces .rail__item {
  width: auto;
}

.hero-faces img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--navy);
  box-shadow: 0 8px 18px -10px rgba(14, 42, 71, 0.5),
    0 0 0 3px rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(232, 179, 57, 0.3);
}

@media (max-width: 760px) {
  /* Portraits sat on top of the headline at this width. */
  .hero-ring {
    display: none;
  }
  .hero-faces {
    display: block;
  }
  .hero {
    padding-block: clamp(48px, 12vw, 76px);
  }
  .hero--frame {
    min-height: 0;
    padding-block: clamp(84px, 20vw, 132px);
  }
}

@media (max-width: 640px) {
  .h-xl {
    font-size: clamp(2.05rem, 9vw, 2.75rem);
    letter-spacing: -0.018em;
  }
  .h-lg {
    font-size: clamp(1.72rem, 7.4vw, 2.2rem);
  }
  /* Line breaks were tuned for a wide measure; let the text reflow instead. */
  .hero h1 br {
    display: none;
  }
  .section-head {
    margin-bottom: 30px;
  }

  /* Two portraits per row reads as a roster; one per row reads as a list. */
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .grid-3,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .member-card__name {
    font-size: 0.93rem;
  }
  .member-card__meta {
    font-size: 0.8rem;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }

  /* Price and title crowded each other on one line. */
  .step__head {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }
  .step__price {
    order: 4;
    width: 100%;
    padding-left: calc(1rem + 1.6em);
    color: var(--saffron);
    font-size: 0.84rem;
  }

  .level {
    min-height: 0;
  }
  .trophy__label {
    font-size: 1.35rem;
    padding: 14px 16px;
  }
  .band blockquote {
    max-width: 18ch;
  }
  .timeline {
    padding-left: 20px;
  }
  .numlist__row {
    grid-template-columns: 44px 1fr;
    gap: 0.3rem 1rem;
  }
  .numlist__n {
    font-size: 1.55rem;
  }
}

@media (max-width: 520px) {
  /* Let the next card peek in, so the rail reads as scrollable. */
  .rail__item {
    width: 208px;
  }
  .btn {
    padding: 0.9em 1.35em;
  }
  .btn--lg {
    padding: 1em 1.5em;
    font-size: 0.95rem;
  }
  .btn-row .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .jump-row .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .hero-note {
    font-size: 0.78rem;
    align-items: flex-start;
    text-align: left;
  }
  .hero-note .dot {
    margin-top: 0.55em;
  }
  .videoframe::after {
    width: 48px;
    height: 48px;
    left: calc(50% - 24px);
  }
}

/* Coarse pointers get no hover states worth keeping, and a floor on targets. */
@media (hover: none) {
  .card--hover:hover,
  .society-card:hover,
  .price-card:hover,
  .trophy:hover,
  .videoframe:hover,
  .showcase-card:hover,
  .btn:hover {
    transform: none;
  }
  .nav a,
  .faq__q,
  .step__head {
    min-height: 46px;
  }
  .btn {
    min-height: 44px;
  }
}


/* Pointer-appropriate helper copy. */
.if-touch {
  display: none;
}

@media (hover: none) {
  .if-hover {
    display: none;
  }
  .if-touch {
    display: inline;
  }
}

/* Card backdrops stay in colour but must never outshine their text. */
.step__bg,
.level__bg {
  filter: brightness(0.75) saturate(1.05);
  opacity: 0.15;
}


/* =========================================================================
   24. Scholar cards
   The Scholars' answer to the debaters' portrait roster: a full photograph
   in the same proportions, framed by the society's saffron signature
   instead of the debaters' navy.
   ========================================================================= */
.scholar-card {
  padding: 0;
  text-align: center;
  border-top: 4px solid var(--saffron);
  overflow: hidden;
}

.scholar-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
  margin-bottom: 1.1rem;
}

.scholar-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.scholar-card:hover .scholar-card__photo img {
  transform: scale(1.04);
}

.scholar-card > p {
  padding-inline: clamp(16px, 2vw, 24px);
}

.scholar-card > p:last-child {
  padding-bottom: clamp(20px, 2.4vw, 26px);
}

/* =========================================================================
   25. Member card detail
   Members arrive with a university destination and a list of results, so the
   card carries both rather than a single line of meta.
   ========================================================================= */
.member-card__dest {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.section--navy .member-card__dest {
  color: var(--saffron);
}

.member-card__wins {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.member-card__wins li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.83rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.section--navy .member-card__wins li {
  color: var(--on-navy-soft);
}

.member-card__wins li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--saffron);
}

/* A slot still waiting on its photograph. */
.member-card--pending .member-card__photo {
  box-shadow: inset 0 0 0 1px rgba(232, 179, 57, 0.35);
}

@media (max-width: 640px) {
  .member-card__wins li {
    font-size: 0.78rem;
  }
}

/* =========================================================================
   26. Playable video cards
   Real footage plays in place. The browser draws its own controls, so the
   decorative play badge is suppressed on these.
   ========================================================================= */
.videoframe--playable {
  cursor: default;
}

.videoframe--playable::after {
  content: none;
}

.videoframe--playable video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy-deep);
}

.videoframe--playable:hover {
  transform: none;
}

.videoframe figcaption {
  padding: 14px 16px 16px;
  font-size: 0.88rem;
  color: var(--on-navy-soft);
}

.videoframe figcaption strong {
  display: block;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* =========================================================================
   27. Redesign components (brief v2)
   ========================================================================= */

/* ---- Portrait plate: Dr. Kevin ------------------------------------------ */
.portrait-plate {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
  isolation: isolate;
}

.portrait-plate::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 2px solid var(--saffron);
  border-radius: var(--r-md);
  z-index: 0;
}

.portrait-plate::after {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  background: var(--navy);
  border-radius: var(--r-md);
  z-index: 0;
  opacity: 0.08;
}

.portrait-plate img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}

.portrait-plate__tab {
  position: absolute;
  z-index: 2;
  left: -14px;
  bottom: 34px;
  background: var(--navy);
  color: var(--bone);
  padding: 12px 18px 12px 20px;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--saffron);
}

.portrait-plate__tab strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.portrait-plate__tab span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
}

@media (max-width: 640px) {
  .portrait-plate::before {
    inset: 16px -14px -14px 16px;
  }
  .portrait-plate__tab {
    left: 10px;
    bottom: 18px;
  }
}

/* ---- Qualifications ----------------------------------------------------- */
.quals {
  display: grid;
  gap: 0.2rem 2rem;
}

@media (min-width: 720px) {
  .quals {
    grid-template-columns: 1fr 1fr;
  }
}

.quals li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(14, 42, 71, 0.1);
  font-size: 0.97rem;
  color: var(--ink);
}

.quals li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saffron);
  transform: translateY(-1px);
}

.section--navy .quals li {
  color: var(--on-navy);
  border-color: rgba(245, 241, 232, 0.14);
}

/* ---- YouTube facade ----------------------------------------------------- */
.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.yt img,
.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.yt__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(14, 42, 71, 0.72);
  box-shadow: inset 0 0 0 1.5px rgba(232, 179, 57, 0.7), 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.yt__play svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
}

.yt:hover .yt__play {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(14, 42, 71, 0.88);
}

.yt.is-playing .yt__play,
.yt.is-playing img {
  display: none;
}

/* ---- Student cards: "Where our students go" ----------------------------- */
.student-grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 30px);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.student-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14, 42, 71, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.student-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.student-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy);
  position: relative;
}

.student-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 0.7s var(--ease);
}

.student-card:hover .student-card__photo img {
  transform: scale(1.04);
}

.student-card__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(10, 32, 57, 0.82));
}

.student-card__ident {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: var(--bone);
}

.student-card__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
}

.student-card__dest {
  margin-top: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
}

.student-card__score {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  background: var(--saffron);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}

.student-card__quote {
  padding: 18px 20px 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}

.student-card__quote::before {
  content: "\201C";
  color: var(--saffron);
  font-style: normal;
  font-size: 1.6em;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 0.15em;
}

.student-card__badge {
  padding: 14px 20px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---- Featured (celebrity) cards: name only ------------------------------ */
.featured-grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ---- Course matrix (SAT) ------------------------------------------------- */
.matrix {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

@media (min-width: 860px) {
  .matrix {
    grid-template-columns: 1fr 1fr;
  }
}

.subject-panel {
  background: var(--navy);
  color: var(--on-navy);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 34px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.subject-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--saffron);
}

.subject-panel--saffron {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(14, 42, 71, 0.1);
}

.subject-panel--saffron::before {
  background: var(--navy);
}

.subject-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.subject-panel__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
}

.subject-panel__note {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
}

.subject-panel--saffron .subject-panel__note {
  color: var(--gold-ink);
}

.tier {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(245, 241, 232, 0.14);
  align-items: baseline;
}

.subject-panel--saffron .tier {
  border-color: rgba(14, 42, 71, 0.1);
}

.tier__name {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
}

.tier__n {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-navy-faint);
  grid-column: 1 / -1;
  order: -1;
}

.subject-panel--saffron .tier__n {
  color: var(--ink-faint);
}

.tier__meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tier__meta span {
  font-size: 0.78rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(245, 241, 232, 0.1);
  border: 1px solid rgba(245, 241, 232, 0.16);
  white-space: nowrap;
}

.subject-panel--saffron .tier__meta span {
  background: var(--bone);
  border-color: rgba(14, 42, 71, 0.1);
  color: var(--ink-soft);
}

@media (max-width: 480px) {
  .tier {
    grid-template-columns: 1fr;
  }
  .tier__meta {
    justify-content: flex-start;
  }
}

/* ---- Private consulting -------------------------------------------------- */
.consult {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

@media (min-width: 900px) {
  .consult {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.consult__visual {
  position: relative;
}

.consult__visual img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.consult__visual::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--saffron), rgba(232, 179, 57, 0.35));
  z-index: -1;
}

.consult__chips {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consult__chips span {
  background: var(--navy);
  color: var(--bone);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(232, 179, 57, 0.4);
}

.consult__chips span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--saffron);
  margin-right: 0.5rem;
  vertical-align: 1px;
}

@media (max-width: 899px) {
  .consult__visual {
    margin-bottom: 30px;
  }
}

/* ---- Events we host -------------------------------------------------------- */
.event-card {
  position: relative;
  padding-top: clamp(26px, 3vw, 34px);
}

.event-card__n {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--saffron);
  opacity: 0.9;
  margin-bottom: 0.8rem;
}

/* ---- Life at KEV'S gallery ----------------------------------------------- */
.gallery {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 760px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery > :nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery > :nth-child(4) {
    grid-column: span 2;
  }
}

.gallery__item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--navy-deep);
  min-height: 160px;
}

.gallery__item img,
.gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item--video video {
  background: var(--navy-deep);
}

.gallery__cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(10, 32, 57, 0.72);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  pointer-events: none;
}

/* ---- Results ------------------------------------------------------------- */
.results {
  display: grid;
  gap: clamp(22px, 3vw, 44px);
}

@media (min-width: 900px) {
  .results {
    grid-template-columns: 1fr 1fr;
  }
}

.honours {
  border-top: 1px solid rgba(14, 42, 71, 0.12);
}

.honours li {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(14, 42, 71, 0.12);
}

.honours__ico {
  color: var(--gold-ink);
  width: 18px;
  height: 18px;
  transform: translateY(2px);
}

.honours__t {
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 600;
}

.honours__y {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.honours__who {
  font-size: 0.84rem;
  color: var(--ink-soft);
  grid-column: 2 / -1;
}

/* ---- Alumni roster: one-line cards ---------------------------------------- */
.roster {
  display: grid;
  gap: clamp(14px, 1.8vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.roster-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(245, 241, 232, 0.05);
  border: 1px solid rgba(245, 241, 232, 0.1);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.roster-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 179, 57, 0.5);
}

.roster-card__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--navy-deep);
}

.roster-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.roster-card__body {
  padding: 14px 16px 16px;
}

.roster-card__name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bone);
}

.roster-card__line {
  margin-top: 0.3rem;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--on-navy-soft);
}

.roster-card__dest {
  margin-top: 0.4rem;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--saffron);
}

/* ---- Contact flow ---------------------------------------------------------- */
.steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: clamp(26px, 3vw, 40px);
}

.steps__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.steps__item + .steps__item::before {
  content: "";
  width: 56px;
  height: 1px;
  background: rgba(14, 42, 71, 0.2);
  margin: 0 0.9rem;
}

.steps__n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(14, 42, 71, 0.25);
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0;
}

.steps__item.is-current {
  color: var(--ink);
}

.steps__item.is-current .steps__n {
  background: var(--navy);
  color: var(--bone);
  border-color: var(--navy);
}

.steps__item.is-done .steps__n {
  background: var(--saffron);
  color: var(--navy);
  border-color: var(--saffron);
}

.contact-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(14, 42, 71, 0.08);
  padding: clamp(28px, 4vw, 48px);
  max-width: 640px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--saffron));
}

.fieldlist {
  display: grid;
  gap: 10px;
  margin: 1.4rem 0 1.8rem;
}

.fieldlist li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  background: var(--bone);
  border: 1px solid rgba(14, 42, 71, 0.08);
  font-size: 0.95rem;
  color: var(--ink);
}

.fieldlist li svg {
  width: 18px;
  height: 18px;
  color: var(--gold-ink);
  flex: 0 0 auto;
}

.fieldlist li em {
  font-style: normal;
  color: var(--ink-faint);
  font-size: 0.85rem;
  margin-left: auto;
}

.qr {
  display: grid;
  place-items: center;
  gap: 1rem;
  padding: clamp(20px, 3vw, 30px);
  background: var(--bone);
  border-radius: var(--r-md);
  border: 1px solid rgba(14, 42, 71, 0.08);
  margin: 1.6rem 0;
}

.qr img {
  width: 100%;
  max-width: 220px;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-md);
}

.qr__id {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.qr__hint {
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-align: center;
}

.check-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--saffron-dim);
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  color: var(--gold-ink);
}

.check-badge svg {
  width: 30px;
  height: 30px;
}

/* ---- Society cards on Home: button-style entry --------------------------- */
.society-card__body .btn {
  margin-top: 0.4rem;
  align-self: flex-start;
}

/* ---- Contact block renamed to "Join our society" — same styles ----------- */

/* =========================================================================
   28. University identity, coaches, honours, events (brief v2, round 2)
   ========================================================================= */

/* ---- University colourways: set --uni-a/--uni-b on the card ------------- */
/* Kevin (Sept 2026 review): one colour for every card, so the grid reads as a
   set. The crest still identifies the university; the colourway is the house
   navy for all of them. */
.u-yale, .u-stanford, .u-oxford, .u-cambridge, .u-upenn, .u-georgetown, .u-jhu,
.u-none {
  --uni-a: #0e2a47;
  --uni-b: #1d4a7c;
}

/* Student card in university colours: the whole card is the colourway, the
   photo sits on top, and the body below carries a large crest on a white plate,
   the university name in white, and the quote. */
.student-card[class*="u-"] {
  background: linear-gradient(165deg, var(--uni-a) 0%, var(--uni-b) 100%);
  border: 0;
  color: #fff;
}

.student-card[class*="u-"] .student-card__photo::after {
  background: linear-gradient(180deg, transparent 40%,
    color-mix(in srgb, var(--uni-a) 92%, black) 100%);
}

.student-card[class*="u-"] .student-card__ident {
  display: none;               /* name and university move into the body */
}

.student-card__body {
  padding: 18px 20px 6px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 0 14px;
  align-items: center;
}

.student-card__crest {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.55);
}

.student-card__crest img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.student-card[class*="u-"] .student-card__name {
  color: #fff;
  font-size: 1.45rem;
}

.student-card[class*="u-"] .student-card__dest {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.student-card[class*="u-"] .student-card__quote,
.student-card[class*="u-"] .student-card__badge {
  color: #fff;
}

.student-card[class*="u-"] .student-card__quote {
  opacity: 0.94;
}

.student-card[class*="u-"] .student-card__quote::before {
  color: var(--saffron);
}

.student-card[class*="u-"] .student-card__badge {
  opacity: 0.8;
}

/* Cards without a university keep the paper look; give them the same body grid */
.student-card:not([class*="u-"]) .student-card__body {
  display: none;
}

/* Roster cards on the alumni page: same colourway, crest next to the name */
.roster-card[class*="u-"] {
  background: linear-gradient(165deg, var(--uni-a) 0%, var(--uni-b) 100%);
  border-color: rgba(245, 241, 232, 0.16);
}

.roster-card__body {
  position: relative;
}

.roster-card[class*="u-"] .roster-card__body {
  padding-left: 72px;
  min-height: 92px;
}

.roster-card__crest {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.5);
}

.roster-card__crest img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.roster-card[class*="u-"] .roster-card__name,
.roster-card[class*="u-"] .roster-card__line {
  color: #fff;
}

.roster-card[class*="u-"] .roster-card__dest {
  color: #fff;
  font-weight: 800;
  opacity: 0.95;
}

.roster-card[class*="u-"] .roster-card__name span {
  color: var(--saffron) !important;
}

/* ---- Coaches: full-height portrait cards ------------------------------- */
.coach-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.coach-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(14, 42, 71, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.coach-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.coach-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--navy);
  overflow: hidden;
}

.coach-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transition: transform 0.7s var(--ease);
}

.coach-card:hover .coach-card__photo img {
  transform: scale(1.04);
}

.coach-card__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(10, 32, 57, 0.9));
}

.coach-card__ident {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: var(--bone);
}

.coach-card__role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
}

.coach-card__name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.1;
  margin-top: 0.25rem;
}

.coach-card__creds {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.coach-card__creds li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.97rem;
  line-height: 1.4;
  color: var(--ink);
}

.coach-card__creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--saffron-dim);
  box-shadow: inset 0 0 0 1.5px var(--saffron);
}

.coach-card__creds li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.45em + 4px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--saffron);
}

/* ---- Results: honours board ------------------------------------------- */
.honours-board {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.honour-tile {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(245, 241, 232, 0.05);
  border: 1px solid rgba(245, 241, 232, 0.12);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.honour-tile:hover {
  border-color: rgba(232, 179, 57, 0.55);
  background: rgba(245, 241, 232, 0.08);
}

.honour-tile__ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--saffron-dim);
  color: var(--saffron);
  box-shadow: inset 0 0 0 1.5px rgba(232, 179, 57, 0.5);
}

.honour-tile__ico svg {
  width: 20px;
  height: 20px;
}

.honour-tile__t {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--bone);
  line-height: 1.25;
}

.honour-tile__m {
  margin-top: 0.15rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
}

/* Individual achievements: portrait cards */
.achiever-grid {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));   /* 3 + 3, no orphan row */
}

.achiever {
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(245, 241, 232, 0.05);
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-top: 3px solid var(--saffron);
  transition: transform 0.35s var(--ease);
}

.achiever:hover {
  transform: translateY(-4px);
}

.achiever__photo {
  aspect-ratio: 1 / 1;
  background: var(--navy-deep);
  overflow: hidden;
}

.achiever__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.achiever__body {
  padding: 14px 16px 16px;
}

.achiever__name {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--bone);
}

.achiever__line {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--on-navy-soft);
}

/* ---- Events we host: image-led cards ---------------------------------- */
.event-card--img {
  padding: 0;
  overflow: hidden;
}

.event-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-deep);
}

.event-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.event-card--img:hover .event-card__img img {
  transform: scale(1.05);
}

.event-card__img .event-card__n {
  position: absolute;
  left: 18px;
  bottom: 12px;
  margin: 0;
  font-size: 2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.event-card__body {
  padding: clamp(18px, 2.2vw, 26px);
}

.event-card__body .h-sm {
  margin-bottom: 0.5rem;
}

/* Oxford's belted crest and Georgetown's seal are fine line-art; reverse them
   to white on a navy plate so they carry the same weight as the solid marks. */
.u-oxford .student-card__crest,
.u-oxford .roster-card__crest,
.u-georgetown .student-card__crest,
.u-georgetown .roster-card__crest {
  background: var(--uni-a);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6), inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
}

.u-oxford .student-card__crest img,
.u-oxford .roster-card__crest img,
.u-georgetown .student-card__crest img,
.u-georgetown .roster-card__crest img {
  filter: brightness(0) invert(1);
}


/* =========================================================================
   29. Kevin's review, 12 Sept 2026
   ========================================================================= */

/* ---- Home: society cards, photo on top, copy below ---------------------- */
.society-card--tall {
  display: flex;
  flex-direction: column;
}

.society-card--tall::after {
  display: none;
}

.society-card__photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-deep);
}

.society-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 0.7s var(--ease);
}

.society-card--tall:hover .society-card__photo img {
  transform: scale(1.04);
}

.society-card--tall .society-card__body {
  min-height: 0;
  flex: 1;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: clamp(22px, 2.6vw, 30px) clamp(22px, 2.8vw, 32px) clamp(24px, 2.8vw, 32px);
  border-top: 3px solid var(--saffron);
}

.society-card__title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.1vw, 1.85rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--bone);
}

.society-card__desc {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--on-navy-soft);
  max-width: 40ch;
}

.society-card--tall .btn {
  margin-top: auto;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

/* ---- Home: founder, title on top, portrait as tall as the column ------- */
@media (min-width: 900px) {
  .split--founder {
    align-items: stretch;
  }
  .split--founder > .portrait-col {
    display: flex;
  }
  .portrait-plate--tall {
    max-width: none;
    width: 100%;
    display: flex;
  }
  .portrait-plate--tall img {
    aspect-ratio: auto;
    height: auto;
    align-self: stretch;
    object-position: 50% 15%;
  }
}

/* ---- Featured rail: room for a quote under the name --------------------- */
.showcase-card__body {
  padding-top: 56px;
}

.showcase-card__quote {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--on-navy-soft);
}

.showcase-card__quote::before {
  content: "\201C";
  color: var(--saffron);
  font-style: normal;
  margin-right: 0.1em;
}

/* Placeholder until Kevin sends the quote: quiet grey italics, no quote mark */
.showcase-card__quote--todo {
  color: rgba(245, 241, 232, 0.42);
  font-size: 0.82rem;
}

.showcase-card__quote--todo::before {
  content: none;
}

/* ---- Results: one bullet per achievement -------------------------------- */
.achiever__list {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.5rem;
}

.achiever__list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--on-navy-soft);
}

.achiever__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--saffron);
}

.achiever__list li span {
  display: block;
  color: var(--bone);
}

.achiever__list li b {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--saffron);
}

/* ---- Scholars: consulting points as a list, not chips ------------------- */
.quals--single {
  grid-template-columns: 1fr;
}

/* ---- Life at KEV'S: click a photo to see it large ----------------------- */
.gallery__item[data-lightbox] {
  cursor: zoom-in;
}

.gallery__item[data-lightbox]:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 20, 36, 0.93);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__fig {
  max-width: min(1400px, 100%);
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  cursor: default;
}

.lightbox__fig img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}

.lightbox__fig figcaption {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 232, 0.3);
  background: rgba(14, 42, 71, 0.6);
  color: var(--bone);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ---- Cards without a university: same navy, no crest -------------------- */
.student-card__body--nocrest {
  grid-template-columns: 1fr;
}

.roster-card.u-none .roster-card__body {
  padding-left: 16px;
}

/* ---- Life at KEV'S: the two videos take a full row, letterboxed on navy -- */
@media (min-width: 760px) {
  .gallery > .gallery__item--video {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.gallery__item--video video {
  object-fit: contain;
}

/* ---- Phones: two cards per row, so the alumni page is half the length ----- */
@media (max-width: 759px) {
  .student-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .student-card__body {
    grid-template-columns: 54px 1fr;
    gap: 0 10px;
    padding: 12px 12px 2px;
  }
  .student-card__body--nocrest {
    grid-template-columns: 1fr;
  }
  .student-card__crest {
    width: 54px;
    height: 54px;
    border-radius: 10px;
  }
  .student-card__crest img {
    width: 42px;
    height: 42px;
  }
  .student-card[class*="u-"] .student-card__name {
    font-size: 1.1rem;
  }
  .student-card[class*="u-"] .student-card__dest {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    margin-top: 0.15rem;
  }
  .student-card__score {
    top: 8px;
    right: 8px;
    font-size: 0.95rem;
    padding: 0.2rem 0.5rem;
  }
  .student-card__quote {
    padding: 10px 12px 14px;
    font-size: 0.84rem;
  }
  .student-card__badge {
    padding: 8px 12px 12px;
    font-size: 0.6rem;
  }
  .roster {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .roster-card[class*="u-"] .roster-card__body {
    padding: 12px 12px 12px 58px;
    min-height: 0;
  }
  .roster-card.u-none .roster-card__body {
    padding-left: 12px;
  }
  .roster-card__crest {
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
  .roster-card__crest img {
    width: 30px;
    height: 30px;
  }
  .roster-card__name {
    font-size: 1rem;
  }
  .roster-card__line {
    font-size: 0.78rem;
  }
  .roster-card__dest {
    font-size: 0.6rem;
  }
  .featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .achiever-grid {
    grid-template-columns: 1fr;
  }

  /* Footer links: full-height tap targets */
  .footer li a {
    display: inline-block;
    padding: 0.4rem 0;
  }
  .footer li + li {
    margin-top: 0;
  }

  /* Contact: the hint drops under the label instead of squeezing it */
  .fieldlist li {
    flex-wrap: wrap;
  }
  .fieldlist li em {
    flex-basis: 100%;
    padding-left: calc(18px + 0.85rem);
    margin-top: -0.3rem;
  }
}

/* =========================================================================
   30. Kevin's second review, 12 Sept 2026
   ========================================================================= */

/* ---- Founder: big statement, name underneath ---------------------------- */
.lede--statement {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--navy);
  margin-top: 0.9rem;
}

/* ---- Compact student cards: four per row on Home and Scholars ----------- */
.student-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

@media (min-width: 900px) {
  .student-grid--compact {
    grid-template-columns: repeat(4, 1fr);
  }
}

.student-grid--compact .student-card__photo {
  aspect-ratio: 1 / 1;
}

.student-grid--compact .student-card__body {
  grid-template-columns: 54px 1fr;
  gap: 0 10px;
  padding: 12px 14px 2px;
}

.student-grid--compact .student-card__body--nocrest {
  grid-template-columns: 1fr;
}

.student-grid--compact .student-card__crest {
  width: 54px;
  height: 54px;
  border-radius: 10px;
}

.student-grid--compact .student-card__crest img {
  width: 42px;
  height: 42px;
}

.student-grid--compact .student-card[class*="u-"] .student-card__name {
  font-size: 1.15rem;
}

.student-grid--compact .student-card[class*="u-"] .student-card__dest {
  font-size: 0.6rem;
  letter-spacing: 0.09em;
  margin-top: 0.15rem;
}

.student-grid--compact .student-card__quote {
  padding: 10px 14px 14px;
  font-size: 0.86rem;
}

.student-grid--compact .student-card__badge {
  padding: 8px 14px 12px;
  font-size: 0.6rem;
}

/* ---- SAT strip: Verbal + Math = Total ----------------------------------- */
.student-card__sat {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1.15fr;
  align-items: center;
  gap: 6px;
  margin: 12px 14px 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.08);
  border: 1px solid rgba(245, 241, 232, 0.14);
}

.student-card__sat-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--saffron);
  padding-right: 6px;
  border-right: 1px solid rgba(245, 241, 232, 0.18);
}

.student-card__sat-cell {
  display: grid;
  justify-items: center;
  line-height: 1.05;
}

.student-card__sat-cell b {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bone);
}

.student-card__sat-cell small {
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-navy-faint);
  margin-top: 2px;
}

.student-card__sat-cell--total b {
  font-size: 1.25rem;
  color: var(--saffron);
}

.student-card__sat-cell--total small {
  color: var(--saffron);
  opacity: 0.85;
}

.student-card__sat + .student-card__quote,
.student-card__sat + .student-card__badge {
  padding-top: 10px;
}

/* ---- Featured students: Instagram followers and verified tick ----------- */
.showcase-card__ig {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px 5px 7px;
  border-radius: 999px;
  background: rgba(10, 32, 57, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 241, 232, 0.22);
  color: var(--bone);
  font-size: 0.72rem;
  line-height: 1;
}

.showcase-card__ig svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.showcase-card__ig .verified {
  width: 15px;
  height: 15px;
}

.showcase-card__ig b {
  font-weight: 700;
  font-size: 0.8rem;
}

.showcase-card__ig span {
  color: var(--on-navy-faint);
}

.showcase-card__ig--todo b {
  color: rgba(245, 241, 232, 0.5);
}

.showcase-card__handle {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--saffron);
}

.showcase-card__handle--todo {
  color: rgba(245, 241, 232, 0.42);
}

/* ---- Lightbox: step through the gallery --------------------------------- */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 232, 0.3);
  background: rgba(14, 42, 71, 0.6);
  color: var(--bone);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox__nav[hidden] {
  display: none;
}

.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

.lightbox__count {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--on-navy-soft);
}

@media (max-width: 640px) {
  .lightbox__nav { width: 40px; height: 40px; top: auto; bottom: 22px; transform: none; }
  .lightbox__fig img { max-height: calc(100vh - 190px); }
}

@media (max-width: 759px) {
  .student-grid--compact {
    grid-template-columns: 1fr 1fr;
  }
  .student-card__sat {
    margin: 10px 12px 0;
    padding: 6px 8px;
    gap: 4px;
  }
}

/* Narrow cards: SAT label becomes a header row, three cells share the width */
@media (max-width: 759px) {
  .student-card__sat {
    grid-template-columns: 1fr 1fr 1.15fr;
    row-gap: 4px;
  }
  .student-card__sat-label {
    grid-column: 1 / -1;
    border-right: 0;
    padding-right: 0;
  }
  .student-card__sat-cell b {
    font-size: 0.9rem;
  }
  .student-card__sat-cell--total b {
    font-size: 1.05rem;
  }
  .student-card__sat-cell small {
    font-size: 0.5rem;
    letter-spacing: 0.06em;
  }
}

/* =========================================================================
   31. Kevin's design pack, 26 Sept 2026 (tools/build.py)
   Every block below maps to one of Kevin's mockups in the Drive folder.
   ========================================================================= */

/* ---- Shared pieces ------------------------------------------------------- */
.section--compact {
  padding-block: clamp(60px, 7vw, 104px);
}

.bar {
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--saffron);
  margin: 0 0 1.2rem;
}

.center .bar,
.bar--center {
  margin-inline: auto;
}

.bar--center {
  margin-top: 1.2rem;
  margin-bottom: 0;
}

.bar--sm {
  width: 40px;
  margin-bottom: 0.8rem;
}

.gold {
  color: var(--saffron);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.1rem;
}

.kicker::before,
.kicker::after {
  content: "";
  width: 56px;
  height: 2px;
  background: var(--saffron);
}

.kicker--left::after {
  display: none;
}

.label-gold {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
}

.eyebrow--light {
  color: var(--bone);
  letter-spacing: 0.3em;
}

.section-head--bar .bar {
  margin-bottom: 1.3rem;
}

.section-head--bar.left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.section-head--bar.left .bar {
  margin: 0;
  width: 44px;
  flex: 0 0 auto;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--saffron);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  padding: 1.2em 2.2em;
}

.btn--outline:hover {
  background: rgba(232, 179, 57, 0.14);
  box-shadow: inset 0 0 0 1.5px var(--saffron);
}

.btn--outline-light {
  --btn-fg: var(--bone);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--saffron);
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--navy);
}

.link-arrow .arrow {
  color: var(--saffron);
}

.link-arrow:hover .arrow {
  transform: translateX(3px);
}

.link-arrow--light {
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 0;
}

.is-todo {
  color: var(--ink-faint) !important;
  font-style: italic;
  opacity: 0.75;
}

/* University crest, or the KEV'S monogram when there is none */
.crest {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
}

.crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.crest--k {
  width: 40px;
  height: 40px;
  border: 1.5px solid currentColor;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
}

/* On navy, crests sit on a small white plate so dark shields stay legible */
.alum:not(.alum--light) .crest:not(.crest--k),
.result__uni .crest:not(.crest--k) {
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}

/* Closing call to action: quiet photo behind the navy */
.contact--photo {
  min-height: min(62vh, 580px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
}

.contact--photo .contact__inner {
  z-index: 1;
}

/* ---- Home: hero ------------------------------------------------------- */
.hero--home {
  min-height: min(85vh, 860px);
}

.hero--home .hero__bg img {
  opacity: 0.7;
}

.hero__sub {
  margin: 1.4rem auto 0;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  max-width: 48ch;
}

/* ---- Home: find your community ------------------------------------------ */
.join-grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.join-card {
  position: relative;
  display: block;
  min-height: clamp(340px, 30vw, 420px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.join-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.join-card__img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 34%;
  width: 66%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 30%;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}

.join-card:hover .join-card__img {
  transform: scale(1.04);
}

.join-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 42, 71, 1) 0%, rgba(14, 42, 71, 1) 34%,
    rgba(14, 42, 71, 0.55) 48%, rgba(14, 42, 71, 0) 66%);
}

.join-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  max-width: 60%;
  padding: clamp(26px, 3.6vw, 52px);
  color: var(--bone);
}

.join-card__pre {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.join-card__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  font-weight: 600;
  line-height: 1.02;
  margin: 0.45rem 0 1rem;
}

.join-card__desc {
  font-size: 1.06rem;
  line-height: 1.45;
  color: var(--on-navy-soft);
  max-width: 24ch;
}

.join-card .btn {
  align-self: flex-start;
  margin-top: 1.5rem;
  padding: 0.85em 1.2em;
  font-size: 0.86rem;
}

/* ---- Home: life at KEV'S ---------------------------------------------------- */
.pillar-grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pillar {
  position: relative;
  aspect-ratio: 6 / 7;
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-deep);
}

.pillar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}

.pillar:hover img {
  transform: scale(1.04);
}

.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 32, 57, 0) 30%, rgba(10, 32, 57, 0.72) 58%,
    rgba(10, 32, 57, 0.97) 82%);
}

.pillar__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(22px, 2.6vw, 34px);
}

.pillar h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--bone);
  margin-bottom: 0.8rem;
}

.pillar p {
  color: var(--on-navy-soft);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 32ch;
}

/* ---- Home: where our students go ----------------------------------------- */
.outcome-grid,
.star-grid,
.result-grid,
.alum-grid,
.nd-grid,
.life-grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

@media (min-width: 1000px) {
  .outcome-grid,
  .star-grid,
  .result-grid,
  .alum-grid,
  .nd-grid,
  .life-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.outcome {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(14, 42, 71, 0.1);
  border-radius: var(--r-md);
  padding: 12px 12px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.outcome:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.outcome__uni {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 84px;
  padding: 6px 4px 16px;
}

.outcome__uni .crest {
  width: 58px;
  height: 58px;
}

.outcome__word {
  display: flex;
  flex-direction: column;
  color: var(--uni-ink, var(--navy));
  line-height: 1;
}

.outcome__word b {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 600;
}

.outcome__word small {
  margin-top: 0.4rem;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--navy);
}

.outcome__photo {
  aspect-ratio: 6 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bone);
}

.outcome__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.outcome__body {
  padding: 22px 10px 0;
}

.outcome__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.outcome__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---- Featured students ("Faces you may know") ------------------------------ */
.stars {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0a1422;
  color: var(--bone);
}

.stars__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.stars__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stars::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 12, 22, 0.62), rgba(6, 12, 22, 0.4) 45%,
    rgba(6, 12, 22, 0.85));
}

.stars--plain {
  background: var(--navy);
}

.stars--plain::before {
  display: none;
}

.stars__inner {
  position: relative;
}

.stars h2 {
  color: var(--bone);
}

.stars .eyebrow {
  letter-spacing: 0.36em;
  margin-bottom: 0.9rem;
}

.star {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(420px, 34vw, 520px);
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
  background: #0b1626;
  border: 1px solid rgba(245, 241, 232, 0.16);
}

.star__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}

.star:hover .star__img {
  transform: scale(1.04);
}

.star::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 14, 24, 0) 34%, rgba(8, 14, 24, 0.78) 58%,
    rgba(8, 14, 24, 0.97) 78%);
}

.star__body {
  padding: clamp(20px, 2.2vw, 28px);
}

.star__name {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.9vw, 1.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--bone);
}

.star__role {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-navy-soft);
}

.star__ig {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.22);
  font-size: 0.95rem;
  color: var(--bone);
}

.star__ig .ig {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.star__ig .verified {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.star__quote {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--on-navy-soft);
}

.star .is-todo,
.stars .is-todo {
  color: rgba(245, 241, 232, 0.46) !important;
}

/* ---- Home: meet the founder --------------------------------------------- */
.founder {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
}

@media (min-width: 960px) {
  .founder {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .founder__quals {
    border-left: 1px solid rgba(14, 42, 71, 0.18);
    padding-left: clamp(32px, 4vw, 60px);
  }
}

.founder__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.9vw, 4.3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.founder__name {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
}

.founder__role {
  margin: 0.35rem 0 1.6rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--ink-soft);
}

.yt__dur {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: rgba(8, 16, 28, 0.86);
  color: #fff;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.yt.is-playing .yt__dur {
  display: none;
}

.founder__qh {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.qual-list li {
  padding: 1.15rem 0;
  border-bottom: 1.5px solid rgba(232, 179, 57, 0.75);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.6vw, 1.38rem);
  line-height: 1.3;
  color: var(--navy);
}

.qual-list li:last-child {
  border-bottom: 0;
}

.qual-list__stat {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.qual-list__stat b {
  font-size: clamp(3.4rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.9;
  background: linear-gradient(180deg, #dca63d, #a8741f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.qual-list__stat span {
  font-weight: 600;
}

/* ---- Debating: hero ------------------------------------------------------ */
.dhero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 820px);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--bone);
}

.dhero__bg {
  position: absolute;
  top: -80px;
  bottom: -80px;
  left: 0;
  right: 0;
  z-index: -2;
}

.dhero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
}

.dhero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 32, 54, 0.95) 0%, rgba(14, 32, 54, 0.82) 34%,
    rgba(14, 32, 54, 0.22) 64%, rgba(14, 32, 54, 0) 82%);
}

.dhero__inner {
  padding-block: clamp(96px, 12vw, 150px);
}

.dhero .bar {
  margin: 0 0 1.6rem;
}

.dhero h1 {
  color: var(--bone);
}

.dhero .lede {
  margin: 1.4rem 0 2rem;
  color: var(--on-navy-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 46ch;
}

/* ---- Debating: courses accordion ---------------------------------------- */
.ladder--v3 {
  gap: 14px;
}

.ladder__cap {
  margin: 1rem 0 0.1rem;
}

.ladder__note {
  margin: 0.2rem 0 0.8rem;
  font-size: 0.92rem;
  color: var(--on-navy-faint);
}

.step--v3 {
  background: rgba(22, 48, 78, 0.55);
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: var(--r-md);
}

.step--v3 .step__bg {
  opacity: 0.42;
  filter: saturate(0.6) brightness(0.85);
  -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 42%, #000 66%, transparent 86%);
  mask-image: linear-gradient(90deg, transparent 12%, #000 42%, #000 66%, transparent 86%);
}

.step--v3 .step__head {
  gap: 1.3rem;
  padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.8vw, 40px);
}

.step--v3 .step__title {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--bone);
}

.step--member .step__title,
.step--member .step__meta {
  color: var(--saffron);
}

.step__meta {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-left: 1.4rem;
  border-left: 1px solid rgba(245, 241, 232, 0.22);
  font-size: 1rem;
  color: var(--on-navy-soft);
  white-space: nowrap;
}

.step--v3.is-open .step__head {
  box-shadow: inset 0 -2px 0 var(--saffron);
}

.step--v3 .step__panel > div {
  background: rgba(9, 26, 45, 0.95);
}

.step--v3 .step__grid {
  padding: clamp(22px, 2.6vw, 32px) clamp(20px, 2.8vw, 40px);
}

.step--v3 .step__lead {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.6vw, 1.36rem);
  line-height: 1.5;
  color: var(--bone);
}

.step--v3 .label-gold {
  margin: 1.3rem 0 0.4rem;
}

.step--v3 .step__materials {
  color: var(--on-navy-soft);
}

.step--v3 .step__includes {
  border-left-color: var(--saffron);
}

.step--v3 .step__includes .label-gold {
  margin-top: 0;
}

.step--v3 .step__includes li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(245, 241, 232, 0.14);
  color: var(--bone);
}

.step--v3 .step__includes li:last-child {
  border-bottom: 0;
}

.step--v3 .step__includes li::before {
  display: none;
}

/* ---- Debating: life at KEV'S ---------------------------------------------- */
.life-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 46vw, 560px);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--bone);
}

.life-banner__bg {
  position: absolute;
  top: -75px;
  bottom: -75px;
  left: 0;
  right: 0;
  z-index: -2;
}

.life-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

.life-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 32, 54, 0.95) 0%, rgba(14, 32, 54, 0.84) 36%,
    rgba(14, 32, 54, 0.2) 70%, rgba(14, 32, 54, 0) 90%);
}

.life-banner__inner {
  padding-block: clamp(72px, 9vw, 120px);
}

.life-banner h2 {
  color: var(--bone);
}

.life-banner .lede {
  margin-top: 1.4rem;
  color: var(--on-navy-soft);
  max-width: 46ch;
}

.life-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(14, 42, 71, 0.1);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.life-card__photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bone);
  cursor: zoom-in;
}

.life-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.life-card__photo:hover img {
  transform: scale(1.05);
}

.life-card__photo:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: -3px;
}

.life-card__body {
  padding: 22px 22px 26px;
}

.life-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.life-card p {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.voices {
  margin-top: clamp(40px, 5vw, 64px);
}

.voices .label-gold {
  color: var(--gold-ink);
}

.voices__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 1rem;
}

.voices__item video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  border-radius: var(--r-md);
}

.voices__item figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---- Debating: coaches ----------------------------------------------------- */
.coach-card__ident .bar {
  margin: 0.55rem 0 0.5rem;
}

/* ---- Debating: our achievements -------------------------------------------- */
.ach {
  background: var(--navy-deep);
}

.ach-top {
  display: grid;
  gap: 18px;
}

@media (min-width: 960px) {
  .ach-top {
    grid-template-columns: 1.75fr 1fr;
  }
}

.ach-side {
  display: grid;
  gap: 18px;
}

.ach-card {
  position: relative;
  display: flex;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-md);
  border: 1px solid rgba(245, 241, 232, 0.14);
  background: #0c2036;
}

.ach-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.ach-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 22, 38, 0.97) 0%, rgba(8, 22, 38, 0.93) 46%,
    rgba(8, 22, 38, 0.4) 76%, rgba(8, 22, 38, 0.15));
}

.ach-card--side::after {
  background: linear-gradient(90deg, rgba(8, 22, 38, 0.96) 0%, rgba(8, 22, 38, 0.9) 55%,
    rgba(8, 22, 38, 0.55) 100%);
}

.ach-card--side .ach-card__body {
  max-width: 100%;
  width: 100%;
}

.ach-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: min(470px, 72%);
  padding: clamp(24px, 3vw, 44px);
}

.ach-card--feature {
  min-height: clamp(380px, 36vw, 500px);
}

.ach-card--side {
  min-height: 240px;
}

.ach-card__event {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.2;
  color: var(--bone);
}

.ach-card__big {
  margin-top: 0.5rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--saffron);
}

.ach-card__year {
  margin-top: 0.2rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--bone);
}

.ach-card--side .ach-card__event {
  font-size: 1.12rem;
}

.ach-card--side .ach-card__big {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
}

.ach-card--side .ach-card__year {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
}

.ach-card__hist {
  display: grid;
  gap: 0.4rem;
  margin: 1.3rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 241, 232, 0.22);
}

.ach-card__hist div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.ach-card__hist dt {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--bone);
}

.ach-card__hist dd {
  white-space: nowrap;
  margin: 0;
  font-size: 0.93rem;
  color: var(--on-navy-soft);
  font-variant-numeric: tabular-nums;
}

.ach-card__hist--row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 0;
}

.ach-card__hist--row div {
  flex-direction: column;
  gap: 0.3rem;
  padding-right: 1.6rem;
  margin-right: 1.6rem;
  border-right: 1px solid var(--saffron);
}

.ach-card__hist--row div:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.ach-card__hist--row dt {
  font-size: 1.15rem;
}

.ach-card__hist--row dd {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.ach-sub {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: clamp(40px, 5vw, 60px) 0 1.4rem;
}

.ach-sub .bar {
  margin: 0;
  width: 44px;
  flex: 0 0 auto;
}

.ach-sub h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--bone);
}

.ach-sub--row .link-arrow {
  margin-left: auto;
}

.other-champs {
  display: grid;
  gap: 22px 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.other-champ {
  padding: 0 clamp(18px, 2.4vw, 30px);
  border-left: 1.5px solid var(--saffron);
}

.other-champ p {
  min-height: 2.5em;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--bone);
}

.other-champ span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--on-navy-soft);
}

.other-champ b {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--saffron);
}

.nd {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(245, 241, 232, 0.14);
  background: #0c2036;
}

.nd__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.nd__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.nd__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(8, 22, 38, 0.94));
}

.nd__name {
  position: absolute;
  left: 22px;
  bottom: 12px;
  z-index: 1;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--bone);
}

.nd__body {
  padding: 16px 22px 24px;
}

.nd__team {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--bone);
}

.nd__role {
  margin-top: 0.2rem;
  font-size: 0.92rem;
  color: var(--on-navy-soft);
}

.nd__list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 241, 232, 0.18);
}

.nd__list li {
  display: flex;
  gap: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--on-navy-soft);
}

.nd__list b {
  flex: 0 0 3.1em;
  font-weight: 700;
  color: var(--saffron);
}

/* ---- Debating: events ----------------------------------------------------- */
.event-grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.event-tile {
  background: var(--paper);
  border: 1px solid rgba(14, 42, 71, 0.06);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.event-tile__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.event-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-tile__body {
  padding: 26px 28px 32px;
}

.event-tile h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 0.7rem;
}

.event-tile p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---- Scholars: hero ------------------------------------------------------- */
.shero {
  padding-block: clamp(64px, 8vw, 116px);
}

.shero__grid {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

@media (min-width: 900px) {
  .shero__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.shero h1 {
  color: var(--navy);
  max-width: 11ch;
}

.shero__photo {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}

.shero__photo::before {
  content: "";
  position: absolute;
  inset: 44px -24px -24px 44px;
  border-radius: var(--r-md);
  background: var(--saffron);
}

.shero__photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}

/* ---- Scholars: the SAT, mastered ----------------------------------------- */
.sat-grid {
  display: grid;
  gap: clamp(18px, 2vw, 26px);
  align-items: start;
}

@media (min-width: 900px) {
  .sat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sat-card {
  padding: clamp(24px, 2.8vw, 36px) clamp(14px, 1.6vw, 20px) 20px;
  background: var(--paper);
  border: 1px solid rgba(14, 42, 71, 0.14);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
}

.sat-card--dark {
  background: var(--navy);
  border-color: transparent;
  color: var(--bone);
}

.sat-card__title {
  padding-inline: clamp(8px, 1.2vw, 18px);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  color: inherit;
}

.sat-card > .bar {
  margin: 1rem clamp(8px, 1.2vw, 18px) 1.4rem;
}

.sat-ladder {
  gap: 10px;
}

.sat-step {
  background: transparent;
  border: 1px solid rgba(14, 42, 71, 0.16);
  border-radius: 10px;
  color: var(--navy);
}

.sat-card--dark .sat-step {
  border-color: rgba(245, 241, 232, 0.18);
  color: var(--bone);
}

.sat-step.is-open {
  border-color: rgba(14, 42, 71, 0.3);
}

.sat-card--dark .sat-step.is-open {
  border-color: rgba(245, 241, 232, 0.34);
}

.sat-step .step__panel > div {
  background: transparent;
}

.sat-step__head {
  gap: 1rem;
  padding: 18px 20px;
}

.sat-step__n {
  flex: 0 0 auto;
  padding-right: 1rem;
  border-right: 1px solid rgba(14, 42, 71, 0.2);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-ink);
}

.sat-card--dark .sat-step__n {
  color: var(--saffron);
  border-color: rgba(245, 241, 232, 0.25);
}

.sat-step__name {
  flex: 1 1 auto;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 600;
}

.sat-step__meta {
  flex: 0 0 auto;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.sat-card--dark .sat-step__meta {
  color: var(--on-navy-soft);
}

.sat-step__pm {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.sat-step__pm::before,
.sat-step__pm::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.8px;
  background: currentColor;
  transform: translateY(-50%);
}

.sat-step__pm::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.3s var(--ease);
}

.sat-step.is-open .sat-step__pm::after {
  transform: translateY(-50%) rotate(0deg);
}

.sat-step__grid {
  display: grid;
  gap: 18px;
  margin: 0 20px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(14, 42, 71, 0.12);
}

.sat-card--dark .sat-step__grid {
  border-top-color: rgba(245, 241, 232, 0.14);
}

@media (min-width: 1100px) {
  .sat-step__grid {
    grid-template-columns: 1.15fr 1fr;
  }
}

.sat-step__grid--solo {
  grid-template-columns: 1fr !important;
}

.sat-step__grid--solo > div:first-child {
  display: none;
}

.sat-step__lead {
  font-size: 1rem;
  line-height: 1.55;
}

.sat-step .label-gold {
  margin: 1rem 0 0.4rem;
  color: var(--gold-ink);
}

.sat-card--dark .sat-step .label-gold {
  color: var(--saffron);
}

.sat-step__inc .label-gold {
  margin-top: 0;
}

.sat-step__mats li,
.sat-step__inc li {
  padding: 0.1rem 0;
  font-size: 0.93rem;
  line-height: 1.55;
}

@media (min-width: 1100px) {
  .sat-step__grid:not(.sat-step__grid--solo) .sat-step__inc {
    padding-left: 18px;
    border-left: 1px solid rgba(14, 42, 71, 0.15);
  }
  .sat-card--dark .sat-step__grid:not(.sat-step__grid--solo) .sat-step__inc {
    border-left-color: rgba(245, 241, 232, 0.18);
  }
}

.place {
  display: grid;
  gap: 22px;
  align-items: center;
  margin-top: clamp(28px, 3.4vw, 44px);
  padding: clamp(22px, 2.8vw, 34px) clamp(22px, 3vw, 40px);
  border-radius: var(--r-md);
  background: #eef3fa;
}

@media (min-width: 960px) {
  .place {
    grid-template-columns: 1.1fr 1.4fr;
  }
}

.place__intro h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  color: var(--navy);
}

.place__intro p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.place__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.place__steps li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 14px;
  border-left: 1px solid rgba(14, 42, 71, 0.18);
}

.place__steps b {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--saffron);
}

.place__steps strong {
  margin-top: 0.3rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--navy);
}

.place__steps span {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.rule-line {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: clamp(26px, 3vw, 40px);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  text-align: center;
  color: var(--navy);
}

.rule-line::before,
.rule-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(14, 42, 71, 0.3);
}

/* ---- Scholars: private consulting ------------------------------------------ */
.consult2 {
  display: grid;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}

@media (min-width: 900px) {
  .consult2 {
    grid-template-columns: 1fr 1fr;
  }
}

.consult2 .bar {
  margin: 1.2rem 0 1.6rem;
}

.consult2__lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.35;
  color: var(--bone);
}

.consult2__text {
  margin-top: 1rem;
  font-size: 1.02rem;
  color: var(--on-navy-soft);
  max-width: 52ch;
}

.consult2__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.consult2__cols div {
  padding: 0 18px;
  border-left: 1px solid rgba(245, 241, 232, 0.25);
}

.consult2__cols div:first-child {
  padding-left: 0;
  border-left: 0;
}

.consult2__cols b {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bone);
}

.consult2__cols span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: var(--on-navy-soft);
}

.consult2__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}

/* ---- Scholars: SAT results ------------------------------------------------ */
.result {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(14, 42, 71, 0.1);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.result__photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bone);
}

.result__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.result__uni {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 18px;
  background: var(--navy);
  color: var(--bone);
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
}

.result__uni .crest {
  width: 42px;
  height: 42px;
}

.result__body {
  padding: 20px 22px 24px;
}

.sat {
  display: flex;
  align-items: center;
}

.sat-total {
  padding-right: 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 2.3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.sat > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
  border-left: 1px solid rgba(14, 42, 71, 0.2);
}

.sat > span:first-of-type {
  border-left: 0;
}

.sat > span b {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
}

.sat > span small {
  margin-top: 0.2rem;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.sat-caption {
  margin-top: 0.3rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.result__name {
  margin-top: 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(14, 42, 71, 0.14);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}

.result__quote {
  margin-top: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---- Notable alumni --------------------------------------------------------- */
.ahero {
  padding-block: clamp(56px, 7vw, 96px);
}

.ahero .kicker {
  color: var(--gold-ink);
}

.ahero .kicker::before,
.ahero .kicker::after {
  display: none;
}

.ahero h1 {
  color: var(--navy);
}

.ahero__sub {
  margin-top: 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  color: var(--ink-soft);
}

.alum {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #12304f;
  border: 1px solid rgba(245, 241, 232, 0.14);
}

.alum__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-deep);
}

.alum__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.alum__body {
  flex: 1;
  padding: 16px 18px 20px;
}

.alum__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bone);
}

.alum .bar {
  margin: 0.55rem 0 0.9rem;
}

.alum__uni {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(8, 22, 38, 0.5);
  border: 1px solid rgba(245, 241, 232, 0.1);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--bone);
}

.alum__uni .crest {
  width: 38px;
  height: 38px;
}

.alum__uni .crest--k {
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
}

.alum__wins {
  display: grid;
  gap: 0.55rem;
  margin-top: 14px;
}

.alum__wins li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--on-navy-soft);
}

.trophy-ico {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--saffron);
}

.alum--light {
  background: var(--paper);
  border-color: rgba(14, 42, 71, 0.1);
  box-shadow: var(--shadow-sm);
}

.alum--light .alum__name {
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.alum--light .sat-total {
  font-size: clamp(1.9rem, 2.3vw, 2.2rem);
}

.alum__uni--light {
  margin-top: 14px;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid rgba(14, 42, 71, 0.12);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
}

/* "Show all" expanders */
.is-extra {
  display: none !important;
}

.is-expanded > .is-extra {
  display: flex !important;
  animation: v3-rise 0.5s var(--ease) both;
}

@keyframes v3-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

[data-expand][aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

/* ---- Phones ------------------------------------------------------------------ */
@media (max-width: 759px) {
  .kicker::before,
  .kicker::after {
    width: 28px;
  }

  .join-card {
    min-height: 460px;
  }
  .join-card__img {
    object-position: 70% 20%;
  }
  .join-card::after {
    background: linear-gradient(180deg, rgba(14, 42, 71, 0.15) 0%, rgba(14, 42, 71, 0.55) 38%,
      rgba(14, 42, 71, 0.95) 68%);
  }
  .join-card__body {
    justify-content: flex-end;
    max-width: 100%;
  }

  .pillar {
    aspect-ratio: 4 / 3;
  }

  .outcome-grid,
  .result-grid,
  .alum-grid,
  .nd-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .outcome {
    padding: 8px 8px 16px;
  }
  .outcome__uni {
    min-height: 60px;
    gap: 8px;
    padding-bottom: 10px;
  }
  .outcome__uni .crest {
    width: 38px;
    height: 38px;
  }
  .outcome__word b {
    font-size: 1.05rem;
  }
  .outcome__word small {
    font-size: 0.5rem;
    letter-spacing: 0.2em;
  }
  .outcome__body {
    padding: 14px 4px 0;
  }
  .outcome__name {
    font-size: 1.25rem;
  }
  .outcome__quote {
    font-size: 0.86rem;
  }

  /* Featured: swipeable row instead of a tall stack */
  .star-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .star {
    scroll-snap-align: start;
    min-height: 480px;
  }

  .founder__quals {
    border-top: 1px solid rgba(14, 42, 71, 0.18);
    padding-top: 28px;
  }

  .dhero {
    align-items: flex-end;
    min-height: 88vh;
  }
  .dhero__bg img {
    object-position: 72% 20%;
  }
  .dhero__scrim {
    background: linear-gradient(180deg, rgba(14, 32, 54, 0.2) 0%, rgba(14, 32, 54, 0.6) 38%,
      rgba(14, 32, 54, 0.95) 66%);
  }
  .dhero__inner {
    padding-block: 110px 64px;
  }

  .step--v3 .step__head {
    gap: 0.8rem;
  }
  .step__meta {
    padding-left: 0.8rem;
    font-size: 0.82rem;
  }
  .step--v3 .step__bg {
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
    mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
  }

  .life-banner {
    align-items: flex-end;
  }
  .life-banner__scrim {
    background: linear-gradient(180deg, rgba(14, 32, 54, 0.25) 0%, rgba(14, 32, 54, 0.92) 62%);
  }
  .life-grid {
    grid-template-columns: 1fr;
  }

  .ach-card__body {
    max-width: 100%;
  }
  .ach-card::after {
    background: linear-gradient(180deg, rgba(8, 22, 38, 0.35) 0%, rgba(8, 22, 38, 0.95) 58%);
  }
  .ach-card--feature {
    min-height: 460px;
    align-items: flex-end;
  }
  .ach-card--side {
    min-height: 320px;
    align-items: flex-end;
  }
  .ach-sub--row {
    flex-wrap: wrap;
  }
  .ach-sub--row .link-arrow {
    margin-left: 62px;
  }
  .other-champs {
    grid-template-columns: 1fr 1fr;
  }
  .other-champ {
    padding: 0 12px;
  }
  .nd__name {
    left: 14px;
    font-size: 1.4rem;
  }
  .nd__body {
    padding: 12px 14px 18px;
  }
  .nd__team {
    font-size: 1rem;
  }
  .nd__list li {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .sat-step__head {
    flex-wrap: wrap;
    gap: 0.6rem 0.9rem;
    padding: 16px;
  }
  .sat-step__meta {
    order: 4;
    flex-basis: 100%;
    padding-left: calc(2.4rem + 1rem);
  }
  .sat-step__grid {
    margin: 0 16px;
  }
  .place__steps {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
  }
  .consult2__cols {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .consult2__cols div {
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(245, 241, 232, 0.2);
  }
  .consult2__cols div:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .result__uni {
    padding: 8px 10px;
    font-size: 0.66rem;
    min-height: 52px;
    gap: 8px;
  }
  .result__uni .crest {
    width: 30px;
    height: 30px;
  }
  .result__body {
    padding: 14px 12px 18px;
  }
  .sat-total {
    font-size: 1.9rem;
    padding-right: 8px;
  }
  .sat > span {
    padding: 0 7px;
  }
  .sat > span b {
    font-size: 1rem;
  }
  .sat > span small {
    font-size: 0.5rem;
  }
  .result__name {
    font-size: 1.2rem;
  }
  .result__quote {
    font-size: 0.84rem;
  }

  .alum__body {
    padding: 12px 12px 16px;
  }
  .alum__name {
    font-size: 1.2rem;
  }
  .alum__uni {
    font-size: 0.56rem;
    gap: 8px;
    padding: 8px;
  }
  .alum__uni .crest {
    width: 28px;
    height: 28px;
  }
  .alum__wins li {
    font-size: 0.76rem;
  }
  .alum--light .sat-total {
    font-size: 1.8rem;
  }
}

/* Private consulting heading sits on one line beside the photo */
.consult2 h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
}

@media (max-width: 759px) {
  .join-card__img {
    left: 0;
    width: 100%;
  }
  .join-card .btn {
    white-space: normal;
    text-align: left;
    line-height: 1.25;
  }
}

/* Phones: total SAT on its own line, Verbal and Math beneath it */
@media (max-width: 759px) {
  .sat {
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .sat-total,
  .alum--light .sat-total {
    flex-basis: 100%;
    padding-right: 0;
    font-size: 2rem;
  }
  .sat > span:first-of-type {
    padding-left: 0;
    align-items: flex-start;
  }
}

/* Score cards need room for "1590 · Verbal · Math": two across until 1200px */
@media (min-width: 760px) and (max-width: 1199px) {
  .result-grid,
  .alum-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .join-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Logos (Kevin's transparent set, Sept 2026) ---------------------------
   The society line under KEVS is small in the mark itself, so the logo runs
   larger than before: 50px in the header, 76px in the footer. */
@media (min-width: 760px) {
  .topbar__logo img {
    height: 50px;
  }
}

.footer__brand img {
  height: 76px;
  margin-bottom: 1.2rem;
}

/* =========================================================================
   32. Final sweep, 26 Sept 2026
   ========================================================================= */

/* Phones: the featured row scrolls sideways, so cards past the right edge
   never cross the vertical scroll trigger. Show them without the fade. */
@media (max-width: 759px) {
  .star-grid > .star.reveal {
    opacity: 1;
    transform: none;
  }
}

/* Touch screens: no lifted or zoomed card left stuck after a tap, and
   finger-sized footer links. */
@media (hover: none) {
  .join-card:hover,
  .outcome:hover,
  .coach-card:hover {
    transform: none;
  }
  .join-card:hover .join-card__img,
  .pillar:hover img,
  .star:hover .star__img,
  .life-card__photo:hover img,
  .coach-card:hover .coach-card__photo img {
    transform: none;
  }
  .footer li a {
    display: inline-block;
    padding: 0.62rem 0;
  }
  .footer li + li {
    margin-top: 0;
  }
}

.link-arrow {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

/* Small-caps labels never drop below ~10px */
.sat > span small {
  font-size: 0.66rem;
}

.outcome__word small {
  font-size: 0.66rem;
}

@media (max-width: 759px) {
  .sat > span small {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }
  .outcome__word small {
    font-size: 0.63rem;
    letter-spacing: 0.16em;
  }
  .alum__uni {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 1024px) {
  .footer li a {
    display: inline-block;
    padding: 0.62rem 0;
  }
  .footer li + li {
    margin-top: 0;
  }
}

/* Phones: long outlined buttons wrap instead of running off the screen */
@media (max-width: 759px) {
  .btn--outline {
    white-space: normal;
    text-align: center;
    justify-content: center;
    max-width: 100%;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    line-height: 1.35;
    padding: 1em 1.4em;
  }
}

/* =========================================================================
   33. Kevin's ratio sheets, 28 Sept 2026
   Desktop sections are sized to his screen-height targets. "vh" = the whole
   browser window including the menu bar; accordions are measured closed.
   The rule: tighter spacing and narrower content, never smaller type.
   ========================================================================= */

/* ---- Home: Life at KEV'S photo behind the navy ---------------------------- */
.life-home {
  overflow: hidden;
  isolation: isolate;
}

.life-home__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.life-home__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  opacity: 0.22;
  filter: saturate(0.7);
}

.life-home__inner {
  position: relative;
}

/* ---- Featured cards: testimonial play button ------------------------------ */
.star__play {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.72);
  border: 1px solid rgba(232, 179, 57, 0.6);
  color: var(--bone);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.25s var(--ease);
}

.star__play svg {
  width: 14px;
  height: 14px;
}

.star__play:hover {
  background: rgba(8, 16, 28, 0.92);
}

.lightbox--video video {
  width: min(960px, 92vw);
  max-height: calc(100vh - 160px);
  border-radius: var(--r-md);
  background: #000;
}

/* ---- Debating: Life at KEV'S, one section with cards on the photo --------- */
.life-banner__inner {
  display: grid;
  gap: clamp(26px, 3vw, 40px);
}

.life-banner__copy {
  max-width: 560px;
}

.life-tiles {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.life-tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(10, 28, 48, 0.78);
  border: 1px solid rgba(245, 241, 232, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.life-tile__photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: zoom-in;
}

.life-tile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.life-tile__photo:hover img {
  transform: scale(1.05);
}

.life-tile__photo:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: -3px;
}

.life-tile__body {
  padding: 14px 16px 18px;
}

.life-tile h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bone);
}

.life-tile p {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--on-navy-soft);
}

/* ---- Debating: Notable Debaters, its own section -------------------------- */
.notable__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: clamp(18px, 2vw, 28px);
}

.notable__head .link-arrow {
  margin-top: 0;
  font-size: 1.05rem;
}

.notable .nd {
  background: var(--paper);
  border-color: rgba(14, 42, 71, 0.1);
  box-shadow: var(--shadow-sm);
}

.notable .nd__team {
  color: var(--navy);
}

.notable .nd__role {
  color: var(--ink-soft);
}

.notable .nd__list {
  border-top-color: rgba(14, 42, 71, 0.12);
}

.notable .nd__list li {
  color: var(--ink-soft);
}

.notable .nd__list b {
  color: var(--gold-ink);
}

/* ---- Debating: events, intro column beside the cards ---------------------- */
.events__grid {
  display: grid;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}

@media (min-width: 1000px) {
  .events__grid {
    grid-template-columns: 0.72fr 2fr;
  }
}

.events__intro .bar {
  margin: 0 0 1.2rem;
}

.events__intro .lede {
  margin-top: 0.9rem;
}

/* ---- Scholars: full-bleed hero ------------------------------------------ */
.dhero--scholars .dhero__bg img {
  object-position: 62% 40%;
}

.dhero--scholars .btn-row {
  margin-top: 0;
}

/* ---- Contact form -------------------------------------------------------- */
.contact-page {
  min-height: 70vh;
}

.cform {
  display: grid;
  gap: 14px;
  margin-top: 1.8rem;
  text-align: left;
}

.cfield {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.cfield__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.cfield input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid rgba(14, 42, 71, 0.2);
  border-radius: var(--r-sm);
  background: var(--paper);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cfield input[type="text"]::placeholder {
  color: var(--ink-faint);
}

.cfield input[type="text"]:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232, 179, 57, 0.25);
}

.cchoice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cchoice label {
  position: relative;
}

.cchoice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cchoice span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1.5px solid rgba(14, 42, 71, 0.2);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.cchoice input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--bone);
}

.cchoice input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(232, 179, 57, 0.4);
}

.cfield.is-missing input[type="text"],
.cfield.is-missing .cchoice span {
  border-color: #c0392b;
}

.cform__error {
  font-size: 0.9rem;
  color: #b0322a;
}

.cform .btn {
  justify-self: center;
  margin-top: 0.6rem;
}

.csummary {
  display: grid;
  gap: 0;
  max-width: 420px;
  margin: 1.4rem auto 0;
  text-align: left;
  border-top: 1px solid rgba(14, 42, 71, 0.12);
}

.csummary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(14, 42, 71, 0.12);
}

.csummary dt {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.csummary dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
  overflow-wrap: anywhere;
}

/* ---- Desktop: section heights from Kevin's ratio sheets ------------------- */
@media (min-width: 1000px) {
  .hero--home,
  .dhero {
    min-height: 85vh;
  }

  /* Home */
  .page-home #societies {
    min-height: 70vh;
    padding-block: 4vh 5vh;
    display: flex;
    align-items: center;
  }
  .page-home #societies > .wrap {
    width: 100%;
  }
  .page-home #societies .section-head {
    margin-bottom: 2.4vh;
  }
  .page-home .join-card {
    min-height: 44vh;
  }
  .page-home #life {
    min-height: 75vh;
    padding-block: 5vh;
  }
  .page-home #life .section-head,
  .page-home #students .section-head,
  .page-home #featured .section-head {
    margin-bottom: 2.6vh;
  }
  .page-home .pillar {
    aspect-ratio: auto;
    height: 50vh;
  }
  .page-home #students,
  .page-home #featured,
  .page-home #founder {
    min-height: 80vh;
    padding-block: 5vh;
  }
  .page-home .outcome-grid,
  .page-home .star-grid {
    max-width: 1040px;
    margin-inline: auto;
  }
  .page-home .outcome__photo {
    aspect-ratio: 4 / 3;
  }
  .page-home .outcome__body {
    padding-top: 14px;
  }
  .page-home .star {
    min-height: 0;
    height: 50vh;
  }
  .page-home #students .center,
  .page-home #featured .center {
    margin-top: 2.4vh !important;
  }
  .page-home #founder {
    display: flex;
    align-items: center;
  }
  .page-home #founder > .wrap {
    width: 100%;
  }
  .page-home .founder .yt {
    max-width: 560px;
  }
  .contact--photo {
    min-height: 60vh;
  }

  /* Debating */
  .page-debating #courses {
    min-height: 95vh;
    padding-block: 5vh;
  }
  .page-debating #courses .section-head {
    margin-bottom: 1.6vh;
  }
  .page-debating .ladder--v3 {
    max-width: 1040px;
    margin-inline: auto;
    gap: 10px;
  }
  .page-debating .step--v3 .step__head {
    padding-block: 2vh;
  }
  .page-debating .ladder__cap {
    margin-top: 0.6rem;
  }
  .page-debating .life-banner {
    min-height: 90vh;
  }
  .page-debating .life-banner__inner {
    padding-block: 7vh;
  }
  .page-debating .life-tile__photo {
    aspect-ratio: auto;
    height: 17vh;
  }
  .page-debating #coaches {
    min-height: 80vh;
    padding-block: 5vh;
  }
  .page-debating #coaches .section-head {
    margin-bottom: 2.4vh;
  }
  .page-debating .coach-grid {
    max-width: 960px;
    margin-inline: auto;
  }
  .page-debating .coach-card__photo {
    aspect-ratio: auto;
    height: 36vh;
  }
  .page-debating .coach-card__creds {
    padding: 14px 20px 18px;
  }
  .page-debating #results {
    min-height: 90vh;
    padding-block: 5vh;
  }
  .page-debating #results .section-head {
    margin-bottom: 2.4vh;
  }
  .page-debating .ach-card--feature {
    min-height: 46vh;
  }
  .page-debating .ach-card--side {
    min-height: 0;
  }
  .page-debating .ach-card--side .ach-card__body {
    padding: 2.2vh 26px;
  }
  .page-debating .ach-card__hist {
    margin-top: 1vh;
    padding-top: 1vh;
  }
  .page-debating .ach-card--feature .ach-card__body {
    padding-block: 4vh;
  }
  .page-debating .ach-sub {
    margin: 3.4vh 0 1.4vh;
  }
  .page-debating #notable {
    min-height: 80vh;
    padding-block: 5vh;
  }
  .page-debating .nd__photo {
    aspect-ratio: auto;
    height: 30vh;
  }
  .page-debating #events {
    min-height: 80vh;
    padding-block: 5vh;
    display: flex;
    align-items: center;
  }
  .page-debating #events > .wrap {
    width: 100%;
  }
  .page-debating .event-tile__img {
    aspect-ratio: auto;
    height: 30vh;
  }
  .page-debating .event-tile__body {
    padding: 20px 22px 24px;
  }

  /* Scholars */
  .page-scholars #courses {
    min-height: 95vh;
    padding-block: 5vh;
  }
  .page-scholars #courses .section-head {
    margin-bottom: 3vh;
  }
  .page-scholars .sat-grid,
  .page-scholars .place,
  .page-scholars .rule-line {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-scholars .sat-card {
    padding-top: 3vh;
  }
  .page-scholars .sat-card > .bar {
    margin-bottom: 1.6vh;
  }
  .page-scholars .place {
    margin-top: 3vh;
    padding-block: 2.4vh;
  }
  .page-scholars .rule-line {
    margin-top: 2.6vh;
  }
  .page-scholars #consulting {
    min-height: 45vh;
    padding-block: 5vh;
  }
  .page-scholars .consult2__photo img {
    aspect-ratio: auto;
    height: 34vh;
  }
  .page-scholars .consult2__cols {
    margin-top: 1.6rem;
  }
  .page-scholars #results {
    min-height: 80vh;
    padding-block: 5vh;
  }
  .page-scholars #results .section-head {
    margin-bottom: 2.6vh;
  }
  .page-scholars .result-grid {
    max-width: 1100px;
    margin-inline: auto;
  }
  .page-scholars .result__photo {
    aspect-ratio: auto;
    height: 24vh;
  }

  /* Notable alumni */
  .page-alumni .ahero {
    min-height: 25vh;
    padding-block: 3.4vh;
    display: flex;
    align-items: center;
  }
  .page-alumni .ahero > .wrap {
    width: 100%;
  }
  .page-alumni #debaters,
  .page-alumni #scholars {
    min-height: 65vh;
    padding-block: 4.4vh;
  }
  .page-alumni #featured {
    min-height: 75vh;
    padding-block: 4.4vh;
  }
  .page-alumni .section-head {
    margin-bottom: 2.4vh;
  }
  .page-alumni .alum-grid,
  .page-alumni .star-grid {
    max-width: 1100px;
    margin-inline: auto;
  }
  .page-alumni .alum__photo {
    aspect-ratio: auto;
    height: 17vh;
  }
  .page-alumni .star {
    min-height: 0;
    height: 52vh;
  }
  .page-alumni [data-expand] {
    margin-top: 0;
  }
  .page-alumni .center:has([data-expand]) {
    margin-top: 2.4vh !important;
  }
}

/* ---- Phones -------------------------------------------------------------- */
@media (max-width: 759px) {
  .life-tiles {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .life-tile__body {
    padding: 10px 12px 14px;
  }
  .life-tile h3 {
    font-size: 1.05rem;
  }
  .life-tile p {
    font-size: 0.8rem;
  }
  .page-debating .life-banner__inner {
    padding-block: 64px 40px;
  }
  .page-debating .life-banner__scrim {
    background: linear-gradient(180deg, rgba(14, 32, 54, 0.35) 0%, rgba(14, 32, 54, 0.9) 36%,
      rgba(14, 32, 54, 0.96) 100%);
  }
  .dhero--scholars .dhero__bg img {
    object-position: 70% 30%;
  }
  .cchoice span {
    font-size: 0.92rem;
  }
  .csummary div {
    flex-direction: column;
    gap: 2px;
  }
  .csummary dd {
    text-align: left;
  }
  .star__play {
    top: 10px;
    right: 10px;
  }
}

/* Ratio tuning, second pass */
@media (min-width: 1000px) {
  .page-home .section-head--bar .bar,
  .page-debating .section-head--bar .bar,
  .page-scholars .section-head--bar .bar {
    margin-bottom: 0.9rem;
  }
  .page-home #students .section-head .lede {
    margin-top: 0.4rem;
  }
  .page-home .outcome__photo {
    aspect-ratio: auto;
    height: 24vh;
  }
  .page-home .outcome__uni {
    min-height: 0;
    padding-bottom: 10px;
  }
  .page-home .outcome {
    padding-bottom: 18px;
  }
  .page-home .star {
    height: 46vh;
  }
  .page-home #featured .eyebrow {
    margin-bottom: 0.5rem;
  }
  .page-home .founder {
    align-items: center;
  }
  .page-home .founder__title {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
  }
  .page-home .founder__role {
    margin-bottom: 1.2rem;
  }
  .page-home .founder .yt {
    max-width: 500px;
  }
  .page-home .founder .link-arrow {
    margin-top: 0.8rem;
  }
  .page-home .qual-list li {
    padding: 0.8rem 0;
  }

  .page-debating .life-banner__lede,
  .page-debating .life-banner .lede {
    margin-top: 1rem;
  }
  .page-debating .life-banner__inner {
    padding-block: 5vh;
    gap: 3vh;
  }
  .page-debating .ach-card--feature {
    min-height: 40vh;
  }
  .page-debating .ach-card--feature .ach-card__big {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
  }
  .page-debating .ach-card--feature .ach-card__year {
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  }
  .page-debating .ach-card--side .ach-card__big {
    font-size: 1.8rem;
  }
  .page-debating .ach-card--side .ach-card__year {
    font-size: 1.5rem;
  }
  .page-debating .ach-card--side .ach-card__event {
    font-size: 1rem;
  }
  .page-debating .nd__photo {
    height: 26vh;
  }
  .page-debating .nd__body {
    padding: 12px 18px 16px;
  }
  .page-debating .nd__list {
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    gap: 0.4rem;
  }
  .page-debating .events__grid {
    grid-template-columns: 0.6fr 2.4fr;
  }
  .page-debating .event-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-debating .event-tile__img {
    height: 28vh;
  }
  .page-debating .event-tile h3 {
    font-size: 1.35rem;
  }
  .page-debating .event-tile p {
    font-size: 0.92rem;
  }

  .page-scholars .place {
    grid-template-columns: 1fr 1.5fr;
    padding-block: 2vh;
  }
  .page-scholars .place__intro p {
    margin-top: 0.3rem;
  }
  .page-scholars .place__steps b {
    font-size: 2rem;
  }
  .page-scholars .result__photo {
    height: 20vh;
  }
  .page-scholars .result__body {
    padding: 16px 20px 18px;
  }
  .page-scholars .result__name {
    margin-top: 0.7rem;
  }
  .page-scholars .result__quote {
    margin-top: 0.6rem;
  }
  .page-scholars .sat-step__head {
    padding-block: 14px;
  }
}

/* Ratio tuning, third pass */
@media (min-width: 1000px) {
  .page-home .outcome__photo {
    height: 21vh;
  }
  .page-home .outcome__quote {
    font-size: 0.95rem;
  }
  .page-debating #results .ach-top {
    grid-template-rows: 38vh;
  }
  .page-debating .ach-card--feature {
    min-height: 0;
  }
  .page-debating .ach-side {
    grid-template-rows: 1fr 1fr;
  }
  .page-debating .ach-card--side .ach-card__hist {
    display: none;
  }
  .page-debating .ach-card--side .ach-card__body {
    padding-block: 1.6vh;
  }
  .page-debating .other-champ p {
    min-height: 0;
  }
  /* Scholars */
  .page-scholars .place {
    grid-template-columns: 0.9fr 1.6fr;
    padding-block: 1.8vh;
  }
  .page-scholars .place__intro h3 {
    font-size: 1.6rem;
  }
  .page-scholars .place__intro p {
    font-size: 0.88rem;
  }
  .page-scholars .place__steps li {
    padding: 0 10px;
  }
  .page-scholars .place__steps b {
    font-size: 1.7rem;
  }
  .page-scholars .rule-line {
    margin-top: 2vh;
  }
  .page-scholars #courses .section-head {
    margin-bottom: 2.2vh;
  }
  .page-scholars .sat-card {
    padding-top: 2.4vh;
  }
  .page-scholars .sat-card__title {
    font-size: 2.6rem;
  }
  .page-scholars #consulting {
    padding-block: 4vh;
  }
  .page-scholars #consulting h2 {
    font-size: 2.6rem;
  }
  .page-scholars .consult2 .bar {
    margin: 0.8rem 0 1rem;
  }
  .page-scholars .consult2__text {
    margin-top: 0.6rem;
  }
  .page-scholars .consult2__cols {
    margin-top: 1.2rem;
  }
  .page-scholars .consult2__photo img {
    height: 32vh;
  }
  .page-scholars .result__photo {
    height: 19vh;
  }
  .page-scholars .result__uni {
    min-height: 52px;
  }
  /* Alumni: hero exactly 25vh */
  .page-alumni .ahero {
    height: 25vh;
    min-height: 0;
    padding-block: 0;
  }
  .page-alumni .ahero .kicker {
    margin-bottom: 0.4rem;
  }
  .page-alumni .ahero h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
  }
  .page-alumni .ahero__sub {
    margin-top: 0.3rem;
    font-size: 1.1rem;
  }
  .page-alumni .ahero .jump-row {
    margin-top: 1rem !important;
  }
}

/* Ratio tuning, final pass */
@media (min-width: 1000px) {
  .page-home #students {
    padding-block: 4vh;
  }
  .page-home #students .section-head {
    margin-bottom: 2vh;
  }
  .page-home .outcome__photo {
    height: 19vh;
  }
  .page-home .outcome__body {
    padding-top: 10px;
  }
  .page-home .outcome__name {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
  }
  .page-home #featured {
    padding-block: 4vh;
  }
  .page-home .star {
    height: 44vh;
  }
  .page-scholars #results {
    padding-block: 4vh;
  }
  .page-scholars .result__photo {
    height: 17vh;
  }
  .page-scholars #consulting {
    min-height: 45vh;
    padding-block: 3vh;
    display: flex;
    align-items: center;
  }
  .page-scholars #consulting > .wrap {
    width: 100%;
  }
  .page-alumni #debaters,
  .page-alumni #scholars,
  .page-alumni #featured {
    padding-block: 3.6vh;
  }
  .page-alumni .alum__photo {
    height: 15vh;
  }
  .page-alumni .alum__body {
    padding: 12px 16px 14px;
  }
  .page-alumni .alum .bar {
    margin: 0.4rem 0 0.6rem;
  }
  .page-alumni .alum__wins {
    margin-top: 10px;
    gap: 0.4rem;
  }
  .page-alumni .star {
    height: 50vh;
  }
}

/* Featured cards: photo on top, text on its own dark panel below, so a
   full quote never covers the face. */
.star {
  justify-content: flex-start;
}

.star__img {
  position: relative;
  inset: auto;
  z-index: 0;
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  object-position: 50% 22%;
}

.star::after {
  display: none;
}

.star__body {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  margin-top: -42px;
  padding-top: 46px;
  background: linear-gradient(180deg, rgba(8, 14, 24, 0) 0%, rgba(8, 14, 24, 0.9) 42px,
    #0b1626 64px);
}

@media (min-width: 1000px) {
  .page-home .star,
  .page-alumni .star {
    height: 56vh;
  }
  .page-home .star__quote,
  .page-alumni .star__quote {
    font-size: 0.94rem;
    margin-top: 10px;
  }
  .page-home .star__ig,
  .page-alumni .star__ig {
    margin-top: 10px;
    padding-bottom: 10px;
  }
  .page-home .star__body,
  .page-alumni .star__body {
    padding-bottom: 18px;
  }
  .page-home #featured .section-head {
    margin-bottom: 2vh;
  }
  .page-debating .events__grid {
    grid-template-columns: 0.85fr 2.2fr;
  }
}

@media (max-width: 759px) {
  .star {
    min-height: 0;
    height: 540px;
  }
}

@media (min-width: 1000px) {
  .page-home .star {
    height: 52vh;
  }
  .page-alumni .star {
    height: 54vh;
  }
}

@media (min-width: 1000px) {
  .page-home .star-grid,
  .page-alumni .star-grid {
    max-width: none;
  }
}

@media (max-width: 759px) {
  .dhero--scholars .lede br {
    display: none;
  }
}

/* =========================================================================
   34. Ken's notes, 28 Sept 2026
   ========================================================================= */
@media (min-width: 1000px) {
  /* Scholars: the SAT section ends where its content ends, no empty band
     before Private consulting. */
  .page-scholars #courses {
    min-height: 0;
  }

  /* Alumni: the page title outranks the section titles below it. */
  .page-alumni .ahero {
    height: auto;
    min-height: 25vh;
    padding-block: 3.2vh;
  }
  .page-alumni .ahero h1 {
    font-size: clamp(3rem, 5.2vw, 4.6rem);
    line-height: 1;
  }
  .page-alumni .section-head .h-xl {
    font-size: clamp(2rem, 3.2vw, 2.9rem);
  }
  .page-alumni .section-head--bar.left .bar {
    width: 36px;
  }
}
@media (min-width: 1000px) {
  .page-alumni .ahero { padding-block: 2vh; }
  .page-alumni .ahero .jump-row { margin-top: 0.9rem !important; }
}

/* =========================================================================
   35. Kevin's mobile review, 28 Sept 2026
   ========================================================================= */

/* Alumni featured: the rest of the list is a second row, shown on "Show all" */
.star-grid--more {
  display: none;
  margin-top: clamp(14px, 1.6vw, 22px);
}

.star-rows.is-expanded .star-grid--more {
  display: grid;
  animation: v3-rise 0.5s var(--ease) both;
}

.star-grid--more .star.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 859px) {
  /* Header: logo, button and menu sit in the middle of the bar */
  .topbar__inner {
    align-content: center;
  }
  .topbar.is-open .topbar__inner {
    align-content: flex-start;
    padding-top: 13px;
  }
}

@media (max-width: 759px) {
  /* Home hero: frame the students, not a cropped head */
  .hero--home .hero__bg img {
    object-position: 70% 60%;
  }

  /* Debating hero: speaker a little right of centre */
  .page-debating .dhero__bg img {
    object-position: 60% 20%;
  }

  /* Find your community: both cards on one screen */
  .page-home #societies {
    padding-block: 36px 40px;
  }
  .page-home #societies .section-head {
    margin-bottom: 18px;
  }
  .page-home #societies .kicker {
    margin-bottom: 0.5rem;
  }
  .page-home #societies .h-xl {
    font-size: 2rem;
  }
  .join-grid {
    gap: 12px;
  }
  .join-card {
    min-height: 0;
    height: clamp(232px, 31svh, 290px);
  }
  .join-card__img {
    object-position: 70% 30%;
  }
  .join-card::after {
    background: linear-gradient(90deg, rgba(14, 42, 71, 0.96) 0%, rgba(14, 42, 71, 0.82) 48%,
      rgba(14, 42, 71, 0.25) 100%);
  }
  .join-card__body {
    justify-content: center;
    max-width: 78%;
    padding: 20px 20px;
  }
  .join-card__pre {
    font-size: 0.66rem;
  }
  .join-card__title {
    font-size: 1.75rem;
    margin: 0.2rem 0 0.5rem;
  }
  .join-card__desc {
    font-size: 0.9rem;
  }
  .join-card .btn {
    margin-top: 0.9rem;
    min-height: 40px;
    padding: 0.6em 1em;
    font-size: 0.8rem;
  }

  /* Swipe rows: students, coaches, notable debaters, SAT results */
  .outcome-grid,
  .coach-grid,
  .page-debating .nd-grid,
  .page-scholars .result-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 76%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .outcome-grid::-webkit-scrollbar,
  .coach-grid::-webkit-scrollbar,
  .page-debating .nd-grid::-webkit-scrollbar,
  .page-scholars .result-grid::-webkit-scrollbar,
  .star-grid::-webkit-scrollbar {
    display: none;
  }
  .outcome-grid > *,
  .coach-grid > *,
  .page-debating .nd-grid > *,
  .page-scholars .result-grid > * {
    scroll-snap-align: start;
  }
  /* Cards past the right edge never cross the scroll trigger: show them */
  .outcome-grid > .reveal,
  .coach-grid > .reveal,
  .page-debating .nd-grid > .reveal,
  .page-scholars .result-grid > .reveal {
    opacity: 1;
    transform: none;
  }
  .outcome {
    padding: 10px 10px 18px;
  }
  .outcome__uni .crest {
    width: 46px;
    height: 46px;
  }
  .outcome__word b {
    font-size: 1.3rem;
  }
  .outcome__word small {
    font-size: 0.6rem;
  }
  .outcome__body {
    padding: 16px 6px 0;
  }
  .outcome__name {
    font-size: 1.5rem;
  }
  .outcome__quote {
    font-size: 0.95rem;
  }

  /* Coaches: slightly flatter so a card fits on one screen */
  .coach-card__photo {
    aspect-ratio: 5 / 4;
  }
  .coach-card__creds {
    padding: 14px 18px 18px;
  }

  /* Notable debaters: roomier now each card has the width */
  .page-debating .nd__name {
    font-size: 1.7rem;
  }
  .page-debating .nd__list li {
    font-size: 0.86rem;
  }

  /* SAT results: full-size score again */
  .page-scholars .sat-total {
    flex-basis: auto;
    padding-right: 12px;
    font-size: 2.3rem;
  }
  .page-scholars .sat > span:first-of-type {
    padding-left: 8px;
    align-items: center;
  }
  .page-scholars .sat {
    flex-wrap: nowrap;
  }
  .page-scholars .result__uni {
    font-size: 0.8rem;
  }

  /* Meet the founder: about one screen */
  .page-home #founder {
    padding-block: 40px;
  }
  .page-home .founder {
    gap: 24px;
  }
  .founder__title {
    font-size: 2.2rem;
  }
  .founder__name {
    margin-top: 0.6rem;
    font-size: 1.45rem;
  }
  .founder__role {
    margin: 0.2rem 0 1rem;
    font-size: 1rem;
  }
  .page-home .founder .link-arrow {
    margin-top: 0.6rem;
    font-size: 1.05rem;
  }
  .founder__quals {
    padding-top: 18px;
  }
  .founder__qh {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
  }
  .qual-list li {
    padding: 0.6rem 0;
    font-size: 1rem;
  }
  .qual-list__stat b {
    font-size: 2.6rem;
  }

  /* Scholars: no photo beside consulting on phones */
  .consult2__photo {
    display: none;
  }

  /* Alumni featured: each row is its own swipe row */
  .star-grid--more {
    margin-top: 14px;
  }
}

@media (max-width: 859px) {
  .topbar__inner {
    row-gap: 0;
  }
  .topbar.is-open .nav {
    margin-top: 12px;
  }
}

@media (max-width: 759px) {
  .join-card {
    height: clamp(208px, 27svh, 250px);
  }
  .page-home #societies {
    padding-block: 28px 32px;
  }
}
@media (max-width: 759px) {
  .page-debating .dhero__bg img { object-position: 50% 20%; }
}

/* =========================================================================
   36. Featured cards: gold bar level, 4 Oct 2026
   Every photo is the same height, so the gold bar lines up across a row even
   when a name wraps to two lines. The heights match the old one-line-name
   cards (Preem); a card with a longer name grows a little at the bottom
   instead of its photo shrinking.
   ========================================================================= */
.star {
  height: auto;
  min-height: 0;
}

.star__img {
  flex: none;
  height: calc(clamp(420px, 34vw, 520px) - 258px);
}

@media (max-width: 759px) {
  .star {
    height: auto;
  }
  .star__img {
    height: 306px;
  }
}

@media (min-width: 1000px) {
  .page-home .star,
  .page-alumni .star {
    height: auto;
  }
  .page-home .star__img {
    height: calc(52vh - 242px);
  }
  .page-alumni .star__img {
    height: calc(54vh - 242px);
  }
  /* The taller two-line-name cards cost about 30px; take it from the
     section padding so the section keeps its ratio-sheet height. */
  .page-home #featured {
    padding-block: calc(4vh - 15px);
  }
  .page-alumni #featured {
    padding-block: calc(3.6vh - 15px);
  }
}
