/* ================================
   ВОСК "Магістр" — Design System
   ================================ */

@font-face {
  font-family: 'TucsonTwoSerial';
  src: local('TucsonTwoSerial'), local('Tucson Two Serial'), local('TucsonTwo');
  font-display: swap;
}

:root {
  /* Patriotic palette */
  --red-50:  oklch(0.97 0.02 27);
  --red-100: oklch(0.93 0.05 27);
  --red-500: oklch(0.58 0.20 27);
  --red-600: oklch(0.52 0.21 27);
  --red-700: oklch(0.45 0.20 27);
  --red-900: oklch(0.30 0.15 27);

  --blue-50:  oklch(0.97 0.02 245);
  --blue-100: oklch(0.92 0.05 245);
  --blue-500: oklch(0.52 0.15 245);
  --blue-600: oklch(0.45 0.16 245);
  --blue-700: oklch(0.38 0.14 245);
  --blue-900: oklch(0.22 0.08 245);

  --yellow-400: oklch(0.85 0.16 90);
  --yellow-500: oklch(0.80 0.17 88);
  --yellow-600: oklch(0.72 0.17 80);

  /* Neutrals — warm */
  --bg:        oklch(0.985 0.005 80);
  --bg-alt:    oklch(0.96 0.008 80);
  --bg-dark:   oklch(0.18 0.02 245);
  --bg-darker: oklch(0.13 0.02 245);
  --line:     oklch(0.88 0.01 80);
  --line-strong: oklch(0.78 0.01 80);
  --ink:       oklch(0.20 0.02 245);
  --ink-soft:  oklch(0.40 0.02 245);
  --ink-mute:  oklch(0.55 0.02 245);
  --paper:     #fff;

  /* Type */
  --font-display: 'TucsonTwoSerial', 'Playfair Display', 'Times New Roman', serif;
  --font-head: 'Oswald', 'Impact', 'Bebas Neue', sans-serif;
  --font-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing scale */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ================================
   TOP BAR
   ================================ */
.topbar {
  background: var(--bg-darker);
  color: oklch(0.85 0.02 245);
  font-size: 13px;
  border-bottom: 2px solid var(--red-600);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  gap: 16px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: oklch(0.85 0.02 245);
  transition: color 0.15s;
}
.topbar a:hover { color: var(--yellow-400); }
.topbar svg { width: 14px; height: 14px; }
.topbar .lang {
  display: flex;
  gap: 2px;
  border: 1px solid oklch(0.32 0.02 245);
  border-radius: 4px;
  overflow: hidden;
}
.topbar .lang button {
  background: transparent;
  border: 0;
  color: oklch(0.7 0.02 245);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.topbar .lang button.active {
  background: var(--red-600);
  color: white;
}

/* ================================
   HEADER
   ================================ */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 16px;
  flex-shrink: 0;
}
.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, var(--yellow-400) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--red-600) 0 50%, var(--blue-600) 50% 100%);
  position: relative;
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--ink);
  flex-shrink: 0;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.brand-mark span {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  letter-spacing: -0.04em;
}

.brand-text { line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--red-700);
  margin: 0;
}
.brand-name em {
  font-style: normal;
  color: var(--blue-700);
}
.brand-sub {
  display: block;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-item {
  position: relative;
}
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: 6px;
  transition: all 0.15s;
}
.nav-item > a:hover { background: var(--bg-alt); color: var(--red-700); }
.nav-item.active > a { color: var(--red-700); }
.nav-item.has-children > a::after {
  content: '';
  width: 0; height: 0;
  border: 4px solid transparent;
  border-top-color: currentColor;
  margin-top: 3px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red-600);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.15s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 4px;
  color: var(--ink);
  font-weight: 500;
}
.dropdown a:hover {
  background: var(--red-50);
  color: var(--red-700);
}
.dropdown .sub-group {
  font-size: 11px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  padding: 8px 14px 4px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.dropdown .sub-group:first-child { border-top: 0; margin-top: 0; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1.5px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--red-600);
  color: white;
}
.btn-primary:hover { background: var(--red-700); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--red-600); color: var(--red-700); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 11px 12px;
}
.btn-ghost:hover { color: var(--red-700); }
.btn-light {
  background: white;
  color: var(--ink);
}
.btn-light:hover { background: var(--yellow-400); }
.btn-yellow {
  background: var(--yellow-500);
  color: var(--bg-darker);
}
.btn-yellow:hover { background: var(--yellow-400); transform: translateY(-1px); }

.search-btn, .menu-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
  transition: all 0.15s;
}
.search-btn:hover, .menu-btn:hover { border-color: var(--red-600); color: var(--red-700); }
.menu-btn { display: none; }

/* ================================
   HERO
   ================================ */
.hero {
  position: relative;
  background: var(--bg-darker);
  color: white;
  overflow: hidden;
  border-bottom: 4px solid var(--red-600);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 30%, oklch(0.30 0.15 27 / 0.5), transparent),
    radial-gradient(ellipse 50% 50% at 10% 80%, oklch(0.30 0.15 245 / 0.6), transparent);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/pattern-bg.png');
  background-size: 220px auto;
  background-repeat: repeat;
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(115deg, black 0%, black 30%, transparent 60%);
          mask-image: linear-gradient(115deg, black 0%, black 30%, transparent 60%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  padding: 64px 0 72px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.85 0.02 245);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red-500);
  position: relative;
}
.hero-eyebrow .dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--red-500);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 0; }
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero h1 .accent-red { color: var(--red-500); }
.hero h1 .accent-yellow { color: var(--yellow-500); }
.hero h1 .stroke {
  -webkit-text-stroke: 2px var(--yellow-500);
  color: transparent;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: oklch(0.88 0.02 245);
  max-width: 540px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid oklch(1 0 0 / 0.12);
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--yellow-500);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-num small {
  font-size: 18px;
  color: oklch(0.85 0.02 245);
  font-weight: 500;
}
.stat-label {
  font-size: 12px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: oklch(0.75 0.02 245);
  margin-top: 6px;
}

/* Hero featured card */
.hero-feature {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid oklch(1 0 0 / 0.1);
}
.hero-feature .placeholder-img {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 50% 30%, oklch(0.35 0.18 27) 0%, oklch(0.20 0.10 27) 70%),
    var(--red-900);
  display: grid;
  place-items: center;
  color: oklch(0.95 0.02 27);
  position: relative;
  overflow: hidden;
}
.hero-feature .placeholder-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 20px, oklch(1 0 0 / 0.025) 20px 21px);
}
.hero-feature .placeholder-img svg {
  width: 70%;
  height: auto;
  position: relative;
  color: oklch(0.95 0.02 27 / 0.85);
  filter: drop-shadow(0 4px 16px oklch(0 0 0 / 0.4));
}

/* Generic placeholder backgrounds for cards */
.ph-bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ph-bg.bg-red {
  background:
    radial-gradient(ellipse at 50% 35%, oklch(0.40 0.16 27) 0%, oklch(0.22 0.10 27) 75%);
  color: oklch(0.95 0.04 27 / 0.7);
}
.ph-bg.bg-blue {
  background:
    radial-gradient(ellipse at 50% 35%, oklch(0.40 0.13 245) 0%, oklch(0.20 0.08 245) 75%);
  color: oklch(0.92 0.04 245 / 0.7);
}
.ph-bg.bg-yellow {
  background:
    radial-gradient(ellipse at 50% 35%, oklch(0.55 0.14 80) 0%, oklch(0.30 0.08 60) 75%);
  color: oklch(0.95 0.05 80 / 0.7);
}
.ph-bg.bg-navy {
  background:
    radial-gradient(ellipse at 50% 35%, oklch(0.30 0.06 245) 0%, oklch(0.16 0.03 245) 75%);
  color: oklch(0.85 0.04 245 / 0.6);
}
.ph-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 18px, oklch(1 0 0 / 0.025) 18px 19px);
  pointer-events: none;
}
.ph-bg svg {
  width: 50%;
  max-width: 180px;
  height: auto;
  position: relative;
  z-index: 1;
  color: currentColor;
  filter: drop-shadow(0 4px 12px oklch(0 0 0 / 0.3));
}
.news-card .image .ph-bg svg { width: 42%; max-width: 120px; }
.news-card.feature .image .ph-bg svg { width: 50%; max-width: 200px; }
.gallery-item .ph-bg svg { width: 40%; max-width: 90px; opacity: 0.85; }
.gallery-item:nth-child(1) .ph-bg svg, .gallery-item:nth-child(8) .ph-bg svg { width: 32%; max-width: 140px; }

.hero-feature-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px;
  background: linear-gradient(to top,
    oklch(0.13 0.02 245 / 0.95) 0%,
    oklch(0.13 0.02 245 / 0.7) 60%,
    transparent 100%);
}
.hero-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-600);
  color: white;
  padding: 4px 10px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-feature h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: white;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.hero-feature-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: oklch(0.85 0.02 245);
}
.hero-feature-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-feature-meta svg { width: 14px; height: 14px; opacity: 0.7; }

/* Decorative ribbon */
.hero-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0;
  z-index: 1;
}
.hero-ribbon span {
  width: 80px;
  height: 6px;
}
.hero-ribbon span:nth-child(1) { background: var(--blue-600); }
.hero-ribbon span:nth-child(2) { background: var(--yellow-500); }
.hero-ribbon span:nth-child(3) { background: var(--red-600); }

/* ================================
   MARQUEE
   ================================ */
.marquee {
  background: var(--red-600);
  color: white;
  overflow: hidden;
  border-bottom: 4px solid var(--bg-darker);
}
.marquee-track {
  display: flex;
  gap: 48px;
  padding: 14px 0;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track svg { width: 12px; height: 12px; opacity: 0.7; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================================
   SECTIONS
   ================================ */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-dark {
  background: var(--bg-darker);
  color: white;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ink);
}
.section-dark .section-head {
  border-bottom-color: oklch(1 0 0 / 0.2);
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-700);
  margin-bottom: 12px;
}
.section-dark .section-eyebrow { color: var(--yellow-500); }
.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-700);
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red-600);
}
.section-link:hover { gap: 12px; }
.section-dark .section-link { color: var(--yellow-500); border-bottom-color: var(--yellow-500); }

/* ================================
   NEWS
   ================================ */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.news-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  border-color: var(--red-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.news-card .image {
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.news-card .image .ph-bg { z-index: 0; }
.news-card .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.news-card .meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.news-card .meta .tag {
  color: var(--red-700);
  font-weight: 600;
}
.news-card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.news-card.feature {
  grid-column: span 1;
  grid-row: span 2;
}
.news-card.feature .image {
  aspect-ratio: 4 / 5;
}
.news-card.feature h3 { font-size: 28px; }
.news-card.feature .body { padding: 28px; gap: 16px; }
.news-card.feature .excerpt {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.news-card .read-more {
  margin-top: auto;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-700);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ================================
   ABOUT / DISCIPLINES
   ================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.about-image-stack {
  position: relative;
  aspect-ratio: 4 / 5;
}
.about-image-stack .ph {
  position: absolute;
  background: radial-gradient(ellipse at 50% 35%, oklch(0.42 0.10 var(--h, 245)) 0%, oklch(0.20 0.06 var(--h, 245)) 80%);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.about-image-stack .ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 18px, oklch(1 0 0 / 0.03) 18px 19px);
}
.about-image-stack .ph svg {
  width: 55%;
  height: auto;
  color: oklch(0.95 0.05 var(--h, 245) / 0.6);
  filter: drop-shadow(0 4px 12px oklch(0 0 0 / 0.4));
  position: relative;
}
.about-image-stack .ph-1 {
  inset: 0 30% 30% 0;
  --h: 27;
}
.about-image-stack .ph-2 {
  inset: 25% 0 0 35%;
  --h: 245;
}
.about-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--yellow-500);
  color: var(--bg-darker);
  padding: 16px 20px;
  font-family: var(--font-head);
  font-weight: 700;
  z-index: 2;
  border: 3px solid var(--bg-darker);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.about-badge strong {
  font-size: 32px;
  letter-spacing: -0.02em;
}
.about-badge span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 500;
}

.about-body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.about-body p:first-of-type {
  font-size: 19px;
  color: var(--ink);
  font-weight: 500;
}

.disciplines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 32px;
  border: 1px solid var(--line);
}
.discipline {
  background: var(--paper);
  padding: 24px;
  display: flex;
  gap: 16px;
}
.discipline-num {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--red-700);
  font-weight: 600;
}
.discipline h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  margin: 4px 0 8px;
  text-transform: uppercase;
}
.discipline p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* ================================
   ACHIEVEMENTS
   ================================ */
.achievements {
  background: var(--bg-darker);
  color: white;
  position: relative;
  overflow: hidden;
}
.achievements::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg,
      transparent 0 24px,
      oklch(1 0 0 / 0.015) 24px 48px);
  pointer-events: none;
}
.achievements-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.medal-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.medal-card {
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.08);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.2s;
}
.medal-card:hover {
  background: oklch(1 0 0 / 0.06);
  transform: translateY(-2px);
}
.medal-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--bg-darker);
}
.medal-icon.gold { background: var(--yellow-500); }
.medal-icon.silver { background: oklch(0.85 0.01 245); }
.medal-icon.bronze { background: oklch(0.65 0.10 50); color: white; }
.medal-card .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
}
.medal-card .label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.7 0.02 245);
  margin-top: 6px;
}

.achievements-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.achievements-list li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid oklch(1 0 0 / 0.1);
}
.achievements-list li:last-child { border-bottom: 1px solid oklch(1 0 0 / 0.1); }
.achievements-list .year {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--yellow-500);
}
.achievements-list .title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}
.achievements-list .place {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.7 0.02 245);
}

/* ================================
   GALLERY
   ================================ */
.gallery-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-chip {
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 100px;
  transition: all 0.15s;
}
.filter-chip:hover { border-color: var(--red-600); color: var(--red-700); }
.filter-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-alt);
}
.gallery-item:nth-child(1), .gallery-item:nth-child(8) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1;
}
.gallery-item .ph {
  width: 100%; height: 100%;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 35%, oklch(0.42 0.10 var(--h, 245)) 0%, oklch(0.20 0.06 var(--h, 245)) 80%);
  display: grid;
  place-items: center;
  color: oklch(0.92 0.04 var(--h, 245) / 0.6);
  transition: transform 0.4s;
  overflow: hidden;
}
.gallery-item .ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 18px, oklch(1 0 0 / 0.03) 18px 19px);
}
.gallery-item .ph svg {
  width: 40%;
  max-width: 80px;
  height: auto;
  color: currentColor;
  filter: drop-shadow(0 4px 10px oklch(0 0 0 / 0.4));
  position: relative;
  z-index: 1;
}
.gallery-item:nth-child(1) .ph svg, .gallery-item:nth-child(8) .ph svg { width: 30%; max-width: 130px; }
.gallery-item:hover .ph { transform: scale(1.05); }

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    oklch(0.13 0.02 245 / 0.85) 0%,
    transparent 60%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay .year {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--yellow-500);
  text-transform: uppercase;
}
.gallery-item .overlay .title {
  font-family: var(--font-head);
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ================================
   SCHEDULE & LOCATIONS
   ================================ */
.schedule-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
}
.schedule-table {
  background: var(--paper);
  border: 1px solid var(--line);
}
.schedule-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.schedule-row:last-child { border-bottom: 0; }
.schedule-row.head {
  background: var(--bg-darker);
  color: white;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.schedule-row .day {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}
.schedule-row .group {
  font-size: 14px;
  font-weight: 500;
}
.schedule-row .group small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.schedule-row .time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  background: var(--yellow-400);
  padding: 4px 8px;
}
.schedule-row .loc {
  font-size: 12px;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.locations {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.location {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  align-items: start;
  transition: all 0.15s;
}
.location:hover { border-color: var(--red-600); }
.location-icon {
  width: 48px; height: 48px;
  background: var(--red-50);
  color: var(--red-700);
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.location-icon svg { width: 22px; height: 22px; }
.location h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.location p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ================================
   COACHES
   ================================ */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.coach {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.2s;
}
.coach:hover { border-color: var(--red-600); transform: translateY(-2px); }
.coach .photo {
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(ellipse at 50% 30%, oklch(0.38 0.12 245) 0%, oklch(0.18 0.06 245) 80%);
  display: grid;
  place-items: end center;
  position: relative;
  overflow: hidden;
}
.coach .photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 18px, oklch(1 0 0 / 0.025) 18px 19px);
}
.coach .photo svg {
  width: 78%;
  max-width: 220px;
  height: auto;
  color: oklch(0.85 0.04 245 / 0.55);
  position: relative;
  margin-bottom: -5%;
  filter: drop-shadow(0 4px 12px oklch(0 0 0 / 0.4));
}
.coach .photo .tag-num {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red-600);
  color: white;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  z-index: 2;
}
.coach .body {
  padding: 18px;
}
.coach .role {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-700);
  font-weight: 600;
}
.coach h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 6px 0 8px;
  line-height: 1.2;
}
.coach .bio {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* ================================
   CTA STRIP
   ================================ */
.cta-strip {
  background:
    linear-gradient(135deg, var(--red-700) 0%, var(--red-600) 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip > .container {
  position: relative;
  z-index: 1;
}
.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: url('assets/pattern-bg.png');
  background-size: 200px auto;
  background-repeat: repeat;
  opacity: 0.10;
  mix-blend-mode: overlay;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, black 0%, black 35%, transparent 75%);
          mask-image: linear-gradient(90deg, black 0%, black 35%, transparent 75%);
}
.cta-strip::before, .cta-strip::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.06);
}
.cta-strip::before { top: -80px; left: -80px; }
.cta-strip::after { bottom: -80px; right: -80px; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
}
.cta-strip h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 700px;
  letter-spacing: -0.01em;
}
.cta-strip p {
  margin: 12px 0 0;
  font-size: 16px;
  color: oklch(1 0 0 / 0.85);
  max-width: 600px;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--bg-darker);
  color: oklch(0.75 0.02 245);
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}
.footer > .container { position: relative; z-index: 1; }
.footer-pattern {
  position: absolute;
  inset: 0;
  background-image: url('assets/pattern-bg.png');
  background-size: 240px auto;
  background-repeat: repeat;
  opacity: 0.04;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(95deg, transparent 0%, transparent 55%, black 100%);
          mask-image: linear-gradient(95deg, transparent 0%, transparent 55%, black 100%);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand-name { color: white; }
.footer-brand .brand-name em { color: var(--yellow-500); }
.footer-brand p {
  font-size: 14px;
  margin: 16px 0 20px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.1);
  color: white;
  border-radius: 4px;
  transition: all 0.15s;
}
.footer-socials a:hover {
  background: var(--red-600);
  border-color: var(--red-600);
}
.footer-socials svg { width: 18px; height: 18px; }

.footer h5 {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  margin: 0 0 18px;
}
.footer ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer ul a {
  font-size: 14px;
  transition: color 0.15s;
}
.footer ul a:hover { color: var(--yellow-500); }

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}
.footer-contact-line svg {
  width: 16px; height: 16px;
  margin-top: 3px;
  color: var(--yellow-500);
  flex-shrink: 0;
}
.footer-contact { display: flex; flex-direction: column; gap: 12px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid oklch(1 0 0 / 0.1);
  font-size: 13px;
}
.footer-bottom .flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom .flag-mark {
  display: inline-flex;
  flex-direction: column;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid oklch(1 0 0 / 0.2);
}
.footer-bottom .flag-mark span:first-child { background: var(--blue-500); flex: 1; }
.footer-bottom .flag-mark span:last-child { background: var(--yellow-500); flex: 1; }

/* ================================
   LIGHTBOX
   ================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: oklch(0 0 0 / 0.92);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg,
      oklch(0.30 0.05 var(--h, 27)) 0 14px,
      oklch(0.28 0.06 var(--h, 27)) 14px 28px);
  display: grid;
  place-items: center;
  color: oklch(0.95 0.05 var(--h, 27));
  font-family: var(--font-mono);
  font-size: 14px;
  width: 800px;
  border: 4px solid white;
}
.lightbox-info {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px; height: 48px;
  background: transparent;
  border: 2px solid white;
  color: white;
  border-radius: 50%;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  background: oklch(1 0 0 / 0.1);
  border: 2px solid white;
  color: white;
  border-radius: 50%;
}
.lightbox-nav.prev { left: 32px; }
.lightbox-nav.next { right: 32px; }
.lightbox-nav:hover, .lightbox-close:hover { background: var(--red-600); border-color: var(--red-600); }

/* ================================
   SEARCH OVERLAY
   ================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 24px;
}
.search-overlay.open { display: flex; animation: searchFade 0.18s ease-out; }
@keyframes searchFade { from { opacity: 0; } to { opacity: 1; } }
.search-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0.18 0.02 245 / 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.search-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 30px 80px oklch(0 0 0 / 0.4);
  padding: 24px 28px 28px;
  animation: searchSlide 0.22s ease-out;
}
@keyframes searchSlide { from { transform: translateY(-12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.search-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: all 0.15s;
}
.search-close:hover { color: var(--red-700); border-color: var(--red-600); }
.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
  padding: 8px 0 16px;
  margin-right: 40px;
}
.search-icon { color: var(--red-700); flex-shrink: 0; }
.search-form input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  outline: none;
  padding: 4px 0;
}
.search-form input::placeholder { color: var(--ink-soft); font-weight: 400; }
.search-submit {
  background: var(--red-600);
  color: white;
  border: 0;
  padding: 10px 18px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.15s;
}
.search-submit:hover { background: var(--red-700); }
.search-suggest { padding-top: 18px; }
.search-suggest-label {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.search-tag {
  background: oklch(0.96 0.01 245);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 100px;
  transition: all 0.15s;
}
.search-tag:hover { background: var(--red-600); color: white; border-color: var(--red-600); }
.search-results { margin-top: 4px; max-height: 50vh; overflow-y: auto; }
.search-results.has-results { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.search-results-label {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.search-results-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.search-result {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 4px 16px;
  padding: 12px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s;
}
.search-result:hover { background: oklch(0.96 0.01 245); }
.search-result-section {
  grid-row: span 2;
  align-self: center;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-700);
}
.search-result-title { font-family: var(--font-head); font-size: 16px; color: var(--ink); }
.search-result-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.search-result mark { background: oklch(0.92 0.18 95); color: var(--ink); padding: 0 2px; border-radius: 2px; }
.search-empty { padding: 24px 14px; color: var(--ink-soft); font-size: 14px; text-align: center; }
@media (max-width: 700px) {
  .search-overlay { padding: 60px 12px 12px; }
  .search-panel { padding: 20px 18px; }
  .search-form { margin-right: 36px; gap: 8px; padding: 6px 0 12px; }
  .search-form input { font-size: 16px; min-width: 0; }
  .search-icon { width: 18px; height: 18px; }
  .search-submit { display: none; }
  .search-result { grid-template-columns: 1fr; gap: 4px; }
  .search-result-section { grid-row: auto; }
}

/* ================================
   MOBILE NAV
   ================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-darker);
  color: white;
  z-index: 100;
  padding: 24px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid oklch(1 0 0 / 0.1);
}
.mobile-nav .menu-btn {
  background: transparent;
  border-color: oklch(1 0 0 / 0.2);
  color: white;
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.mobile-nav li > a {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
  font-family: var(--font-head);
  font-size: 18px;
  text-transform: uppercase;
  color: white;
}
.mobile-nav .sub {
  padding-left: 16px;
  display: none;
}
.mobile-nav li.open .sub { display: block; }
.mobile-nav .sub a {
  font-size: 14px;
  padding: 12px 0;
  text-transform: none;
  color: oklch(0.8 0.02 245);
}

/* ================================
   RESPONSIVE — TABLET (≤1100px)
   ================================ */
@media (max-width: 1100px) {
  .container { padding: 0 20px; }
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-cta .btn-outline { display: none; }
  .header-cta .btn-primary { padding: 10px 14px; font-size: 13px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 56px; }
  .hero-feature { max-width: 540px; margin: 0 auto; width: 100%; }
  .hero-feature .placeholder-img { aspect-ratio: 16 / 10; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 32px; }

  .news-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .news-card.feature { grid-column: span 2; grid-row: span 1; }
  .news-card.feature .image { aspect-ratio: 21 / 9; }
  .news-card.feature h3 { font-size: 24px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-stack { max-width: 480px; margin: 0 auto; width: 100%; }
  .disciplines { grid-template-columns: 1fr 1fr; }

  .achievements-grid { grid-template-columns: 1fr; gap: 40px; }
  .medal-stack { max-width: 540px; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(8) { grid-column: span 2; }

  .coaches-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .schedule-grid { grid-template-columns: 1fr; gap: 32px; }
  .schedule-row { padding: 14px 16px; }

  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-inner { gap: 32px; }
}

/* ================================
   RESPONSIVE — MOBILE (≤700px)
   ================================ */
@media (max-width: 700px) {
  body { font-size: 15px; }
  .container { padding: 0 24px; }
  .topbar { display: none; }
  .header { border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0); }
  .header-inner { padding: 12px 0; gap: 12px; }
  .brand-mark { width: 44px; height: 44px; font-size: 22px; }
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 10px; letter-spacing: 0.14em; }
  .header-cta .btn-primary { display: none; }
  .search-btn, .menu-btn { width: 38px; height: 38px; }

  .section { padding: 48px 0; }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 14px;
  }

  .hero-grid { padding: 36px 0 44px; gap: 32px; }
  .hero-eyebrow { font-size: 11px; padding: 4px 12px 4px 4px; margin-bottom: 20px; }
  .hero-eyebrow .dot { width: 20px; height: 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 24px;
  }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 11px; }
  .hero-feature-overlay { padding: 20px; }
  .hero-feature h3 { font-size: 18px; }

  .marquee-track { font-size: 12px; gap: 28px; padding: 11px 0; }

  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-card.feature { grid-column: span 1; }
  .news-card.feature .image { aspect-ratio: 16/10; }
  .news-card.feature h3 { font-size: 22px; }
  .news-card .body { padding: 16px; gap: 10px; }
  .news-card.feature .body { padding: 20px; gap: 12px; }
  .news-card.feature .excerpt { font-size: 14px; }

  .about-body p:first-of-type { font-size: 17px; }
  .about-body p { font-size: 15px; }
  .disciplines { grid-template-columns: 1fr; }
  .discipline { padding: 18px; }

  .medal-stack { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .medal-card { padding: 16px 8px; }
  .medal-card .num { font-size: 26px; }
  .medal-icon { width: 36px; height: 36px; font-size: 14px; margin-bottom: 8px; }
  .achievements-list li {
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 14px 0;
  }
  .achievements-list .place { grid-column: 2; font-size: 11px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(8) { grid-column: span 2; aspect-ratio: 16/10; }
  .gallery-controls { gap: 6px; margin-bottom: 18px; }
  .filter-chip { padding: 6px 10px; font-size: 11px; }

  .coaches-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .coach .body { padding: 14px; }
  .coach h4 { font-size: 14px; }
  .coach .role { font-size: 10px; }
  .coach .bio { font-size: 12px; line-height: 1.4; }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .schedule-row.head { display: none; }
  .schedule-row .day { font-size: 12px; color: var(--red-700); }
  .schedule-row .time { justify-self: start; }
  .location { padding: 14px; gap: 12px; }
  .location-icon { width: 40px; height: 40px; }

  .cta-strip { padding: 48px 0; }
  .cta-inner { flex-direction: column; align-items: stretch; gap: 24px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { justify-content: center; }

  .footer { padding: 48px 0 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 0;
  }
  .footer-bottom > span:last-child { flex-direction: column !important; gap: 8px !important; align-items: flex-start !important; }

  .lightbox { padding: 16px; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-nav.prev { left: 12px; }
  .lightbox-nav.next { right: 12px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
}

/* ================================
   RESPONSIVE — SMALL MOBILE (≤420px)
   ================================ */
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .coaches-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .section-title { font-size: 28px; }
}
