/*
Theme Name:     Hello Elementor SAVRN
Theme URI:      https://savrn.com
Template:       hello-elementor
Author:         SAVRN Infrastructure Platform LLC
Author URI:     https://savrn.com
Description:    SAVRN child theme. Design tokens, defensive foundation, and every page template baked in. Upload, activate, assign page templates — done.
Version:        2.6.0
License:        Proprietary
Text Domain:    hello-elementor-savrn
*/

/* ==========================================================================
   DESIGN TOKENS — LIGHT PALETTE
   ========================================================================== */
:root {
  /* Core brand colours */
  --french:         #5385B3;
  --french-dark:    #3A6489;
  --french-bright:  #6da3d0;
  --copper:         #E85D04;
  --copper-light:   #FB923C;

  /* Semantic text */
  --ink:            #0D1621;
  --text:           #0D1621;
  --text-2:         #3D4651;
  --text-3:         #6E7682;
  --text-4:         #A8B0BC;

  /* Semantic backgrounds */
  --bg:             #FFFFFF;
  --bg-alt:         #F4F4F0;
  --bg-card:        #FAFAF6;
  --bg-dark:        #0D1621;

  /* Rules */
  --rule:           rgba(13, 22, 33, 0.10);
  --rule-mid:       rgba(13, 22, 33, 0.16);
  --rule-strong:    rgba(13, 22, 33, 0.22);

  /* Backward-compatible aliases so existing component styles still work */
  --cream:          #0D1621;   /* was light text → dark text on white */
  --cream-d:        #3D4651;
  --cream-m:        #6E7682;
  --cream-f:        #A8B0BC;
  --steel-900:      #F4F4F0;   /* was dark card bg → light alt bg */
  --steel-800:      #FAFAF6;   /* was elevated surface → light card bg */
  --steel-700:      rgba(13, 22, 33, 0.12);

  /* Accent aliases — ice→french, old copper→new copper */
  --accent-ice:     #5385B3;
  --accent-ice-d:   #3A6489;
  --accent-copper:  #E85D04;
  --accent-copper-d:#DC6B33;
  --accent-gold:    #E85D04;
  --accent-green:   #3A6489;
  --accent-green-b: #5385B3;

  --container:      1340px;
  --ease:           cubic-bezier(0.2, 0.65, 0.3, 1);
  --font-serif:     'Fraunces', Georgia, serif;
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', ui-monospace, monospace;
}

/* ==========================================================================
   ELEMENTOR GLOBAL VARIABLE OVERRIDES — map kit vars to SAVRN light palette
   ========================================================================== */
:root {
  --e-global-color-primary:   var(--french);
  --e-global-color-secondary: var(--bg-alt);
  --e-global-color-text:      var(--text);
  --e-global-color-accent:    var(--copper);
  --e-global-typography-primary-font-family:   var(--font-serif);
  --e-global-typography-secondary-font-family: var(--font-sans);
  --e-global-typography-text-font-family:      var(--font-sans);
  --e-global-typography-accent-font-family:    var(--font-mono);
}

/* ==========================================================================
   DEFENSIVE FOUNDATION
   ========================================================================== */
html { background-color: #ffffff; scroll-behavior: smooth; scroll-padding-top: 80px; min-height: 100%; }
body {
  background-color: #ffffff;
  color: #0D1621;
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 300; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; min-height: 100vh; min-height: 100dvh;
}
main, .site, .site-main, .entry-content { background-color: #ffffff; display: block; }
section:not([class*="elementor"]) { position: relative; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }

/* Hello Elementor override */
.site-header, .site-footer { background-color: transparent !important; }

/* ==========================================================================
   CONTAINER / UTILITIES
   ========================================================================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; position: relative; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--french);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.ice    { color: var(--french); }
.eyebrow.copper { color: var(--copper); }
.eyebrow.gold   { color: var(--copper); }
.eyebrow.green  { color: var(--french-dark); }

/* ==========================================================================
   UTILITY BAR
   ========================================================================== */
.utility {
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--text-3); text-transform: uppercase;
}
.utility-inner { max-width: var(--container); margin: 0 auto; padding: 9px 32px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.utility .left, .utility .right { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.utility a:hover { color: var(--text); }
.utility .status { display: inline-flex; align-items: center; gap: 8px; color: var(--french); }
.utility .status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--french); box-shadow: 0 0 10px rgba(83, 133, 179, 0.4); }
@media (max-width: 720px) {
  .utility-inner { padding: 9px 20px; font-size: 10px; }
  .utility .left a, .utility .right a:not(:first-child) { display: none; }
}

/* ==========================================================================
   HEADER + NAV
   ========================================================================== */
.header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 120;
}
.header-inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 500; letter-spacing: 0.2em;
  color: var(--text); display: flex; align-items: center; gap: 12px;
}
.logo .mark { width: 9px; height: 9px; background: var(--copper); border-radius: 50%; box-shadow: 0 0 12px rgba(192, 80, 28, 0.4); }
.logo .dot { color: var(--copper); }

.nav { display: flex; gap: 24px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }
.nav a { color: var(--text-3); padding: 4px 0; transition: color 0.2s var(--ease); border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.active, .nav a.current-menu-item { color: var(--text); border-bottom-color: var(--french); }

.header-cta {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 10px 20px; border: 1px solid var(--copper); color: var(--copper);
  transition: all 0.2s var(--ease);
}
.header-cta:hover { background: var(--copper); color: #ffffff; }

.menu-toggle { display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: all 0.3s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
}

.mobile-menu {
  position: fixed; top: 74px; left: 0; right: 0; bottom: 0;
  background-color: var(--bg);
  z-index: 115; padding: 32px 20px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 2px;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  padding: 20px 0;
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 400; color: var(--text);
  border-bottom: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: baseline;
}
.mobile-menu a .num { font-family: var(--font-mono); font-size: 11px; color: var(--text-4); letter-spacing: 0.15em; }
.mobile-menu .cta-mobile {
  margin-top: 24px; background: var(--copper); color: #ffffff;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  text-align: center; justify-content: center; border-bottom: none;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn, a.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 24px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  line-height: 1; cursor: pointer;
}
.btn-primary { background: var(--french); color: #ffffff; border-color: var(--french); }
.btn-primary::after { content: "→"; font-size: 14px; transition: transform 0.25s var(--ease); }
.btn-primary:hover { background: var(--french-dark); border-color: var(--french-dark); }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--text); }
.btn-ice { background: transparent; color: var(--french); border-color: rgba(83, 133, 179, 0.4); }
.btn-ice::after { content: "→"; font-size: 14px; transition: transform 0.25s var(--ease); }
.btn-ice:hover { background: rgba(83, 133, 179, 0.08); }
.btn-ice:hover::after { transform: translateX(4px); }
.btn-copper { background: transparent; color: var(--copper); border-color: rgba(192, 80, 28, 0.4); }
.btn-copper::after { content: "→"; font-size: 14px; transition: transform 0.25s var(--ease); }
.btn-copper:hover { background: rgba(192, 80, 28, 0.08); }
.btn-copper:hover::after { transform: translateX(4px); }

/* ==========================================================================
   HERO + SECTIONS + CTA BAND
   ========================================================================== */
.hero {
  padding: 120px 0 96px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 20% 30%, rgba(83, 133, 179, 0.06), transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(192, 80, 28, 0.04), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 720px) { .hero { padding: 80px 0 64px; } }

.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 112px);
  font-weight: 300; line-height: 1.02;
  letter-spacing: -0.025em; color: var(--text);
  margin-top: 28px; max-width: 1200px;
}
.hero-h1 em { font-style: italic; color: var(--french); font-weight: 400; }
.hero-deck {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 300; line-height: 1.65;
  color: var(--text-2); max-width: 860px; margin-top: 28px;
}
.hero-deck strong { color: var(--text); font-weight: 400; }
.hero-deck em { font-style: italic; color: var(--french); }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 40px; border-top: 1px solid var(--rule); }
.hero-stat .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); }
.hero-stat .v { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 40px); font-weight: 300; color: var(--text); margin-top: 8px; }
@media (max-width: 720px) { .hero-stats { grid-template-columns: 1fr; gap: 24px; } }

.section { padding: 96px 0; border-bottom: 1px solid var(--rule); }
.section.alt { background-color: var(--bg-alt); }
@media (max-width: 960px) { .section { padding: 72px 0; } }
@media (max-width: 720px) { .section { padding: 56px 0; } }

.section-head { max-width: 900px; margin-bottom: 48px; }
.section-h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.025em; color: var(--text);
  margin-top: 18px;
}
.section-h2 em { font-style: italic; color: var(--french); font-weight: 400; }
.section-deck { font-family: var(--font-sans); font-size: 17px; font-weight: 300; color: var(--text-2); margin-top: 24px; max-width: 720px; line-height: 1.7; }

.cta-band {
  padding: 96px 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(83, 133, 179, 0.07), transparent 60%), var(--bg-alt);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.025em; color: var(--text);
  margin-top: 18px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.cta-band h2 em { font-style: italic; color: var(--french); font-weight: 400; }
.cta-band-actions, .cta-actions { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background-color: var(--bg-dark); padding: 72px 0 40px; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer .brand .logo, .footer-brand .logo { margin-bottom: 18px; color: #f0ede5; }
.footer .brand p, .footer-brand p { font-family: var(--font-sans); font-size: 13px; line-height: 1.7; color: rgba(240,237,229,0.55); max-width: 340px; }
.footer-col h4, .footer-col h5 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(240,237,229,0.65); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-family: var(--font-sans); font-size: 14px; color: rgba(240,237,229,0.45); font-weight: 300; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #f0ede5; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(240,237,229,0.10); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; color: rgba(240,237,229,0.30); text-transform: uppercase; }
.footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; } }

/* ==========================================================================
   GRIDS + TILES (shared across pages)
   ========================================================================== */
.tile-grid, .grid-3, .module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background-color: var(--rule); border: 1px solid var(--rule); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background-color: var(--rule); border: 1px solid var(--rule); }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background-color: var(--rule); border: 1px solid var(--rule); }
@media (max-width: 960px) { .tile-grid, .grid-3, .module-grid, .grid-5 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.tile, .module-card, .flow-tile, .project-tile {
  background-color: var(--bg-card);
  padding: 40px 32px 36px;
  position: relative;
  display: flex; flex-direction: column;
  min-height: 420px;
}
.tile::before, .module-card::before, .flow-tile::before, .project-tile::before {
  content: ""; position: absolute; top: 0; left: 32px;
  width: 60px; height: 2px; background: var(--french);
}
.tile.ice::before, .module-card.ice::before, .flow-tile.ice::before, .project-tile.ice::before { background: var(--french); }
.tile.copper::before, .module-card.copper::before, .flow-tile.copper::before, .project-tile.copper::before { background: var(--copper); }
.tile.gold::before, .module-card.gold::before, .flow-tile.gold::before, .project-tile.gold::before { background: var(--copper); }
.tile.green::before, .module-card.green::before, .flow-tile.green::before, .project-tile.green::before { background: var(--french-dark); }

.tile .label, .module-card .label, .flow-tile .label, .project-tile .label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 24px;
}
.tile h3, .module-card h3, .flow-tile h3, .project-tile h3 {
  font-family: var(--font-serif); font-size: 30px; font-weight: 300;
  color: var(--text); letter-spacing: -0.015em; line-height: 1.1;
  margin-bottom: 20px;
}
.tile p, .module-card p, .flow-tile p, .project-tile p {
  font-family: var(--font-sans); font-size: 14px; line-height: 1.7;
  color: var(--text-2); font-weight: 300; flex-grow: 1;
}
.tile p em, .module-card p em, .flow-tile p em, .project-tile p em { font-style: italic; color: var(--french); }

.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.proof-grid .cell { display: flex; flex-direction: column; gap: 4px; }
.proof-grid .cell .k, .proof-grid .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.proof-grid .cell .v, .proof-grid .v { font-family: var(--font-serif); font-size: 15px; font-weight: 400; color: var(--text); line-height: 1.3; }

/* ==========================================================================
   HOME-SPECIFIC TILES
   ========================================================================== */
.home-tile:hover { background-color: var(--bg-alt) !important; }

/* ==========================================================================
   SEE ALSO + FOUNDATION CARDS
   ========================================================================== */
.see-also, .foundation { padding: 56px 0; border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 48px; }
@media (max-width: 720px) { .see-also, .foundation { flex-direction: column; align-items: flex-start; } }
.see-also-inner, .foundation-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px) { .see-also-inner, .foundation-inner { grid-template-columns: 1fr; } }
.see-also-card, .foundation-card {
  background-color: var(--bg-card); padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background-color 0.2s var(--ease);
  border: 1px solid var(--rule);
}
.see-also-card:hover, .foundation-card:hover { background-color: var(--bg-alt); }
.see-also-eyebrow, .foundation-eyebrow {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--french);
}
.see-also-card h3, .foundation-card h3 {
  font-family: var(--font-serif); font-size: 24px; font-weight: 400;
  color: var(--text); letter-spacing: -0.01em; line-height: 1.2;
}
.see-also-card p, .foundation-card p { font-family: var(--font-sans); font-size: 14px; line-height: 1.7; color: var(--text-2); font-weight: 300; }

/* ==========================================================================
   MOCK NOTICE (optional — can be disabled via body class)
   ========================================================================== */
.mock-notice { display: none; }
body.show-mock-notice .mock-notice {
  display: block; position: fixed; bottom: 20px; right: 20px;
  background: var(--french); color: #ffffff; padding: 8px 14px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; z-index: 200;
}

/* ==========================================================================
   ACCESSIBILITY + MOTION
   ========================================================================== */
.skip-to-content {
  position: absolute; top: -40px; left: 0;
  background: var(--french); color: #ffffff;
  padding: 8px 16px;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em;
  z-index: 999; transition: top 0.2s var(--ease);
}
.skip-to-content:focus { top: 0; }
:focus-visible { outline: 2px solid var(--french); outline-offset: 2px; }

@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;
  }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .utility, .header, .mobile-menu, .footer, .cta-band, .btn { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  .hero-h1, .section-h2 { color: #000 !important; }
}


/* ==========================================================================
   SHARED PAGE COMPONENTS
   ========================================================================== */
.section-lead { font-size: 16px; font-weight: 300; color: var(--text-2); line-height: 1.7; margin-top: 20px; max-width: 780px; }
.page-crumbs { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); display: flex; gap: 10px; align-items: center; margin-bottom: 28px; }
.page-crumbs a { color: var(--text-3); transition: color 0.2s; }
.page-crumbs a:hover { color: var(--french); }
.page-crumbs .sep { opacity: 0.4; }
.quote { border-left: 3px solid var(--french); padding: 20px 24px; margin: 40px 0; font-family: var(--font-serif); font-size: clamp(17px, 2vw, 22px); font-weight: 300; font-style: italic; color: var(--text); line-height: 1.5; background: var(--bg-card); }
.cta-band-inner { max-width: 800px; margin: 0 auto; }
.cta-band-inner p { font-size: 16px; color: var(--text-2); margin-top: 16px; }
.cta-band-buttons { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-inner { display: grid; }

/* ==========================================================================
   TEAM PAGE
   ========================================================================== */

/* Partners grid — three stacked cards */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.partner { background: var(--bg-card); padding: 48px 40px; position: relative; border-top: 2px solid var(--french); min-width: 0; }
.partner.ice { border-top-color: var(--french); }
.partner.gold { border-top-color: var(--copper); }
.partner.french { border-top-color: var(--french-dark); }
.partner-portrait { width: 100%; aspect-ratio: 4/3; overflow: hidden; margin-bottom: 24px; background: var(--bg-alt); }
.partner-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.partner-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.partner-name { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 36px); font-weight: 300; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; }
.partner-role { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--french); margin-top: 10px; }
.partner-tag { font-family: var(--font-serif); font-size: 17px; font-style: italic; color: var(--text-2); margin-top: 8px; }
.partner-body { margin-top: 24px; max-width: 860px; }
.partner-body p { font-size: 15px; line-height: 1.75; color: var(--text-2); font-weight: 300; margin-bottom: 14px; }
.partner-body p strong { color: var(--text); font-weight: 500; }
.partner-proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 32px; }
.partner-proof-item { background: var(--bg); padding: 18px 20px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.partner-proof-item strong { display: block; font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); margin-top: 6px; }
@media (max-width: 720px) { .partner { padding: 32px 20px; } .partner-proof { grid-template-columns: 1fr 1fr; } }

/* Team grid — 3-column operating team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.member { background: var(--bg-card); padding: 32px 28px; position: relative; border-top: 2px solid var(--rule-strong); }
.member.ice { border-top-color: var(--french); }
.member.gold { border-top-color: var(--copper); }
.member.copper { border-top-color: var(--copper-light); }
.member.green { border-top-color: var(--french-dark); }
.member-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.member-name { font-family: var(--font-serif); font-size: 22px; font-weight: 300; color: var(--text); line-height: 1.2; }
.member-name em { font-style: italic; color: var(--french); }
.member-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--french); margin-top: 8px; }
.member-body { font-size: 14px; line-height: 1.7; color: var(--text-2); font-weight: 300; margin-top: 16px; }
.member-body strong { color: var(--text); font-weight: 500; }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* Composition / see-also bottom section */
.composition-inner h2 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 48px); font-weight: 300; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; margin-top: 16px; margin-bottom: 24px; }
.composition-inner h2 em { font-style: italic; color: var(--french); }
.composition-inner p { font-size: 16px; line-height: 1.75; color: var(--text-2); max-width: 860px; margin-bottom: 16px; }
.composition-inner p strong { color: var(--text); font-weight: 500; }
.see-also { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; border: 1px solid var(--rule); padding: 40px; background: var(--bg-alt); margin-top: 48px; flex-wrap: wrap; }
.see-also h3 { font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 28px); font-weight: 300; color: var(--text); line-height: 1.2; margin-top: 10px; }
.see-also h3 em { font-style: italic; color: var(--french); }
.see-also p { font-size: 14px; line-height: 1.7; color: var(--text-2); margin-top: 12px; max-width: 600px; }
.see-also-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--french); }
.see-also-cta { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--french); border-bottom: 1px solid var(--french); padding-bottom: 2px; white-space: nowrap; transition: color 0.2s, border-color 0.2s; }
.see-also-cta:hover { color: var(--french-dark); border-color: var(--french-dark); }

/* ==========================================================================
   REVENUE TEAM PAGE
   ========================================================================== */

/* Hero */
.revenue-hero { padding: 80px 0 72px; border-bottom: 1px solid var(--rule); background: var(--bg); }
.revenue-hero-h1 { font-family: var(--font-serif); font-size: clamp(36px, 6vw, 80px); font-weight: 300; line-height: 1.05; letter-spacing: -0.025em; color: var(--text); margin-top: 24px; max-width: 1000px; }
.revenue-hero-h1 em { font-style: italic; color: var(--french); }
.revenue-deck { font-size: clamp(15px, 1.5vw, 18px); font-weight: 300; line-height: 1.7; color: var(--text-2); max-width: 820px; margin-top: 24px; }
.revenue-deck strong { color: var(--text); font-weight: 500; }
.revenue-deck em { font-style: italic; color: var(--copper); }

/* Three Gates / Lanes */
.lanes { padding: 80px 0; border-bottom: 1px solid var(--rule); background: var(--bg); }
.lanes-head { margin-bottom: 48px; }
.lanes-head h2 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 48px); font-weight: 300; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; margin-top: 12px; }
.lanes-head h2 em { font-style: italic; color: var(--french); }
.lane-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-bottom: 64px; }
.lane-chip { background: var(--bg-card); padding: 32px 28px; border-top: 2px solid var(--french); }
.lane-chip:nth-child(2) { border-top-color: var(--copper); }
.lane-chip:nth-child(3) { border-top-color: var(--french-dark); }
.lane-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.lane-title { font-family: var(--font-serif); font-size: 24px; font-weight: 300; color: var(--text); line-height: 1.2; margin-bottom: 16px; }
.lane-title em { font-style: italic; color: var(--french); }
.lane-chip:nth-child(2) .lane-title em { color: var(--copper); }
.lane-chip:nth-child(3) .lane-title em { color: var(--french-dark); }
.lane-desc { font-size: 14px; line-height: 1.7; color: var(--text-2); font-weight: 300; }
@media (max-width: 720px) { .lane-strip { grid-template-columns: 1fr; } }

/* Principals grid */
.principals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.principal { background: var(--bg-card); padding: 40px 32px; display: flex; flex-direction: column; gap: 0; border-top: 3px solid var(--french); }
.principal.ice { border-top-color: var(--french); }
.principal.gold { border-top-color: var(--copper); }
.principal-portrait { width: 100%; aspect-ratio: 3/4; overflow: hidden; margin-bottom: 24px; background: var(--bg-alt); }
.principal-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; display: block; }
.principal-name { font-family: var(--font-serif); font-size: 24px; font-weight: 400; color: var(--text); letter-spacing: -0.01em; }
.principal-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--french); margin-top: 6px; margin-bottom: 20px; }
.principal.gold .principal-role { color: var(--copper); }
.principal-bio { font-size: 14px; line-height: 1.72; color: var(--text-2); font-weight: 300; margin-bottom: 12px; flex-grow: 1; }
.principal-bio strong { color: var(--text); font-weight: 500; }
.principal-bio em { font-style: italic; color: var(--french); }
.principal-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 24px; }
.principal-metric { background: var(--bg); padding: 14px 16px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.principal-metric strong { display: block; font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); margin-top: 5px; }
.principal-channel { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
.principal-channel-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
@media (max-width: 960px) { .principals { grid-template-columns: 1fr; } .principal-portrait { max-width: 240px; } }
@media (max-width: 600px) { .principal-portrait { max-width: 100%; } }

/* Alignment / Mapping section */
.alignment { padding: 80px 0; border-bottom: 1px solid var(--rule); background: var(--bg-alt); }
.alignment-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.alignment-inner h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.5vw, 44px); font-weight: 300; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; margin-top: 12px; margin-bottom: 20px; }
.alignment-inner h2 em { font-style: italic; color: var(--french); }
.alignment-inner > div > p { font-size: 15px; line-height: 1.75; color: var(--text-2); margin-bottom: 14px; }
.alignment-inner > div > p strong { color: var(--text); font-weight: 500; }
.alignment-mapping { display: flex; flex-direction: column; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.mapping-row { background: var(--bg-card); display: grid; grid-template-columns: 200px 1fr; }
.mapping-lane { padding: 24px 20px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--french); line-height: 1.6; border-right: 1px solid var(--rule); background: var(--bg); }
.mapping-content { padding: 24px 24px; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.mapping-content strong { color: var(--text); font-weight: 500; display: block; margin-bottom: 8px; }
@media (max-width: 960px) { .alignment-inner { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .mapping-row { grid-template-columns: 1fr; } .mapping-lane { border-right: none; border-bottom: 1px solid var(--rule); } }


/* ==========================================================================
   COMPUTE PAGE — reasons, sequence, specs strip, callout
   ========================================================================== */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 48px; }
.reason { background: var(--bg-card); padding: 40px 32px; position: relative; border-top: 2px solid var(--rule-strong); }
.reason.ice { border-top-color: var(--french); }
.reason.copper { border-top-color: var(--copper); }
.reason-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.reason h3 { font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 26px); font-weight: 300; color: var(--text); letter-spacing: -0.02em; line-height: 1.2; }
.reason h3 em { font-style: italic; color: var(--french); font-weight: 400; }
.reason p { font-size: 15px; line-height: 1.75; color: var(--text-2); font-weight: 300; margin-top: 12px; }
.reason p strong { font-weight: 500; color: var(--text); }
@media (max-width: 720px) { .reasons { grid-template-columns: 1fr; } }

.sequence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 48px; }
.sequence-2 { grid-template-columns: repeat(2, 1fr); }
.step { background: var(--bg); padding: 36px 28px; }
.step-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.step-title { font-family: var(--font-serif); font-size: clamp(18px, 2vw, 24px); font-weight: 300; color: var(--text); letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 10px; }
.step-title em { font-style: italic; color: var(--french); font-weight: 400; }
.step p { font-size: 14px; line-height: 1.75; color: var(--text-2); font-weight: 300; }
.step p strong { font-weight: 500; color: var(--text); }
@media (max-width: 720px) { .sequence { grid-template-columns: 1fr; } }

.specs-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 48px; }
.specs-strip > div { background: var(--bg-alt); padding: 28px 24px; }
.spec-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.spec-value { font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 28px); font-weight: 300; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; }
.spec-value em { font-style: italic; color: var(--french); font-weight: 400; }
.spec-caption { font-size: 12px; color: var(--text-3); font-weight: 300; margin-top: 6px; }
@media (max-width: 860px) { .specs-strip { grid-template-columns: repeat(2, 1fr); } }

.callout { background: var(--bg-alt); border: 1px solid var(--rule); border-left: 3px solid var(--french); padding: 40px 36px; margin-top: 48px; }
.callout-head { font-family: var(--font-serif); font-size: clamp(22px, 3vw, 34px); font-weight: 300; color: var(--text); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 18px; }
.callout-head em { font-style: italic; color: var(--french); font-weight: 400; }
.callout p { font-size: 15px; line-height: 1.8; color: var(--text-2); font-weight: 300; }
.callout p strong { font-weight: 500; color: var(--text); }
.callout p em { font-style: italic; }
@media (max-width: 720px) { .callout { padding: 28px 20px; } }


/* ==========================================================================
   THE LOOP PAGE — flows, flow-stream, flow.foundation, contrast table
   ========================================================================== */
.flows { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--rule); margin-top: 48px; }
.flow { background: var(--bg-card); padding: 40px 36px; border-left: 3px solid var(--rule-strong); }
.flow.accent-ice    { border-left-color: var(--french); }
.flow.accent-green  { border-left-color: var(--french-dark); }
.flow.accent-french { border-left-color: var(--french); }
.flow.accent-gold   { border-left-color: var(--copper); }
.flow-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.flow-title { font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 28px); font-weight: 300; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; }
.flow-title em { font-style: italic; color: var(--french); font-weight: 400; }
.flow-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); margin-top: 8px; margin-bottom: 14px; }
.flow-body { font-size: 15px; line-height: 1.75; color: var(--text-2); font-weight: 300; max-width: 800px; margin-top: 2px; }
.flow-body strong { font-weight: 500; color: var(--text); }
.flow-body em { font-style: italic; }

.flow-stream { display: flex; align-items: center; gap: 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule); }
.stream-side { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.stream-side strong { display: block; font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); margin-top: 4px; }
.stream-arrow { font-size: 22px; color: var(--text-3); line-height: 1; }

.flow.foundation { background: var(--bg-alt); border-left-color: var(--rule-strong); }
.foundation-mark { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.foundation-mark .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-4); flex-shrink: 0; }
.foundation-mark .link { flex: 1; height: 1px; background: var(--rule); max-width: 48px; }
.foundation-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.foundation-body { font-size: 15px; line-height: 1.75; color: var(--text-2); font-weight: 300; margin-top: 12px; max-width: 700px; }
.foundation-body strong { font-weight: 500; color: var(--text); }
.foundation-links { display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--rule); margin-top: 24px; max-width: 420px; }
.foundation-link { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; background: var(--bg); transition: background-color 0.2s var(--ease); }
.foundation-link:hover { background: var(--bg-card); }
.foundation-link-name { font-family: var(--font-serif); font-size: 17px; font-weight: 300; color: var(--text); }
.foundation-link-name em { font-style: italic; color: var(--french); font-weight: 400; }
.foundation-link-arrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--french); }

.contrast { border: 1px solid var(--rule); overflow: hidden; margin-top: 48px; }
.contrast-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); }
.contrast-row.header .contrast-col { background: var(--bg-alt); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); padding: 14px 20px; }
.contrast-col { background: var(--bg); padding: 20px 22px; font-size: 14px; line-height: 1.7; color: var(--text-2); font-weight: 300; }
.contrast-col.conv { background: var(--bg); }
.contrast-col.loop { background: var(--bg-card); }
.contrast-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
@media (max-width: 600px) { .contrast-row { grid-template-columns: 1fr; } .flows .flow { padding: 28px 20px; } }


/* ==========================================================================
   ENGAGE PAGE — routes, route CTAs, direct contact
   ========================================================================== */
.routes { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--rule); margin-top: 48px; }
.route { background: var(--bg-card); padding: 40px 36px; border-left: 3px solid var(--rule-strong); }
.route.ice    { border-left-color: var(--french); }
.route.copper { border-left-color: var(--copper); }
.route.gold   { border-left-color: var(--copper); }
.route-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.route-title { font-family: var(--font-serif); font-size: clamp(22px, 2.5vw, 30px); font-weight: 300; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.route-title em { font-style: italic; color: var(--french); font-weight: 400; }
.route > p { font-size: 15px; line-height: 1.75; color: var(--text-2); font-weight: 300; max-width: 800px; }
.route > p strong { font-weight: 500; color: var(--text); }
.route-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.route-cta { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; background: var(--bg); border: 1px solid var(--rule); min-width: 200px; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
.route-cta:hover { background: var(--bg-alt); border-color: var(--rule-mid); }
.route-cta-name { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.05em; color: var(--text); }
.route-cta-arrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--french); }
@media (max-width: 600px) { .route { padding: 28px 20px; } .route-cta { min-width: 0; width: 100%; } }

.direct { display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--rule); margin-top: 40px; max-width: 580px; }
.direct-item { display: flex; align-items: baseline; gap: 24px; padding: 18px 24px; background: var(--bg); }
.direct-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); min-width: 140px; flex-shrink: 0; }
.direct-value { font-size: 15px; color: var(--text); font-weight: 300; }
.direct-value a { color: var(--french); }
.direct-value a:hover { text-decoration: underline; }
@media (max-width: 500px) { .direct-item { flex-direction: column; gap: 6px; } .direct-label { min-width: 0; } }


/* ==========================================================================
   PROJECTS PAGE — project cards, status labels, legend
   ========================================================================== */
.projects { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--rule); margin-top: 48px; }
.project { background: var(--bg-card); padding: 40px 36px; border-left: 3px solid var(--rule-strong); }
.project.ice    { border-left-color: var(--french); }
.project.gold   { border-left-color: var(--copper); }
.project.copper { border-left-color: var(--copper-light); }
.project.green  { border-left-color: var(--french-dark); }
.project-header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.project-state { font-family: var(--font-serif); font-size: clamp(22px, 2.5vw, 28px); font-weight: 300; color: var(--text); letter-spacing: -0.02em; }
.project-state em { font-style: italic; }
.project-status { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 10px; border: 1px solid; white-space: nowrap; }
.project-status.operational { color: var(--french); border-color: var(--french); }
.project-status.feed-ready  { color: var(--copper); border-color: var(--copper); }
.project-status.development { color: var(--text-2); border-color: var(--rule-mid); }
.project-status.modeling    { color: var(--text-3); border-color: var(--rule); }
.project-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.project-body { font-size: 15px; line-height: 1.75; color: var(--text-2); font-weight: 300; max-width: 860px; }
.project-body strong { font-weight: 500; color: var(--text); }
.project-body em { font-style: italic; }
.project-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 24px; }
.project-meta-item { background: var(--bg); padding: 16px 18px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.project-meta-item strong { display: block; font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text); margin-top: 5px; }
@media (max-width: 720px) { .project-meta { grid-template-columns: 1fr 1fr; } .project { padding: 28px 20px; } }

.legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.legend-item { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.legend-dot.operational { background: var(--french); }
.legend-dot.feed-ready  { background: var(--copper); }
.legend-dot.development { background: var(--text-3); }
.legend-dot.modeling    { background: var(--rule-strong); border: 1px solid var(--text-4); }


/* ==========================================================================
   DISTRICT PAGE — dark commitment cards use light text on var(--ink) bg
   ========================================================================== */
/* The .grid-2 commitment boxes on /district/ have inline background:var(--ink).
   Force readable text since --cream was remapped from white to dark in light theme. */
.grid-2 > div[style*="var(--ink)"] { color: #ffffff !important; }
.grid-2 > div[style*="var(--ink)"] h4 { color: #ffffff !important; }
.grid-2 > div[style*="var(--ink)"] p { color: rgba(255,255,255,0.75) !important; }


/* ==========================================================================
   POWER PAGE — hero stats, arch cards, claims grid, foundation-card layout
   ========================================================================== */

/* Hero stat block uses .label/.value/.caption (not .k/.v) */
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.hero-stat .value { font-family: var(--font-serif); font-size: clamp(36px, 5vw, 56px); font-weight: 300; color: var(--text); letter-spacing: -0.03em; line-height: 1; }
.hero-stat .value small { font-family: var(--font-mono); font-size: clamp(11px, 1.2vw, 14px); letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-3); margin-left: 6px; vertical-align: middle; }
.hero-stat .caption { font-size: 13px; color: var(--text-3); font-weight: 300; line-height: 1.5; margin-top: 8px; max-width: 200px; }

/* Three architecture cards */
.architectures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 48px; }
.arch { background: var(--bg-card); padding: 40px 32px; border-top: 2px solid var(--french); position: relative; }
.arch.copper { border-top-color: var(--copper); }
.arch.green  { border-top-color: var(--french-dark); }
.arch-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.arch-title { font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 28px); font-weight: 300; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; }
.arch-title em { font-style: italic; color: var(--french); font-weight: 400; }
.arch.copper .arch-title em { color: var(--copper); }
.arch.green  .arch-title em { color: var(--french-dark); }
.arch-geo { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-top: 10px; margin-bottom: 16px; }
.arch-body { font-size: 15px; line-height: 1.75; color: var(--text-2); font-weight: 300; }
.arch-body strong { font-weight: 500; color: var(--text); }
.arch-body em { font-style: italic; }
.arch-flow { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.arch-flow-item { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--text-2); font-weight: 300; }
.arch-flow-item strong { color: var(--text); font-weight: 500; }
.marker { width: 6px; height: 6px; border-radius: 50%; background: var(--french); flex-shrink: 0; display: inline-block; vertical-align: middle; }
.arch.copper .marker { background: var(--copper); }
.arch.green  .marker { background: var(--french-dark); }
@media (max-width: 860px) { .architectures { grid-template-columns: 1fr; } }

/* Claims grid — "what sovereignty buys" */
.claims-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.claims-grid { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--rule); }
.claim { background: var(--bg-card); padding: 32px 28px; border-left: 3px solid var(--french); }
.claim-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--french); margin-bottom: 10px; }
.claim h3 { font-family: var(--font-serif); font-size: clamp(18px, 2vw, 22px); font-weight: 300; color: var(--text); letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 10px; }
.claim h3 em { font-style: italic; color: var(--french); font-weight: 400; }
.claim p { font-size: 14px; line-height: 1.75; color: var(--text-2); font-weight: 300; }
.claim p strong { font-weight: 500; color: var(--text); }
@media (max-width: 860px) { .claims-inner { grid-template-columns: 1fr; gap: 40px; } }

/* foundation-card inside .see-also — two-column layout on power page */
.see-also .foundation-card { display: flex; flex-direction: row; gap: 64px; align-items: start; background: transparent; padding: 0; width: 100%; }
.see-also .foundation-card > div:first-child { flex: 1; }
.see-also .foundation-card h3 { font-family: var(--font-serif); font-size: clamp(22px, 3vw, 34px); font-weight: 300; color: var(--text); letter-spacing: -0.02em; line-height: 1.15; margin: 12px 0 16px; }
.see-also .foundation-card h3 em { font-style: italic; color: var(--french); font-weight: 400; }
.see-also .foundation-card > div:first-child p { font-size: 15px; line-height: 1.75; color: var(--text-2); font-weight: 300; max-width: 600px; }
.see-also .foundation-card .foundation-links { flex-shrink: 0; min-width: 260px; }
@media (max-width: 720px) { .see-also .foundation-card { flex-direction: column; gap: 32px; } }


/* =========================================================
 *    PLATFORM PAGE  surfaces grid + composition flow map
 *    ========================================================= */
.surfaces { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 48px; }
.surface { background: var(--bg-card); padding: 36px 30px; display: flex; flex-direction: column; min-height: 340px; position: relative; }
.surface::before { content: ""; position: absolute; top: 0; left: 0; width: 60px; height: 3px; background: var(--french); }
.surface.accent-ice::before { background: var(--french-bright); }
.surface.accent-copper::before { background: var(--copper); }
.surface.accent-gold::before { background: #e0b67a; }
.surface.accent-french::before { background: var(--french); }
.surface-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.surface-title { font-family: var(--font-serif); font-size: clamp(22px, 2.5vw, 28px); font-weight: 300; color: var(--ink); line-height: 1.2; margin: 0 0 8px; }
.surface-title em { color: var(--french); font-style: italic; }
.surface-role { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.surface-body { font-size: 14px; line-height: 1.7; color: var(--text-2); flex: 1; }
.surface-specs { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--rule-mid); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.surface-spec { font-size: 11px; color: var(--text-3); line-height: 1.3; }
.surface-spec strong { display: block; font-weight: 600; color: var(--ink); font-size: 12px; margin-top: 2px; }
.surface.foundation { flex-direction: row; gap: 48px; align-items: flex-start; min-height: auto; padding: 40px 36px; grid-column: 1 / -1; }
.foundation-header { flex-shrink: 0; width: 260px; }
.surface.foundation .foundation-body { flex: 1; min-width: 0; max-width: none; }
.surfaces .surface { grid-column: span 2; }
.surfaces .surface.foundation { grid-column: 1 / -1; }
.surfaces .surface.surface-half { grid-column: span 3; }
.surface-cta { display: block; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--rule-mid); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--french); text-decoration: none; }
.surface-cta em { font-family: var(--font-serif); font-size: 13px; color: var(--copper); font-style: italic; letter-spacing: 0; text-transform: none; }
.surface-cta:hover { opacity: 0.75; }
.surface.foundation::before { display: none; }
.foundation-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.foundation-body { font-size: 15px; line-height: 1.75; color: var(--text-2); margin: 12px 0; }
.foundation-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.flow-map { display: flex; flex-direction: column; gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 48px; }
.flow-row { background: var(--bg); padding: 22px; display: grid; grid-template-columns: 1.2fr 2.8fr; gap: 20px; align-items: start; border-left: 3px solid transparent; }
.flow-row.copper { border-left-color: var(--copper); }
.flow-row.ice { border-left-color: var(--french-bright); }
.flow-row.french { border-left-color: var(--french); }
.flow-row.gold { border-left-color: #e0b67a; }
.flow-from { font-family: var(--font-serif); font-size: 17px; font-weight: 300; color: var(--ink); line-height: 1.3; }
.flow-from em { color: var(--text-3); font-style: italic; }
.flow-to { font-size: 14px; color: var(--text-2); line-height: 1.6; }
@media (max-width: 860px) { .surfaces { grid-template-columns: 1fr 1fr; } .surfaces .surface, .surfaces .surface.surface-half { grid-column: span 1; } .surface.foundation { grid-column: 1 / -1; flex-direction: column; gap: 24px; } }
@media (max-width: 600px) { .surfaces { grid-template-columns: 1fr; } .surface.foundation { flex-direction: column; gap: 24px; } .flow-row { grid-template-columns: 1fr; gap: 8px; } }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } }

/* ---- Engage form ---- */
.engage-form { max-width: 760px; }
.ef-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.ef-field { display: flex; flex-direction: column; margin-bottom: 20px; }
.ef-row .ef-field { margin-bottom: 0; }
.ef-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.ef-req { color: var(--french); }
.ef-input { font-family: var(--font-sans); font-size: 15px; color: var(--text); background: var(--bg-card); border: 1px solid var(--rule); padding: 14px 16px; outline: none; transition: border-color 0.2s; width: 100%; box-sizing: border-box; border-radius: 0; -webkit-appearance: none; }
.ef-input:focus { border-color: var(--french); }
.ef-input::placeholder { color: var(--text-3); }
.ef-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.ef-textarea { min-height: 140px; resize: vertical; }
.ef-footer { display: flex; align-items: center; gap: 24px; margin-top: 8px; }
.ef-status { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; }
.ef-status.ef-ok { color: #5a9e6f; }
.ef-status.ef-err { color: #c0544a; }
@media (max-width: 600px) { .ef-row { grid-template-columns: 1fr; } .ef-footer { flex-direction: column; align-items: flex-start; } }

/* ==========================================================================
   BLOG / DISPATCH — Article & Archive Styles
   ========================================================================== */

/* Post hero */
.post-title { font-size: clamp(32px, 5vw, 68px); margin-top: 20px; }
.post-deck  { margin-top: 24px; font-size: clamp(16px, 1.5vw, 20px); }
.post-byline {
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule);
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-3);
}
.post-byline-label { color: var(--text-3); margin-right: 4px; }
.post-byline-value { color: var(--text); }

/* Featured image */
.post-featured-wrap { padding: 0 0 56px; border-bottom: 1px solid var(--rule); }
.post-featured-figure { margin: 0; }
.post-featured-img { width: 100%; height: auto; display: block; }

/* Article body */
.post-body-wrap { max-width: 780px; }
.post-body {
  font-family: var(--font-sans); font-size: 17px; line-height: 1.85;
  color: var(--text-2); font-weight: 300;
}
.post-body h2 {
  font-family: var(--font-serif); font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300; color: var(--text); margin: 56px 0 20px; letter-spacing: -0.01em;
}
.post-body h3 {
  font-family: var(--font-serif); font-size: clamp(18px, 2vw, 24px);
  font-weight: 300; color: var(--text); margin: 40px 0 14px;
}
.post-body h4 {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-3); margin: 32px 0 12px;
}
.post-body p  { margin: 0 0 22px; }
.post-body p:last-child { margin-bottom: 0; }
.post-body strong { color: var(--text); font-weight: 500; }
.post-body em     { font-style: italic; color: var(--french); }
.post-body a      { color: var(--french); border-bottom: 1px solid rgba(90,140,200,0.35); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.post-body a:hover { color: var(--text); border-color: var(--text); }
.post-body ul, .post-body ol { margin: 0 0 22px 22px; }
.post-body li  { margin-bottom: 8px; }
.post-body blockquote {
  margin: 40px 0; padding: 24px 32px;
  border-left: 3px solid var(--french); background: var(--bg-alt);
  font-style: italic; font-size: 18px; color: var(--text);
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body img    { max-width: 100%; height: auto; display: block; margin: 40px auto; }
.post-body hr     { border: none; border-top: 1px solid var(--rule); margin: 56px 0; }
.post-body figure { margin: 40px 0; }
.post-body figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-top: 10px; }
.post-body pre    { background: var(--bg-alt); border: 1px solid var(--rule); padding: 20px 24px; overflow-x: auto; font-size: 14px; margin: 0 0 22px; }
.post-body code   { font-family: var(--font-mono); font-size: 13px; background: var(--bg-alt); padding: 2px 6px; border-radius: 2px; }
.post-body pre code { background: none; padding: 0; }

/* Tags / categories */
.post-tags {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule);
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-3);
}
.post-tags a { color: var(--french); }
.post-tags a:hover { color: var(--text); }

/* Tile thumb for article cards */
.tile-thumb {
  aspect-ratio: 16/9; margin: -40px -32px 24px;
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--rule);
}

/* Dispatch pagination */
.dispatch-pagination { margin-top: 56px; display: flex; justify-content: center; }
.dispatch-pagination ul { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; }
.dispatch-pagination a, .dispatch-pagination span {
  display: inline-flex; align-items: center;
  padding: 10px 16px; border: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3); transition: all .2s var(--ease);
}
.dispatch-pagination a:hover, .dispatch-pagination .current {
  color: var(--text); border-color: var(--french);
}

/* Legal / Policy page body */
.legal-body { max-width: 820px; }
.legal-body h2 {
  font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 300; color: var(--text); margin: 48px 0 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--rule);
}
.legal-body h3 {
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  color: var(--text); margin: 32px 0 10px;
}
.legal-body p    { font-size: 15px; line-height: 1.8; color: var(--text-2); margin: 0 0 18px; }
.legal-body ul, .legal-body ol { margin: 0 0 18px 22px; }
.legal-body li   { font-size: 15px; line-height: 1.8; color: var(--text-2); margin-bottom: 6px; }
.legal-body a    { color: var(--french); }
.legal-body strong { color: var(--text); font-weight: 500; }

/* Footer grid — 5 columns (brand + 4 nav) */
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; } }

/* Dispatch category tiles */
.dispatch-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.dispatch-cat {
  background: var(--bg-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  transition: background .2s var(--ease);
  position: relative;
}
.dispatch-cat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--french);
}
.dispatch-cat:hover { background: var(--bg-alt); }
.dispatch-cat .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.dispatch-cat h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 300; color: var(--text); margin: 0; }
.dispatch-cat p { font-size: 13px; color: var(--text-3); margin: 0; }
@media (max-width: 720px) { .dispatch-cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .dispatch-cats { grid-template-columns: 1fr; } }

/* ── Electron accent — em in key headings gets copper/brand color ─── */
.hero-h1 em,
.revenue-hero-h1 em,
.section-h2 em,
.callout-head em,
.cta-band h2 em,
.step-title em,
.reason h3 em,
.arch-title em,
.surface-title em,
.flow-title em,
.claim h3 em,
.foundation-link-name em,
.composition h2 em,
.alignment h2 em,
.lanes-head h2 em {
  color: var(--copper);
  font-style: italic;
}
/* Utility — manual electron accent on any element */
.el { color: var(--copper); font-style: normal; }

/* ── Team page: partner-name & member-name heading color override ─── */
.partner-name,
.member-name {
  color: var(--cream);
}

/* ── Team page: em electron accents in bios, tags, member names ──── */
.partner-body em,
.partner-tag em,
.member-name em,
.member-body em {
  color: var(--copper);
  font-style: italic;
}

/* ── Team proof boxes: min-height so all cells equal ─── */
.partner-proof-item { min-height: 76px; }

/* -- Platform: foundation CTAs side-by-side -- */
.surface.foundation .foundation-links { flex-direction: row; max-width: none; border: none; gap: 16px; }
.surface.foundation .foundation-link { flex: 1; border: 1px solid var(--rule); }


/* === ELEMENTOR OVERRIDE ARMOR ===============================================
   post-624.css uses .elementor-kit-624 (body) with specificity (0,1,0).
   This block uses body.elementor-kit-624 with specificity (0,1,1) + loads
   after post-624.css → permanent cascade win. Future Elementor kit resaves
   regenerate post-624.css but cannot beat this selector.
   ========================================================================= */
body.elementor-kit-624 {
  --e-global-color-primary:   var(--french)  !important; /* #5385B3 — beats #0070C0 */
  --e-global-color-secondary: var(--bg-alt)  !important; /* #F4F4F0 — beats #0C1713 */
  --e-global-color-text:      var(--text)    !important; /* #0D1621 — beats #0C1713 */
  --e-global-color-accent:    var(--copper)  !important; /* #E85D04 — beats #7030A0 */
}


/* === ELEMENTOR BUTTON COLOR ARMOR ==========================================
   Catches Elementor button widgets that inline --e-global-color-accent or
   output hardcoded color via .elementor-button background/color rules.
   ========================================================================= */
body.elementor-kit-624 .elementor-button,
body.elementor-kit-624 .elementor-button-link,
body.elementor-kit-624 .elementor-widget-button .elementor-button,
body.elementor-kit-624 a.elementor-button,
body.elementor-kit-624 .elementor-button.elementor-button-default {
  --e-global-color-accent: var(--copper) !important;
}

/* Catch any inline style="background-color:var(--e-global-color-accent)" */
body.elementor-kit-624 [style*="7030A0"] {
  background-color: var(--copper) !important;
  border-color: var(--copper) !important;
  color: #ffffff !important;
}
body.elementor-kit-624 [style*="0070C0"] {
  background-color: var(--french) !important;
  border-color: var(--french) !important;
}

/* ============================================================
   SAVRN — Hamburger defensive fix (appended 2026-04-27)
   Supercedes prior .menu-toggle rules via specificity + !important
   ============================================================ */
@media (max-width: 1180px) {

  /* Button container — force flex, clear all browser/theme overrides */
  button#menuToggle.menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
  }

  /* Spans — hard-code colour so CSS-variable failure can't hide them */
  button#menuToggle.menu-toggle span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;               /* was 1.5px — too thin on HiDPI */
    background: #0D1621 !important;       /* --text resolved to hard value */
    border-radius: 1px !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
  }

  /* Open-state animations (keep parity with existing open-class rules) */
  button#menuToggle.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }
  button#menuToggle.menu-toggle.open span:nth-child(2) {
    opacity: 0 !important;
  }
  button#menuToggle.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }
}
