/* Aerial Zone — site styles */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #1d0b3f;
  --ink-soft: #4a3a6b;
  --violet: #6d28d9;
  --violet-deep: #2a0a5c;
  --grape: #9b5cff;
  --pink: #ff3d8b;
  --coral: #ff6b4a;
  --lime: #c8ff3d;
  --sun: #ffd23f;
  --sky: #3dd6ff;
  --cream: #fff8f0;
  --paper: #ffffff;
  --line: #ecdff8;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 18px 40px -18px rgba(42, 10, 92, 0.35);
  --shadow-pop: 6px 6px 0 var(--ink);
  --wrap: 74rem;
  --gutter: max(1.1rem, calc((100% - var(--wrap)) / 2));
  --display: "Bricolage Grotesque", "Outfit", system-ui, sans-serif;
  --body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --grad: linear-gradient(120deg, var(--violet) 0%, var(--pink) 55%, var(--coral) 100%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 800;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.7rem var(--gutter);
}
.bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.6rem 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(109, 40, 217, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(42, 10, 92, 0.5);
}
.brand img { width: 128px; height: auto; }
.nav-desktop { margin-left: auto; }
.nav-desktop ul, .nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop ul { display: flex; gap: 0.15rem; }
.nav-desktop a, .nav-mobile li a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-desktop a:hover { background: #f3eaff; color: var(--violet); }
.nav-desktop a[aria-current="page"], .nav-mobile a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-cta { margin-left: 0.25rem; }
.nav-mobile { display: none; margin-left: auto; position: relative; }
.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-content: center;
  gap: 5px;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-mobile[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile[open] summary span:nth-child(2) { opacity: 0; }
.nav-mobile[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.8rem);
  width: min(86vw, 320px);
  background: #fff;
  border-radius: var(--radius);
  padding: 0.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.nav-mobile li a { font-size: 1.1rem; padding: 0.7rem 1rem; }
.nav-mobile .btn { width: 100%; margin-top: 0.5rem; justify-content: center; }

@media (max-width: 1060px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .bar .nav-cta { margin-left: auto; }
  .nav-mobile { margin-left: 0; }
}
@media (max-width: 400px) {
  .bar .nav-cta { display: none; }
  .nav-mobile { margin-left: auto; }
  .brand img { width: 108px; }
}

/* ---------- Buttons, pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--display);
  font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); }
.btn.primary { background: var(--grad); color: #fff; border-color: transparent; }
.btn.primary:hover { color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn.lime { background: var(--lime); }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost:hover { box-shadow: 4px 4px 0 var(--lime); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.actions p { margin: 0; display: contents; }

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  border: 2px solid var(--ink);
  margin-bottom: 1.1rem;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 40rem; }

/* ---------- Layout bands ---------- */
main > section, main > .prose { padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); position: relative; }
main > section.tight { padding-block: clamp(2rem, 4vw, 3rem); }
.band-white { background: var(--paper); }
.band-dark { background: var(--violet-deep); color: #fff; }
.band-dark .lead, .band-dark p { color: #e6dcff; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-lime { background: var(--lime); }
.section-head { max-width: 46rem; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.breadcrumbs { padding: 0.4rem var(--gutter) 0; font-size: 0.9rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "→"; margin-right: 0.5rem; color: var(--pink); }
.breadcrumbs a { color: var(--ink-soft); }

.grid { display: grid; gap: 1.3rem; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); align-items: center; }

/* ---------- Home hero ---------- */
.hero {
  padding-top: clamp(2rem, 5vw, 3.5rem) !important;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  background: radial-gradient(circle at center, rgba(255, 61, 139, 0.28), rgba(155, 92, 255, 0.18) 45%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em { font-style: normal; }
.hero-art { position: relative; aspect-ratio: 1 / 1.05; max-width: 560px; justify-self: center; width: 100%; }
.hero-art img { position: absolute; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow); }
.hero-art .a { inset: 0 18% 22% 0; border-radius: 42% 58% 46% 54% / 48% 40% 60% 52%; width: 82%; height: 78%; }
.hero-art .b { right: 0; bottom: 0; width: 46%; height: 52%; border-radius: var(--radius); transform: rotate(4deg); }
.sticker {
  position: absolute;
  font-family: var(--display);
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.95rem;
  white-space: nowrap;
  z-index: 2;
}
.sticker.s1 { top: 6%; right: 4%; background: var(--sun); transform: rotate(6deg); }
.sticker.s2 { bottom: 10%; left: 0; background: var(--lime); transform: rotate(-5deg); }
.sticker.s3 { top: 46%; left: -2%; background: var(--sky); transform: rotate(-8deg); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; padding: 0; list-style: none; }
.hero-badges li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.95rem; font-weight: 600; font-size: 0.95rem; }
.hero-badges li::before { content: "✦ "; color: var(--pink); }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 1rem 0 !important;
  transform: rotate(-1.2deg);
  margin: 0 -2vw;
  border-block: 3px solid var(--lime);
}
.ticker .track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker p { margin: 0; display: flex; gap: 2.2rem; padding-right: 2.2rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2rem); text-transform: uppercase; white-space: nowrap; }
.ticker strong { color: var(--lime); font-weight: 800; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-pop);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.c-pink { background: #ffd6e7; }
.c-lime { background: #ecffbf; }
.c-sun { background: #fff1b8; }
.c-sky { background: #cff4ff; }
.c-violet { background: #e9dcff; }
.icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
  font-family: var(--display);
  font-weight: 800;
}

/* Age cards with photo */
.age-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.age-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 2px solid var(--ink); }
.age-card .body { padding: 1.3rem 1.4rem 1.5rem; }
.age-tag { display: inline-block; font-family: var(--display); font-weight: 800; background: var(--ink); color: var(--lime); border-radius: 999px; padding: 0.25rem 0.8rem; font-size: 0.9rem; margin-bottom: 0.7rem; }

/* Bento */
.bento { display: grid; gap: 1.2rem; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); }
.bento > * { grid-column: span 6; }
@media (min-width: 760px) {
  .bento .w2 { grid-column: span 2; }
  .bento .w3 { grid-column: span 3; }
  .bento .w4 { grid-column: span 4; }
  .bento .tall { grid-row: span 2; }
}
.bento .photo { padding: 0; overflow: hidden; min-height: 240px; }
.bento .photo img { width: 100%; height: 100%; object-fit: cover; }

/* Programs list */
.program { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); align-items: center; }
.program + .program { margin-top: 1.5rem; }
.program img { border-radius: var(--radius); border: 2px solid var(--ink); box-shadow: var(--shadow-pop); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.num { font-family: var(--display); font-weight: 800; font-size: 0.95rem; color: var(--pink); letter-spacing: 0.08em; text-transform: uppercase; }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.5rem; }
.ticks li { padding-left: 2rem; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0.05rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 0.85rem; display: grid; place-items: center; border: 1.5px solid var(--ink); }

/* Facts strip */
.facts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.fact { border-radius: var(--radius); padding: 1.5rem; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); }
.fact strong { display: block; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--lime); margin-bottom: 0.4rem; }
.fact span { color: #e6dcff; }

/* Gradient bands */
.band-grad {
  color: #fff;
  background: var(--violet-deep) url("/images/bg-gradient.jpg") center / cover no-repeat;
  overflow: hidden;
}
.band-grad p, .band-grad .lead { color: #f1e9ff; }
.band-grad h1, .band-grad h2 { color: #fff; }

/* Inner page hero */
.page-hero {
  color: #fff;
  background: var(--violet-deep) url("/images/bg-gradient.jpg") center / cover no-repeat;
  margin: 0.8rem var(--gutter) 0;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(3rem, 8vw, 6rem) clamp(1.4rem, 5vw, 4rem) !important;
  overflow: hidden;
}
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lead { color: #f1e9ff; }
.page-hero .eyebrow { transform: rotate(-2deg); }
.page-hero.rings { background-image: linear-gradient(100deg, rgba(42, 10, 92, 0.95) 30%, rgba(42, 10, 92, 0.55)), url("/images/bg-rings.jpg"); background-position: center 30%; }

/* Team */
.team { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.member .initials { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.6rem; background: var(--grad); color: #fff; border: 2px solid var(--ink); margin-bottom: 1.1rem; }
.member .role { font-weight: 600; color: var(--violet); margin-top: -0.3rem; }

/* Gallery / achievements */
.wins { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.win { padding: 0; overflow: hidden; }
.win img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; border-bottom: 2px solid var(--ink); background: #fff; }
.win .body { padding: 1.2rem 1.3rem 1.4rem; }
.medal { display: inline-block; font-weight: 800; font-family: var(--display); font-size: 0.85rem; padding: 0.2rem 0.7rem; border-radius: 999px; border: 1.5px solid var(--ink); margin-bottom: 0.6rem; }
.medal.gold { background: var(--sun); }
.medal.bronze { background: #ffc9a3; }
.medal.award { background: var(--sky); }
.medal.team { background: var(--lime); }

/* Schools */
.school-logos { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.school-logos li { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-sm); box-shadow: 4px 4px 0 var(--ink); padding: 1.1rem 1rem 0.9rem; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.school-logos li:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.school-logos img { width: 100%; height: 84px; object-fit: contain; }
.school-logos span { font-family: var(--display); font-weight: 700; font-size: 0.95rem; line-height: 1.25; margin-top: auto; }
@media (min-width: 960px) { .school-logos { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 400px) { .school-logos { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; } .school-logos img { height: 64px; } .school-logos span { font-size: 0.85rem; } }

/* Photo collage */
.collage { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.collage img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); }
.collage img:nth-child(2) { transform: translateY(2rem) rotate(2deg); }
.collage img:nth-child(3) { transform: rotate(-2deg); }
.collage img:nth-child(4) { transform: translateY(2rem); }

/* FAQ */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: 0.9rem; }
.faq details { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-sm); box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3.4rem 1.15rem 1.4rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 1.3rem; transition: rotate 0.2s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--pink); color: #fff; }
.faq details > :not(summary) { padding: 0 1.4rem; }
.faq details > :last-child { padding-bottom: 1.2rem; margin-bottom: 0; }

/* Contact */
.contact-cards { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.contact-cards .card a { font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-cards .card a:hover { color: var(--pink); }
.contact-cards address { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.4; }

/* CTA */
.cta {
  margin: 0 var(--gutter) clamp(3rem, 6vw, 5rem);
  border-radius: calc(var(--radius) + 8px);
  background: var(--grad);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 4rem) !important;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
}
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { color: #fff; max-width: 38rem; }
.cta .btn { border-color: var(--ink); }

/* Prose pages (404 etc.) */
.prose { max-width: 46rem; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9cdf5; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 1.5rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.foot-logo { display: inline-block; background: #fff; border-radius: 22px; padding: 0.6rem 1rem; }
.foot-logo img { width: 130px; }
.foot-tag { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--lime); margin-top: 1rem; }
.foot-col h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-bottom: 1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: #d9cdf5; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer address { font-style: normal; line-height: 1.9; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 3rem; padding-top: 1.3rem; font-size: 0.9rem; color: #a99bc9; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .card, .program, .section-head, .collage img, .school-logos li {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
  .sticker { animation: bob 4s ease-in-out infinite; }
  .sticker.s2 { animation-delay: -1.3s; }
  .sticker.s3 { animation-delay: -2.6s; }
}
@keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@keyframes bob { 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker .track { animation: none; }
  .card, .btn { transition: none; }
}

@media (max-width: 640px) {
  .card { padding: 1.4rem; }
  .hero-art { margin-top: 1rem; }
  .sticker { font-size: 0.82rem; padding: 0.4rem 0.8rem; }
  .cta { box-shadow: 6px 6px 0 var(--ink); }
}

.tall-photo { width: 100%; max-width: 380px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 35%; margin-inline: auto; border-radius: var(--radius); border: 2px solid var(--ink); box-shadow: var(--shadow-pop); }

/* Testimonials */
.quote { margin: 0; display: flex; flex-direction: column; position: relative; }
.quote::before { content: "“"; position: absolute; top: -0.35rem; right: 1.2rem; font-family: var(--display); font-weight: 800; font-size: 5.5rem; line-height: 1; color: var(--pink); }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote h3 { padding-right: 2.5rem; }
.quote blockquote p { color: var(--ink); }
.quote figcaption { margin-top: 1.2rem; font-family: var(--display); font-weight: 800; display: flex; align-items: center; gap: 0.6rem; }
.quote figcaption::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--ink); }

/* Class timings */
.table-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-pop); background: #fff; -webkit-overflow-scrolling: touch; }
.timings { width: 100%; min-width: 760px; border-collapse: collapse; }
.timings th, .timings td { padding: 1rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.9; }
.timings thead th { background: var(--violet-deep); padding-block: 1.1rem; }
.timings thead th:first-child { color: #fff; font-family: var(--display); }
.timings thead .age-tag { margin: 0; background: var(--lime); color: var(--ink); }
.timings tbody th { font-family: var(--display); font-weight: 800; white-space: nowrap; position: sticky; left: 0; background: #fff; }
.timings tbody tr:nth-child(2) td, .timings tbody tr:nth-child(2) th { background: #faf5ff; }
.timings tbody tr:last-child th, .timings tbody tr:last-child td { border-bottom: 0; }
.timings td { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Map */
.map-frame { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-pop); overflow: hidden; background: #e9dcff; aspect-ratio: 16 / 7; min-height: 320px; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 5; } }

/* Achievements page: fixed 3-column grid on desktop */
.wins.three-up { grid-template-columns: 1fr; }
@media (min-width: 620px) { .wins.three-up { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .wins.three-up { grid-template-columns: repeat(3, 1fr); } }
