/* ==========================================================================
   Bluewave Korean Martial Arts — homepage
   Palette and motifs derive from the club's own world: the chung (blue) and
   hong (red) of Olympic Taekwondo, the club logo's kicking figure, and the
   red/blue mats of their own dojang. Signature angle: the figure's kick line.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/ClashDisplay-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('../fonts/ClashDisplay-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/Archivo-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/Archivo-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/Archivo-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/Archivo-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #071022;
  --ink-2: #0C1B38;
  --ink-3: #12244A;
  --chung: #1E5FD6;
  --chung-bright: #4D9BFF;
  --hong: #E23A2E;
  --hong-deep: #B02318;
  --paper: #F4F7FC;
  --paper-2: #E8EEF8;
  --text-dark: #0B1830;
  --text-mut: #4A5C7E;
  --text-light: #EAF1FB;
  --text-light-mut: #A6B8D6;
  --line-light: rgba(11, 24, 48, 0.12);
  --line-dark: rgba(234, 241, 251, 0.14);
  --kick: 30deg;               /* the logo figure's kick angle */
  --font-display: 'Clash Display', 'Archivo', 'Segoe UI', sans-serif;
  --font-body: 'Archivo', 'Segoe UI', Arial, sans-serif;
  --font-kr: 'Malgun Gothic', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.05; }
p { margin: 0 0 1em; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--chung-bright); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--chung); color: #fff; padding: 10px 18px; border-radius: 6px;
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 14px; }

.h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.45em;
}
.lead { font-size: clamp(1.1rem, 1.7vw, 1.28rem); line-height: 1.55; }

/* Headings inside overflow masks: pad the mask and pull it back so
   descenders are never clipped (see SplitText handling in main.js). */
.line-mask {
  display: block; overflow: hidden;
  padding: 0.22em 0.16em 0.32em;
  margin: -0.22em -0.16em -0.32em;
}
.line { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  padding: 15px 30px; border-radius: 8px; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn::after {                 /* kick-angle sheen sweep */
  content: ""; position: absolute; inset: -20% -40%; z-index: -1;
  background: linear-gradient(calc(90deg - var(--kick)), transparent 42%, rgba(255,255,255,0.22) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); }
.btn-primary { background: var(--chung); color: #fff; box-shadow: 0 10px 26px rgba(30, 95, 214, 0.35); }
.btn-primary:hover { background: #1A53BC; transform: translateY(-2px); }
.btn-hong { background: var(--hong); color: #fff; box-shadow: 0 10px 26px rgba(226, 58, 46, 0.32); }
.btn-hong:hover { background: var(--hong-deep); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(234, 241, 251, 0.5); color: var(--text-light); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-lg { padding: 18px 38px; font-size: 1.08rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--chung);
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.text-link::after { content: "\2192"; transition: transform 0.25s ease; }
.text-link:hover { border-color: currentColor; }
.text-link:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 16, 34, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 2.5vw, 36px);
  height: var(--header-h);
  display: flex; align-items: center; gap: clamp(14px, 2vw, 30px);
  transition: height 0.35s ease;
}
.site-header.is-scrolled .header-inner { height: 72px; }
.brand { flex: 0 0 auto; display: block; }
.brand-logo {
  width: auto; height: 70px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
  transition: height 0.35s ease;
}
.site-header.is-scrolled .brand-logo { height: 50px; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(8px, 1.1vw, 20px); list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--text-light); text-decoration: none;
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em;
  padding: 8px 2px; position: relative; white-space: nowrap;
  text-shadow: 0 1px 8px rgba(7, 16, 34, 0.7);
}
.nav-link::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: linear-gradient(90deg, var(--chung-bright), var(--hong));
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.nav-link:hover::before, .nav-link.is-current::before { transform: scaleX(1); }
.nav-login { opacity: 0.6; }
.nav-login:hover { opacity: 1; }
.chev {
  width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.25s ease; margin-left: 2px;
}
.has-drop { position: relative; }
.has-drop:hover .chev, .has-drop:focus-within .chev { transform: rotate(225deg) translateY(-1px); }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 280px; padding: 10px;
  background: rgba(10, 21, 44, 0.97);
  border: 1px solid var(--line-dark); border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; translate: -50% 8px;
  transition: opacity 0.25s ease, translate 0.25s ease, visibility 0.25s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.is-open .drop {
  opacity: 1; visibility: visible; translate: -50% 0;
}
.drop::before {               /* hover bridge */
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.drop a {
  display: block; padding: 9px 14px; border-radius: 8px;
  color: var(--text-light); text-decoration: none; font-size: 0.92rem;
  transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.drop a:hover { background: rgba(77, 155, 255, 0.14); color: #fff; padding-left: 18px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-header { padding: 11px 20px; font-size: 0.9rem; white-space: nowrap; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.burger span { width: 24px; height: 2px; background: var(--text-light); transition: transform 0.3s ease, opacity 0.3s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 120px var(--pad) 40px;
  overflow-y: auto;
}
.mm-list { list-style: none; margin: 0; padding: 0; }
.mm-list > li { border-bottom: 1px solid var(--line-dark); }
.mm-list a, .mm-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 15px 4px; color: var(--text-light); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; text-align: left;
}
.mm-sub { list-style: none; margin: 0; padding: 0 0 10px; display: none; }
.mm-group.is-open .mm-sub { display: block; }
.mm-group.is-open > .mm-toggle .chev { transform: rotate(225deg); }
.mm-sub a { font-family: var(--font-body); font-weight: 500; font-size: 0.98rem; padding: 9px 18px; color: var(--text-light-mut); }
.mm-login { opacity: 0.65; }
.mm-cta { margin-top: 28px; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; z-index: 4;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--text-light);
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(75deg, rgba(7, 16, 34, 0.94) 0%, rgba(7, 16, 34, 0.72) 34%, rgba(7, 16, 34, 0.25) 62%, rgba(7, 16, 34, 0.45) 100%),
    linear-gradient(0deg, rgba(7, 16, 34, 0.92) 0%, rgba(7, 16, 34, 0) 36%),
    linear-gradient(180deg, rgba(7, 16, 34, 0.82) 0%, rgba(7, 16, 34, 0) 22%);
}
.hero-slash {                  /* signature kick-angle light streak */
  position: absolute; inset: -12% -30%;
  background: linear-gradient(calc(90deg - var(--kick)),
    transparent 44%, rgba(77, 155, 255, 0.12) 49%, rgba(226, 58, 46, 0.10) 53%, transparent 58%);
  mix-blend-mode: screen; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--pad) clamp(30px, 5vh, 60px);
}
.hero-title {
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.02;
  max-width: 15ch;
  margin-bottom: 0.35em;
  text-wrap: balance;
}
.hero-title .hong-dot { color: var(--hong); }
.hero-sub { max-width: 46ch; font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: #D5E2F5; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero-stats {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line-dark);
  background: rgba(7, 16, 34, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 100%;
}
.stat {
  margin: 0; padding: 22px clamp(16px, 2.5vw, 40px);
  border-right: 1px solid var(--line-dark);
  display: flex; flex-direction: column-reverse; gap: 2px;
}
.stat:last-child { border-right: 0; }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); color: #fff; }
.stat dt { font-size: 0.82rem; color: var(--text-light-mut); line-height: 1.3; }

/* ---------- Marquee band ---------- */
.marquee-band {
  position: relative; z-index: 3;
  background: linear-gradient(100deg, var(--chung) 0%, #163F8F 55%, var(--hong-deep) 130%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee { overflow: hidden; padding: 16px 0; }
.marquee-track {
  display: inline-flex; gap: 3.2rem; white-space: nowrap; will-change: transform;
  padding-left: 1rem;
}
.marquee-track span {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: #fff;
  display: inline-flex; align-items: center; gap: 3.2rem;
}
.marquee-track span::after { content: ""; width: 8px; height: 8px; background: rgba(255,255,255,0.55); transform: rotate(45deg); }
.marquee-track em { font-style: normal; font-family: var(--font-kr); font-weight: 700; opacity: 0.85; margin-left: 0.6rem; }

/* ---------- Generic section ---------- */
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; overflow: clip; }
.grid-2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.watermark {
  position: absolute; top: 2%; right: -4%; z-index: 0;
  font-family: var(--font-kr); font-weight: 700; font-size: clamp(9rem, 18vw, 17rem);
  line-height: 1; color: var(--chung); opacity: 0.045; pointer-events: none; user-select: none;
}
.watermark-right { top: auto; bottom: 4%; }

/* ---------- Frames (image compositions) ---------- */
.frame {
  position: relative; margin: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 76px) 100%, 0 100%);
  box-shadow: 0 30px 70px rgba(7, 16, 34, 0.28);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-cap {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: rgba(7, 16, 34, 0.82); color: var(--text-light);
  font-size: 0.85rem; font-weight: 500; padding: 8px 16px;
}

/* ---------- Club section ---------- */
.club { background: var(--paper); color: var(--text-dark); }
.club .wrap { position: relative; z-index: 1; }
.club-copy .lead { color: var(--text-dark); }
.club-copy p { max-width: 58ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; padding: 0; list-style: none; }
.chips li {
  font-size: 0.9rem; font-weight: 600; color: var(--ink-3);
  background: #fff; border: 1px solid var(--line-light);
  padding: 9px 16px; border-radius: 100px;
  box-shadow: 0 3px 10px rgba(11, 24, 48, 0.06);
  position: relative; padding-left: 30px;
}
.chips li::before {
  content: ""; position: absolute; left: 14px; top: 50%; translate: 0 -50%;
  width: 8px; height: 8px; border-radius: 2px;
  background: linear-gradient(135deg, var(--chung-bright), var(--chung));
  transform: rotate(45deg);
}
.club-visual { position: relative; padding-bottom: 56px; }
.club-visual .frame-a {
  width: 100%; aspect-ratio: 16 / 11; position: relative; z-index: 2;
}
.club-visual .frame-b {
  position: absolute; right: -18px; bottom: 0; width: 52%; aspect-ratio: 1 / 1; z-index: 3;
  border: 6px solid var(--paper);
}
.club-visual::before {         /* offset outline motif */
  content: ""; position: absolute; left: -20px; top: -20px; width: 55%; height: 50%;
  border: 2px solid var(--chung); opacity: 0.35; z-index: 1;
}

/* ---------- Programmes ---------- */
.programmes { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: var(--text-light); }
.prog-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.prog-head .lead { color: var(--text-light-mut); margin: 0; }
.prog-list { border-top: 1px solid var(--line-dark); }
.prog-row { border-bottom: 1px solid var(--line-dark); position: relative; }
.prog-row > a {
  display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1.3fr) 60px;
  align-items: center; gap: clamp(14px, 3vw, 40px);
  padding: clamp(22px, 3.4vw, 40px) clamp(8px, 1.5vw, 20px);
  text-decoration: none; color: inherit; position: relative; isolation: isolate;
  transition: padding-left 0.35s ease;
}
.prog-row > a:hover { padding-left: clamp(18px, 2.5vw, 36px); }
.prog-media {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; opacity: 0;
  transition: opacity 0.4s ease;
}
.prog-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(85deg, rgba(7, 16, 34, 0.96) 12%, rgba(7, 16, 34, 0.55) 60%, rgba(7, 16, 34, 0.8) 100%);
}
.prog-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 0.8s ease; }
.prog-row > a:hover .prog-media { opacity: 1; }
.prog-row > a:hover .prog-media img { transform: scale(1); }
.prog-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem); letter-spacing: -0.01em; line-height: 1.1;
}
.prog-age {
  font-weight: 600; font-size: 0.9rem; white-space: nowrap;
  color: var(--chung-bright);
  border: 1.5px solid rgba(77, 155, 255, 0.4);
  padding: 7px 14px; border-radius: 100px;
}
.prog-row[data-accent="hong"] .prog-age { color: #FF7A6E; border-color: rgba(226, 58, 46, 0.5); }
.prog-blurb { color: var(--text-light-mut); font-size: 1rem; max-width: 44ch; }
.prog-arrow { position: relative; width: 44px; height: 44px; border: 1.5px solid var(--line-dark); border-radius: 50%; transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
.prog-arrow::before {
  content: "\2192"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1.1rem; color: var(--text-light);
}
.prog-row > a:hover .prog-arrow { background: var(--chung); border-color: var(--chung); transform: rotate(calc(var(--kick) * -1)); }
.prog-row[data-accent="hong"] > a:hover .prog-arrow { background: var(--hong); border-color: var(--hong); }

/* ---------- Dojang reel ---------- */
.reel { position: relative; background: var(--ink); color: var(--text-light); }
.reel-pin { position: relative; }
.reel-stage { position: relative; height: 100svh; overflow: clip; }
.reel-slide { position: absolute; inset: 0; margin: 0; opacity: 0; }
.reel-slide.is-active { opacity: 1; }
.reel-slide img { width: 100%; height: 100%; object-fit: cover; }
.reel-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(7, 16, 34, 0.9) 0%, rgba(7, 16, 34, 0.12) 38%, rgba(7, 16, 34, 0.2) 74%, rgba(7, 16, 34, 0.78) 100%);
}
.reel-head {
  position: absolute; top: clamp(90px, 12vh, 140px); left: 0; right: 0; z-index: 3;
  max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad);
}
.reel-head .h2 { text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45); }
.reel-head p { max-width: 52ch; color: #D5E2F5; font-size: 1.08rem; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5); }
.reel-cap {
  position: absolute; bottom: clamp(74px, 10vh, 110px); left: 0; right: 0; z-index: 3;
  max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad);
}
.reel-cap-line {
  display: inline-block; max-width: 56ch;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 500; line-height: 1.45;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.reel-ui {
  position: absolute; bottom: 30px; left: 0; right: 0; z-index: 4;
  max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.reel-count { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.08em; }
.reel-count i { font-style: normal; opacity: 0.45; margin: 0 4px; }
.reel-dots { display: flex; gap: 10px; }
.reel-dots button {
  width: 34px; height: 4px; border-radius: 4px;
  background: rgba(234, 241, 251, 0.28);
  transition: background-color 0.3s ease;
}
.reel-dots button.is-active { background: linear-gradient(90deg, var(--chung-bright), var(--hong)); }

/* Reel fallback: reduced motion or no GSAP shows a stacked gallery */
.reel-static .reel-stage { height: auto; display: flex; flex-direction: column; }
.reel-static .reel-head { position: relative; top: auto; order: -1; padding-block: clamp(60px, 8vw, 90px) 26px; }
.reel-static .reel-slide { position: relative; opacity: 1; }
.reel-static .reel-slide img { height: min(72vh, 640px); }
.reel-static .reel-cap { position: relative; bottom: auto; padding-block: 16px 34px; }
.reel-static .reel-shade, .reel-static .reel-ui { display: none; }

/* ---------- Journey ---------- */
.journey { background: var(--paper); }
.journey .h2 { max-width: 22ch; }
.journey-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 80px); align-items: stretch; margin-top: clamp(26px, 4vw, 50px); position: relative; z-index: 1; }
.journey-items { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.j-item {
  background: #fff; border: 1px solid var(--line-light); border-radius: 14px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 14px 34px rgba(11, 24, 48, 0.07);
  position: relative; overflow: clip;
}
.j-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--chung-bright), var(--chung));
}
.j-item:nth-child(2)::before { background: linear-gradient(180deg, var(--hong), var(--hong-deep)); }
.j-item:nth-child(3)::before { background: linear-gradient(180deg, var(--chung), var(--ink-3)); }
.j-item h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.4em; }
.j-item p { margin: 0; color: var(--text-mut); max-width: 60ch; }
.journey-visual { aspect-ratio: auto; }
.journey-visual img { height: 100%; }
.belt-bar { margin-top: clamp(40px, 6vw, 70px); position: relative; z-index: 1; }
.belt-track {
  display: flex; height: 14px; border-radius: 100px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.belt { flex: 1; }
.belt-white { background: #FFFFFF; }
.belt-yellow { background: #F2C038; }
.belt-green { background: #2F9E55; }
.belt-blue { background: var(--chung); }
.belt-red { background: var(--hong); }
.belt-black { background: #10131A; }
.belt-labels { display: flex; margin-top: 10px; }
.belt-labels span { flex: 1; text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--text-mut); }

/* ---------- Competition ---------- */
.comp { position: relative; color: var(--text-light); overflow: clip; padding: clamp(110px, 15vw, 190px) 0; }
.comp-media { position: absolute; inset: 0; }
.comp-video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.comp-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(80deg, rgba(7, 16, 34, 0.95) 22%, rgba(90, 15, 10, 0.4) 70%, rgba(7, 16, 34, 0.45) 100%);
}
.comp-inner { position: relative; z-index: 2; }
.comp-inner .h2 { max-width: 18ch; }
.comp-inner .lead { max-width: 56ch; color: #E8D9D5; }
.comp-inner p { max-width: 52ch; }
.comp .btn { margin-top: 10px; }

/* ---------- Coaches ---------- */
.coaches { background: var(--paper); }
.coaches-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 70px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.coaches-head .lead { color: var(--text-mut); margin: 0; max-width: 54ch; }
.coach-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
}
.coach-card {
  background: #fff; border: 1px solid var(--line-light); border-radius: 16px;
  overflow: clip; box-shadow: 0 16px 40px rgba(11, 24, 48, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.coach-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(11, 24, 48, 0.14); }
.coach-photo { margin: 0; aspect-ratio: 1 / 0.92; overflow: hidden; position: relative; background: var(--ink-2); }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.6s ease; }
.coach-card:hover .coach-photo img { transform: scale(1.05); }
.coach-monogram { display: grid; place-items: center; background: linear-gradient(150deg, var(--ink-2), var(--ink-3)); }
.coach-monogram span { font-family: var(--font-display); font-weight: 700; font-size: 4rem; color: rgba(234, 241, 251, 0.85); }
.coach-meta { padding: 20px 22px 24px; }
.coach-meta h3 { font-size: 1.25rem; font-weight: 600; }
.coach-rank { display: flex; align-items: center; gap: 10px; color: var(--chung); font-weight: 600; font-size: 0.95rem; margin: 6px 0 10px; }
.dan-ticks { display: inline-flex; gap: 3px; }
.dan-ticks i { width: 5px; height: 14px; background: linear-gradient(180deg, #C89B3C, #A87E24); border-radius: 1px; display: inline-block; }
.coach-bio { margin: 0; color: var(--text-mut); font-size: 0.95rem; }
.vision {
  margin: clamp(46px, 7vw, 80px) auto 20px; max-width: 900px;
  text-align: center; position: relative;
}
.vision p {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.3; color: var(--ink-3);
  margin-bottom: 0.6em; text-wrap: balance;
}
.vision-mark { color: var(--hong); }
.vision cite { font-style: normal; font-weight: 600; font-size: 0.95rem; color: var(--text-mut); }
.coaches .text-link { display: inline-flex; margin-top: 8px; }
.coaches .wrap { text-align: center; }
.coaches .coaches-head, .coaches .coach-grid { text-align: left; }

/* ---------- Timetable ---------- */
.timetable { background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%); color: var(--text-light); }
.tt-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: end; margin-bottom: clamp(34px, 5vw, 56px); }
.tt-head .lead { color: var(--text-light-mut); margin: 0; }
.tt-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.tt-day h3 {
  font-size: 1.02rem; font-weight: 600; letter-spacing: 0.02em;
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line-dark);
}
.tt-day ul { display: flex; flex-direction: column; gap: 10px; }
.tt-class {
  --accent: var(--chung);
  background: rgba(234, 241, 251, 0.05);
  border: 1px solid var(--line-dark);
  border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 2px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.tt-class:hover { background: rgba(234, 241, 251, 0.1); transform: translateY(-2px); }
.tt-class[data-kind="junior"] { --accent: var(--chung-bright); }
.tt-class[data-kind="adult"] { --accent: var(--chung); }
.tt-class[data-kind="poomsae"] { --accent: #8FA7CF; }
.tt-class[data-kind="family"] { --accent: #C89B3C; }
.tt-class[data-kind="sport"] { --accent: var(--hong); }
.tt-class[data-kind="open"] { --accent: #5B6E92; }
.tt-time { font-size: 0.8rem; font-weight: 600; color: var(--text-light-mut); letter-spacing: 0.02em; }
.tt-name { font-weight: 600; font-size: 0.98rem; }
.tt-age { font-size: 0.82rem; color: var(--text-light-mut); }
.tt-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 26px 0 18px; }
.tt-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-light-mut); }
.tt-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent, #fff); }
.tt-legend span[data-kind="junior"] { --accent: var(--chung-bright); }
.tt-legend span[data-kind="adult"] { --accent: var(--chung); }
.tt-legend span[data-kind="poomsae"] { --accent: #8FA7CF; }
.tt-legend span[data-kind="family"] { --accent: #C89B3C; }
.tt-legend span[data-kind="sport"] { --accent: var(--hong); }
.timetable .text-link { color: var(--chung-bright); }

/* ---------- Fees ---------- */
.fees { background: var(--paper); }
.fees-grid { align-items: stretch; }
.fees-copy .lead { color: var(--text-mut); max-width: 56ch; }
.fee-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 24px; }
.fee-card {
  background: #fff; border: 1px solid var(--line-light); border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 12px 30px rgba(11, 24, 48, 0.07);
  position: relative; overflow: clip;
}
.fee-card-featured { background: linear-gradient(160deg, var(--chung) 0%, #163F8F 100%); color: #fff; border: 0; }
.fee-card-featured .fee-label, .fee-card-featured .fee-note { color: rgba(255, 255, 255, 0.85); }
.fee-amount { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: 1; margin: 0 0 4px; }
.fee-amount span { font-size: 0.95rem; font-weight: 600; opacity: 0.7; margin-left: 2px; }
.fee-label { font-weight: 700; font-size: 0.95rem; margin: 0 0 6px; color: var(--ink-3); }
.fee-note { margin: 0; font-size: 0.88rem; color: var(--text-mut); }
.fee-family {
  background: #fff; border-left: 4px solid var(--hong); border-radius: 0 10px 10px 0;
  padding: 16px 20px; font-size: 0.98rem; color: var(--text-mut);
  box-shadow: 0 8px 24px rgba(11, 24, 48, 0.06);
  max-width: 60ch;
}
.fees-visual { min-height: 420px; }
.fees-visual img { height: 100%; }

/* ---------- News ---------- */
.news { background: var(--ink); color: var(--text-light); }
.news .watermark { color: var(--chung-bright); top: auto; bottom: -8%; right: -3%; opacity: 0.05; }
.news-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: clamp(30px, 4vw, 50px); }
.news .text-link { color: var(--chung-bright); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.news-card a {
  display: block; height: 100%;
  background: rgba(234, 241, 251, 0.04);
  border: 1px solid var(--line-dark); border-radius: 16px;
  padding: clamp(22px, 3vw, 32px);
  text-decoration: none; color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  position: relative; overflow: clip;
}
.news-card a::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--chung-bright), var(--hong));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.news-card a:hover { transform: translateY(-5px); border-color: rgba(77, 155, 255, 0.4); background: rgba(234, 241, 251, 0.07); }
.news-card a:hover::before { transform: scaleX(1); }
.news-card time { font-size: 0.84rem; font-weight: 600; color: var(--chung-bright); letter-spacing: 0.02em; }
.news-card h3 { font-size: 1.3rem; font-weight: 600; margin: 10px 0 10px; }
.news-card p { margin: 0; color: var(--text-light-mut); font-size: 0.95rem; }

/* ---------- Affiliations ---------- */
.affiliations { background: var(--paper); padding: clamp(56px, 7vw, 90px) 0; }
.aff-line { text-align: center; color: var(--text-mut); max-width: 62ch; margin: 0 auto 34px; font-size: 1rem; }
.aff-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(30px, 6vw, 70px);
}
.aff-logos img {
  height: clamp(54px, 7vw, 78px); width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.35s ease, transform 0.35s ease;
}
.aff-logos li:hover img { filter: none; transform: translateY(-3px); }

/* ---------- Final CTA ---------- */
.cta-final { position: relative; color: var(--text-light); overflow: clip; padding: clamp(110px, 15vw, 200px) 0; }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(calc(90deg - var(--kick)), rgba(7, 16, 34, 0.97) 30%, rgba(12, 27, 56, 0.82) 65%, rgba(30, 95, 214, 0.45) 110%);
}
.cta-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.cta-title {
  font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; letter-spacing: -0.015em;
  margin-bottom: 0.4em; max-width: 16ch;
}
.cta-final .lead { max-width: 50ch; color: #D5E2F5; }
.cta-final .hero-ctas { justify-content: center; }
.cta-address { margin-top: 34px; font-size: 0.95rem; color: var(--text-light-mut); max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer { background: #050C1C; color: var(--text-light-mut); padding-top: clamp(60px, 8vw, 100px); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(40px, 6vw, 70px);
}
.f-brand img { width: 220px; height: auto; margin-bottom: 18px; }
.f-brand p { font-size: 0.95rem; max-width: 32ch; }
.f-social { display: flex; gap: 14px; margin-top: 18px; }
.f-social a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-dark); border-radius: 50%; color: var(--text-light);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.f-social a:hover { background: var(--chung); border-color: var(--chung); transform: translateY(-3px); }
.f-col h3 {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light);
  margin-bottom: 18px;
}
.f-col ul { display: flex; flex-direction: column; gap: 10px; }
.f-col a { color: var(--text-light-mut); text-decoration: none; font-size: 0.95rem; transition: color 0.2s ease, padding-left 0.2s ease; }
.f-col a:hover { color: #fff; padding-left: 4px; }
.f-visit address { font-size: 0.95rem; margin-bottom: 14px; line-height: 1.6; }
.f-welfare { margin-top: 18px; font-size: 0.88rem; max-width: 34ch; }
.f-welfare a { color: var(--chung-bright); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line-dark);
  padding-top: 26px; padding-bottom: 30px;
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-light); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.f-credit a { font-weight: 600; }

/* ---------- Reveal initial states (JS only) ---------- */
.js .reveal, .js .reveal-row, .js .split .line { will-change: transform, opacity; }
.js [data-hero-fade] { opacity: 0; }
.js .reveal { opacity: 0; transform: translateY(34px); }
.js .reveal-row { opacity: 0; transform: translateY(44px); }
.js .reveal-wipe { position: relative; }
.js .reveal-wipe .wipe-panel {
  position: absolute; inset: -2px; z-index: 5;
  background: linear-gradient(calc(90deg - var(--kick)), var(--ink) 0%, var(--ink-3) 100%);
}
.club .wipe-panel, .journey .wipe-panel, .fees .wipe-panel { background: linear-gradient(calc(90deg - var(--kick)), var(--chung) 0%, var(--ink-3) 100%); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal, .js .reveal-row, .js [data-hero-fade] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1439px) {
  .nav-link { font-size: 0.85rem; }
  .nav-list { gap: 10px; }
}
@media (max-width: 1279px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  :root { --header-h: 84px; }
}
@media (min-width: 1280px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 1100px) {
  .tt-grid { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .coach-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-row > a { grid-template-columns: minmax(0, 1.2fr) auto 60px; }
  .prog-blurb { display: none; }
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .prog-head, .tt-head, .coaches-head { grid-template-columns: 1fr; align-items: start; }
  .club-visual { min-height: 0; margin-top: 10px; }
  .club-visual .frame-b { bottom: -26px; }
  .figure-motif { width: 100px; left: -14px; bottom: -40px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-visual { min-height: 360px; }
  .journey-visual img { width: 100%; }
  .news-grid { grid-template-columns: 1fr; }
  .news-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fees-visual { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid var(--line-dark); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
}
@media (max-width: 700px) {
  .btn-header { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .club-visual .frame-b { right: 0; }
  .hero-title { max-width: 12ch; }
  .hero-ctas .btn { width: 100%; }
  .marquee-track span { font-size: 1.05rem; }
  .tt-grid { grid-template-columns: 1fr; }
  .tt-day h3 { margin-bottom: 10px; }
  .coach-grid { grid-template-columns: 1fr; }
  .fee-cards { grid-template-columns: 1fr; }
  .club-visual .frame-a { width: 100%; }
  .club-visual .frame-b { width: 58%; border-width: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .prog-row > a { grid-template-columns: 1fr; gap: 8px; padding-block: 24px; }
  .prog-age { justify-self: start; }
  .prog-arrow { display: none; }
  .prog-blurb { display: block; }
  .prog-media { opacity: 0.25; }
  .reel-ui { flex-direction: column; align-items: flex-start; gap: 12px; }
}
