/* =========================================================
   WMA Kandy Kickboxing – shared styles
   ========================================================= */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --panel: #171717;
  --panel-2: #1f1f1f;
  --line: #2a2a2a;
  --text: #f4f4f4;
  --muted: #a3a3a3;
  --red: #e10600;
  --red-2: #ff2a1f;
  --red-dark: #8f0400;
  --gold: #ffcc00;
  --radius: 4px;
  --head: "Bebas Neue", Impact, sans-serif;
  --sub: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 var(--body);
  overflow-x: hidden;
}
html, main { overflow-x: clip; }
/* film-grain overlay for a gritty fight-poster feel */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; letter-spacing: .02em; line-height: .95; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: clamp(3.2rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
p { margin: 0 0 1em; }
.red { color: var(--red); }
.gold { color: var(--gold); }
.outline { color: transparent; -webkit-text-stroke: 2px var(--text); }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.alt { background: var(--bg-2); }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sub); font-weight: 700; font-size: .95rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 36px; height: 3px; background: var(--red); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 40em; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head p { max-width: 34em; color: var(--muted); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --c: var(--red);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border: 0; cursor: pointer;
  font-family: var(--sub); font-weight: 700; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--c); text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--red-2); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-dark { background: transparent; box-shadow: inset 0 0 0 2px #fff; clip-path: none; }
.btn-dark:hover { background: #fff; color: #000; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, height .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(10,10,10,.88); backdrop-filter: blur(10px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; background: var(--red);
  font-family: var(--head); font-size: 1.35rem; color: #fff;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.brand-logo { height: 50px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); transition: transform .3s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.05); }
.site-footer .brand-logo { height: 76px; }
.brand-text { font-family: var(--head); font-size: 1.5rem; line-height: 1; letter-spacing: .04em; }
.brand-text small { display: block; font-family: var(--sub); font-size: .7rem; letter-spacing: .3em; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; font-family: var(--sub); font-weight: 600; font-size: 1rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #ddd; padding: 6px 0;
}
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .3s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { padding: 12px 22px; font-size: .9rem; }
.burger { display: none; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; position: relative; z-index: 60; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .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); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px;
    background: rgba(10,10,10,.98); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-links a { font-family: var(--head); font-size: 2.6rem; letter-spacing: .04em; }
  .menu-open .nav-links { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(225,6,0,.45), transparent 70%),
    linear-gradient(180deg, #0a0a0a 0%, #120303 100%);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}
.hero-bgword {
  position: absolute; left: -2vw; bottom: 4vh; font-family: var(--head); font-size: 28vw; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); pointer-events: none; white-space: nowrap; user-select: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; }
.hero .lead { margin-bottom: 34px; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  filter: contrast(1.1) saturate(1.05);
}
.hero-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--red);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); z-index: -1;
}
.hero-badge {
  position: absolute; left: -28px; bottom: 36px; background: #000; border-left: 4px solid var(--gold);
  padding: 14px 20px; font-family: var(--sub); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem;
}
.hero-badge b { display: block; font-family: var(--head); font-size: 2.2rem; letter-spacing: .02em; color: var(--gold); line-height: 1; }
.scroll-cue { position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--red); border-radius: 2px; animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; margin: 20px auto 0; }
  .hero-badge { left: 0; }
  .scroll-cue { display: none; }
}

/* Page hero (inner pages) */
.page-hero {
  padding: 170px 0 90px; overflow: hidden;
  background: radial-gradient(50% 80% at 85% 20%, rgba(225,6,0,.35), transparent 70%), #0a0a0a;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
.crumbs { font-family: var(--sub); letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--red); }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); overflow: hidden; transform: rotate(-1.5deg); margin: -30px -20px 0; position: relative; z-index: 2; border-block: 3px solid #000; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--head); font-size: clamp(1.6rem, 3vw, 2.4rem); padding: 14px 0; white-space: nowrap; }
.marquee span::after { content: "✦"; margin: 0 28px; color: #000; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.stat { padding: 34px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--head); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: #fff; }
.stat b sup { color: var(--red); font-size: .5em; }
.stat span { font-family: var(--sub); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-img { position: relative; }
.split-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; filter: grayscale(.25) contrast(1.1); }
.split-img::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 45%; height: 45%; border: 3px solid var(--red); z-index: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Continuous Way emblem (octagon, like a fight cage) */
.emblem { position: relative; max-width: 460px; width: 100%; margin: 0 auto; aspect-ratio: 1; display: grid; place-items: center; }
.emblem::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle, rgba(225,6,0,.45), transparent 65%);
  filter: blur(20px);
}
.emblem img { position: relative; z-index: 1; width: 100%; clip-path: polygon(29% 0, 71% 0, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0 71%, 0 29%); animation: float 6s ease-in-out infinite; }
.emblem-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-family: var(--head); font-size: 2.4rem; line-height: 1; background: var(--red); color: #fff;
  clip-path: polygon(29% 0, 71% 0, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0 71%, 0 29%);
}
.emblem-fallback .kanji { display: block; font-family: "Noto Serif JP", serif; font-size: 4.6rem; line-height: 1.1; margin-bottom: 6px; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1deg); } }
.style-band { background: radial-gradient(50% 70% at 80% 50%, rgba(225,6,0,.22), transparent 70%), var(--bg); }
.trinity { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); margin-top: 26px; }
.trinity div { background: var(--panel); padding: 22px 18px; border-top: 3px solid var(--red); }
.trinity b { display: block; font-family: var(--head); font-size: 2rem; line-height: 1; letter-spacing: .04em; margin-bottom: 8px; }
.trinity span { color: var(--muted); font-size: .92rem; line-height: 1.5; display: block; }
@media (max-width: 600px) { .trinity { grid-template-columns: 1fr; } }

.appointment { max-width: 380px; margin: 28px 0 0; border: 1px solid var(--line); border-bottom: 3px solid var(--red); background: #000; }
.appointment img { width: 100%; }
.appointment figcaption { padding: 12px 16px; font-family: var(--sub); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--muted); }
@media (max-width: 860px) { .appointment { max-width: 100%; } }
.split-img.portrait img { aspect-ratio: 572 / 640; filter: contrast(1.05); }

.wide-photo { max-width: 900px; margin: clamp(40px, 6vw, 72px) auto 0; background: var(--panel); border-bottom: 3px solid var(--red); }
.wide-photo img { width: 100%; max-height: 560px; object-fit: cover; object-position: center 30%; }
.wide-photo figcaption { padding: 16px 22px; color: var(--muted); font-size: .95rem; }
.wide-photo figcaption b { color: var(--text); font-family: var(--sub); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; margin-right: 6px; }

/* Lineage: founder -> master -> students */
.lineage { list-style: none; counter-reset: lin; padding: 0; margin: 28px 0 0; }
.lineage li { counter-increment: lin; position: relative; padding: 0 0 22px 58px; }
.lineage li::before {
  content: counter(lin); position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--red); font-family: var(--head); font-size: 1.4rem;
  clip-path: polygon(29% 0, 71% 0, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0 71%, 0 29%);
}
.lineage li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.lineage b { display: block; font-family: var(--head); font-size: 1.6rem; letter-spacing: .03em; line-height: 1.1; }
.lineage span { color: var(--muted); font-size: .95rem; }

.creds { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 2px; }
.creds li { display: flex; gap: 16px; align-items: center; background: var(--panel); padding: 16px 20px; border-left: 3px solid var(--red); }
.creds li b { font-family: var(--head); font-size: 1.6rem; color: var(--gold); min-width: 64px; line-height: 1; }

/* Timeline */
.timeline { position: relative; margin-top: 40px; padding-left: 34px; border-left: 2px solid var(--line); }
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item::before { content: ""; position: absolute; left: -43px; top: 4px; width: 16px; height: 16px; background: var(--red); transform: rotate(45deg); }
.tl-item .yr { font-family: var(--head); font-size: 2rem; color: var(--red); line-height: 1; }
.tl-item h3 { font-size: 1.6rem; margin: 6px 0; }
.tl-item p { color: var(--muted); margin: 0; }

/* ---------- Program cards ---------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.programs.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .programs, .programs.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .programs, .programs.four { grid-template-columns: 1fr; } }
.program { position: relative; background: var(--bg); padding: 40px 32px; overflow: hidden; transition: background .35s var(--ease); }
.program .num { position: absolute; right: 18px; top: 8px; font-family: var(--head); font-size: 5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px #333; transition: -webkit-text-stroke-color .35s; }
.program h3 { margin-bottom: 12px; }
.program p { color: var(--muted); margin: 0; }
.program .tag { display: inline-block; margin-top: 18px; font-family: var(--sub); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--gold); }
.program::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--red); transition: width .4s var(--ease); }
.program:hover { background: var(--panel); }
.program:hover::before { width: 100%; }
.program:hover .num { -webkit-text-stroke-color: var(--red); }

/* ---------- Schedule ---------- */
.schedule { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.day { background: var(--panel); padding: 26px; border-top: 3px solid var(--red); }
.day h3 { font-size: 1.9rem; margin-bottom: 4px; }
.day .venue { font-family: var(--sub); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--muted); margin: 0 0 12px; }
.slot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.slot span:first-child { color: var(--gold); font-family: var(--sub); font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.note { color: var(--muted); font-size: .9rem; margin-top: 18px; }

/* ---------- Results ---------- */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .results { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .results { grid-template-columns: 1fr; } }
.result { background: var(--panel); overflow: hidden; border-bottom: 3px solid var(--red); }
.result img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.result:hover img { transform: scale(1.05); }
.result > div { padding: 20px 22px 24px; }
.result .lvl { font-family: var(--sub); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--gold); }
.result h3 { font-size: 1.6rem; margin: 6px 0; }
.result p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Media: gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  font-family: var(--sub); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem;
  background: transparent; color: #ccc; border: 1px solid var(--line); padding: 10px 18px; cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: #fff; color: #fff; }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }

.gallery { columns: 3 280px; column-gap: 12px; }
.g-item { position: relative; break-inside: avoid; margin-bottom: 12px; overflow: hidden; cursor: zoom-in; background: var(--panel); }
.g-item img { width: 100%; transition: transform .6s var(--ease), filter .4s; filter: grayscale(.3); }
.g-item:hover img { transform: scale(1.06); filter: none; }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font-family: var(--sub); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem;
  transform: translateY(100%); transition: transform .35s var(--ease);
}
.g-item:hover figcaption, .g-item:focus-visible figcaption { transform: none; }
.g-item.hide { display: none; }

/* ---------- Media: videos ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
@media (max-width: 400px) { .videos { grid-template-columns: 1fr; } }
.video-card { background: var(--panel); cursor: pointer; border: 0; padding: 0; text-align: left; color: inherit; font: inherit; width: 100%; }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .5s var(--ease), opacity .3s; }
.video-card:hover .video-thumb img { transform: scale(1.05); opacity: .55; }
.play {
  position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px;
  background: var(--red); display: grid; place-items: center; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(225,6,0,.6); animation: pulse 2.2s infinite;
}
.play svg { width: 26px; height: 26px; margin-left: 4px; fill: #fff; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(225,6,0,0); } 100% { box-shadow: 0 0 0 0 rgba(225,6,0,0); } }
.video-thumb .dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.8); padding: 2px 8px; font-size: .8rem; font-family: var(--sub); letter-spacing: .1em; }
.video-meta { padding: 20px 22px 24px; }
.video-meta .lvl { font-family: var(--sub); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--red); }
.video-meta h3 { font-size: 1.6rem; margin: 6px 0 4px; }
.video-meta p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Media: reels ---------- */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 260px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-color: var(--red) var(--panel); }
.reels.grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-columns: auto; overflow: visible; }
.reel {
  position: relative; display: block; aspect-ratio: 9/16; overflow: hidden; scroll-snap-align: start;
  background: #000; text-decoration: none; border-radius: 14px; border: 1px solid var(--line);
}
.reel img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .6s var(--ease), opacity .3s; }
.reel:hover img { transform: scale(1.06); opacity: .6; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 30%, transparent 55%, rgba(0,0,0,.9) 100%); }
.reel .platform { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; align-items: center; gap: 8px; font-family: var(--sub); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; }
.reel .platform svg { width: 20px; height: 20px; }
.reel .r-title { position: absolute; left: 16px; right: 16px; bottom: 18px; z-index: 2; font-family: var(--head); font-size: 1.6rem; line-height: 1; }
.reel .r-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; z-index: 2; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .3s; }
.reel .r-play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.reel:hover .r-play { background: var(--red); }

.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.social {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); font-family: var(--sub); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem;
  transition: background .25s, border-color .25s;
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social:hover { background: var(--red); border-color: var(--red); }

/* ---------- Modal / lightbox ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.94); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-body { position: relative; width: min(1100px, 100%); }
.modal-body img { max-height: 82vh; margin: 0 auto; object-fit: contain; }
.modal-body .frame { aspect-ratio: 16/9; background: #000; }
.modal-body .frame iframe, .modal-body .frame video { width: 100%; height: 100%; border: 0; }
.modal-caption { text-align: center; margin-top: 14px; font-family: var(--sub); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.modal-close, .modal-nav { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 2.4rem; line-height: 1; padding: 10px; }
.modal-close { top: 10px; right: 16px; z-index: 2; }
.modal-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; }
.modal-nav.prev { left: 6px; } .modal-nav.next { right: 6px; }
.modal-nav:hover, .modal-close:hover { color: var(--red); }
.modal-empty { aspect-ratio: 16/9; display: grid; place-items: center; text-align: center; background: var(--panel); padding: 24px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%); padding: clamp(80px, 10vw, 120px) 0; overflow: hidden; }
.cta-band::before { content: "FIGHT"; position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); font-family: var(--head); font-size: 26vw; line-height: .8; color: rgba(0,0,0,.12); pointer-events: none; }
.cta-band .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 12em; }
.cta-band .btn { background: #000; }
.cta-band .btn:hover { background: #fff; color: #000; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); padding: 18px 20px; }
.info-list .ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--red); }
.info-list .ico svg { width: 20px; height: 20px; fill: #fff; }
.info-list b { display: block; font-family: var(--sub); text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; color: var(--muted); }
.info-list a { text-decoration: none; font-size: 1.1rem; }
.info-list a:hover { color: var(--red); }

.form { background: var(--panel); padding: clamp(24px, 4vw, 44px); border-top: 4px solid var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--sub); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; margin-bottom: 8px; color: #ccc; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  padding: 14px 16px; font: inherit; border-radius: 0; transition: border-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.map { width: 100%; height: 380px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--sub); font-weight: 600; font-size: 1.25rem; letter-spacing: .04em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--head); font-size: 2rem; line-height: .8; color: var(--red); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #050505; border-top: 3px solid var(--red); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 1.5rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--red); }
.site-footer p { color: var(--muted); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #777; }

/* ---------- Floating buttons ---------- */
.fab-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.5); transition: transform .25s;
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; fill: #fff; }
.to-top {
  position: fixed; right: 26px; bottom: 88px; z-index: 40; width: 42px; height: 42px; border: 0; cursor: pointer;
  background: var(--panel-2); color: #fff; font-size: 1.2rem; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--red); }

/* Scroll progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--red); z-index: 70; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* above-the-fold content animates on load, not on scroll */
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; animation: rise .9s var(--ease) both; }
.hero .reveal-d1, .page-hero .reveal-d1 { animation-delay: .12s; }
.hero .reveal-d2, .page-hero .reveal-d2 { animation-delay: .24s; }
.hero .reveal-d3, .page-hero .reveal-d3 { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }

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

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.split-img.natural img { aspect-ratio: auto; filter: none; }

/* ---------- Instagram reels ---------- */
.ig-reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.ig-reel .instagram-media { min-width: 0 !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; border-radius: 12px !important; }
.ig-reels.empty { display: block; }
.ig-empty {
  max-width: 640px; margin: 0 auto; text-align: center; padding: clamp(36px, 6vw, 56px) 24px;
  background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--red);
}
.ig-empty-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; margin-bottom: 18px; color: #fff;
  background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); }
.ig-empty-icon svg { width: 32px; height: 32px; }
.ig-empty h3 { margin-bottom: 10px; }
.ig-empty p { color: var(--muted); max-width: 30em; margin: 0 auto 24px; }
