/* ============================================================
   NEXT HORIZON CAPITAL — DESIGN SYSTEM
   style.css  ·  Instrument Serif + DM Sans  ·  Cobalt / Terracotta / Gold
   ============================================================ */

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  /* Core neutrals */
  --clr-ink:           #0A0A08;          /* near-black, warm */
  --clr-graphite:      #1B1B16;          /* footer dark */
  --clr-text:          #0A0A08;
  --clr-text-soft:     #4A4A42;          /* readable secondary */
  --clr-text-muted:    #6E6E63;          /* tertiary copy */
  --clr-text-faint:    #9A9890;
  --clr-text-inv:      #FFFFFF;
  --clr-text-inv-soft: rgba(255, 255, 255, 0.72);
  --clr-text-inv-mute: rgba(255, 255, 255, 0.46);

  /* Surfaces */
  --clr-bg:            #FFFFFF;
  --clr-cream:         #FAF7EE;          /* warm soft cream */
  --clr-bone:          #F2EEDF;          /* deeper warm beige */
  --clr-mist:          #F4F4F0;          /* cool stone */

  /* Accents — multi-tone, editorial */
  --clr-cobalt:        #1F40CA;          /* primary blue */
  --clr-cobalt-deep:   #1631A1;
  --clr-cobalt-tint:   rgba(31, 64, 202, 0.08);
  --clr-cobalt-glow:   rgba(31, 64, 202, 0.18);

  --clr-terracotta:    #D8593A;          /* warm coral / vermilion */
  --clr-terracotta-tint: rgba(216, 89, 58, 0.10);

  --clr-gold:          #B8862F;          /* refined ochre */
  --clr-gold-tint:     rgba(184, 134, 47, 0.10);

  /* Borders */
  --clr-border:        rgba(10, 10, 8, 0.09);
  --clr-border-strong: rgba(10, 10, 8, 0.18);
  --clr-border-inv:    rgba(255, 255, 255, 0.12);

  /* Type system — Instrument Serif (display) + DM Sans (body) */
  --ff-display:  'Instrument Serif', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-body:     'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Fluid type — calmer ramp, larger floors for readability */
  --fs-hero:      clamp(46px, 7.5vw, 108px);
  --fs-h2:        clamp(32px, 4.4vw, 64px);
  --fs-h3:        clamp(20px, 2.1vw, 28px);
  --fs-manifesto: clamp(19px, 2.2vw, 32px);
  --fs-body:      clamp(15px, 1.05vw, 16.5px);
  --fs-small:     14px;
  --fs-label:     11px;

  /* Spacing scale */
  --sp-xs:   8px;
  --sp-sm:   16px;
  --sp-md:   24px;
  --sp-lg:   48px;
  --sp-xl:   80px;
  --sp-2xl:  128px;
  --sp-3xl:  176px;

  --radius:   3px;
  --radius-lg: 8px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:      560ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--clr-text);
  background: var(--clr-bg);
  overflow-x: hidden;
  line-height: 1.62;
  letter-spacing: -0.005em;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

::selection { background: var(--clr-cobalt); color: #fff; }

/* ── 3. TYPOGRAPHY ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--clr-cobalt);
  margin-bottom: var(--sp-md);
  position: relative;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--clr-cobalt);
  margin-right: 12px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.section-header {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  line-height: 1.04;
  font-weight: 400;
  color: var(--clr-text);
  margin-bottom: var(--sp-lg);
  letter-spacing: -0.015em;
  max-width: 22ch;
}

.section-header em {
  font-style: italic;
  color: var(--clr-cobalt);
}

.section-header.inv { color: var(--clr-text-inv); }

/* ── 4. LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

/* ── 5. DARK SECTION TEXTURE ───────────────────────────────── */
.dark-section {
  background: var(--clr-ink);
  color: var(--clr-text-inv);
  position: relative;
  overflow: hidden;
}

.dark-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

.dark-section > * { position: relative; z-index: 1; }

/* ── 6. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              transform 160ms ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 700ms var(--ease-out);
  pointer-events: none;
}

.btn:hover::after { transform: translateX(110%); }
.btn:active { transform: scale(0.97); }

.btn-accent {
  background: var(--clr-cobalt);
  color: #fff;
  border: 1.5px solid var(--clr-cobalt);
  box-shadow: 0 1px 0 0 rgba(0,0,0,0.04), 0 6px 20px -8px rgba(31,64,202,0.45);
}
.btn-accent:hover {
  background: var(--clr-cobalt-deep);
  border-color: var(--clr-cobalt-deep);
  box-shadow: 0 2px 0 0 rgba(0,0,0,0.04), 0 12px 28px -8px rgba(31,64,202,0.55);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-dark {
  background: transparent;
  color: var(--clr-text);
  border: 1.5px solid rgba(10, 10, 8, 0.18);
}
.btn-outline-dark:hover {
  border-color: var(--clr-cobalt);
  color: var(--clr-cobalt);
}

.btn-full { width: 100%; justify-content: center; }

/* ── 7. NAV ────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--sp-lg);
  transition: background 380ms var(--ease-out),
              backdrop-filter 380ms var(--ease-out),
              padding 280ms var(--ease-out),
              border-color 280ms var(--ease-out);
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(10, 10, 8, 0.86);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: var(--clr-border-inv);
  padding: 13px var(--sp-lg);
}

.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; object-fit: contain; }
.nav-logo-text {
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
}

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  transition: color 220ms ease;
  letter-spacing: 0.01em;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  height: 1px; width: 0;
  background: var(--clr-cobalt);
  transition: width 320ms var(--ease-out);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: #fff; }

.nav-right { display: flex; align-items: center; gap: var(--sp-md); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff; border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Pulse keyframe still used by footer status dot */
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(31,64,202,0.55); }
  50%      { transform: scale(1.4); opacity: 0.7; box-shadow: 0 0 0 6px rgba(31,64,202,0); }
}

/* ── 8. HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-3xl) var(--sp-lg) var(--sp-xl);
  background-color: var(--clr-ink);
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Layered editorial glow — cobalt primary, terracotta whisper, gold spark */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 78vw; height: 78vw;
  max-width: 1000px; max-height: 1000px;
  background:
    radial-gradient(circle at 60% 35%, rgba(31,64,202,0.42) 0%, rgba(31,64,202,0.08) 38%, transparent 64%),
    radial-gradient(circle at 30% 75%, rgba(216,89,58,0.16) 0%, transparent 55%),
    radial-gradient(circle at 78% 80%, rgba(184,134,47,0.10) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

.hero-content {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  padding-top: 60px;
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-family: var(--ff-display);
  font-size: var(--fs-hero);
  line-height: 0.96;
  font-weight: 400;
  color: var(--clr-text-inv);
  max-width: 14ch;
  margin-bottom: var(--sp-md);
  opacity: 0;
  transform: translateY(30px);
  letter-spacing: -0.025em;
}

/* Italic emphasis on the second sentence — added via JS */
.hero-headline em,
.hero-headline .em {
  font-style: italic;
  color: #FFFFFF;
  position: relative;
}

.hero-headline em::after,
.hero-headline .em::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.05em;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--clr-cobalt) 0%, var(--clr-terracotta) 100%);
  opacity: 0.55;
}

.hero-accent-line {
  height: 1px;
  width: 88px;
  background: linear-gradient(90deg, var(--clr-cobalt), var(--clr-terracotta));
  margin-bottom: var(--sp-md);
  transform: scaleX(0);
  transform-origin: left center;
}

.hero-subheadline {
  font-family: var(--ff-body);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  line-height: 1.72;
  margin-bottom: var(--sp-lg);
  opacity: 0;
  transform: translateY(20px);
}

.hero-ctas {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.16);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.7), transparent);
  animation: scrollSweep 2.4s ease-in-out infinite;
}

@keyframes scrollSweep {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* ── 9. MANIFESTO — split panel, all-light, color via accents ── */
.manifesto {
  background: var(--clr-bg);
  position: relative;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  position: relative;
}

/* Cobalt threadline between columns */
.manifesto-grid::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 12%; bottom: 12%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--clr-cobalt) 30%, var(--clr-cobalt) 70%, transparent);
  transform: translateX(-0.5px);
  pointer-events: none;
}

.manifesto-col {
  display: flex;
  flex-direction: column;
  padding: clamp(56px, 6vw, 112px) clamp(28px, 5vw, 80px);
}

.manifesto-col.industry {
  background: var(--clr-bg);
}

.manifesto-col.nhc {
  background: var(--clr-cream);
  position: relative;
}

.manifesto-col-header {
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  margin-bottom: var(--sp-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.manifesto-col-header::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.manifesto-col.industry .manifesto-col-header { color: var(--clr-text-faint); }
.manifesto-col.industry .manifesto-col-header::before { background: var(--clr-text-faint); }

.manifesto-col.nhc .manifesto-col-header { color: var(--clr-cobalt); }
.manifesto-col.nhc .manifesto-col-header::before {
  background: var(--clr-cobalt);
  box-shadow: 0 0 0 4px rgba(31,64,202,0.14);
}

.manifesto-cell {
  padding: var(--sp-md) 0;
  border-top: 1px solid;
}

.manifesto-col.industry .manifesto-cell { border-top-color: rgba(10,10,8,0.07); }
.manifesto-col.nhc      .manifesto-cell { border-top-color: rgba(31,64,202,0.14); }

.manifesto-cell p {
  font-family: var(--ff-display);
  font-size: var(--fs-manifesto);
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.manifesto-col.industry .manifesto-cell p { color: var(--clr-text-faint); }
.manifesto-col.nhc      .manifesto-cell p { color: var(--clr-text); }

.manifesto-col.nhc .manifesto-cell p strong {
  font-weight: 400;
  font-style: italic;
  color: var(--clr-cobalt);
}

.manifesto-footer {
  padding: var(--sp-lg) var(--sp-lg) var(--sp-xl);
}

.manifesto-caption {
  font-family: var(--ff-body);
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  color: var(--clr-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ── 10. ABOUT (white) ─────────────────────────────────────── */
.about-section {
  padding: var(--sp-2xl) var(--sp-lg);
  background: var(--clr-bg);
  position: relative;
}

.about-body {
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 400;
  color: var(--clr-text-soft);
  max-width: 660px;
  margin-bottom: var(--sp-lg);
  line-height: 1.72;
}

/* Subtle global-talent note — editorial, sits below body */
.about-talent-note {
  font-family: var(--ff-display);
  font-size: clamp(15px, 1.15vw, 17px);
  font-style: italic;
  font-weight: 400;
  color: var(--clr-text-soft);
  max-width: 720px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  padding: var(--sp-md) 0 0;
  border-top: 1px solid var(--clr-border);
  margin-bottom: var(--sp-xl);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-talent-note::before {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 0.7em;
  border-radius: 50%;
  background: var(--clr-gold);
  box-shadow: 0 0 0 4px var(--clr-gold-tint);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--sp-md);
}

.pillar-card {
  background: var(--clr-bg);
  padding: var(--sp-lg);
  position: relative;
  transition: background 320ms var(--ease-out);
  cursor: default;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(to bottom, var(--clr-cobalt), var(--clr-terracotta));
  transition: width 280ms var(--ease-out);
}

.pillar-card:hover::before { width: 3px; }
.pillar-card:hover { background: var(--clr-cream); }

.pillar-number {
  font-family: var(--ff-display);
  font-size: clamp(56px, 5.5vw, 88px);
  font-weight: 400;
  line-height: 1;
  color: rgba(31,64,202,0.14);
  margin-bottom: var(--sp-md);
  transition: color 320ms var(--ease-out), transform 320ms var(--ease-out);
  user-select: none;
  font-style: italic;
  letter-spacing: -0.02em;
}

.pillar-card:hover .pillar-number {
  color: var(--clr-cobalt);
  transform: translateY(-2px);
}

.pillar-title {
  font-family: var(--ff-display);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 400;
  margin-bottom: var(--sp-sm);
  transition: color 280ms ease;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.pillar-card:hover .pillar-title { color: var(--clr-cobalt); }

.pillar-body {
  font-family: var(--ff-body);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--clr-text-soft);
  line-height: 1.72;
}

/* ── 11. SERVICES (white) ──────────────────────────────────── */
.services-section {
  padding: var(--sp-2xl) var(--sp-lg);
  background: var(--clr-bg);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1240px;
  height: 1px;
  background: var(--clr-border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--clr-bg);
  padding: var(--sp-lg) var(--sp-xl) var(--sp-xl);
  position: relative;
  overflow: hidden;
  transition: background 320ms var(--ease-out);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--clr-cobalt);
  transition: width 260ms var(--ease-out);
}

.service-card::after {
  content: attr(data-index);
  position: absolute;
  bottom: -18px; right: var(--sp-md);
  font-family: var(--ff-display);
  font-size: 120px;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: rgba(31,64,202,0.07);
  pointer-events: none;
  user-select: none;
  transition: color 320ms ease, transform 320ms ease;
  letter-spacing: -0.04em;
}

.service-card:hover { background: var(--clr-cream); }
.service-card:hover::before { width: 3px; }
.service-card:hover::after {
  color: rgba(31,64,202,0.18);
  transform: translateY(-4px);
}

.service-title {
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  margin-bottom: var(--sp-sm);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.service-narrative {
  font-family: var(--ff-body);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--clr-text-soft);
  margin-bottom: var(--sp-md);
  line-height: 1.68;
}

.service-subpoints {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 460ms var(--ease-out), opacity 280ms ease;
}

.service-card:hover .service-subpoints {
  max-height: 280px;
  opacity: 1;
}

.service-subpoints li {
  font-family: var(--ff-body);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--clr-text-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-subpoints li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--clr-cobalt);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── 12. PROCESS (white) ───────────────────────────────────── */
.process-section {
  padding: var(--sp-2xl) var(--sp-lg);
  background: var(--clr-bg);
  position: relative;
}

.process-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1240px;
  height: 1px;
  background: var(--clr-border);
}

.process-wrapper {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0 var(--sp-xl);
  margin-top: var(--sp-xl);
}

.process-timeline {
  display: flex;
  justify-content: center;
  padding-top: 22px;
  position: relative;
}

.process-timeline-line {
  width: 1px;
  background: linear-gradient(to bottom, var(--clr-cobalt), var(--clr-terracotta) 60%, rgba(216,89,58,0.18));
  transform: scaleY(0);
  transform-origin: top center;
  position: absolute;
  top: 22px; bottom: 22px;
}

.process-stages-list { display: flex; flex-direction: column; }

.process-stage {
  padding: var(--sp-lg) 0 var(--sp-xl);
  border-bottom: 1px solid var(--clr-border);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.process-stage:last-child { border-bottom: none; }
.process-stage.visible { opacity: 1; transform: translateX(0); }

/* Decorative italic numeral */
.process-deco-num {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(110px, 16vw, 220px);
  font-weight: 400;
  line-height: 1;
  color: rgba(31,64,202,0.06);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  z-index: 0;
  transition: color 360ms ease;
}

.process-stage.visible .process-deco-num { color: rgba(31,64,202,0.13); }

.process-stage-number {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--clr-cobalt);
  margin-bottom: var(--sp-md);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  background: var(--clr-cobalt-tint);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31,64,202,0.16);
}

.process-stage-title {
  font-family: var(--ff-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.06;
  margin-bottom: var(--sp-md);
  position: relative;
  z-index: 1;
  letter-spacing: -0.018em;
}

.process-stage-body {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-text-soft);
  max-width: 600px;
  line-height: 1.78;
  position: relative;
  z-index: 1;
}

/* ── 13. MANDATES PREVIEW (white) ──────────────────────────── */
.mandates-preview-section {
  padding: var(--sp-2xl) var(--sp-lg);
  background: var(--clr-bg);
  position: relative;
}

.mandates-preview-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1240px;
  height: 1px;
  background: var(--clr-border);
}

.mandates-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.mandate-card {
  background: var(--clr-bg);
  padding: var(--sp-lg) var(--sp-xl) var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  transition: background 320ms var(--ease-out);
  position: relative;
  overflow: hidden;
}

.mandate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-cobalt) 0%, var(--clr-terracotta) 70%, var(--clr-gold) 100%);
  opacity: 0.32;
  transition: opacity 280ms var(--ease-out);
}

.mandate-card:hover { background: var(--clr-cream); }
.mandate-card:hover::before { opacity: 1; }

.mandate-card-logo {
  height: 48px;
  display: flex;
  align-items: center;
}

.mandate-card-logo img,
.mandate-card-logo-img {
  max-height: 100%;
  max-width: 150px;
  object-fit: contain;
}

.mandate-card-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px; height: 38px;
  background: var(--clr-cobalt-tint);
  border: 1px solid rgba(31,64,202,0.20);
  border-radius: var(--radius);
}

.mandate-card-logo-placeholder span {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: var(--clr-cobalt);
}

.mandate-card-client {
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: var(--clr-cobalt);
}

.mandate-card-title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.mandate-card-description {
  font-family: var(--ff-body);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--clr-text-soft);
  line-height: 1.7;
  flex: 1;
}

.mandate-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--clr-cobalt);
  letter-spacing: 0.04em;
  transition: gap 200ms ease, color 200ms ease;
  margin-top: var(--sp-sm);
}

.mandate-card-link:hover { gap: 12px; color: var(--clr-cobalt-deep); }

.mandate-empty {
  padding: var(--sp-xl);
  text-align: center;
  color: var(--clr-text-muted);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 17px;
  width: 100%;
}

/* ── 14. FOOTER (dark — top contact + bottom legal) ───────── */
.footer {
  background: var(--clr-graphite);
  color: var(--clr-text-inv);
  padding: var(--sp-2xl) var(--sp-lg) var(--sp-lg);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  bottom: -18%; left: -8%;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  background:
    radial-gradient(circle, rgba(31,64,202,0.16) 0%, rgba(31,64,202,0.04) 35%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.footer::after {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 40vw; height: 40vw;
  max-width: 500px; max-height: 500px;
  background:
    radial-gradient(circle, rgba(216,89,58,0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.footer-inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }

.footer-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--clr-border-inv);
  margin-bottom: var(--sp-xl);
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.footer-logo { height: 40px; width: auto; object-fit: contain; }

.footer-name {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--clr-text-inv);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}

.footer-tagline {
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--clr-text-inv-mute);
  letter-spacing: 0.01em;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: start;
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--clr-border-inv);
  margin-bottom: var(--sp-lg);
}

.footer-contact-header {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--clr-text-inv);
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-md);
  max-width: 18ch;
  letter-spacing: -0.018em;
}

.footer-contact-header em {
  font-style: italic;
  color: #fff;
  background: linear-gradient(transparent 80%, rgba(31,64,202,0.45) 80%);
  background-size: 100% 100%;
}

.contact-description {
  font-family: var(--ff-body);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--clr-text-inv-soft);
  line-height: 1.75;
  margin-bottom: var(--sp-lg);
  max-width: 460px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: var(--sp-lg);
}

.contact-links a {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--clr-text-inv-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 220ms ease, transform 220ms ease;
}

.contact-links a:hover {
  color: #fff;
  transform: translateX(2px);
}

.contact-links a svg { color: var(--clr-cobalt); flex-shrink: 0; }
.contact-links a:hover svg { color: var(--clr-terracotta); }

.contact-serve {
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.30);
  line-height: 2.2;
  text-align: right;
  max-width: 320px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-group label {
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.42);
}

.form-group input,
.form-group textarea {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--clr-text-inv);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  padding: 13px 14px;
  width: 100%;
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.65; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-cobalt);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(31,64,202,0.22);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.22); }

.form-success {
  display: none;
  padding: var(--sp-xl) 0;
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  font-style: italic;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--clr-border-inv);
}

.footer-copy {
  font-family: var(--ff-body);
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
}

/* Footer status indicator */
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.footer-status .pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clr-cobalt);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

/* ── 15. SCROLL REVEAL ─────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}

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

[data-reveal][data-delay="100"] { transition-delay: 100ms; }
[data-reveal][data-delay="200"] { transition-delay: 200ms; }
[data-reveal][data-delay="300"] { transition-delay: 300ms; }
[data-reveal][data-delay="400"] { transition-delay: 400ms; }
[data-reveal][data-delay="500"] { transition-delay: 500ms; }

/* ── 16. PAGE HEADERS (subpages) ───────────────────────────── */
.page-header {
  padding: calc(var(--sp-3xl) + 60px) var(--sp-lg) var(--sp-2xl);
}

.page-header .container {
  border-bottom: 1px solid var(--clr-border-inv);
  padding-bottom: var(--sp-xl);
}

.page-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.02;
  color: #fff;
  margin-bottom: var(--sp-md);
  letter-spacing: -0.022em;
}

.page-header h1 em {
  font-style: italic;
  color: #fff;
}

.page-header p {
  font-family: var(--ff-body);
  font-size: 16.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  line-height: 1.74;
}

/* ── 17. MANDATES PAGE ─────────────────────────────────────── */
.mandates-page { padding: var(--sp-2xl) var(--sp-lg); background: var(--clr-bg); }

.mandate-block {
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--clr-border);
  max-width: 1240px;
  margin: 0 auto;
}

.mandate-block:last-child { border-bottom: none; }

.mandate-block-header {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
}

.mandate-block-logo { max-height: 54px; max-width: 170px; object-fit: contain; }

.mandate-block-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--clr-text-soft);
}

.mandate-block-client {
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--clr-cobalt);
  margin-bottom: 6px;
}

.mandate-block-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.06;
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.018em;
  max-width: 26ch;
}

.mandate-block-description {
  font-family: var(--ff-body);
  font-size: 15.5px;
  font-weight: 400;
  color: var(--clr-text-soft);
  max-width: 760px;
  line-height: 1.78;
  margin-bottom: var(--sp-xl);
}

.pdf-viewer-wrap {
  width: 100%;
  background: #f4f4f4;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--sp-lg);
}

.pdf-canvas-container {
  width: 100%;
  overflow-y: auto;
  max-height: 720px;
  background: #fff;
}

.pdf-canvas-container canvas { display: block; margin: 0 auto; max-width: 100%; }

.pdf-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  padding: 11px var(--sp-md);
  background: var(--clr-cream);
  border-top: 1px solid var(--clr-border);
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--clr-text-soft);
}

.pdf-controls button {
  padding: 7px 16px;
  border: 1px solid var(--clr-border-strong);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}

.pdf-controls button:hover {
  border-color: var(--clr-cobalt);
  color: var(--clr-cobalt);
  background: var(--clr-cobalt-tint);
}
.pdf-controls button:disabled { opacity: 0.32; cursor: not-allowed; }

.pdf-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 15px;
  color: var(--clr-text-muted);
}

.dashboard-wrap {
  margin-top: var(--sp-lg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: none;
}

.dashboard-wrap.visible { display: block; }
.dashboard-wrap iframe { width: 100%; height: 540px; border: none; display: block; }

/* ── 18. RESEARCH PAGE ─────────────────────────────────────── */
.research-page { padding: var(--sp-2xl) var(--sp-lg); background: var(--clr-bg); }

.research-empty {
  padding: var(--sp-2xl);
  text-align: center;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 17px;
  color: var(--clr-text-muted);
  width: 100%;
}

.research-card-date {
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--clr-cobalt);
}

.research-card-title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.research-card-description {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--clr-text-soft);
  line-height: 1.65;
  flex: 1;
}

.research-card-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border-strong);
  border-radius: var(--radius);
  padding: 9px 18px;
  background: none;
  cursor: pointer;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.research-card-trigger svg { transition: transform 320ms var(--ease-out); }
.research-card-trigger:hover {
  border-color: var(--clr-cobalt);
  color: var(--clr-cobalt);
  background: var(--clr-cobalt-tint);
}

/* ── 19. ADMIN PANEL ───────────────────────────────────────── */
.admin-gate {
  min-height: 100vh;
  background: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-gate-box {
  width: 100%;
  max-width: 400px;
  padding: var(--sp-xl);
  background: #141416;
  border: 1px solid #242428;
  border-radius: var(--radius-lg);
}

.admin-gate-logo { height: 28px; margin-bottom: var(--sp-xl); }

.admin-gate-title {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.admin-gate-sub {
  font-family: var(--ff-body);
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  margin-bottom: var(--sp-xl);
}

.admin-gate input {
  width: 100%;
  padding: 12px 14px;
  background: #0a0a0c;
  border: 1px solid #242428;
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 14px;
  margin-bottom: var(--sp-md);
  transition: border-color 240ms ease;
}

.admin-gate input:focus { outline: none; border-color: var(--clr-cobalt); }

.admin-gate-error {
  display: none;
  color: #f87171;
  font-family: var(--ff-body);
  font-size: 13px;
  margin-bottom: var(--sp-sm);
}

.admin-gate-error.visible { display: block; }

.admin-body { display: none; min-height: 100vh; background: #0a0a0c; color: #e0e0e2; }
.admin-body.unlocked { display: flex; }

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #141416;
  border-right: 1px solid #242428;
  padding: var(--sp-lg) 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-logo {
  padding: 0 var(--sp-md) var(--sp-lg);
  border-bottom: 1px solid #242428;
  margin-bottom: var(--sp-md);
}

.admin-sidebar-logo img { height: 24px; }
.admin-sidebar-logo span {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

.admin-nav-item {
  display: block;
  width: 100%;
  padding: 10px var(--sp-md);
  text-align: left;
  font-family: var(--ff-body);
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  background: none;
  border: none;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: color 200ms, border-color 200ms, background 200ms;
}

.admin-nav-item:hover { color: #fff; background: rgba(255,255,255,0.04); }
.admin-nav-item.active { color: var(--clr-cobalt); border-left-color: var(--clr-cobalt); background: rgba(31,64,202,0.08); }

.admin-main { flex: 1; padding: var(--sp-xl); overflow-y: auto; max-height: 100vh; }
.admin-section { display: none; max-width: 800px; }
.admin-section.active { display: block; }

.admin-section-title {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid #242428;
  letter-spacing: -0.01em;
}

.admin-field { margin-bottom: var(--sp-md); }

.admin-field label {
  display: block;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.42);
  margin-bottom: 6px;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  padding: 11px 14px;
  background: #141416;
  border: 1px solid #242428;
  border-radius: var(--radius);
  color: #e0e0e2;
  font-family: var(--ff-body);
  font-size: 13px;
  transition: border-color 240ms ease;
}

.admin-field textarea { resize: vertical; min-height: 90px; line-height: 1.55; }
.admin-field input:focus,
.admin-field textarea:focus { outline: none; border-color: var(--clr-cobalt); }

.admin-array-item {
  background: #141416;
  border: 1px solid #242428;
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.admin-array-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-md);
}

.admin-item-title { font-family: var(--ff-display); font-size: 16px; font-weight: 400; color: #fff; }

.admin-delete-btn {
  padding: 4px 12px;
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius);
  color: #f87171;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 180ms;
}

.admin-delete-btn:hover { background: rgba(239,68,68,0.20); }

.admin-add-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: rgba(31,64,202,0.10);
  border: 1px dashed rgba(31,64,202,0.42);
  border-radius: var(--radius);
  color: var(--clr-cobalt);
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: background 180ms;
}

.admin-add-btn:hover { background: rgba(31,64,202,0.18); }

.admin-subpoints-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.admin-subpoint-row { display: flex; gap: 8px; align-items: center; }
.admin-subpoint-row input { flex: 1; }

.admin-subpoint-del {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.20);
  border-radius: var(--radius);
  color: #f87171;
  cursor: pointer;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 180ms;
}

.admin-subpoint-del:hover { background: rgba(239,68,68,0.18); }

.admin-actions {
  padding: var(--sp-xl);
  background: #141416;
  border-top: 1px solid #242428;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  position: sticky;
  bottom: 0;
}

.admin-generate-btn {
  padding: 14px var(--sp-xl);
  background: var(--clr-cobalt);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 200ms;
  letter-spacing: 0.02em;
}

.admin-generate-btn:hover { background: var(--clr-cobalt-deep); }

.admin-deploy-steps {
  background: #0f0f11;
  border: 1px solid #242428;
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  font-family: var(--ff-body);
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  line-height: 1.84;
}

.admin-deploy-steps strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  margin-bottom: var(--sp-sm);
}

.admin-deploy-steps ol { list-style: decimal; padding-left: var(--sp-lg); }
.admin-deploy-steps li { margin-bottom: 4px; }

.admin-deploy-steps code {
  background: rgba(31,64,202,0.16);
  color: var(--clr-cobalt);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px;
}

.admin-success-msg {
  display: none;
  padding: 11px var(--sp-md);
  background: rgba(52,211,153,0.10);
  border: 1px solid rgba(52,211,153,0.26);
  border-radius: var(--radius);
  color: #34d399;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.admin-success-msg.show { display: block; }

/* ── 20. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --sp-2xl: 96px; --sp-3xl: 128px; }
  .footer-contact-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .pillars-grid { grid-template-columns: 1fr; }
  .contact-serve { text-align: left; max-width: none; }
  .footer-brand-row { flex-direction: column; gap: var(--sp-lg); align-items: flex-start; }
}

@media (max-width: 768px) {
  :root { --sp-2xl: 80px; --sp-3xl: 100px; --sp-xl: 56px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--clr-ink);
    z-index: 300;
    align-items: center;
    justify-content: center;
    gap: var(--sp-lg);
    padding: var(--sp-lg);
  }

  .nav-links.mobile-open a {
    font-size: 28px;
    font-family: var(--ff-display);
    font-weight: 400;
    color: rgba(255,255,255,0.92);
    letter-spacing: -0.01em;
  }

  .nav-hamburger { z-index: 400; position: relative; }

  /* Hero */
  .hero { padding-top: 100px; padding-bottom: var(--sp-lg); }
  .hero-content { padding-top: 36px; }
  .hero-headline { max-width: 100%; }
  .hero-scroll { display: none; }

  /* Manifesto */
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-grid::after { display: none; }
  .manifesto-col.industry { border-right: none; border-bottom: 1px solid var(--clr-border); }

  /* Grids */
  .services-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-contact-grid { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .mandates-preview-grid { grid-template-columns: 1fr; }

  /* Show service subpoints always on touch (no hover) */
  @media (hover: none) {
    .service-subpoints { max-height: 320px !important; opacity: 1 !important; }
  }

  /* Process */
  .process-wrapper { grid-template-columns: 22px 1fr; gap: 0 var(--sp-md); }
  .process-deco-num { font-size: 90px; right: -6px; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: var(--sp-sm); align-items: flex-start; }

  /* About talent note */
  .about-talent-note { font-size: 15px; }

  /* Admin */
  .admin-body { flex-direction: column; }
  .admin-sidebar {
    width: 100%; height: auto; position: relative;
    display: flex; flex-wrap: wrap; padding: var(--sp-md);
  }
  .admin-sidebar-logo { width: 100%; }
  .admin-nav-item { width: auto; padding: 8px 14px; border-left: none; border-bottom: 2px solid transparent; }
  .admin-nav-item.active { border-left: none; border-bottom-color: var(--clr-cobalt); }
  .admin-main { max-height: none; padding: var(--sp-md); }
}

@media (max-width: 480px) {
  :root { --sp-lg: 28px; --sp-md: 20px; }
  .container { padding: 0 22px; }
  nav { padding: 16px 22px; }
  nav.scrolled { padding: 11px 22px; }

  .nav-logo img { height: 30px; }

  .hero { padding: 96px 22px var(--sp-lg); }
  .hero-content { padding-top: 24px; }
  .hero-ctas { flex-direction: column; gap: 12px; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 14px 22px; }

  .manifesto-col { padding: var(--sp-lg) 22px; }
  .manifesto-col-header { margin-bottom: var(--sp-md); }
  .manifesto-cell p { font-size: 18px; line-height: 1.28; }

  .about-section,
  .services-section,
  .process-section,
  .mandates-preview-section { padding: var(--sp-xl) 22px; }

  .about-talent-note {
    font-size: 14px;
    padding-top: var(--sp-md);
    margin-bottom: var(--sp-lg);
  }

  .footer { padding: var(--sp-xl) 22px var(--sp-lg); }
  .footer-brand-row { padding-bottom: var(--sp-lg); margin-bottom: var(--sp-lg); }

  .service-card { padding: var(--sp-md) 22px var(--sp-lg); }
  .service-card::after { font-size: 80px; right: 12px; bottom: -8px; }

  .pillar-card { padding: var(--sp-md) 22px var(--sp-lg); }

  .mandate-card { padding: var(--sp-md) 22px var(--sp-lg); }

  .pdf-canvas-container { max-height: 520px; }
  .pdf-controls { padding: 9px 12px; gap: 14px; flex-wrap: wrap; }
  .pdf-controls button { padding: 6px 12px; font-size: 11.5px; }
  .pdf-controls span { font-size: 12px; }

  .page-header { padding: 130px 22px var(--sp-xl); }
  .mandates-page,
  .research-page { padding: var(--sp-xl) 22px; }
  .mandate-block { padding: var(--sp-lg) 0; }

  .research-card { padding: var(--sp-md) 22px !important; }
  .research-viewer-wrap { padding: 0 22px var(--sp-md) !important; }

  .form-group input,
  .form-group textarea { font-size: 15px; padding: 12px 14px; }
}

@media (max-width: 380px) {
  .hero-headline { font-size: 38px; line-height: 1.0; }
  .section-header { font-size: 27px; }
  .manifesto-cell p { font-size: 17px; }
  .process-stage-title { font-size: 22px; }
  .page-header h1 { font-size: 32px; }
  .footer-contact-header { font-size: 26px; }
  .mandate-block-title { font-size: 24px; }
}

/* ── 21. REDUCED MOTION ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-headline,
  .hero-subheadline,
  .hero-ctas,
  .hero-accent-line { opacity: 1 !important; transform: none !important; }
  .process-stage { opacity: 1 !important; transform: none !important; }
}
