/* ============================================================
   NEST CORP V2 DARK — Forest Green + Deep Charcoal + Off-White
   Same structure as V2, fully inverted to dark mode
   ============================================================ */

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

:root {
  /* Dark surfaces */
  --ivory:        #0E110C;   /* main bg — dark green-tinted black */
  --ivory-deep:   #131812;   /* alt section bg */
  --paper:        #171D15;   /* card bg */
  --dark-border:  rgba(255,255,255,0.07);

  /* Text */
  --carbon:       #EEECe6;   /* primary text */
  --carbon-mid:   #D4D2CB;
  --graphite:     #8A8A80;
  --ash:          #5A5A52;
  --chalk:        rgba(255,255,255,0.1);
  --chalk-light:  rgba(255,255,255,0.06);

  /* Forest Green — same accent, adjusted for dark */
  --green:        #2D6A4F;   /* mid green — used as bg accent */
  --green-mid:    #40916C;
  --green-light:  #74C69D;   /* primary highlight — brighter on dark */
  --green-pale:   rgba(82,183,136,0.1);
  --green-ink:    #1B4332;

  /* Dark sections (now light sections in v2, inverted) */
  --dark-bg:      #0A0C09;
  --dark-surface: #0F1210;

  /* Serif fonts etc same as V2 */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
  --mono:  'DM Mono', 'Courier New', monospace;

  --container: 1200px;
  --gutter:    44px;
  --section-y: 112px;
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--carbon);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
address { font-style: normal; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--dark-surface); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Shared type ----------------------------------------- */
.section-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.section-tag::before { content: ''; display: block; width: 28px; height: 1px; background: var(--green-light); flex-shrink: 0; }
.section-tag.light { color: var(--green-light); }
.section-tag.light::before { background: var(--green-light); }

.section-heading {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--carbon);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.section-heading em { font-style: italic; color: var(--green-light); }
.section-heading.light { color: var(--carbon); }
.section-heading.light em { color: var(--green-light); }

.section-sub { font-size: 1rem; color: var(--graphite); max-width: 560px; line-height: 1.75; margin-bottom: 56px; }
.section-sub.light { color: var(--graphite); }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(14,17,12,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--chalk-light);
  padding: 14px 0;
}
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; }
.logo-img { height: 100px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); transition: color 0.22s; }
.nav-links a:hover { color: var(--green-light); }
.nav-btn { padding: 8px 20px; border: 1px solid var(--green-mid) !important; color: var(--green-light) !important; border-radius: 2px; transition: background 0.22s, color 0.22s !important; }
.nav-btn:hover { background: var(--green-ink) !important; color: var(--green-light) !important; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--carbon); transition: transform 0.3s, opacity 0.3s; border-radius: 1px; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; background: var(--ivory); border-top: 1px solid var(--chalk-light); padding: 16px var(--gutter) 24px; gap: 0; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); padding: 10px 0; border-bottom: 1px solid var(--chalk-light); transition: color 0.2s; }
.mobile-nav a:hover { color: var(--green-light); }

/* ============================================================
   HERO — Left-aligned, same structure as V2
============================================================ */
.hero {
  min-height: 100vh;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--chalk);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; position: relative;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) brightness(0.9); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(4,11,8,0.55) 0%, rgba(4,11,8,0.35) 55%, rgba(4,11,8,0.15) 100%); }
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto;
  padding: 140px var(--gutter) 80px;
  width: 100%;
}
.hero-label {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--green-light); margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.hero-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--green-light); }
.hero-heading {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6.5vw, 6rem);
  font-weight: 400; line-height: 1.0;
  color: var(--carbon); letter-spacing: -0.02em; margin-bottom: 36px;
}
.hero-heading em { font-style: italic; color: var(--green-light); }
.hero-rule { width: 48px; height: 2px; background: var(--green-mid); margin-bottom: 28px; }
.hero-desc { font-size: 1rem; color: var(--graphite); line-height: 1.8; max-width: 520px; margin-bottom: 40px; }
.hero-ctas { display: flex; align-items: center; gap: 28px; margin-bottom: 48px; flex-wrap: wrap; }

.cta-primary {
  display: inline-block; padding: 13px 28px; background: var(--green-mid); color: var(--ivory);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 2px; transition: background 0.25s, transform 0.25s;
}
.cta-primary:hover { background: var(--green); transform: translateY(-1px); }
.cta-link {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite);
  border-bottom: 1px solid var(--chalk); padding-bottom: 2px; transition: color 0.22s, border-color 0.22s;
}
.cta-link svg { width: 18px; height: 18px; transition: transform 0.22s; }
.cta-link:hover { color: var(--green-light); border-color: var(--green-light); }
.cta-link:hover svg { transform: translate(3px, -3px); }

.hero-offices { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }
.sep { color: var(--chalk); }

.hero-ticker { position: relative; z-index: 1; border-top: 1px solid var(--chalk); background: var(--dark-bg); padding: 14px 0; overflow: hidden; }
.ticker-track { display: flex; gap: 40px; white-space: nowrap; animation: ticker 32s linear infinite; width: max-content; }
.ticker-track span { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.2); flex-shrink: 0; }
.ticker-track .bull { color: var(--green-light); opacity: 0.5; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   THESIS
============================================================ */
.thesis { padding: var(--section-y) 0; background: var(--paper); border-bottom: 1px solid var(--chalk-light); position: relative; overflow: hidden; }
.thesis-bg { position: absolute; inset: 0; z-index: 0; }
.thesis-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.68) brightness(0.48) blur(1.5px); opacity: 0.62; }
.thesis-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 200px 1fr; gap: 72px; align-items: start; }
.thesis-index { font-family: var(--serif); font-size: 5rem; font-weight: 300; color: rgba(255,255,255,0.05); line-height: 1; margin-top: 20px; letter-spacing: -0.04em; }
.thesis-quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 400; line-height: 1.5; color: var(--carbon); margin-bottom: 48px; letter-spacing: -0.01em; }
.thesis-quote em { font-style: italic; color: var(--green-light); border-bottom: 1px solid rgba(116,198,157,0.2); }
.thesis-pillars { display: flex; align-items: center; border-top: 1px solid var(--chalk-light); padding-top: 32px; flex-wrap: wrap; }
.tp { display: flex; flex-direction: column; gap: 4px; padding: 0 28px 0 0; }
.tp:first-child { padding-left: 0; }
.tp-num { font-family: var(--mono); font-size: 0.6rem; color: var(--green-light); letter-spacing: 0.1em; }
.tp-text { font-size: 0.82rem; font-weight: 500; color: var(--carbon); white-space: nowrap; }
.tp-div { width: 1px; height: 36px; background: var(--chalk-light); margin: 0 28px 0 0; flex-shrink: 0; }

/* ============================================================
   STATS BAND
============================================================ */
.stats-band { background: var(--green-ink); padding: 44px 0; border-top: 1px solid rgba(116,198,157,0.1); border-bottom: 1px solid rgba(116,198,157,0.1); }
.stats-row { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 32px; }
.stat-item { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.si-num { font-family: var(--serif); font-size: 2.8rem; font-weight: 400; color: var(--green-light); line-height: 1; letter-spacing: -0.02em; }
.si-label { font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(116,198,157,0.4); }
.stat-div { width: 1px; height: 40px; background: rgba(116,198,157,0.12); }

/* ============================================================
   APPROACH
============================================================ */
.approach { padding: var(--section-y) 0; background: var(--ivory); }
.approach-header { margin-bottom: 64px; }
.approach-body { display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.approach-visual { position: relative; border: 1px solid var(--chalk-light); overflow: hidden; }
.approach-visual img { width: 100%; height: auto; display: block; filter: saturate(0.88) brightness(0.92); }
.approach-visual::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(238,236,230,0.16); pointer-events: none; }
.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-left: 1px solid var(--chalk-light); }
.approach-step { padding: 40px 36px; border-right: 1px solid var(--chalk-light); position: relative; transition: background 0.3s; }
.approach-step:hover { background: var(--paper); }
.step-num { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em; color: var(--ash); margin-bottom: 20px; }
.step-line { width: 28px; height: 2px; background: var(--green-mid); margin-bottom: 20px; transition: width 0.3s var(--ease); }
.approach-step:hover .step-line { width: 48px; background: var(--green-light); }
.approach-step h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--carbon); margin-bottom: 14px; line-height: 1.3; }
.approach-step p { font-size: 0.86rem; color: var(--graphite); line-height: 1.72; margin-bottom: 24px; }
.step-tag { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-light); background: var(--green-pale); padding: 4px 10px; display: inline-block; border-radius: 2px; }

/* ============================================================
   PULL QUOTE
============================================================ */
.pullquote-section { padding: 80px 0; background: var(--ivory-deep); border-top: 1px solid var(--chalk-light); border-bottom: 1px solid var(--chalk-light); }
.pq-inner { text-align: center; max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.pq-rule { width: 40px; height: 1px; background: var(--green-mid); margin: 36px auto; }
.pq-text { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; font-style: italic; color: var(--carbon); line-height: 1.5; margin-bottom: 24px; letter-spacing: -0.01em; }
.pq-cite { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }
.br-desktop { display: block; }

/* ============================================================
   MANDATES
============================================================ */
.mandates { padding: var(--section-y) 0; background: var(--paper); border-bottom: 1px solid var(--chalk-light); }
.mandates-header { margin-bottom: 64px; }
.mandates-split { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: start; }
.mandate { padding: 0 60px 0 0; }
.mandate:last-child { padding: 0 0 0 60px; }
.mandate-marker { font-family: var(--serif); font-size: 3.5rem; font-weight: 300; color: rgba(255,255,255,0.05); line-height: 1; margin-bottom: 20px; }
.mandate-content h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--carbon); margin-bottom: 4px; line-height: 1.25; }
.mandate-sub { font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green-light); margin-bottom: 18px !important; }
.mandate-content p { font-size: 0.9rem; color: var(--graphite); line-height: 1.75; margin-bottom: 20px; }
.mandate-content ul { list-style: none; }
.mandate-content li { font-size: 0.86rem; color: var(--graphite); padding: 9px 0; border-bottom: 1px solid var(--chalk-light); display: flex; align-items: center; gap: 10px; }
.mandate-content li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green-mid); flex-shrink: 0; }
.mandate-divider { width: 1px; background: var(--chalk-light); align-self: stretch; margin: 0 8px; }

/* ============================================================
   FOCUS
============================================================ */
.focus { padding: var(--section-y) 0; background: var(--ivory); }
.focus-header { margin-bottom: 56px; }
.focus-list { border-top: 1px solid var(--chalk-light); }
.focus-item { display: grid; grid-template-columns: 72px 1fr 40px; align-items: center; gap: 36px; padding: 28px 0; border-bottom: 1px solid var(--chalk-light); transition: background 0.22s; cursor: default; }
.focus-item:hover { background: var(--paper); margin: 0 -20px; padding: 28px 20px; }
.fi-num { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em; color: var(--ash); white-space: nowrap; }
.fi-body h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--carbon); margin-bottom: 5px; }
.fi-body p { font-size: 0.86rem; color: var(--graphite); line-height: 1.65; }
.fi-arrow { width: 28px; height: 28px; color: var(--chalk); transition: color 0.22s, transform 0.22s; flex-shrink: 0; }
.fi-arrow svg { width: 100%; height: 100%; }
.focus-item:hover .fi-arrow { color: var(--green-light); transform: translate(3px, -3px); }

/* ============================================================
   CONVICTION — was dark in v2, stays dark
============================================================ */
.conviction { padding: var(--section-y) 0; background: var(--dark-bg); }
.conviction-header { margin-bottom: 64px; max-width: 780px; }
.conviction-items { display: grid; grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.conviction-visual { display: flex; flex-direction: column; gap: 18px; }
.cv-photo {
  min-height: 520px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(4, 11, 8, 0.04) 0%, rgba(4, 11, 8, 0.42) 100%),
    radial-gradient(circle at top left, rgba(116,198,157,0.24), transparent 42%),
    linear-gradient(135deg, #15211b 0%, #0a120e 48%, #050907 100%);
  border: 1px solid rgba(116,198,157,0.14);
}
.cv-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.96);
}
.conviction-copy { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; }
.cv-item { background: rgba(255,255,255,0.02); padding: 36px 34px; display: flex; gap: 28px; align-items: flex-start; border-top: 1px solid rgba(116,198,157,0.1); transition: background 0.25s, border-color 0.25s, transform 0.25s; }
.cv-item:hover { background: rgba(255,255,255,0.04); border-top-color: var(--green-light); }
.cv-n { font-family: var(--mono); font-size: 0.65rem; color: var(--green-light); letter-spacing: 0.1em; padding-top: 3px; flex-shrink: 0; }
.cv-item h4 { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--carbon); margin-bottom: 10px; line-height: 1.3; }
.cv-item p { font-size: 0.86rem; color: var(--graphite); line-height: 1.72; }
.cv-item:hover { transform: translateY(-2px); }

/* ============================================================
   ABOUT
============================================================ */
.about { padding: var(--section-y) 0; background: var(--paper); border-top: 1px solid var(--chalk-light); }
.about-article { max-width: 100%; }
.about-intro { margin-bottom: 44px; }
.about-lead p, .about-body p { font-size: 0.95rem; color: var(--graphite); line-height: 1.85; margin-bottom: 18px; }
.about-lead { margin-bottom: 0; }
.about-editorial-img {
  margin: 52px 0;
  border-radius: 4px;
  overflow: hidden;
}
.about-editorial-img img { width: 100%; height: 480px; object-fit: cover; display: block; }
.about-body { margin-bottom: 40px; }
.about-values { margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.av-item { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--graphite); }
.av-item svg { width: 18px; height: 18px; color: var(--green-light); flex-shrink: 0; }
.about-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.about-metric { border-top: 1px solid var(--chalk-light); padding-top: 16px; }
.am-label { display: block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ash); margin-bottom: 10px; }
.about-metric strong { font-family: var(--serif); font-size: 1rem; font-weight: 500; color: var(--carbon); line-height: 1.4; }
.about-photo {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 18, 14, 0.01) 0%, rgba(10, 18, 14, 0.34) 100%),
    radial-gradient(circle at 20% 20%, rgba(116,198,157,0.2), transparent 30%),
    linear-gradient(120deg, #d9ddd6 0%, #bcc5bc 24%, #76857d 55%, #203328 100%);
}
.about-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) brightness(0.98);
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(238,236,230,0.24);
  pointer-events: none;
}
.about-photo-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 32px; z-index: 1; }
.about-photo-tag { display: inline-block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-light); margin-bottom: 12px; }
.vm-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vm-block { padding: 36px 40px; }
.vm-block.vision { background: var(--green-ink); border-top: 2px solid var(--green-mid); }
.vm-block.mission { background: rgba(15,45,31,0.8); border-top: 2px solid rgba(116,198,157,0.15); }
.vm-tag { font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-light); margin-bottom: 14px; }
.vm-block p { font-family: var(--serif); font-size: 1.05rem; font-style: italic; color: rgba(238,236,230,0.8); line-height: 1.65; }

/* ============================================================
   CONTACT
============================================================ */
.contact { padding: var(--section-y) 0; background: var(--dark-bg); }
.contact-header { margin-bottom: 64px; }
.contact-body { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.cd-row { display: flex; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cd-label { font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); min-width: 56px; flex-shrink: 0; }
.cd-val { font-size: 0.93rem; color: rgba(238,236,230,0.65); transition: color 0.22s; }
.cd-val:hover { color: var(--green-light); }
.offices { display: flex; flex-direction: column; gap: 36px; }
.office-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.office-flag { font-size: 1.3rem; }
.office h5 { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-light); }
.office address { font-size: 0.87rem; color: rgba(255,255,255,0.3); line-height: 1.8; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--dark-surface); border-top: 1px solid rgba(255,255,255,0.05); padding: 64px 0 36px; }
.footer-inner { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; margin-bottom: 48px; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.2); margin-top: 12px; font-family: var(--serif); font-style: italic; }
.footer-cols { display: flex; gap: 52px; flex-wrap: wrap; }
.fc { display: flex; flex-direction: column; gap: 10px; }
.fc h6 { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-light); margin-bottom: 6px; opacity: 0.7; }
.fc a { font-size: 0.83rem; color: rgba(255,255,255,0.25); transition: color 0.22s; }
.fc a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; display: flex; flex-direction: column; gap: 4px; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.12); }

/* ============================================================
   REVEAL
============================================================ */
.reveal-up, .reveal-left, .reveal-right { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-left  { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE — same as V2
============================================================ */
@media (max-width: 1024px) {
  :root { --section-y: 84px; --gutter: 28px; }
  .hero-inner { width: 100%; }
  .hero-bg img { object-position: 70% center; }
  .thesis-inner { grid-template-columns: 1fr; gap: 36px; }
  .thesis-index { display: none; }
  .approach-body { grid-template-columns: 1fr; gap: 36px; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .about-editorial-img { margin: 40px 0; }
  .about-editorial-img img { height: 300px; }
  .mandates-split { grid-template-columns: 1fr; }
  .mandate { padding: 0 !important; }
  .mandate-divider { height: 1px; width: 100%; margin: 36px 0; }
  .conviction-items { grid-template-columns: 1fr; gap: 28px; }
  .conviction-copy { padding-top: 0; }
  .vm-stack { grid-template-columns: 1fr; }
  .contact-body { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  :root { --section-y: 68px; --gutter: 20px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .approach-grid { grid-template-columns: 1fr; border-left: none; }
  .approach-step { border-left: 2px solid var(--chalk-light); border-right: none; padding: 28px 24px; }
  .focus-item { grid-template-columns: 52px 1fr; }
  .fi-arrow { display: none; }
  .stats-row { gap: 24px; }
  .stat-div { display: none; }
  .thesis-pillars { gap: 16px; }
  .tp-div { display: none; }
  .br-desktop { display: none; }
  .cv-photo { min-height: 420px; padding: 28px; }
  .about-metrics { grid-template-columns: 1fr; }
  .vm-block { padding: 28px 26px; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-heading { font-size: 3rem; }
  .cv-item { flex-direction: column; gap: 12px; }
}

/* ============================================================
   LIGHT MODE
============================================================ */
[data-theme="light"] {
  --ivory:        #F8F6F0;
  --ivory-deep:   #F2F0E8;
  --paper:        #EDEBE3;
  --dark-border:  rgba(0,0,0,0.08);
  --carbon:       #1A1A14;
  --carbon-mid:   #3A3830;
  --graphite:     #6A6860;
  --ash:          #9A9890;
  --chalk:        rgba(0,0,0,0.08);
  --chalk-light:  rgba(0,0,0,0.07);
  --dark-bg:      #1B4332;
  --dark-surface: #163828;
  --green:        #2D6A4F;
  --green-mid:    #40916C;
  --green-light:  #2D6A4F;
  --green-pale:   rgba(45,106,79,0.08);
  --green-ink:    #1B4332;
}
[data-theme="light"] body { background: var(--ivory); color: var(--carbon); }
[data-theme="light"] .nav.scrolled { background: rgba(248,246,240,0.97); }
[data-theme="light"] .hero-bg::after { background: linear-gradient(135deg, rgba(248,246,240,0.08) 0%, rgba(248,246,240,0.04) 100%); }
[data-theme="light"] .hero-bg video { filter: saturate(0.9) brightness(0.85); }
[data-theme="light"] .burger span { background: var(--carbon); }
[data-theme="light"] .mobile-nav { background: var(--ivory); }
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--paper); }
/* Fix 4: thesis bg image hidden in light mode — text is dark, bg should be light/flat */
[data-theme="light"] .thesis-bg { display: none; }
[data-theme="light"] .thesis { background: var(--paper); }
[data-theme="light"] .thesis-quote { color: var(--carbon); }
[data-theme="light"] .thesis-quote em { color: var(--green); border-bottom-color: rgba(45,106,79,0.25); }
[data-theme="light"] .thesis-body { color: var(--graphite); }
[data-theme="light"] .thesis-index { color: rgba(0,0,0,0.04); }
[data-theme="light"] .mandate-marker { color: rgba(0,0,0,0.04); }
[data-theme="light"] .vm-block.vision { background: var(--green-ink); }
[data-theme="light"] .vm-block.mission { background: rgba(27,67,50,0.85); }
[data-theme="light"] .vm-block p { color: rgba(238,236,230,0.9); }
[data-theme="light"] .section-heading.light { color: #fff; }
[data-theme="light"] .section-heading.light em { color: rgba(116,198,157,0.9); }
[data-theme="light"] .section-tag.light { color: rgba(116,198,157,0.9); }
[data-theme="light"] .section-tag.light::before { background: rgba(116,198,157,0.9); }
[data-theme="light"] .pullquote-section { background: var(--ivory-deep); }
[data-theme="light"] .pq-text { color: var(--carbon); }
[data-theme="light"] .approach-step:hover { background: var(--ivory-deep); }

/* Conviction stays dark bg — force text light */
[data-theme="light"] .conviction { background: var(--dark-bg); }
[data-theme="light"] .cv-item h4 { color: rgba(238,236,230,0.92); }
[data-theme="light"] .cv-item p  { color: rgba(238,236,230,0.55); }
[data-theme="light"] .cv-n { color: var(--green-light); }
[data-theme="light"] .cv-closing { color: rgba(238,236,230,0.45); }

/* Contact stays dark bg — force text light */
[data-theme="light"] .contact .section-sub { color: rgba(238,236,230,0.6); }

/* Hero always over dark video — keep all text white in both themes */
.hero-heading { color: #fff !important; }
.hero-heading em { color: var(--green-light) !important; }
.hero-label { color: var(--green-light) !important; }

/* ============================================================
   NAV CONTROLS (theme + lang toggles)
============================================================ */
.nav-controls { display: flex; align-items: center; gap: 10px; }
.ctrl-btn {
  background: none;
  border: 1px solid var(--chalk-light);
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.22s, border-color 0.22s, background 0.22s;
  display: flex; align-items: center; gap: 5px;
}
.ctrl-btn:hover { color: var(--green-light); border-color: var(--green-light); }
.ctrl-btn svg { width: 14px; height: 14px; }
[data-theme="dark"]  .icon-sun  { display: block; }
[data-theme="dark"]  .icon-moon { display: none;  }
[data-theme="light"] .icon-sun  { display: none;  }
[data-theme="light"] .icon-moon { display: block; }

/* ============================================================
   HERO — video cycling + fixes
============================================================ */

/* Fix 3: pin ticker to bottom so language switch doesn't shift it */
.hero { padding-bottom: 48px; }
.hero-ticker {
  position: absolute !important;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
}

/* Fix 2: hero text brighter over dark video */
.hero-desc { color: rgba(255,255,255,0.8) !important; }
.cta-link   { color: rgba(255,255,255,0.7) !important; border-bottom-color: rgba(255,255,255,0.18) !important; }
.hero-offices { color: rgba(255,255,255,0.45) !important; }
.sep { color: rgba(255,255,255,0.2) !important; }

/* Nav links brighter when navbar is transparent (at top) */
.nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.72); }
.nav:not(.scrolled) .nav-links a:hover { color: #fff; }
.nav:not(.scrolled) .nav-btn { border-color: rgba(255,255,255,0.3) !important; color: rgba(255,255,255,0.85) !important; }
.nav:not(.scrolled) .ctrl-btn { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.15); }
.nav:not(.scrolled) .burger span { background: rgba(255,255,255,0.85); }

/* Fix 1: fade-to-black overlay for video transition */
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.hero-fade.on { opacity: 1; }

.hero-vid {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.9);
  opacity: 0;
}
.hero-vid.active { opacity: 1; }

.hero-city-label {
  position: absolute;
  bottom: 56px; right: var(--gutter);
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  transition: opacity 0.5s ease;
}

/* ============================================================
   THESIS — body text below blockquote
============================================================ */
.thesis-body {
  font-size: 0.93rem;
  color: var(--graphite);
  line-height: 1.8;
  margin-bottom: 36px;
}

/* ============================================================
   APPROACH closing line
============================================================ */
.approach-closing {
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--graphite);
  font-style: italic;
  border-top: 1px solid var(--chalk-light);
  padding-top: 28px;
}

/* ============================================================
   CONVICTION — closing line
============================================================ */
.cv-closing {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(238,236,230,0.5);
  padding: 28px 34px;
  border-top: 1px solid rgba(116,198,157,0.08);
}

/* ============================================================
   VISION & MISSION — standalone section
============================================================ */
.vm-section {
  padding: var(--section-y) 0;
  background: var(--ivory-deep);
}
.vm-header {
  margin-bottom: 56px;
}
.vm-img-wrap {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0;
}
.vm-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.vm-cards-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  border: 1px solid var(--dark-border);
  border-top: none;
}
.vm-card-divider {
  background: var(--dark-border);
  align-self: stretch;
}
.vm-tag-label {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 14px;
}

/* ============================================================
   MANDATES — visual image above split
============================================================ */
.mandates-visual {
  margin-bottom: 52px;
  border-radius: 4px;
  overflow: hidden;
  max-height: 380px;
}
.mandates-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   THESIS — inline visual image
============================================================ */
.thesis-visual {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 36px;
  max-height: 300px;
}
.thesis-visual img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.85;
}

/* ============================================================
   RESPONSIVE — vm-section
============================================================ */
@media (max-width: 860px) {
  .vm-cards-row { grid-template-columns: 1fr; }
  .vm-card-divider { display: none; }
  .vm-img-wrap img { height: 260px; }
  .mandates-visual { max-height: 240px; }
  .mandates-visual img { height: 240px; }
  .thesis-visual { max-height: 200px; }
  .thesis-visual img { height: 200px; }
}

/* light mode vm-section */
[data-theme="light"] .vm-section { background: var(--paper); }
