/* ============================================
   BASE PALETTE (locked colors)
   ============================================ */
:root {
  --obsidian: #0D0E0F;
  --slate: #1A1C1E;
  --iron: #2C2F33;
  --warm-dark: #1C1710;
  --mist: #8B8F96;
  --silver: #C4C7CC;
  --ghost: #E8E9EB;
  --cream: #F5F4F0;
  --white: #FFFFFF;
  --white-soft: #FAFAF7;
  --gold: #B08D5B;
  --gold-light: #C9A97A;
  --gold-dark: #8A6C3F;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --max-content: 1100px;
  --max-wide: 1280px;
}

/* ============================================
   LIGHT MODE (default)
   ============================================ */
:root,
[data-theme="light"] {
  --bg-primary: var(--white);
  --bg-secondary: var(--cream);
  --bg-card: var(--white-soft);
  --bg-card-hover: var(--cream);
  --bg-break: var(--obsidian);      /* inverse contrast section */
  --bg-footer: var(--obsidian);
  --bg-strip: var(--cream);

  --text-primary: var(--obsidian);
  --text-secondary: #5B5E63;
  --text-tertiary: #8B8F96;
  --text-on-dark: var(--white);
  --text-on-dark-mute: var(--silver);

  --border-default: var(--ghost);
  --border-strong: #D5D7DA;
  --border-on-dark: var(--iron);

  --accent: var(--gold-dark);       /* darker gold reads better on light */
  --accent-hover: var(--gold);
  --accent-on-dark: var(--gold);

  --nav-bg: rgba(255, 255, 255, 0);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.96);
  --nav-border: rgba(213, 215, 218, 0.6);

  --hero-radial-from: rgba(245, 244, 240, 1);
  --hero-radial-to: rgba(255, 255, 255, 1);

  --num-muted: #D8D7D2;
}

/* ============================================
   DARK MODE (toggle)
   ============================================ */
[data-theme="dark"] {
  --bg-primary: var(--obsidian);
  --bg-secondary: var(--slate);
  --bg-card: var(--slate);
  --bg-card-hover: #1d1f22;
  --bg-break: var(--cream);
  --bg-footer: var(--obsidian);
  --bg-strip: var(--obsidian);

  --text-primary: var(--white);
  --text-secondary: var(--silver);
  --text-tertiary: var(--mist);
  --text-on-dark: var(--white);
  --text-on-dark-mute: var(--silver);

  --border-default: var(--iron);
  --border-strong: #404448;
  --border-on-dark: var(--iron);

  --accent: var(--gold);
  --accent-hover: var(--gold-light);
  --accent-on-dark: var(--gold);

  --nav-bg: rgba(13, 14, 15, 0);
  --nav-bg-scrolled: rgba(13, 14, 15, 0.92);
  --nav-border: rgba(44, 47, 51, 0.6);

  --hero-radial-from: rgba(28, 23, 16, 0.6);
  --hero-radial-to: rgba(13, 14, 15, 1);

  --num-muted: var(--iron);
}

/* ============================================
   BASE
   ============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  font-size: 14px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.5s ease, color 0.5s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================
   NAV
   ============================================ */
.gt-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: var(--nav-bg);
  border-bottom: 0.5px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.gt-nav.scrolled {
  background: var(--nav-bg-scrolled);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--nav-border);
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 32px;
}
.nav-logo-img { height: 32px; width: auto; display: block; }
.nav-logo-fallback {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.nav-logo-fallback .slash { color: var(--accent); margin: 0 2px; font-weight: 300; }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  background: none;
  border: 0.5px solid var(--border-strong);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
  color: var(--text-primary);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }

.nav-cta {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 0.5px solid var(--accent);
  padding: 10px 20px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Hamburger button — hidden on desktop, shown on mobile via @media */
.nav-burger {
  display: none;
  background: none;
  border: 0.5px solid var(--border-strong);
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s;
}
.nav-burger:hover { border-color: var(--accent); }
.nav-burger span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav overlay — hidden by default, opened by JS toggling .open */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 0;
}
.nav-mobile-links a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 12px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.nav-mobile-links a:hover { color: var(--accent); }
.nav-mobile-cta {
  color: var(--accent) !important;
  border: 0.5px solid var(--accent);
  margin-top: 12px;
}
.nav-mobile-cta:hover {
  background: var(--accent);
  color: var(--bg-primary) !important;
}
/* Lock body scroll when nav-mobile is open */
body.nav-open { overflow: hidden; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 48px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, var(--hero-radial-from) 0%, var(--hero-radial-to) 60%);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(176, 141, 91, 0.05) 0px, transparent 2px),
    radial-gradient(circle at 60% 70%, rgba(176, 141, 91, 0.04) 0px, transparent 2px),
    radial-gradient(circle at 80% 20%, rgba(176, 141, 91, 0.05) 0px, transparent 2px);
  background-size: 30px 30px, 50px 50px, 40px 40px;
  z-index: 0;
  opacity: 0.6;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.1s forwards;
}

.hero-wordmark {
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.3s forwards;
  width: 100%;
  max-width: 560px;
}
.hero-wordmark svg { width: 100%; height: auto; }
.hero-wordmark .wordmark-text { fill: var(--text-primary); }

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 540px;
  line-height: 1.4;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.5s forwards;
}
.hero-subcopy {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-tertiary);
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.7s forwards;
}
.hero-cta-cluster {
  display: flex;
  gap: 32px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.9s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1.2s ease 1.4s forwards;
}
.scroll-cue::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--accent) 0%, transparent 100%);
  margin: 8px auto 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary, .btn-text, .btn-on-dark {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary {
  border: 0.5px solid var(--accent);
  color: var(--accent);
  background: none;
  padding: 14px 28px;
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--bg-primary);
}
.btn-text {
  color: var(--text-primary);
  padding: 14px 0;
  border-bottom: 0.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.btn-text:hover { color: var(--accent); border-bottom-color: var(--accent); }
.btn-text::after { content: ' →'; margin-left: 4px; }

.btn-on-dark {
  border: 0.5px solid var(--accent-on-dark);
  color: var(--accent-on-dark);
  background: none;
  padding: 14px 28px;
}
.btn-on-dark:hover {
  background: var(--accent-on-dark);
  color: var(--obsidian);
}

/* ============================================
   SECTION FRAME
   ============================================ */
.section {
  padding: 96px 48px;
  position: relative;
}
.section-inner {
  max-width: var(--max-content);
  margin: 0 auto;
}
.section.alt { background: var(--bg-secondary); }
.section.inverted {
  background: var(--bg-break);
  color: var(--text-on-dark);
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section.inverted .section-eyebrow { color: var(--accent-on-dark); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.section.inverted .section-title { color: var(--text-on-dark); }

.section-subtitle {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-tertiary);
  max-width: 560px;
  line-height: 1.5;
  margin-bottom: 56px;
}
.section.inverted .section-subtitle { color: var(--text-on-dark-mute); }

/* ============================================
   STATS ROW
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--border-default);
  border-bottom: 0.5px solid var(--border-default);
}
.stat-cell {
  padding: 56px 24px;
  border-right: 0.5px solid var(--border-default);
  position: relative;
}
.stat-cell:last-child { border-right: none; }
.stat-index {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ============================================
   SERVICE PILLARS
   ============================================ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
}
.pillar-card {
  padding: 48px 36px;
  border: 0.5px solid var(--border-default);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  margin-left: -0.5px;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}
.pillar-card:hover::before { height: 100%; }
.pillar-card:hover { background: var(--bg-card-hover); }
.pillar-num {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 300;
  color: var(--num-muted);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.3s;
}
.pillar-card:hover .pillar-num { color: var(--accent); }
.pillar-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
.pillar-body {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}
.pillar-link {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 0.5px solid var(--accent);
  padding-bottom: 2px;
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.process-section { padding-top: 128px; padding-bottom: 128px; }
.timeline-wrap {
  margin-top: 72px;
  position: relative;
  padding: 80px 0 32px;
}
.timeline-line {
  position: absolute;
  top: 110px;
  left: 0; right: 0;
  height: 0.5px;
  background: linear-gradient(to right, transparent 0%, var(--accent) 8%, var(--accent) 92%, transparent 100%);
  opacity: 0.55;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}
.timeline-stop {
  padding: 0 16px;
  text-align: left;
  position: relative;
}
.timeline-stop .stop-num {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 300;
  color: var(--num-muted);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s;
}
.timeline-stop .stop-dot {
  position: absolute;
  top: 110px;
  left: 16px;
  width: 6px; height: 6px;
  background: var(--accent);
  transform: translateY(-50%);
}
.timeline-stop .stop-eyebrow {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 36px;
  margin-bottom: 8px;
}
.timeline-stop .stop-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.timeline-stop .stop-body {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 180px;
}
.timeline-stop:hover .stop-num { color: var(--accent); }

/* ============================================
   INVERTED BREAK (dark quote section in light mode)
   ============================================ */
.break-section {
  padding: 160px 48px;
  text-align: center;
  position: relative;
  background: var(--bg-break);
  color: var(--text-on-dark);
}
.break-section::before, .break-section::after {
  content: '';
  position: absolute;
  width: 32px; height: 32px;
}
.break-section::before {
  top: 48px; left: 48px;
  border-top: 0.5px solid var(--accent-on-dark);
  border-left: 0.5px solid var(--accent-on-dark);
}
.break-section::after {
  bottom: 48px; right: 48px;
  border-bottom: 0.5px solid var(--accent-on-dark);
  border-right: 0.5px solid var(--accent-on-dark);
}
.break-quote {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-on-dark);
  max-width: 820px;
  margin: 0 auto 40px;
  line-height: 1.35;
}
.break-attribution {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
}
.break-attribution .name { color: var(--text-on-dark); margin-right: 8px; }

/* In dark mode, the break becomes light (cream) for inverse contrast */
[data-theme="dark"] .break-section {
  color: var(--obsidian);
}
[data-theme="dark"] .break-quote { color: var(--obsidian); }
[data-theme="dark"] .break-attribution { color: var(--gold-dark); }
[data-theme="dark"] .break-attribution .name { color: var(--obsidian); }
[data-theme="dark"] .break-section::before {
  border-top-color: var(--gold-dark);
  border-left-color: var(--gold-dark);
}
[data-theme="dark"] .break-section::after {
  border-bottom-color: var(--gold-dark);
  border-right-color: var(--gold-dark);
}

/* ============================================
   INSIGHTS
   ============================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
}
.insight-card {
  padding: 40px 32px 48px;
  border-right: 0.5px solid var(--border-default);
  border-top: 0.5px solid var(--border-default);
  border-bottom: 0.5px solid var(--border-default);
  position: relative;
  transition: background 0.3s;
  background: var(--bg-primary);
}
.insight-card:first-child { border-left: 0.5px solid var(--border-default); }
.insight-card:hover { background: var(--bg-secondary); }
.insight-meta {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.insight-meta .dot { width: 3px; height: 3px; background: var(--accent); }
.insight-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
  min-height: 84px;
}
.insight-brief {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}
.insight-link {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 0.5px solid var(--accent);
  padding-bottom: 2px;
}

/* ============================================
   SERVICES STRIP
   ============================================ */
.services-strip {
  padding: 48px 0;
  background: var(--bg-strip);
  border-top: 0.5px solid var(--border-default);
  border-bottom: 0.5px solid var(--border-default);
  overflow: hidden;
}
.services-marquee {
  display: flex;
  gap: 16px;
  white-space: nowrap;
  animation: scroll-x 40s linear infinite;
}
.service-chip {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 0.5px solid var(--border-default);
  padding: 12px 24px;
  flex-shrink: 0;
  background: var(--bg-primary);
}
.service-chip.gold { color: var(--accent); border-color: var(--accent); }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   FINAL CTA (always dark for closure)
   ============================================ */
.final-cta {
  padding: 160px 48px;
  text-align: center;
  background: var(--obsidian);
  color: var(--white);
  position: relative;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 80%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.2;
}
.final-cta .eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.final-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.final-cta .sub {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  color: var(--silver);
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.final-cta .btn-on-dark { position: relative; z-index: 1; padding: 18px 36px; font-size: 11px; }

/* ============================================
   FOOTER (always dark)
   ============================================ */
.footer {
  background: var(--bg-footer);
  color: var(--white);
  border-top: 0.5px solid var(--iron);
  padding: 80px 48px 40px;
}
.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 0.5px solid var(--iron);
}

.footer-logo {
  height: 36px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}
.footer-logo-img { height: 36px; width: auto; display: block; }
.footer-logo-fallback {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}
.footer-logo-fallback .slash { color: var(--gold); }

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  color: var(--mist);
  max-width: 280px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--mist);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--iron);
}
.footer-bottom a { color: var(--iron); }
.footer-bottom a:hover { color: var(--mist); }
.footer-bottom .legal { display: flex; gap: 32px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav-links { gap: 24px; }
  .gt-nav { padding: 0 32px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 0.5px solid var(--border-default); }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { margin-left: 0; }
  .timeline-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline-line { display: none; }
  .timeline-stop .stop-dot { left: 0; top: 0; }
  .timeline-stop { padding-left: 32px; border-left: 0.5px solid var(--accent); }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card { border-right: 0.5px solid var(--border-default); border-left: 0.5px solid var(--border-default); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .gt-nav { padding: 0 20px; height: 60px; }
  .nav-links { display: none; }
  .nav-right { gap: 10px; }
  .nav-burger { display: inline-flex; }

  /* Tap-target floor: 44x44 minimum on touch */
  .theme-toggle { width: 44px; height: 44px; }
  .theme-toggle svg { width: 18px; height: 18px; }
  .nav-cta { padding: 13px 16px; font-size: 11px; min-height: 44px; display: inline-flex; align-items: center; }

  .section { padding: 64px 24px; }
  .hero { padding: 88px 24px 56px; }
  .hero-cta-cluster { flex-direction: column; gap: 16px; width: 100%; }
  .hero-cta-cluster .btn-primary,
  .hero-cta-cluster .btn-text {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 16px 24px;
    font-size: 12px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Read-more / read-the-brief links: bump from 9px to a tappable size */
  .pillar-link, .insight-link {
    font-size: 11px;
    padding: 12px 0;
    display: inline-block;
    min-height: 44px;
  }

  /* Pillar / insight card padding eases on narrow widths */
  .pillar-card { padding: 40px 28px; }
  .insight-card { padding: 32px 24px 36px; }
  .insight-title { min-height: auto; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 0 48px; }
  .footer { padding: 64px 24px 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom .legal { gap: 24px; }
  .footer-col ul li a { padding: 8px 0; display: inline-block; min-height: 32px; }

  .break-section { padding: 96px 32px; }
  .break-section::before, .break-section::after { width: 20px; height: 20px; }
  .break-section::before { top: 24px; left: 24px; }
  .break-section::after { bottom: 24px; right: 24px; }

  .final-cta { padding: 96px 24px; }
  .final-cta .btn-on-dark { padding: 16px 28px; font-size: 12px; }
}

@media (max-width: 380px) {
  /* iPhone SE 1st gen / 320–375 narrow tier */
  .gt-nav { padding: 0 16px; }
  .nav-cta { padding: 12px 14px; font-size: 10px; }
  .nav-right { gap: 8px; }
  .hero { padding: 80px 20px 48px; }
  .section { padding: 56px 20px; }
  .pillar-card { padding: 32px 22px; }
}

/* ============================================
   HERO VIDEO LOGO (wired asset, Task 4)
   ============================================ */
.hero-wordmark .hero-logo-video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 480px;
  margin: 0 auto;
  object-fit: contain;
  pointer-events: none;
  /* Feather the edges so the video blends into the hero background.
     The radial gradient keeps the center fully opaque and fades to
     transparent toward the corners — the page background shows through
     and there's no hard rectangle. */
  -webkit-mask-image: radial-gradient(
    ellipse 75% 70% at center,
    #000 50%,
    rgba(0, 0, 0, 0.85) 65%,
    rgba(0, 0, 0, 0) 100%
  );
          mask-image: radial-gradient(
    ellipse 75% 70% at center,
    #000 50%,
    rgba(0, 0, 0, 0.85) 65%,
    rgba(0, 0, 0, 0) 100%
  );
}
