@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;600;700&family=Cormorant+Garamond:ital,wght@1,400;1,500&display=swap');

:root {
  /* UNIFIED LUXURY DARK-GOLD */
  --bg: #120A05;
  --bg-card: #1A0F08;
  --bg-raised: #241810;
  --bg-deep: #0A0503;
  --gold: #A79277;
  --gold-light: #C4A882;
  --gold-bright: #E6CFA1;
  --gold-dark: #8B7355;
  --accent: #D4956A;
  --warm: #FFF2E1;
  --muted: #B89E87;
  --dim: #6B4E35;
  --border: rgba(196, 168, 130, 0.18);
  --border-light: rgba(196, 168, 130, 0.4);
  --gold-glow: 0 0 24px rgba(196, 168, 130, 0.45), 0 0 60px rgba(196, 168, 130, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg) url('images/bg.jepg') center center / cover no-repeat fixed;
  color: var(--warm);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}
/* Dark wash over the fixed background photo so text stays readable
   and the luxury gold palette still reads correctly on top of it. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,5,3,0.55) 0%, rgba(10,5,3,0.65) 100%);
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 767px) {
  /* background-attachment: fixed is unreliable on mobile browsers */
  body { background-attachment: scroll; }
}

/* Universal heading polish */
h1, h2, h3, h4, .section-title, .sensei-name, .program-card h3,
.discipline-card h3, .location-card h3, .mv-title, .footer-logo {
  letter-spacing: 2px;
  line-height: 1.15;
}

/* NAVBAR */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(10, 5, 3, 0.82);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem; letter-spacing: 2.5px; color: var(--warm);
  display: flex; align-items: center; gap: 0.85rem; text-decoration: none;
}
.nav-logo span { color: var(--gold-light); }
.nav-logo-text-wrap { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.nav-logo-text-mobile { display: none; }
.nav-logo-text-desktop { display: inline; }
.nav-logo-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-light) !important; font-weight: 400;
  opacity: 0.85;
}
.nav-logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; box-shadow: 0 0 18px rgba(196,168,130,0.25); }

/* Footer heritage tag */
.footer-logo-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold-light); font-weight: 400;
  margin-top: 0.6rem; opacity: 0.9;
}

/* Associated With page */
.assoc-hero {
  padding: 9rem 2rem 3rem; text-align: center; max-width: 900px; margin: 0 auto;
}
.assoc-hero h1 {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 3px; margin: 1rem 0;
}
.assoc-hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.assoc-hero p { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin: 1rem auto 0; }
.assoc-grid {
  max-width: 1200px; margin: 3rem auto 6rem; padding: 0 2rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}
.assoc-card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-deep));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.2rem 1.6rem 1.8rem;
  text-align: center;
  transition: 0.4s ease;
  position: relative; overflow: hidden;
}
.assoc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0; transition: 0.4s ease;
}
.assoc-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-light);
  box-shadow: var(--gold-glow);
}
.assoc-card:hover::before { opacity: 1; }
.assoc-logo-placeholder {
  width: 130px; height: 130px; margin: 0 auto 1.4rem;
  border: 1.5px dashed var(--border-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(196,168,130,0.04);
  color: var(--gold); font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem; letter-spacing: 2px;
}
.assoc-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem; letter-spacing: 2px; color: var(--gold-light);
  margin-bottom: 0.6rem;
}
.assoc-card p {
  color: var(--muted); font-size: 0.92rem; line-height: 1.55;
}
@media (max-width: 768px) {
  .nav-logo-tag { font-size: 0.55rem; letter-spacing: 2.5px; }
}

.nav-hamburger {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px 9px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 8px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 42px; height: 38px;
  justify-content: center; align-items: center;
  z-index: 101;
}
.nav-hamburger:hover { border-color: var(--gold); box-shadow: 0 0 14px rgba(196,168,130,0.2); }
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gold-light); border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
  position: absolute;
}
.nav-hamburger span:nth-child(1) { transform: translateY(-7px); }
.nav-hamburger span:nth-child(2) { transform: none; }
.nav-hamburger span:nth-child(3) { transform: translateY(7px); }

/* Animated Hamburger Open State */
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg); background-color: var(--gold-bright); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scale(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg); background-color: var(--gold-bright); }

.nav-drawer {
  position: fixed; top: 0; right: 0;
  width: 320px; height: 100vh;
  background: rgba(18, 10, 5, 0.88);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99; box-shadow: -15px 0 50px rgba(0,0,0,0.85);
  overflow-y: auto;
  padding: 100px 30px 40px;
  display: flex; flex-direction: column;
}
.nav-drawer.open { transform: translateX(0); }
.drawer-links { list-style: none; padding: 0; margin-bottom: 2rem; }
.drawer-links li {
  opacity: 0;
  transform: translateX(30px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 0.5rem;
}
.nav-drawer.open .drawer-links li {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animation delays for menu links */
.nav-drawer.open .drawer-links li:nth-child(1) { transition-delay: 0.1s; }
.nav-drawer.open .drawer-links li:nth-child(2) { transition-delay: 0.14s; }
.nav-drawer.open .drawer-links li:nth-child(3) { transition-delay: 0.18s; }
.nav-drawer.open .drawer-links li:nth-child(4) { transition-delay: 0.22s; }
.nav-drawer.open .drawer-links li:nth-child(5) { transition-delay: 0.26s; }
.nav-drawer.open .drawer-links li:nth-child(6) { transition-delay: 0.3s; }
.nav-drawer.open .drawer-links li:nth-child(7) { transition-delay: 0.34s; }
.nav-drawer.open .drawer-links li:nth-child(8) { transition-delay: 0.38s; }
.nav-drawer.open .drawer-links li:nth-child(9) { transition-delay: 0.42s; }
.nav-drawer.open .drawer-links li:nth-child(10) { transition-delay: 0.46s; }
.nav-drawer.open .drawer-links li:nth-child(11) { transition-delay: 0.5s; }

.drawer-links a {
  display: block; padding: 12px 0; color: var(--warm);
  text-decoration: none; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; font-size: 0.95rem; transition: color 0.3s ease, padding-left 0.3s ease;
  position: relative;
}
.drawer-links a::after {
  content: ''; position: absolute; bottom: 8px; left: 0; width: 24px; height: 1.5px;
  background: var(--gold-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer-links a:hover { color: var(--gold-bright); padding-left: 8px; }
.drawer-links a:hover::after,
.drawer-links a.active::after {
  transform: scaleX(1);
}
.drawer-links a.active {
  color: var(--gold-bright);
  font-weight: 600;
}
/* ═══════════════════════════════════════════════════════════
   DESKTOP HORIZONTAL DROPDOWN NAV  (>= 1024px)
   ═══════════════════════════════════════════════════════════ */

/* On large screens hide hamburger, show nav-links */
@media (min-width: 1024px) {
  .nav-hamburger { display: none !important; }
  .nav-drawer    { display: none !important; }
  .nav-links     { display: flex; }
}

/* On small screens hide nav-links, show hamburger */
@media (max-width: 1023px) {
  .nav-links  { display: none !important; }
  .nav-hamburger { display: flex; }
}

/* Desktop nav link list */
.nav-links {
  list-style: none;
  align-items: center;
  gap: 0.15rem;
  margin: 0; padding: 0;
}

/* Shared link style */
.nav-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--warm);
  text-decoration: none;
  display: flex; align-items: center; gap: 5px;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 0.85rem; right: 0.85rem;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover,
.nav-has-dropdown:hover > .nav-link {
  color: var(--gold-bright);
}
.nav-link:hover::after,
.nav-has-dropdown:hover > .nav-link::after {
  transform: scaleX(1);
}

/* Chevron arrow inside link */
.nav-arrow {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.7;
}
.nav-has-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown wrapper — positioned relative to parent <li> */
.nav-has-dropdown { position: relative; }

.nav-dropdown {
  list-style: none; padding: 0.5rem 0; margin: 0;
  /* Sit flush against the parent — padding-top bridges the visual gap
     so the cursor never enters a dead-zone between trigger and menu. */
  position: absolute; top: 100%; left: 50%;
  padding-top: 10px;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 20px rgba(167,146,119,0.12);
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.28s;
  z-index: 200;
}

/* Decorative top notch — offset by the padding-top bridge */
.nav-dropdown::before {
  content: '';
  position: absolute; top: 4px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 6px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Show on hover */
.nav-has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown items */
.nav-drop-link {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 0.65rem 1.2rem;
  transition: color 0.2s ease, padding-left 0.2s ease, background 0.2s ease;
  border-radius: 4px;
}
.nav-drop-link:hover {
  color: var(--gold-bright);
  padding-left: 1.6rem;
  background: rgba(196, 168, 130, 0.06);
}
/* Separator between items */
.nav-dropdown li + li .nav-drop-link {
  border-top: 1px solid var(--border);
}

/* Join Us — premium CTA button */
.nav-join-btn {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--bg-deep) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 1.5px;
  box-shadow: 0 0 14px rgba(196,168,130,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
}
.nav-join-btn::after { display: none; } /* no underline on this one */
.nav-join-btn:hover {
  color: var(--bg-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(196,168,130,0.45);
  filter: brightness(1.1);
}

/* PROGRAMS THUMBNAIL — Premium image treatment */
/* ─── Program Card Image Container ──────────────────────────────────────── */
.program-thumb-wrap {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.4rem;
  border: 1px solid var(--gold-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  position: relative;
  background: var(--bg-deep);
  isolation: isolate;
}

/* Cinematic gradient overlay — bottom fade into card bg */
.program-thumb-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(10, 5, 3, 0.82) 100%),
    linear-gradient(135deg, rgba(196, 168, 130, 0.06) 0%, transparent 50%);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
  transition: opacity 0.45s ease;
}

/* Shimmer line — top edge glow on hover */
.program-thumb-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.program-card:hover .program-thumb-wrap::before {
  opacity: 1;
}

.program-thumb-wrap:hover::after {
  opacity: 0.6;
}

.program-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: inherit;
  filter: saturate(0.65) brightness(0.78) contrast(1.05);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* On card hover — zoom slightly */
.program-card:hover .program-thumb {
  transform: scale(1.05);
}

/* Loading skeleton state */
.program-thumb[src=""] {
  background: linear-gradient(90deg, var(--bg-raised) 25%, var(--bg-card) 50%, var(--bg-raised) 75%);
  background-size: 200% 100%;
  animation: thumb-shimmer 1.4s infinite;
}

@keyframes thumb-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* AFFILIATION STATUS — Hero */

.affiliation-status {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D4AF37;
  margin-top: 10px;
  margin-bottom: 0.5rem;
  text-align: center;
  opacity: 0.9;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .affiliation-status {
    font-size: 0.7rem;
    letter-spacing: 2.5px;
    margin-top: 8px;
  }
}

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 9rem 4rem 5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,5,3,0.94), rgba(26,15,8,0.88));
}
.hero-accent {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(196,168,130,0.18), transparent 55%),
              radial-gradient(circle at 0% 100%, rgba(212,149,106,0.08), transparent 50%);
  pointer-events: none;
}
.kanji-bg {
  position: absolute; right: -5%; top: 50%;
  transform: translateY(-50%);
  font-size: 42vw; color: rgba(196,168,130,0.035);
  font-family: serif; line-height: 1; pointer-events: none; z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-logo-img {
  width: 150px; height: 150px; object-fit: contain;
  border-radius: 50%; display: block; margin-bottom: 2rem;
  filter: drop-shadow(0 0 35px rgba(196,168,130,0.4));
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; letter-spacing: 6px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.2rem;
}
.white { color: var(--warm); }
h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 8vw, 8rem);
  line-height: 0.95; letter-spacing: 3px;
  color: var(--warm); margin-bottom: 1.2rem; text-transform: uppercase;
}
h1 .accent {
  color: var(--gold-light);
  text-shadow: 0 0 30px rgba(196,168,130,0.35);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--gold-light); margin-bottom: 1.5rem;
  letter-spacing: 1px;
}
.hero-sub {
  font-size: 1.08rem; color: var(--muted);
  line-height: 1.75; max-width: 540px; margin-bottom: 2.5rem;
}

/* BUTTONS */
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--bg); padding: 1.1rem 2.6rem; border: none;
  border-radius: 8px; font-weight: 700; letter-spacing: 2px;
  text-decoration: none; transition: 0.4s ease;
  display: inline-block; text-transform: uppercase; font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(196,168,130,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(196,168,130,0.5);
}
.btn-ghost {
  background: transparent; color: var(--gold-light);
  padding: 1.1rem 2.6rem; border: 1px solid var(--gold);
  border-radius: 8px; font-weight: 600; letter-spacing: 2px;
  text-decoration: none; transition: 0.4s ease;
  position: relative; overflow: hidden; z-index: 1;
  text-transform: uppercase; font-size: 0.9rem;
}
.btn-ghost::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0%; height: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transition: 0.4s ease; z-index: -1;
}
.btn-ghost:hover::before { width: 100%; }
.btn-ghost:hover { color: var(--bg); box-shadow: 0 6px 20px rgba(167,146,119,0.3); }

/* HERO STATS */
.hero-stats {
  position: absolute; bottom: 4rem; right: 4rem;
  display: flex; gap: 3rem; z-index: 2;
}
.stat-item { text-align: center; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: var(--gold-light); line-height: 1; }
.stat-num span { color: var(--accent); }
.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; letter-spacing: 2.5px; color: var(--muted);
  text-transform: uppercase; margin-top: 0.5rem;
}

/* SECTION */
section { padding: 8rem 4rem; position: relative; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; display: inline-block;
  width: 36px; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--warm); margin-bottom: 4rem; letter-spacing: 2.5px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* SECTION BACKGROUNDS — translucent so the fixed bg.jepg photo reads through */
#programs, #instructors, #locations, #school-coaching, #mission-vision {
  background: rgba(26, 15, 8, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
#about, #disciplines, #why-us, #contact {
  background: rgba(18, 10, 5, 0.25);
}

/* ABOUT */
#about {
  display: flex; align-items: center; gap: 5rem;
}
.about-visual { flex: 1; position: relative; }
.about-img {
  width: 100%; border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
}
.about-badge {
  position: absolute; bottom: -2rem; right: -2rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  padding: 2rem; border-radius: 50%;
  width: 150px; height: 150px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 15px 40px rgba(196,168,130,0.35);
  border: 4px solid var(--bg);
}
.about-badge-num { font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem; line-height: 1; color: var(--bg); }
.about-badge-text { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: var(--bg); line-height: 1.2; }
.about-content { flex: 1; }
.about-content p { color: var(--muted); line-height: 1.85; margin-bottom: 1.5rem; font-size: 1.05rem; }
.about-content p span { color: var(--gold-light); font-weight: 600; }
.legacy-pull {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.4rem !important;
  color: var(--gold-light) !important;
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem; margin-bottom: 2rem !important;
  line-height: 1.5 !important;
}
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  list-style: none; margin-top: 2rem;
}
.about-features li {
  display: flex; align-items: center; gap: 10px;
  color: var(--warm); font-weight: 500;
}
.about-features li::before { content: '◆'; color: var(--gold); font-size: 0.8rem; }

/* MISSION & VISION */
#mission-vision { padding: 6rem 4rem; }
.mv-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  max-width: 1300px; margin: 0 auto;
}
.mv-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-raised) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 3.5rem 3rem;
  transition: 0.5s ease;
}
.mv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.mv-card:hover {
  border-color: var(--gold-light);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(196,168,130,0.15);
  transform: translateY(-6px);
}
.mv-kanji {
  position: absolute; bottom: -2rem; right: -1rem;
  font-family: serif; font-size: 14rem;
  color: rgba(196,168,130,0.05); line-height: 1; pointer-events: none;
}
.mv-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem; color: var(--warm);
  letter-spacing: 2.2px; margin: 0.5rem 0 1.5rem;
}
.mv-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 500;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}
.mv-card p { color: var(--muted); line-height: 1.85; font-size: 1.05rem; position: relative; z-index: 1; }

/* SENSEI HERO (Single Profile) */
.sensei-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem; align-items: center;
  background: linear-gradient(160deg, var(--bg-raised) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative; overflow: hidden;
}
.sensei-hero::before {
  content: '武'; position: absolute;
  top: 50%; right: -3rem; transform: translateY(-50%);
  font-family: serif; font-size: 32rem;
  color: rgba(196,168,130,0.025); line-height: 1; pointer-events: none;
}
.sensei-photo-wrap { position: relative; }
.sensei-frame {
  position: absolute; inset: -14px;
  border: 1px solid var(--gold);
  border-radius: 16px; pointer-events: none;
  box-shadow: var(--gold-glow);
}
.sensei-main-photo {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  height: 400px;
  border-radius: 12px; display: block;
  border: 1px solid var(--border);
  filter: contrast(1.05) saturate(0.95);
}
.sensei-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  width: 130px; height: 130px; border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 15px 40px rgba(196,168,130,0.4);
  border: 4px solid var(--bg-card);
}
.sensei-badge-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; line-height: 1; color: var(--bg); }
.sensei-badge-num sup { font-size: 1rem; }
.sensei-badge-text { font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--bg); line-height: 1.2; margin-top: 4px; letter-spacing: 1.5px; }
.sensei-info { position: relative; z-index: 1; }
.sensei-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem; letter-spacing: 4px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1rem;
}
.sensei-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: var(--warm); margin-bottom: 0.6rem;
  letter-spacing: 2.5px; line-height: 1;
}
.sensei-name span {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sensei-title {
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--gold-light); font-size: 1rem;
  text-transform: uppercase; letter-spacing: 2.5px;
  margin-bottom: 1.8rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.sensei-bio { color: var(--muted); line-height: 1.85; font-size: 1.02rem; margin-bottom: 1.2rem; }
.sensei-qualifications {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
  margin-top: 1.5rem;
}
.qual-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; background: rgba(196,168,130,0.05);
  padding: 1.2rem 0.8rem; border-radius: 12px;
  border: 1px solid var(--border); transition: 0.3s;
}
.qual-item:hover { border-color: var(--gold-light); background: rgba(196,168,130,0.1); }
.qual-icon { font-size: 1.6rem; }
.qual-text { color: var(--warm); font-weight: 600; letter-spacing: 0.5px; font-size: 0.85rem; line-height: 1.3; }

/* PROGRAMS */
.programs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.program-card {
  background: var(--bg-raised); padding: 3rem 2.5rem;
  border: 1px solid var(--border); border-radius: 16px;
  transition: 0.4s ease; position: relative; overflow: hidden;
}
.program-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--gold-bright), var(--accent));
  opacity: 0; transition: 0.4s ease;
}
.program-card:hover {
  transform: translateY(-10px); border-color: var(--gold-light);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(196,168,130,0.15);
}
.program-card:hover::after { opacity: 1; }
.program-icon {
  font-size: 2.2rem; margin-bottom: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(230,207,161,0.35), rgba(167,146,119,0.08) 60%),
    linear-gradient(135deg, rgba(230,207,161,0.18), rgba(139,115,85,0.12));
  border: 1.5px solid var(--gold);
  box-shadow:
    inset 0 0 14px rgba(230,207,161,0.18),
    0 4px 18px rgba(0,0,0,0.45),
    0 0 0 4px rgba(196,168,130,0.08);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}
.program-card:hover .program-icon {
  transform: scale(1.08) rotate(-3deg);
  border-color: var(--gold-bright);
  box-shadow:
    inset 0 0 18px rgba(230,207,161,0.28),
    0 8px 26px rgba(0,0,0,0.55),
    0 0 0 5px rgba(196,168,130,0.14),
    var(--gold-glow);
}
.program-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem; margin-bottom: 0.8rem; color: var(--warm);
}
.program-age {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; letter-spacing: 2.5px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 2rem;
}
.program-card p { color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
.program-belt {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; letter-spacing: 2.5px;
  color: var(--gold-dark); font-weight: 600;
}

/* WHY CHOOSE US */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.why-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 2.5rem 2rem; transition: 0.45s ease;
}
.why-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(196,168,130,0.15), transparent 60%);
  opacity: 0; transition: 0.5s ease; pointer-events: none;
}
.why-card:hover {
  transform: translateY(-8px); border-color: var(--gold-light);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(196,168,130,0.15);
}
.why-card:hover::before { opacity: 1; }
.why-num {
  position: absolute; top: 1.2rem; right: 1.5rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; color: rgba(196,168,130,0.12);
  line-height: 1; transition: 0.4s ease;
}
.why-card:hover .why-num { color: rgba(196,168,130,0.35); }
.why-icon {
  font-size: 2rem; margin-bottom: 1.5rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(196,168,130,0.08);
  border: 1px solid var(--border); border-radius: 12px;
  position: relative; z-index: 1;
}
.why-card h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; color: var(--warm);
  margin-bottom: 0.8rem; letter-spacing: 2px;
  position: relative; z-index: 1;
}
.why-card p { color: var(--muted); line-height: 1.7; font-size: 0.95rem; position: relative; z-index: 1; }

/* DISCIPLINES */
.disciplines-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.discipline-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 2.5rem 2rem;
  transition: 0.4s ease; position: relative;
}
.discipline-card:hover {
  border-color: var(--gold-light); transform: translateY(-5px);
  background: var(--bg-raised); box-shadow: 0 12px 35px rgba(0,0,0,0.5), 0 0 25px rgba(196,168,130,0.12);
}
.discipline-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; color: rgba(196,168,130,0.15);
  position: absolute; top: 1rem; right: 1.5rem;
  line-height: 1; transition: 0.4s ease;
}
.discipline-card:hover .discipline-num { color: rgba(196,168,130,0.45); }
.discipline-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem; color: var(--warm);
  margin-bottom: 1rem; position: relative; z-index: 1;
}
.discipline-card p { color: var(--muted); line-height: 1.6; position: relative; z-index: 1; }

/* LOCATIONS — Premium */
.locations-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.location-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-raised) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border); border-radius: 18px;
  padding: 2.8rem; transition: 0.45s ease;
}
.location-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.location-card:hover {
  border-color: var(--gold-light); transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 35px rgba(196,168,130,0.18);
}
.loc-tag {
  display: inline-block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); padding: 4px 10px;
  background: rgba(196,168,130,0.08);
  border: 1px solid var(--border); border-radius: 4px;
  margin-bottom: 1.2rem;
}
.location-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem; color: var(--warm);
  margin-bottom: 1rem; letter-spacing: 2.5px;
}
.location-card h3 span { color: var(--gold-light); }
.loc-divider {
  width: 50px; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-bottom: 1.5rem;
}
.location-address, .location-phone {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--muted); line-height: 1.6; margin-bottom: 1rem;
  text-decoration: none; font-size: 0.95rem;
}
.location-phone { font-weight: 600; color: var(--gold); transition: 0.3s; }
.location-phone:hover { color: var(--gold-light); }
.loc-icon { font-size: 1.1rem; flex-shrink: 0; }

.btn-map {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 1.8rem; padding: 0.9rem 1.8rem;
  background: transparent; color: var(--gold-light);
  border: 1.5px solid var(--gold); border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  font-size: 0.85rem; text-decoration: none;
  transition: 0.4s ease; position: relative; overflow: hidden; z-index: 1;
}
.btn-map::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  transform: translateY(100%); transition: 0.4s ease; z-index: -1;
}
.btn-map:hover::before { transform: translateY(0); }
.btn-map:hover { color: var(--bg); border-color: var(--gold-light); box-shadow: 0 8px 25px rgba(196,168,130,0.3); }
.btn-map svg { transition: 0.3s; }
.btn-map:hover svg { transform: translateX(3px); }

/* SCHOOL COACHING */
.school-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.school-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--bg-raised) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border); border-radius: 18px;
  padding: 2.6rem 2rem;
  text-align: center;
  transition: 0.45s ease;
}
.school-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.school-card:hover {
  border-color: var(--gold-light); transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 35px rgba(196,168,130,0.18);
}
.school-icon {
  font-size: 2.4rem; margin-bottom: 1.2rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(230,207,161,0.35), rgba(167,146,119,0.08) 60%),
    linear-gradient(135deg, rgba(230,207,161,0.18), rgba(139,115,85,0.12));
  border: 1.5px solid var(--gold);
  box-shadow:
    inset 0 0 14px rgba(230,207,161,0.18),
    0 4px 18px rgba(0,0,0,0.45),
    0 0 0 4px rgba(196,168,130,0.08);
}
.school-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; color: var(--warm);
  margin-bottom: 0.6rem; letter-spacing: 2px;
}
.school-divider {
  width: 40px; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 0 auto 1.2rem;
}
.school-location {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--gold); font-size: 0.95rem;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 2px; text-transform: uppercase;
}

/* HQ branch accent */
.location-card--hq {
  border-color: var(--gold-light);
  background: linear-gradient(160deg, rgba(36,24,16,0.95) 0%, rgba(10,5,3,0.98) 100%);
}
.location-card--hq .loc-tag {
  background: rgba(196,168,130,0.15);
  color: var(--gold-bright);
  border-color: var(--gold-light);
}

/* CONTACT */
#contact {
  text-align: center; padding: 8rem 3rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%);
  border-top: 1px solid var(--border);
}
#contact h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--warm); letter-spacing: 2.5px;
  margin-bottom: 1.5rem; line-height: 1.1;
}
#contact p { color: var(--muted); max-width: 600px; margin: 0 auto 3rem; font-size: 1.1rem; line-height: 1.6; }
.form-row {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  max-width: 850px; margin: auto; justify-content: center;
}
.form-row input, .form-row select {
  flex: 1; min-width: 200px; padding: 1.2rem 1.5rem;
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: 8px; color: var(--warm);
  font-family: 'Barlow', sans-serif; font-size: 1rem;
  outline: none; transition: 0.3s;
}
.form-row input::placeholder { color: var(--dim); }
.form-row input:focus, .form-row select:focus {
  border-color: var(--gold-light); box-shadow: 0 0 15px rgba(196,168,130,0.18);
}
.btn-white {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  color: var(--bg); border: none;
  padding: 1.2rem 2.6rem; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer; transition: 0.4s ease;
  box-shadow: 0 6px 20px rgba(196,168,130,0.25);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(196,168,130,0.4); }

/* FOOTER */
footer {
  background: rgba(10, 5, 3, 0.6); color: var(--warm);
  padding: 4rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 2.5px; text-align: center; }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 2.5rem; list-style: none; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  color: var(--muted); text-decoration: none;
  font-weight: 500; letter-spacing: 2px; transition: 0.3s;
  text-transform: uppercase; font-size: 0.82rem;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { color: var(--dim); font-size: 0.85rem; letter-spacing: 1px; }

/* SOCIAL ICONS */
.drawer-social { padding: 20px; border-top: 1px solid var(--border); }
.drawer-social-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: 2px; color: var(--gold);
  margin-bottom: 12px;
}
.drawer-social-links {
  display: flex; gap: 14px;
}
.drawer-social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--gold-light); transition: 0.3s ease;
}
.drawer-social-links a:hover {
  color: var(--gold-bright); border-color: var(--gold-light);
  box-shadow: 0 0 18px rgba(196,168,130,0.25);
  transform: translateY(-2px);
}

/* CONTACT DETAILS */
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; max-width: 900px; margin: 0 auto 3rem;
}
.contact-detail-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  background: linear-gradient(160deg, var(--bg-raised) 0%, var(--bg-deep) 100%);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem 1.5rem; text-decoration: none; transition: 0.4s ease;
}
.contact-detail-card:hover {
  border-color: var(--gold-light); transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 25px rgba(196,168,130,0.12);
}
.contact-detail-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-light); border-radius: 12px;
  color: var(--gold-light); margin-bottom: 0.4rem;
}
.contact-detail-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold);
}
.contact-detail-value {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem; color: var(--warm);
  font-weight: 600; letter-spacing: 0.5px;
}

/* CONTACT SOCIAL */
.contact-social {
  margin-top: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.contact-social-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem; letter-spacing: 2.5px; color: var(--gold);
}
.contact-social-links {
  display: flex; gap: 16px;
}
.contact-social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1.5px solid var(--border); border-radius: 12px;
  color: var(--gold-light); transition: 0.35s ease;
}
.contact-social-links a:hover {
  color: var(--gold-bright); border-color: var(--gold-light);
  box-shadow: 0 0 22px rgba(196,168,130,0.25);
  transform: translateY(-3px);
}

/* FOOTER SOCIAL */
.footer-social {
  display: flex; gap: 14px; justify-content: center;
}
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--gold-light); transition: 0.3s ease;
}
.footer-social a:hover {
  color: var(--gold-bright); border-color: var(--gold-light);
  box-shadow: 0 0 16px rgba(196,168,130,0.2);
  transform: translateY(-2px);
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0; visibility: hidden;
  will-change: transform, opacity;
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1; visibility: visible;
}
.fade-bottom { transform: translateY(28px); }
.fade-bottom.active { transform: translateY(0); }
.fade-left { transform: translateX(-28px); }
.fade-left.active { transform: translateX(0); }
.fade-right { transform: translateX(28px); }
.fade-right.active { transform: translateX(0); }
.zoom-in { transform: scale(0.95); }
.zoom-in.active { transform: scale(1); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.4s; }
.delay-6 { transition-delay: 0.48s; }

/* RESPONSIVE */
@media(max-width: 1024px) {
  #about { flex-direction: column; gap: 4rem; }
  .about-badge { bottom: -1rem; right: 2rem; padding: 1.5rem; width: 120px; height: 120px; }
  .about-badge-num { font-size: 2.5rem; }
  .mv-grid { grid-template-columns: 1fr; }
  .sensei-hero { grid-template-columns: 1fr; padding: 2.5rem; gap: 3rem; }
  .sensei-hero::before { font-size: 22rem; right: -5rem; }
  
}

@media(max-width: 767px) {
  .nav-logo-text-desktop { display: none; }
  .nav-logo-text-mobile { display: inline; font-size: 1.4rem; letter-spacing: 3px; color: var(--warm); }
  .nav-logo-img { width: 38px; height: 38px; }
  nav { padding: 1rem 1.5rem; }
  .sensei-main-photo {
    height: 320px; 
    object-position: center top; 
  }

  /* Mobile heading spacing — explicit 2px for readability */
  h1, h2, h3, h4, .section-title, .sensei-name, .mv-title, .program-card h3,
  .discipline-card h3, .location-card h3, .school-card h3, .why-card h4,
  .assoc-card h3, .ach-name, .bb-name-bar .name, .team-card-name {
    letter-spacing: 2px;
    line-height: 1.25;
  }

  .hero { padding: 8rem 1.5rem 4rem; text-align: center; min-height: auto; }
  .hero-content { margin: 0 auto; }
  .hero-logo-img { margin: 0 auto 2rem; width: 110px; height: 110px; }
  h1 { font-size: clamp(2.6rem, 11vw, 4rem); letter-spacing: 2.2px; }
  .hero-tagline { font-size: 1.15rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats {
    position: static; justify-content: center;
    margin-top: 3.5rem; flex-wrap: wrap; gap: 2rem;
  }
  .stat-num { font-size: 2.4rem; }

  section { padding: 5rem .8rem; }
  .section-title { font-size: 2.4rem; margin-bottom: 3rem; letter-spacing: 2.2px; }

  #mission-vision { padding: 4rem 1.5rem; }
  .mv-card { padding: 2.5rem 2rem; }
  .mv-title { font-size: 1.9rem; }
  .mv-kanji { font-size: 9rem; }

  .sensei-hero { padding: 1.8rem; gap: 2.5rem; border-radius: 16px; }
  .sensei-badge { width: 95px; height: 95px; bottom: -1rem; right: -1rem; border-width: 3px; }
  .sensei-badge-num { font-size: 1.8rem; }
  .sensei-badge-text { font-size: 0.65rem; }
  .sensei-name { font-size: 2.4rem; letter-spacing: 2.2px; }
  .sensei-qualifications { grid-template-columns: 1fr; }

  .why-card { padding: 2rem 1.5rem; }
  .location-card { padding: 2rem 1.8rem; }
  .location-card h3 { font-size: 2rem; }

  .form-row { flex-direction: column; }
  footer { padding: 3rem 1.5rem; }
  .footer-links { gap: 1.2rem; }
  .footer-links a { font-size: 0.75rem; letter-spacing: 1.8px; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-detail-card { padding: 1.5rem 1rem; }
  .contact-social-links a { width: 44px; height: 44px; }
  .drawer-social-links a { width: 38px; height: 38px; }

  /* Programs grid — 2 columns on mobile */
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Program image — aspect-ratio lock via padding trick, zero distortion */
  .program-thumb-wrap,
  .program-thumb-wrap--sm {
    height: 0;
    padding-bottom: 60%;
    position: relative;
    margin-bottom: 0.85rem;
    border-radius: 8px;
  }
  .program-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
  }
  .program-card {
    padding: 1.2rem 1rem;
    border-radius: 12px;
  }
  .program-card h3 {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }
  .program-icon {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  .program-age { font-size: 0.72rem; margin-bottom: 1rem; }
  .program-card p { font-size: 0.85rem; margin-bottom: 1rem; line-height: 1.55; }
  .program-belt { font-size: 0.7rem; }

  /* ===== ANTI-GRAVITY — Locations Grid (Mobile) ===== */
  .locations-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .location-card {
    padding: 2rem 1.6rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .location-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2.5px;
    line-height: 1.15;
    color: var(--warm);
    margin-bottom: 0.8rem;
    max-width: 28ch;
  }

  .loc-tag {
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    padding: 3px 10px;
    margin-bottom: 1rem;
  }

  .loc-divider {
    width: 36px;
    margin-bottom: 1.2rem;
  }

  .location-address {
    font-size: 0.9rem;
    gap: 10px;
    margin-bottom: 0.8rem;
    max-width: 32ch;
    line-height: 1.5;
  }

  .location-phone {
    font-size: 0.9rem;
    gap: 10px;
    margin-bottom: 0.6rem;
  }

  /* Ghost Button — Anti-Gravity floating style */
  .btn-map {
    margin-top: 1.2rem;
    padding: 0.75rem 1.6rem;
    min-height: 44px;
    font-size: 0.78rem;
    letter-spacing: 2px;
    border-radius: 10px;
    border: 1.5px solid var(--gold);
    background: transparent;
    color: var(--gold-light);
    align-self: flex-start;
  }

  .btn-map:active {
    background: rgba(196,168,130,0.08);
    border-color: var(--gold-light);
  }

  /* HQ card mobile refinement */
  .location-card--hq {
    border-color: var(--gold-light);
  }
  .location-card--hq .loc-tag {
    font-size: 0.62rem;
    letter-spacing: 2.5px;
    padding: 3px 8px;
  }

  /* ===== ANTI-GRAVITY — School Grid (Mobile) ===== */
  .school-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .school-card {
    padding: 2rem 1.6rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: none;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .school-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 2.5px;
    line-height: 1.15;
    color: var(--warm);
    margin-bottom: 0.5rem;
    max-width: 28ch;
  }

  .school-icon {
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .school-divider {
    margin: 0 auto 1rem;
  }

  .school-location {
    font-size: 0.82rem;
    letter-spacing: 2px;
  }
}


/* ============ TEAM PAGE ============ */
.team-hero {
  padding: 8rem 2rem 4rem; text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(196,168,130,0.12), transparent 55%),
    var(--bg-deep);
  border-bottom: 1px solid rgba(196,168,130,0.18);
}
.team-hero .section-label { color: var(--gold-light); }
.team-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 2.2px; line-height: 1.05;
  margin: 1rem auto .8rem; color: var(--warm);
}
.team-hero h1 em {
  font-style: italic; font-family: 'Cormorant Garamond', serif;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.team-hero p {
  color: var(--muted); max-width: 640px; margin: 0 auto;
  font-size: 1.05rem; line-height: 1.8;
}

.team-section { padding: 5rem 2rem; max-width: 1240px; margin: 0 auto; }
.team-section-head { text-align: center; margin-bottom: 3.5rem; }

.team-leader {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem;
  align-items: center; max-width: 1100px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(26,15,8,0.6), rgba(10,5,3,0.6));
  border: 1px solid rgba(196,168,130,0.22);
  padding: 2.5rem; border-radius: 18px;
}
.team-leader-photo {
  aspect-ratio: 3/4; overflow: hidden; border-radius: 12px;
  border: 1px solid rgba(196,168,130,0.35);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.team-leader-photo img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.04) saturate(.95); }
.team-leader h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 2.2px; line-height: 1.05;
  color: var(--warm); margin-bottom: .6rem;
}
.team-leader .role {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: var(--gold-light); font-size: 1.15rem; margin-bottom: 1.2rem;
}
.team-leader p { color: var(--muted); line-height: 1.85; margin-bottom: .8rem; }

.team-grid {
  display: grid; gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.team-card {
  background: var(--bg-card);
  border: 1px solid rgba(196,168,130,0.18);
  border-radius: 14px; overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196,168,130,0.55);
  box-shadow: 0 22px 50px rgba(0,0,0,0.5), 0 0 30px rgba(196,168,130,0.18);
}
.team-card-photo { aspect-ratio: 3/4; overflow: hidden; background: var(--bg-deep); }
.team-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.15) contrast(1.05);
  transition: transform .8s ease, filter .4s ease;
}
.team-card:hover .team-card-photo img { transform: scale(1.06); filter: grayscale(0) contrast(1.08); }
.team-card-body { padding: 1.4rem 1.3rem 1.6rem; text-align: center; }
.team-card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; letter-spacing: 2.2px;
  color: var(--warm); margin-bottom: .3rem;
}
.team-card-role {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: var(--gold-light); font-size: .95rem; margin-bottom: .6rem;
}
.team-card-bio { color: var(--dim); font-size: .85rem; line-height: 1.55; }

.team-staff .team-card-photo { aspect-ratio: 1/1; }
.team-staff .team-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ── Associated Masters ──────────────────────────────── */
.assoc-masters {
  padding: 4rem 2rem 5rem;
  max-width: 1240px;
  margin: 0 auto;
}

.assoc-masters-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.assoc-masters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.assoc-master-card {
  border: 1px solid var(--gold);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: inset 0 2px 18px rgba(0,0,0,0.45);
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}

.assoc-master-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-5px);
  box-shadow:
    inset 0 2px 18px rgba(0,0,0,0.45),
    0 18px 44px rgba(0,0,0,0.5),
    0 0 28px rgba(230,207,161,0.22);
}

.assoc-master-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-deep);
}

.assoc-master-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.12) contrast(1.04);
  transition: transform .7s cubic-bezier(0.25,0.46,0.45,0.94), filter .35s ease;
}

.assoc-master-card:hover .assoc-master-photo img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.07);
}

.assoc-master-body {
  padding: 1.2rem 1.1rem 1.5rem;
  text-align: center;
}

.assoc-master-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 2.5px;
  color: var(--warm);
  margin-bottom: .25rem;
  line-height: 1.2;
}

.assoc-master-designation {
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--gold-light);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .assoc-masters { padding: 4rem 1.2rem 3.5rem; }
  .assoc-masters-grid { grid-template-columns: 1fr; }
}

.team-cta {
  text-align: center; padding: 5rem 2rem;
  border-top: 1px solid rgba(196,168,130,0.18);
  background: radial-gradient(circle at 50% 100%, rgba(196,168,130,0.10), transparent 60%);
}
.team-cta h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: 2.2px;
  color: var(--warm); margin-bottom: 1rem;
}
.team-cta p { color: var(--muted); margin-bottom: 2rem; }

@media (max-width: 768px) {
  .team-leader { grid-template-columns: 1fr; padding: 1.8rem; }
  .team-section { padding: 3.5rem 1.2rem; }
}

/* ===== Brand emphasis: ARTS & SPORTS in --warm ===== */
.nav-logo .logo-arts,
.nav-logo .logo-sports {
  font-weight: 700;
  color: var(--warm);
  -webkit-text-fill-color: var(--warm);
  background: none;
  letter-spacing: 3px;
  text-shadow: 0 0 12px rgba(255, 242, 225, 0.22);
}
.footer-logo .logo-arts,
.footer-logo .logo-sports {
  font-weight: 700;
  color: var(--warm);
  -webkit-text-fill-color: var(--warm);
  background: none;
  letter-spacing: 3px;
  text-shadow: 0 0 12px rgba(255, 242, 225, 0.22);
  font-size: 1.05em;
}

/* ===== Premium gold "Join Us" CTA ===== */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  color: var(--bg); border: none;
  padding: 1.2rem 2.8rem; border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: 3px;
  text-transform: uppercase; cursor: pointer; transition: 0.4s ease;
  box-shadow: 0 6px 20px rgba(196,168,130,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative; overflow: hidden;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(196,168,130,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
  filter: brightness(1.05);
}


/* ===== MARTIAL ARTS + SPORTS & FITNESS (compact premium grid) ===== */
#martial-arts { background: var(--bg); }
#programs { background: var(--bg-card); }

.programs-grid--compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}
.programs-grid--compact .program-card {
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--gold);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
.programs-grid--compact .program-card:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55), 0 0 28px rgba(196,168,130,0.22);
}
.program-thumb-wrap--sm {
  height: 160px;
  margin-bottom: 1.1rem;
  border-radius: 10px;
}

/* No icon = h3 sits flush at top of card content */
.programs-grid--compact .program-card h3:first-of-type {
  margin-top: 0;
}
.programs-grid--compact .program-card h3 {
  font-size: 1.8rem;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}
.programs-grid--compact .program-age { margin-bottom: 1rem; }
.programs-grid--compact .program-card p { margin-bottom: 1.2rem; font-size: 0.95rem; }
.programs-grid--compact .program-icon {
  width: 60px; height: 60px; font-size: 1.6rem;
  margin-bottom: 1rem;
}

/* Mobile — strict 2-col for both grids, compact thumbs */
@media (max-width: 768px) {
  .programs-grid,
  .programs-grid--compact {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.9rem;
  }
  .programs-grid--compact .program-card,
  #martial-arts .program-card,
  #programs .program-card {
    padding: 1rem 0.85rem;
    border-radius: 12px;
  }
  .program-thumb-wrap,
  .program-thumb-wrap--sm {
    height: 0;
    padding-bottom: 60%;
    position: relative;
    margin-bottom: 0.75rem;
    border-radius: 8px;
  }
  .program-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
  }
  .programs-grid--compact .program-card h3,
  #martial-arts .program-card h3,
  #programs .program-card h3 {
    font-size: 1.15rem;
    letter-spacing: 2px;
    line-height: 1.2;
  }
  .programs-grid--compact .program-icon,
  #martial-arts .program-icon,
  #programs .program-icon {
    width: 44px; height: 44px; font-size: 1.2rem; margin-bottom: 0.6rem;
  }
  .programs-grid--compact .program-age { font-size: 0.68rem; margin-bottom: 0.6rem; }
  .programs-grid--compact .program-card p { font-size: 0.78rem; margin-bottom: 0.7rem; line-height: 1.5; }
  .programs-grid--compact .program-belt { font-size: 0.65rem; }

  /* Headings 2px tracking on mobile (covers new section titles too) */
  #martial-arts .section-title,
  #programs .section-title { letter-spacing: 2px; }
}

/* ===== SPORT INPUT FIELD ===== */
.sport-input {
  flex: 1;
  min-width: 200px;
  padding: 15px 20px;
  background: #120A05;
  border: 1px solid var(--gold-dark);
  border-radius: 10px;
  color: #e0e0e0;
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  letter-spacing: 0.3px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.sport-input::placeholder {
  color: var(--dim);
  font-weight: 400;
}

.sport-input:hover {
  border-color: var(--gold);
}

.sport-input:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 5px var(--gold-dark);
}

.sport-input.invalid {
  border-color: rgba(255, 100, 80, 0.6);
  box-shadow: 0 0 8px rgba(255, 100, 80, 0.2);
  animation: sport-input-shake 0.4s ease;
}

@keyframes sport-input-shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-5px); }
  75%       { transform: translateX(5px); }
}

@media (max-width: 767px) {
  .sport-input {
    min-width: 100%;
    font-size: 16px;
    padding: 15px 16px;
  }
}

/* =============================================
   BRANCHES PAGE — APPENDED STYLES
   All branches-specific styles are embedded in
   branches.html <style> for page isolation.
   The additions below apply globally to support
   the new program cards added in index.html.
   ============================================= */

/* New creative discipline cards — Art / Dance / Drawing */
.program-card--creative {
  border-color: rgba(196, 168, 130, 0.35);
  background: linear-gradient(160deg, rgba(36,24,16,0.85) 0%, rgba(10,5,3,0.95) 100%);
}
.program-card--creative::after {
  background: linear-gradient(to right, var(--gold-bright), var(--muted));
}

/* Ensure the new 7-card martial arts grid stays 4 columns on large screens */
@media (min-width: 1200px) {
  #martial-arts .programs-grid--compact {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 900px) and (max-width: 1199px) {
  #martial-arts .programs-grid--compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Sports & fitness — keep 4-col on very wide screens */
@media (min-width: 1400px) {
  #programs .programs-grid--compact {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Nav active state for branches page link */
.drawer-links a[href="branches.html"],
.drawer-links a.active {
  color: var(--gold-light);
}


/* ═══════════════════════════════════════════════
   AFFILIATIONS PAGE — TWO-SECTION REDESIGN
   ═══════════════════════════════════════════════ */

/* Gold name highlight */
.gold-name {
  color: var(--gold-dark) !important;
  font-weight: bold;
}

/* Outer wrapper — generous spacing between sections */
.assoc-affiliations-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 2rem 7rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* Each discipline block */
.assoc-discipline-block {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* Section heading above each card */
.assoc-discipline-heading {
  text-align: center;
}
.assoc-discipline-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 3px;
  color: var(--warm);
  margin-top: 0.4rem;
  line-height: 1.1;
}
.assoc-discipline-title em {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Grid — single centered card per section */
.assoc-grid--single {
  display: flex;
  justify-content: center;
}

/* Card — override old inline styles; apply dark-gold theme */
.assoc-card {
  width: 100%;
  max-width: 680px;
  background: #120A05;
  border: 1px solid var(--gold-dark);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
}
.assoc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0;
  transition: 0.4s ease;
}
.assoc-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-light);
  box-shadow: 0 0 40px rgba(196,168,130,0.2), 0 20px 60px rgba(0,0,0,0.55);
}
.assoc-card:hover::before { opacity: 1; }

/* Logo container */
.assoc-logo-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1.5px solid var(--gold-light);
  background: rgba(196,168,130,0.08);
  margin: 0 auto 25px;
}

/* Kickboxing logo placeholder text */
.assoc-logo-placeholder--kick {
  border-color: var(--gold-dark);
  background: rgba(196,168,130,0.05);
}
.assoc-logo-kick-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 3px;
  color: var(--gold);
}

/* Card heading */
.assoc-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}

/* Card body text */
.assoc-card p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
}

/* Card footer rule + tag */
.assoc-card-footer {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.assoc-card-rule {
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold-bright), transparent);
}
.assoc-card-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

/* NSKI logo image inside circle */
.nski-logo {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .assoc-affiliations-wrap {
    padding: 1.5rem 1.2rem 5rem;
    gap: 3.5rem;
  }
  .assoc-card {
    padding: 1.8rem 1.4rem;
    border-radius: 12px;
  }
  .assoc-logo-placeholder {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
  }
  .assoc-card p {
    font-size: 0.92rem;
  }
}


/* ── WAKO logo text size fix (longer acronym) ── */
.assoc-logo-kick-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 3px;
  color: var(--gold);
}


/* ── Logo placeholder — flexbox centred, uniform across both cards ── */
.assoc-logo-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  /* remove the old circle styling */
  width: auto;
  height: auto;
  border-radius: 0;
  border: none;
  background: transparent;
  overflow: visible;
}
.assoc-logo-placeholder img {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
/* Kickboxing variant — same as base, no extra overrides needed */
.assoc-logo-placeholder--kick {
  border: none;
  background: transparent;
}

/* ─── Dynamic Image Load State ────────────────────────────────────────── */
.program-thumb {
  opacity: 0.4;
  transition:
    opacity 0.6s ease,
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.55s ease;
}
.program-thumb.loaded {
  opacity: 1;
}
/* Fallback: if JS hasn't run yet (SSR / no-JS), show at full opacity */
.program-thumb:not([data-query]) {
  opacity: 1;
}

/* ──────────────────────────────────────────────────────────────────────────
   PREMIUM LUXURY STYLES & ANIMATIONS ADDITIONS
   ────────────────────────────────────────────────────────────────────────── */

/* 1. HERO ANIMATIONS & SCROLL INDICATOR */
.hero {
  position: relative;
}

/* Glowing Radial Backgrounds — static, no animation */
.hero-glow { display: none; }
.hero-glow-1, .hero-glow-2 { display: none; }

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.65;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.hero-scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--gold-light);
  border-radius: 12px;
  position: relative;
}
.scroll-wheel {
  width: 3px;
  height: 7px;
  background: var(--gold-bright);
  border-radius: 1.5px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.7;
}
.scroll-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 3.5px;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 500;
}

/* 2. FLOATING WHATSAPP BUTTON (PREMIUM GOLD EDITION) */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  box-shadow: 
    0 10px 30px rgba(139, 115, 85, 0.4),
    0 0 20px rgba(230, 207, 161, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  will-change: transform, box-shadow;
}
.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 15px 35px rgba(139, 115, 85, 0.5),
    0 0 35px rgba(230, 207, 161, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
  stroke: #1A0F08;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.whatsapp-float:hover svg {
  transform: scale(1.08) rotate(3deg);
}

/* Premium Gold Pulsing Ripples */
.whatsapp-float::before,
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-light);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  animation: wa-pulse 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.whatsapp-float::after {
  animation-delay: 1.5s;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; filter: blur(0); }
  100% { transform: scale(1.45); opacity: 0; filter: blur(2px); }
}

/* WhatsApp Glassmorphic Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 74px;
  background: rgba(18, 10, 5, 0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--gold-light);
  color: #FFF;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  box-shadow: 
    0 10px 25px rgba(0,0,0,0.7),
    0 0 15px rgba(196,168,130,0.15);
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(5, 2, 1, 0.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 98; opacity: 0; pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-overlay.open {
  opacity: 1; pointer-events: all;
}

/* 3. PREMIUM UI MICRO-INTERACTIONS & SHADOW ELEVATIONS */

/* Unified luxury card hovers & raise effects */
.program-card, .why-card, .location-card, .school-card, .team-card, .assoc-card, .bb-tile, .ach-card, .gen-tile {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.school-card:hover, .team-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-light);
  box-shadow: 0 20px 45px rgba(0,0,0,0.65), 0 0 25px rgba(196,168,130,0.18);
}

/* Interactive CTA Glowing buttons */
.btn-primary, .btn-gold, .btn-ghost {
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
.btn-primary:hover, .btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(196,168,130,0.45), 0 0 15px rgba(196,168,130,0.25);
}

/* 4. PERFORMANCE ACCELERATIONS & PREFERS-REDUCED-MOTION */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .whatsapp-float {
    bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
  .whatsapp-tooltip {
    display: none; /* Hide tooltips on mobile to keep space clean */
  }
  .hero-scroll-indicator {
    display: none; /* Hide scroll indicators on short mobile hero views */
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .whatsapp-float,
  .whatsapp-float::before,
  .whatsapp-float::after,
  .drawer-links li,
  .program-thumb,
  .btn-primary,
  .btn-gold,
  .btn-ghost {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}
