/* =====================================================
   Icon BJJ — Milton Keynes Academy
   style.css — all styles for index.html
   Managed by Dettogni
===================================================== */

/* =====================================================
   FONTS — self-hosted, /fonts/ at repo root
===================================================== */
@font-face {
  font-family: 'Syne';
  src: url('/fonts/syne-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('/fonts/syne-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('/fonts/syne-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('/fonts/syne-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-300-italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Fallback metric overrides — reduce layout shift while fonts load.
   Starter values; tune against the live page in DevTools > Rendering
   > Layout Shift Regions per skill Section 2 Step 3. */
@font-face {
  font-family: 'Syne Fallback';
  src: local('Arial');
  size-adjust: 108%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial');
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* =====================================================
   DESIGN TOKENS — shared with Icon BJJ network
===================================================== */
:root {
  --canvas:       #F5F2EE;
  --canvas-deep:  #EDE9E3;
  --canvas-warm:  #E8E3DB;
  --ink:          #1A2B3C;
  --ink-mid:      #3D4F60;
  --ink-light:    #7A8A96;
  --accent:       #C4571A;
  --accent-hover: #A84514;
  --accent-pale:  #F5E9E2;
  --white:        #FEFCFA;

  --status-live-bg:   rgba(34, 120, 60, 0.1);
  --status-live-text: #1a5c32;
  --status-soon-bg:   rgba(26, 43, 60, 0.07);
  --status-soon-text: var(--ink-light);

  --ff-display: 'Syne', 'Syne Fallback', sans-serif;
  --ff-body:    'DM Sans', 'DM Sans Fallback', sans-serif;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-pill: 100px;

  --shadow-card: 0 2px 20px rgba(26, 43, 60, 0.08);
  --shadow-lift: 0 8px 36px rgba(26, 43, 60, 0.13);

  --max-w:    1280px;
  --side-pad: clamp(1.25rem, 5vw, 3rem);
}

/* =====================================================
   BASE
===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Canvas texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
ul { list-style: none; }
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
}
::selection { background: var(--accent); color: var(--white); }

/* =====================================================
   TYPOGRAPHY
===================================================== */
.t-display {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.t-display em {
  font-style: italic;
  color: var(--accent);
}
.t-heading {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.t-label {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* =====================================================
   LAYOUT
===================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: all 0.22s ease;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 87, 26, 0.32);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-arrow::after {
  content: '→';
  font-family: var(--ff-body);
  transition: transform 0.2s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }


/* =====================================================
   SKIP LINK
===================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* =====================================================
   NAVIGATION
===================================================== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
  padding: 0.5rem 0;
}
#nav.scrolled {
  background: rgba(245, 242, 238, 0.88);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom-color: var(--canvas-warm);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-logo .icon-logo {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
  border-radius: 3px;
}
.nav-logo .global-tag {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding-left: 0.75rem;
  margin-left: 0.25rem;
  border-left: 1px solid var(--canvas-warm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink-mid);
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--accent); }

.nav-cta {
  padding: 0.6rem 1.2rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.78rem;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  flex-shrink: 0;
  padding: 0;
}
.nav-hamburger span {
  width: 22px;
  height: 1.8px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen menu */
#mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--canvas);
  z-index: 99;
  padding: 5.5rem var(--side-pad) 2rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#mobile-menu.open {
  display: flex;
  opacity: 1;
}
#mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
#mobile-menu nav a {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ink);
  padding: 1rem 0;
  border-bottom: 1px solid var(--canvas-warm);
  letter-spacing: -0.01em;
  min-height: 56px;
  display: flex;
  align-items: center;
}
#mobile-menu nav a:last-child {
  color: var(--accent);
  border-bottom: none;
}
#mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.mob-foot {
  font-size: 0.75rem;
  color: var(--ink-light);
  letter-spacing: 0.08em;
  line-height: 1.8;
  padding-top: 2rem;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-brand .nav-logo .global-tag {
  color: rgba(255, 255, 255, 0.55);
  border-left-color: rgba(255, 255, 255, 0.15);
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col a {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom .social { display: flex; gap: 1.25rem; }
.footer-bottom .social a {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom .social a:hover { color: var(--accent); }

/* Keep by Dettogni */
.footer-keep {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem var(--side-pad);
  text-align: center;
  font-family: var(--ff-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.28);
}
.footer-keep a {
  color: rgba(255, 255, 255, 0.46);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-keep a:hover { color: var(--white); }

/* =====================================================
   BREADCRUMB
===================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 2.5rem;
}
.breadcrumb a {
  color: var(--ink-light);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span:last-child { color: var(--ink); }

/* Tighter spacing when breadcrumb sits inside hero */
.hero-inner .breadcrumb {
  margin-bottom: 1rem;
}

/* =====================================================
   PAGE HEADER
===================================================== */
#page-header {
  padding: clamp(6rem, 10vw, 8rem) 0 clamp(3rem, 5vw, 4.5rem);
  background: var(--canvas);
}

.page-header-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.page-header-text .t-display {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 1.25rem;
}

.page-header-sub {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--ink-mid);
  font-weight: 300;
  max-width: 480px;
  line-height: 1.7;
}

/* Stats row */
.page-header-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  align-self: end;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.3rem;
}
.stat-divider {
  width: 1px;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* =====================================================
   FILTER BAR
===================================================== */
#directory {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
  background: var(--canvas);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--canvas-warm);
  border-bottom: 1px solid var(--canvas-warm);
  margin-bottom: 2.5rem;
}
.filter-bar-label {
  color: var(--ink-light);
  flex-shrink: 0;
}
.filter-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-mid);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: inset 0 0 0 1px var(--canvas-warm);
  min-height: 44px;
}
.filter-chip:hover { background: var(--canvas-deep); }
.filter-chip.active {
  background: var(--ink);
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.chip-flag { font-size: 0.9em; }

.filter-count {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-left: auto;
  flex-shrink: 0;
}

/* =====================================================
   ACADEMY GRID
===================================================== */
.academies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* =====================================================
   ACADEMY CARD
===================================================== */
.academy-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--canvas-warm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  position: relative;
}
.academy-card.status-live {
  border-color: var(--canvas-warm);
}
.academy-card.status-soon {
  opacity: 0.72;
}
.academy-card.status-live:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

/* Status bar */
.card-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--canvas-deep);
  border-bottom: 1px solid var(--canvas-warm);
}
.status-pill {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}
.status-pill.live {
  background: var(--status-live-bg);
  color: var(--status-live-text);
}
.status-pill.soon {
  background: var(--status-soon-bg);
  color: var(--status-soon-text);
}
.card-country {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Card body */
.card-body {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.card-location {}
.card-city {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.card-address {
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 1.5;
}

/* Instructor row */
.card-instructor {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
  background: var(--canvas-deep);
  border-radius: var(--radius-md);
}
.instructor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.instructor-avatar.pending {
  background: var(--canvas-warm);
  color: var(--ink-light);
}
.instructor-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.instructor-rank {
  font-size: 0.75rem;
  color: var(--ink-light);
  margin-top: 0.1rem;
}

/* Class tags */
.card-classes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.class-tag {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--accent-pale);
  color: var(--accent);
}

/* Card footer */
.card-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--canvas-warm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--canvas);
}
.card-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--accent); }

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--white);
  background: var(--ink);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  transition: all 0.22s ease;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 44px;
}
.card-cta:hover {
  background: var(--accent);
  transform: translateX(2px);
}
.card-cta.disabled {
  background: var(--canvas-warm);
  color: var(--ink-light);
  cursor: default;
  pointer-events: none;
}
.card-soon-note {
  font-size: 0.78rem;
  color: var(--ink-light);
  line-height: 1.5;
}

/* =====================================================
   EMPTY STATE
===================================================== */
.empty-state {
  padding: 4rem 0;
  text-align: center;
}
.empty-state-text {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-mid);
}
.empty-state-text a {
  color: var(--accent);
  text-decoration: underline;
}

/* =====================================================
   NOT NEARBY CTA
===================================================== */
#not-nearby {
  background: var(--canvas-deep);
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--canvas-warm);
}

.not-nearby-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.not-nearby-text h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  margin-bottom: 1rem;
}
.not-nearby-text p {
  color: var(--ink-mid);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: 540px;
}

.not-nearby-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  flex-shrink: 0;
}


/* =====================================================
   RESPONSIVE — 1024px
===================================================== */
@media (max-width: 1024px) {
  .academies-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================================================
   RESPONSIVE — 960px (hamburger + MK page layout)
===================================================== */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* MK page sections */
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-panel { display: none; }
  .hero-scroll { display: none; }
  .credentials-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .classes-tiles { grid-template-columns: repeat(2, 1fr); }
  .instructor-grid { grid-template-columns: 1fr; }
  .instructor-portrait { max-width: 400px; }
  .kids-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; }
  .beginners-inner { grid-template-columns: 1fr; }
}

/* =====================================================
   RESPONSIVE — 768px
===================================================== */
@media (max-width: 768px) {
  html { scroll-padding-top: 24px; }

  .page-header-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .page-header-stats {
    align-self: auto;
    width: 100%;
    justify-content: center;
  }

  .filter-bar { gap: 0.75rem; }
  .filter-bar-label { width: 100%; }
  .filter-count { margin-left: 0; width: 100%; }

  .academies-grid { grid-template-columns: 1fr; }

  .not-nearby-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .not-nearby-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* =====================================================
   RESPONSIVE — 480px
===================================================== */
@media (max-width: 480px) {
  .academies-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .social { justify-content: center; }
  #mobile-menu nav a { font-size: 1.5rem; }
  .not-nearby-actions { flex-direction: column; width: 100%; }
  .not-nearby-actions .btn { width: 100%; justify-content: center; }
  .page-header-stats { flex-direction: column; gap: 0; }
  .stat-divider { width: 80%; height: 1px; }
}

/* =====================================================
   MK PAGE — HERO
===================================================== */
#hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 5rem;
  background: var(--canvas);
  overflow: hidden;
  position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  z-index: 1;
  padding: clamp(3rem, 6vw, 5rem) var(--side-pad) clamp(3rem, 5vw, 4rem);
  min-width: 0;
}

.hero-inner {
  max-width: 640px;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-location svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero-h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.hero-trust-badge {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--canvas-deep);
  border: 1px solid var(--canvas-warm);
  color: var(--ink-mid);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}

.hero-trust-text {
  width: 100%;
  font-size: 0.82rem;
  color: var(--ink-light);
  max-width: 48ch;
}

.hero-image-panel {
  position: relative;
  overflow: hidden;
  background: var(--canvas-warm);
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: var(--canvas-warm);
  background-image: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(196,87,26,0.04) 20px, rgba(196,87,26,0.04) 21px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.hero-img-note {
  font-size: 0.8rem;
  color: var(--ink-light);
  line-height: 1.6;
  max-width: 30ch;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: var(--side-pad);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--ff-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.hero-scroll-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--ink-light);
}

/* =====================================================
   MK PAGE — CREDENTIALS STRIP
===================================================== */
#credentials {
  background: var(--ink);
  padding: 2.5rem 0;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.credentials-grid::before,
.credentials-grid::after {
  content: '';
  position: absolute;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.credentials-grid::before { left: 33.33%; }
.credentials-grid::after  { left: 66.66%; }

.cred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 2rem;
  text-align: center;
}

.cred-num {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.cred-num sup {
  font-size: 0.55em;
  vertical-align: super;
}

.cred-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-top: 0.5rem;
  max-width: 22ch;
}

.cred-label strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.15rem;
}

/* =====================================================
   MK PAGE — SECTION SHARED
===================================================== */
.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* =====================================================
   MK PAGE — ABOUT / LINEAGE
===================================================== */
#about { background: var(--canvas-deep); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.about-text p { margin-bottom: 1rem; color: var(--ink-mid); }
.about-text h2 { margin-bottom: 1.5rem; font-size: clamp(1.6rem, 2.8vw, 2.4rem); }

.lineage-section-label { margin-bottom: 1.5rem; }

.about-graphic {
  background: var(--canvas);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--canvas-warm);
}

.lineage-chain { display: flex; flex-direction: column; }

.lineage-node {
  padding: 1rem 0;
  border-bottom: 1px solid var(--canvas-warm);
}
.lineage-node:last-child { border-bottom: none; }

.ln-role {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.15rem;
}

.ln-name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.ln-detail {
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-top: 0.1rem;
  line-height: 1.4;
}

.ln-highlight .ln-name { color: var(--accent); }
.ln-highlight { background: var(--accent-pale); margin: 0 -0.5rem; padding: 1rem 0.5rem; border-radius: var(--radius-sm); }

.lineage-arrow {
  font-size: 1.2rem;
  color: var(--ink-light);
  padding: 0.25rem 0;
  text-align: center;
}

/* =====================================================
   MK PAGE — CLASSES
===================================================== */
#classes { background: var(--canvas); }

.classes-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.classes-intro-sub {
  max-width: 50ch;
  color: var(--ink-mid);
  font-size: 1rem;
}

.classes-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.class-tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.class-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.class-tile-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-size: cover;
  background-position: center;
}

.class-tile-bg-adults    { background-color: #3D4F60; }
.class-tile-bg-kids      { background-color: #4A8E6B; }
.class-tile-bg-nogi      { background-color: var(--accent); }
.class-tile-bg-beginners { background-color: #5B8CC8; }
.class-tile-bg-private   { background-color: #8B6BB1; }

.class-tile-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
}

.class-tile-tag {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}

.class-tile-name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.class-tile-times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: auto;
  padding-bottom: 1.25rem;
}

.time-pill {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.7rem;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.time-pill.accent {
  background: rgba(196,87,26,0.5);
  color: var(--white);
}

.class-tile-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.class-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-top: auto;
}

.class-tile-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.class-tile-link:hover::after { transform: translateX(4px); }

/* =====================================================
   MK PAGE — INSTRUCTOR
===================================================== */
#instructor { background: var(--canvas-deep); }

.instructor-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.instructor-text p { color: var(--ink-mid); margin-bottom: 1rem; line-height: 1.75; }
.instructor-text h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 0.35rem; }

.instructor-name-sub {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.instructor-achievements {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--canvas);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}

.ach-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ach-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.ach-text {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}

.instructor-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.portrait-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--canvas-warm);
  margin-bottom: 1rem;
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background-image: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(196,87,26,0.04) 20px, rgba(196,87,26,0.04) 21px
  );
}

.portrait-placeholder-note {
  font-size: 0.8rem;
  color: var(--ink-light);
  line-height: 1.6;
}

.portrait-caption { padding: 0 0.25rem; }

.pc-name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.pc-title {
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-bottom: 0.35rem;
}

.pc-belt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* =====================================================
   MK PAGE — TIMETABLE
===================================================== */
#timetable { background: var(--canvas); }

.timetable-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 520px;
}

.schedule-table thead th {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding: 0.85rem 1rem;
  text-align: left;
  background: var(--canvas-deep);
  border-bottom: 2px solid var(--canvas-warm);
}

.schedule-table tbody tr { border-bottom: 1px solid var(--canvas-warm); }

.day-row:first-child td { border-top: 2px solid var(--canvas-warm); }

.sched-day {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink);
  padding: 0.85rem 1rem;
  vertical-align: top;
  white-space: nowrap;
}

.sched-time {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink-mid);
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.sched-class {
  padding: 0.75rem 1rem;
  color: var(--ink);
  font-size: 0.88rem;
}

.sched-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge-adults    { background: rgba(26,43,60,0.08); color: var(--ink); }
.badge-kids      { background: rgba(74,142,107,0.12); color: #2d6e4a; }
.badge-nogi      { background: rgba(196,87,26,0.1); color: var(--accent); }
.badge-open      { background: rgba(91,140,200,0.12); color: #3a6aa0; }

.sched-row-separator td { padding: 0.35rem; background: var(--canvas-deep); border: none; }

/* =====================================================
   MK PAGE — KIDS
===================================================== */
#kids { background: var(--canvas-deep); }

.kids-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.kids-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin-bottom: 1.25rem; }
.kids-text p  { color: var(--ink-mid); margin-bottom: 1rem; }

.kids-benefits { margin-bottom: 1.25rem; }

.kb-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.kb-item {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--canvas);
  border: 1px solid var(--canvas-warm);
  color: var(--ink-mid);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
}

.kids-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--canvas-warm);
  background-image: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(196,87,26,0.04) 20px, rgba(196,87,26,0.04) 21px
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================
   MK PAGE — BEGINNERS
===================================================== */
#beginners { background: var(--ink); }

.beginners-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.beginners-heading h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.beginners-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.beginners-label-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.beginners-heading > p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.section-label-muted::before { background: var(--ink-light); }

.objection-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.objection-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.objection-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  cursor: pointer;
  user-select: none;
}

.objection-q[aria-expanded="true"] { color: var(--accent); }

.oq-icon {
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 300;
  transition: transform 0.25s ease;
  line-height: 1;
}

.objection-q[aria-expanded="true"] .oq-icon { transform: rotate(45deg); }

.objection-a {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

.objection-a.open { display: block; }

/* =====================================================
   MK PAGE — TESTIMONIALS PLACEHOLDER
===================================================== */
.testimonials-wrapper {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--canvas-deep);
}

.testimonials-placeholder {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--canvas-warm);
}

.placeholder-tag {
  display: inline-block;
  font-family: var(--ff-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent-pale);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.testimonials-placeholder-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.testimonials-placeholder h3 { margin-bottom: 0.75rem; font-size: 1.3rem; }

.testimonials-placeholder p { font-size: 0.88rem; color: var(--ink-light); max-width: 50ch; margin: 0 auto; }

/* =====================================================
   MK PAGE — FAQ
===================================================== */
#faq { background: var(--canvas); }

.faq-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.faq-heading h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--canvas-warm);
}

.faq-item {
  border-bottom: 1px solid var(--canvas-warm);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}

.faq-q[aria-expanded="true"] { color: var(--accent); }

.fq-icon {
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 300;
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-q[aria-expanded="true"] .fq-icon { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--ink-mid);
  line-height: 1.75;
}

.faq-a.open { display: block; }

/* =====================================================
   MK PAGE — LOCATION
===================================================== */
#location { background: var(--canvas-deep); }

.location-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.location-info h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 1.5rem; }

.location-detail { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.ld-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--canvas);
  border-radius: var(--radius-md);
  border: 1px solid var(--canvas-warm);
}

.ld-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }

.ld-text {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

.ld-text strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.25rem;
}

.ld-text a {
  color: var(--accent);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.92rem;
}

.location-map iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: var(--radius-lg);
  display: block;
}

/* =====================================================
   MK PAGE — CTA BANNER
===================================================== */
#cta-footer { background: var(--ink); }

.cta-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-banner-text h2 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin-bottom: 1rem; }

.cta-banner-text p { color: rgba(255,255,255,0.65); line-height: 1.75; font-size: 0.95rem; }

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.cta-address {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-top: 0.5rem;
}

/* =====================================================
   MK PAGE — MOBILE BOTTOM NAV
===================================================== */
/* =============================================
   MOBILE BOTTOM NAV
============================================= */

#mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: var(--white);
  border-top: 1px solid var(--canvas-warm);
  height: 64px;
}

.mobile-nav-inner {
  display: flex;
  align-items: stretch;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.mob-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  height: 100%;
  color: var(--ink-mid);
  font-size: 0.7rem;
  font-family: var(--ff-body);
  font-weight: 500;
  transition: color 0.2s ease;
  text-decoration: none;
}

.mob-nav-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}

.mob-nav-item:hover,
.mob-nav-item:focus-visible {
  color: var(--ink);
}

.cta-mob {
  background-color: var(--accent);
  color: var(--white);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.cta-mob:hover {
  background-color: var(--accent-hover);
  color: var(--white);
}
/* =====================================================
   MK PAGE — 640px RESPONSIVE
===================================================== */
@media (max-width: 640px) {
  .classes-tiles { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: repeat(3, 1fr); }
  .cred-item { padding: 1rem; }
  .cta-banner-actions { width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
  .timetable-intro { flex-direction: column; align-items: flex-start; }
  .classes-intro { flex-direction: column; align-items: flex-start; }
  .instructor-actions { flex-direction: column; }
  .instructor-actions .btn { width: 100%; justify-content: center; }
  #mobile-nav { display: flex; }
  body { padding-bottom: 64px; }
}
