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

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

/* ── Custom Properties — Light Mode (default) ──────────────── */
:root {
  /* Surface */
  --bg:                #f0f2ea;
  --bg2:               #e6e9de;
  --bg3:               #dde0d4;
  --surface:           rgba(255, 255, 255, 0.55);
  --surface-hover:     rgba(255, 255, 255, 0.72);
  --surface-strong:    rgba(255, 255, 255, 0.85);

  /* Text */
  --ink:               #1a2e28;
  --ink-muted:         #4b5e56;
  --ink-faint:         #7a8c84;

  /* Accents */
  --gold:              #e5a93b;
  --gold-deep:         #b07a24;
  --gold-glow:         rgba(229, 169, 59, 0.35);
  --teal:              #256b62;
  --teal-deep:         #1a4f48;
  --teal-glow:         rgba(37, 107, 98, 0.25);
  --accent:            var(--teal);

  /* Glass */
  --glass-bg:          rgba(255, 255, 255, 0.45);
  --glass-border:      rgba(255, 255, 255, 0.6);
  --glass-shadow:      rgba(37, 107, 98, 0.06);
  --glass-blur:        16px;
  --glass-hover-border:rgba(255, 255, 255, 0.85);

  /* Misc */
  --radius:            12px;
  --radius-lg:         20px;
  --radius-xl:         28px;
  --radius-pill:       999px;
  --header-h:          72px;
  --rule-color:        rgba(37, 107, 98, 0.12);

  /* Aurora */
  --aurora-a:          rgba(37, 107, 98, 0.07);
  --aurora-b:          rgba(229, 169, 59, 0.05);
  --aurora-c:          rgba(100, 180, 160, 0.06);
  --aurora-d:          rgba(176, 122, 36, 0.04);

  /* Dark section surface */
  --dark-bg:           #0c1a15;
  --dark-surface:      rgba(255, 255, 255, 0.04);
  --dark-ink:          #e8ece4;
  --dark-ink-muted:    #a3b0a8;

  /* 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:                #060e0b;
  --bg2:               #0c1a15;
  --bg3:               #122420;
  --surface:           rgba(255, 255, 255, 0.04);
  --surface-hover:     rgba(255, 255, 255, 0.07);
  --surface-strong:    rgba(255, 255, 255, 0.1);

  --ink:               #e8ece4;
  --ink-muted:         #a3b0a8;
  --ink-faint:         #6b7e74;

  --glass-bg:          rgba(255, 255, 255, 0.03);
  --glass-border:      rgba(255, 255, 255, 0.08);
  --glass-shadow:      rgba(0, 0, 0, 0.25);
  --glass-hover-border:rgba(255, 255, 255, 0.16);

  --rule-color:        rgba(255, 255, 255, 0.08);

  --aurora-a:          rgba(37, 107, 98, 0.08);
  --aurora-b:          rgba(229, 169, 59, 0.04);
  --aurora-c:          rgba(20, 80, 70, 0.1);
  --aurora-d:          rgba(176, 122, 36, 0.03);

  --dark-bg:           #040a07;
  --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: 'Fraunces', '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: 'Fraunces', '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;
}

.brand-word {
  font-family: 'Fraunces', 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: 'Fraunces', 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: 'Fraunces', 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: 'Fraunces', 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: 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);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

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

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

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

/* 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(1rem, 2vw, 1.5rem);
}

.team-card {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  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);
}

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

.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--glass-border);
}

.team-card h3 {
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.team-card .role {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* ============================================================
   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: 'Fraunces', 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: 'Fraunces', 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: 'Fraunces', 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: 'Fraunces', 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: 'Fraunces', 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: rgba(240, 242, 234, 0.92);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  body.dark-mode .nav {
    background: rgba(6, 14, 11, 0.94);
  }

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

  .nav a {
    font-size: 1.5rem;
    font-family: 'Fraunces', 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 {
  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;
}

/* ── 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; }
}
