/* =========================================================
   WBMAC — World Business Martial Arts Championship
   Premium dark charcoal / restrained gold / crimson accent
   ========================================================= */

:root {
  --bg: #07080b;
  --bg2: #0c0f14;
  --bg3: #12171f;
  --card: #151a22;
  --card-elev: #1a202a;
  --text: #f3efe4;
  --muted: #9e9788;
  --muted2: #7a7468;
  --line: rgba(243, 239, 228, 0.1);
  --line-strong: rgba(243, 239, 228, 0.16);
  --gold: #c9a45c;
  --gold2: #e8d5a3;
  --gold-dim: rgba(201, 164, 92, 0.18);
  --crimson: #8b1e1e;
  --crimson-soft: rgba(139, 30, 30, 0.35);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  --max: 1120px;
  --pad: clamp(1rem, 3vw, 1.5rem);
  --section-y: clamp(4.5rem, 9vw, 7rem);
  --font: "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Thai", system-ui, -apple-system, sans-serif;
  --serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: #1a1408;
  padding: 0.6rem 1rem;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Lang-specific font stacks */
html[lang="ja"] body { font-family: "Noto Sans JP", "Noto Sans SC", system-ui, sans-serif; }
html[lang="ko"] body { font-family: "Noto Sans KR", "Noto Sans SC", system-ui, sans-serif; }
html[lang="th"] body { font-family: "Noto Sans Thai", "Noto Sans SC", system-ui, sans-serif; line-height: 1.8; }
html[lang="es"] body,
html[lang="en"] body { font-family: "Noto Sans SC", system-ui, sans-serif; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(7, 8, 11, 0.82);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(7, 8, 11, 0.94);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  z-index: 2;
}
.logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--gold-dim);
}
.logo-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14rem;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.nav a {
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover,
.nav a:focus-visible { color: var(--gold2); outline: none; }
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.75rem;
  flex-shrink: 0;
}

/* Language dropdown */
.lang-dd { position: relative; }
.lang-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line-strong);
  background: rgba(21, 26, 34, 0.7);
  color: var(--gold2);
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, background 0.2s;
}
.lang-dd-toggle:hover,
.lang-dd-toggle[aria-expanded="true"] {
  border-color: rgba(201, 164, 92, 0.45);
  background: var(--card-elev);
}
.lang-dd-chevron { opacity: 0.7; transition: transform 0.2s; }
.lang-dd-toggle[aria-expanded="true"] .lang-dd-chevron { transform: rotate(180deg); }

.lang-dd-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 9.5rem;
  background: var(--card-elev);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.35rem;
  box-shadow: var(--shadow);
  z-index: 60;
}
.lang-dd-menu[hidden] { display: none; }
.lang-dd-menu .lang-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.86rem;
  transition: background 0.15s, color 0.15s;
}
.lang-dd-menu .lang-btn:hover,
.lang-dd-menu .lang-btn:focus-visible {
  background: rgba(201, 164, 92, 0.12);
  color: var(--gold2);
  outline: none;
}
.lang-dd-menu .lang-btn.active {
  background: linear-gradient(135deg, var(--gold), #a67c2d);
  color: #1a1408;
  font-weight: 700;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 4rem;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  opacity: 0.52;
  transform: scale(1.02);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 30%, transparent 0%, rgba(7, 8, 11, 0.55) 100%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(139, 30, 30, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 8, 11, 0.25) 0%,
    rgba(7, 8, 11, 0.55) 40%,
    rgba(7, 8, 11, 0.92) 78%,
    var(--bg) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.wordmark {
  display: block;
  max-width: min(380px, 72vw);
  height: auto;
  margin: 0 0 1.15rem;
  background: transparent;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.5));
}
.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold2);
  font-size: 0.72rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.35rem, 5.8vw, 4rem);
  line-height: 1.12;
  margin: 0 0 0.45rem;
  letter-spacing: 0.01em;
}
.hero-en {
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 1.15rem;
  text-transform: uppercase;
}
.hero-sub {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.6rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.75rem;
}
.meta-chip {
  background: rgba(15, 18, 24, 0.78);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.95rem;
  min-width: 0;
  backdrop-filter: blur(8px);
}
.meta-chip span {
  display: block;
  color: var(--muted2);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.meta-chip strong {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.meta-chip.accent {
  border-color: rgba(201, 164, 92, 0.35);
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.1), rgba(15, 18, 24, 0.78));
}
.meta-chip.accent strong { color: var(--gold2); }

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

.hero-scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.45;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), filter 0.2s, border-color 0.2s, color 0.2s, background 0.2s;
  cursor: pointer;
}
.btn.primary {
  background: linear-gradient(135deg, #d4b36a, #a67c2d);
  color: #1a1408;
  box-shadow: 0 8px 24px rgba(166, 124, 45, 0.28);
}
.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
  outline: none;
}
.btn.ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}
.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold2);
  outline: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  color: var(--gold2);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.text-link::after { content: "→"; }
.text-link:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section.alt {
  background: var(--bg2);
  border-block: 1px solid var(--line);
}
.section-head { margin-bottom: 2rem; max-width: 40rem; }
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.section-kicker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border: 1px solid rgba(201, 164, 92, 0.4);
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
.section-kicker em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.section-kicker.light em { color: var(--muted); }

.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
}
.lead {
  color: var(--muted);
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.75;
}
.about-copy > p:not(.lead):not(.section-kicker) {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 38rem;
  font-size: 1.01rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}
.pillars li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 0.7rem;
  background: rgba(21, 26, 34, 0.5);
  transition: border-color 0.2s, background 0.2s;
}
.pillars li:hover {
  border-color: rgba(201, 164, 92, 0.4);
  background: var(--gold-dim);
}
.pillar-mark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
  flex-shrink: 0;
}
.pillars strong {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold2);
}

.seal-card {
  margin: 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(201, 164, 92, 0.08), transparent 60%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.seal-ring {
  display: inline-flex;
  padding: 0.85rem;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, 0.28);
  background: rgba(0, 0, 0, 0.25);
}
.seal-card img {
  width: min(220px, 70%);
  margin-inline: auto;
  border-radius: 50%;
}
.seal-card figcaption {
  color: var(--muted2);
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* ---------- Activities — magazine / program grid ---------- */
.act-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.act-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  overflow: hidden;
}
.act-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 92, 0.45), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.act-card:hover {
  border-color: rgba(201, 164, 92, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.act-card:hover::before { opacity: 1; }

.act-featured {
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  background:
    linear-gradient(165deg, rgba(139, 30, 30, 0.18) 0%, transparent 45%),
    linear-gradient(180deg, var(--card-elev), var(--card));
  border-color: rgba(201, 164, 92, 0.22);
  padding: 1.75rem 1.6rem;
}
.act-num {
  display: block;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
  opacity: 0.9;
}
.act-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.act-featured h3 { font-size: 1.45rem; font-family: var(--serif); font-weight: 600; }
.act-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.poster-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  position: relative;
  aspect-ratio: 16 / 7;
}
.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.poster-fade {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(7, 8, 11, 0.55));
  pointer-events: none;
}

/* ---------- Past ---------- */
.past-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.past-text {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.past-text h3 {
  margin: 0.15rem 0 0.55rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
}
.past-meta {
  color: var(--gold2) !important;
  font-size: 0.9rem !important;
  font-weight: 500;
  margin: 0 0 0.85rem !important;
}
.past-text p {
  margin: 0.35rem 0;
  color: var(--muted);
  line-height: 1.75;
}
.past-visual {
  margin: 0;
  position: relative;
  min-height: 280px;
}
.past-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.past-visual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--card) 0%, transparent 28%);
  pointer-events: none;
}

.past-gallery {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(110px, 14vw);
  gap: 0.65rem;
}

.past-tile {
  position: relative;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg3);
  cursor: zoom-in;
  color: inherit;
  font: inherit;
  isolation: isolate;
  transition: transform 0.35s var(--ease), border-color 0.25s ease, box-shadow 0.35s var(--ease);
}
.past-tile:hover,
.past-tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(201, 164, 92, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  outline: none;
}
.past-tile picture,
.past-tile img {
  width: 100%;
  height: 100%;
  display: block;
}
.past-tile img {
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease);
}
.past-tile:hover img,
.past-tile:focus-visible img {
  transform: scale(1.04);
}
.past-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 11, 0.55) 100%);
  pointer-events: none;
  opacity: 0.85;
}
.past-tile-cap {
  position: absolute;
  left: 0.85rem;
  bottom: 0.7rem;
  z-index: 1;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 600;
  pointer-events: none;
}
.past-tile--hero {
  grid-column: span 2;
  grid-row: span 2;
}
.past-tile--wide {
  grid-column: span 2;
}
.past-tile--tall {
  grid-row: span 2;
}

.past-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.past-lightbox[hidden] { display: none; }
.past-lightbox-figure {
  margin: 0;
  max-width: min(1200px, 96vw);
  max-height: 88vh;
}
.past-lightbox-figure img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(201, 164, 92, 0.25);
}
.past-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(18, 23, 31, 0.9);
  color: var(--gold2);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.past-lightbox-close:hover,
.past-lightbox-close:focus-visible {
  background: rgba(201, 164, 92, 0.18);
  border-color: var(--gold);
  outline: none;
}
body.past-lb-open { overflow: hidden; }


/* ---------- Insight — editorial essay ---------- */
.insight-section .section-head { margin-bottom: 1.75rem; }
.insight-card {
  position: relative;
  background:
    linear-gradient(145deg, rgba(201, 164, 92, 0.06), transparent 40%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 820px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.insight-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--crimson));
}
.insight-quote-mark {
  position: absolute;
  top: 0.4rem;
  right: 1.5rem;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
  color: rgba(201, 164, 92, 0.12);
  pointer-events: none;
  user-select: none;
}
.insight-date {
  margin: 0 0 0.75rem;
  color: var(--gold2);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}
.insight-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin: 0 0 1.15rem;
  line-height: 1.3;
  max-width: 28ch;
}
.insight-body {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
  margin: 0;
  white-space: pre-line;
  max-width: 62ch;
}
.insight-fallback,
.brief-fallback { margin-top: 1rem; }

/* ---------- Brief — clean news list ---------- */
.brief-date {
  margin: -1rem 0 1.25rem;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.brief-list { display: grid; gap: 0.75rem; }
.brief-item {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 2px solid transparent;
  border-radius: 12px;
  padding: 1.15rem 1.3rem;
  transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  color: inherit;
}
.brief-item:hover,
.brief-item:focus-visible {
  border-color: rgba(201, 164, 92, 0.35);
  border-left-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  background: var(--card-elev);
  outline: none;
}
.brief-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.brief-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.brief-item .brief-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.7rem;
  color: var(--gold2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brief-item .brief-link::after { content: "→"; }

/* ---------- Gear gallery ---------- */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gear-item {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.gear-item:hover {
  border-color: rgba(201, 164, 92, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.gear-item.wide { grid-column: span 1; }
.gear-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0a0c10;
  position: relative;
}
.gear-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.gear-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s var(--ease);
}
.gear-item:hover .gear-frame img { transform: scale(1.04); }
.gear-item figcaption {
  padding: 0.85rem 1rem 1.05rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--line);
}

/* ---------- Contact CTA ---------- */
.cta {
  background:
    radial-gradient(900px 320px at 50% -10%, rgba(201, 164, 92, 0.14), transparent 55%),
    radial-gradient(500px 280px at 90% 80%, rgba(139, 30, 30, 0.1), transparent 50%),
    var(--bg3);
  border-top: 1px solid var(--line);
}
.cta-inner { max-width: 640px; }
.cta-copy {
  color: var(--muted);
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
  line-height: 1.75;
}
.interest-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
  margin-top: 1.6rem;
}
.interest-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.interest-form .full { grid-column: 1 / -1; }
.interest-form input,
.interest-form textarea {
  width: 100%;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 8, 11, 0.65);
  color: var(--text);
  padding: 0.85rem 1rem;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.interest-form input:focus,
.interest-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.18);
}
.interest-form .btn { justify-self: start; margin-top: 0.25rem; }
.form-ok { color: var(--gold2); margin-top: 0.9rem; font-weight: 500; }

/* ---------- Channel chips (Telegram-style entry points) ---------- */
.channel-block {
  margin: 1.35rem 0 0.35rem;
}
.channel-title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.channel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 8, 11, 0.55);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 560;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  text-decoration: none;
  appearance: none;
  font: inherit;
}
.channel-chip svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
  opacity: 0.9;
}
.channel-chip:hover,
.channel-chip:focus-visible {
  color: var(--gold2);
  border-color: rgba(201, 164, 92, 0.55);
  background: rgba(201, 164, 92, 0.1);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.12);
  outline: none;
}
.channel-chip.is-pending {
  opacity: 0.78;
  border-style: dashed;
}
.channel-chip.is-pending:hover,
.channel-chip.is-pending:focus-visible {
  opacity: 1;
}
.channel-note {
  margin: 0.7rem 0 0;
  font-size: 0.86rem;
  color: var(--gold2);
  line-height: 1.5;
}
.footer-channels {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.footer-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted2);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  padding: 0;
  appearance: none;
  font: inherit;
  text-decoration: none;
}
.footer-channel svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.footer-channel:hover,
.footer-channel:focus-visible {
  color: var(--gold);
  border-color: rgba(201, 164, 92, 0.5);
  background: var(--gold-dim);
  outline: none;
}
.footer-channel.is-pending {
  opacity: 0.65;
  border-style: dashed;
}
.channel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(7, 8, 11, 0.86);
  backdrop-filter: blur(10px);
}
.channel-lightbox[hidden] { display: none; }
.channel-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  border: none;
  background: transparent;
  color: var(--gold2);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.channel-lightbox-figure {
  margin: 0;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  max-width: min(360px, 92vw);
  text-align: center;
}
.channel-lightbox-figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #0c0f14;
}
.channel-lightbox-figure figcaption {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}
body.channel-lb-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  color: var(--muted);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 640px) {
  .footer-channels { order: 3; width: 100%; }
}
.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}
.footer-brand img {
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold-dim);
}
.footer-brand strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}
.footer-brand p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.footer-copy {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.muted { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .act-grid {
    grid-template-columns: 1fr 1fr;
  }
  .act-featured {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: auto;
  }
  .nav { gap: 0.15rem 0.85rem; font-size: 0.82rem; }
  .logo-text { max-width: 10rem; }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--pad) 1.1rem;
    background: rgba(10, 12, 16, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    margin-left: 0;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav a::after { display: none; }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
  .header-inner { position: relative; }
  .header-tools { margin-left: auto; }

  .about-grid { grid-template-columns: 1fr; }
  .seal-card { max-width: 320px; margin-inline: auto; }
  .past-card { grid-template-columns: 1fr; }
  .past-visual { min-height: 220px; aspect-ratio: 16 / 9; }
  .past-visual-shade {
    background: linear-gradient(180deg, transparent 40%, var(--card) 100%);
  }
  .past-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(120px, 28vw);
    gap: 0.5rem;
  }
  .past-tile--hero { grid-column: span 2; grid-row: span 2; }
  .past-tile--wide { grid-column: span 2; }
  .past-tile--tall { grid-row: span 2; }
  .gear-grid { grid-template-columns: 1fr 1fr; }
  .poster-frame { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 4.5rem 0 3rem;
  }
  .hero-media img { object-position: center 22%; opacity: 0.48; }
  .meta-chip { flex: 1 1 100%; }
  .act-grid { grid-template-columns: 1fr; }
  .gear-grid { grid-template-columns: 1fr; }
  .gear-frame { aspect-ratio: 1 / 1; }
  .interest-form { grid-template-columns: 1fr; }
  .insight-card { padding: 1.4rem 1.25rem 1.5rem 1.4rem; }
  .insight-quote-mark { font-size: 5rem; right: 0.8rem; }
  .logo-text { max-width: 8.5rem; font-size: 0.85rem; }
  .hero-scroll { display: none; }
  .footer-copy { letter-spacing: 0.02em; }
  .past-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(100px, 32vw);
  }
  .past-tile-cap { font-size: 0.65rem; left: 0.55rem; bottom: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Focus visibility for keyboard users */
:focus-visible {
  outline: 2px solid rgba(201, 164, 92, 0.65);
  outline-offset: 3px;
}
