/* ============================================================
   DIAMOND ELITE ACADEMY, diamondeacademy.com
   Dark / electric-purple design system
   ============================================================ */

:root {
  --ink: #08080d;
  --panel: #0f0f17;
  --panel-2: #15151f;
  --line: rgba(255, 255, 255, 0.08);
  --white: #f7f7fa;
  --muted: #a3a3b5;
  --purple: #7c3aed;
  --purple-bright: #a78bfa;
  --purple-deep: #4c1d95;
  --glow: rgba(124, 58, 237, 0.45);
  --turf: #41c473;
  --radius: 14px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
:target { scroll-margin-top: calc(var(--nav-h) + 1rem); }
body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body { overflow-x: clip; }
.show-sm { display: none; }
.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--purple-bright); outline-offset: 3px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--purple); color: #fff; }

.wrap { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: 0.05em; }
p.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.accent { color: var(--purple-bright); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--purple);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 28px -8px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px var(--glow); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover { border-color: var(--purple-bright); color: var(--purple-bright); }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1rem; }

/* ---------- Utility bar ---------- */
.utility {
  position: relative;
  z-index: 60;
  background: #050508;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}
.utility .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
}
.utility a { color: var(--muted); transition: color 0.15s; }
.utility a:hover { color: var(--purple-bright); }
.utility .u-left { display: flex; gap: 1.4rem; }
.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--purple-bright);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.badge-soon .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 8px var(--purple-bright);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #08080d;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand img { width: 50px; height: 52px; object-fit: contain; flex: 0 0 50px; }
.brand .wordmark {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.05;
}
.brand .wordmark .top { font-size: 1.06rem; font-weight: 700; letter-spacing: 0.12em; display: block; }
.brand .wordmark .bottom { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.46em; color: var(--purple-bright); display: block; }
nav.primary { display: flex; align-items: center; gap: 1.9rem; }
nav.primary a {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(247, 247, 250, 0.82);
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  position: relative;
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
}
nav.primary a::after {
  content: "";
  position: absolute;
  left: 0.75rem; bottom: 0.18rem;
  width: 0; height: 2px;
  background: var(--purple);
  transition: width 0.22s ease;
}
nav.primary a:hover {
  color: #fff;
  background: rgba(124, 58, 237, 0.12);
}
nav.primary a:hover::after { width: calc(100% - 1.5rem); }
nav.primary a.active,
nav.primary a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.36), rgba(76, 29, 149, 0.22));
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.48), 0 8px 22px -16px var(--glow);
}
nav.primary a.active::after,
nav.primary a[aria-current="page"]::after { width: calc(100% - 1.5rem); }
.nav .btn { padding: 0.72rem 1.4rem; font-size: 0.82rem; }
.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  min-width: 44px;
  flex: 0 0 44px;
  position: relative;
  z-index: 70;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(96vh - var(--nav-h));
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero .media, .hero .media video, .hero .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* Hero video: poster paints immediately, video fades in once it can play */
.hero-video {
  background: #08080d center / cover no-repeat;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-video.ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video { opacity: 1; transition: none; } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 8, 13, 0.92) 18%, rgba(8, 8, 13, 0.55) 55%, rgba(76, 29, 149, 0.28) 100%),
    linear-gradient(to top, var(--ink) 0%, transparent 28%);
}
.hero .wrap { padding: 7rem 0 6rem; }
.hero h1 .line { display: block; }
.hero h1 .grad {
  background: linear-gradient(92deg, #fff 10%, var(--purple-bright) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { margin: 1.6rem 0 2.4rem; }
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 1.4rem;
  animation: bob 2.4s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* Page hero (interior) */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 7.5rem 0 5rem;
}
.page-hero .media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 8, 13, 0.94) 25%, rgba(8, 8, 13, 0.62) 70%, rgba(76, 29, 149, 0.3) 100%),
    linear-gradient(to top, var(--ink), transparent 30%);
}
.page-hero p.lead { margin-top: 1.2rem; }

/* ---------- Sections ---------- */
section.block { padding: 6rem 0; }
section.block.tight { padding: 4rem 0; }
.section-head { max-width: 760px; margin-bottom: 3.2rem; }
.section-head.center { margin: 0 auto 3.2rem; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }
.section-head p.lead { margin-top: 1rem; }

.panel { background: var(--panel); }
.panel-2 { background: var(--panel-2); }

/* ---------- Stat band ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(124, 58, 237, 0.12) 0%, transparent 70%),
    var(--panel);
}
.stats .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.stat {
  background: var(--panel);
  padding: 2.4rem 1.6rem;
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat .num .accent { color: var(--purple-bright); }
.stat .label {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Cards / pillars ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.55);
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(124, 58, 237, 0.18);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(124, 58, 237, 0.06));
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: var(--purple-bright);
  margin-bottom: 1.3rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .more {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-bright);
}

/* ---------- Alternating media rows ---------- */
.row-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4.5rem 0;
}
.row-feature.flip > .media { order: 2; }
.row-feature .media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.85);
}
.row-feature .media::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  pointer-events: none;
}
.row-feature .media img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.row-feature .media:hover img { transform: scale(1.04); }
.row-feature h2 { margin-bottom: 1.1rem; }
.row-feature p { color: var(--muted); margin-bottom: 1rem; }
.checklist { margin: 1.3rem 0 1.8rem; }
.checklist li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  color: rgba(247, 247, 250, 0.9);
}
.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 11px no-repeat,
    linear-gradient(135deg, var(--purple), var(--purple-deep));
}

/* ---------- Quote band ---------- */
.quote-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 6.5rem 0;
  text-align: center;
}
.quote-band .media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.quote-band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(8, 8, 13, 0.88), rgba(24, 10, 50, 0.82));
}
.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.35;
  max-width: 880px;
  margin: 0 auto 1.6rem;
}
.quote-band cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.86rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--purple-bright);
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.person {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.person:hover { transform: translateY(-4px); border-color: rgba(124, 58, 237, 0.5); }
.person .ava {
  width: 84px; height: 84px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  box-shadow: 0 10px 26px -10px var(--glow);
}
.person h3 { font-size: 1.05rem; }
.person .role {
  margin: 0.35rem 0 0.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-bright);
}
.person p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery a {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  border: 1px solid var(--line);
}
.gallery img {
  aspect-ratio: 16 / 11;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 13, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; }
.gallery .cap {
  position: absolute;
  left: 1rem; bottom: 0.8rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery a:hover .cap, .gallery a:focus-visible .cap { opacity: 1; transform: translateY(0); }
.bio-gallery img { aspect-ratio: 1 / 1; object-fit: contain; background: #09090f; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(5, 5, 8, 0.92);
  padding: 4vh 4vw;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
}
.lightbox .close {
  position: absolute;
  top: 1.4rem; right: 1.8rem;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(8, 8, 13, 0.78);
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Steps (admissions) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  position: relative;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 1.7rem 2rem;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 0.8rem;
  line-height: 1;
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.55rem; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-2);
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--purple-bright);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form-shell {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.6rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.22);
}
.field select { appearance: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" fill="none"><path d="M1 1l5 5 5-5" stroke="%23a3a3b5" stroke-width="2" stroke-linecap="round"/></svg>'); background-repeat: no-repeat; background-position: right 1rem center; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }
.form-status { min-height: 1.4em; margin-top: 0.7rem; color: var(--purple-bright); font-size: 0.88rem; }
.form-status.error { color: #ff9e9a; }
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}
.form-success.show { display: block; }
.form-success .big { font-size: 3rem; line-height: 1; margin-bottom: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding: 6.5rem 0;
  background:
    radial-gradient(70% 140% at 50% 0%, rgba(124, 58, 237, 0.3) 0%, transparent 65%),
    var(--panel);
  border-top: 1px solid var(--line);
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { color: var(--muted); max-width: 56ch; margin: 0 auto 2.2rem; }
.cta-band .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Marquee strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #050508;
  overflow: hidden;
  padding: 1.1rem 0;
}
.strip .track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247, 247, 250, 0.65);
  white-space: nowrap;
}
.strip .track span .d { color: var(--purple-bright); margin: 0 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Schedule table ---------- */
.sched {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}
.sched th, .sched td { padding: 1rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); }
.sched th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-bright);
  background: rgba(124, 58, 237, 0.08);
}
.sched tr:last-child td { border-bottom: 0; }
.sched td:first-child { font-family: var(--font-display); letter-spacing: 0.06em; white-space: nowrap; color: var(--muted); }

/* ---------- Footer ---------- */
footer.site {
  background: #050508;
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 2rem;
  font-size: 0.92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.foot-grid img.crest { width: 88px; height: 92px; object-fit: contain; margin-bottom: 1.1rem; }
.foot-grid .tag {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--purple-bright);
  margin-bottom: 0.8rem;
}
.foot-grid h2,
.foot-grid h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.foot-grid ul li { margin-bottom: 0.6rem; }
.foot-grid a { color: var(--muted); transition: color 0.15s; }
.foot-grid a:hover { color: var(--purple-bright); }
.foot-grid p { color: var(--muted); }
.socials { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: border-color 0.18s, color 0.18s, transform 0.18s;
}
.socials a:hover { border-color: var(--purple); color: var(--purple-bright); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Daily schedule timeline ---------- */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 1.5rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: .6rem; bottom: .6rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), rgba(124,58,237,.15));
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 1.6rem;
  padding: 1.15rem 0 1.15rem 2rem;
  align-items: start;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -7px; top: 1.7rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--purple);
}
.tl-item.key::before { background: var(--purple); box-shadow: 0 0 0 5px rgba(124,58,237,.18); }
.tl-time {
  font-family: var(--font-display);
  font-size: .92rem;
  letter-spacing: .06em;
  color: var(--purple-bright);
  white-space: nowrap;
  padding-top: .15rem;
}
.tl-body h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.tl-body p { color: var(--muted); font-size: .95rem; }
.tl-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 4px;
  margin-left: .5rem;
  vertical-align: 2px;
}
.tl-tag.academic { background: rgba(124,58,237,.2); color: var(--purple-bright); border: 1px solid rgba(124,58,237,.45); }
.tl-tag.athletic { background: rgba(65,196,115,.14); color: var(--turf); border: 1px solid rgba(65,196,115,.4); }
@media (max-width: 620px) {
  .tl-item { grid-template-columns: 1fr; gap: .35rem; padding-left: 1.6rem; }
  .tl-item::before { top: 1.5rem; }
}

/* ---------- Legal / policy pages ---------- */
.legal-body { max-width: 820px; }
.legal-body h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  margin: 3rem 0 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--white);
}
.legal-body h3 {
  font-size: 1.02rem;
  margin: 1.8rem 0 .5rem;
  color: var(--purple-bright);
}
.legal-body p { color: rgba(247,247,250,.82); margin-bottom: 1rem; }
.legal-list { counter-reset: sec; list-style: none; }
.legal-list > li {
  counter-increment: sec;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 1.6rem;
  color: rgba(247,247,250,.82);
}
.legal-list > li::before {
  content: counter(sec) ".";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--purple-bright);
}
.legal-list > li > strong { color: var(--white); display: block; margin-bottom: .8rem; }
ol.alpha { list-style: lower-alpha; margin: .8rem 0 0 1.2rem; }
ol.alpha li { padding-left: .4rem; margin-bottom: .7rem; color: rgba(247,247,250,.78); }
ol.alpha li::marker { color: var(--purple-bright); font-weight: 600; }
.legal-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--purple);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  margin: 1.4rem 0 1.8rem;
  line-height: 1.9;
}
.legal-card.urgent { border-left-color: #e0564f; background: rgba(224,86,79,.07); }
.foot-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom a:hover { color: var(--purple-bright); }

/* ---------- Reveal enhancements ----------
   Content stays visible even if JavaScript is unavailable. */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .strip .track, .badge-soon .dot, .scroll-hint { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  nav.primary {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(5, 5, 8, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    transform: translate3d(100vw, 0, 0);
    transition: transform 0.3s ease;
    z-index: 60;
    overflow-y: auto;
  }
  nav.primary.open { transform: translate3d(0, 0, 0); }
  nav.primary a { font-size: 1.3rem; }
  .hamburger { display: block; }
  .nav > .btn { display: none; }
}
@media (max-width: 860px) {
  .row-feature { grid-template-columns: 1fr; gap: 2.2rem; padding: 3rem 0; }
  .row-feature.flip > .media { order: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .utility .u-left span.hide-sm { display: none; }
  .utility .u-left span.show-sm { display: inline; }
  section.block { padding: 4rem 0; }
}
@media (max-width: 560px) {
  .utility .wrap { justify-content: center; padding: 0.5rem 0; }
  .utility .u-left { display: none; }
  .badge-soon { white-space: nowrap; font-size: 0.62rem; letter-spacing: 0.04em; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .cap { opacity: 1; transform: none; }
  .gallery a::after { opacity: 1; }
  .steps, .stats .grid, .grid-4, .team-grid, .foot-grid { grid-template-columns: 1fr; }
  .brand img { width: 42px; height: 44px; flex-basis: 42px; }
  .hero .wrap { padding: 5rem 0 4.5rem; }
}
