/* ==========================================================================
   holubar.org — Modern Editorial Design System
   ========================================================================== */

:root {
  --navy: #0D2238;
  --navy-deep: #081726;
  --navy-soft: #163352;
  --slate: #1E5C8A;
  --copper: #B86B2B;
  --copper-bright: #CF7E38;
  --copper-soft: rgba(184, 107, 43, 0.12);

  --bg: #F7F6F2;
  --bg-alt: #EFECE4;
  --surface: #FFFFFF;
  --ink: #132232;
  --ink-muted: #4E5E70;
  --border: rgba(13, 34, 56, 0.11);
  --border-strong: rgba(13, 34, 56, 0.2);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(13, 34, 56, 0.05);
  --shadow-md: 0 12px 32px rgba(13, 34, 56, 0.08);
  --shadow-lg: 0 24px 56px rgba(8, 23, 38, 0.18);

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--slate);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--copper);
}

button {
  font: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--navy);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.brand-text small {
  font-size: 0.74rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
}

.main-nav a:hover {
  background: rgba(13, 34, 56, 0.06);
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(13, 34, 56, 0.06);
  padding: 3px;
  border-radius: 999px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.52rem;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.lang-btn:hover {
  color: var(--navy);
}

.lang-btn.is-active {
  background: var(--surface);
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(13, 34, 56, 0.14);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem 0 1.25rem;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-menu-inner a:not(.btn) {
  padding: 0.65rem 0.5rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

.mobile-menu-inner .btn {
  margin-top: 0.75rem;
  justify-content: center;
}

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-sm {
  font-size: 0.84rem;
  padding: 0.5rem 0.95rem;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.88rem 1.55rem;
}

.btn-block {
  width: 100%;
}

.btn-copper {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 6px 18px rgba(184, 107, 43, 0.28);
}

.btn-copper:hover {
  background: var(--copper-bright);
  color: #fff;
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-soft);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(13, 34, 56, 0.04);
  color: var(--navy);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
}

.pill-copper {
  background: var(--copper-soft);
  color: var(--copper);
}

.pill-copper-solid {
  background: rgba(207, 126, 56, 0.2);
  color: #F4BA82;
  border: 1px solid rgba(244, 186, 130, 0.3);
}

.pill-slate {
  background: rgba(30, 92, 138, 0.11);
  color: var(--slate);
}

.pill-neutral {
  background: rgba(13, 34, 56, 0.07);
  color: var(--ink-muted);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(8, 23, 38, 0.9) 0%, rgba(13, 34, 56, 0.74) 48%, rgba(13, 34, 56, 0.34) 100%),
    linear-gradient(180deg, rgba(8, 23, 38, 0.25) 0%, rgba(8, 23, 38, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  gap: 3rem;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #F4BA82;
  letter-spacing: 0.02em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper-bright);
  box-shadow: 0 0 0 4px rgba(207, 126, 56, 0.25);
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  max-width: 590px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(8, 23, 38, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-item strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  line-height: 1.2;
}

.stat-item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.74);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 2rem 0 4.5rem;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.25rem;
}

.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-head-row > div:first-child {
  max-width: 640px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: 0.5rem;
}

.section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
}

/* ==========================================================================
   Cards & Results Grid
   ========================================================================== */

.results-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.35rem;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.card-featured {
  border-color: rgba(184, 107, 43, 0.35);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFBF7 100%);
}

.card h3 {
  margin: 0.85rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--navy);
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.year-pills-block {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mini-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.year-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.year-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.68rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--border);
}

.year-pill:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.year-pill.is-latest {
  background: var(--copper-soft);
  color: var(--copper);
  border-color: rgba(184, 107, 43, 0.35);
}

.year-pill.is-latest:hover {
  background: var(--copper);
  color: #fff;
}

.region-chips {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.region-chips li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.doc-links {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.doc-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.doc-links li a::after {
  content: "→";
  color: var(--copper);
  font-weight: 700;
}

.doc-links li a:hover {
  border-color: rgba(184, 107, 43, 0.35);
  background: #fff;
  color: var(--copper);
}

/* ==========================================================================
   Forum Spotlight Banner
   ========================================================================== */

.forum-banner {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
  padding: 2.75rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 18%, rgba(207, 126, 56, 0.22) 0%, transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.forum-banner h2 {
  color: #fff;
  margin: 0.9rem 0 0.75rem;
}

.forum-banner p {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.8);
}

.forum-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.forum-feat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.feat-icon {
  width: 20px;
  height: 20px;
  color: #F4BA82;
  flex-shrink: 0;
}

.forum-banner-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.forum-topics-preview {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.topic-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.topic-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-copper { background: #E3954D; }
.dot-sky { background: #62B4E8; }
.dot-emerald { background: #52C69B; }
.dot-gold { background: #E9C46A; }

.forum-note {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.photo-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-frame figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.86rem;
}

.photo-frame figcaption strong {
  color: var(--navy);
}

.photo-frame figcaption span {
  color: var(--ink-muted);
}

.lead-text {
  font-size: 1.06rem;
  color: var(--ink);
  margin: 0 0 1rem;
}

.about-content > p:not(.lead-text) {
  color: var(--ink-muted);
  margin: 0 0 1.75rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.pillar h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: var(--navy);
}

.pillar p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ==========================================================================
   Filters & Video Gallery
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-btn {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: all 0.16s ease;
}

.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.video-thumb-btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: var(--navy-deep);
  overflow: hidden;
}

.video-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-card:hover .video-thumb-btn img {
  transform: scale(1.04);
}

.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 23, 38, 0.28);
  transition: background 0.2s ease;
}

.play-badge span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(184, 107, 43, 0.94);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-card:hover .play-badge {
  background: rgba(8, 23, 38, 0.16);
}

.video-card:hover .play-badge span {
  transform: scale(1.08);
  background: var(--copper-bright);
}

.video-year-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(8, 23, 38, 0.8);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
}

.video-meta {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.video-meta h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--navy);
}

.video-meta small {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Archive List
   ========================================================================== */

.archive-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.archive-year-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.45rem;
  box-shadow: var(--shadow-sm);
}

.archive-year-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.archive-year-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}

.archive-year-head span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.archive-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.archive-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem;
  border-radius: 9px;
  background: var(--bg);
}

.archive-row-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.archive-row-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.badge-link {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.58rem;
  border-radius: 6px;
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--border-strong);
}

.badge-link:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.badge-link-pdf {
  background: var(--copper-soft);
  color: var(--copper);
  border-color: rgba(184, 107, 43, 0.3);
}

.badge-link-pdf:hover {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
}

/* ==========================================================================
   Contact & Footer
   ========================================================================== */

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-info p {
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.contact-row strong {
  color: var(--navy);
  font-size: 1rem;
}

.sep {
  margin: 0 0.45rem;
  color: var(--ink-muted);
}

.contact-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
}

.contact-box h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}

.contact-box p {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.25rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
}

.footer-brand span {
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: #F4BA82;
}

.visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.vc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52C69B;
  box-shadow: 0 0 0 4px rgba(82, 198, 155, 0.2);
  flex-shrink: 0;
}

.vc-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.vc-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.vc-stat strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.vc-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Video Lightbox Modal
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 23, 38, 0.78);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  background: var(--navy-deep);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  color: #fff;
}

.modal-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.modal-close {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 1rem;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.video-embed-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .results-grid {
    grid-template-columns: 1fr 1fr;
  }
  .results-grid .card-featured {
    grid-column: 1 / -1;
  }
  .forum-banner,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .main-nav,
  .header-forum-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .archive-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    min-height: 64px;
    gap: 0.5rem;
  }
  .brand {
    gap: 0.5rem;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .brand-text strong {
    font-size: 1.04rem;
  }
  .brand-text small {
    display: none;
  }
  .header-actions {
    gap: 0.45rem;
  }
  .lang-btn {
    font-size: 0.72rem;
    padding: 0.25rem 0.4rem;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 0 9px;
  }
  .section {
    padding: 3.25rem 0;
  }
  .hero-content {
    padding-top: 3rem;
    padding-bottom: 1.75rem;
  }
  .results-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }
  .forum-banner,
  .contact-card {
    padding: 1.65rem;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
  }
}
