/* ============================================================
   NetZero Horizon — Premium CSS
   A top-tier climate platform design system
   ============================================================ */

/* ── Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Custom Properties — Light Mode (default) ──────────────── */
:root {
  /* Surface — warm institutional paper */
  --bg:                #f7f2e6;
  --bg2:               #efe8d6;
  --bg3:               #e7dfca;
  --surface:           #fdfbf4;
  --surface-hover:     #fffefa;
  --surface-strong:    #ffffff;

  /* Text */
  --ink:               #1b2a22;
  --ink-muted:         #46554c;
  --ink-faint:         #76837a;

  /* Accents — rich gold + deep forest */
  --gold:              #c2992f;
  --gold-deep:         #9c7820;
  --gold-bright:       #e3c25e;
  --gold-glow:         rgba(194, 153, 47, 0.30);
  --teal:              #134a39;   /* primary action: deep forest */
  --teal-deep:         #0c2a20;
  --teal-glow:         rgba(12, 42, 32, 0.22);
  --accent:            var(--teal);

  /* Surfaces (formerly "glass" — now solid prestige cards) */
  --glass-bg:          #fdfbf4;
  --glass-border:      #e0d8c4;
  --glass-shadow:      rgba(27, 42, 34, 0.07);
  --glass-blur:        0px;
  --glass-hover-border:#c2992f;

  /* Misc */
  --radius:            4px;
  --radius-lg:         8px;
  --radius-xl:         12px;
  --radius-pill:       999px;
  --header-h:          78px;
  --rule-color:        #e0d8c4;
  --gold-line:         rgba(194, 153, 47, 0.55);

  /* Aurora — calmed to a faint warm wash */
  --aurora-a:          rgba(12, 42, 32, 0.04);
  --aurora-b:          rgba(194, 153, 47, 0.04);
  --aurora-c:          rgba(19, 74, 57, 0.03);
  --aurora-d:          rgba(156, 120, 32, 0.03);

  /* Dark section surface — deep forest */
  --dark-bg:           #0c2a20;
  --forest-2:          #0e3024;
  --dark-surface:      rgba(255, 255, 255, 0.04);
  --dark-ink:          #f0ece0;
  --dark-ink-muted:    #b5c0b6;
  --cream:             #f7f2e6;   /* fixed light tone for text on dark */
  --line-dark:         rgba(227, 194, 94, 0.18);  /* hairline on dark sections */

  /* Transitions */
  --theme-transition:  background-color 0.5s ease, color 0.5s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  --ease-out-expo:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:       cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Dark Mode Overrides ───────────────────────────────────── */
body.dark-mode {
  --bg:                #08201a;
  --bg2:               #0b271f;
  --bg3:               #103328;
  --surface:           #0d2a21;
  --surface-hover:     #123528;
  --surface-strong:    #143b2d;

  --ink:               #f0ece0;
  --ink-muted:         #b5c0b6;
  --ink-faint:         #7e8c83;

  --gold:              #d8b25a;
  --gold-deep:         #b08a2f;
  --gold-bright:       #e9cd72;
  --gold-glow:         rgba(227, 194, 94, 0.22);

  --glass-bg:          #0d2a21;
  --glass-border:      rgba(227, 194, 94, 0.16);
  --glass-shadow:      rgba(0, 0, 0, 0.35);
  --glass-hover-border:rgba(227, 194, 94, 0.5);

  --rule-color:        rgba(227, 194, 94, 0.16);
  --gold-line:         rgba(227, 194, 94, 0.4);

  --aurora-a:          rgba(19, 74, 57, 0.10);
  --aurora-b:          rgba(227, 194, 94, 0.04);
  --aurora-c:          rgba(20, 80, 70, 0.10);
  --aurora-d:          rgba(176, 122, 36, 0.03);

  --dark-bg:           #061812;
  --dark-surface:      rgba(255, 255, 255, 0.03);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  transition: var(--theme-transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;

  /* Aurora animated background */
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 20%, var(--aurora-a), transparent),
    radial-gradient(ellipse 70% 50% at 90% 80%, var(--aurora-b), transparent),
    radial-gradient(ellipse 90% 70% at 50% 10%, var(--aurora-c), transparent),
    radial-gradient(ellipse 60% 80% at 70% 60%, var(--aurora-d), transparent);
  background-size:
    200% 200%,
    180% 180%,
    220% 220%,
    190% 190%;
  animation: aurora-shift 45s ease-in-out infinite alternate;
}

@keyframes aurora-shift {
  0% {
    background-position:
      0% 0%,
      100% 100%,
      50% 0%,
      80% 50%;
  }
  25% {
    background-position:
      30% 20%,
      70% 80%,
      20% 40%,
      90% 30%;
  }
  50% {
    background-position:
      60% 40%,
      40% 60%,
      80% 20%,
      30% 70%;
  }
  75% {
    background-position:
      80% 60%,
      20% 30%,
      60% 80%,
      50% 20%;
  }
  100% {
    background-position:
      100% 80%,
      0% 20%,
      40% 60%,
      70% 90%;
  }
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  transition: color 0.4s ease;
}

h1 { font-size: clamp(2.2rem, 1.5rem + 3.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1rem + 1.25vw, 1.75rem); }
h4 { font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem); }

p {
  color: var(--ink-muted);
  transition: color 0.4s ease;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  transition: color 0.4s ease;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  border-radius: 2px;
  flex-shrink: 0;
}

.on-dark .eyebrow {
  color: var(--gold);
}

h1.display {
  font-size: clamp(2.6rem, 1.8rem + 4vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h2.display {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

h3.display {
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.lede {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 56ch;
}

.on-dark {
  color: var(--dark-ink);
}

.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4 {
  color: #f0f2ea;
}

.on-dark p,
.on-dark .lede {
  color: var(--dark-ink-muted);
}

.italic-serif {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-style: italic;
  font-variation-settings: 'opsz' 30;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
}

.section {
  padding-block: clamp(4rem, 6vw, 7rem);
  position: relative;
}

.section--tight {
  padding-block: clamp(2.5rem, 4vw, 4rem);
}

.section--dark {
  background: var(--dark-bg);
  color: var(--dark-ink);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #f0f2ea;
}

.section--dark p {
  color: var(--dark-ink-muted);
}

.section--paper2 {
  background: var(--bg2);
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  z-index: 0;
}

.rule {
  border: none;
  height: 1px;
  background: var(--rule-color);
  margin-block: clamp(2rem, 4vw, 4rem);
}

.rule--dark {
  background: rgba(255, 255, 255, 0.08);
}

.horizon {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.horizon .sun {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, rgba(229, 169, 59, 0) 70%);
  position: absolute;
  bottom: 20px;
  animation: sun-pulse 6s ease-in-out infinite alternate;
}

@keyframes sun-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 1; }
}

.horizon .line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: absolute;
  bottom: 20px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--teal);
  color: var(--teal);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo),
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
  perspective: 800px;
  transform-style: preserve-3d;
  min-height: 48px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out-expo);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--teal-glow);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at center, var(--teal-glow), transparent 70%);
  transition: opacity 0.35s ease;
  z-index: -1;
}

.btn:hover::after {
  opacity: 1;
}

.btn--solid {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn--solid:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  box-shadow: 0 8px 30px var(--teal-glow);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep), var(--gold));
  background-size: 200% 200%;
  color: #1a2e28;
  border-color: var(--gold);
  font-weight: 700;
  animation: shimmer-btn 4s ease-in-out infinite;
}

@keyframes shimmer-btn {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.btn--gold:hover {
  box-shadow: 0 8px 35px var(--gold-glow);
  transform: translateY(-2px) scale(1.02);
}

.btn--ghost-dark {
  border-color: rgba(255, 255, 255, 0.25);
  color: #e8ece4;
}

.btn--ghost-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 8px 30px rgba(229, 169, 59, 0.15);
}

/* ============================================================
   SITE HEADER (Sticky / Glassmorphic)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(240, 242, 234, 0.7);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--theme-transition), backdrop-filter 0.4s;
}

body.dark-mode .site-header {
  background: rgba(6, 14, 11, 0.75);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  object-position: left;
  image-rendering: -webkit-optimize-contrast;
}

.brand-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  transition: color 0.4s ease;
}

.brand-word span {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  position: relative;
  padding-block: 4px;
  transition: color 0.25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  border-radius: 2px;
  transition: width 0.35s var(--ease-out-expo);
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  width: 100%;
}

.nav a[aria-current="page"] {
  color: var(--teal);
  font-weight: 600;
}

.nav a[aria-current="page"]::after {
  width: 100%;
  background: var(--teal);
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1100;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.35s var(--ease-out-expo),
    opacity 0.25s ease,
    background 0.3s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

/* Hamburger → X morph */
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  cursor: pointer;
  transition: var(--theme-transition), transform 0.3s var(--ease-spring);
  flex-shrink: 0;
}

.theme-toggle:hover {
  transform: rotate(15deg) scale(1.08);
  border-color: var(--gold);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
  width: 20px;
  height: 20px;
  transition: opacity 0.3s ease, transform 0.4s var(--ease-spring);
}

body.dark-mode .theme-toggle .sun-icon {
  display: block;
}

body.dark-mode .theme-toggle .moon-icon {
  display: none;
}

body:not(.dark-mode) .theme-toggle .sun-icon {
  display: none;
}

body:not(.dark-mode) .theme-toggle .moon-icon {
  display: block;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--dark-bg);
  color: var(--dark-ink);
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 9rem) clamp(3rem, 6vw, 5rem);
}

/* Atmospheric glow spots */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}

.hero::before {
  width: 600px;
  height: 600px;
  top: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(37, 107, 98, 0.25) 0%, transparent 70%);
}

.hero::after {
  width: 500px;
  height: 500px;
  bottom: -15%;
  right: -5%;
  background: radial-gradient(circle, rgba(229, 169, 59, 0.15) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(229, 169, 59, 0.1);
  border: 1px solid rgba(229, 169, 59, 0.2);
  border-radius: var(--radius-pill);
}

.hero h1 {
  color: #f0f2ea;
  margin-bottom: 1.25rem;
}

/* Gradient text shimmer on hero h1.display */
.hero h1.display {
  background: linear-gradient(
    135deg,
    #f0f2ea 0%,
    var(--gold) 30%,
    #f0f2ea 50%,
    var(--gold) 70%,
    #f0f2ea 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 8s ease-in-out infinite;
}

@keyframes shimmer-text {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero .lede {
  color: var(--dark-ink-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-art svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 0 60px rgba(37, 107, 98, 0.2));
}

.hero-foot {
  position: relative;
  z-index: 2;
  margin-top: clamp(3rem, 5vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
}

.hero-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-foot-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-ink-muted);
  white-space: nowrap;
}

.hero-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.hero-logos:hover {
  opacity: 0.75;
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding-block: clamp(5rem, 10vw, 8rem) clamp(3rem, 5vw, 5rem);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  top: -40%;
  right: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 107, 98, 0.2) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #f0f2ea;
  margin-bottom: 1rem;
}

.page-hero .lede {
  color: var(--dark-ink-muted);
  max-width: 60ch;
}

.page-hero .crumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--dark-ink-muted);
  margin-bottom: 1.5rem;
}

.page-hero .crumb a {
  color: var(--gold);
}

/* ============================================================
   FEATURE (2-col alternating)
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.feature.reverse {
  direction: rtl;
}

.feature.reverse > * {
  direction: ltr;
}

.feature-media {
  position: relative;
}

.feature-media .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 4px 30px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-media .frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--teal-glow), transparent, var(--gold-glow));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-media:hover .frame::before {
  opacity: 1;
}

.feature-media .frame img {
  display: block;
  width: 100%;
  height: auto;
}

.ratio-4-3  { aspect-ratio: 4 / 3; }
.ratio-3-4  { aspect-ratio: 3 / 4; }
.ratio-16-10 { aspect-ratio: 16 / 10; }
.ratio-1-1  { aspect-ratio: 1 / 1; }

.ratio-4-3 img,
.ratio-3-4 img,
.ratio-16-10 img,
.ratio-1-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-corner {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--teal);
  border-radius: var(--radius-pill);
  z-index: 2;
}

/* ============================================================
   EVENT CARD
   ============================================================ */
.event-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow:
    0 4px 30px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.event-card:hover {
  border-color: var(--glass-hover-border);
  box-shadow:
    0 8px 40px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.event-card-body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-card-media {
  position: relative;
  overflow: hidden;
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.event-card:hover .event-card-media img {
  transform: scale(1.04);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.event-meta b {
  color: var(--ink);
  font-weight: 600;
}

.quote-strip {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-color);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ============================================================
   PILLARS (4-col glass cards)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.pillar {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out-expo),
    border-color 0.35s ease,
    box-shadow 0.4s var(--ease-out-expo);
  box-shadow:
    0 4px 24px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Glass shine sweep effect */
.pillar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 60%,
    transparent 80%
  );
  transition: left 0.6s var(--ease-out-expo);
  pointer-events: none;
  z-index: 1;
}

.pillar:hover::after {
  left: 100%;
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: var(--glass-hover-border);
  box-shadow:
    0 16px 50px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.pillar .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

.pillar h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.pillar p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.pillar .arrow-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.3s var(--ease-out-expo);
}

.pillar:hover .arrow-line {
  gap: 14px;
}

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap {
  position: relative;
}

.roadmap-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  padding-top: 3rem;
}

.roadmap-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rule-color);
  border-radius: 3px;
  overflow: hidden;
}

.roadmap-line .fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 3px;
  transition: width 1.5s var(--ease-out-expo);
}

.roadmap.is-visible .roadmap-line .fill {
  width: 100%;
}

.way {
  position: relative;
  padding-top: 2rem;
}

.way::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--bg);
  box-shadow: 0 0 20px var(--teal-glow);
  z-index: 2;
}

.way .year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.way h4 {
  margin-bottom: 0.5rem;
}

.way p {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.stat {
  background: var(--dark-surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.35s ease;
}

/* Glass shine sweep */
.stat::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.04) 40%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 60%,
    transparent 80%
  );
  transition: left 0.6s var(--ease-out-expo);
  pointer-events: none;
}

.stat:hover::after {
  left: 100%;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.stat .figure {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat .label {
  font-size: 0.85rem;
  color: var(--dark-ink-muted);
  line-height: 1.45;
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partner-tier {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.partner-tier-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.25rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo), background 0.3s ease;
}

body.dark-mode .partner-logo {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-logo:hover {
  border-color: var(--glass-hover-border);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.85);
}

body.dark-mode .partner-logo:hover {
  background: rgba(255, 255, 255, 0.08);
}

.partner-logo img {
  max-height: 36px;
  opacity: 0.7;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: grayscale(1) contrast(1.15);
}

.partner-logo:hover img {
  opacity: 1;
  filter: grayscale(0) contrast(1.15);
}

body.dark-mode .partner-logo img {
  filter: invert(1) brightness(1.6) grayscale(1);
  opacity: 0.65;
}

body.dark-mode .partner-logo:hover img {
  filter: invert(1) brightness(2) grayscale(0);
  opacity: 1;
}

/* Infinite scroll marquee */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* ============================================================
   STORY CARDS
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.story-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.4s var(--ease-out-expo),
    border-color 0.35s ease,
    box-shadow 0.4s var(--ease-out-expo);
  box-shadow:
    0 4px 24px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Glass shine sweep */
.story-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 60%,
    transparent 80%
  );
  transition: left 0.6s var(--ease-out-expo);
  pointer-events: none;
  z-index: 2;
}

.story-card:hover::after {
  left: 100%;
}

.story-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-hover-border);
  box-shadow:
    0 16px 50px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.story-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s var(--ease-out-expo),
    filter 0.4s ease;
}

.story-card:hover .story-media img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.story-body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.75rem;
}

.story-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.story-body p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
  flex: 1;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap 0.3s var(--ease-out-expo), color 0.25s ease;
}

.story-link:hover {
  gap: 12px;
  color: var(--gold);
}

/* ============================================================
   NEWS ACCORDION (Posts)
   ============================================================ */
.post {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.post:hover {
  border-color: var(--glass-hover-border);
}

.post-head {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  cursor: pointer;
  transition: background 0.25s ease;
}

.post-head:hover {
  background: var(--surface-hover);
}

.post-head img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}

.post-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.25rem;
}

.post-head h3 {
  font-size: 1.05rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.35;
}

.post-chevron {
  margin-left: auto;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--ink-faint);
  transition: transform 0.35s var(--ease-out-expo), color 0.25s ease;
}

.post.is-open .post-chevron {
  transform: rotate(180deg);
  color: var(--teal);
}

.post-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo);
}

.post.is-open .post-panel {
  max-height: 600px;
}

.post-panel-inner {
  padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem);
  padding-left: calc(64px + clamp(1rem, 2vw, 1.5rem) + clamp(1rem, 2vw, 1.5rem));
}

.post-panel-inner p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.post-panel-inner dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
}

.post-panel-inner dt {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}

.post-panel-inner dd {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.team-card {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s ease, transform 0.35s var(--ease-out-expo);
  min-height: 150px;
}

.team-card:hover {
  border-color: var(--glass-hover-border);
  transform: translateY(-4px);
}

.team-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--glass-border);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-photo.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rule-color);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--teal);
}
body.dark-mode .team-photo.avatar {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
}

.team-card h3 {
  font-size: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
body.dark-mode .team-card h3 {
  color: var(--dark-ink);
}

.team-card .role {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.4;
}
body.dark-mode .team-card .role {
  color: var(--dark-ink-muted);
}

/* ============================================================
   VALUES
   ============================================================ */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
  padding-block: clamp(1.5rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--rule-color);
}

.value-row:last-child {
  border-bottom: none;
}

.value-row .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
}

.value-row h4 {
  margin-bottom: 0.35rem;
}

.value-row p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 60ch;
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.philosophy blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  position: relative;
  padding-top: 2rem;
}

.philosophy blockquote::before {
  content: '\201C';
  position: absolute;
  top: -0.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
  font-family: 'Cormorant Garamond', serif;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow:
    0 4px 30px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
  background: var(--surface-strong);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.check-pill {
  position: relative;
}

.check-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.check-pill span {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--surface);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.check-pill input:checked + span {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  box-shadow: 0 2px 12px var(--teal-glow);
}

.check-pill span:hover {
  border-color: var(--teal);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-note {
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.form-success {
  padding: 1.25rem;
  background: rgba(37, 107, 98, 0.08);
  border: 1px solid rgba(37, 107, 98, 0.2);
  border-radius: var(--radius);
  color: var(--teal-deep);
  font-weight: 500;
  font-size: 0.92rem;
  text-align: center;
}

/* ============================================================
   INFO GRID
   ============================================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.info-block {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  transition: border-color 0.35s ease, transform 0.35s var(--ease-out-expo);
}

.info-block:hover {
  border-color: var(--glass-hover-border);
  transform: translateY(-3px);
}

.info-block b {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.info-block p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.info-block a {
  color: var(--teal);
  font-weight: 500;
}

.info-block a:hover {
  color: var(--gold);
}

/* ============================================================
   AWARDS
   ============================================================ */
.award-hero {
  text-align: center;
  padding-block: clamp(2rem, 4vw, 4rem);
}

.price-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 4rem);
  background: linear-gradient(135deg, rgba(229, 169, 59, 0.12), rgba(229, 169, 59, 0.04));
  border: 1px solid rgba(229, 169, 59, 0.25);
  border-radius: var(--radius-xl);
}

.price-tag .amt {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.price-tag .note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.35rem;
}

.award-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.award-cat {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-out-expo),
    border-color 0.35s ease;
}

/* Glass shine sweep */
.award-cat::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 60%,
    transparent 80%
  );
  transition: left 0.6s var(--ease-out-expo);
  pointer-events: none;
}

.award-cat:hover::after {
  left: 100%;
}

.award-cat:hover {
  transform: translateY(-5px);
  border-color: var(--glass-hover-border);
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: step-counter;
}

.step {
  text-align: center;
  padding: clamp(1.25rem, 2vw, 2rem);
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h4 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ============================================================
   PROGRAMS
   ============================================================ */
.program-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.program-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s ease, transform 0.35s var(--ease-out-expo);
}

.program-row:hover {
  border-color: var(--glass-hover-border);
  transform: translateY(-2px);
}

.program-row .tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(229, 169, 59, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.program-row h3 {
  font-size: 1.15rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.program-row .arrow-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
  transition: gap 0.3s var(--ease-out-expo);
}

.program-row:hover .arrow-line {
  gap: 14px;
}

.program-row .col p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.program-row .col-side {
  text-align: right;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background:
    linear-gradient(135deg, rgba(37, 107, 98, 0.15), rgba(229, 169, 59, 0.08)),
    var(--dark-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-band::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(229, 169, 59, 0.12), transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  color: #f0f2ea;
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--dark-ink-muted);
  max-width: 55ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background:
    radial-gradient(ellipse 50% 40% at 20% 90%, rgba(37, 107, 98, 0.1), transparent),
    radial-gradient(ellipse 40% 50% at 80% 80%, rgba(229, 169, 59, 0.06), transparent),
    linear-gradient(180deg, var(--dark-bg), #040a07);
  color: var(--dark-ink-muted);
  padding-top: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  max-width: 260px;
}

.footer-brand .brand-word {
  color: #f0f2ea;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--dark-ink-muted);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--dark-ink-muted);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-spring);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0f2ea;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--dark-ink-muted);
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col address {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--dark-ink-muted);
  line-height: 1.65;
}

.footer-bottom {
  padding-block: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  --reveal-delay: 0ms;
}

[data-reveal] > * {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}

/* Staggered delays */
[data-reveal] > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal] > *:nth-child(2) { transition-delay: 80ms; }
[data-reveal] > *:nth-child(3) { transition-delay: 160ms; }
[data-reveal] > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal] > *:nth-child(5) { transition-delay: 320ms; }
[data-reveal] > *:nth-child(6) { transition-delay: 400ms; }
[data-reveal] > *:nth-child(7) { transition-delay: 480ms; }
[data-reveal] > *:nth-child(8) { transition-delay: 560ms; }
[data-reveal] > *:nth-child(9) { transition-delay: 640ms; }
[data-reveal] > *:nth-child(10) { transition-delay: 720ms; }

[data-reveal].is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================================
   BACK TO TOP (Fixed FAB)
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--ease-out-expo),
    border-color 0.25s ease;
  box-shadow: 0 4px 20px var(--glass-shadow);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.back-to-top svg.progress-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-circle__bg {
  fill: none;
  stroke: var(--glass-border);
  stroke-width: 2;
}

.progress-circle__fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.2s ease;
}

.back-to-top .back-to-top__arrow {
  width: 18px;
  height: 18px;
  color: var(--ink);
  position: relative;
  z-index: 2;
}

/* ============================================================
   MISC
   ============================================================ */
.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.list-check {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.list-check li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37, 107, 98, 0.1);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.banner-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.5rem;
  background: rgba(229, 169, 59, 0.08);
  border: 1px solid rgba(229, 169, 59, 0.2);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.empty-state {
  text-align: center;
  padding: clamp(3rem, 6vw, 6rem) 2rem;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

/* ============================================================
   CURSOR GLOW
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle,
    rgba(229, 169, 59, 0.06) 0%,
    rgba(37, 107, 98, 0.04) 30%,
    transparent 70%
  );
  mix-blend-mode: soft-light;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  transform: translate(-50%, -50%);
}

body.dark-mode .cursor-glow {
  background: radial-gradient(
    circle,
    rgba(229, 169, 59, 0.08) 0%,
    rgba(37, 107, 98, 0.06) 30%,
    transparent 70%
  );
  opacity: 0.5;
}

/* ============================================================
   RESPONSIVE — Breakpoints
   ============================================================ */

/* ── Large tablets & below (1024px) ─────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-art {
    order: -1;
  }

  .hero-art svg {
    max-width: 360px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-foot .wrap {
    justify-content: center;
    text-align: center;
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

  .feature.reverse {
    direction: ltr;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .award-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Tablets (768px) ────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1050;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg) !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  body.dark-mode .nav {
    background: var(--bg) !important;
  }

  .nav-toggle[aria-expanded="true"] ~ .nav,
  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle[aria-expanded="true"] ~ .nav a:not(.btn),
  .nav.is-open a:not(.btn) {
    display: block;
  }

  .nav a {
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

  .col-2 {
    grid-template-columns: 1fr;
  }

  .roadmap-track {
    grid-template-columns: 1fr;
    padding-top: 0;
    padding-left: 2.5rem;
  }

  .roadmap-line {
    width: 3px;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
  }

  .roadmap-line .fill {
    width: 100% !important;
    height: 0;
    transition: height 1.5s var(--ease-out-expo);
  }

  .roadmap.is-visible .roadmap-line .fill {
    height: 100%;
    width: 100%;
  }

  .way::before {
    left: -2.5rem;
    top: 1rem;
    transform: translate(-50%, 0);
  }

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

  .form-grid .full {
    grid-column: auto;
  }

  .program-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .program-row .col-side {
    text-align: left;
  }
}

/* ── Mobile (540px) ─────────────────────────────────────────── */
@media (max-width: 540px) {
  .pillars {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .award-categories {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-logos {
    justify-content: center;
  }

  .value-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .value-row .num {
    font-size: 1.5rem;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band {
    padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2rem);
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
  }

  .post-head img {
    width: 48px;
    height: 48px;
  }

  .post-panel-inner {
    padding-left: clamp(1rem, 2vw, 1.5rem);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body {
    animation: none;
  }

  .hero h1.display {
    animation: none;
    background-size: 100% 100%;
  }

  .btn--gold {
    animation: none;
  }

  .marquee-track {
    animation: none;
  }

  [data-reveal] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .roadmap-line .fill {
    transition: none;
    width: 100%;
  }

  .pillar::after,
  .story-card::after,
  .stat::after,
  .award-cat::after {
    display: none;
  }

  .horizon .sun {
    animation: none;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .cursor-glow,
  .grain,
  .nav-toggle,
  .theme-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    animation: none;
  }

  .section--dark {
    background: #f5f5f5;
    color: #000;
  }
}

/* ============================================================
   DESIGN ENHANCEMENTS v2
   Advanced visual upgrades layered on top
   ============================================================ */

/* ── Enhanced Header — animated border on scroll ─────────── */
.site-header {
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 40px rgba(37, 107, 98, 0.08);
}
body.dark-mode .site-header.scrolled {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

/* ── Nav: active indicator pill instead of underline ─────── */
.nav a[aria-current="page"] {
  background: rgba(37, 107, 98, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
}
.nav a[aria-current="page"]::after {
  display: none;
}

/* ── Hero — layered particle grid overlay ────────────────── */
.hero::before,
.hero::after {
  filter: blur(120px);
}

/* Subtle grid lines on hero */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.4) 30%, rgba(0,0,0,.4) 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.4) 30%, rgba(0,0,0,.4) 70%, transparent);
}

/* ── Chip — improved with pulse dot ──────────────────────── */
.chip.live::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 4px;
  animation: chip-pulse 2s ease-in-out infinite;
}
@keyframes chip-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ── Hero Art — pulsing rings ─────────────────────────────── */
.hero-art svg circle[r="92"] {
  animation: ring-pulse 4s ease-in-out infinite alternate;
}
@keyframes ring-pulse {
  0%   { r: 88; }
  100% { r: 96; }
}

/* ── Floating tag / badge ─────────────────────────────────── */
.float-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(37, 107, 98, 0.08);
  border: 1px solid rgba(37, 107, 98, 0.2);
  border-radius: var(--radius-pill);
  animation: float-badge 6s ease-in-out infinite alternate;
}
@keyframes float-badge {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* ── Enhanced Feature Media ───────────────────────────────── */
.feature-media .frame {
  box-shadow:
    0 8px 40px rgba(0,0,0,0.15),
    0 2px 8px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.feature-media .frame img {
  transition: transform 0.8s var(--ease-out-expo);
}

.feature-media:hover .frame img {
  transform: scale(1.03);
}

/* ── Pillar — numbered accent line ───────────────────────── */
.pillar {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--gold), var(--teal)) 1;
  border-image-slice: 1;
}
/* Reset border-radius lost by border-image */
.pillar {
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

/* ── Story card — category tag ───────────────────────────── */
.story-card .story-tag {
  display: inline-block;
  padding: 3px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(37, 107, 98, 0.08);
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
}

/* ── Stat cards — gold underline on hover ────────────────── */
.stat {
  border-bottom: 2px solid transparent;
  transition:
    transform 0.4s var(--ease-out-expo),
    border-color 0.35s ease;
}
.stat:hover {
  border-bottom-color: var(--gold);
}

/* ── Section divider lines ───────────────────────────────── */
.section-rule {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  border-radius: 3px;
  margin-bottom: 1.25rem;
}

/* ── Quote decorative mark ───────────────────────────────── */
.quote-strip {
  position: relative;
  padding-left: 1.5rem;
}
.quote-strip::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--teal));
  border-radius: 3px;
}

/* ── Partner logos — improved hover ──────────────────────── */
.partner-logo {
  min-height: 80px;
}
.partner-logo img {
  max-height: 44px;
  width: auto;
  max-width: 100%;
}

/* ── Event card — accent corner ──────────────────────────── */
.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold));
  background-size: 200% 100%;
  animation: shimmer-btn 4s ease-in-out infinite;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 2;
}
.event-card {
  position: relative;
}

/* ── Roadmap waypoints — hover accent ────────────────────── */
.way {
  transition: transform 0.35s var(--ease-out-expo);
  border-left: 2px solid transparent;
  padding-left: 1.25rem;
}
.way:hover {
  transform: translateY(-4px);
  border-left-color: var(--gold);
}

/* ── CTA band — animated border ─────────────────────────── */
.cta-band {
  position: relative;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-xl) + 1px);
  background: linear-gradient(135deg, rgba(229,169,59,.25), transparent 50%, rgba(37,107,98,.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  animation: cta-border-spin 8s linear infinite;
}
@keyframes cta-border-spin {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(30deg); }
}

/* ── Footer — improved top rule ──────────────────────────── */
.footer-col h5 {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1rem;
}

/* ── Admin bar link ──────────────────────────────────────── */
.admin-bar {
  display: none !important;
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(10, 20, 16, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(37,107,98,.25);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(232,236,228,.7);
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, opacity 0.25s;
  opacity: 0.7;
}
.admin-bar::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: chip-pulse 2s ease-in-out infinite;
}
.admin-bar:hover {
  border-color: rgba(229,169,59,.4);
  color: var(--gold);
  opacity: 1;
}

/* ── Improved image loading ───────────────────────────────── */
img {
  background: var(--bg2);
}
img.is-loaded {
  animation: img-fade-in 0.4s ease;
}
@keyframes img-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Text selection ───────────────────────────────────────── */
::selection {
  background: rgba(229, 169, 59, 0.25);
  color: var(--ink);
}

/* ── Focus ring upgrade ───────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ============================================================
   MOBILE ENHANCEMENTS v2
   Sticky CTA, safe-area insets, improved breakpoints
   ============================================================ */

/* ── Sticky Bottom CTA (injected by site-data.js) ─────────── */
#nzh-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--gold, #e5a93b);
  padding: 14px 20px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
#nzh-sticky-cta a {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.3px;
}

/* ── WhatsApp Floating Button ──────────────────────────────── */
#nzh-wa-btn {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#nzh-wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
}

/* ── Draft Preview Banner ───────────────────────────────────── */
#nzh-draft-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #f59e0b;
  color: #1a1200;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.3px;
}

/* ── Breakpoints (1200px / 900px / 600px) ───────────────────── */
@media (max-width: 1200px) {
  .hero-inner { gap: 3rem; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .grid-partners { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-art { width: 280px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-foot { justify-content: center; }
  .feature-inner { flex-direction: column; }
  .feature-content { max-width: 100%; }
  .feature-media { width: 100%; margin-top: 2rem; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .event-card-inner { flex-direction: column; }
  .event-card-media { width: 100%; height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  :root { --section-gap: 3rem; }
  h1 { font-size: clamp(1.8rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .stats-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-actions { flex-direction: column; align-items: stretch; }
  .cta-band-actions .btn { text-align: center; }
  .hero-chips { flex-wrap: wrap; justify-content: center; }
  .event-meta { flex-direction: column; gap: 0.5rem; }
  body { font-size: 15px; }
}

/* ── Mobile nav hamburger (if you add one later) ───────────── */
@media (max-width: 900px) {
  .site-header .nav .btn {
    display: inline-flex;
  }
}

/* ── Card carousel — scroll-snap ───────────────────────────── */
.scroll-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.scroll-carousel::-webkit-scrollbar { display: none; }
.scroll-carousel > * {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: clamp(280px, 80vw, 360px);
}

@media (min-width: 901px) {
  .scroll-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    overflow-x: unset;
    scroll-snap-type: unset;
  }
  .scroll-carousel > * {
    width: auto;
  }
}

/* ── Smooth scrollbar styling ───────────────────────────────── */
html {
  scroll-behavior: smooth;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(229,169,59,0.25);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(229,169,59,0.4);
}

/* ── Scroll margin for anchor links ──────────────────────── */
[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

/* ── Hero logos — improved filter ────────────────────────── */
.hero-logos img {
  height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

/* ── Eyebrow — enhanced in dark sections ─────────────────── */
.section--dark .eyebrow,
.section--dark .eyebrow::before {
  --teal: var(--gold);
}

/* ── Page hero — gradient text on h1 ─────────────────────── */
.page-hero h1.display {
  background: linear-gradient(
    135deg,
    #f0f2ea 0%,
    var(--gold) 35%,
    #f0f2ea 55%,
    #bcd4c8 80%,
    #f0f2ea 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 10s ease-in-out infinite;
}

/* ── Back to top — improved styling ──────────────────────── */
.back-to-top {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* ── Tag corner — pulse on hover ─────────────────────────── */
.tag-corner {
  transition: background 0.25s, transform 0.25s;
}
.feature-media:hover .tag-corner {
  background: var(--gold-deep);
  transform: scale(1.04);
}

/* ── Animated hero stats bar ─────────────────────────────── */
.stats {
  background: linear-gradient(135deg, var(--dark-bg), rgba(37,107,98,.06), var(--dark-bg));
  border-radius: var(--radius-xl);
  padding: 2rem;
}

/* ── hero-logos images — grayscale to color on section hover ─ */
.hero-foot:hover .hero-logos {
  opacity: 0.8;
}

/* ── Better mobile menu ──────────────────────────────────── */
@media (max-width: 768px) {
  .nav {
    padding: 2rem;
    gap: 2rem;
  }
  .nav a.btn {
    margin-top: 1rem;
    font-size: 1rem;
  }
}

/* ── Smooth anchor nav indicator ────────────────────────── */
.nav a {
  transition: color 0.25s ease, background 0.25s ease, padding 0.25s ease;
}

/* ── Enhanced footer bottom ─────────────────────────────── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom ul {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom ul li a {
  font-size: 0.78rem;
  color: rgba(255,255,255,.3);
  transition: color 0.25s;
}
.footer-bottom ul li a:hover {
  color: var(--gold);
}

/* ── Glass card border gradient ─────────────────────────── */
.pillar,
.story-card,
.award-cat {
  transition:
    transform 0.4s var(--ease-out-expo),
    border-color 0.35s ease,
    box-shadow 0.4s var(--ease-out-expo);
}

/* ── "New" badge on story cards ─────────────────────────── */
.story-card[data-new]::after {
  content: 'NEW';
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 3px 8px;
  background: var(--gold);
  color: #1a2e28;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
}

/* ── Data attributes for staggered reveals ──────────────── */
[data-reveal-delay="1"] > * { transition-delay: 100ms !important; }
[data-reveal-delay="2"] > * { transition-delay: 200ms !important; }

/* ── Section background pattern variant ─────────────────── */
.section--pattern {
  background-image:
    radial-gradient(circle at 20% 50%, var(--aurora-a), transparent 60%),
    radial-gradient(circle at 80% 20%, var(--aurora-b), transparent 60%),
    linear-gradient(var(--bg2), var(--bg2));
}

/* ── Improved scrollbar ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(37,107,98,.3); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(37,107,98,.55); }

/* ============================================================
   DESIGN ENHANCEMENTS v3 — Particle Canvas · Globe · Parallax
   ============================================================ */

/* ── Hero canvas particles ─────────────────────────────────── */
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

/* Ensure all hero content sits above canvas */
.hero-grid,
.hero-foot {
  position: relative;
  z-index: 3;
}

.hero-grid-lines {
  z-index: 2;
}

/* ── Hero copy sequential reveal ────────────────────────────── */
.hero-copy .hero-kicker {
  animation: hero-item-in 0.8s var(--ease-out-expo) 0.15s both;
}
.hero-copy h1.display {
  animation:
    shimmer-text 10s ease-in-out 1.2s infinite,
    hero-item-in 0.9s var(--ease-out-expo) 0.3s both;
}
.hero-copy .lede {
  animation: hero-item-in 0.9s var(--ease-out-expo) 0.48s both;
}
.hero-copy .hero-actions {
  animation: hero-item-in 0.9s var(--ease-out-expo) 0.64s both;
}
.hero-art {
  animation: hero-art-in 1.1s var(--ease-out-expo) 0.4s both;
}

@keyframes hero-item-in {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hero-art-in {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* ── Globe SVG — prevent layout shift ──────────────────────── */
.hero-art svg {
  filter:
    drop-shadow(0 0 40px rgba(37,107,98,0.25))
    drop-shadow(0 0 80px rgba(229,169,59,0.1));
  transition: filter 0.6s ease;
}
.hero-art:hover svg {
  filter:
    drop-shadow(0 0 60px rgba(37,107,98,0.35))
    drop-shadow(0 0 100px rgba(229,169,59,0.15));
}

/* ── Slow globe float ───────────────────────────────────────── */
.hero-art {
  animation: hero-art-in 1.1s var(--ease-out-expo) 0.4s both,
             globe-float 8s ease-in-out infinite 1.5s;
}
@keyframes globe-float {
  0%, 100% { transform: translateY(0);     }
  50%       { transform: translateY(-10px); }
}

/* ── Parallax wrapper ───────────────────────────────────────── */
.hero-copy {
  will-change: transform;
}

/* ── Stats section — upgraded layout ───────────────────────── */
.stats {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
}

/* ── Section transition: dark-to-light fade ─────────────────── */
.section--dark + .section,
.section--dark + .section--tight {
  position: relative;
}
.section--dark + .section::before,
.section--dark + .section--tight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--dark-bg), transparent);
  pointer-events: none;
  z-index: 0;
}

/* ── Reduce hero-art float on mobile (avoid layout jitter) ──── */
@media (max-width: 1024px) {
  .hero-art {
    animation: hero-art-in 1.1s var(--ease-out-expo) 0.4s both;
  }
}

/* ── Reduced motion: disable new animations ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-copy .hero-kicker,
  .hero-copy h1.display,
  .hero-copy .lede,
  .hero-copy .hero-actions,
  .hero-art {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  #hero-particles { display: none; }
}

/* ============================================================
   NEW STYLES FOR OVERHAUL BRIEF (Magazine, Key Voices, Form Groups)
   ============================================================ */

/* ── Core Pillar Bullets ───────────────────────────────────── */
.pillar ul {
  margin: 1.25rem 0 0;
  padding-left: 1.2rem;
  list-style-type: disc;
}
.pillar li {
  margin-bottom: 0.5rem;
  color: var(--ink-muted);
  line-height: 1.5;
  font-size: 0.88rem;
}
body.dark-mode .pillar li {
  color: var(--dark-ink-muted);
}

/* ── Key Voices / Dignitaries Scroller ─────────────────────── */
.key-voices-section {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.voice-scroller {
  margin-top: 2.5rem;
}
.voice-track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}
.voice-card {
  width: 260px;
  flex: 0 0 260px;
  padding: 1.75rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 8px 32px var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur));
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.voice-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-hover-border);
}
.voice-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--gold);
}
.voice-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.voice-card p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* ── Magazine Page Hero & Layout ───────────────────────────── */
.magazine-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.magazine-cover-wrapper {
  perspective: 1200px;
}
.magazine-cover {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.3);
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}
.magazine-cover:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.03);
}

/* ── Next Issue Card ────────────────────────────────────────── */
.next-issue-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-top: 2rem;
  box-shadow: 0 10px 40px var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur));
}

/* ── Contributors Section ──────────────────────────────────── */
.contributor-scroller {
  margin-top: 2.5rem;
}
.contributor-card {
  width: 240px;
  flex: 0 0 240px;
  padding: 1.5rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 8px 32px var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur));
  transition: transform 0.4s ease;
}
.contributor-card:hover {
  transform: translateY(-4px);
}
.contributor-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 2px solid var(--teal);
}
.contributor-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.contributor-card p {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ── Past Editions ─────────────────────────────────────────── */
.past-edition-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 10px 40px var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur));
  align-items: center;
}
.past-edition-card img {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}
.past-edition-card:hover img {
  transform: scale(1.03);
}

/* ── Past Events Grid ──────────────────────────────────────── */
.past-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.past-event-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur));
  transition: transform 0.4s ease;
}
.past-event-card:hover {
  transform: translateY(-4px);
}
.past-event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.past-event-body {
  padding: 1.5rem;
}
.past-event-body h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
}

/* ── Grouped Form Fieldsets ────────────────────────────────── */
.form-group-step {
  border: none;
  margin-bottom: 2.5rem;
  padding: 0;
}
.form-group-step legend {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1.25rem;
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--rule-color);
  padding-bottom: 0.5rem;
}
body.dark-mode .form-group-step legend {
  color: var(--gold);
}

/* ── Responsive styling overrides ──────────────────────────── */
@media (max-width: 768px) {
  .magazine-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .magazine-cover {
    max-width: 240px;
  }
  .next-issue-card {
    padding: 1.5rem;
  }
  .past-edition-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .past-edition-card img {
    max-width: 180px;
    margin: 0 auto;
  }
}

/* ============================================================
   PRESTIGE OVERHAUL — "National Summit" visual language
   Layered last so it wins the cascade. Ceremonial, gold-rich,
   solid surfaces, calmer motion. Applies to every page.
   ============================================================ */

/* ── Display type: grand, ceremonial Cormorant ─────────────── */
h1, h2, h3, h4 { letter-spacing: 0; }
h1.display { letter-spacing: -0.005em; line-height: 1.04; }
h2.display { letter-spacing: 0; line-height: 1.08; }
.brand-word { letter-spacing: 0.005em; }

/* ── Eyebrow: gold ceremonial label with hairline ──────────── */
.eyebrow {
  color: var(--gold-deep);
  letter-spacing: 0.28em;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}
body.dark-mode .eyebrow { color: var(--gold-bright); }
.eyebrow::before {
  width: 32px; height: 1px;
  background: var(--gold-line);
  border-radius: 0;
}
.on-dark .eyebrow,
.section--dark .eyebrow { color: var(--gold-bright); }

/* ── Buttons: sharp, uppercase, confident ──────────────────── */
.btn {
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  border-width: 1px;
}
.btn--solid { background: var(--teal); color: #f7f2e6; }
.btn--solid:hover { background: var(--teal-deep); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #2a1f02;
  animation: none;
}
.btn--gold:hover { box-shadow: 0 10px 30px var(--gold-glow); transform: translateY(-2px); }
.btn::after { display: none; }

/* ── Calm the decorative layers ────────────────────────────── */
.cursor-glow { display: none; }
body { animation: none; }                 /* freeze aurora drift */
.pillar::after,
.story-card::after,
.stat::after,
.award-cat::after { display: none !important; }   /* drop glass shine sweeps */

/* Hero headline: solid cream, no shimmer gradient */
.hero h1.display,
.page-hero h1.display {
  background: none;
  -webkit-text-fill-color: #fdfbf4;
  color: #fdfbf4;
  animation: none;
}
.hero-copy h1.display {
  animation: hero-item-in 0.9s var(--ease-out-expo) 0.3s both;
}
.hero h1.display em { font-style: italic; color: var(--gold-bright); }

/* ── Solid prestige cards: clean borders, refined shadow ───── */
.pillar, .story-card, .event-card, .team-card, .info-block,
.award-cat, .program-row, .voice-card, .contributor-card,
.next-issue-card, .past-edition-card, .past-event-card, .form-card, .post {
  box-shadow: 0 1px 2px rgba(27,42,34,0.04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.pillar:hover, .story-card:hover, .info-block:hover,
.award-cat:hover, .program-row:hover, .voice-card:hover,
.contributor-card:hover, .past-event-card:hover, .team-card:hover {
  box-shadow: 0 14px 40px rgba(27,42,34,0.10);
  border-color: var(--gold-line);
}

/* Pillar: keep the gold top accent, sharpen numerals */
.pillar {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--gold), var(--gold-deep)) 1;
}
.pillar .num { color: var(--gold-deep); opacity: 0.85; font-weight: 600; }
.pillar .arrow-line, .program-row .arrow-line, .story-link { color: var(--teal); }
.pillar:hover .arrow-line, .story-card:hover .story-link { color: var(--gold-deep); }

/* ── Feature media: ceremonial inset gold frame ───────────── */
.feature-media .frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule-color);
  box-shadow: 0 10px 36px rgba(27,42,34,0.12);
}
.feature-media .frame::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid var(--gold-line);
  border-radius: 0;
  background: none;
  -webkit-mask: none;
  mask: none;
  opacity: 1;
  z-index: 3;
  pointer-events: none;
}
.tag-corner {
  border-radius: 0;
  background: var(--teal);
  color: var(--gold-bright);
  letter-spacing: 0.1em;
}

/* ── Stats band: bordered, gold dividers, serif figures ────── */
.stats {
  background: var(--dark-bg);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
}
.stat {
  border-radius: 0;
  border: none;
  border-left: 1px solid rgba(227,194,94,0.18);
  text-align: center;
  background: transparent;
}
.stat:first-child { border-left: none; }
.stat:hover { transform: none; border-bottom-color: transparent; }
.stat .figure { color: var(--gold-bright); font-weight: 600; }

/* ── Dignitary / voice avatars: gold ceremonial ring ───────── */
.voice-card { border-radius: var(--radius-lg); }
.voice-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; }
.voice-card > div:first-child,
.contributor-card img,
.voice-card img {
  border: 2px solid var(--gold-line) !important;
  box-shadow: 0 0 0 6px rgba(194,153,47,0.06);
}

/* ── Partner tiles: solid, forest hover ────────────────────── */
.partner-logo {
  background: var(--surface);
  border: 1px solid var(--rule-color);
  border-radius: var(--radius);
}
body.dark-mode .partner-logo { background: var(--surface); border-color: var(--rule-color); }
.partner-logo:hover { border-color: var(--gold); background: var(--surface-strong); transform: translateY(-2px); }
.partner-tier-label { color: var(--gold-deep); letter-spacing: 0.18em; }
body.dark-mode .partner-tier-label { color: var(--gold-bright); }

/* ── Nav: gold hairline + gold active pill ─────────────────── */
.nav a::after { background: var(--gold); }
.nav a[aria-current="page"] {
  color: var(--teal);
  background: rgba(194,153,47,0.12);
}
body.dark-mode .nav a[aria-current="page"] { color: var(--gold-bright); }
.site-header {
  background: rgba(247,242,230,0.86);
  border-bottom: 1px solid var(--rule-color);
}
body.dark-mode .site-header { background: rgba(8,32,26,0.9); border-bottom-color: var(--gold-line); }

/* ── Section rules / dividers: gold ───────────────────────── */
.section-rule { background: var(--gold); }
.eyebrow::before, .rule { background: var(--rule-color); }
.section--paper2 { background: var(--bg2); border-block: 1px solid var(--rule-color); }

/* ── CTA band: solid forest, gold hairline, no spin ────────── */
.cta-band {
  background: linear-gradient(135deg, var(--teal-deep), var(--dark-bg));
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  backdrop-filter: none;
}
.cta-band::after { animation: none; background: none; }
.cta-band h2 { color: #fdfbf4; }

/* ── Event card: static gold top rule ──────────────────────── */
.event-card { border-radius: var(--radius-lg); }
.event-card::before {
  animation: none;
  background: var(--gold);
  height: 2px;
}

/* ── Roadmap: forest dots, gold-to-forest fill ─────────────── */
.way::before { background: var(--gold); border-color: var(--dark-bg); box-shadow: 0 0 16px var(--gold-glow); }
.roadmap-line .fill { background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }
.way .year { color: var(--gold-bright); }

/* ── Magazine cover: refined frame ─────────────────────────── */
.magazine-cover { border-radius: var(--radius); border: 1px solid var(--gold-line); }

/* ── Quotes / philosophy: ceremonial serif ─────────────────── */
.philosophy blockquote::before { color: var(--gold); }
.quote-strip::before { background: var(--gold); }

/* ── Footer: deep forest, gold labels ──────────────────────── */
.site-footer { border-top: 1px solid var(--gold-line); }
.footer-col h5 { color: var(--gold-bright); border-bottom-color: var(--gold-line); letter-spacing: 0.14em; }
.footer-social a:hover, .footer-col a:hover, .footer-bottom ul li a:hover { color: var(--gold-bright); }

/* ── Selection + scrollbar in gold ─────────────────────────── */
::selection { background: rgba(194,153,47,0.25); color: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold-line); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Dark-section text fixes (value rows, etc.) ────────────── */
.section--dark .value-row p,
.on-dark .value-row p { color: var(--dark-ink-muted); }
.section--dark .value-row h4,
.on-dark .value-row h4 { color: #fdfbf4; }
.value-row .num { color: var(--gold-bright); }
.next-issue-card .italic-serif { color: var(--ink-muted); }

/* ── Brand logos: header (mode-swapped) + footer + ISON ────── */
.brand { gap: 0; }
.brand .brand-logo {
  height: 42px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
  display: block;
}
.brand .brand-logo--dark { display: none; }
body.dark-mode .brand .brand-logo--light { display: none; }
body.dark-mode .brand .brand-logo--dark { display: block; }
@media (max-width: 540px) { .brand .brand-logo { height: 34px; } }

.footer-logo { height: 48px; width: auto; margin-bottom: 1rem; }
.ison-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.25rem;
  text-decoration: none;
}
.ison-credit img {
  width: 42px; height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ison-credit span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-ink-muted);
  line-height: 1.35;
  max-width: 24ch;
}
.ison-credit:hover span { color: var(--gold-bright); }

/* ── Reduced motion: nothing extra needed (already calm) ───── */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .hero-art { animation: none !important; }
}

/* ============================================================
   3D GLASSMORPHISM CARD UPGRADES (Pillars)
   ============================================================ */

/* Container Setup for 3D Perspective */
.pillars {
  perspective: 1200px;
}

.pillar {
  /* Reset previous border-image overrides from prestige theme */
  border-image: none !important;
  border-image-slice: 0 !important;
  border-top-width: 1px !important;
  
  /* Core Glassmorphism properties */
  border-radius: 16px !important;
  padding: 0 !important; /* Overridden to allow top image to stretch to edges */
  position: relative !important;
  overflow: hidden !important;
  transform-style: preserve-3d !important;
  display: flex !important;
  flex-direction: column !important;
  
  /* Smooth transition for hover effects */
  transition: 
    transform 0.4s var(--ease-out-expo),
    border-color 0.3s ease,
    box-shadow 0.4s var(--ease-out-expo) !important;
}

/* Fallback padding if the card does not contain a pillar-body class */
.pillar:not(:has(.pillar-body)) {
  padding: clamp(1.75rem, 3vw, 2.5rem) !important;
}

/* Light Theme Glass (default) */
.pillar {
  background: rgba(253, 251, 244, 0.45) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(19, 74, 57, 0.08) !important;
  box-shadow: 
    0 10px 30px -10px rgba(27, 42, 34, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

/* Dark Theme Glass (active when dark-mode is on body, or card is on a dark section) */
body.dark-mode .pillar,
.section--dark .pillar,
.on-dark .pillar {
  background: rgba(6, 24, 18, 0.6) !important; /* deeper forest glass background */
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(227, 194, 94, 0.15) !important;
  box-shadow: 
    0 20px 45px -15px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Interactive Cursor-Following Light Glow (Reflective Shimmer) */
.pillar::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  transition: opacity 0.4s ease !important;
  display: block !important;
}

/* Hover State - Glow Fades In */
.pillar:hover::before {
  opacity: 1 !important;
}

/* Light Mode Hover Glow (soft green/teal) */
.pillar::before {
  background: radial-gradient(
    250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(19, 74, 57, 0.08),
    transparent 60%
  ) !important;
}

/* Dark Mode Hover Glow (warm reflective gold) */
body.dark-mode .pillar::before,
.section--dark .pillar::before,
.on-dark .pillar::before {
  background: radial-gradient(
    250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(227, 194, 94, 0.14),
    transparent 60%
  ) !important;
}

/* Hover Elevation Styles */
.pillar:hover {
  border-color: rgba(19, 74, 57, 0.3) !important;
  box-shadow: 
    0 20px 40px -10px rgba(27, 42, 34, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.dark-mode .pillar:hover,
.section--dark .pillar:hover,
.on-dark .pillar:hover {
  border-color: rgba(227, 194, 94, 0.45) !important;
  box-shadow: 
    0 25px 50px -10px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(227, 194, 94, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* Card Body padding wrapper */
.pillar-body {
  padding: 1.5rem 1.8rem 2rem 1.8rem !important;
  position: relative !important;
  z-index: 2 !important;
  transform-style: preserve-3d !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

/* Thematic Wavy Image Header */
.pillar-image-header {
  position: relative !important;
  width: 100% !important;
  height: 180px !important;
  overflow: hidden !important;
  border-bottom-left-radius: 40% 12% !important;
  border-bottom-right-radius: 60% 8% !important;
  transform: translateZ(10px);
  box-shadow: inset 0 -15px 30px rgba(6, 24, 18, 0.3) !important;
}

.pillar-image-header img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  background: transparent !important;
  transition: transform 0.6s var(--ease-out-expo) !important;
}

.pillar:hover .pillar-image-header img {
  transform: scale(1.05);
}

/* Badge Overlay */
.pillar-badge-overlay {
  position: absolute !important;
  top: 1.25rem !important;
  left: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.6rem !important;
  z-index: 3 !important;
  transform: translateZ(35px);
}

.pillar-circle-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(227, 194, 94, 0.4) !important;
  background: rgba(6, 24, 18, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  color: var(--gold-bright) !important;
}

.pillar-circle-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(227, 194, 94, 0.35) !important;
  background: rgba(6, 24, 18, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: var(--gold-bright) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transition: border-color 0.3s ease, background-color 0.3s ease !important;
}

.pillar-circle-icon svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 1.75 !important;
  stroke: currentColor !important;
  fill: none !important;
}

.pillar:hover .pillar-circle-icon {
  border-color: rgba(227, 194, 94, 0.6) !important;
  background-color: rgba(6, 24, 18, 0.8) !important;
}

/* Horizontal Divider */
.pillar-divider {
  height: 1px !important;
  background: rgba(227, 194, 94, 0.18) !important;
  margin-block: 1.25rem !important;
  border: none !important;
  transform: translateZ(25px);
}

/* Bullet list overrides */
.pillar-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
  transform: translateZ(15px);
}

.pillar-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

.pillar-list-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(227, 194, 94, 0.25) !important;
  background: rgba(6, 24, 18, 0.4) !important;
  flex-shrink: 0 !important;
  color: var(--gold-bright) !important;
  margin-top: 1px !important;
  transition: background 0.35s ease, border-color 0.35s ease !important;
}

.pillar-list-icon svg {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 1.75 !important;
  stroke: currentColor !important;
  fill: none !important;
}

.pillar:hover .pillar-list-icon {
  border-color: rgba(227, 194, 94, 0.5) !important;
  background: rgba(227, 194, 94, 0.12) !important;
}

.pillar-list li span {
  font-size: 0.86rem !important;
  line-height: 1.45 !important;
  color: #cdd6cf !important;
  text-align: left !important;
  transition: color 0.35s ease !important;
}

/* 3D Depth layering for inner content */
.pillar .num,
.pillar h3,
.pillar .arrow-line,
.pillar p {
  position: relative !important;
  z-index: 2 !important;
  transform: translateZ(25px);
  transition: transform 0.1s ease-out;
}

/* Specific elements depth adjustments for visual separation */
.pillar .num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  transform: translateZ(40px); /* projects further out */
  color: var(--gold-deep) !important;
}

body.dark-mode .pillar .num,
.section--dark .pillar .num,
.on-dark .pillar .num {
  color: var(--gold-bright) !important;
}

.pillar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  transform: translateZ(30px);
  color: var(--ink) !important;
}

body.dark-mode .pillar h3,
.section--dark .pillar h3,
.on-dark .pillar h3 {
  color: var(--cream) !important;
}

/* Description Text - Arrow Line Legibility Fixes */
.pillar .arrow-line {
  display: block !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  margin-bottom: 0 !important; /* margins handled by dividers now */
  transform: translateZ(20px);
  color: var(--ink-muted) !important;
}

body.dark-mode .pillar .arrow-line,
.section--dark .pillar .arrow-line,
.on-dark .pillar .arrow-line {
  color: #cdd6cf !important; /* highly legible light gray-green in dark mode */
}

/* Paragraph styling inside the glass card (e.g. join-us page) */
.pillar p {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  margin-top: 0.5rem !important;
  transform: translateZ(20px);
  color: var(--ink-muted) !important;
}

body.dark-mode .pillar p,
.section--dark .pillar p,
.on-dark .pillar p {
  color: #cdd6cf !important;
}

/* Light Theme overrides for new elements */
body:not(.dark-mode) .pillar-circle-num {
  background: rgba(253, 251, 244, 0.75) !important;
  border-color: rgba(19, 74, 57, 0.18) !important;
  color: var(--gold-deep) !important;
}

body:not(.dark-mode) .pillar-circle-icon {
  background: rgba(253, 251, 244, 0.6) !important;
  border-color: rgba(19, 74, 57, 0.15) !important;
  color: var(--gold-deep) !important;
}

body:not(.dark-mode) .pillar:hover .pillar-circle-icon {
  background-color: rgba(253, 251, 244, 0.8) !important;
  border-color: rgba(19, 74, 57, 0.3) !important;
}

body:not(.dark-mode) .pillar-divider {
  background: rgba(19, 74, 57, 0.1) !important;
}

body:not(.dark-mode) .pillar-list-icon {
  background: rgba(253, 251, 244, 0.5) !important;
  border-color: rgba(19, 74, 57, 0.12) !important;
  color: var(--gold-deep) !important;
}

body:not(.dark-mode) .pillar:hover .pillar-list-icon {
  border-color: rgba(19, 74, 57, 0.3) !important;
  background: rgba(19, 74, 57, 0.05) !important;
}

body:not(.dark-mode) .pillar-list li span {
  color: var(--ink-muted) !important;
}

/* ============================================================
   NEON GLOWING STATS UPGRADES (Impact Numbers)
   ============================================================ */

/* Redefining Stats Grid to be spacious and glassmorphic */
.stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: clamp(1rem, 2vw, 1.5rem) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

@media (max-width: 992px) {
  .stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 540px) {
  .stats {
    grid-template-columns: 1fr !important;
  }
}

/* Individual Stat Card */
.stat {
  display: flex !important;
  flex-direction: column !important; /* Stacked layout for cards */
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 2.2rem 1.5rem !important;
  background: rgba(6, 24, 18, 0.6) !important; /* deep forest glass */
  border-radius: 16px !important;
  border: 1px solid rgba(227, 194, 94, 0.15) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: 
    0 15px 35px -10px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: 
    transform 0.4s var(--ease-out-expo),
    border-color 0.3s ease,
    box-shadow 0.4s var(--ease-out-expo) !important;
  border-left: none !important; /* overrides prestige theme line */
}

/* Light Theme overrides for stats cards */
body:not(.dark-mode) .stat {
  background: rgba(253, 251, 244, 0.45) !important;
  border: 1px solid rgba(19, 74, 57, 0.08) !important;
  box-shadow: 
    0 10px 25px -10px rgba(27, 42, 34, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.stat:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(227, 194, 94, 0.45) !important;
  box-shadow: 
    0 25px 45px -10px rgba(0, 0, 0, 0.65),
    0 0 15px rgba(227, 194, 94, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

body:not(.dark-mode) .stat:hover {
  border-color: rgba(19, 74, 57, 0.3) !important;
  box-shadow: 
    0 20px 35px -10px rgba(27, 42, 34, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* SVG Progress Ring Wrapper */
.stat-gauge-wrapper {
  position: relative !important;
  width: 110px !important;
  height: 110px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 1.25rem !important;
  flex-shrink: 0 !important;
}

.stat-progress-ring {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: rotate(-90deg) !important; /* Rotate to start progress from 12 o'clock */
}

/* Track behind the progress indicator */
.progress-ring-track {
  fill: none !important;
  stroke: rgba(227, 194, 94, 0.08) !important; /* soft gold track */
  stroke-width: 3.5 !important;
}

body:not(.dark-mode) .progress-ring-track {
  stroke: rgba(19, 74, 57, 0.05) !important;
}

/* Glowing Neon progress indicator */
.progress-ring-indicator {
  fill: none !important;
  stroke: #a2e048 !important; /* bright lime green neon glow */
  stroke-width: 4 !important;
  stroke-linecap: round !important;
  filter: drop-shadow(0 0 6px rgba(162, 224, 72, 0.9)) !important;
  transition: stroke-dashoffset 1s ease-out !important;
}

body:not(.dark-mode) .progress-ring-indicator {
  stroke: var(--gold) !important;
  filter: drop-shadow(0 0 4px rgba(194, 153, 47, 0.5)) !important;
}

/* Concentric Inner Circle Panel */
.stat-circle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(14, 48, 36, 0.9) 0%, rgba(6, 24, 18, 0.95) 100%) !important;
  border: 1px solid rgba(227, 194, 94, 0.25) !important;
  box-shadow: 
    inset 0 3px 6px rgba(255, 255, 255, 0.08),
    inset 0 -3px 6px rgba(0, 0, 0, 0.6),
    0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

body:not(.dark-mode) .stat-circle {
  background: radial-gradient(circle, rgba(253, 251, 244, 0.95) 0%, rgba(240, 232, 212, 0.9) 100%) !important;
  border: 1px solid rgba(19, 74, 57, 0.12) !important;
  box-shadow: 
    inset 0 3px 6px rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(0, 0, 0, 0.05),
    0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Big serif numbers inside the gauge */
.stat .figure {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: var(--gold-bright) !important;
  margin: 0 !important;
  line-height: 1 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

body:not(.dark-mode) .stat .figure {
  color: var(--gold-deep) !important;
  text-shadow: none !important;
}

/* Stat Label below the circle */
.stat-info {
  margin-top: 0.5rem !important;
}

.stat .label {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--dark-ink-muted) !important;
  line-height: 1.5 !important;
  display: block !important;
}

body:not(.dark-mode) .stat .label {
  color: var(--ink-muted) !important;
}

/* ============================================================
   HERO OVERHAUL (Tags, Leaf Typography, Buttons, Partners)
   ============================================================ */

/* 1. Unified Pill Tag Bar */
.hero-capsule-bar {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.5rem 1.25rem;
  background: rgba(6, 24, 18, 0.55);
  border: 1px solid rgba(227, 194, 94, 0.18);
  border-radius: 30px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

body:not(.dark-mode) .hero-capsule-bar {
  background: rgba(253, 251, 244, 0.6);
  border-color: rgba(19, 74, 57, 0.12);
}

.capsule-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.capsule-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(227, 194, 94, 0.08);
  border: 1.5px solid rgba(227, 194, 94, 0.35);
  color: var(--gold-bright);
}

.capsule-icon svg {
  width: 11px;
  height: 11px;
}

body:not(.dark-mode) .capsule-icon {
  background: rgba(19, 74, 57, 0.04);
  border-color: rgba(19, 74, 57, 0.25);
  color: var(--gold-deep);
}

.capsule-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark-ink-muted);
}

body:not(.dark-mode) .capsule-text {
  color: var(--ink-muted);
}

.capsule-divider {
  width: 1px;
  height: 16px;
  background: rgba(227, 194, 94, 0.18);
}

body:not(.dark-mode) .capsule-divider {
  background: rgba(19, 74, 57, 0.12);
}

/* 2. Leaf Typography Dot Replacement */
.header-i-leaf {
  position: relative;
  display: inline-block;
  color: inherit;
}

.header-leaf-icon {
  position: absolute;
  top: -0.15em;
  left: 0.08em;
  width: 0.32em;
  height: 0.32em;
  color: #a2e048; /* bright lime green leaf */
  transform: rotate(20deg);
  pointer-events: none;
}

body:not(.dark-mode) .header-leaf-icon {
  color: var(--teal);
}

/* Highlighted gradient Net Zero text */
.gradient-text {
  background: linear-gradient(135deg, #a2e048 0%, #e3c25e 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline !important;
}

body:not(.dark-mode) .gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--gold-deep) 100%) !important;
}

/* 3. Upgraded Pill Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.4rem 0.45rem 0.5rem; /* tight left padding to highlight badge */
  border-radius: 35px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease-out-expo);
  text-decoration: none;
  cursor: pointer;
}

.btn-pill-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.btn-pill-badge svg {
  width: 14px;
  height: 14px;
}

.btn-pill-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.btn-pill-arrow svg {
  width: 12px;
  height: 12px;
}

/* Gold Pill Button variant */
.btn-pill--gold {
  background: linear-gradient(135deg, #a2e048 0%, #e3c25e 100%);
  color: #061812;
}

.btn-pill--gold .btn-pill-badge {
  background: rgba(6, 24, 18, 0.15);
  color: #061812;
}

.btn-pill--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(162, 224, 72, 0.25);
}

.btn-pill--gold:hover .btn-pill-arrow {
  transform: translateX(4px);
}

/* Outline Pill Button variant */
.btn-pill--outline {
  background: rgba(6, 24, 18, 0.35);
  border: 1px solid rgba(227, 194, 94, 0.25);
  color: var(--dark-ink);
}

.btn-pill--outline .btn-pill-badge {
  background: rgba(227, 194, 94, 0.08);
  border: 1px solid rgba(227, 194, 94, 0.35);
  color: var(--gold-bright);
}

body:not(.dark-mode) .btn-pill--outline {
  background: rgba(253, 251, 244, 0.35);
  border: 1px solid rgba(19, 74, 57, 0.15);
  color: var(--ink);
}

body:not(.dark-mode) .btn-pill--outline .btn-pill-badge {
  background: rgba(19, 74, 57, 0.04);
  border: 1px solid rgba(19, 74, 57, 0.2);
  color: var(--teal);
}

.btn-pill--outline:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 194, 94, 0.45);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

body:not(.dark-mode) .btn-pill--outline:hover {
  border-color: rgba(19, 74, 57, 0.35);
  box-shadow: 0 10px 20px rgba(19, 74, 57, 0.06);
}

/* 4. Responsive Generated Hero Image */
.hero-art-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 45px rgba(0, 0, 0, 0.5));
}

@media (max-width: 1024px) {
  .hero-art-image {
    max-width: 320px;
    margin-inline: auto;
  }
  .hero-capsule-bar {
    margin-inline: auto;
  }
}

/* 5. Sleek Partners Glass Bar */
.partners-glass-bar {
  background: rgba(6, 24, 18, 0.55);
  border: 1px solid rgba(227, 194, 94, 0.15);
  border-radius: 18px;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 
    0 15px 35px -10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  margin-top: 1rem;
}

body:not(.dark-mode) .partners-glass-bar {
  background: rgba(253, 251, 244, 0.45);
  border-color: rgba(19, 74, 57, 0.08);
  box-shadow: 
    0 10px 25px -10px rgba(27, 42, 34, 0.1);
}

/* Title on the border */
.partners-bar-header {
  position: absolute;
  top: -11px;
  left: 3rem;
  background: var(--dark-bg);
  padding: 0 0.75rem;
}

body:not(.dark-mode) .partners-bar-header {
  background: var(--bg);
}

.partners-bar-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

body:not(.dark-mode) .partners-bar-title {
  color: var(--gold-deep);
}

/* Grid of items inside */
.partners-bar-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .partners-glass-bar {
    padding: 1.25rem 1.5rem;
  }
  .partners-bar-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .partners-bar-header {
    position: static;
    display: block;
    width: auto;
    background: transparent !important;
    padding: 0;
    margin-bottom: 1rem;
    text-align: left;
  }
}

.partner-bar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.partner-bar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(227, 194, 94, 0.08);
  border: 1px solid rgba(227, 194, 94, 0.25);
  color: #a2e048; /* bright lime green */
  flex-shrink: 0;
}

body:not(.dark-mode) .partner-bar-icon {
  background: rgba(19, 74, 57, 0.04);
  border-color: rgba(19, 74, 57, 0.15);
  color: var(--teal);
}

.partner-bar-icon svg {
  width: 16px;
  height: 16px;
}

.partner-bar-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.partner-bar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dark-ink);
}

body:not(.dark-mode) .partner-bar-label {
  color: var(--ink);
}

.partner-bar-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dark-ink-muted);
}

body:not(.dark-mode) .partner-bar-sub {
  color: var(--ink-muted);
}

.partner-bar-divider {
  width: 1px;
  height: 30px;
  background: rgba(227, 194, 94, 0.12);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .partner-bar-divider {
    display: none;
  }
}

body:not(.dark-mode) .partner-bar-divider {
  background: rgba(19, 74, 57, 0.08);
}

/* Mobile responsive adjustments for Hero section elements */
@media (max-width: 576px) {
  .hero-capsule-bar {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.5rem 0.75rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
  }
  .capsule-divider {
    display: none !important;
  }
  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .btn-pill {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.5rem 1.4rem !important;
  }
  .hero-art-image {
    max-width: 100% !important;
    border-radius: 20px !important;
  }
}

/* ============================================================
   LATEST STORIES OVERHAUL (Glass Cards, Indicators, Headers)
   ============================================================ */

.stories-section {
  position: relative !important;
  overflow: visible !important;
}

/* Background Leaf Deco */
.stories-leaf-deco {
  position: absolute !important;
  top: -60px !important;
  right: 5% !important;
  width: 260px !important;
  height: 260px !important;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30,100 C50,60 80,40 110,20 C80,20 60,40 30,100 Z M30,100 L35,80 M55,70 L58,55 M75,50 L77,38' stroke='%23194a39' stroke-width='1.5' fill='none' stroke-linecap='round' opacity='0.25'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

body:not(.dark-mode) .stories-leaf-deco {
  opacity: 0.12 !important;
}

/* Header layout alignment */
.stories-header-layout {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 2rem !important;
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 768px) {
  .stories-header-layout {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
}

/* Eyebrow with Leaves */
.eyebrow-with-leaves {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  margin-bottom: 0.5rem !important;
}

body:not(.dark-mode) .eyebrow-with-leaves {
  color: var(--gold-deep) !important;
}

.eyebrow-leaf-icons {
  display: inline-flex !important;
  color: #a2e048 !important;
  width: 14px !important;
  height: 14px !important;
}

body:not(.dark-mode) .eyebrow-leaf-icons {
  color: var(--teal) !important;
}

.eyebrow-leaf-icons svg {
  width: 100% !important;
  height: 100% !important;
}

/* Stories intro subtext */
.stories-intro {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  color: var(--dark-ink-muted) !important;
  margin-top: 0.5rem !important;
  max-width: 500px !important;
}

body:not(.dark-mode) .stories-intro {
  color: var(--ink-muted) !important;
}

/* All Stories outline button */
.btn-stories-all {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  padding: 0.6rem 1.6rem !important;
  border-radius: 30px !important;
  background: transparent !important;
  border: 1.5px solid rgba(227, 194, 94, 0.25) !important;
  color: var(--gold-bright) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 0.35s var(--ease-out-expo) !important;
  box-shadow: 0 0 10px rgba(227, 194, 94, 0.03) !important;
}

body:not(.dark-mode) .btn-stories-all {
  border-color: rgba(19, 74, 57, 0.2) !important;
  color: var(--teal) !important;
}

.btn-stories-all:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(227, 194, 94, 0.5) !important;
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.2),
    0 0 12px rgba(227, 194, 94, 0.1) !important;
}

body:not(.dark-mode) .btn-stories-all:hover {
  border-color: rgba(19, 74, 57, 0.45) !important;
  box-shadow: 0 8px 15px rgba(19, 74, 57, 0.05) !important;
}

.btn-stories-all svg {
  width: 12px !important;
  height: 12px !important;
  transition: transform 0.3s ease !important;
}

.btn-stories-all:hover svg {
  transform: translateX(4px) !important;
}

/* Upgraded Story Cards */
.story-card-upgraded {
  display: flex !important;
  flex-direction: column !important;
  background: rgba(6, 24, 18, 0.55) !important; /* deep forest glass */
  border-radius: 18px !important;
  border: 1px solid rgba(227, 194, 94, 0.15) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  box-shadow: 
    0 15px 35px -10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  overflow: hidden !important;
  position: relative !important;
  transition: 
    transform 0.4s var(--ease-out-expo),
    border-color 0.3s ease,
    box-shadow 0.4s var(--ease-out-expo) !important;
}

body:not(.dark-mode) .story-card-upgraded {
  background: rgba(253, 251, 244, 0.45) !important;
  border-color: rgba(19, 74, 57, 0.08) !important;
  box-shadow: 
    0 10px 25px -10px rgba(27, 42, 34, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.story-card-upgraded:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(227, 194, 94, 0.4) !important;
  box-shadow: 
    0 25px 45px -10px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(227, 194, 94, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

body:not(.dark-mode) .story-card-upgraded:hover {
  border-color: rgba(19, 74, 57, 0.3) !important;
  box-shadow: 
    0 20px 35px -10px rgba(27, 42, 34, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Wavy Header for Stories */
.story-image-header {
  position: relative !important;
  width: 100% !important;
  height: 180px !important;
  overflow: hidden !important;
  border-bottom-left-radius: 40% 12% !important;
  border-bottom-right-radius: 60% 8% !important;
  box-shadow: inset 0 -15px 30px rgba(0, 0, 0, 0.5) !important;
}

.story-image-header::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, transparent, rgba(227, 194, 94, 0.4), transparent) !important;
  z-index: 2 !important;
}

.story-image-header img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
}

.story-card-upgraded:hover .story-image-header img {
  transform: scale(1.06) !important;
}

/* Stacked Badge Overlay */
.story-badge-overlay {
  position: absolute !important;
  bottom: 12px !important;
  left: 20px !important;
  z-index: 3 !important;
}

.story-badge-circle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(6, 24, 18, 0.85) !important;
  border: 1.5px solid rgba(227, 194, 94, 0.4) !important;
  color: #a2e048; /* neon green icon */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
  transition: border-color 0.3s ease !important;
}

body:not(.dark-mode) .story-badge-circle {
  background: rgba(253, 251, 244, 0.9) !important;
  border-color: rgba(19, 74, 57, 0.25) !important;
  color: var(--teal) !important;
}

.story-card-upgraded:hover .story-badge-circle {
  border-color: var(--gold-bright) !important;
}

body:not(.dark-mode) .story-card-upgraded:hover .story-badge-circle {
  border-color: var(--teal) !important;
}

.story-badge-circle svg {
  width: 16px;
  height: 16px;
}

/* Body container padding */
.story-body-upgraded {
  padding: 1.75rem 1.5rem 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

/* Meta info */
.story-tag-meta {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.68rem !important;
  font-weight: 600;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--gold-bright) !important;
  margin-bottom: 0.6rem !important;
}

body:not(.dark-mode) .story-tag-meta {
  color: var(--gold-deep) !important;
}

.story-body-upgraded h3 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.3 !important;
}

body:not(.dark-mode) .story-body-upgraded h3 {
  color: var(--ink) !important;
}

/* Gold Title Divider */
.story-title-divider {
  width: 40px !important;
  height: 1.5px !important;
  background: rgba(227, 194, 94, 0.45) !important;
  margin-bottom: 1rem !important;
}

body:not(.dark-mode) .story-title-divider {
  background: rgba(19, 74, 57, 0.2) !important;
}

.story-body-upgraded p {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
  color: var(--dark-ink-muted) !important;
  margin-bottom: 1.5rem !important;
}

body:not(.dark-mode) .story-body-upgraded p {
  color: var(--ink-muted) !important;
}

/* Footer elements */
.story-card-footer {
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.story-read-link {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #a2e048 !important; /* bright lime green */
}

body:not(.dark-mode) .story-read-link {
  color: var(--teal) !important;
}

.story-circle-arrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(227, 194, 94, 0.25) !important;
  color: var(--gold-bright) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

body:not(.dark-mode) .story-circle-arrow {
  border-color: rgba(19, 74, 57, 0.15) !important;
  color: var(--teal) !important;
}

.story-circle-arrow:hover {
  background: rgba(227, 194, 94, 0.1) !important;
  border-color: rgba(227, 194, 94, 0.5) !important;
  transform: scale(1.05) !important;
}

body:not(.dark-mode) .story-circle-arrow:hover {
  background: rgba(19, 74, 57, 0.05) !important;
  border-color: rgba(19, 74, 57, 0.35) !important;
}

.story-circle-arrow svg {
  width: 12px !important;
  height: 12px !important;
  transform: rotate(-45deg) !important; /* point up-right */
}

/* Carousel Indicators */
.stories-carousel-indicators {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 2rem !important;
}

.indicator-dot {
  width: 18px !important;
  height: 4px !important;
  border-radius: 2px !important;
  background: rgba(227, 194, 94, 0.15) !important;
  transition: all 0.3s ease !important;
}

body:not(.dark-mode) .indicator-dot {
  background: rgba(19, 74, 57, 0.1) !important;
}

.indicator-dot.active {
  width: 32px !important;
  background: #a2e048 !important; /* neon indicator active */
}

body:not(.dark-mode) .indicator-dot.active {
  background: var(--teal) !important;
}

/* Fix transparent logos getting solid backgrounds and filter distortions */
.hero-logos img,
.partner-logo img,
.partner-cell img,
.brand-logo,
.brand img,
.footer-logo,
.site-footer img,
.ison-credit img {
  background: transparent !important;
}

/* ============================================================
   PREMIUM MAGAZINE OVERHAUL STYLES
   ============================================================ */

.climate-highlight {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic !important;
  color: #a3d951 !important;
  font-weight: 500 !important;
  text-transform: none !important;
}

/* ── Premium Hero Section ── */
.magazine-premium-hero {
  position: relative;
  background: radial-gradient(circle at 75% 40%, #0d2f23 0%, #030d09 100%) !important;
  color: #ffffff !important;
  padding-block: clamp(6rem, 10vw, 8rem) clamp(4rem, 6vw, 6rem) !important;
  overflow: hidden;
}
.magazine-premium-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.premium-text-block {
  position: relative;
  z-index: 5;
}
.premium-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.eyebrow-leaf {
  width: 1.1rem;
  height: 1.1rem;
  color: #a3d951;
  flex-shrink: 0;
}
.magazine-premium-hero .eyebrow,
.magazine-premium-voices .eyebrow {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  color: #e3c25e !important;
  margin: 0 !important;
}
.magazine-premium-hero h1.display {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  color: #ffffff !important;
  margin-bottom: 1.5rem !important;
  letter-spacing: -0.01em !important;
  max-width: 22ch;
}
.magazine-premium-hero .lede {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(0.95rem, 2vw, 1.05rem) !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  max-width: 60ch !important;
  margin-bottom: 2.5rem !important;
}

/* Actions */
.premium-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}
.btn-explore {
  background: linear-gradient(90deg, #537e33 0%, #76b146 100%) !important;
  color: #ffffff !important;
  padding: 0.95rem 2.2rem !important;
  border-radius: 50px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  box-shadow: 0 6px 20px rgba(118, 177, 70, 0.35) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s !important;
  text-decoration: none !important;
  border: none !important;
}
.btn-explore:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(118, 177, 70, 0.5) !important;
  color: #ffffff !important;
}
.btn-icon {
  width: 1.1rem;
  height: 1.1rem;
}
.btn-arrow {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50% !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s !important;
}
.btn-arrow svg {
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.3s;
}
.btn-arrow:hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.65) !important;
}
.btn-arrow:hover svg {
  transform: translateX(4px);
}

/* Trust indicators */
.premium-hero-highlights {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 210px;
}
.highlight-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: #a3d951;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.highlight-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}
.highlight-item p {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.76rem !important;
  line-height: 1.35 !important;
  color: rgba(255,255,255,0.65) !important;
  margin: 0 !important;
}
.highlight-divider {
  width: 1px;
  height: 2.2rem;
  background: rgba(255,255,255,0.12);
}

/* 3D Visual Block */
.magazine-premium-visual {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.visual-backdrop {
  position: absolute;
  inset: -10%;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}
.book-container {
  position: relative;
  width: 240px;
  height: 320px;
  perspective: 1200px;
  z-index: 10;
  transform: translateY(-20px);
}
.book-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-18deg) rotateX(6deg) rotateZ(-2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.magazine-premium-visual:hover .book-3d,
.archive-book-showcase:hover .book-3d {
  transform: rotateY(-4deg) rotateX(3deg) rotateZ(0deg) translateY(-8px);
}
.book-face {
  position: absolute;
  height: 100%;
  backface-visibility: hidden;
  box-shadow: 0 0 1px rgba(0,0,0,0.15);
}
.book-front {
  width: 100%;
  left: 0;
  top: 0;
  transform: translateZ(10px);
  border-radius: 3px 12px 12px 3px;
  overflow: hidden;
}
.cover-art-container {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: inset -5px 0 15px rgba(0,0,0,0.4), inset 3px 0 6px rgba(255,255,255,0.15);
}
.cover-art-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.12) 0%, rgba(255,255,255,0.04) 5%, rgba(0,0,0,0) 8%, rgba(0,0,0,0) 95%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}
.cover-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  color: #ffffff;
  box-sizing: border-box;
}
.book-container .cover-content {
  padding: 1.8rem;
}
.cover-edition {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  color: #a3d951 !important;
  background: rgba(163, 217, 81, 0.15) !important;
  border: 1px solid rgba(163, 217, 81, 0.3) !important;
  padding: 0.2rem 0.55rem !important;
  border-radius: 20px !important;
  align-self: flex-start;
  letter-spacing: 0.05em;
}
.cover-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 2.1rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.05 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.cover-subtitle {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.65rem !important;
  color: rgba(255,255,255,0.7) !important;
  margin: 0.25rem 0 0 !important;
  letter-spacing: 0.05em;
}
.cover-date {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.65rem !important;
  color: rgba(255,255,255,0.55) !important;
  letter-spacing: 0.03em;
}
.book-back {
  width: 100%;
  left: 0;
  top: 0;
  transform: rotateY(180deg) translateZ(10px);
  background: #092017;
  border-radius: 12px 3px 3px 12px;
  box-shadow: inset 5px 0 15px rgba(0,0,0,0.4);
}
.book-spine {
  width: 20px;
  height: calc(100% - 4px);
  top: 2px;
  left: 0;
  transform: rotateY(-90deg) translateZ(10px);
  background: linear-gradient(to bottom, #0c251c, #061510);
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.book-spine span {
  transform: rotate(-90deg);
  white-space: nowrap;
}
.book-pages {
  width: 18px;
  height: calc(100% - 6px);
  top: 3px;
  right: 0;
  transform: rotateY(90deg) translateZ(9px);
  background: #f7f2e6;
  box-shadow: inset 3px 0 5px rgba(0,0,0,0.1);
  background-image: linear-gradient(rgba(0,0,0,0.06) 50%, transparent 50%);
  background-size: 100% 3px;
}

/* Floating quote & badge */
.floating-quote-card {
  position: absolute;
  right: -40px;
  bottom: 90px;
  width: 230px;
  background: rgba(14, 38, 29, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.4rem 1.6rem 1.2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  z-index: 15;
  animation: floatAnim 6s ease-in-out infinite;
}
.quote-mark {
  width: 1.6rem;
  height: 1.6rem;
  color: #a3d951;
  opacity: 0.85;
  margin-bottom: 0.5rem;
  display: block;
}
.floating-quote-card p {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
  color: rgba(255,255,255,0.78) !important;
  margin: 0 !important;
}
.floating-quote-card p strong {
  color: #ffffff;
  font-weight: 600;
}
.floating-leaf-badge {
  position: absolute;
  right: 5px;
  bottom: 25px;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(14, 38, 29, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(163, 217, 81, 0.25);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2), 0 0 15px rgba(163, 217, 81, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3d951;
  z-index: 16;
  animation: floatAnim 6s ease-in-out infinite;
  animation-delay: 1.5s;
}
.floating-leaf-badge svg {
  width: 1.5rem;
  height: 1.5rem;
}
@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Decors */
.contour-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.contour-tr {
  top: 0;
  right: 0;
  transform: translate(20%, -20%);
}
.contour-bl {
  bottom: 0;
  left: 0;
  transform: translate(-10%, 15%);
}
.dot-matrix-decor {
  position: absolute;
  left: 3%;
  top: 25%;
  pointer-events: none;
  z-index: 0;
}
.premium-crumb {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.72rem !important;
  color: rgba(255,255,255,0.4) !important;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2rem;
}
.premium-crumb a {
  color: #e3c25e !important;
  transition: color 0.2s;
}
.premium-crumb a:hover {
  color: #ffffff !important;
}

/* ── Premium Voices Section ── */
.magazine-premium-voices {
  position: relative;
  background: #030d09 !important;
  color: #ffffff !important;
  padding-block: 6rem !important;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.voices-decor-leaves {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 80%, rgba(163,217,81,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.voices-layout-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 3.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.lede-contributors {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.7) !important;
  margin-top: 1.25rem !important;
  max-width: 48ch;
}
.magazine-premium-voices h2.display {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
}
.magazine-premium-voices .contributor-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
  margin-top: 0 !important;
}
.magazine-premium-voices .contributor-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(8px);
  border-radius: 16px !important;
  padding: 2.2rem 1.5rem !important;
  text-align: center !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, background-color 0.4s !important;
  position: relative;
  overflow: hidden;
  width: auto !important;
  margin: 0 !important;
  animation: none !important;
}
.magazine-premium-voices .contributor-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(163, 217, 81, 0.3) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
.contrib-avatar-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
}
.contrib-avatar-wrap img,
.contrib-avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #537e33 !important;
  padding: 3px;
  background: #030d09;
}
.contrib-avatar-placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 2.5rem !important;
  color: rgba(255,255,255,0.3) !important;
}
.contrib-leaf-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #76b146;
  border: 2px solid #030d09;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.contrib-leaf-badge svg {
  width: 0.9rem;
  height: 0.9rem;
}
.magazine-premium-voices .contributor-card h3 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.45rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin-bottom: 0.35rem !important;
}
.magazine-premium-voices .contributor-card p {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.78rem !important;
  color: rgba(255,255,255,0.55) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.35 !important;
}
.contrib-linkedin {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
  text-decoration: none;
}
.contrib-linkedin svg {
  width: 1.1rem;
  height: 1.1rem;
}
.contrib-linkedin:hover {
  color: #a3d951;
  border-color: #a3d951;
  background: rgba(163,217,81,0.06);
}

/* ── Premium Archive Section ── */
.magazine-premium-archive {
  position: relative;
  background: linear-gradient(180deg, #030d09 0%, #020705 100%) !important;
  color: #ffffff !important;
  padding-block: 6rem !important;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.archive-layout-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 3.5rem;
  align-items: center;
}
.eyebrow-archive {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: #e3c25e !important;
  letter-spacing: 0.1em !important;
  display: block;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}
.eyebrow-archive::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1rem;
  height: 1px;
  background: #e3c25e;
}
.magazine-premium-archive h2.display {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  margin-bottom: 1.25rem !important;
}
.lede-archive {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.7) !important;
  margin-bottom: 2.2rem !important;
  max-width: 44ch;
}
.btn-all-editions {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: border-color 0.3s, background-color 0.3s;
  width: 100%;
  max-width: 260px;
  box-sizing: border-box;
}
.btn-all-editions:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.04);
  color: #ffffff;
}
.magazine-premium-archive .past-edition-card {
  background: rgba(10, 37, 28, 0.45) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 24px !important;
  padding: 3rem !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25) !important;
  display: flex !important;
  align-items: center !important;
  gap: 3rem !important;
}
.archive-book-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(163,217,81,0.06) 0%, transparent 70%);
  padding: 2.2rem;
  border-radius: 20px;
  flex-shrink: 0;
}
.book-container-mini {
  position: relative;
  width: 170px;
  height: 226px;
  perspective: 1000px;
  z-index: 10;
  flex-shrink: 0;
}
.book-container-mini .book-spine {
  width: 14px;
  left: 0;
  transform: rotateY(-90deg) translateZ(7px);
  font-size: 0.45rem;
}
.book-container-mini .book-front {
  transform: translateZ(7px);
}
.book-container-mini .book-back {
  transform: rotateY(180deg) translateZ(7px);
}
.book-container-mini .book-pages {
  width: 12px;
  height: calc(100% - 4px);
  top: 2px;
  right: 0;
  transform: rotateY(90deg) translateZ(5px);
}
.book-container-mini .cover-content {
  padding: 1.3rem;
}
.book-container-mini .cover-title {
  font-size: 1.5rem !important;
}
.past-edition-details {
  flex: 1;
}
.past-edition-details .eyebrow {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.68rem !important;
  color: #e3c25e !important;
  letter-spacing: 0.05em !important;
  display: block;
  margin-bottom: 0.5rem;
}
.past-edition-details h3 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.85rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin-bottom: 1rem !important;
  line-height: 1.15 !important;
}
.past-edition-desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  line-height: 1.55 !important;
  color: rgba(255,255,255,0.7) !important;
  margin-bottom: 2rem !important;
}
.past-edition-details .hero-actions {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
}
.past-edition-details .btn-explore {
  padding: 0.75rem 1.5rem !important;
  font-size: 0.75rem !important;
}
.past-edition-details .btn-download {
  border: 1px solid rgba(255,255,255,0.25) !important;
  background: transparent !important;
  color: #ffffff !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 50px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s !important;
  text-decoration: none !important;
}
.past-edition-details .btn-download:hover {
  border-color: rgba(255,255,255,0.65) !important;
  background: rgba(255,255,255,0.06) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

/* ── Responsiveness and Layout Fixes ── */
@media (max-width: 960px) {
  .magazine-premium-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .voices-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .archive-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .magazine-premium-voices .contributor-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .magazine-premium-archive .past-edition-card {
    flex-direction: column;
    padding: 2.5rem 2rem !important;
    gap: 2.5rem !important;
  }
  .highlight-divider {
    display: none;
  }
  .premium-hero-highlights {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .highlight-item {
    max-width: 100%;
  }
}
@media (max-width: 540px) {
  .magazine-premium-voices .contributor-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Final mobile menu overlay fix */
@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    z-index: 1050;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    max-height: 100dvh;
    padding: calc(var(--header-h) + 1.25rem) clamp(1.5rem, 6vw, 2rem) 2rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.75rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: #f7f2e6 !important;
    box-shadow: 0 24px 60px rgba(12, 42, 32, 0.22);
  }

  body.dark-mode .nav {
    background: linear-gradient(180deg, #061812 0%, #08201a 52%, #0d2a21 100%) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  }

  .nav-toggle[aria-expanded="true"] ~ .nav,
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a,
  .nav.is-open a:not(.btn),
  .nav-toggle[aria-expanded="true"] ~ .nav a:not(.btn) {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(194, 153, 47, 0.2);
    border-radius: 8px;
    color: #1b2a22;
    background: rgba(255, 255, 255, 0.34);
    text-align: center;
  }

  body.dark-mode .nav a,
  body.dark-mode .nav.is-open a:not(.btn),
  body.dark-mode .nav-toggle[aria-expanded="true"] ~ .nav a:not(.btn) {
    color: #f0ece0;
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(227, 194, 94, 0.18);
  }

  .nav a:hover {
    color: var(--teal);
    background: rgba(194, 153, 47, 0.16);
  }

  body.dark-mode .nav a:hover {
    color: #e9cd72;
    background: rgba(227, 194, 94, 0.12);
  }

  .nav a[aria-current="page"] {
    color: #0c2a20;
    background: rgba(194, 153, 47, 0.24);
    border-color: rgba(194, 153, 47, 0.52);
  }

  body.dark-mode .nav a[aria-current="page"] {
    color: #e9cd72;
    background: rgba(227, 194, 94, 0.14);
    border-color: rgba(227, 194, 94, 0.45);
  }

  .nav a.btn {
    align-self: center;
    width: 100%;
    max-width: 18rem;
    margin-top: 0.75rem;
    color: #ffffff !important;
    background: #28786f;
    border-color: #28786f;
  }

  .nav a.btn:hover {
    color: #ffffff !important;
    background: #1d5f57;
    border-color: #1d5f57;
  }

  .nav.is-open a[aria-current="page"],
  .nav-toggle[aria-expanded="true"] ~ .nav a[aria-current="page"] {
    color: #0c2a20 !important;
    background: rgba(194, 153, 47, 0.24) !important;
    border-color: rgba(194, 153, 47, 0.52) !important;
  }

  body.dark-mode .nav.is-open a[aria-current="page"],
  body.dark-mode .nav-toggle[aria-expanded="true"] ~ .nav a[aria-current="page"] {
    color: #e9cd72 !important;
    background: rgba(227, 194, 94, 0.14) !important;
    border-color: rgba(227, 194, 94, 0.45) !important;
  }

  .nav.is-open a.btn,
  .nav-toggle[aria-expanded="true"] ~ .nav a.btn {
    color: #ffffff !important;
    background: #28786f !important;
    border-color: #28786f !important;
  }

  .nav.is-open a.btn:hover,
  .nav-toggle[aria-expanded="true"] ~ .nav a.btn:hover {
    color: #ffffff !important;
    background: #1d5f57 !important;
    border-color: #1d5f57 !important;
  }
}
