/* ==========================================================================
   MISJ STUCO — CHAPTERS (part 1)
   Arrival · 01 The Beginning · 02 The Community · 03 The People
   ========================================================================== */

.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ---------- 00 ARRIVAL ---------- */
.hero { height: 165vh; }
.hero__stage { --panel: min(clamp(360px, 38vw, 720px), (100vh - 80px - var(--gutter) - 200px) * 4 / 3); display: grid; place-items: center; padding-right: calc(var(--panel) + var(--gutter)); }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.hero__glow {
  position: absolute; left: 50%; top: 52%; width: 120vmax; height: 120vmax; pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(26, 71, 214, .42), rgba(10, 36, 130, .14) 45%, transparent 72%);
}
.hero__center { --logo: clamp(96px, 14vw, 168px); --gap: clamp(14.4px, 3vh, 28.8px); position: relative; z-index: 2; text-align: center; will-change: transform, opacity; }
.hero__badge { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 32px); height: var(--logo); margin: 0 auto var(--gap); }
.hero__logo { position: relative; z-index: 1; display: block; flex: none; width: var(--logo); height: 100%; object-fit: contain; filter: drop-shadow(0 0 28px rgba(255, 205, 60, .18)); opacity: 0; transition: opacity .8s var(--ease) .2s; pointer-events: none; }
.loaded .hero__logo { opacity: 1; }
.arrived .hero__logo { transition: none; }
/* sparkles + corner frame */
.hero__deco { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease) 1.2s; }
.loaded .hero__deco { opacity: 1; }
.spark { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); fill: #e9e6d6; opacity: .75; transform: translate(-50%, -50%); animation: twinkle 3.6s ease-in-out var(--d) infinite; }
.spark--y { fill: var(--yellow); filter: drop-shadow(0 0 8px var(--yellow-glow)); }
@keyframes twinkle { 0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(1) rotate(0deg); } 50% { opacity: .2; transform: translate(-50%, -50%) scale(.55) rotate(45deg); } }
.reduce .spark { animation: none; }
@media (prefers-reduced-motion: reduce) { .spark { animation: none; } }
@media (max-width: 700px) { .spark:nth-of-type(n+7) { display: none; } }
.hero__title {
  font-family: var(--f-display); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.05; margin-right: -.02em; white-space: nowrap;
  font-size: min(6vw, 18vh, (100vw - var(--panel) - 3 * var(--gutter)) / 9);   /* always fits beside the panel */
}
.hero__title .ch, .hero__sub .ch {
  display: inline-block; white-space: pre; opacity: 0; filter: blur(16px);
  transform: translate3d(0, .32em, 0) scale(1.05);
  transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s var(--ease);
  transition-delay: calc(.1s + var(--i) * .04s);
}
.loaded .hero__title .ch, .loaded .is-ready .is-on .hero__sub .ch { opacity: 1; filter: none; transform: none; }
.ch-word { white-space: nowrap; }
.hero__school { margin-top: clamp(14.4px, 3.4vh, 30.4px); font-family: var(--f-label); font-weight: 600; font-size: clamp(.8rem, .96vw, 1.1rem); letter-spacing: .3em; color: var(--mist); opacity: 0; transition: opacity .8s .5s; will-change: transform; }
.loaded .hero__school { opacity: 1; }
.hero__start {
  margin-top: clamp(32px, 8vh, 72px);
  font-weight: 500; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1rem, 1.24vw, 1.5rem);
  opacity: 0; transform: translateY(14.4px); filter: blur(6px);
  transition: opacity .8s var(--ease) .8s, transform .8s var(--ease) .8s, filter .8s var(--ease) .8s;
}
.loaded .hero__start { opacity: 1; transform: none; filter: none; }
/* hero call to action */
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(22px, 4vh, 40px); }
.hero__lf {
  position: relative;
  font-size: clamp(.9rem, 1vw, 1.15rem); padding: 1.25em 2.1em 1.25em 1.25em; gap: 1em;
  box-shadow: 0 0 0 0 rgba(255, 210, 31, .5), 0 18px 50px -14px var(--yellow-glow);
  opacity: 0; transform: translateY(14.4px);
  transition: opacity .8s var(--ease) 1s, transform .8s var(--ease) 1s, background .45s var(--ease), color .45s var(--ease), border-color .45s;
}
.loaded .hero__lf { opacity: 1; transform: none; animation: lfPulse 2.6s var(--ease) 2s infinite; }
.arrived .hero__lf { transition: background .45s var(--ease), color .45s var(--ease), border-color .45s; }
.hero__lf-icon { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--navy-950); color: var(--yellow); font-weight: 800; font-family: var(--f-display); }
@keyframes lfPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 31, .5), 0 18px 50px -14px var(--yellow-glow); } 70%, 100% { box-shadow: 0 0 0 18px rgba(255, 210, 31, 0), 0 18px 50px -14px var(--yellow-glow); } }
.reduce .hero__lf { animation: none; }
/* events + announcements panel: on the page gutter, centred between the menu button and the
   bottom. Its width is capped by the screen height, so the 4:3 photo plus the text always fit. */
.hero__side { display: contents; }
.hero__board {
  position: absolute; top: 80px; right: var(--gutter); bottom: var(--gutter); z-index: 2; width: var(--panel);
  height: fit-content; max-height: calc(100% - 80px - var(--gutter)); margin-block: auto;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--navy-950); border: 1px solid var(--faint); border-radius: 20px;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .8);
  will-change: transform, opacity;
  opacity: 0; transition: opacity .8s var(--ease) .2s;
}
.loaded .hero__board.is-ready { opacity: 1; }
.arrived .hero__board { transition: none; }
/* slides sit on top of each other in one grid cell, so the panel never changes size */
.hero__slides { position: relative; flex: 0 1 auto; min-height: 0; display: grid; }
.hero__slide {
  position: relative; grid-area: 1 / 1; min-width: 0; min-height: 0; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s;
}
.hero__slide.is-on { opacity: 1; visibility: visible; }
/* signed-in admins only */
.hero__edit { position: absolute; left: 12px; top: 12px; z-index: 2; padding: .6em 1.1em; border-radius: 999px; background: var(--navy-950); border: 1px solid var(--yellow); color: var(--yellow); transition: background .3s, color .3s; }
.hero__edit:hover, .hero__edit:focus-visible { background: var(--yellow); color: var(--navy-950); }
/* always 4:3, the same frame admins crop to at /announcementadmins */
.hero__media { flex: 0 1 auto; min-height: 0; aspect-ratio: 4 / 3; }
/* the right half of a slide is a big "next" button */
.hero__hit { position: absolute; top: 0; right: 0; bottom: 0; z-index: 1; width: 50%; }
.hero__hit::after {
  content: "92"; position: absolute; right: 16px; top: 33%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(3, 10, 34, .6); border: 1px solid var(--yellow); color: var(--yellow); font-size: 1.3rem;
  opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s var(--ease);
}
.hero__hit:hover::after { opacity: 1; transform: none; }
.hero__copy { flex: none; padding: clamp(12px, 2vh, 22px) clamp(16px, 1.8vw, 28px) clamp(6px, 1vh, 10px); }
.hero__label { margin-bottom: clamp(6px, 1vh, 10px); font-size: .62rem; }
.hero__sub { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(1.05rem, 1.25vw, 1.55rem); transform-origin: left top; transform: scale(var(--sub-scale, 1)); opacity: var(--sub-op, 1); }
.hero__desc {
  margin-top: clamp(4px, .8vh, 8px); color: var(--mist); font-size: clamp(.8rem, .78vw, .92rem); line-height: 1.45;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  transform: translate3d(0, var(--desc-y, 0), 0);
}
.hero__foot { flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 0 clamp(16px, 1.8vw, 28px) clamp(10px, 1.8vh, 18px); }
.hero__contact { color: var(--mist); font-size: clamp(.78rem, .74vw, .88rem); line-height: 1.45; }
.hero__contact a { color: var(--yellow); font-weight: 600; }
.hero__contact a:hover, .hero__contact a:focus-visible { text-decoration: underline; }
.hero__nav { display: flex; align-items: center; gap: 6px; }
.hero__step { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--faint); font-size: 1.15rem; transition: border-color .3s, color .3s; }
.hero__step:hover, .hero__step:focus-visible { border-color: var(--yellow); color: var(--yellow); }
.hero__pips { display: flex; flex-wrap: wrap; justify-content: center; }
.hero__pip { width: 26px; height: 26px; padding: 8px; border-radius: 50%; background: var(--faint); background-clip: content-box; transition: background-color .3s; }
.hero__pip:hover { background-color: var(--mist); }
.hero__pip[aria-current="true"] { background-color: var(--yellow); }
/* same fade as the school line */
.hero__label, .hero__desc, .hero__contact { opacity: 0; transition: opacity .8s .5s; will-change: transform; }
.loaded .is-ready .hero__label, .loaded .is-ready .hero__contact { opacity: 1; }
.loaded .is-ready .hero__desc { opacity: var(--desc-op, 1); }
.arrived .hero__label, .arrived .hero__desc, .arrived .hero__contact { transition: none; }
.hero__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.hero__path { fill: none; stroke: var(--yellow); stroke-width: 1.6; stroke-linecap: round; }
.hero__line, .hero__dot { visibility: hidden !important; }
.hero__dot {
  position: absolute; left: 0; top: 0; z-index: 2; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: var(--yellow); opacity: 0; transition: opacity 1s .2s;
  box-shadow: 0 0 0 5px rgba(255, 210, 31, .14), 0 0 26px 6px var(--yellow-glow);
  will-change: transform;
}
.hero__dot::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--yellow);
  animation: ping 2.4s var(--ease) infinite;
}
.loaded .hero__dot { opacity: 1; }
@keyframes ping { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
.hero__meta { position: absolute; bottom: clamp(17.6px, 4.5vh, 35.2px); color: rgba(255, 255, 255, .5); opacity: 0; transition: opacity .8s 1.1s; }
.hero__meta--l { left: var(--gutter); }
.hero__meta--r { right: var(--gutter); }
.loaded .hero__meta { opacity: 1; }
.hero__scroll {
  position: absolute; left: calc((100% - var(--panel) - var(--gutter)) / 2); bottom: clamp(17.6px, 4.5vh, 35.2px); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 11.2px;
  transform: translateX(-50%); opacity: 0; transition: opacity .8s 1.2s;
}
.loaded .hero__scroll { opacity: 1; }
/* once the arrival has played, scroll drives these directly */
.arrived .hero__school, .arrived .hero__start, .arrived .hero__meta, .arrived .hero__scroll { transition: none; }
.hero__arrow { position: relative; width: 1px; height: 36.8px; overflow: hidden; background: var(--faint); }
.hero__arrow::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%;
  background: var(--yellow); animation: drip 2.2s var(--ease-io) infinite;
}
@keyframes drip { to { transform: translateY(300%); } }

/* ---------- 01 THE BEGINNING ---------- */
.begin { height: 270vh; }
.begin__stage {
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 4vw;
  padding-inline: var(--gutter);
}
.begin__text .display { max-width: 9ch; }
.begin__text .lede { margin-top: clamp(22.4px, 4.5vh, 41.6px); }
.begin__art { position: relative; height: min(88vh, 50vw); display: grid; place-items: center; }
.seed { width: 100%; height: 100%; overflow: visible; }
.seed__ring { fill: none; stroke: rgba(255, 255, 255, .12); stroke-dasharray: 2 6; }
.seed__ray { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.seed__end { opacity: 0; transition: opacity .6s; }
.seed__end circle { fill: var(--yellow); }
.seed__end text { font: 500 13.6px var(--f-label); letter-spacing: .2em; fill: var(--white); }
.seed__tail { fill: none; stroke: var(--yellow); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.seed__halo { fill: rgba(255, 210, 31, .16); }
.seed__core { fill: var(--yellow); }

/* ---------- 02 THE COMMUNITY ---------- */
.comm { padding-block: clamp(24px, 4vh, 40px) clamp(48px, 10vh, 88px); overflow: hidden; }
.comm__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.comm__bg i { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.comm__bg i:nth-child(1) { background: repeating-radial-gradient(circle at 16% 46%, rgba(255, 255, 255, .075) 0 1px, transparent 1.5px 38.4px); }
.comm__bg i:nth-child(2) {
  background: linear-gradient(to top, rgba(255, 210, 31, .16), transparent 58%),
              repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 96px);
}
.comm__bg i:nth-child(3) {
  background-image: radial-gradient(rgba(255, 255, 255, .26) 1.2px, transparent 1.7px); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(60% 55% at 40% 66%, #000, transparent); mask-image: radial-gradient(60% 55% at 40% 66%, #000, transparent);
}
.comm__bg i:nth-child(4) { inset: -10%; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .065) 0 1px, transparent 1px 20.8px); animation: drift 9s linear infinite alternate; }
@keyframes drift { to { transform: translate3d(6%, 0, 0); } }
.comm[data-active="0"] .comm__bg i:nth-child(1),
.comm[data-active="1"] .comm__bg i:nth-child(2),
.comm[data-active="2"] .comm__bg i:nth-child(3),
.comm[data-active="3"] .comm__bg i:nth-child(4) { opacity: 1; }

.comm__words { margin-top: clamp(51.2px, 11vh, 104px); display: grid; gap: clamp(3.2px, 1vh, 11.2px); }
.cword { display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); }
.cword:nth-child(even) { flex-direction: row-reverse; }
.cword:nth-child(3) { padding-left: 5vw; }
.cword:nth-child(4) { padding-right: 5vw; }
.cword__btn {
  position: relative; flex: none; display: flex; align-items: flex-start; gap: .18em; text-align: left;
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.05;
  font-size: var(--cw-fs, 6.88vw);
  color: var(--white); -webkit-text-stroke: 1px transparent;
  transition: color .6s var(--ease), -webkit-text-stroke-color .6s, transform .9s var(--ease);
}
.cword__idx { font: 500 .7rem/1 var(--f-label); letter-spacing: .16em; color: var(--yellow); margin-top: .9rem; -webkit-text-stroke: 0; }
.comm__words.has-active .cword__btn { color: transparent; -webkit-text-stroke-color: rgba(255, 255, 255, .42); }
.comm__words.has-active .cword.is-active .cword__btn { color: var(--white); -webkit-text-stroke-color: transparent; transform: translateX(.03em); }
.cword__line {
  flex: 1 1 auto; min-width: 0; max-width: 21ch;
  display: flex; align-items: center; gap: 12.8px;
  font-size: clamp(1rem, 1.08vw, 1.4rem); line-height: 1.35;
  opacity: 0; transform: translateX(-11.2px);
  transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.cword__line::before { content: ""; flex: none; width: clamp(22.4px, 4.5vw, 67.2px); height: 1px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.cword:nth-child(even) .cword__line { flex-direction: row-reverse; text-align: right; transform: translateX(11.2px); }
.cword:nth-child(even) .cword__line::before { transform-origin: right; }
.cword.is-active .cword__line { opacity: 1; transform: none; }
.cword.is-active .cword__line::before { transform: scaleX(1); }

/* ---------- 03 THE PEOPLE ---------- */
.people { padding-block: clamp(64px, 12vh, 112px) clamp(24px, 5vh, 48px); }
.crew { margin-top: clamp(32px, 8vh, 80px); }

.crew__stage { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(25.6px, 5vw, 57.6px); align-items: start; }
.crew__group .label { margin-bottom: 1.2rem; }
.crew__photo { aspect-ratio: 3 / 2; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .75); }
.crew__photo .ph__mark { font-size: 24cqw; }
.crew__names { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem clamp(19.2px, 3vw, 38.4px); margin-top: 1.4rem; }
.crew__names li { display: grid; gap: .3rem; text-align: center; }
.crew__names .micro { color: var(--yellow); }
.crew__names strong { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; font-size: 1rem; }

.heads { margin-top: clamp(72px, 15vh, 136px); }
.heads__title { text-align: center; font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1; font-size: clamp(2rem, 3.36vw, 4.4rem); margin-bottom: clamp(16px, 3vw, 32px); }
.heads__strip { display: flex; gap: 6.4px; height: clamp(224px, 34vw, 416px); margin-bottom: clamp(28.8px, 4vw, 44.8px); margin-top: clamp(44.8px, 5vw, 57.6px); }
.head { position: relative; flex: 1 1 0; min-width: 0; transition: flex-grow .8s var(--ease), filter .6s var(--ease); }
.head__btn { display: block; width: 100%; height: 100%; text-align: left; }
.head .media { height: 100%; box-shadow: 0 30px 50px -34px rgba(0, 0, 0, .8); }
.head .media > img, .head .media > .ph { filter: blur(1.5px) saturate(.85); transform: scale(1.03); transition: filter .7s var(--ease), transform .9s var(--ease); }
.head .media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(22, 64, 200, .28); mix-blend-mode: multiply; transition: opacity .7s var(--ease);
}
.heads__strip.is-hover .head.is-on .media > img, .heads__strip.is-hover .head.is-on .media > .ph { filter: none; transform: none; }
.heads__strip.is-hover .head.is-on .media::after { opacity: 0; }
.head__num { position: absolute; left: 8px; top: 8px; z-index: 2; color: var(--white); }
.head__tag {
  position: absolute; bottom: calc(100% + 8px); left: 0; right: 0; text-align: center;
  font-family: var(--f-label); font-weight: 700;
  font-size: .68rem; line-height: 1.2; letter-spacing: -.02em; color: var(--mist); overflow-wrap: anywhere;
  transition: opacity .4s var(--ease);
}
.heads__strip.is-hover .head__tag { opacity: 0; }
.head__cap { display: none; }
.heads__strip.is-hover .head.is-on .head__cap {
  position: absolute; top: calc(100% + 14.4px); left: 0; right: 0; z-index: 3; display: block;
  text-align: center; pointer-events: none;
}
.heads__strip.is-hover .head.is-on .head__cap strong {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.05;
  font-size: clamp(1.1rem, 1.6vw, 2rem); color: var(--white);
}
.heads__strip.is-hover .head { filter: brightness(.5); }
.heads__strip.is-hover .head.is-on { filter: none; flex-grow: 12; }

.members { margin-top: clamp(16px, 3vh, 32px); }
.marq { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--hair); padding-block: .2em; }
.marq:last-child { border-bottom: 1px solid var(--hair); }
.marq__track { display: inline-flex; animation: marq var(--dur, 70s) linear infinite; will-change: transform; }
.marq:nth-child(even) .marq__track { animation-direction: reverse; }
.marq:hover .marq__track { animation-play-state: paused; }
.marq__item {
  display: inline-flex; align-items: center; gap: .45em; padding-right: .6em;
  font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.05;
  font-size: clamp(2.2rem, 4vw, 6rem); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .42);
  transition: color .4s;
}
.marq__item:hover { color: var(--white); }
.marq__item small { font: 500 .66rem/1 var(--f-label); letter-spacing: .16em; color: var(--yellow); -webkit-text-stroke: 0; }
.marq__item::after { content: ""; width: .16em; height: .16em; margin-left: .3em; border-radius: 50%; background: var(--yellow); }
@keyframes marq { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- responsive: part 1 ---------- */
@media (max-width: 900px) {
  .hero__meta--r { display: none; }
  .begin { height: auto; }
  .begin__stage { position: relative; height: auto; grid-template-columns: 1fr; padding-block: 104px 56px; gap: 32px; }
  .begin__art { height: auto; width: 100%; max-width: 416px; aspect-ratio: 600 / 640; margin-inline: auto; }
}
@media (max-width: 900px), (hover: none) {
  .cword, .cword:nth-child(even) { flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 !important; margin-bottom: 17.6px; }
  .cword__line, .cword:nth-child(even) .cword__line { opacity: .85; transform: none; flex-direction: row; text-align: left; max-width: 30ch; }
  .cword__line::before { transform: scaleX(1); width: 22.4px; }
  .heads__strip { height: auto; margin-bottom: 0; margin-top: 0; display: flex; gap: 9.6px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 9.6px; scrollbar-width: none; }
  .heads__strip::-webkit-scrollbar { display: none; }
  .head { flex: 0 0 min(44vw, 240px); width: auto; scroll-snap-align: start; }
  .head__btn { height: auto; }   /* at full height it pushed the name out of the strip */
  .head .media { height: auto; aspect-ratio: 3 / 4; }
  .head .media > img, .head .media > .ph { filter: none; transform: none; }
  .head .media::after { display: none; }
  .heads__strip.is-hover .head { filter: none; }
  .heads__strip.is-hover .head.is-on { flex-grow: 0; }
  .head__tag { display: none; }
  .head__cap, .heads__strip.is-hover .head.is-on .head__cap { position: static; display: grid; gap: .25rem; margin-top: 8px; padding: 0; text-align: left; }
  .head__cap strong, .heads__strip.is-hover .head.is-on .head__cap strong { font-family: var(--f-display); font-weight: 700; font-size: .9rem; text-shadow: none; }
  .head__cap .micro { color: var(--yellow); font-size: .62rem; }
}
@media (max-width: 560px) {
  .hero__meta--l { display: none; }
  .hero__school { letter-spacing: .26em; font-size: .62rem; padding-inline: 12.8px; }
}

/* ---------- reduced motion: part 1 ---------- */
.reduce .hero { height: 100vh; height: 100svh; }
.reduce .begin { height: auto; }
.reduce .begin__stage { position: relative; height: auto; min-height: 100svh; padding-block: 104px 72px; }
.reduce .marq__track { animation: none; flex-wrap: wrap; white-space: normal; }
.reduce .marq { white-space: normal; }
.reduce .comm__bg i:nth-child(4) { animation: none; }

/* short screens: no room for the scroll cue, the Explore button does the same job */
@media (max-height: 760px) {
  .hero__scroll { display: none; }
  .hero__desc { -webkit-line-clamp: 2; }   /* keeps the slide's photo from being squeezed away */
}
/* ---------- hero on mobile: the panel stacks below, so the hero is not pinned ---------- */
@media (max-width: 900px) {
  .hero, .reduce .hero { height: auto; }
  .hero__stage { position: relative; height: auto; display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 104px var(--gutter) var(--gutter); }
  .hero__title { font-size: 10vw; }
  .hero__board { position: relative; top: auto; right: auto; bottom: auto; width: 100%; height: auto; max-height: none; margin-block: 0; }
  .hero__desc { display: block; }
  .hero__scroll { display: none; }
}
/* tablets and zoomed-in browsers: the panel gets a screen of its own, centred, and sized to fit it */
@media (min-width: 600px) and (max-width: 900px) {
  .hero__stage { gap: 0; padding-bottom: 0; }
  .hero__side { display: grid; place-items: center; width: 100%; min-height: calc(100svh - 80px); padding-block: 24px; }
  .hero__board { width: min(100%, (100svh - 128px - 200px) * 4 / 3); }
}

/* ---------- 05 FIND YOUR LOST ITEMS ---------- */
.lfsec { padding-block: clamp(72px, 14vh, 160px); }
.lfsec__inner { display: grid; justify-items: start; gap: clamp(18px, 3vh, 32px); }
.lfsec__lead { max-width: 34em; color: var(--mist); font-size: clamp(1rem, 1.2vw, 1.3rem); line-height: 1.5; }
