/* ═══════════════════════════════════════════════════════════════
   UNITICS.ORG — DESIGN SYSTEM  v1.0
   Brand: Cormorant Garamond (headings) + Outfit (body)
   Colors: Navy #0b1f3a · Gold #c8974a · Cream #faf7f2
═══════════════════════════════════════════════════════════════ */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:      #0b1f3a;
  --navy-mid:  #122b50;
  --navy-lt:   #1a3a6b;
  --navy-deep: #071628;
  --gold:      #c8974a;
  --gold-lt:   #e2b472;
  --gold-pale: #f5e6cc;
  --gold-dim:  rgba(200,151,74,0.15);
  --cream:     #faf7f2;
  --white:     #ffffff;
  --ink:       #1c2b3a;
  --muted:     #5a6e82;
  --border:    rgba(11,31,58,0.1);
  --border-gold: rgba(200,151,74,0.25);
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Outfit', system-ui, sans-serif;
  --r-sm:      6px;
  --r-md:      12px;
  --r-lg:      18px;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --t:         0.3s;
  --t-slow:    0.6s;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans); background: var(--cream); color: var(--ink);
  line-height: 1.7; overflow-x: hidden; cursor: none;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
button { font-family: var(--sans); cursor: none; }

/* ── CUSTOM CURSOR ── */
#cursor-ring {
  position: fixed; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--gold); pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); transition: width 0.2s var(--ease), height 0.2s var(--ease), opacity 0.2s, border-color 0.2s;
  mix-blend-mode: normal; top: 0; left: 0;
}
#cursor-dot {
  position: fixed; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%); top: 0; left: 0; transition: opacity 0.2s;
}
body.cursor-hover #cursor-ring { width: 56px; height: 56px; border-color: var(--gold-lt); background: rgba(200,151,74,0.06); }
body.cursor-active #cursor-ring { width: 28px; height: 28px; }

/* ── READING PROGRESS BAR ── */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  z-index: 10001; transition: width 0.1s linear; pointer-events: none;
}

/* ── NAVIGATION ── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%; transition: background var(--t), padding var(--t), box-shadow var(--t);
  background: transparent;
}
#site-nav.scrolled {
  background: rgba(7,22,40,0.97); backdrop-filter: blur(16px);
  padding: 0.7rem 5%; box-shadow: 0 1px 0 rgba(200,151,74,0.15);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.7rem; text-decoration: none;
  flex-shrink: 0; transition: opacity var(--t);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo img { height: 40px; width: auto; filter: drop-shadow(0 0 1px rgba(0,0,0,0.5)); }
.nav-logo-text {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.02em; line-height: 1;
}
.nav-logo-text span { color: var(--gold); }
.nav-center { display: flex; align-items: center; gap: 0.2rem; }
.nav-link {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); padding: 0.5rem 0.9rem; border-radius: var(--r-sm);
  transition: color var(--t), background var(--t); position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px; background: var(--gold); border-radius: 1px;
}
/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 0.3rem; }
.nav-dropdown-toggle svg { width: 12px; height: 12px; transition: transform var(--t); }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: rgba(7,22,40,0.98); border: 1px solid var(--border-gold);
  border-radius: var(--r-md); padding: 0.6rem; min-width: 220px;
  opacity: 0; visibility: hidden; transition: all 0.2s var(--ease); backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a {
  display: block; font-size: 0.82rem; font-weight: 400; color: rgba(255,255,255,0.7);
  padding: 0.5rem 0.9rem; border-radius: var(--r-sm); transition: all var(--t);
  letter-spacing: 0.03em;
}
.nav-dropdown-menu a:hover { color: var(--gold-lt); background: rgba(200,151,74,0.1); }
.nav-right { display: flex; align-items: center; gap: 0.8rem; }
.nav-cta {
  background: var(--gold); color: var(--navy); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; padding: 0.55rem 1.3rem;
  border-radius: var(--r-sm); border: 2px solid var(--gold); transition: all var(--t);
}
.nav-cta:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-1px); }
/* Mobile hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  padding: 6px; cursor: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  border-radius: 2px; transition: all 0.3s var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── MOBILE OVERLAY MENU ── */
#mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: rgba(7,22,40,0.98);
  backdrop-filter: blur(20px); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.4rem; opacity: 0; visibility: hidden;
  transition: all 0.4s var(--ease);
}
#mobile-menu.open { opacity: 1; visibility: visible; }
#mobile-menu a {
  font-family: var(--serif); font-size: 2rem; font-weight: 400; color: rgba(255,255,255,0.8);
  padding: 0.5rem 2rem; letter-spacing: 0.02em; transition: color var(--t);
  transform: translateY(20px); opacity: 0; transition: all 0.4s var(--ease);
}
#mobile-menu.open a { transform: translateY(0); opacity: 1; }
#mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
#mobile-menu.open a:nth-child(6) { transition-delay: 0.3s; }
#mobile-menu.open a:nth-child(7) { transition-delay: 0.35s; }
#mobile-menu a:hover { color: var(--gold-lt); }
.mobile-cta {
  margin-top: 1rem; background: var(--gold) !important; color: var(--navy) !important;
  font-family: var(--sans) !important; font-size: 0.9rem !important; font-weight: 600 !important;
  letter-spacing: 0.08em !important; padding: 0.8rem 2.5rem !important; border-radius: var(--r-sm) !important;
  text-transform: uppercase !important;
}

/* ── SECTION FOUNDATIONS ── */
section { position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-pad { padding: 6rem 5%; }
.section-pad-sm { padding: 4rem 5%; }
.section-label {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600;
  color: var(--navy); line-height: 1.15; letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.light { color: var(--white); }
.section-lead {
  font-size: 1.05rem; color: var(--muted); line-height: 1.85; max-width: 580px;
}
.section-lead.light { color: rgba(255,255,255,0.65); }
.gold-divider { width: 48px; height: 2px; background: var(--gold); margin: 1.2rem 0; }
.gold-divider.center { margin: 1.2rem auto; }
.text-center { text-align: center; }
.text-center .section-lead { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: var(--r-sm); transition: all var(--t); cursor: none;
}
.btn-primary {
  background: var(--gold); color: var(--navy); border: 2px solid var(--gold);
  padding: 0.85rem 2rem; font-size: 0.86rem;
}
.btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,151,74,0.3); }
.btn-ghost {
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3);
  padding: 0.85rem 2rem; font-size: 0.86rem;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.75); transform: translateY(-2px); }
.btn-dark {
  background: var(--navy); color: var(--white); border: 2px solid var(--navy);
  padding: 0.85rem 2rem; font-size: 0.86rem;
}
.btn-dark:hover { background: var(--navy-lt); border-color: var(--navy-lt); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--navy); border: 2px solid var(--navy);
  padding: 0.85rem 2rem; font-size: 0.86rem;
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.78rem; }
.btn-arrow::after { content: '→'; font-weight: 400; transition: transform var(--t); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── SCROLL REVEAL ANIMATIONS ── */
[data-reveal] {
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  opacity: 0;
}
[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="down"]  { transform: translateY(-40px); }
[data-reveal="left"]  { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="fade"]  { transform: scale(0.96); }
[data-reveal="zoom"]  { transform: scale(0.88); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* ── CARD TILT ── */
.tilt-card { transform-style: preserve-3d; transform: perspective(800px); }

/* ── STAT COUNTERS ── */
.stat-counter { font-variant-numeric: tabular-nums; }

/* ── HERO (homepage) ── */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--navy); overflow: hidden; padding-top: 80px;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 5% 4rem 8%;
}
.hero-right {
  position: relative; overflow: hidden;
}
.hero-right img {
  width: 100%; height: 100%; object-fit: cover; object-position: left center;
  opacity: 0.85;
}
.hero-right::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, var(--navy) 0%, transparent 35%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(200,151,74,0.1); border: 1px solid rgba(200,151,74,0.3);
  color: var(--gold-lt); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 100px;
  margin-bottom: 1.8rem;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: pulse 2s infinite;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 600; color: var(--white); line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--gold-lt); }
.hero h1 .word { display: inline-block; overflow: hidden; }
.hero h1 .word span { display: inline-block; animation: wordReveal 0.7s var(--ease-out) both; }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.68); max-width: 520px;
  line-height: 1.8; margin-bottom: 2.5rem;
}
.hero-tagline {
  font-family: var(--serif); font-size: 1.4rem; font-style: italic; font-weight: 300;
  color: var(--gold-lt); margin-bottom: 0.5rem; opacity: 0.9;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.45); letter-spacing: 0.05em;
}
.hero-trust-item svg { width: 14px; height: 14px; fill: var(--gold); flex-shrink: 0; }
/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.3); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  z-index: 2;
}
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }

/* ── CONTRAST BANNER ── */
.contrast-banner {
  background: var(--navy-deep);
  padding: 0;
  overflow: hidden;
}
.contrast-banner-inner {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh;
}
.contrast-side {
  padding: 5rem 5%; display: flex; flex-direction: column; justify-content: center;
}
.contrast-side.dark { background: var(--navy-deep); }
.contrast-side.light-side { background: var(--cream); }
.contrast-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  min-height: 400px;
}

/* ── IMAGE CINEMATIC PANEL ── */
.blueprint-panel {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.blueprint-panel img {
  width: 100%; display: block; transition: transform 8s var(--ease);
}
.blueprint-panel:hover img { transform: scale(1.03); }
.blueprint-panel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(7,22,40,0.95) 0%, transparent 100%);
  padding: 2rem 1.5rem 1.2rem; color: rgba(255,255,255,0.7); font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ── 3H CARDS ── */
.three-h-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.h-card {
  background: var(--white); border-radius: var(--r-lg); padding: 2.5rem 2rem;
  border: 1px solid var(--border); position: relative; overflow: hidden;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.h-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  transition: height var(--t);
}
.h-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(11,31,58,0.12); }
.h-card:hover::before { height: 5px; }
.h-card.humanity::before { background: var(--gold); }
.h-card.habitat::before { background: #3a8a6a; }
.h-card.heritage::before { background: #6a3a8a; }
.h-icon { font-size: 2rem; margin-bottom: 1.2rem; display: block; }
.h-card-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.3rem; }
.humanity .h-card-label { color: var(--gold); }
.habitat .h-card-label { color: #3a8a6a; }
.heritage .h-card-label { color: #6a3a8a; }
.h-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--navy); margin-bottom: 0.8rem; }
.h-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.8; margin-bottom: 1.2rem; }
.h-card-link { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.4rem; transition: gap var(--t); }
.humanity .h-card-link { color: var(--gold); }
.habitat .h-card-link { color: #3a8a6a; }
.heritage .h-card-link { color: #6a3a8a; }
.h-card-link:hover { gap: 0.7rem; }

/* ── MANIFESTO / DARK SECTIONS ── */
.dark-section { background: var(--navy); }
.dark-section-deep { background: var(--navy-deep); }
.manifesto-quote-block {
  background: rgba(200,151,74,0.08); border: 1px solid var(--border-gold);
  border-radius: var(--r-lg); padding: 2.5rem;
}
.manifesto-quote-block blockquote {
  font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 300;
  font-style: italic; color: var(--gold-lt); line-height: 1.65; margin-bottom: 1.2rem;
}
.manifesto-quote-block p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.85; margin-bottom: 1rem; }
.manifesto-quote-block p strong { color: var(--gold-lt); font-weight: 500; }
.manifesto-quote-block p:last-child { margin-bottom: 0; }

/* ── PILLAR ITEMS ── */
.pillar-list { display: flex; flex-direction: column; gap: 1.3rem; }
.pillar-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.pillar-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(200,151,74,0.12); border: 1px solid rgba(200,151,74,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600; color: var(--gold); letter-spacing: 0.02em;
}
.pillar-text h4 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 0.2rem; }
.pillar-text p { font-size: 0.87rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--gold-pale); border-top: 1px solid rgba(200,151,74,0.2);
  border-bottom: 1px solid rgba(200,151,74,0.2);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  padding: 2.5rem 2rem; text-align: center; border-right: 1px solid rgba(11,31,58,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--navy); line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-num sup { font-size: 1.5rem; color: var(--gold); vertical-align: super; }
.stat-label { font-size: 0.82rem; color: var(--muted); line-height: 1.5; max-width: 120px; margin: 0 auto; }

/* ── VALUE CARDS (4-col) ── */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card {
  background: var(--white); border-radius: var(--r-lg); padding: 2rem 1.5rem;
  border: 1px solid var(--border); text-align: center;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(11,31,58,0.09); }
.value-icon { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.value-card h4 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: 0.6rem; }
.value-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }

/* ── INDUSTRIES SECTION ── */
.industries-dark { background: var(--navy); }
.industry-tags { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.industry-tag {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.72); font-size: 0.84rem; padding: 0.5rem 1.1rem;
  border-radius: 100px; transition: all var(--t); cursor: default;
}
.industry-tag:hover { background: rgba(200,151,74,0.12); border-color: rgba(200,151,74,0.35); color: var(--gold-lt); }
.industry-tag.featured { background: rgba(200,151,74,0.12); border-color: rgba(200,151,74,0.35); color: var(--gold-lt); }

/* ── FOUNDER / QUOTE STRIP ── */
.founder-strip { background: var(--navy-mid); padding: 5rem 5%; text-align: center; }
.founder-quote {
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 300;
  font-style: italic; color: var(--white); max-width: 860px; margin: 0 auto 1.5rem;
  line-height: 1.5;
}
.founder-attr { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* ── CTA SECTION ── */
.cta-section { background: var(--gold-pale); text-align: center; }
.cta-section .section-title { color: var(--navy); }

/* ── FOOTER ── */
#site-footer { background: var(--navy-deep); padding: 5rem 5% 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 3.5rem; }
.footer-brand .nav-logo { margin-bottom: 1.2rem; }
.footer-brand .nav-logo img { height: 36px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.4); line-height: 1.75; max-width: 280px; }
.footer-col h5 {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.3rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.87rem; color: rgba(255,255,255,0.45); transition: color var(--t); }
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.25); }
.footer-tagline { font-family: var(--serif); font-size: 1rem; font-style: italic; color: rgba(200,151,74,0.5); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy); padding: 9rem 5% 5rem; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, var(--cream), transparent);
}
.page-hero .section-title { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); }

/* ── LEGAL / PROSE PAGES ── */
.prose-section { background: var(--white); }
.prose-grid { display: grid; grid-template-columns: 240px 1fr; gap: 5rem; align-items: start; }
.sticky-toc {
  position: sticky; top: 100px;
  background: var(--cream); border-radius: var(--r-md); padding: 1.5rem;
  border: 1px solid var(--border);
}
.sticky-toc h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.sticky-toc ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.sticky-toc a { font-size: 0.83rem; color: var(--muted); transition: color var(--t); padding: 0.2rem 0; display: block; }
.sticky-toc a:hover, .sticky-toc a.active { color: var(--navy); }
.prose-body h2 { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--navy); margin: 2.5rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.prose-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.prose-body h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy); margin: 1.8rem 0 0.7rem; }
.prose-body p { color: var(--muted); margin-bottom: 1.2rem; line-height: 1.85; }
.prose-body blockquote { border-left: 3px solid var(--gold); padding-left: 1.5rem; font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--navy); margin: 1.5rem 0; line-height: 1.6; }
.prose-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose-body th { background: var(--navy); color: var(--white); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.8rem 1rem; text-align: left; }
.prose-body td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; vertical-align: top; }
.prose-body tr:hover td { background: rgba(200,151,74,0.04); }
.prose-body ul, .prose-body ol { padding-left: 1.5rem; color: var(--muted); margin-bottom: 1.2rem; }
.prose-body li { margin-bottom: 0.5rem; line-height: 1.8; }
.prose-body strong { color: var(--ink); font-weight: 600; }
.prose-body a { color: var(--gold); border-bottom: 1px solid var(--border-gold); transition: border-color var(--t); }
.prose-body a:hover { border-color: var(--gold); }

/* ── FORM STYLES ── */
.form-section { background: var(--white); }
.form-card {
  background: var(--cream); border-radius: var(--r-lg); padding: 3rem;
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 0.5rem;
}
.form-group label span { color: var(--gold); }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.85rem 1rem; font-family: var(--sans); font-size: 0.95rem;
  color: var(--ink); background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,151,74,0.12);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-checkbox { display: flex; align-items: flex-start; gap: 0.8rem; cursor: none; }
.form-checkbox input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--gold); cursor: none; }
.form-checkbox label { font-size: 0.9rem; color: var(--muted); line-height: 1.65; cursor: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-section-title {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--navy);
  margin-bottom: 1.5rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--border);
}

/* ── COUNCIL GRID ── */
.council-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.council-card {
  background: var(--white); border-radius: var(--r-lg); padding: 2rem 1.5rem;
  border: 1px solid var(--border); text-align: center;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.council-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(11,31,58,0.1); }
.council-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-lt));
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border-gold); color: var(--gold); font-size: 1.4rem;
  font-family: var(--serif); font-weight: 600;
}
.council-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.council-role { font-size: 0.78rem; font-weight: 600; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.8rem; }
.council-bio { font-size: 0.86rem; color: var(--muted); line-height: 1.65; }

/* ── TABS (Framework page) ── */
.tab-nav { display: flex; gap: 0.5rem; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; }
.tab-btn {
  background: none; border: none; padding: 0.85rem 1.5rem; font-family: var(--sans);
  font-size: 0.88rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all var(--t);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }
.tab-btn:hover { color: var(--navy); }
.tab-panel { display: none; animation: fadeIn 0.3s var(--ease-out); }
.tab-panel.active { display: block; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes wordReveal { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.6;transform:scale(1.5);} }
@keyframes scrollPulse { 0%,100%{opacity:0.3;transform:scaleY(0.5);} 50%{opacity:1;transform:scaleY(1);} }
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.gold-shimmer {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-lt) 40%, var(--gold) 60%, var(--gold) 100%);
  background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; animation: shimmer 4s linear infinite;
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 5000;
  background: rgba(7,22,40,0.97); border-top: 1px solid var(--border-gold);
  padding: 1rem 5%; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; transform: translateY(100%); transition: transform 0.5s var(--ease);
  backdrop-filter: blur(16px);
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p { font-size: 0.85rem; color: rgba(255,255,255,0.65); flex: 1; min-width: 200px; }
#cookie-banner p a { color: var(--gold-lt); }
.cookie-actions { display: flex; gap: 0.7rem; flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 45vh; }
  .three-h-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .council-grid { grid-template-columns: repeat(2, 1fr); }
  .prose-grid { grid-template-columns: 1fr; }
  .sticky-toc { position: static; }
}
@media (max-width: 768px) {
  .nav-center, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-left { padding: 3rem 5%; }
  .section-pad { padding: 4rem 5%; }
  .three-h-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .council-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contrast-banner-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .value-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .council-grid { grid-template-columns: 1fr; }
  #cursor-ring, #cursor-dot { display: none; }
  body { cursor: auto; }
  button, a { cursor: pointer; }
}
