/* ============ JKDWC — dark martial-arts theme ============ */
:root {
  --bg: #0a0a0c;
  --bg2: #111113;
  --bg3: #161619;
  --red: #d42418;
  --red-deep: #7a0f0a;
  --gold: #f5c518;
  --gold-bright: #ffd700;
  --ember: #ff6b1a;
  --ink: #f5f2ec;
  --ink-dim: #c9c2b4;
  --ink-faint: #8a8474;
  --line: rgba(212, 36, 24, 0.3);
  --card: rgba(22, 20, 18, 0.78);
  --radius: 14px;
  --font-h: 'Oswald', 'Arial Narrow', sans-serif;
  --font-b: 'Inter', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-h); font-weight: 600; line-height: 1.12; letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; color: var(--ink); }
p { margin-bottom: 1rem; color: var(--ink-dim); }
em { color: var(--ink); }
strong { color: var(--ink); font-weight: 600; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--ember); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 760px; }
.section { padding: 5.5rem 0; }
.section-alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); }

.kicker {
  font-family: var(--font-h);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.lead { font-size: 1.15rem; color: var(--ink-dim); max-width: 56ch; }
.fine { font-size: 0.85rem; color: var(--ink-faint); }

.grad {
  background: linear-gradient(100deg, var(--red) 5%, var(--ember) 45%, var(--gold-bright) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-h);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: linear-gradient(100deg, var(--red-deep), var(--ember));
  color: #fff;
  box-shadow: 0 8px 28px rgba(224, 47, 36, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255, 90, 42, 0.4); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-large { font-size: 1.05rem; padding: 1.05rem 2.6rem; }
.btn-disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0.8rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo {
  width: 52px; height: 52px; object-fit: contain;
}
.brand-text { font-family: var(--font-h); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.95rem; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a { color: var(--ink-dim); font-size: 0.92rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-h); }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.btn-nav { padding: 0.55rem 1.4rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 0.4rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 1.5rem 3rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 18% 12%, rgba(224, 47, 36, 0.28), transparent 65%),
    radial-gradient(640px 420px at 84% 22%, rgba(255, 90, 42, 0.20), transparent 65%),
    radial-gradient(760px 520px at 50% 95%, rgba(242, 185, 13, 0.14), transparent 65%),
    var(--bg);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(224,47,36,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(224,47,36,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-content { position: relative; z-index: 2; max-width: 880px; }
.hero-kicker {
  font-family: var(--font-h); text-transform: uppercase; letter-spacing: 0.3em;
  font-size: 0.82rem; color: var(--gold); margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(3rem, 9vw, 6.2rem); text-transform: uppercase; margin-bottom: 1rem; }
.hero-sub { font-family: var(--font-h); font-size: clamp(1.2rem, 3vw, 1.7rem); color: var(--ink); margin-bottom: 1rem; }
.hero-desc { max-width: 60ch; margin: 0 auto 2.2rem; font-size: 1.08rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.scroll-hint {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  color: var(--ink-faint); font-size: 1.5rem; animation: bob 2.2s ease-in-out infinite; z-index: 2;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ---------- image placeholders ---------- */
.img-slot {
  position: relative;
  min-height: 300px;
  border: 2px dashed rgba(224, 47, 36, 0.45);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(224,47,36,0.08), rgba(255,90,42,0.06)),
    repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(224,47,36,0.05) 14px, rgba(224,47,36,0.05) 28px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
}
.slot-label {
  font-family: var(--font-h); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.85rem; color: var(--ink-faint);
}
.img-slot img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);
  display: block;
}
.img-slot:has(img) {
  border: none; padding: 0; background: none; min-height: 0;
}
.hero-slot { width: min(880px, 92vw); margin: 0 auto; z-index: 2; min-height: 240px; }
.join-slot { width: min(880px, 92vw); margin: 3rem auto 0; }

/* ---------- pillars ---------- */
.pillars { padding: 4.5rem 0; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pillar-num {
  font-family: var(--font-h); font-size: 2.6rem; font-weight: 700;
  background: linear-gradient(120deg, var(--red), var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- two-col ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: center; }
.stat-row { display: flex; gap: 2.2rem; margin-top: 1.6rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-n { font-family: var(--font-h); font-size: 2rem; color: var(--gold); font-weight: 600; }
.stat-l { font-size: 0.82rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(242, 185, 13, 0.5); }
.card h3 { color: var(--gold); }

/* ---------- history timeline ---------- */
.history { padding: 5rem 0; background: var(--bg); border-top: 1px solid var(--line); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.t-item { border-left: 3px solid var(--red); padding-left: 1.4rem; }
.t-year {
  font-family: var(--font-h); font-size: 1.9rem; font-weight: 700; color: var(--ember);
  display: block; margin-bottom: 0.5rem;
}

/* ---------- philosophy ---------- */
.philo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin: 2.2rem 0 3rem; }
.philo-block {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--red), var(--ember)) 1;
}
.philo-block h3 { color: var(--ink); }
.pullquote {
  border-left: 4px solid var(--gold); padding: 1.2rem 0 1.2rem 1.8rem;
  font-family: var(--font-h); font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--ink);
  max-width: 40ch; margin: 0 auto; text-align: left;
}
.pullquote cite { display: block; margin-top: 0.7rem; font-family: var(--font-b); font-style: normal; font-size: 0.95rem; color: var(--ink-faint); }

/* ---------- fundamentals ---------- */
.draft-banner {
  background: rgba(255, 90, 42, 0.1); border: 1px dashed var(--ember);
  border-radius: var(--radius); padding: 1rem 1.4rem; margin-bottom: 2rem; color: var(--ink-dim);
}
.draft-banner strong { color: var(--ember); letter-spacing: 0.14em; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin: 2.2rem 0; }
.tier {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.3rem; text-align: center;
}
.tier-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red-deep), var(--ember));
  font-family: var(--font-h); font-weight: 700; font-size: 1.3rem; color: #fff;
  margin-bottom: 1rem;
}
.tier p { font-size: 0.92rem; }
.note {
  background: rgba(242, 185, 13, 0.07); border-left: 3px solid var(--gold);
  padding: 1rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-dim);
}

/* ---------- archives ---------- */
.coming-soon {
  margin-top: 2rem; text-align: center; padding: 3rem 1rem;
  border: 2px dashed rgba(242, 185, 13, 0.4); border-radius: var(--radius);
  font-family: var(--font-h); text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold);
}

/* ---------- join ---------- */
.join {
  padding: 6rem 0 5rem; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 340px at 50% 0%, rgba(224, 47, 36, 0.22), transparent 70%),
    var(--bg2);
  border-top: 1px solid var(--line);
}
.join h2 { margin-bottom: 1rem; }

/* ---------- footer ---------- */
.footer { background: #07070f; border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.foot-h { font-family: var(--font-h); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 0.8rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { color: var(--ink-dim); font-size: 0.95rem; }
.copy { text-align: center; color: var(--ink-faint); font-size: 0.85rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2.2rem; }
  .pillars .container, .timeline { grid-template-columns: 1fr; }
  .cards, .philo-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: min(78vw, 340px); height: 100vh;
    background: #0d0d1c; flex-direction: column; align-items: flex-start;
    padding: 5.5rem 2rem 2rem; gap: 1.4rem; transition: right 0.3s ease;
    border-left: 1px solid var(--line);
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: flex; }
  .section { padding: 4rem 0; }
}
.video-wrap {
  margin: 2.5rem auto 0; max-width: 880px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-wrap video { width: 100%; display: block; background: #000; }
@media (max-width: 520px) {
  .tiers { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; text-align: center; }
}

/* ============ CINEMATIC LAYER ============ */

/* Film grain — fixed full-page overlay */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 200; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* Hero — full-bleed cinematic still */
.hero-photo {
  position: absolute; inset: -6% 0; z-index: 0;
  background: url('../img/hero-garland.jpg') center 30% / cover no-repeat;
  animation: hero-drift 26s ease-in-out infinite alternate;
  filter: saturate(1.05);
  will-change: transform;
}
@keyframes hero-drift {
  from { background-position: center 28%; }
  to { background-position: center 36%; }
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,5,8,0.62) 0%, rgba(5,5,8,0.28) 35%, rgba(5,5,8,0.55) 70%, var(--bg) 100%),
    radial-gradient(900px 500px at 50% 40%, rgba(224,47,36,0.16), transparent 65%);
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  text-shadow: 0 4px 40px rgba(0,0,0,0.8), 0 2px 12px rgba(0,0,0,0.9);
  letter-spacing: 0.02em;
}
.hero-kicker {
  display: inline-block; padding: 0.5rem 1.4rem;
  border: 1px solid rgba(242,185,13,0.45); border-radius: 999px;
  background: rgba(5,5,8,0.55); backdrop-filter: blur(6px);
}
.hero .grad {
  background: linear-gradient(100deg, #ff5a2a 5%, var(--red) 40%, var(--gold) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.85));
}

/* Vignette on all content images */
.img-slot img {
  box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(224,47,36,0.14);
}
.img-slot:has(img)::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,0.42) 100%);
  pointer-events: none;
}
.img-slot:has(img) { position: relative; }

/* Dramatic section dividers */
.divider {
  height: 3px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--red) 20%, var(--gold) 50%, var(--red) 80%, transparent);
  opacity: 0.7;
}
.divider-label {
  text-align: center; font-family: var(--font-h); text-transform: uppercase;
  letter-spacing: 0.4em; font-size: 0.72rem; color: var(--gold);
  padding: 0.9rem 0 0; opacity: 0.85;
}

/* ============ MOMENTS GALLERY ============ */
.gallery { padding: 5.5rem 0; background: #070708; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.moments-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.4rem;
}
.moment {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16/10; cursor: pointer;
  border: 1px solid rgba(224,47,36,0.18);
  box-shadow: 0 16px 44px rgba(0,0,0,0.5);
}
.moment img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
  filter: saturate(0.92);
}
.moment::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5,4,3,0.88) 100%);
  transition: opacity 0.4s ease;
}
.moment figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-h); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.85rem; color: #fff;
  transform: translateY(38%); opacity: 0.92;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.moment figcaption small {
  display: block; font-family: var(--font-b); text-transform: none;
  letter-spacing: 0.02em; font-size: 0.78rem; color: var(--gold);
  margin-top: 0.25rem; font-weight: 300;
}
.moment:hover img { transform: scale(1.06); filter: saturate(1.08); }
.moment:hover figcaption { transform: translateY(0); }
.moment-wide { grid-column: span 2; }

/* Enhanced reveal — with stagger + scale */
.reveal { opacity: 0; transform: translateY(30px) scale(0.985); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* Pullquote — cinematic */
.pullquote {
  position: relative;
  border-left: 4px solid var(--red);
  background: linear-gradient(90deg, rgba(224,47,36,0.09), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 1.6rem 1.6rem 2rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6);
}

/* Timeline — red accent glow */
.t-item { border-left: 3px solid var(--red); }
.t-item:hover { border-left-color: var(--gold); transition: border-color 0.3s ease; }
.t-year { color: var(--gold); text-shadow: 0 2px 16px rgba(0,0,0,0.7); }

/* Buttons — hotter */
.btn-primary {
  background: linear-gradient(100deg, var(--red-deep), var(--red) 55%, var(--ember));
  box-shadow: 0 8px 30px rgba(224, 47, 36, 0.42), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { box-shadow: 0 12px 38px rgba(255, 90, 42, 0.5); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Nav — red accent */
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.kicker { color: var(--gold); }
.stat-n { color: var(--gold); }
.card h3 { color: var(--gold); }
.card:hover { border-color: rgba(242, 185, 13, 0.5); }
.pillar-num {
  background: linear-gradient(120deg, var(--red), var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tier-n { background: linear-gradient(135deg, var(--red-deep), var(--ember)); }
.note { border-left-color: var(--gold); background: rgba(242, 185, 13, 0.06); }
.coming-soon { border-color: rgba(242, 185, 13, 0.4); color: var(--gold); }
.draft-banner { border-color: var(--ember); background: rgba(255, 90, 42, 0.08); }
.draft-banner strong { color: var(--ember); }

/* Responsive — gallery */
@media (max-width: 900px) {
  .moments-grid { grid-template-columns: repeat(2, 1fr); }
  .moment-wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .moments-grid { grid-template-columns: 1fr; }
  .moment-wide { grid-column: span 1; }
  body::after { animation: none; }
}

/* ============ CONTACT FORM ============ */
.contact-form { max-width: 560px; margin: 2rem auto 0; text-align: left; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 0.85rem 1rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; color: var(--ink); font-size: 1rem; font-family: inherit; transition: border-color 0.2s; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.09); }
.form-group select option { background: #1a1a1e; color: var(--ink); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--ink-dim); margin-top: 1rem; text-align: center; }
.form-success { display: none; padding: 2rem; text-align: center; border: 1px solid var(--gold); border-radius: 8px; background: rgba(242, 185, 13, 0.08); margin-top: 2rem; }
.form-success h3 { color: var(--gold); margin-bottom: 0.5rem; }
