/* ============================================================
   FORCES SENIOR HIGH TECHNICAL SCHOOL (FSHTS) — Burma Camp, Accra
   "Knowledge, Service and Discipline" — est. 1982
   ============================================================ */

:root {
  /* FSHTS crest palette — royal blue · red · white */
  --navy-950: #060d2b;
  --navy-900: #0a1638;
  --navy-800: #102050;
  --navy-700: #17307a;
  --navy-600: #1d3fa0;
  --c-blue: #1d3fa0;
  --c-blue-bright: #2f55c8;
  --c-blue-deep: #122b72;
  --c-red: #e03a2f;
  --c-red-soft: #ff7a6b;
  --cream: #f4f7ff;
  --paper: #f2f5fc;
  --ink: #0f1830;
  --muted: #55607e;
  --line: rgba(15, 24, 48, 0.08);
  --white: #ffffff;
  --green: #1e7a46;
  --red: #e03a2f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 24px 60px -18px rgba(5, 11, 24, 0.35);
  --shadow-md: 0 14px 34px -12px rgba(5, 11, 24, 0.28);
  --font-head: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}

::selection {
  background: var(--c-red);
  color: var(--navy-950);
}

/* ---------- layout utilities ---------- */
.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}
.section {
  padding: clamp(64px, 9vw, 110px) 0;
  position: relative;
}
.section--dark {
  background: var(--navy-900);
  color: var(--cream);
}
.section--dark h2,
.section--dark h3 {
  color: var(--white);
}
.section--cream {
  background: var(--cream);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-blue);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--c-red);
}
.section--dark .kicker {
  color: var(--c-red-soft);
}

.h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  margin: 14px 0 12px;
}
.lead {
  color: var(--muted);
  max-width: 640px;
  font-size: clamp(16px, 1.6vw, 18px);
}
.section--dark .lead {
  color: rgba(255, 248, 231, 0.72);
}
.section-head {
  margin-bottom: clamp(34px, 5vw, 56px);
}
.section-head--center {
  text-align: center;
}
.section-head--center .lead {
  margin-inline: auto;
}
.section-head--center .kicker {
  justify-content: center;
}
.section-head--center .kicker::before {
  display: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
  will-change: transform;
}
.btn--primary,
.btn--gold {
  background: linear-gradient(135deg, var(--c-red), var(--c-blue));
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(224, 58, 47, 0.55);
}
.btn--primary:hover,
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -10px rgba(29, 63, 160, 0.65);
}
.btn--ghost {
  border: 1.5px solid rgba(255, 248, 231, 0.4);
  color: var(--cream);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--c-red);
  color: var(--c-red-soft);
  transform: translateY(-3px);
}
.btn--navy {
  background: var(--navy-900);
  color: var(--cream);
}
.btn--navy:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn .arr {
  transition: transform 0.25s ease;
}
.btn:hover .arr {
  transform: translateX(4px);
}

/* ---------- navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    height 0.35s ease;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}
.nav__brand img {
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.nav__brand b {
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.15;
  display: block;
}
.nav__brand span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red-soft);
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  color: rgba(255, 248, 231, 0.85);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.nav__links a:hover {
  color: var(--c-red-soft);
}
.nav__links a.active {
  color: var(--navy-950);
  background: var(--c-red);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__portal {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--c-red);
  color: var(--c-red-soft);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.nav__portal:hover {
  background: var(--c-red);
  color: var(--navy-950);
}
.nav.scrolled {
  background: rgba(5, 11, 24, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
}
.nav.scrolled {
  height: 64px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 120;
}
.nav__burger span {
  width: 26px;
  height: 2.5px;
  background: var(--cream);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav.open .nav__burger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav.open .nav__burger span:nth-child(2) {
  opacity: 0;
}
.nav.open .nav__burger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  background: radial-gradient(
    120% 120% at 80% 0%,
    var(--navy-700),
    var(--navy-950)
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav.open .nav__mobile {
  opacity: 1;
  pointer-events: auto;
}
.nav__mobile a {
  font-family: var(--font-head);
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 600;
  color: var(--cream);
  padding: 8px 18px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    color 0.2s ease;
}
.nav.open .nav__mobile a {
  opacity: 1;
  transform: none;
}
.nav__mobile a:hover {
  color: var(--c-red-soft);
}
.nav__mobile a.active {
  color: var(--c-red);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(
    130% 90% at 70% -10%,
    var(--navy-700),
    var(--navy-950) 60%
  );
  color: var(--cream);
  overflow: hidden;
  padding: calc(var(--nav-h) + 30px) 0 90px;
}
#hero-canvas,
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 11, 24, 0.25),
    rgba(5, 11, 24, 0) 30%,
    rgba(5, 11, 24, 0.88) 92%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 122, 107, 0.4);
  background: rgba(224, 58, 47, 0.1);
  color: var(--c-red-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 12px var(--c-red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero h1 {
  font-size: clamp(44px, 8.2vw, 96px);
  font-weight: 700;
  color: var(--white);
  margin: 26px 0 10px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #ffffff 10%, #9db4f5 50%, #4c79ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__slogan {
  font-family: var(--font-head);
  font-size: clamp(16px, 2vw, 21px);
  color: var(--c-red-soft);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.hero__slogan b {
  color: var(--white);
}
.hero__sub {
  max-width: 600px;
  color: rgba(255, 248, 231, 0.78);
  font-size: clamp(16px, 1.8vw, 18.5px);
  margin-bottom: 38px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 58px;
  padding-top: 26px;
  border-top: 1px solid rgba(157, 180, 245, 0.22);
}
.hero__meta div {
  font-size: 13.5px;
  color: rgba(255, 248, 231, 0.66);
  letter-spacing: 0.04em;
}
.hero__meta b {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--c-red-soft);
  letter-spacing: 0.02em;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255, 248, 231, 0.35);
  border-radius: 999px;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 9px;
  border-radius: 4px;
  background: var(--c-red);
  transform: translateX(-50%);
  animation: cue 1.8s infinite;
}
@keyframes cue {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, 14px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------- page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(60px, 9vw, 96px)) 0 clamp(52px, 7vw, 84px);
  background: radial-gradient(
    120% 100% at 75% -20%,
    var(--navy-700),
    var(--navy-950) 62%
  );
  color: var(--cream);
  overflow: hidden;
}
.page-hero .hero__canvas {
  opacity: 0.6;
}
.page-hero h1 {
  font-size: clamp(36px, 5.6vw, 62px);
  color: var(--white);
  margin-top: 16px;
  text-wrap: balance;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--c-red-soft);
}
.page-hero .lead {
  margin-top: 14px;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}
.page-hero.section--dark-end::after {
  display: none;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 248, 231, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.breadcrumb a:hover {
  color: var(--c-red-soft);
}
.breadcrumb .sep {
  color: var(--c-red);
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--c-red);
  color: var(--navy-950);
  overflow: hidden;
  padding: 14px 0;
  border-block: 3px solid var(--navy-950);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 48px;
}
.marquee span::after {
  content: "✦";
  font-size: 12px;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-red-soft), var(--c-blue));
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1;
}
.stat b i {
  font-style: normal;
  color: var(--c-blue);
}
.stat > span {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
  display: block;
}
.stat b span {
  font-size: inherit;
}

/* ---------- split / welcome ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}
.split--rev {
  grid-template-columns: 0.95fr 1.05fr;
}
.split__art {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-950));
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
}
.split__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      60% 45% at 30% 25%,
      rgba(224, 58, 47, 0.28),
      transparent 70%
    ),
    radial-gradient(
      50% 40% at 80% 80%,
      rgba(47, 85, 200, 0.3),
      transparent 70%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255, 248, 231, 0.03) 0 2px,
      transparent 2px 22px
    );
}
.split__art svg.crest-big {
  width: min(46%, 210px);
  position: relative;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
.split__art img.art-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}
.split__art img.art-photo + .art-chip {
  z-index: 2;
}
.crest-chip {
  position: relative;
  width: min(52%, 240px);
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: floatY 6s ease-in-out infinite;
}
.split__art .art-chip {
  position: absolute;
  background: rgba(5, 11, 24, 0.72);
  border: 1px solid rgba(255, 122, 107, 0.35);
  color: var(--cream);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}
.split__art .art-chip b {
  font-family: var(--font-head);
  color: var(--c-red-soft);
}
.split__art .art-chip--1 {
  top: 26px;
  left: 26px;
}
.split__art .art-chip--2 {
  bottom: 26px;
  right: 26px;
}
.quote-mark {
  font-family: var(--font-head);
  font-size: 64px;
  color: var(--c-red);
  line-height: 0.6;
}

/* ---------- feature grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29, 63, 160, 0.45);
}
.feature__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(224, 58, 47, 0.16),
    rgba(224, 58, 47, 0.05)
  );
  border: 1px solid rgba(224, 58, 47, 0.4);
  margin-bottom: 18px;
}
.feature__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--c-blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.feature p {
  color: var(--muted);
  font-size: 14.5px;
}
.section--dark .feature {
  background: rgba(255, 248, 231, 0.045);
  border-color: rgba(255, 122, 107, 0.16);
  backdrop-filter: blur(4px);
}
.section--dark .feature p {
  color: rgba(255, 248, 231, 0.66);
}

/* ---------- programme cards ---------- */
.prog {
  position: relative;
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  overflow: hidden;
  background: linear-gradient(165deg, var(--navy-800), var(--navy-950));
  color: var(--cream);
  border: 1px solid rgba(255, 122, 107, 0.18);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.prog:hover {
  border-color: rgba(255, 122, 107, 0.55);
  box-shadow: 0 24px 50px -16px rgba(5, 11, 24, 0.6);
}
.prog__no {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 44px;
  color: rgba(255, 122, 107, 0.16);
}
.prog__icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: rgba(224, 58, 47, 0.12);
  border: 1px solid rgba(255, 122, 107, 0.35);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.prog__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--c-red-soft);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.prog h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 8px;
}
.prog p {
  color: rgba(255, 248, 231, 0.62);
  font-size: 14px;
  flex: 1;
}
.prog__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.prog__tags i {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 122, 107, 0.1);
  border: 1px solid rgba(255, 122, 107, 0.28);
  color: var(--c-red-soft);
}
.prog--accent {
  background: linear-gradient(165deg, var(--c-blue-bright), var(--c-blue-deep));
}
.prog--accent h3 {
  color: var(--navy-950);
}
.prog--accent p {
  color: rgba(5, 11, 24, 0.75);
}

/* 3D tilt cards */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt .tilt-inner {
  transform: translateZ(24px);
}
.tilt__glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    320px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255, 255, 255, 0.18),
    transparent 60%
  );
  transition: opacity 0.3s ease;
}
.tilt:hover .tilt__glare {
  opacity: 1;
}

/* ---------- subject combinations ---------- */
.subj-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.subj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(29, 63, 160, 0.45);
}
.subj-card h3 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.subj-card h3::before {
  content: "✦";
  color: var(--c-red);
  font-size: 14px;
}
.subj-core {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13.5px;
}
.subj-core b {
  font-family: var(--font-head);
  color: var(--c-blue);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 8px;
}
.subj-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.subj-opt {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px 18px;
}
.subj-opt b {
  display: block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 8px;
}
.subj-opt li {
  position: relative;
  font-size: 14px;
  color: var(--ink);
  padding: 3px 0 3px 16px;
}
.subj-opt li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-blue);
}

/* ---------- PTA ---------- */
.pta-exe {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.pta-exe li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 14px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 9px;
  font-size: 14.5px;
}
.pta-exe li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.pta-exe b {
  color: var(--navy-900);
  font-weight: 600;
}
.pta-exe span {
  color: var(--muted);
  font-size: 12.5px;
  text-align: right;
  letter-spacing: 0.03em;
}
@media (max-width: 480px) {
  .pta-exe span {
    text-align: left;
  }
  .subj-card {
    padding: 24px 20px;
  }
}
.pta-list {
  margin-top: 18px;
}
.pta-list li {
  position: relative;
  padding: 4px 0 4px 22px;
  color: var(--muted);
  font-size: 14.5px;
}
.pta-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 11px;
  color: var(--c-red);
}

/* ---------- news / announcements ---------- */
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.news-card__banner {
  height: 150px;
  position: relative;
  display: grid;
  place-items: center;
}
.news-card__banner svg {
  width: 54px;
  height: 54px;
  stroke: rgba(255, 248, 231, 0.9);
  fill: none;
  stroke-width: 1.6;
}
.news-card__banner--a {
  background: linear-gradient(140deg, var(--navy-700), var(--navy-950));
}
.news-card__banner--b {
  background: linear-gradient(140deg, var(--green), #0c3a20);
}
.news-card__banner--c {
  background: linear-gradient(140deg, var(--c-red), #7a1410);
}
.news-card__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card__date {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-blue);
  font-weight: 600;
}
.news-card h3 {
  font-size: 19px;
  margin: 10px 0 8px;
}
.news-card p {
  color: var(--muted);
  font-size: 14.5px;
  flex: 1;
}
.news-card__link {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-blue);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.news-card__link:hover {
  gap: 12px;
}

/* ---------- gallery ---------- */
.gal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 34px;
}
.gal-filters button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(16, 24, 40, 0.15);
  color: var(--muted);
  transition: all 0.25s ease;
}
.gal-filters button:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
}
.gal-filters button.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--c-red-soft);
}
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gal-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  isolation: isolate;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.gal-item:hover {
  transform: scale(1.025) translateY(-4px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.gal-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      70% 55% at 25% 20%,
      rgba(255, 122, 107, 0.3),
      transparent 65%
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 248, 231, 0.05) 0 2px,
      transparent 2px 20px
    );
}
.gal-item svg.ph {
  width: 34%;
  max-width: 74px;
  stroke: rgba(255, 248, 231, 0.92);
  fill: none;
  stroke-width: 1.4;
  position: relative;
}
.gal-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(5, 11, 24, 0.85));
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 8px;
}
.gal-item figcaption span.tag {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-red-soft);
}
.gal-item img.gal-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 78%;
}
.gal-item.has-photo::before {
  display: none;
}
.gal-item[data-cat="campus"] {
  background: linear-gradient(150deg, #14315e, var(--navy-950));
}
.gal-item[data-cat="academics"] {
  background: linear-gradient(150deg, var(--c-blue-bright), var(--c-blue-deep));
}
.gal-item[data-cat="events"] {
  background: linear-gradient(150deg, var(--c-red), #4a0e0a);
}
.gal-item[data-cat="sports"] {
  background: linear-gradient(150deg, #7a1e2b, #2a070c);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 11, 24, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__stage {
  width: min(860px, 94vw);
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 122, 107, 0.35);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.8);
}
.lightbox__stage svg.ph {
  width: 22%;
  stroke: rgba(255, 248, 231, 0.9);
  fill: none;
  stroke-width: 1.4;
}
.lightbox__stage[data-cat="campus"] {
  background: linear-gradient(150deg, #14315e, var(--navy-950));
}
.lightbox__stage[data-cat="academics"] {
  background: linear-gradient(150deg, var(--c-blue-bright), var(--c-blue-deep));
}
.lightbox__stage[data-cat="events"] {
  background: linear-gradient(150deg, var(--c-red), #4a0e0a);
}
.lightbox__stage[data-cat="sports"] {
  background: linear-gradient(150deg, #7a1e2b, #2a070c);
}
.lightbox__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -44px;
  text-align: center;
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
}
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 231, 0.08);
  border: 1px solid rgba(255, 122, 107, 0.4);
  color: var(--cream);
  font-size: 22px;
  transition: background 0.25s ease;
}
.lightbox__btn:hover {
  background: var(--c-red);
  color: var(--navy-950);
}
.lightbox__btn--prev {
  left: -72px;
}
.lightbox__btn--next {
  right: -72px;
}
.lightbox__close {
  position: absolute;
  top: -58px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 231, 0.08);
  border: 1px solid rgba(255, 122, 107, 0.4);
  color: var(--cream);
  font-size: 20px;
}

/* ---------- timeline (history) ---------- */
.timeline {
  position: relative;
  margin-top: 20px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-red), rgba(224, 58, 47, 0.15));
}
.tl-item {
  position: relative;
  padding: 0 0 38px 76px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 3px solid var(--c-red);
  box-shadow: 0 0 0 5px rgba(224, 58, 47, 0.15);
}
.tl-item__year {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--c-blue);
}
.tl-item h3 {
  font-size: 19px;
  margin: 4px 0 6px;
}
.tl-item p {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
}

/* ---------- mission / vision cards ---------- */
.mv-card {
  border-radius: var(--radius);
  padding: 34px 30px;
  min-height: 100%;
  background: linear-gradient(165deg, var(--navy-800), var(--navy-950));
  color: var(--cream);
  border: 1px solid rgba(255, 122, 107, 0.2);
  position: relative;
  overflow: hidden;
}
.mv-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 58, 47, 0.22), transparent 70%);
}
.mv-card h3 {
  color: var(--white);
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mv-card h3 svg {
  width: 26px;
  height: 26px;
  stroke: var(--c-red-soft);
  fill: none;
  stroke-width: 1.8;
}
.mv-card p {
  margin-top: 12px;
  color: rgba(255, 248, 231, 0.72);
  font-size: 15px;
}
.mv-card blockquote {
  margin-top: 14px;
  padding: 16px 20px;
  border-left: 3px solid var(--c-red);
  background: rgba(255, 122, 107, 0.08);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  transition: border-color 0.25s ease;
  overflow: hidden;
}
.faq details[open] {
  border-color: rgba(224, 58, 47, 0.6);
  box-shadow: var(--shadow-md);
}
.faq summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--navy-900);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--c-blue);
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 26px;
  padding: clamp(44px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-950));
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    55% 80% at 50% -20%,
    rgba(224, 58, 47, 0.3),
    transparent 70%
  );
}
.cta-band > * {
  position: relative;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
}
.cta-band p {
  color: rgba(255, 248, 231, 0.72);
  max-width: 560px;
  margin: 0 auto 30px;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 26px;
  align-items: start;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.info-card + .info-card {
  margin-top: 16px;
}
.info-card__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(224, 58, 47, 0.12);
  border: 1px solid rgba(224, 58, 47, 0.4);
}
.info-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--c-blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-card h3 {
  font-size: 16.5px;
  margin-bottom: 3px;
}
.info-card p,
.info-card a {
  color: var(--muted);
  font-size: 14.5px;
}
.info-card a:hover {
  color: var(--c-blue);
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.form-card h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.form-card > p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid rgba(16, 24, 40, 0.14);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(224, 58, 47, 0.15);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(30, 122, 70, 0.1);
  border: 1px solid rgba(30, 122, 70, 0.35);
  color: var(--green);
  font-size: 14.5px;
  font-weight: 600;
}
.form-success.show {
  display: block;
  animation: fadeUp 0.4s ease;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  filter: saturate(0.85) contrast(1.02);
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(255, 248, 231, 0.72);
  padding: clamp(56px, 8vw, 84px) 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--c-blue-bright),
    var(--c-red) 35%,
    var(--white) 55%,
    var(--c-red) 75%,
    var(--c-blue-bright)
  );
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__brand img {
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
}
.footer__brand b {
  font-family: var(--font-head);
  font-size: 17px;
  display: block;
  line-height: 1.2;
}
.footer__brand span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-red-soft);
}
.footer p {
  font-size: 14.5px;
  max-width: 320px;
}
.footer h4 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer li {
  margin-bottom: 10px;
  font-size: 14.5px;
}
.footer a:hover {
  color: var(--c-red-soft);
}
.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer__socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 122, 107, 0.3);
  transition: all 0.25s ease;
}
.footer__socials a:hover {
  background: var(--c-red);
  border-color: var(--c-red);
}
.footer__socials svg {
  width: 19px;
  height: 19px;
  fill: var(--c-red-soft);
  transition: fill 0.25s ease;
}
.footer__socials a:hover svg {
  fill: var(--navy-950);
}
.footer__bottom {
  border-top: 1px solid rgba(255, 122, 107, 0.14);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 248, 231, 0.45);
}
.footer__bottom .facosh {
  color: var(--c-red-soft);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ---------- reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* hero entrance */
.hero__badge,
.hero h1,
.hero__slogan,
.hero__sub,
.hero__actions,
.hero__meta {
  opacity: 0;
  transform: translateY(26px);
  animation: fadeUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.hero__badge {
  animation-delay: 0.1s;
}
.hero h1 {
  animation-delay: 0.25s;
}
.hero__slogan {
  animation-delay: 0.4s;
}
.hero__sub {
  animation-delay: 0.52s;
}
.hero__actions {
  animation-delay: 0.65s;
}
.hero__meta {
  animation-delay: 0.8s;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav__links a {
    padding: 10px 10px;
  }
}
@media (max-width: 900px) {
  .nav__links,
  .nav__portal {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .split,
  .split--rev {
    grid-template-columns: 1fr;
  }
  .split__art {
    min-height: 320px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  :root {
    --nav-h: 66px;
  }
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__actions .btn {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .lightbox__btn--prev {
    left: 8px;
  }
  .lightbox__btn--next {
    right: 8px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero__meta {
    gap: 10px 22px;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   WATCH + VIDEO TILES
   Home "Watch" section, gallery video tiles, lightbox video.
   Appended block — no existing selector is rewritten.
   ============================================================ */

/* ---------- home: Watch section ---------- */
.watch-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 22px;
  align-items: start;
}

.watch-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* the landscape clip is shorter than the portrait ones — centre it in the row */
.watch-card--wide {
  align-self: center;
}

.watch-card__face {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--navy-950);
  border-radius: 0;
  cursor: pointer;
}
.watch-card--portrait .watch-card__face {
  aspect-ratio: 9 / 16;
}
.watch-card--wide .watch-card__face {
  aspect-ratio: 16 / 9;
}

.watch-card__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.watch-card__face:hover .watch-card__poster {
  transform: scale(1.04);
}

/* play glyph — circle + triangle */
.watch-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(5, 11, 24, 0.5);
  border: 1.5px solid rgba(255, 248, 231, 0.7);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}
.watch-card__play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 18px solid var(--cream);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 5px;
}
.watch-card__face:hover .watch-card__play {
  background: var(--c-red);
  border-color: var(--c-red);
  transform: translate(-50%, -50%) scale(1.08);
}

/* inline player that replaces the poster button */
.watch-card__video {
  display: block;
  width: 100%;
  height: auto;
  background: #04070f;
  border-radius: 0;
}
.watch-card--portrait .watch-card__video {
  aspect-ratio: 9 / 16;
}
.watch-card--wide .watch-card__video {
  aspect-ratio: 16 / 9;
}

.watch-card__meta {
  padding: 16px 18px 18px;
}
.watch-card__title {
  font-size: 17px;
  margin: 0 0 4px;
}
.watch-card__sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}
.watch-card__link {
  display: inline-flex;
  margin-top: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--c-blue);
}
.watch-card__link:hover {
  color: var(--c-red);
}

/* ---------- TikTok card (click-to-load) ---------- */
.tiktok-card__face {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 28px;
  text-align: center;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  aspect-ratio: 9 / 16;
  cursor: pointer;
}
.tiktok-card__crest {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}
.tiktok-card__text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  color: var(--cream);
  max-width: 16ch;
}
/* sits in the flex flow, not centred over the text */
.tiktok-card__play {
  position: static;
  transform: none;
  margin-top: 4px;
}
.tiktok-card__face:hover .tiktok-card__play {
  transform: scale(1.08);
}

.tiktok-card__frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}
.tiktok-card__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* keyboard focus is always visible on the clickable faces */
.watch-card__face:focus-visible,
.tiktok-card__face:focus-visible {
  outline: 3px solid var(--c-red-soft);
  outline-offset: -3px;
}

/* ---------- gallery: video tiles ---------- */
.gal-item video.gal-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gal-item[data-cat="videos"] img.gal-photo {
  object-position: center 55%;
}

.gal-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(5, 11, 24, 0.55);
  border: 1.5px solid rgba(255, 248, 231, 0.65);
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
  z-index: 2;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}
.gal-play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 16px solid var(--cream);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.gal-item:hover .gal-play {
  background: var(--c-red);
  border-color: var(--c-red);
}
.gal-item:focus-visible {
  outline: 3px solid var(--c-red-soft);
  outline-offset: 2px;
}

/* ---------- lightbox: video ---------- */
.lightbox__stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  background: #000;
}
.lightbox__stage[data-cat="videos"] {
  background: #04070f;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .watch-grid {
    grid-template-columns: 1fr 1fr;
  }
  .watch-card--wide {
    grid-column: 1 / -1;
    align-self: stretch;
  }
  .watch-card--portrait .watch-card__face,
  .watch-card--portrait .watch-card__video {
    aspect-ratio: 4 / 5;
  }
  .tiktok-card__face,
  .tiktok-card__frame {
    aspect-ratio: 4 / 5;
  }
}
@media (max-width: 640px) {
  .watch-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .watch-card--portrait .watch-card__face,
  .watch-card--portrait .watch-card__video,
  .tiktok-card__face,
  .tiktok-card__frame {
    aspect-ratio: 4 / 5;
  }
  .watch-card--wide .watch-card__face,
  .watch-card--wide .watch-card__video {
    aspect-ratio: 16 / 9;
  }
}

/* === END === */
