/* =========================================================
   Belda Traditional Sports Karate Association
   Palette pulled from the academy crest:
   royal navy ring, rope gold, crimson banner, sunrise orange, mountain green
   ========================================================= */
:root {
  --navy-950: #050a18;
  --navy-900: #091330;
  --navy-800: #102150;
  --blue: #1e4bb0;
  --gold: #e7b44a;
  --gold-2: #f8d784;
  --crimson: #b3172f;
  --maroon: #6b0f20;
  --orange: #f2852a;
  --sun: #ffb43c;
  --green: #2d9d5a;
  --ink: #f5efe2;
  --ink-dim: rgba(245, 239, 226, .68);
  --line: rgba(231, 180, 74, .28);

  --f-display: "Anton", "Impact", sans-serif;
  --f-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--crimson); color: #fff; }

/* grain overlay for grit */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 900;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--f-label);
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .01em;
  margin: 0;
}
.h-xl { font-size: clamp(56px, 11vw, 190px); }
.h-lg { font-size: clamp(44px, 7vw, 112px); }
.h-md { font-size: clamp(34px, 4.6vw, 68px); }
.gold { color: var(--gold); }
.crimson { color: var(--crimson); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-dim); max-width: 60ch; }
.split .ch { display: inline-block; will-change: transform; }
.split .wd { display: inline-block; white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.pad { padding: clamp(90px, 13vw, 180px) 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px;
  font-family: var(--f-label); font-weight: 700; font-size: 15px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy-950);
  background: var(--gold);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--crimson);
  transform: translateX(-101%) skewX(-12deg);
  transition: transform .45s var(--ease);
}
.btn:hover { color: #fff; }
.btn:hover::before { transform: translateX(0) skewX(0); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--gold); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-2); outline-offset: 4px;
}

/* ---------- navigation ---------- */
/* floating rounded glass bar holding logo, links and the Join button */
.nav {
  position: fixed; top: 14px; z-index: 500;
  left: max(12px, calc((100vw - 1280px) / 2)); right: max(12px, calc((100vw - 1280px) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 8px 7px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background .4s, transform .5s var(--ease), box-shadow .4s;
}
.nav.scrolled {
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08)), rgba(5,10,24,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 50px rgba(0,0,0,.5);
}
.nav.hide { transform: translateY(-140%); }
.nav .nav-cta { border-radius: 999px; clip-path: none; }
.brand { display: flex; align-items: center; gap: 12px; padding-right: 6px; }
.brand img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px var(--gold), 0 6px 24px rgba(0,0,0,.5);
  transition: transform .6s var(--ease);
}
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand-text { font-family: var(--f-label); line-height: 1.05; text-transform: uppercase; }
.brand-text b { display: block; font-size: 20px; letter-spacing: .08em; font-weight: 700; }
.brand-text span { font-size: 11px; letter-spacing: .26em; color: var(--gold); }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative;
  font-family: var(--f-label); font-weight: 600; font-size: 15px;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 10px 16px; overflow: hidden;
}
.nav-links a .t { display: block; transition: transform .45s var(--ease); }
.nav-links a .t::after {
  content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--gold);
}
.nav-links a:hover .t { transform: translateY(-100%); }
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--crimson); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav-links a.active::after { transform: scaleX(1); background: var(--gold); }
.nav-cta { margin-left: 10px; padding: 12px 22px; font-size: 13px; }
.burger { display: none; width: 46px; height: 46px; position: relative; z-index: 3; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink);
  transition: transform .45s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; right: 18px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 450;
  background: linear-gradient(160deg, var(--navy-900), var(--maroon));
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--gutter);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu a {
  font-family: var(--f-display); font-size: clamp(48px, 14vw, 90px);
  text-transform: uppercase; line-height: 1.05; display: block;
  transform: translateY(40px); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s, color .3s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .06s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .12s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .18s; }
.mobile-menu small { margin-top: 40px; font-family: var(--f-label); letter-spacing: .25em; color: var(--gold); text-transform: uppercase; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .brand-text b { font-size: 15px; }
  .brand img { width: 40px; height: 40px; }
  .nav { padding: 6px 6px 6px 6px; }
}

/* ---------- page transition ---------- */
.wipe { position: fixed; inset: 0; z-index: 1000; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.wipe i { display: block; background: var(--navy-900); transform-origin: top; }
.wipe i:nth-child(2) { background: var(--maroon); }
.wipe i:nth-child(3) { background: var(--crimson); }
.wipe i:nth-child(4) { background: var(--maroon); }
.wipe .wipe-logo {
  position: fixed; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px;
  border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold), 0 0 80px rgba(255,180,60,.4);
}

/* ---------- custom cursor ---------- */
.fire-cursor { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1100; }
@media (hover: none), (pointer: coarse) { .fire-cursor { display: none; } }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: linear-gradient(90deg, var(--maroon), var(--crimson) 50%, var(--maroon));
  transform: rotate(-2deg) scale(1.04);
  position: relative; z-index: 2;
}
.marquee.alt { background: var(--gold); color: var(--navy-950); transform: rotate(1.5deg) scale(1.04); margin-top: -30px; }
.marquee-track { display: inline-flex; animation: marq 28s linear infinite; }
.marquee.alt .marquee-track { animation-direction: reverse; }
.marquee span {
  font-family: var(--f-display); font-size: clamp(30px, 4vw, 54px); text-transform: uppercase;
  padding: 0 28px; display: inline-flex; align-items: center; gap: 56px;
}
.marquee span::after { content: ""; width: 16px; height: 16px; background: currentColor; transform: rotate(45deg); opacity: .8; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(50px); }
.reveal-mask { overflow: hidden; display: block; }
.reveal-mask > * { display: block; transform: translateY(105%); }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- section headers ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(48px, 6vw, 90px); flex-wrap: wrap; }
.sec-head .display { margin-top: 18px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  min-height: 92vh; display: flex; align-items: flex-end;
  padding: 160px 0 90px; overflow: hidden;
  background:
    radial-gradient(70% 60% at 75% 30%, rgba(242,133,42,.35), transparent 60%),
    radial-gradient(60% 70% at 10% 90%, rgba(179,23,47,.35), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.page-hero .bg-word {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  font-family: var(--f-display); font-size: clamp(120px, 30vw, 520px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(231,180,74,.16);
  white-space: nowrap; pointer-events: none; text-transform: uppercase;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .lead { margin-top: 28px; }
.crumbs { font-family: var(--f-label); letter-spacing: .25em; text-transform: uppercase; font-size: 13px; color: var(--ink-dim); margin-bottom: 26px; }
.crumbs a:hover { color: var(--gold); }

/* premium backdrop (reusable): soft gold glow with fine concentric hairlines, static so it costs nothing */
.rays {
  position: absolute; width: 140vmax; height: 140vmax; left: 50%; top: 50%;
  margin: -70vmax 0 0 -70vmax; pointer-events: none;
  background:
    radial-gradient(circle, rgba(231,180,74,.16) 0%, rgba(179,23,47,.10) 22%, transparent 48%),
    repeating-radial-gradient(circle, transparent 0 46px, rgba(248,215,132,.07) 46px 47px, transparent 47px 92px);
  -webkit-mask: radial-gradient(circle, #000 0%, #000 18%, transparent 52%);
          mask: radial-gradient(circle, #000 0%, #000 18%, transparent 52%);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- footer ---------- */
.footer {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--navy-950), #03060f);
  padding: 120px 0 40px; border-top: 1px solid var(--line);
}
.footer-big {
  font-family: var(--f-display); text-transform: uppercase; line-height: .85;
  font-size: clamp(64px, 15vw, 260px); margin: 0;
  background: linear-gradient(180deg, var(--gold-2), var(--orange) 60%, var(--crimson));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-top: 70px; }
.footer h4 { font-family: var(--f-label); letter-spacing: .25em; text-transform: uppercase; color: var(--gold); font-size: 14px; margin: 0 0 18px; }
.footer p, .footer li { color: var(--ink-dim); font-size: 16px; margin: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--f-label); letter-spacing: .15em; text-transform: uppercase; font-size: 13px; color: var(--ink-dim); }
.footer-crest { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold); margin-bottom: 22px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   HOME
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 1200;
  background: var(--navy-950);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.loader img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold), 0 0 120px rgba(242,133,42,.45); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.05); box-shadow: 0 0 0 3px var(--gold), 0 0 160px rgba(242,133,42,.7); } }
.loader-bar { width: min(320px, 70vw); height: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--crimson), var(--gold)); }
.loader-num { font-family: var(--f-display); font-size: 44px; color: var(--gold); line-height: 1; }
.loader-txt { font-family: var(--f-label); letter-spacing: .4em; text-transform: uppercase; font-size: 12px; color: var(--ink-dim); }

.dojo { position: relative; height: 100vh; overflow: hidden; background: var(--navy-950); }
/* --- dojo arena --- */
.arena-wall {
  position: absolute; inset: 0;
  background:
    radial-gradient(42% 46% at 50% 52%, rgba(242,133,42,.38), rgba(179,23,47,.18) 45%, transparent 75%),
    repeating-linear-gradient(90deg, rgba(255,220,170,.035) 0 2px, transparent 2px 6px, rgba(0,0,0,.18) 6px 8px, transparent 8px 96px),
    linear-gradient(180deg, #05070f 0%, #0d1028 38%, #2a0f1e 62%, #120814 63%, #070a16 100%);
}
.arena-wall::after { /* wooden beam where wall meets floor */
  content: ""; position: absolute; left: 0; right: 0; top: 61.5%; height: 10px;
  background: linear-gradient(180deg, #6b3a1c, #2a140a); box-shadow: 0 0 40px rgba(242,133,42,.35);
}
/* real-time fire (WebGL), screened over the wall so black = transparent */
.fire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.beam {
  position: absolute; top: -8%; width: 34vw; height: 116%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,214,150,.42), rgba(255,180,90,.12) 55%, transparent 85%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0; opacity: .7;
  animation: flicker 5s ease-in-out infinite;
}
.beam.l { left: 14%; rotate: -14deg; }
.beam.r { right: 14%; rotate: 14deg; animation-delay: -2.4s; }
@keyframes flicker { 0%, 100% { opacity: .9; } 45% { opacity: .65; } 60% { opacity: 1; } }
.banner {
  position: absolute; top: 92px; width: clamp(64px, 6.6vw, 118px); height: 46vh;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 3.2vh 0 6.5vh; container-type: size;
  background: linear-gradient(90deg, #5c0c1a, #b3172f 45%, #8a1225 70%, #5c0c1a);
  box-shadow: inset 0 0 0 3px #e7b44a, inset 0 0 0 7px #5c0c1a, inset 0 0 0 8px rgba(231,180,74,.6), 0 30px 60px rgba(0,0,0,.6);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 90%, 0 100%);
  transform-origin: 50% 0; animation: sway 6s ease-in-out infinite alternate;
  filter: brightness(.82);
}
.banner::before { content: ""; position: absolute; top: 0; left: -10%; width: 120%; height: 10px; background: linear-gradient(#f8d784, #8a5a1c); }
/* faint gold line-art crest near the bottom of each banner */
.banner img { width: 70cqw; aspect-ratio: 1; opacity: .38; flex: none; }
/* letters stacked one per line, sized to the banner so every word fits */
.banner span {
  writing-mode: vertical-rl; text-orientation: upright; letter-spacing: -.08em;
  font-family: var(--f-display); text-transform: uppercase; color: var(--gold-2);
  font-size: min(10cqh, 50cqw); line-height: 1;
  text-shadow: 0 2px 0 #5c0c1a;
}
.banner.b1 { left: 3vw; } .banner.b2 { left: 13vw; height: 38vh; animation-delay: -1.5s; }
.banner.b3 { right: 13vw; height: 38vh; animation-delay: -3s; } .banner.b4 { right: 3vw; animation-delay: -4.5s; }
@keyframes sway { from { rotate: -1.4deg; } to { rotate: 1.4deg; } }
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 39vh; perspective: 520px; perspective-origin: 50% 0; overflow: hidden; }
.floor-plane {
  position: absolute; left: -60%; width: 220%; top: 0; height: 260%;
  transform-origin: 50% 0; transform: rotateX(72deg);
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 18%); mask: linear-gradient(180deg, transparent 0%, #000 18%);
}
.floor-tiles { /* competition tatami: blue and red checkerboard with seams */
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.5) 0 3px, rgba(255,255,255,.06) 3px 5px, transparent 5px),
    linear-gradient(180deg, rgba(0,0,0,.5) 0 3px, rgba(255,255,255,.06) 3px 5px, transparent 5px),
    repeating-conic-gradient(#173482 0 25%, #8c1427 0 50%);
  background-size: 150px 150px, 150px 150px, 300px 300px;
  background-position: 75px 0, 75px 0, 75px 0;
}
.floor-ring { /* gold boundary line of the competition area */
  position: absolute; left: 50%; top: 4%; width: 900px; height: 900px; margin-left: -450px;
  box-shadow: 0 0 0 5px #e7b44a, 0 0 60px 10px rgba(242,133,42,.3);
}
.floor::after { /* warm pool of light under the students */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(45% 60% at 50% 20%, rgba(255,150,70,.32), transparent 70%),
    radial-gradient(90% 120% at 50% 0%, transparent 40%, rgba(3,6,15,.7) 100%),
    linear-gradient(180deg, rgba(3,6,15,.35), transparent 25%, transparent 55%, rgba(5,10,24,.85));
}
.embers { position: absolute; inset: 0; pointer-events: none; }
.bg-word {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);
  font-family: var(--f-display); text-transform: uppercase;
  font-size: clamp(120px, 24vw, 420px); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px rgba(248,215,132,.22);
  white-space: nowrap; pointer-events: none;
}
.stage-wrap { position: absolute; inset: 0; z-index: 3; perspective: 1400px; perspective-origin: 50% 60%; }
.dojo .vignette { z-index: 4; }
.stage { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; transform-origin: 50% 100%; } /* scale from the floor so feet stay planted */
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-shadow { display: none; } /* contact shadows are drawn on the canvas at the students' feet */
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 55%, transparent 55%, rgba(3,6,15,.85)); }

.chapter {
  position: absolute; z-index: 5;
  top: 50%; transform: translateY(-50%);
  width: min(460px, 38vw);
  perspective: 900px;
  opacity: 0; visibility: hidden;
}
.chapter.left { left: var(--gutter); }
.chapter.right { right: var(--gutter); text-align: right; }
.chapter.right .eyebrow { flex-direction: row-reverse; }
.chapter .num { font-family: var(--f-display); font-size: 22px; color: var(--crimson); letter-spacing: .1em; }
.chapter h2 {
  font-family: var(--f-display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(54px, 7.4vw, 128px); line-height: .9; margin: 10px 0 18px;
  background: linear-gradient(180deg, #fff 10%, var(--gold-2) 55%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.6));
}
.chapter h2 .ch { transform-origin: 50% 100% -40px; }
.chapter p { margin: 0; color: var(--ink); font-size: 18px; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
.chapter .bar { width: 70px; height: 3px; background: var(--crimson); margin: 22px 0; }
.chapter.right .bar { margin-left: auto; }

.hero-intro { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; padding-top: 15vh; pointer-events: none; }
.hero-intro .estd { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 var(--gutter); text-transform: uppercase; font-family: var(--f-label); }
.hero-intro .ac-name { font-weight: 700; color: var(--ink); letter-spacing: .22em; font-size: clamp(13px, 1.4vw, 19px); line-height: 1.35; text-shadow: 0 0 2px #000, 0 2px 10px rgba(0,0,0,.95), 0 0 30px rgba(0,0,0,.8); }
.hero-intro .ac-year { text-shadow: 0 0 2px #000, 0 2px 10px rgba(0,0,0,.95); }
.hero-intro .hero-title .row:first-child > span { text-shadow: 0 0 40px rgba(0,0,0,.55), 0 6px 30px rgba(0,0,0,.6); }
.hero-intro .ac-year { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-weight: 600; letter-spacing: .4em; font-size: clamp(11px, 1vw, 14px); }
.hero-intro .ac-year::before, .hero-intro .ac-year::after { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.hero-intro .hero-title {
  font-family: var(--f-display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(48px, 9.4vw, 170px); line-height: .88; margin: 14px 0 0;
  text-shadow: 0 10px 50px rgba(0,0,0,.6);
}
.hero-intro .hero-title .row { display: block; overflow: hidden; padding: 0 .05em; }
.hero-intro .hero-title .row > span { display: block; }
.hero-intro .hero-title .row:nth-child(2) > span { color: transparent; -webkit-text-stroke: 2px var(--gold); }
.hero-intro .sub { margin-top: 18px; font-family: var(--f-label); letter-spacing: .3em; text-transform: uppercase; font-size: 15px; color: var(--ink-dim); }
.scroll-hint { position: absolute; z-index: 6; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--f-label); letter-spacing: .4em; text-transform: uppercase; font-size: 11px; color: var(--ink-dim); }
.scroll-hint i { width: 2px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.finale { position: absolute; z-index: 6; left: 0; right: 0; top: 13vh; text-align: center; opacity: 0; visibility: hidden; padding: 0 var(--gutter); }
.finale h2 { font-family: var(--f-display); text-transform: uppercase; font-weight: 400; font-size: clamp(44px, 7vw, 120px); line-height: .9; margin: 0; }
.finale h2 em { font-style: normal; color: var(--gold); }
.finale .btn { margin-top: 28px; pointer-events: auto; }

.rail { position: absolute; z-index: 7; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 28px; }
.rail span { display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; font-family: var(--f-label); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(245,239,226,.35); transition: color .4s; }
.rail span::after { content: ""; width: 18px; height: 2px; background: currentColor; transition: width .4s var(--ease); }
.rail span.on { color: var(--gold); }
.rail span.on::after { width: 40px; }
.progress-line { position: absolute; z-index: 7; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--crimson), var(--gold)); transform-origin: left; transform: scaleX(0); }

@media (max-width: 900px) {
  .chapter, .chapter.left, .chapter.right { left: var(--gutter); right: var(--gutter); width: auto; top: 12vh; transform: none; text-align: center; }
  .chapter .eyebrow, .chapter.right .eyebrow { flex-direction: row; justify-content: center; }
  .chapter .bar, .chapter.right .bar { margin: 16px auto; }
  .chapter p { font-size: 16px; }
  .rail { display: none; }
  .hero-intro { padding-top: 13vh; }
}
@media (max-aspect-ratio: 1/1) {
  .banner.b2, .banner.b3 { display: none; }
  /* both side flags identical and level on phones */
  .banner, .banner.b1, .banner.b4 { top: 84px; height: 25vh; width: 50px; animation: none; rotate: 0deg; }
  .banner.b1 { left: 10px; } .banner.b4 { right: 10px; }
  .arena-wall::after { top: 57%; }
  .floor { height: 44vh; }
  .beam { width: 60vw; }
  .hero-intro { padding-top: 15vh; }
  .hero-intro .estd { padding: 0 68px; }
  .hero-intro .ac-name { letter-spacing: .16em; }
  .hero-intro .hero-title { font-size: clamp(48px, 15vw, 90px); }
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 46px 28px; border-right: 1px solid var(--line); position: relative; overflow: hidden; }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--f-display); font-weight: 400; font-size: clamp(54px, 6vw, 96px); line-height: 1; display: block; color: var(--gold); }
.stat span { font-family: var(--f-label); letter-spacing: .25em; text-transform: uppercase; font-size: 14px; color: var(--ink-dim); }
.stat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(179,23,47,.25), transparent); transform: translateY(100%); transition: transform .6s var(--ease); }
.stat:hover::before { transform: none; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* manifesto */
.manifesto p.big {
  font-family: var(--f-display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(34px, 5.2vw, 84px); line-height: 1.02; margin: 0;
}
.manifesto p.big .w { opacity: .14; transition: none; }

/* programs */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; perspective: 1200px; }
.card {
  position: relative; min-height: 440px; padding: 34px 28px;
  background: linear-gradient(170deg, var(--navy-800), var(--navy-900) 60%);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  transform-style: preserve-3d; transition: transform .25s ease-out, border-color .4s;
  overflow: hidden;
}
.card:hover { border-color: var(--gold); }
.card .big-n { position: absolute; top: 14px; right: 18px; font-family: var(--f-display); font-size: 120px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(231,180,74,.35); transform: translateZ(40px); }
.card .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(242,133,42,.22), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover .glow { opacity: 1; }
.card .icon { width: 64px; height: 64px; margin-bottom: auto; transform: translateZ(30px); }
.card h3 { font-family: var(--f-display); font-weight: 400; font-size: 38px; text-transform: uppercase; margin: 26px 0 10px; line-height: 1; transform: translateZ(50px); }
.card p { margin: 0; color: var(--ink-dim); font-size: 16px; transform: translateZ(25px); }
.card .tag { margin-top: 18px; font-family: var(--f-label); font-size: 13px; letter-spacing: .22em; color: var(--gold); text-transform: uppercase; transform: translateZ(25px); }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--crimson), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover::after { transform: scaleX(1); }
@media (max-width: 1100px) { .programs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .programs { grid-template-columns: 1fr; } .card { min-height: 360px; } }

/* belt path */
.belts { position: relative; padding: 50px 0 10px; }
.belt-track { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.belt { position: relative; }
.belt i { display: block; height: 22px; border-radius: 3px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.25), 0 10px 30px rgba(0,0,0,.4); transform: scaleX(0); transform-origin: left; }
.belt b { display: block; margin-top: 16px; font-family: var(--f-label); font-size: 15px; letter-spacing: .18em; text-transform: uppercase; }
.belt small { color: var(--ink-dim); font-size: 13px; font-family: var(--f-label); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 800px) { .belt-track { grid-template-columns: repeat(4, 1fr); row-gap: 34px; } }

/* sensei teaser */
.sensei-teaser { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--maroon), var(--navy-900));
  border: 1px solid var(--line); overflow: hidden;
}
.portrait::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(231,180,74,.4); z-index: 2; pointer-events: none; }
.portrait img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.portrait .ph img { width: 46%; border-radius: 50%; opacity: .9; box-shadow: 0 0 0 2px var(--gold), 0 0 60px rgba(242,133,42,.35); }
.portrait .ph span { font-family: var(--f-label); letter-spacing: .3em; text-transform: uppercase; font-size: 13px; color: var(--ink-dim); }
.portrait .badge { position: absolute; z-index: 3; left: -1px; bottom: 34px; background: var(--crimson); padding: 12px 22px; font-family: var(--f-display); font-size: 22px; text-transform: uppercase; letter-spacing: .04em; }
.creds { list-style: none; padding: 0; margin: 34px 0 40px; display: grid; gap: 0; }
.creds li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--f-label); font-size: 20px; letter-spacing: .1em; text-transform: uppercase; }
.creds li::before { content: ""; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); flex: none; }
@media (max-width: 900px) { .sensei-teaser { grid-template-columns: 1fr; } }

/* cta band */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 16vw, 220px) 0; background: radial-gradient(60% 80% at 50% 100%, rgba(242,133,42,.45), transparent 70%), linear-gradient(180deg, var(--navy-950), var(--maroon)); }
.cta-band .display { position: relative; z-index: 2; }
.cta-band .btn { margin-top: 44px; position: relative; z-index: 2; }

/* =========================================================
   GALLERY
   ========================================================= */
.g3d { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: radial-gradient(80% 60% at 50% 100%, rgba(179,23,47,.4), transparent 60%), radial-gradient(60% 50% at 50% 20%, rgba(30,75,176,.35), transparent 70%), var(--navy-950); }
.g3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.g3d-ui { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; padding: 120px var(--gutter) 34px; z-index: 2; }
.g3d-ui h1 { margin-top: 14px; text-shadow: 0 10px 40px rgba(0,0,0,.7); }
.g3d-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; }
.g3d-count { font-family: var(--f-display); line-height: 1; display: flex; align-items: baseline; gap: 10px; overflow: hidden; }
.g3d-count b { font-weight: 400; font-size: clamp(54px, 6vw, 96px); color: var(--gold); display: inline-block; }
.g3d-count span { font-size: 22px; color: var(--ink-dim); }
.g3d-count i { font-style: normal; }
.g3d-arrows { display: flex; gap: 12px; justify-content: flex-end; pointer-events: auto; }
.g3d-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 18px; height: 2px; background: rgba(255,255,255,.12); }
.g3d-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--crimson), var(--gold)); transform-origin: left; transform: scaleX(0); }
@media (max-width: 700px) {
  .g3d-bottom { grid-template-columns: 1fr auto; }
  .g3d-bottom .g3d-caption { grid-column: 1 / -1; grid-row: 1; }
  .round { width: 50px; height: 50px; }
}
.round { width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; font-size: 22px; transition: background .3s, color .3s, transform .3s; }
.round:hover { background: var(--gold); color: var(--navy-950); transform: scale(1.08); }
.g3d-caption { text-align: center; pointer-events: none; }
.g3d-caption b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3vw, 42px); text-transform: uppercase; line-height: 1; }
.g3d-caption span { font-family: var(--f-label); letter-spacing: .3em; text-transform: uppercase; font-size: 12px; color: var(--gold); }

/* album cards */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cat {
  position: relative; display: block; text-align: left; overflow: hidden;
  aspect-ratio: 16 / 11; border-radius: 18px; border: 1px solid var(--line);
  background: var(--navy-900); transition: transform .3s ease-out, border-color .4s, box-shadow .5s;
  isolation: isolate;
}
.cat:hover { border-color: var(--gold); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(242,133,42,.18); }
.cat-img { position: absolute; inset: 0; z-index: -2; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.8) brightness(.8); }
.cat:hover .cat-img img { transform: scale(1.14); filter: saturate(1.1) brightness(.95); }
.cat-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,10,24,.1) 20%, rgba(5,10,24,.92) 100%), linear-gradient(90deg, rgba(107,15,32,.55), transparent 60%); }
.cat-num { position: absolute; top: 18px; right: 24px; font-family: var(--f-display); font-size: clamp(60px, 7vw, 110px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(248,215,132,.6); }
.cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 8px; }
.cat-count { font-family: var(--f-label); letter-spacing: .3em; text-transform: uppercase; font-size: 12px; color: var(--gold); }
.cat-title { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(42px, 5.4vw, 86px); line-height: .9; }
.cat-desc { color: var(--ink-dim); font-size: 16px; max-width: 44ch; }
.cat-go { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-label); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: 13px; }
.cat-go i { font-style: normal; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy-950); transition: transform .5s var(--ease); }
.cat:hover .cat-go i { transform: translateX(8px) rotate(-45deg); }
.cat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--crimson), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.cat:hover::after { transform: scaleX(1); }
@media (max-width: 800px) { .cats { grid-template-columns: 1fr; } .cat { aspect-ratio: 4 / 3.4; } }

/* full-screen album view */
.album {
  position: fixed; inset: 0; z-index: 700; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(70% 50% at 80% 0%, rgba(179,23,47,.3), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950) 40%);
  visibility: hidden; clip-path: circle(0% at 50% 50%);
}
.album.open { visibility: visible; }
.album-inner { padding-top: 110px; padding-bottom: 90px; }
.album-back { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); font-family: var(--f-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; transition: background .3s, color .3s; }
.album-back span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy-950); }
.album-back:hover { background: var(--gold); color: var(--navy-950); }
.album-head { margin: 40px 0 50px; }
.album-head .display { margin: 14px 0 16px; }
.grid { columns: 3 300px; column-gap: 18px; perspective: 1200px; }
.grid .tile { border-radius: 12px; }
.tile { break-inside: avoid; margin-bottom: 18px; position: relative; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; background: var(--navy-900); }
.tile img { width: 100%; transition: transform 1s var(--ease), filter .6s; filter: saturate(.85); }
.tile:hover img { transform: scale(1.07); filter: saturate(1.15); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(5,10,24,.92)); transform: translateY(30%); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.tile:hover figcaption { transform: none; opacity: 1; }
.tile figcaption b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 24px; text-transform: uppercase; }
.tile figcaption span { font-family: var(--f-label); letter-spacing: .25em; font-size: 11px; text-transform: uppercase; color: var(--gold); }
.tile.hidden { display: none; }
.note { margin-top: 40px; padding: 20px 24px; border-left: 3px solid var(--gold); background: rgba(231,180,74,.07); color: var(--ink-dim); font-size: 15px; }

.lightbox { position: fixed; inset: 0; z-index: 800; background: rgba(3,6,15,.94); display: grid; place-items: center; padding: 70px var(--gutter); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; transform: scale(.92) rotateX(10deg); transition: transform .6s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { max-height: 76vh; width: auto; border: 1px solid var(--line); }
.lightbox figcaption { margin-top: 18px; text-align: center; font-family: var(--f-display); text-transform: uppercase; font-size: 28px; }
.lightbox .close { position: absolute; top: 22px; right: var(--gutter); }

/* =========================================================
   ABOUT
   ========================================================= */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.story .crest-3d { position: sticky; top: 120px; perspective: 1000px; }
.story .crest-3d img { width: 100%; max-width: 520px; border-radius: 50%; box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 0 2px var(--gold), 0 0 120px rgba(242,133,42,.25); will-change: transform; }
.story p { color: var(--ink-dim); font-size: 19px; margin: 0 0 24px; }
.story p strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story .crest-3d { position: relative; top: 0; max-width: 360px; margin: 0 auto; } }

.sensei { background: linear-gradient(180deg, var(--navy-950), var(--navy-900) 40%, var(--navy-950)); overflow: hidden; }
.sensei-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.sensei-name { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(52px, 7.5vw, 124px); line-height: .88; margin: 18px 0 0; }
.sensei-name .t { display: block; font-size: .36em; color: var(--gold); letter-spacing: .08em; margin-bottom: 8px; }
.dan { display: flex; gap: 10px; margin: 34px 0 6px; }
.dan i { width: 54px; height: 14px; background: #111; box-shadow: inset 0 0 0 1px var(--gold); position: relative; }
.dan i::after { content: ""; position: absolute; top: 3px; bottom: 3px; left: 50%; width: 3px; background: var(--gold); }
.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.role { padding: 26px 20px; border: 1px solid var(--line); background: rgba(16,33,80,.5); text-align: center; transition: transform .5s var(--ease), background .4s; }
.role:hover { transform: translateY(-8px); background: rgba(179,23,47,.35); }
.role b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 30px; text-transform: uppercase; line-height: 1; }
.role span { font-family: var(--f-label); letter-spacing: .25em; font-size: 12px; text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) { .sensei-grid { grid-template-columns: 1fr; } }

/* sensei's path: 1995 to 3rd Dan */
.dan-journey { margin-top: clamp(80px, 10vw, 140px); }
.dan-path { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.belt-mark.crest { width: 28px; padding: 0; border-radius: 50%; overflow: hidden; }
.belt-mark.crest img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) and (min-width: 801px) { .dan-path { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } .dan-line { display: none; } }
.dan-line { position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--line); }
.dan-line i { display: block; height: 100%; background: linear-gradient(90deg, #f3f0e6, var(--gold) 40%, var(--crimson)); transform-origin: left; transform: scaleX(0); }
.dan-step { position: relative; padding-top: 52px; }
.belt-mark { position: absolute; top: 0; left: 0; width: 76px; height: 28px; border-radius: 4px; background: #111; box-shadow: inset 0 0 0 2px var(--gold), 0 8px 24px rgba(0,0,0,.5); display: flex; justify-content: flex-end; gap: 5px; padding: 5px 8px; }
.belt-mark.white { background: #f3f0e6; box-shadow: inset 0 -4px 0 rgba(0,0,0,.15), 0 8px 24px rgba(0,0,0,.5); }
.belt-mark i { width: 4px; height: 100%; background: var(--gold); border-radius: 1px; }
.dan-step b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 4.6vw, 70px); line-height: 1; color: var(--gold); }
.dan-step h4 { margin: 8px 0 8px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 26px; letter-spacing: .02em; }
.dan-step p { margin: 0; color: var(--ink-dim); font-size: 16px; }
.dan-note { margin-top: 50px; padding: 22px 26px; border-left: 3px solid var(--gold); background: rgba(231,180,74,.07); color: var(--ink-dim); font-size: 17px; max-width: 70ch; }
.dan-note strong { color: var(--ink); font-weight: 600; }
@media (max-width: 800px) {
  .dan-path { grid-template-columns: 1fr; gap: 34px; }
  .dan-line { left: 37px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .dan-line i { width: 100%; height: 100%; transform-origin: top; transform: scaleY(0); }
  .dan-step { padding: 0 0 0 100px; min-height: 40px; }
  .belt-mark.crest { left: 24px; }
}
@media (max-width: 520px) { .role-cards { grid-template-columns: 1fr; } }

.way { text-align: center; }
.way .kanji { font-family: "Noto Serif JP", serif; font-weight: 900; font-size: clamp(110px, 20vw, 280px); line-height: 1; color: var(--crimson); text-shadow: 0 0 80px rgba(179,23,47,.5); letter-spacing: .05em; }
.way .kanji span { display: inline-block; }
.kun { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 80px; text-align: left; }
.kun-item { padding: 32px 22px 28px; border-top: 3px solid var(--crimson); background: linear-gradient(180deg, rgba(16,33,80,.6), transparent); transition: border-color .4s, transform .5s var(--ease); }
.kun-item:hover { border-color: var(--gold); transform: translateY(-10px); }
.kun-item .jp { font-family: "Noto Serif JP", serif; font-weight: 700; font-size: 44px; color: var(--gold); line-height: 1; }
.kun-item b { display: block; margin-top: 18px; font-family: var(--f-display); font-weight: 400; font-size: 28px; text-transform: uppercase; line-height: 1; }
.kun-item p { margin: 12px 0 0; color: var(--ink-dim); font-size: 15px; }
@media (max-width: 1000px) { .kun { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .kun { grid-template-columns: 1fr; } }

.timeline { position: relative; margin-top: 30px; }
.timeline::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline .fill { position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: linear-gradient(var(--gold), var(--crimson)); transform-origin: top; transform: scaleY(0); }
.tl-item { position: relative; padding: 0 0 60px 50px; }
.tl-item::before { content: ""; position: absolute; left: -7px; top: 10px; width: 16px; height: 16px; background: var(--navy-950); border: 2px solid var(--gold); transform: rotate(45deg); }
.tl-item b { font-family: var(--f-display); font-weight: 400; font-size: 44px; color: var(--gold); line-height: 1; }
.tl-item h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 30px; margin: 8px 0 8px; }
.tl-item p { margin: 0; color: var(--ink-dim); max-width: 60ch; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); }
.info-block { padding: 30px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.info-block .ic { width: 56px; height: 56px; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); transform: rotate(45deg); }
.info-block .ic svg { transform: rotate(-45deg); }
.info-block h4 { margin: 0 0 6px; font-family: var(--f-label); letter-spacing: .25em; text-transform: uppercase; color: var(--gold); font-size: 13px; }
.info-block p { margin: 0; font-size: 19px; }
.info-block .todo { color: var(--ink-dim); font-size: 15px; }
.form { padding: clamp(28px, 4vw, 56px); background: linear-gradient(160deg, rgba(16,33,80,.75), rgba(107,15,32,.55)); border: 1px solid var(--line); position: relative; }
.form::before { content: ""; position: absolute; top: -1px; left: -1px; width: 80px; height: 80px; border-top: 3px solid var(--gold); border-left: 3px solid var(--gold); }
.form::after { content: ""; position: absolute; bottom: -1px; right: -1px; width: 80px; height: 80px; border-bottom: 3px solid var(--crimson); border-right: 3px solid var(--crimson); }
.field { position: relative; margin-bottom: 26px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(245,239,226,.25);
  color: var(--ink); font: inherit; font-size: 18px; padding: 24px 0 10px; border-radius: 0; outline: none;
  transition: border-color .3s;
}
.field select option { background: var(--navy-900); }
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 0; top: 24px; font-family: var(--f-label); letter-spacing: .2em; text-transform: uppercase; font-size: 14px; color: var(--ink-dim); pointer-events: none; transition: transform .35s var(--ease), color .3s, font-size .3s; transform-origin: left; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-24px) scale(.82); color: var(--gold); }
.field .line { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--crimson), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field input:focus ~ .line, .field textarea:focus ~ .line, .field select:focus ~ .line { transform: scaleX(1); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-msg { margin-top: 20px; font-family: var(--f-label); letter-spacing: .15em; text-transform: uppercase; color: var(--gold); min-height: 1.5em; }
.map { margin-top: 0; border: 1px solid var(--line); height: 460px; position: relative; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(185deg) contrast(.95); }
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.slot { padding: 30px 26px; border: 1px solid var(--line); background: rgba(16,33,80,.45); }
.slot b { font-family: var(--f-display); font-weight: 400; font-size: 32px; text-transform: uppercase; display: block; line-height: 1; }
.slot span { display: block; margin-top: 12px; font-family: var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-size: 14px; }
.slot p { margin: 10px 0 0; color: var(--ink-dim); font-size: 15px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .schedule { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; gap: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
.map-link { display: inline-block; margin-top: 8px; font-family: var(--f-label); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; color: var(--gold); border-bottom: 1px solid currentColor; }
.map-link:hover { color: var(--gold-2); }
.schedule { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .schedule { grid-template-columns: 1fr; } }
/* real sensei portrait: slow push-in on hover */
.portrait img.photo { transition: transform 1.2s var(--ease), filter .8s; filter: saturate(1.05) contrast(1.03); }
.portrait:hover img.photo { transform: scale(1.05); }
.portrait::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(5,10,24,.55)); }

/* =========================================================
   LEADER SPOTLIGHT: Hanshi Premjit Sen (royal navy, gold, crimson)
   ========================================================= */
.leader { position: relative; overflow: hidden; padding: clamp(100px, 13vw, 180px) 0; isolation: isolate; }
.leader-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(50% 60% at 72% 45%, rgba(231,180,74,.22), transparent 65%),
    radial-gradient(40% 50% at 15% 85%, rgba(179,23,47,.35), transparent 70%),
    linear-gradient(160deg, #0a0f2e 0%, #161a4f 45%, #2a0d22 100%);
}
.leader-bg::after { /* fine gold damask lines for a regal texture */
  content: ""; position: absolute; inset: 0; opacity: .07;
  background: repeating-linear-gradient(45deg, #e7b44a 0 1px, transparent 1px 22px), repeating-linear-gradient(-45deg, #e7b44a 0 1px, transparent 1px 22px);
}
.leader::before, .leader::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), var(--gold-2), var(--gold), transparent); z-index: 1; }
.leader::before { top: 0; } .leader::after { bottom: 0; }
.leader-rays { top: 45%; left: 72%; z-index: -1; opacity: .8; }
.leader-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.leader-badge { display: inline-flex; align-items: center; gap: 14px; padding: 8px 20px 8px 8px; margin-bottom: 26px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(231,180,74,.45); font-family: var(--f-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; line-height: 1.25; color: var(--gold-2); }
.leader-badge img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold), 0 0 24px rgba(231,180,74,.5); }
.leader-name { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(64px, 9vw, 150px); line-height: .86; margin: 16px 0 10px; }
.leader-name .t { display: block; font-size: .32em; letter-spacing: .3em; color: var(--gold); margin-bottom: 10px; }
.gold-grad { background: linear-gradient(180deg, #fff6d6 0%, #f8d784 35%, #e7b44a 60%, #b07a1c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 26px rgba(231,180,74,.35)); }
.leader-stars { display: flex; gap: 14px; margin: 18px 0 24px; }
.leader-stars i { width: 20px; height: 20px; background: var(--crimson); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); filter: drop-shadow(0 0 8px rgba(179,23,47,.8)); }
.leader .lead { color: rgba(245,239,226,.82); margin-bottom: 34px; }

.leader-visual { position: relative; min-height: clamp(460px, 48vw, 640px); }
.leader-emblem { position: absolute; z-index: 0; right: -6%; top: -8%; width: 78%; aspect-ratio: 1; border-radius: 50%; }
.leader-emblem img { width: 100%; height: 100%; border-radius: 50%; opacity: .32; animation: spin 80s linear infinite; }
.leader-emblem::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 2px solid rgba(231,180,74,.45); box-shadow: 0 0 80px rgba(231,180,74,.35), inset 0 0 60px rgba(231,180,74,.2); }
.leader-emblem::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1px dashed rgba(231,180,74,.35); animation: spin 60s linear infinite reverse; }

.royal-frame { position: absolute; margin: 0; padding: 10px; background: linear-gradient(145deg, #f8d784, #b07a1c 40%, #f2cf74 60%, #8a5a14); box-shadow: 0 40px 90px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.4); }
.royal-frame::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(90,50,10,.55); pointer-events: none; }
.royal-frame img { display: block; width: 100%; height: 100%; object-fit: cover; box-shadow: inset 0 0 0 2px rgba(0,0,0,.4); }
.royal-frame::after { content: ""; position: absolute; inset: 10px; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(10,15,46,.55)); pointer-events: none; }
.royal-frame .c { position: absolute; width: 26px; height: 26px; border: 3px solid #fff1c4; z-index: 2; }
.royal-frame .tl { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.royal-frame .tr { top: -8px; right: -8px; border-left: 0; border-bottom: 0; }
.royal-frame .bl { bottom: -8px; left: -8px; border-right: 0; border-top: 0; }
.royal-frame .br { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }
.royal-frame.main { z-index: 2; left: 4%; top: 4%; width: 64%; aspect-ratio: 800 / 850; transform: rotate(-2deg); }
.royal-frame.side { z-index: 3; right: 0; bottom: 0; width: 44%; aspect-ratio: 780 / 820; transform: rotate(4deg); }
.leader-caption { position: absolute; z-index: 4; left: 0; bottom: -4%; max-width: 50%; padding: 14px 18px; background: rgba(10,15,46,.85); border-left: 3px solid var(--crimson); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.leader-caption b { display: block; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 22px; color: var(--gold-2); }
.leader-caption span { font-size: 14px; color: var(--ink-dim); }

@media (max-width: 900px) {
  .leader-grid { grid-template-columns: 1fr; }
  .leader-visual { min-height: 0; height: 118vw; max-height: 640px; }
  .leader-emblem { right: -10%; top: -4%; width: 90%; }
  .leader-caption { max-width: 70%; bottom: -2%; }
  .leader-rays { left: 50%; top: 75%; }
}

/* gallery videos */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 16px; }
.vcard { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #000; padding: 0; text-align: left; transition: border-color .4s, box-shadow .5s, transform .5s var(--ease); }
.vcard.tall { grid-row: span 2; }
.vcard.wide { grid-column: span 2; }
.vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: brightness(.85) saturate(.9); }
.vcard:hover { border-color: var(--gold); box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 40px rgba(242,133,42,.2); transform: translateY(-4px); }
.vcard:hover video { transform: scale(1.06); filter: brightness(1) saturate(1.1); }
.vshade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,10,24,.9)); pointer-events: none; }
.vplay { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(231,180,74,.92); box-shadow: 0 0 0 8px rgba(231,180,74,.25), 0 10px 30px rgba(0,0,0,.5); display: grid; place-items: center; transition: transform .5s var(--ease), opacity .4s; }
.vplay i { width: 0; height: 0; margin-left: 5px; border-left: 18px solid var(--navy-950); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vcard:hover .vplay { transform: scale(.8); opacity: .75; }
.vtitle { position: absolute; left: 16px; right: 16px; bottom: 14px; font-family: var(--f-display); text-transform: uppercase; font-size: 22px; line-height: 1; color: var(--ink); }
.vbox video { max-height: 80vh; max-width: 100%; background: #000; border: 1px solid var(--line); border-radius: 10px; }
@media (max-width: 900px) { .vgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 12px; } }

/* gallery: stacked-card spotlight */
.g3d { background:
    radial-gradient(45% 60% at 62% 50%, rgba(231,180,74,.16), transparent 70%),
    radial-gradient(70% 50% at 50% 110%, rgba(179,23,47,.35), transparent 60%),
    linear-gradient(180deg, #070b1e, var(--navy-950)); }
.stack-wrap { position: absolute; inset: 0; perspective: 1600px; z-index: 1; pointer-events: none; }
.stack {
  --h: min(64vh, 620px);
  position: absolute; left: 62%; top: 52%; width: calc(var(--h) * .8); height: var(--h);
  margin: calc(var(--h) / -2) 0 0 calc(var(--h) * -.4);
  transform-style: preserve-3d; pointer-events: auto; cursor: zoom-in;
}
.stack::after { /* soft floor shadow under the deck */
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -46px; height: 50px;
  background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); filter: blur(6px); transform: translateZ(-40px);
}
.scard {
  position: absolute; inset: 0; margin: 0; border-radius: 22px; overflow: hidden;
  background: #0b1030; will-change: transform, opacity, filter;
  box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(248,215,132,.35), inset 0 0 0 1px rgba(255,255,255,.08);
  transform-origin: 50% 85%;
}
.scard img { width: 100%; height: 100%; object-fit: cover; }
.scard::before { /* thin gold inner frame */
  content: ""; position: absolute; inset: 12px; z-index: 2; border-radius: 14px; border: 1px solid rgba(248,215,132,.45); pointer-events: none;
}
.scard-shine { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(60% 50% at var(--sx, 30%) var(--sy, 20%), rgba(255,255,255,.22), transparent 60%);
  mix-blend-mode: soft-light; }
.scard figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 70px 26px 26px;
  background: linear-gradient(180deg, transparent, rgba(5,10,24,.95));
}
.scard figcaption span { display: block; font-family: var(--f-label); letter-spacing: .3em; text-transform: uppercase; font-size: 12px; color: var(--gold); }
.scard figcaption b { display: block; margin-top: 6px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 36px); line-height: 1; }
.scard-num { position: absolute; top: 22px; right: 26px; z-index: 3; font-style: normal; font-family: var(--f-display); font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(248,215,132,.85); }
.g3d .g3d-caption { visibility: hidden; } /* the card itself carries the title now */
@media (max-width: 900px) {
  .stack { --h: min(48vh, 100vw); left: 50%; top: 60%; }
  .g3d .g3d-caption { display: none; }
}

/* footer credit: Paul It Up wordmark */
.forged-by { display: inline-flex; align-items: center; gap: 14px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); transition: border-color .4s, background .4s, transform .4s var(--ease); }
.forged-by span { color: var(--ink-dim); }
.forged-by img { height: 20px; width: auto; display: block; transition: filter .4s, transform .5s var(--ease); }
.forged-by:hover { border-color: #d8ff3c; background: rgba(216,255,60,.07); transform: translateY(-2px); }
.forged-by:hover img { transform: scale(1.06); filter: drop-shadow(0 0 8px rgba(216,255,60,.7)); }
.footer-bottom { align-items: center; }

/* =========================================================
   GALLERY (redesign): hero spotlight, bento mosaic, featured video
   ========================================================= */
.ghero { position: relative; overflow: hidden; padding: 130px 0 80px; min-height: 100vh; display: flex; align-items: center; isolation: isolate; }
.ghero-bg { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(60px) saturate(1.4) brightness(.45); transform: scale(1.15); transition: background-image 1s; }
.ghero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 70% 50%, transparent, rgba(5,10,24,.85) 75%), linear-gradient(180deg, rgba(5,10,24,.35), var(--navy-950)); }
.ghero-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: clamp(40px, 5vw, 80px); align-items: center; width: 100%; }
.ghero-copy h1 { margin: 18px 0 20px; }
.ghero-copy .lead { margin-bottom: 34px; }
.gstats { display: flex; gap: 34px; margin-bottom: 30px; }
.gstats b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 4vw, 60px); line-height: 1; color: var(--gold); }
.gstats span { font-family: var(--f-label); letter-spacing: .25em; text-transform: uppercase; font-size: 12px; color: var(--ink-dim); }
.gchips { display: flex; flex-wrap: wrap; gap: 10px; }
.gchip { padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); font-family: var(--f-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.gchip:hover { background: var(--gold); color: var(--navy-950); border-color: var(--gold); transform: translateY(-2px); }
.gchip.ghost { background: transparent; }
.ghero-stage { perspective: 1400px; }
.gframe { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; cursor: zoom-in; background: #050915;
  box-shadow: 0 50px 120px rgba(0,0,0,.65), 0 0 0 1px rgba(248,215,132,.35), 0 0 80px rgba(231,180,74,.12); }
.gframe::after { content: ""; position: absolute; inset: 14px; border-radius: 16px; border: 1px solid rgba(248,215,132,.4); pointer-events: none; z-index: 5; }
.gslide { position: absolute; inset: 0; margin: 0; z-index: 0; }
.gslide.on { z-index: 2; }
.gslide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.gslide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 34px 30px; background: linear-gradient(180deg, transparent, rgba(5,10,24,.92)); }
.gslide figcaption span { display: block; font-family: var(--f-label); letter-spacing: .3em; text-transform: uppercase; font-size: 12px; color: var(--gold); }
.gslide figcaption b { display: block; margin-top: 6px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 3vw, 48px); line-height: 1; }
.gframe-count { position: absolute; z-index: 6; top: 26px; right: 30px; font-family: var(--f-label); letter-spacing: .2em; color: var(--ink-dim); font-size: 14px; }
.gframe-count b { font-family: var(--f-display); font-weight: 400; font-size: 34px; color: var(--gold-2); letter-spacing: 0; vertical-align: -4px; }
.gnav { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.gnav .round { width: 50px; height: 50px; flex: none; }
.gthumbs { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gthumb { position: relative; padding: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; opacity: .5; transition: opacity .4s, transform .4s var(--ease); box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.gthumb img { width: 100%; height: 100%; object-fit: cover; }
.gthumb:hover { opacity: .85; transform: translateY(-3px); }
.gthumb.on { opacity: 1; box-shadow: 0 0 0 2px var(--gold); }
.gthumb i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0,0,0,.5); }
.gthumb em { display: block; height: 100%; background: linear-gradient(90deg, var(--crimson), var(--gold)); transform-origin: left; transform: scaleX(0); }
@media (max-width: 1000px) {
  .ghero { min-height: 0; padding-top: 120px; }
  .ghero-grid { grid-template-columns: 1fr; }
  .gstats { gap: 24px; }
}
@media (max-width: 560px) {
  .gframe { aspect-ratio: 4 / 4.4; }
  .gnav .round { display: none; }
  .gthumbs { gap: 6px; }
  .gslide figcaption { padding: 70px 22px 22px; }
}

/* bento mosaic */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 16px; }
.btile { position: relative; margin: 0; overflow: hidden; border-radius: 18px; cursor: zoom-in; background: #0b1030; box-shadow: 0 0 0 1px var(--line); }
.btile.big { grid-column: span 2; grid-row: span 2; }
.btile.tall { grid-row: span 2; }
.btile.wide { grid-column: span 2; }
.btile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9) brightness(.9); }
.btile::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(248,215,132,.25), transparent 60%); }
.btile:hover::before { opacity: 1; }
.btile:hover img { transform: scale(1.07); filter: saturate(1.1) brightness(1); }
.btile:hover { box-shadow: 0 0 0 1px var(--gold), 0 30px 70px rgba(0,0,0,.5); }
.btile figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(180deg, transparent, rgba(5,10,24,.9)); transform: translateY(35%); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.btile:hover figcaption, .btile:focus figcaption { transform: none; opacity: 1; }
.btile figcaption span { display: block; font-family: var(--f-label); letter-spacing: .28em; text-transform: uppercase; font-size: 11px; color: var(--gold); }
.btile figcaption b { display: block; margin-top: 4px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 24px; line-height: 1; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; } .btile.wide { grid-column: span 2; } }
@media (hover: none) { .btile figcaption { transform: none; opacity: 1; } }

/* featured video (with music) */
.vcard.feat { grid-column: span 2; grid-row: span 2; }
.vbadge { display: inline-block; margin-right: 10px; padding: 4px 10px; border-radius: 999px; background: var(--crimson); font-style: normal; font-family: var(--f-label); font-weight: 700; letter-spacing: .14em; font-size: 11px; vertical-align: 4px; }

/* =========================================================
   LEADERBOARD
   ========================================================= */
.lb-hero { position: relative; overflow: hidden; padding: 140px 0 110px; isolation: isolate; }
.lb-bg { position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(45% 55% at 50% 62%, rgba(231,180,74,.28), transparent 70%),
              radial-gradient(60% 50% at 50% 110%, rgba(179,23,47,.4), transparent 65%),
              linear-gradient(180deg, #070b1e, #0d1236 60%, var(--navy-950)); }
.lb-rays { top: 62%; z-index: -1; opacity: .9; }
.lb-head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.lb-head .eyebrow { justify-content: center; }
.lb-head h1 { margin: 16px 0 18px; }
.lb-head .lead { margin: 0 auto; }

.podium { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: end; perspective: 1200px; padding-top: 70px; }
.champ { position: relative; border-radius: 22px; text-align: center; transition: transform .3s ease-out; }
.champ-photo { position: relative; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.08), transparent 60%), linear-gradient(160deg, #1a2160, #0a0f2e 70%);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(248,215,132,.3); }
.champ-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.champ-photo .mono { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 30%; font-family: var(--f-display); font-size: clamp(48px, 5vw, 80px); color: transparent; -webkit-text-stroke: 1.5px rgba(248,215,132,.75); }
.champ-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,10,24,.9)); }
.champ-shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(60% 45% at var(--sx, 30%) var(--sy, 20%), rgba(255,255,255,.2), transparent 60%); mix-blend-mode: soft-light; }
.champ-rank { position: absolute; z-index: 3; top: -24px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #2a3170, #0d1236); box-shadow: 0 0 0 2px rgba(248,215,132,.6), 0 10px 26px rgba(0,0,0,.5); line-height: 1; }
.champ-rank b { font-family: var(--f-display); font-weight: 400; font-size: 24px; color: var(--gold-2); }
.champ-rank span { display: none; }
.champ-body { position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; padding: 0 12px; }
.champ-body h3 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(18px, 1.7vw, 26px); line-height: 1; }
.belt-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(5,10,24,.75); border: 1px solid rgba(255,255,255,.15); font-family: var(--f-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; white-space: nowrap; }
.belt-pill i { width: 22px; height: 7px; border-radius: 2px; background: var(--belt); box-shadow: inset 0 -2px 0 rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.2); }
.champ-base { height: 14px; margin: 10px 8% 0; border-radius: 0 0 12px 12px; background: linear-gradient(90deg, transparent, rgba(231,180,74,.35), transparent); filter: blur(4px); }
.champ.r1 .champ-photo { aspect-ratio: 3 / 4.3; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 2px var(--gold), 0 0 80px rgba(231,180,74,.45); }
.champ.r1 .champ-rank { width: 68px; height: 68px; top: -32px; background: linear-gradient(160deg, #fff2c4, #e7b44a 50%, #a86f14); box-shadow: 0 0 0 3px #fff2c4, 0 0 40px rgba(231,180,74,.7); }
.champ.r1 .champ-rank b { color: var(--navy-950); font-size: 32px; }
.champ.r1 .champ-body h3 { font-size: clamp(22px, 2.1vw, 32px); }
.champ.r2 .champ-photo, .champ.r3 .champ-photo { aspect-ratio: 3 / 3.8; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1.5px #d9dde8, 0 0 40px rgba(217,221,232,.18); }
.champ.r2 .champ-rank b, .champ.r3 .champ-rank b { color: #fff; }
.champ.r4 .champ-photo, .champ.r5 .champ-photo { aspect-ratio: 3 / 3.4; }
.crown { position: absolute; z-index: 4; top: -86px; left: 50%; width: 60px; height: 38px; margin-left: -30px; filter: drop-shadow(0 6px 18px rgba(231,180,74,.6)); }
@media (max-width: 1000px) {
  .podium { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .champ.r1 { grid-column: 1 / -1; order: -1; width: min(340px, 80%); margin: 30px auto 0; }
  .champ.r2 { order: 0; } .champ.r3 { order: 1; } .champ.r4 { order: 2; } .champ.r5 { order: 3; }
  .champ .champ-photo { aspect-ratio: 3 / 3.8 !important; }
  .champ.r1 .champ-photo { aspect-ratio: 3 / 4 !important; }
}
@media (max-width: 420px) { .belt-pill { font-size: 9px; padding: 5px 8px; } }

/* full list */
.lb-search { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: var(--ink-dim); }
.lb-search input { background: none; border: 0; outline: none; color: var(--ink); font: inherit; width: 220px; }
.lb-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lb-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.07); background: linear-gradient(90deg, rgba(16,33,80,.55), rgba(5,10,24,.4)); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.lb-row:hover { background: rgba(231,180,74,.08); border-color: var(--line); transform: translateX(4px); }
.lb-row .pos { width: 36px; flex: none; font-family: var(--f-display); font-size: 24px; color: var(--gold-2); text-align: right; }
.lb-row .av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--f-label); font-weight: 700; font-size: 13px; background: #1a2160; box-shadow: 0 0 0 2px var(--belt, rgba(248,215,132,.5)); }
.lb-row .nm { font-weight: 600; font-size: 16px; line-height: 1.25; }
.lb-row .meta { display: block; font-family: var(--f-label); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; color: var(--ink-dim); font-weight: 600; }
.lb-none { grid-column: 1 / -1; padding: 30px 6px; color: var(--ink-dim); }
.lb-empty { grid-column: 1 / -1; padding: 70px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 20px; }
.lb-empty img { width: 90px; opacity: .5; margin-bottom: 10px; }
.lb-empty b { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 32px; }
.lb-empty span { color: var(--ink-dim); }
@media (max-width: 1000px) { .lb-table { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .lb-table { grid-template-columns: 1fr; } .lb-search input { width: 170px; } }

/* =========================================================
   NEWS: newspaper sheet on a dark desk
   ========================================================= */
.news-hero { padding: 150px 0 40px; background: radial-gradient(60% 80% at 80% 0%, rgba(179,23,47,.25), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.news-desk { padding: 30px 0 120px; background: radial-gradient(50% 40% at 50% 20%, rgba(231,180,74,.08), transparent 70%), var(--navy-950); }
.paper {
  --ink-p: #1b1712; --rule: #2b2419;
  max-width: 1080px; margin: 0 auto; padding: clamp(22px, 4vw, 56px);
  color: var(--ink-p); border-radius: 4px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.5), transparent 60%),
    repeating-linear-gradient(0deg, rgba(120,95,50,.035) 0 1px, transparent 1px 3px),
    #efe6d2;
  box-shadow: 0 50px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.2), inset 0 0 120px rgba(150,115,60,.18);
  transform-origin: 50% 0;
}
.masthead { text-align: center; border-bottom: 4px double var(--rule); padding-bottom: 14px; margin-bottom: 26px; }
.mh-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-family: "Source Serif 4", Georgia, serif; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.mh-name { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 14px 0 6px; }
.mh-name b { font-family: "Playfair Display", Georgia, serif; font-weight: 900; font-size: clamp(36px, 6.4vw, 78px); line-height: 1; letter-spacing: -.01em; }
.mh-name img { width: clamp(34px, 5vw, 60px); height: auto; border-radius: 50%; filter: grayscale(1) contrast(1.2) sepia(.35); opacity: .85; }
.mh-tag { font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-size: 15px; }
.kicker { font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; font-size: 13px; color: #9a1426; }
.headline { font-family: "Playfair Display", Georgia, serif; font-weight: 900; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.04; margin: 10px 0 16px; }
.deck { font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; margin: 0 0 18px; max-width: 62ch; }
.byline { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-family: "Barlow Condensed", sans-serif; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.lead-photo { margin: 24px 0 26px; overflow: hidden; }
.lead-photo img { width: 100%; max-height: 520px; object-fit: cover; filter: sepia(.12) contrast(1.05); border: 1px solid var(--rule); }
.lead-photo figcaption { margin-top: 8px; font-family: "Source Serif 4", Georgia, serif; font-size: 14px; font-style: italic; color: #4a4033; }
.cols { columns: 3 260px; column-gap: 34px; column-rule: 1px solid rgba(43,36,25,.35); font-family: "Source Serif 4", Georgia, serif; font-size: 17px; line-height: 1.65; text-align: justify; hyphens: auto; }
.cols p { margin: 0 0 14px; }
.cols h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 22px; margin: 6px 0 8px; break-after: avoid; }
.dropcap::first-letter { float: left; font-family: "Playfair Display", Georgia, serif; font-weight: 900; font-size: 74px; line-height: .8; padding: 6px 8px 0 0; color: #9a1426; }
.pull { break-inside: avoid; margin: 6px 0 18px; padding: 16px 0; border-top: 3px solid var(--rule); border-bottom: 3px solid var(--rule); text-align: center; font-family: "Playfair Display", Georgia, serif; font-size: 22px; }
.pull b { display: block; font-size: 64px; line-height: .95; color: #9a1426; }
.pull span { display: block; margin-top: 8px; font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-size: 15px; }
.source { margin-top: 26px; padding-top: 18px; border-top: 4px double var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.src-label { display: block; font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: #9a1426; }
.source q { display: block; margin: 6px 0; font-family: "Noto Serif Bengali", serif; font-weight: 600; font-size: 18px; quotes: "“" "”"; }
.src-meta { font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-size: 14px; }
.news-more { text-align: center; margin-top: 40px; color: var(--ink-dim); font-family: var(--f-label); letter-spacing: .25em; text-transform: uppercase; font-size: 13px; }
@media (max-width: 640px) {
  .mh-top span:nth-child(2) { display: none; }
  .cols { font-size: 16px; text-align: left; }
}

/* about: sensei judging photo */
.judge-photo { margin: 26px 0 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: rgba(16,33,80,.5); }
.judge-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 62%; transition: transform 1.2s var(--ease); }
.judge-photo:hover img { transform: scale(1.04); }
.judge-photo figcaption { padding: 14px 18px; }
.judge-photo b { display: block; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 22px; color: var(--gold-2); }
.judge-photo span { font-size: 14px; color: var(--ink-dim); }

/* =========================================================
   GALLERY v3: smooth spotlight, compact sections, uncropped highlights
   ========================================================= */
.ghero { min-height: 0; padding: 120px 0 36px;
  background: radial-gradient(60% 70% at 75% 40%, rgba(231,180,74,.12), transparent 65%), radial-gradient(50% 60% at 0% 100%, rgba(179,23,47,.22), transparent 70%), linear-gradient(180deg, #070b1e, var(--navy-950)); }
.ghero::before { display: none; }
.ghero-copy .lead { margin-bottom: 26px; }
/* spotlight: only opacity and transform animate (both GPU-composited) */
.gframe { contain: layout paint; transform: translateZ(0); }
.gslide { opacity: 0; transition: opacity 1s ease; will-change: opacity; }
.gslide.on { opacity: 1; z-index: 2; }
.gslide img { transform: scale(1.1); will-change: transform; backface-visibility: hidden; }
.gslide.on img { animation: kenburns 7s linear forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.gslide figcaption > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease .35s, transform .7s var(--ease) .35s; }
.gslide.on figcaption > * { opacity: 1; transform: none; }

/* compact sections */
.gsec { padding: clamp(36px, 5vw, 64px) 0; }
.gsec-head { margin-bottom: 22px; }
.gsec-head h2 { margin: 10px 0 6px; }
.gsec-head .lead { margin: 4px 0 0; font-size: 16px; }

/* albums: two slim cards */
.cats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cat { aspect-ratio: 16 / 6.2; border-radius: 16px; }
.cat-num { font-size: clamp(40px, 4vw, 64px); top: 12px; right: 18px; }
.cat-body { padding: clamp(16px, 2vw, 26px); gap: 4px; }
.cat-title { font-size: clamp(30px, 3.4vw, 48px); }
.cat-desc { font-size: 14px; }
.cat-go { margin-top: 4px; font-size: 12px; }
.cat-go i { width: 30px; height: 30px; }
@media (max-width: 800px) { .cats { grid-template-columns: 1fr; } .cat { aspect-ratio: 16 / 7.5; } }

/* highlights: masonry so each photo keeps its own shape; caption always visible under it */
.bento { display: block; columns: 3 300px; column-gap: 14px; }
.btile { display: block; break-inside: avoid; margin: 0 0 14px; grid-column: auto !important; grid-row: auto !important; border-radius: 14px; background: #0b1030; }
.btile img { display: block; width: 100%; height: auto; transform: none; filter: none; transition: transform .8s var(--ease); }
.btile:hover img { transform: scale(1.03); filter: none; }
.btile figcaption { position: static; transform: none; opacity: 1; padding: 12px 14px 14px; background: linear-gradient(180deg, rgba(16,33,80,.9), rgba(10,15,46,.95)); }
.btile figcaption b { font-size: 19px; margin-top: 3px; }
.btile::before { display: none; }
@media (max-width: 700px) { .bento { columns: 2 150px; column-gap: 10px; } .btile { margin-bottom: 10px; } .btile figcaption b { font-size: 15px; } }

/* videos: a little tighter */
.vgrid { grid-auto-rows: 200px; }
@media (max-width: 900px) { .vgrid { grid-auto-rows: 160px; } }

/* =========================================================
   FIERCE LOADER (home) and FIRE PAGE TRANSITION
   ========================================================= */
.loader { background: radial-gradient(50% 50% at 50% 55%, #2a0710 0%, #0a0612 55%, #030308 100%); gap: 30px; }
.loader > img { display: none; }
.ld-core { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.ld-core img { position: relative; z-index: 3; width: 118px; height: 118px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 3px #f8d784, 0 0 40px rgba(255,140,40,.8); animation: ldBeat .9s ease-in-out infinite; }
.ld-fire { position: absolute; inset: -18px; z-index: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, #ff3b1f, #ffb43c, #ff6a1a, #b3172f, #ffcf5a, #ff3b1f, #ff8a2a, #b3172f, #ff3b1f);
  filter: blur(14px) saturate(1.4);
  -webkit-mask: radial-gradient(circle, transparent 47%, #000 52%, #000 64%, transparent 72%);
          mask: radial-gradient(circle, transparent 47%, #000 52%, #000 64%, transparent 72%);
  animation: ldSpin 1.1s linear infinite, ldFlicker .18s steps(2) infinite; }
.ld-ring { position: absolute; inset: 14px; z-index: 2; border-radius: 50%; border: 2px dashed rgba(248,215,132,.7); animation: ldSpin 3s linear infinite reverse; }
.ld-name { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(34px, 6vw, 60px); letter-spacing: .06em; line-height: 1; color: #fff1d6;
  text-shadow: 0 0 12px rgba(255,120,40,.9), 0 0 34px rgba(255,60,20,.6); animation: ldFlicker 2.4s infinite; }
.ld-name b { font-weight: 400; color: #ffb43c; }
.ld-slash { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; z-index: 5; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, transparent, #ff3b1f 15%, #fff2c4 50%, #ff3b1f 85%, transparent); box-shadow: 0 0 24px #ff6a1a, 0 0 60px #ff3b1f; }
@keyframes ldSpin { to { transform: rotate(360deg); } }
@keyframes ldBeat { 50% { transform: scale(1.06); box-shadow: 0 0 0 3px #fff2c4, 0 0 70px rgba(255,140,40,1); } }
@keyframes ldFlicker { 0%, 100% { opacity: 1; } 47% { opacity: .92; } 50% { opacity: .78; } 53% { opacity: .95; } }

.fire-wipe { display: block; position: fixed; inset: 0; z-index: 1000; pointer-events: none; overflow: hidden; visibility: hidden; grid-template-columns: none; }
.fw-flames { position: absolute; left: -5%; right: -5%; top: -26vh; height: 152vh; will-change: transform; }
.fire-wipe .fw-flames i { position: absolute; inset: 0; display: block; transform: none; transition: clip-path .09s linear; }
.fire-wipe .fw-flames .fw-back { background: linear-gradient(180deg, #ffd25a 0%, #ff7a1a 8%, #e2361b 16%, #8f0f1f 30%, #2a0710 60%, #0a0612 100%); }
.fire-wipe .fw-flames .fw-front { top: 5vh !important; background: linear-gradient(180deg, #fff2c4 0%, #ffb43c 6%, #ff5a1f 14%, #b3172f 26%, #1a050c 55%, #070512 100%); opacity: .96; }
.fw-logo { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; opacity: 0; object-fit: cover;
  box-shadow: 0 0 0 3px #f8d784, 0 0 60px rgba(255,140,40,.9), 0 0 120px rgba(255,60,20,.6); }
@media (prefers-reduced-motion: reduce) { .fw-back, .fw-front, .ld-fire, .ld-name { animation: none; } }

.stat b span { font: inherit; color: inherit; letter-spacing: 0; text-transform: none; }

/* home: "Choose your path" cards, more compact */
.programs { gap: 16px; }
.card { min-height: 300px; padding: 24px 22px; }
.card .big-n { font-size: 76px; top: 10px; right: 14px; }
.card .icon { width: 46px; height: 46px; }
.card h3 { font-size: 28px; margin: 16px 0 8px; }
.card p { font-size: 15px; }
.card .tag { margin-top: 12px; font-size: 12px; }
@media (max-width: 600px) { .card { min-height: 240px; } }

/* header: federation logo sits left of the academy crest, a step smaller */
.brand { gap: 10px; }
.brand img.brand-fed { width: 38px; height: 38px; box-shadow: 0 0 0 1.5px rgba(248,215,132,.6), 0 4px 14px rgba(0,0,0,.4); }
.brand img.brand-main { margin-left: -2px; }
@media (max-width: 900px) { .brand img.brand-fed { width: 32px; height: 32px; } .brand { gap: 8px; } }
@media (max-width: 380px) { .brand-text span { display: none; } }

/* leaderboard v2: the top five fit on the first screen in one row */
.lb-hero { padding: 108px 0 46px; }
.lb-head { margin-bottom: 18px; }
.lb-head h1 { margin: 10px 0 10px; }
.lb-head .lead { font-size: 16px; }
.podium { max-width: 1040px; margin: 0 auto; gap: 14px; padding-top: 64px; }
.champ .champ-photo, .champ.r2 .champ-photo, .champ.r3 .champ-photo, .champ.r4 .champ-photo, .champ.r5 .champ-photo { aspect-ratio: 3 / 3.5; }
.champ.r1 .champ-photo { aspect-ratio: 3 / 3.9; }
.champ-body { bottom: 22px; }
.champ-body h3 { font-size: clamp(16px, 1.45vw, 21px); margin-bottom: 8px; }
.champ.r1 .champ-body h3 { font-size: clamp(18px, 1.7vw, 25px); }
.crown { top: -76px; }
@media (max-width: 1000px) {
  .podium { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 64px 4px 10px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; align-items: flex-end; }
  .podium::-webkit-scrollbar { display: none; }
  .champ, .champ.r1 { flex: 0 0 clamp(130px, 34vw, 190px); width: auto; margin: 0; grid-column: auto; scroll-snap-align: start; }
  .champ.r1 { order: 1; } .champ.r2 { order: 2; } .champ.r3 { order: 3; } .champ.r4 { order: 4; } .champ.r5 { order: 5; }
  .champ .champ-photo { aspect-ratio: 3 / 3.8 !important; }
  .champ.r1 .champ-photo { aspect-ratio: 3 / 4.2 !important; }
  .champ-body { bottom: 16px; padding: 0 8px; }
  .belt-pill { font-size: 9px; padding: 4px 8px; gap: 6px; }
  .belt-pill i { width: 14px; }
}
@media (max-width: 1000px) { .podium { padding-top: 92px; scroll-padding-left: var(--gutter); } }

/* news: link to the broadcaster's own video report */
.video-report { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; padding: 14px 18px; border: 1px solid var(--rule); background: rgba(43,36,25,.06); color: var(--ink-p); transition: background .3s, transform .3s var(--ease); }
.video-report:hover { background: rgba(154,20,38,.1); transform: translateY(-2px); }
.vr-play { flex: none; width: 54px; height: 54px; border-radius: 50%; background: #9a1426; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(154,20,38,.35); }
.vr-play i { width: 0; height: 0; margin-left: 4px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.vr-text b { display: block; font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 20px; }
.vr-text span { font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-size: 14px; color: #4a4033; }
.vr-go { margin-left: auto; font-size: 22px; color: #9a1426; }

/* home hero: academy name and founding year, bigger and highlighted */
.hero-intro .estd { gap: 12px; }
.hero-intro .ac-name {
  display: inline-block; padding: 10px 22px; border-radius: 999px;
  font-size: clamp(16px, 1.9vw, 27px); letter-spacing: .14em; line-height: 1.25; color: #fff8e6;
  background: linear-gradient(180deg, rgba(10,15,46,.82), rgba(10,15,46,.66));
  box-shadow: 0 0 0 1.5px rgba(248,215,132,.75), 0 0 30px rgba(231,180,74,.28), 0 10px 30px rgba(0,0,0,.5);
  text-shadow: 0 0 18px rgba(255,190,90,.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-intro .ac-year {
  padding: 6px 18px; border-radius: 999px; font-size: clamp(13px, 1.25vw, 17px); letter-spacing: .32em; font-weight: 700;
  color: var(--navy-950); background: linear-gradient(180deg, #fff2c4, #e7b44a 55%, #c98d22);
  box-shadow: 0 0 22px rgba(231,180,74,.5); text-shadow: none;
}
.hero-intro .ac-year::before, .hero-intro .ac-year::after { display: none; }
@media (max-width: 900px) {
  .hero-intro .estd { padding: 0 62px; }
  .hero-intro .ac-name { padding: 8px 14px; font-size: 14px; letter-spacing: .1em; border-radius: 18px; }
  .hero-intro .ac-year { font-size: 12px; }
}

/* header: both logos the same size */
.brand img.brand-fed { width: 46px; height: 46px; box-shadow: 0 0 0 2px var(--gold), 0 6px 24px rgba(0,0,0,.5); }
.brand img.brand-main { margin-left: 0; }
@media (max-width: 900px) { .brand img.brand-fed, .brand img.brand-main { width: 40px; height: 40px; } }

/* header: full academy name on two lines */
.brand-text b { font-size: 17px; letter-spacing: .06em; white-space: nowrap; }
.brand-text span { font-size: 12px; letter-spacing: .16em; white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 901px) { .brand-text b { font-size: 14px; } .brand-text span { font-size: 10px; letter-spacing: .12em; } .nav-links a { padding: 10px 10px; letter-spacing: .14em; } }
@media (max-width: 900px) { .brand-text b { font-size: 13px; letter-spacing: .04em; } .brand-text span { display: block !important; font-size: 10px; letter-spacing: .1em; } }
@media (max-width: 380px) { .brand-text b { font-size: 12px; } .brand-text span { font-size: 9px; } .brand img.brand-fed, .brand img.brand-main { width: 34px; height: 34px; } }

/* tighter vertical rhythm site-wide (sections were stacking up to 400px of empty space) */
.pad { padding: clamp(56px, 7vw, 100px) 0; }
.cta-band { padding: clamp(70px, 9vw, 130px) 0; }
.sec-head { margin-bottom: clamp(30px, 4vw, 56px); }
.belts { padding-bottom: 0; }

/* loader: full academy name on two lines */
.ld-name { text-align: center; line-height: 1.05; padding: 0 16px; font-size: clamp(26px, 4.4vw, 52px); }
.ld-name span, .ld-name b { display: block; }
.ld-name b { font-size: .62em; letter-spacing: .14em; margin-top: 8px; }

/* =========================================================
   ABOUT (redesign): compact, editorial, no empty bands
   ========================================================= */
.ab-sec { padding: clamp(40px, 5vw, 70px) 0; }
.ab-head { margin-bottom: 24px; }
.ab-head h2 { margin: 10px 0 0; }

.ab-hero { padding: 118px 0 40px; background: radial-gradient(55% 70% at 80% 35%, rgba(231,180,74,.14), transparent 65%), radial-gradient(50% 60% at 0% 100%, rgba(179,23,47,.25), transparent 70%), linear-gradient(180deg, #070b1e, var(--navy-950)); }
.ab-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.ab-title { font-size: clamp(46px, 6.4vw, 104px); margin: 14px 0 18px; }
.ab-title span { display: block; }
.ab-hero .lead { margin: 0 0 26px; }
.ab-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.ab-facts li { padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(16,33,80,.55); }
.ab-facts b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 22px; color: var(--gold-2); line-height: 1.1; }
.ab-facts span { font-family: var(--f-label); letter-spacing: .2em; text-transform: uppercase; font-size: 11px; color: var(--ink-dim); }
.ab-collage { position: relative; height: clamp(340px, 34vw, 480px); }
.ab-collage img { position: absolute; object-fit: cover; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(248,215,132,.35); }
.ab-collage .c1 { right: 6%; top: 0; width: 56%; height: 92%; border-radius: 20px; object-position: 50% 25%; rotate: 2deg; }
.ab-collage .c2 { left: 0; bottom: 0; width: 56%; aspect-ratio: 16 / 9.5; border-radius: 16px; rotate: -4deg; }
.ab-collage .c3 { left: 8%; top: 4%; width: 26%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 3px var(--gold), 0 0 50px rgba(231,180,74,.45); }

/* lineage */
.lineage { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; }
.lin-card { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(16,33,80,.75), rgba(8,12,34,.9)); transition: transform .4s var(--ease), border-color .4s; }
a.lin-card:hover, .lin-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.lin-pic { aspect-ratio: 16 / 9; overflow: hidden; }
.lin-pic img { width: 100%; height: 100%; object-fit: cover; }
.lin-body { padding: 16px 18px 18px; }
.lin-role { font-family: var(--f-label); letter-spacing: .24em; text-transform: uppercase; font-size: 11px; color: var(--gold); }
.lin-body h3 { margin: 6px 0 8px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1; }
.lin-body p { margin: 0; color: var(--ink-dim); font-size: 15px; }
.lin-badge { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold), 0 6px 18px rgba(0,0,0,.5); }
.lin-arrow { align-self: center; width: 34px; height: 2px; background: linear-gradient(90deg, var(--crimson), var(--gold)); position: relative; }
.lin-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border-left: 10px solid var(--gold); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
@media (max-width: 900px) {
  .lineage { grid-template-columns: 1fr; }
  .lin-arrow { justify-self: center; width: 2px; height: 22px; background: linear-gradient(180deg, var(--crimson), var(--gold)); }
  .lin-arrow::after { right: -5px; top: auto; bottom: -4px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid var(--gold); border-bottom: 0; }
}

/* sensei */
.ab-sensei { background: linear-gradient(180deg, var(--navy-950), #0b1238 50%, var(--navy-950)); }
.ab-sensei-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.ab-sensei-media { display: grid; gap: 16px; position: sticky; top: 100px; }
.ab-sensei-media .portrait { aspect-ratio: 4 / 4.6; }
.ab-sensei-media .judge-photo { margin: 0; }
.ab-sensei-copy .sensei-name { font-size: clamp(44px, 5.4vw, 84px); margin: 10px 0 14px; }
.ab-sensei-copy .lead { margin: 0 0 18px; }
.ab-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 26px; }
.ab-roles span { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(16,33,80,.55); font-family: var(--f-label); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; color: var(--gold); }
.ab-roles b { display: block; font-family: var(--f-display); font-weight: 400; letter-spacing: .02em; font-size: 22px; color: var(--ink); }
.ab-sub { font-family: var(--f-label); letter-spacing: .26em; text-transform: uppercase; font-size: 13px; color: var(--gold); margin: 0 0 12px; }
.ab-path { list-style: none; padding: 0 0 0 0; margin: 0 0 16px; position: relative; }
.ab-path::before { content: ""; position: absolute; left: 37px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, #f3f0e6, var(--gold) 40%, var(--crimson)); opacity: .7; }
.ab-path li { position: relative; display: grid; grid-template-columns: 76px 64px 1fr; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.ab-path .belt-mark { position: relative; top: auto; left: auto; }
.ab-path .belt-mark.crest { left: 24px; }
.ab-path li > b { font-family: var(--f-display); font-weight: 400; font-size: 30px; color: var(--gold-2); line-height: 1; }
.ab-path h4 { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 20px; }
.ab-path p { margin: 2px 0 0; color: var(--ink-dim); font-size: 15px; }
.ab-sensei-copy .dan-note { margin-top: 0; }
@media (max-width: 900px) {
  .ab-hero-grid, .ab-sensei-grid { grid-template-columns: 1fr; }
  .ab-sensei-media { position: static; }
  .ab-collage { height: 300px; }
}
@media (max-width: 560px) {
  .ab-roles { grid-template-columns: 1fr 1fr; }
  .ab-path li { grid-template-columns: 76px 1fr; }
  .ab-path li > div { grid-column: 2; }
  .ab-path li > b { grid-column: 2; grid-row: 1; }
  .ab-path .belt-mark { grid-row: 1 / span 2; }
}

/* who we are + the way */
.ab-way-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.ab-story h2 { margin: 10px 0 16px; }
.ab-story p { color: var(--ink-dim); font-size: 17px; margin: 0 0 14px; }
.ab-story strong { color: var(--ink); }
.ab-crest-line { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(16,33,80,.45); }
.ab-crest-line img { width: 64px; height: 64px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--gold); }
.ab-kun { border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(107,15,32,.5), rgba(10,15,46,.9) 55%); padding: 22px 24px; }
.ab-kun-head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.kanji-sm { font-family: "Noto Serif JP", serif; font-weight: 900; font-size: 56px; line-height: 1; color: var(--crimson); text-shadow: 0 0 40px rgba(179,23,47,.5); }
.ab-kun-head b { display: block; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 26px; }
.ab-kun-head span { font-family: var(--f-label); letter-spacing: .22em; text-transform: uppercase; font-size: 12px; color: var(--gold); }
.ab-kun ul { list-style: none; padding: 0; margin: 0; }
.ab-kun li { display: grid; grid-template-columns: 66px 120px 1fr; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); }
.ab-kun li span { font-family: "Noto Serif JP", serif; font-weight: 700; font-size: 26px; color: var(--gold-2); }
.ab-kun li b { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 19px; }
.ab-kun li em { font-style: normal; color: var(--ink-dim); font-size: 14px; }
.ab-osu { margin-top: 12px; font-family: var(--f-label); letter-spacing: .22em; text-transform: uppercase; font-size: 12px; color: var(--gold); }
.ab-osu span { font-family: "Noto Serif JP", serif; letter-spacing: .08em; font-size: 16px; margin-right: 6px; }
@media (max-width: 900px) { .ab-way-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ab-kun li { grid-template-columns: 54px 1fr; } .ab-kun li em { grid-column: 2; } }

/* milestones */
.miles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mile { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: rgba(16,33,80,.5); display: flex; flex-direction: column; }
.mile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mile > div { padding: 14px 16px 16px; }
.mile b { font-family: var(--f-display); font-weight: 400; font-size: 26px; color: var(--gold-2); line-height: 1; }
.mile h3 { margin: 6px 0 6px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 20px; line-height: 1.05; }
.mile p { margin: 0; color: var(--ink-dim); font-size: 14px; }
.mile a { color: var(--gold); }
@media (max-width: 1000px) { .miles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .miles { grid-template-columns: 1fr; } }

/* call to action strip */
.ab-cta { padding: 0 0 clamp(40px, 5vw, 70px); }
.ab-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 30px; border-radius: 20px;
  background: radial-gradient(60% 120% at 100% 50%, rgba(242,133,42,.35), transparent 60%), linear-gradient(120deg, var(--maroon), #1a0b24); border: 1px solid rgba(248,215,132,.35); }
.ab-cta-inner h2 { margin: 0 0 4px; }
.ab-cta-inner .lead { margin: 0; font-size: 16px; }

/* contact: compact one-line hero */
.page-hero { min-height: 0; padding: 120px 0 36px; }
.page-hero .lead { margin-top: 16px; }
.contact-title { font-size: clamp(40px, 5.6vw, 84px); white-space: nowrap; }
@media (max-width: 520px) { .contact-title { white-space: normal; } }

/* footer: compact, and the motto at its intended size (a generic ".footer p" rule was shrinking it) */
.footer { padding: clamp(48px, 6vw, 80px) 0 28px; }
.footer .footer-big { font-size: clamp(44px, 7vw, 110px); line-height: .9; margin: 0; }
.footer-grid { margin-top: 36px; }
.footer-bottom { margin-top: 36px; }
.footer-crest { width: 90px; height: 90px; margin-bottom: 14px; }

/* contact details: phone + WhatsApp icons for the shared number, then second number and email */
.cc { margin-top: 6px; border-top: 1px solid var(--line); }
.cc-row, .fc-row { display: flex; align-items: center; gap: 16px; }
.cc-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cc-row a { color: var(--ink); }
.cc-row > span:last-child a { font-size: 21px; font-weight: 600; letter-spacing: .02em; }
.cc-row small, .fc-row small { display: block; font-family: var(--f-label); letter-spacing: .22em; text-transform: uppercase; font-size: 11px; color: var(--gold); margin-top: 2px; }
.ci-icons { display: inline-flex; align-items: center; gap: 6px; flex: none; min-width: 104px; }
.ci-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-2); border: 1px solid var(--gold); background: rgba(231,180,74,.08); transition: background .3s, color .3s, transform .3s var(--ease); }
.ci-ic:hover { background: var(--gold); color: var(--navy-950); transform: translateY(-2px); }
.ci-ic.wa { color: #25d366; border-color: #25d366; background: rgba(37,211,102,.1); }
.ci-ic.wa:hover { background: #25d366; color: #fff; }
.ci-slash { color: var(--ink-dim); font-size: 18px; }
.fcontact { display: grid; gap: 12px; }
.fc-row { gap: 10px; }
.fc-row .ci-icons { min-width: 76px; gap: 4px; }
.fc-row .ci-ic { width: 32px; height: 32px; }
.fc-row .ci-ic svg { width: 15px; height: 15px; }
.fc-row > span:last-child a { color: var(--ink); font-size: 15px; word-break: break-all; }
@media (max-width: 420px) { .cc-row > span:last-child a { font-size: 17px; word-break: break-all; } }
.ci-icons { min-width: 0; }
.footer .footer-big { white-space: nowrap; font-size: clamp(26px, 6.4vw, 104px); }
/* contact rows: icon sits right next to the text, email never breaks */
.cc-row .ci-icons, .fc-row .ci-icons { min-width: 0; }
.cc-row { gap: 14px; }
.fc-row { gap: 12px; }
.cc-row > span:last-child, .fc-row > span:last-child { min-width: 0; }
.cc-row > span:last-child a, .fc-row > span:last-child a { word-break: normal; overflow-wrap: normal; white-space: nowrap; }
.fc-row > span:last-child a { font-size: 14px; }
@media (max-width: 420px) { .cc-row > span:last-child a { font-size: 17px; } }
/* home intro on phones: name and year sit between the flags, the title gets room to breathe below them */
@media (max-aspect-ratio: 1/1) {
  .banner, .banner.b1, .banner.b4 { top: 92px; height: 20vh; width: 44px; }
  .hero-intro { padding-top: 104px; }
  .hero-intro .estd { padding: 0 60px; gap: 10px; }
  .hero-intro .hero-title { margin-top: clamp(28px, 5vh, 52px); font-size: clamp(50px, 15.5vw, 92px); line-height: 1.02; }
  .hero-intro .hero-title .row + .row { margin-top: .08em; }
}
/* the one loader: burning crest and name riding on the fire curtain */
html:not(.ready) body::after { content: ""; position: fixed; inset: 0; z-index: 999; background: #0a0612; animation: coverOff 0s 4s forwards; }
@keyframes coverOff { to { visibility: hidden; } }
.fw-mark { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 26px; width: min(92vw, 760px); text-align: center; opacity: 0; }
.fw-mark .ld-core { width: 170px; height: 170px; }
.fw-mark .ld-core img { width: 106px; height: 106px; }
.fw-mark .ld-name { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: clamp(26px, 5vw, 54px); }
.fw-mark .ld-name b { font-size: .56em; letter-spacing: .16em; }
@media (max-width: 520px) { .fw-mark .ld-core { width: 150px; height: 150px; } .fw-mark .ld-core img { width: 94px; height: 94px; } .fw-mark .ld-name { font-size: 6.9vw; padding: 0 8px; } }
/* news: the video report leads the story, the academy photo sits small inside the columns */
.lead-video { margin: 22px 0 24px; }
.lv-frame { position: relative; background: #120d08; border: 1px solid var(--rule); aspect-ratio: 16 / 9; overflow: hidden; }
.lv-frame video { width: 100%; height: 100%; object-fit: contain; display: block; background: #120d08; }
.lv-sound { position: absolute; right: 10px; bottom: 10px; padding: 7px 12px; border: 0; border-radius: 20px; cursor: pointer; background: rgba(0,0,0,.65); color: #fff; font-family: "Barlow Condensed", sans-serif; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.lv-sound:hover { background: #9a1426; }
.lead-video figcaption, .inset-photo figcaption { margin-top: 7px; font-family: "Source Serif 4", Georgia, serif; font-size: 14px; font-style: italic; color: #4a4033; }
.lead-video figcaption a { color: #9a1426; font-style: normal; font-weight: 600; }
.lead-video.lv-failed .lv-frame video { display: none; }
.lead-video.lv-failed .lv-frame { background: url("../assets/gallery/tournaments-international-2026-medals-sm.jpg") center / cover; }
.inset-photo { break-inside: avoid; margin: 4px 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(43,36,25,.35); }
.inset-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(.18) contrast(1.05); border: 1px solid var(--rule); display: block; }
.inset-photo figcaption { font-size: 13px; line-height: 1.4; }

/* news on phones: a real broadsheet page, narrow justified columns, tight type, no stretched single column */
@media (max-width: 640px) {
  .news-hero { padding: 108px 0 18px; }
  .news-desk { padding: 10px 0 50px; }
  .news-desk .wrap { padding-left: 8px; padding-right: 8px; }
  .paper { padding: 14px 12px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.2), inset 0 0 60px rgba(150,115,60,.18); }
  .masthead { margin-bottom: 12px; padding-bottom: 8px; }
  .mh-top { font-size: 9.5px; letter-spacing: .08em; padding-bottom: 5px; }
  .mh-name { gap: 8px; margin: 8px 0 3px; }
  .mh-name b { font-size: 8.2vw; white-space: nowrap; }
  .mh-name img { width: 22px; }
  .mh-name img { width: 26px; }
  .mh-tag { font-size: 11.5px; }
  .kicker { font-size: 10.5px; letter-spacing: .16em; }
  .headline { font-size: 27px; line-height: 1.08; margin: 6px 0 8px; }
  .deck { font-size: 14.5px; line-height: 1.4; margin-bottom: 10px; }
  .byline { font-size: 10.5px; letter-spacing: .08em; padding: 6px 0; }
  .lead-video { margin: 12px 0 12px; }
  .lead-video figcaption { font-size: 12px; }
  .cols { columns: 2; column-gap: 14px; font-size: 13.5px; line-height: 1.45; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
  .cols p { margin: 0 0 9px; }
  .cols h3 { font-size: 16px; margin: 2px 0 5px; }
  .dropcap::first-letter { font-size: 44px; padding: 3px 5px 0 0; }
  .pull { font-size: 15px; padding: 10px 0; margin: 4px 0 12px; }
  .pull b { font-size: 38px; }
  .pull span { font-size: 12px; }
  .inset-photo figcaption { font-size: 11.5px; }
  .source { margin-top: 14px; padding-top: 12px; gap: 12px; }
  .source q { font-size: 15px; }
  .src-meta { font-size: 12px; }
  .source .btn { width: 100%; justify-content: center; }
}
/* leaderboard on tablets and phones: all five on screen together, no sideways scrolling */
@media (max-width: 1000px) {
  .podium { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; overflow: visible; scroll-snap-type: none; margin: 0 auto; padding: 84px 0 6px; align-items: end; }
  .champ, .champ.r1 { width: auto; margin: 0; flex: none; }
  .champ.r4 { order: 1; } .champ.r2 { order: 2; } .champ.r1 { order: 3; } .champ.r3 { order: 4; } .champ.r5 { order: 5; }
}
@media (max-width: 640px) {
  /* 2 · 1 · 3 across the top, 4 and 5 centred beneath */
  .podium { grid-template-columns: repeat(6, 1fr); column-gap: 8px; row-gap: 40px; padding-top: 80px; }
  .champ.r2 { grid-column: 1 / 3; grid-row: 1; } .champ.r1 { grid-column: 3 / 5; grid-row: 1; } .champ.r3 { grid-column: 5 / 7; grid-row: 1; }
  .champ.r4 { grid-column: 2 / 4; grid-row: 2; } .champ.r5 { grid-column: 4 / 6; grid-row: 2; }
  .champ .champ-photo { aspect-ratio: 3 / 3.6 !important; border-radius: 14px; }
  .champ.r1 .champ-photo { aspect-ratio: 3 / 4.1 !important; }
  .champ-body { position: static; padding: 8px 0 0; }
  .champ-body h3, .champ.r1 .champ-body h3 { font-size: 13.5px; line-height: 1.05; margin-bottom: 5px; }
  .belt-pill { font-size: 8px; letter-spacing: .06em; padding: 3px 7px; gap: 4px; white-space: normal; }
  .belt-pill i { width: 10px; height: 5px; flex: none; }
  .champ-rank { width: 36px; height: 36px; top: -18px; } .champ-rank b { font-size: 17px; }
  .champ.r1 .champ-rank { width: 46px; height: 46px; top: -23px; } .champ.r1 .champ-rank b { font-size: 22px; }
  .crown { width: 40px; height: 26px; margin-left: -20px; top: -54px; }
  .champ-base { display: none; }
}
/* footer rearranged: centred motto, balanced columns, and on phones a centred, compact stack */
.footer .footer-big { text-align: center; }
.footer-grid { align-items: start; }
.footer-bottom { justify-content: space-between; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; margin-top: 26px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 16px; text-align: left; max-width: 520px; margin: 0 auto; }
  .footer-crest { width: 66px; height: 66px; margin: 0; flex: none; }
}
@media (max-width: 560px) {
  .footer { text-align: center; padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid > div:first-child { flex-direction: column; gap: 10px; text-align: center; }
  .footer-grid > div:first-child p { font-size: 15px; max-width: 30ch; }
  .footer h4 { margin-bottom: 10px; font-size: 13px; }
  /* page links as a tidy 3 x 2 grid instead of a long left-hand list */
  .footer-grid > div:nth-child(2) ul { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .footer-grid > div:nth-child(2) li a { display: block; padding: 9px 4px; border: 1px solid var(--line); border-radius: 10px; background: rgba(16,33,80,.4); font-size: 14px; color: var(--ink); }
  .footer-grid > div:nth-child(3) ul { gap: 4px; }
  .footer li, .footer p { font-size: 15px; }
  .fcontact { display: inline-grid; justify-items: start; gap: 10px; }
  .fc-row { text-align: left; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-top: 26px; padding-top: 18px; font-size: 11px; }
}
/* leaderboard: black belt honour roll */
.bb-sec { padding: 10px 0 clamp(20px, 3vw, 40px); }
.bb-card { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(22px, 4vw, 56px); align-items: center; padding: clamp(16px, 2.4vw, 28px); border-radius: 22px;
  background: radial-gradient(70% 90% at 100% 0%, rgba(231,180,74,.16), transparent 60%), linear-gradient(150deg, #10163f, #07091c 70%);
  border: 1px solid rgba(248,215,132,.35); box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.bb-photo { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 2px #111, 0 0 0 4px var(--gold); }
.bb-photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.bb-copy h2 { margin: 12px 0 10px; }
.bb-copy .lead { margin: 0 0 20px; }
.bb-names { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bb-names li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.bb-names b { display: block; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); line-height: 1; }
.bb-names small { display: block; margin-top: 6px; font-family: var(--f-label); letter-spacing: .16em; text-transform: uppercase; font-size: 11px; color: var(--gold); }
.bb-belt { flex: none; width: 34px; height: 12px; border-radius: 3px; background: linear-gradient(180deg, #2a2a2a, #050505); box-shadow: inset 0 -2px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(248,215,132,.5); position: relative; }
.bb-belt::after { content: ""; position: absolute; right: 5px; top: 2px; bottom: 2px; width: 6px; background: var(--gold); border-radius: 1px; }
@media (max-width: 760px) {
  .bb-card { grid-template-columns: 1fr; }
  .bb-photo { max-width: 340px; margin: 0 auto; width: 100%; }
  .bb-copy { text-align: center; }
  .bb-names { grid-template-columns: 1fr; text-align: left; }
}

/* home spotlight: upcoming tournaments */
.events { position: relative; padding: clamp(56px, 7vw, 100px) 0 clamp(40px, 5vw, 70px);
  background: radial-gradient(50% 60% at 15% 10%, rgba(179,23,47,.22), transparent 65%), radial-gradient(45% 55% at 90% 80%, rgba(231,180,74,.12), transparent 65%), var(--navy-950); }
.ev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ev-head h2 { margin: 12px 0 0; }
.ev-head .lead { max-width: 44ch; margin: 0; font-size: 16px; }
.ev-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: stretch; }
.ev-card { border-radius: 22px; overflow: hidden; border: 1px solid rgba(248,215,132,.3); background: linear-gradient(160deg, rgba(16,33,80,.85), rgba(8,12,34,.95)); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.ev-main { display: grid; grid-template-columns: minmax(200px, 42%) 1fr; }
.ev-side { display: flex; flex-direction: column; }
.ev-poster { position: relative; display: block; overflow: hidden; background: #0b1030; }
.ev-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ev-main .ev-poster img { object-position: 50% 0; }
.ev-poster.wide img { height: auto; aspect-ratio: 1024 / 475; }
.ev-poster:hover img { transform: scale(1.04); }
.ev-zoom { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 20px; background: rgba(5,10,24,.75); color: var(--ink); font-family: var(--f-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.ev-body { padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-tag { padding: 5px 11px; border-radius: 20px; border: 1px solid var(--line); font-family: var(--f-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 11px; color: var(--gold); }
.ev-tag.hot { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.ev-tag.soon { color: var(--ink-dim); }
.ev-body h3 { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.02; }
.ev-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ev-facts li { display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 15px; }
.ev-facts b { font-family: var(--f-label); letter-spacing: .18em; text-transform: uppercase; font-size: 11px; color: var(--gold); padding-top: 3px; }
.ev-facts span { color: var(--ink); }
.ev-note { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(231,180,74,.1); border: 1px solid rgba(231,180,74,.3); font-size: 14px; color: var(--ink); }
.ev-count { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ev-count div { text-align: center; padding: 10px 6px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.ev-count b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1; color: var(--gold-2); }
.ev-count span { font-family: var(--f-label); letter-spacing: .2em; text-transform: uppercase; font-size: 10px; color: var(--ink-dim); }
.ev-live { margin: 0; font-family: var(--f-display); text-transform: uppercase; font-size: 22px; color: var(--gold-2); }
.ev-cta { align-self: flex-start; }
@media (max-width: 1080px) { .ev-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ev-main { grid-template-columns: 1fr; }
  .ev-main .ev-poster img { height: auto; aspect-ratio: 854 / 1000; }
  .ev-facts li { grid-template-columns: 1fr; gap: 2px; }
  .ev-cta { align-self: stretch; justify-content: center; }
}

/* the angled marquee strips are wider than phones: never let them scroll the page sideways */
main { overflow-x: clip; }

/* =========================================================
   SMOOTHNESS PASS
   ========================================================= */
/* nothing can be swiped sideways on phones: every band clips its own decorations (clip keeps sticky elements working) */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body, main, section, footer, .marquee { overflow-x: clip; } }
body { position: relative; width: 100%; }

/* loader / page transition: only transform and opacity move, so the GPU does all of it */
.fw-flames { will-change: transform; backface-visibility: hidden; }
.fw-flames i { -webkit-mask: none !important; mask: none !important; animation: fwSway .55s ease-in-out infinite alternate; will-change: transform; transform: translateZ(0); }
.fw-front { animation-duration: .42s !important; animation-direction: alternate-reverse !important; }
@keyframes fwSway { from { transform: translate3d(-1.2%, 0, 0) scaleY(1); } to { transform: translate3d(1.2%, -0.6%, 0) scaleY(1.025); } }
.fw-mark { will-change: transform, opacity; }
.ld-fire { will-change: transform; animation: ldSpin 1.1s linear infinite !important; }
.ld-ring { will-change: transform; }
.ld-core img { animation: ldBeat2 .9s ease-in-out infinite !important; will-change: transform; }
@keyframes ldBeat2 { 50% { transform: scale(1.06); } }
.ld-name { animation: none !important; }
/* the blurred ring is pre-blurred once and spun as a texture, instead of re-blurring every frame */
.fw-mark .ld-fire { filter: blur(10px) saturate(1.4); }
@media (prefers-reduced-motion: reduce) { .fw-flames i, .ld-fire, .ld-core img { animation: none !important; } }
/* news video: big play button whenever the report is paused */
.lv-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border: 0; border-radius: 50%; cursor: pointer; z-index: 2;
  background: rgba(154,20,38,.92); box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 14px 40px rgba(0,0,0,.5); display: grid; place-items: center;
  opacity: 0; transform: scale(.8); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .3s; }
.lv-play i { width: 0; height: 0; margin-left: 6px; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.lead-video.lv-paused .lv-play { opacity: 1; transform: none; pointer-events: auto; }
.lv-play:hover { background: #c41a32; }
.lv-frame video { cursor: pointer; }
@media (max-width: 640px) { .lv-play { width: 64px; height: 64px; } .lv-play i { border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; margin-left: 5px; } }
/* tournament posters: always shown whole, never cropped */
.ev-main { align-items: start; }
.ev-main .ev-poster { align-self: stretch; display: flex; align-items: center; justify-content: center; background: #0b1030; }
.ev-main .ev-poster img, .ev-poster.wide img { width: 100%; height: auto !important; aspect-ratio: auto !important; object-fit: contain; }
.ev-main .ev-poster img { aspect-ratio: 854 / 1281 !important; }
.ev-poster.wide img { aspect-ratio: 1024 / 475 !important; }
.ev-poster { cursor: zoom-in; }

/* poster viewer: full poster with the details beside it, on the page */
.ev-modal { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 20px; background: rgba(3,5,16,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; overflow-y: auto; overscroll-behavior: contain; }
.ev-modal.open { opacity: 1; visibility: visible; transition: opacity .3s; }
.evm-box { position: relative; display: grid; grid-template-columns: auto minmax(300px, 440px); gap: 0; max-width: min(1180px, 100%); max-height: calc(100vh - 40px); border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(248,215,132,.35); background: linear-gradient(160deg, #111a48, #070a1e); box-shadow: 0 40px 120px rgba(0,0,0,.7); transform: translateY(16px) scale(.98); transition: transform .35s var(--ease); }
.ev-modal.open .evm-box { transform: none; }
.evm-img { background: #05081a; display: flex; align-items: center; justify-content: center; min-height: 0; }
.evm-img img { display: block; max-width: 100%; max-height: calc(100vh - 40px); width: auto; height: auto; object-fit: contain; }
.evm-body { overflow-y: auto; max-height: calc(100vh - 40px); }
.evm-body .ev-body { padding: 26px 24px 24px; }
.ev-modal.wide .evm-box { grid-template-columns: 1fr; max-width: min(1000px, 100%); max-height: none; }
.ev-modal.wide .evm-img img { max-height: 60vh; }
.ev-modal.wide .evm-body { max-height: none; }
.ev-modal.wide { align-items: start; }
.evm-close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(248,215,132,.5); background: rgba(5,8,26,.85); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.evm-close:hover { background: var(--crimson); }
@media (max-width: 760px) {
  .ev-modal { padding: 10px; align-items: start; }
  .evm-box { grid-template-columns: 1fr; max-height: none; }
  .evm-img img, .ev-modal.wide .evm-img img { max-height: none; width: 100%; }
  .evm-body { max-height: none; overflow: visible; }
  .evm-body .ev-body { padding: 18px 16px 20px; }
}

/* =========================================================
   TOURNAMENTS SPOTLIGHT v2: compact rows, full details in the viewer
   ========================================================= */
.events { padding: clamp(36px, 4.5vw, 64px) 0 clamp(28px, 3.5vw, 48px); }
.ev-head { display: block; margin-bottom: 16px; }
.ev-head h2 { margin: 8px 0 0; }
.ev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.ev-card { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; }
.ev-card .ev-full { display: none; }
.ev-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #0b1030;
  box-shadow: 0 0 0 1px rgba(248,215,132,.35), 0 10px 24px rgba(0,0,0,.4); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.ev-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 854 / 1281; object-fit: contain; transition: transform .6s var(--ease); }
.ev-thumb.wide img { aspect-ratio: 1024 / 475; }
.ev-thumb:hover img { transform: scale(1.05); }
.ev-zoom { position: absolute; right: 6px; bottom: 6px; width: 26px; height: 26px; padding: 0; display: grid; place-items: center; border-radius: 50%; font-size: 14px; letter-spacing: 0; background: rgba(5,10,24,.8); color: var(--gold-2); }
.ev-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ev-info h3 { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.05; }
.ev-tag { padding: 3px 9px; font-size: 10px; letter-spacing: .14em; }
.ev-meta { margin: 0; font-size: 14px; line-height: 1.35; color: var(--ink-dim); }
.ev-meta b { color: var(--gold-2); font-weight: 600; }
.ev-info .ev-count { display: flex; gap: 6px; }
.ev-info .ev-count div { flex: 0 0 auto; min-width: 54px; padding: 5px 8px; border-radius: 9px; }
.ev-info .ev-count b { font-size: 22px; }
.ev-info .ev-count span { font-size: 9px; letter-spacing: .14em; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.ev-more, .ev-reg { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font-family: var(--f-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; cursor: pointer; touch-action: manipulation; }
.ev-more { border: 1px solid var(--gold); background: transparent; color: var(--gold-2); }
.ev-more:hover { background: var(--gold); color: var(--navy-950); }
.ev-reg { background: var(--crimson); color: #fff; border: 1px solid var(--crimson); }
.ev-reg:hover { background: #d11f3b; }
/* the district banner is wide: its thumbnail sits on top of the text */
.ev-card:has(.ev-thumb.wide) { grid-template-columns: 200px 1fr; }
@media (max-width: 1000px) { .ev-grid { grid-template-columns: 1fr; } .ev-card:has(.ev-thumb.wide) { grid-template-columns: 170px 1fr; } }
@media (max-width: 560px) {
  .ev-card { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; }
  .ev-card:has(.ev-thumb.wide) { grid-template-columns: 1fr; }
  .ev-info h3 { font-size: 17px; }
  .ev-meta { font-size: 13px; }
  .ev-info .ev-count div { min-width: 46px; padding: 4px 6px; }
  .ev-info .ev-count b { font-size: 18px; }
}
/* viewer: body copy styles and scroll lock */
html.ev-lock, html.ev-lock body { overflow: hidden; }
.evm-body .ev-body { display: flex; flex-direction: column; gap: 14px; }
.evm-body .ev-body h3 { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.05; }
.ev-modal { -webkit-overflow-scrolling: touch; }
.ev-actions { flex-wrap: nowrap; }
@media (max-width: 560px) { .ev-more, .ev-reg { padding: 7px 12px; font-size: 10.5px; } }

/* tournaments: compact rows on phones and tablets only; desktop keeps the full poster and details */
@media (min-width: 1001px) {
  .events { padding: clamp(56px, 6vw, 90px) 0 clamp(40px, 4.5vw, 64px); }
  .ev-head { margin-bottom: 24px; }
  .ev-grid { grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: start; }
  .ev-card, .ev-card:has(.ev-thumb.wide) { padding: 0; gap: 0; border-radius: 22px; align-items: stretch; }
  .ev-card { grid-template-columns: minmax(220px, 42%) 1fr; }
  .ev-card:has(.ev-thumb.wide) { grid-template-columns: 1fr; }
  .ev-card .ev-info { display: none; }
  .ev-card .ev-full { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
  .ev-card .ev-full h3 { margin: 0; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.03; }
  .ev-card .ev-full .ev-tag { padding: 5px 11px; font-size: 11px; }
  .ev-thumb { border-radius: 0; box-shadow: none; display: flex; align-items: center; justify-content: center; }
  .ev-thumb.wide { border-bottom: 1px solid rgba(248,215,132,.25); }
  .ev-zoom { width: auto; height: auto; padding: 6px 12px; border-radius: 20px; font-size: 11px; right: 10px; bottom: 10px; }
  .ev-zoom::after { content: " View poster"; font-family: var(--f-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
}
/* the viewer always shows the full details */
.evm-body .ev-count { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* =========================================================
   SMOOTHNESS PASS 2: nothing repaints while scrolling
   ========================================================= */
/* the mat slides by moving (GPU) instead of repainting its pattern every frame */
.floor-tiles { inset: -900px 0 0 0; will-change: transform; }
.beam, .banner, .bg-word, #stage, .fire, .embers, #frames { will-change: transform; }
.beam { will-change: transform, opacity; }
/* live blurs re-render everything behind them on every frame: replace with solid glass tints */
.nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(22,28,64,.9), rgba(12,16,42,.86)); }
.hero-intro .ac-name, .leader-caption { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.hero-intro .ac-name { background: rgba(10,15,46,.82); }
.ev-modal { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(3,5,16,.92); }
/* film grain: a full-screen layer over everything; phones skip it */
@media (max-width: 900px), (hover: none) { body::after { display: none; } }
.nav.scrolled { background: linear-gradient(180deg, rgba(26,32,70,.94), rgba(10,14,38,.92)); }

/* SEO: the academy name is the home page h1; keep it looking exactly like the old pill */
.hero-intro h1.ac-name { margin: 0; }
.hero-intro .hero-title { margin-top: 14px; margin-bottom: 0; }
