/* ============================================================
   BrightLine Energy — marketing site
   Design tokens, layout, sections, and motion.
   All hex values, sizes, and timings are from the approved
   design handoff and are authoritative.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Navy family */
  --navy-deep: #0B4F6C;      /* primary dark bg, nav base */
  --navy-darkest: #08394E;   /* footer */
  --navy-map-stage: #0E2338;
  --navy-map-land: #16304A;
  --navy-ink: #08131F;

  /* Text on light */
  --ink: #1F2A30;

  /* Cream family (cooled to a crisp off-white) */
  --cream: #F3F7F9;
  --cream-chip: #E8EEEA;
  --white: #FFFFFF;

  /* Green family */
  --green: #4CD35B; /* refined emerald */
  --green-hover: #5FDE6E;
  --green-light: #7FDDA0;
  --green-dark: #125F80;   /* teal label/accent on light — matches webinar design */
  --green-state: #1D4A44;
  --green-state-sel: #276B4E;

  /* Secondary accent — amber / gold (badges, certified chips, data highlights) */
  --accent-2: #E0A73C;
  --accent-2-light: #F0C46A;   /* amber text on navy */
  --accent-2-dark: #9A6A17;    /* amber text on a light tint */

  /* Neutral ramp (cool gray) — borders, dividers, secondary surfaces/text */
  --n-50: #F5F7FA;
  --n-100: #EAF0F5;
  --n-200: #D6E0EA;
  --n-300: #B9C6D4;
  --n-400: #93A3B4;
  --n-500: #6E7E90;
  --n-600: #556678;
  --n-700: #3E4E5E;
  --n-800: #2A3947;
  --n-900: #16222E;

  /* Slate family */
  --slate-100: #EAF1F7;
  --slate-200: #C7D5E2;
  --slate-300: #AEC0D2;
  --slate-400: #9DB2C6;
  --slate-500: #8FA3B7;
  --slate-550: #8296AA;
  --slate-600: #7D93A8;
  --slate-650: #6E8298;
  --slate-700: #98ABBF;   /* AA-corrected: map hint on navy (was #63798F, 3.9:1) */
  --slate-800: #8093A4;   /* AA-corrected: footer copyright (was #4E6178, 2.9:1) */
  --slate-dim-pin: #3A5570;

  /* Gray family */
  --gray-500: #5A5A5A;
  --gray-550: #6B7885;
  --gray-600: #556678;    /* AA-corrected: count line / eyebrows on cream (was #8A97A4, 2.8:1) */
  --gray-700: #3E4C59;

  /* Type */
  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Bricolage Grotesque', sans-serif;

  /* Modular type scale (base 16, ratio 1.25): 13 16 20 25 31 39 49 61 */
  --fs-display: clamp(40px, 6vw, 61px);
  --fs-h1: clamp(31px, 4.6vw, 49px);
  --fs-h2: clamp(27px, 3.6vw, 39px);
  --fs-sub: 25px;
  --measure: 66ch;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 9vw, 120px);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  overflow-x: hidden;
}
a { color: #125F80; text-decoration: none; }
a:hover { color: #0B4F6C; }
::selection { background: var(--green); color: var(--navy-deep); }
img { max-width: 100%; }

/* Justified body copy for a clean, professional column */
.hero-lede,
.page-header .lede,
.services .head-lede,
.portfolio .lede,
.experience .exp-lede,
.teaser .t-lede {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Tabular figures on data — aligns columns and stops count-up jitter */
.hero-stats .num,
.pc-dc, .pc-mw,
.pm-caps .cap-v,
.count-line { font-variant-numeric: tabular-nums; }

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

/* Brightline stripe motif (reusable) */
.stripe-icon { width: 14px; height: 11px; flex: none; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow .stripe-wrap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* Diagonal green lines motif on dark sections (matches the webinar page) */
.bl-lines {
  position: absolute;
  right: -40px;
  bottom: -90px;
  width: min(420px, 50%);
  height: auto;
  opacity: .11;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn-green {
  background: var(--green);
  color: var(--navy-deep);
  font-weight: 800;
  border: 1px solid var(--green);
}
.btn-green:hover { background: var(--green-hover); color: var(--navy-deep); }
.btn-green.lift:hover { transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--slate-100);
  font-weight: 700;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 79, 108, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.nav-logo img { height: 30px; width: auto; flex: none; display: block; }
.nav-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .02em;
  color: #fff;
  white-space: nowrap;
}
.nav-word span { color: var(--green); }
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  flex: none;
}
.nav-link {
  color: var(--slate-200);
  font-weight: 600;
  font-size: 14.5px;
}
.nav-link:hover { color: #fff; }
.nav-cta {
  background: var(--green);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 9px;
  white-space: nowrap;
  transition: background .15s ease;
}
.nav-cta:hover { background: var(--green-hover); color: var(--navy-deep); }
.nav-webinar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--green);
  color: var(--green-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 9px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav-webinar:hover { background: rgba(76, 211, 91, .12); color: #fff; }
.nav-webinar .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* Services dropdown */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd > .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { width: 9px; height: 9px; flex: none; transition: transform .15s ease; }
.nav-dd:hover .nav-caret, .nav-dd:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  margin-top: 12px;
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(8, 19, 31, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--slate-200);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
}
.nav-dd-menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
@media (max-width: 680px) { .nav-dd { display: none !important; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-under-array.jpg');
  background-size: cover;
  background-position: center 50%;
}
.hero-scrim-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 19, 34, .8) 0%, rgba(7, 19, 34, .5) 26%, rgba(7, 19, 34, .14) 50%, rgba(7, 19, 34, 0) 74%);
}
.hero-scrim-2 {
  position: absolute;
  inset: 0;
  display: none;
}
.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 300px;
  background: linear-gradient(180deg, rgba(7, 19, 34, 0), rgba(7, 19, 34, .88));
}
.hero-motif {
  display: none;
}
.hero-rule {
  position: absolute;
  left: 0; right: 0;
  bottom: 64px;
  height: 1px;
  background: linear-gradient(90deg, rgba(76, 211, 91, 0), rgba(76, 211, 91, .9), rgba(76, 211, 91, 0));
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(90px, 13vw, 150px) var(--gutter) clamp(120px, 15vw, 180px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(76, 211, 91, .4);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 30px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.hero-badge .label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--green-light);
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
  text-shadow: 0 1px 3px rgba(7, 19, 34, .4);
}
.hero-lede {
  max-width: 60ch;
  color: #EAF1F7;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
  margin: 28px 0 40px;
  text-shadow: 0 1px 14px rgba(7, 19, 34, .55);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-actions .btn {
  font-size: 15.5px;
  padding: 16px 28px;
  border-radius: 10px;
}
.hero-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(20px, 3.5vw, 48px);
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-stats > div { flex: 1 1 0; min-width: 0; }
.hero-stats .num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 44px);
  color: #fff;
  line-height: 1;
  text-shadow: 0 1px 14px rgba(7, 19, 34, .55);
}
.hero-stats .num .unit { color: var(--green); font-size: .55em; }
.hero-stats .num .plus { color: var(--green); }
.hero-stats .num.placeholder { color: var(--slate-200); }
.hero-stats .lbl {
  color: #DCE7F1;
  font-size: 13.5px;
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: .02em;
  text-shadow: 0 1px 12px rgba(7, 19, 34, .55);
}

/* ============================================================
   APPROACH / PHILOSOPHY
   ============================================================ */
.approach {
  background: var(--navy-deep);
  padding: var(--section-y) 0;
}
.approach .head {
  text-align: center;
  margin-bottom: 56px;
}
.approach .eyebrow {
  color: var(--green);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.section-h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
}
.approach .section-h2 {
  color: #fff;
  margin: 0 auto;
  max-width: 20ch;
}
.tl-wrap {
  position: relative;
  --tlgap: clamp(28px, 4vw, 56px);
}
.tl-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tlgap);
}
.tl-col { position: relative; text-align: center; }
.tl-line {
  position: absolute;
  left: 50%;
  right: calc(-1 * (var(--tlgap) + 50%));
  top: 8px;
  height: 2px;
  background: var(--green);
}
.tl-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  margin: 0 auto 28px;
}
.tl-dot.past,
.tl-dot.future {
  background: var(--navy-deep);
  border: 3px solid var(--green);
  box-shadow: 0 0 0 6px rgba(76, 211, 91, .12);
}
.tl-dot.present {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(76, 211, 91, .2), 0 0 20px rgba(76, 211, 91, .7);
}
.tl-eyebrow {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--slate-500);
  margin-bottom: 10px;
}
.tl-eyebrow.now { color: var(--green); }
.tl-col h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-sub);
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.tl-col p {
  color: var(--slate-300);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 40ch;
}

/* ============================================================
   SERVICES / CAPABILITIES
   ============================================================ */
.services {
  background: var(--cream);
  padding: var(--section-y) 0;
}
.services .head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}
.services .eyebrow {
  color: var(--green-dark);
  margin-bottom: 16px;
}
.services .section-h2 {
  color: var(--navy-deep);
  max-width: 16ch;
}
.services .head-lede {
  max-width: 36ch;
  color: var(--gray-500);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.cap-card {
  background: #fff;
  border: 1px solid rgba(11, 79, 108, .08);
  border-radius: 16px;
  padding: 28px;
  transition: border-color .15s ease, transform .15s ease;
}
.cap-card:hover { border-color: var(--green); transform: translateY(-3px); }
.cap-card .num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  color: var(--green);
  margin-bottom: 20px;
}
.cap-ico {
  display: block;
  width: 34px;
  height: 34px;
  color: var(--green);
  margin-bottom: 18px;
}
.cap-ico svg { width: 100%; height: 100%; display: block; }
.cap-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy-deep);
  margin: 0 0 10px;
}
.cap-card p {
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* Keyword strip (between Services cards and Experience Matters) */
.kw-band { background: var(--cream); }
.kw-band .container { padding-top: clamp(10px, 2vw, 28px); padding-bottom: clamp(10px, 2vw, 28px); }
.kw-row {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 2vw, 40px);
  margin: 0;
  padding: clamp(22px, 3.5vw, 40px) 0;
  border-top: 1px solid rgba(11, 79, 108, .14);
  border-bottom: 1px solid rgba(11, 79, 108, .14);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(13px, 2.7vw, 34px);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-deep);
}
.kw-row .kw-dot { color: var(--green); }

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portfolio {
  background: var(--cream);
  padding: var(--section-y) 0;
}
.portfolio .eyebrow {
  color: var(--green-dark);
  margin-bottom: 16px;
}
.portfolio .section-h2 {
  color: var(--navy-deep);
  margin: 0 0 12px;
}
.portfolio .lede {
  max-width: 56ch;
  color: var(--gray-500);
  font-size: 16.5px;
  line-height: 1.55;
  margin: 0 0 32px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  transition: all .15s ease;
  border: 1px solid rgba(11, 79, 108, .18);
  background: #fff;
  color: var(--gray-700);
}
.chip b {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  background: rgba(11, 79, 108, .06);
  color: var(--navy-deep);
  border-radius: 999px;
  padding: 2px 7px;
  font-variant-numeric: tabular-nums;
}
.chip.active b { background: rgba(255, 255, 255, .18); color: #fff; }
.chip:hover { border-color: rgba(11, 79, 108, .4); }
.chip.active {
  border-color: var(--navy-deep);
  background: var(--navy-deep);
  color: #fff;
}
.count-line {
  color: var(--gray-600);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.project-grid { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.rhead {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(11, 79, 108, .12);
}
.rname {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2-dark);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.rname .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.rmeta { color: var(--gray-600); font-size: 13px; font-variant-numeric: tabular-nums; }
.show-more {
  margin-top: 16px;
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(11, 79, 108, .18);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--green-dark);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.show-more:hover { border-color: var(--green); color: var(--green); background: rgba(76, 211, 91, .06); }
.project-card {
  background: #fff;
  border: 1px solid rgba(11, 79, 108, .08);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 1px 2px rgba(11, 79, 108, .04);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.project-card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.project-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11, 79, 108, .1);
}
.project-card .pc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.project-card .pc-city {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy-deep);
  letter-spacing: -.01em;
  line-height: 1.1;
}
.project-card .pc-badge {
  flex: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--navy-deep);
  background: var(--cream-chip);
  padding: 5px 9px;
  border-radius: 6px;
}
.project-card .pc-div { height: 1px; background: rgba(11, 79, 108, .08); }
.project-card .pc-dc {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 23px;
  color: var(--navy-deep);
  line-height: 1;
}
.project-card .pc-mw {
  font-size: 13.5px;
  color: var(--gray-550);
  margin-top: 6px;
}
.project-card .pc-more {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--green-dark);
  transition: color .15s ease;
}
.project-card:hover .pc-more { color: var(--green); }

/* ============================================================
   PROJECT DETAIL MODAL
   ============================================================ */
.pm-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 19, 31, .62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.pm-overlay[hidden] { display: none; }
.pm-dialog {
  position: relative;
  background: #fff;
  color: var(--ink);
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 18px;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 30px 80px rgba(8, 19, 31, .5);
}
.pm-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
}
.pm-close:hover { color: var(--green); }
.pm-region-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pm-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--navy-deep);
  background: var(--cream-chip);
  padding: 5px 9px;
  border-radius: 6px;
  font-family: var(--font-head);
}
.pm-region {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.pm-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -.01em;
  color: var(--navy-deep);
  margin: 0 0 18px;
}
.pm-caps {
  display: flex;
  gap: 32px;
  padding: 16px 0;
  border-top: 1px solid rgba(11, 79, 108, .08);
  border-bottom: 1px solid rgba(11, 79, 108, .08);
  margin-bottom: 22px;
}
.pm-caps .cap-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 5px;
}
.pm-caps .cap-v {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy-deep);
}
.pm-field { margin-bottom: 18px; }
.pm-field:last-child { margin-bottom: 0; }
.pm-field h4 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 0 0 6px;
}
.pm-field p { margin: 0; color: var(--gray-500); font-size: 15px; line-height: 1.6; }
.pm-field p.placeholder { color: var(--gray-600); font-style: italic; }

/* ============================================================
   PROJECT DETAIL DRAWER (slide-in from right)
   ============================================================ */
.drawer-wrap { position: fixed; inset: 0; z-index: 100; }
.drawer-wrap[hidden] { display: none; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 31, .5);
  opacity: 0;
  transition: opacity .3s ease;
}
.drawer-wrap.open .drawer-backdrop { opacity: 1; }
.drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 92%);
  background: #fff;
  color: var(--ink);
  box-shadow: -24px 0 60px rgba(8, 19, 31, .3);
  padding: clamp(24px, 4vw, 38px);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
.drawer-wrap.open .drawer { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 14px; right: 16px;
  background: transparent;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
}
.drawer-close:hover { color: var(--green); }
.dw-region-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dw-region { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark); }
.dw-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 4vw, 30px); letter-spacing: -.01em; color: var(--navy-deep); margin: 0 0 16px; }
.dw-caps { display: flex; gap: 30px; padding: 16px 0; border-top: 1px solid rgba(11, 79, 108, .08); border-bottom: 1px solid rgba(11, 79, 108, .08); margin-bottom: 20px; }
.dw-caps .cap-v { font-variant-numeric: tabular-nums; }
.dw-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(11, 79, 108, .08); }
.dw-nav button {
  background: transparent;
  border: 1px solid rgba(11, 79, 108, .18);
  border-radius: 9px;
  padding: 9px 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.dw-nav button:hover:not(:disabled) { border-color: var(--green); color: var(--green-dark); }
.dw-nav button:disabled { opacity: .35; cursor: default; }
@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer-backdrop { transition: none; }
}

/* ============================================================
   MAP
   ============================================================ */
.map-section {
  background: var(--navy-deep);
  padding: var(--section-y) 0;
}
.map-section .head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.map-section .eyebrow {
  color: var(--green);
  margin-bottom: 16px;
  display: flex;
}
.map-section .section-h2 {
  color: #fff;
  max-width: 18ch;
}
.map-section .head-lede {
  max-width: 34ch;
  color: var(--slate-400);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.map-container {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  overflow: hidden;
  background: var(--navy-map-stage);
  height: clamp(460px, 58vw, 640px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

/* State summary cards (replaces the interactive map) */
.state-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.state-card {
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
  background: var(--navy-map-stage);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.state-card:hover { border-color: var(--green); transform: translateY(-3px); }
.state-card.active { border-color: var(--green); background: rgba(76, 211, 91, .1); }
.state-card:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.state-card .top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.state-card .st { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; }
.state-card .ct { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--green-light); font-variant-numeric: tabular-nums; }
.state-card .sub { color: var(--slate-600); font-size: 12.5px; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.state-card .bar { height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.state-card .bar i { display: block; height: 100%; background: var(--green); border-radius: 3px; }
.state-hint { color: var(--slate-700); font-size: 13px; margin: 18px 0 0; }
.map-legend .items {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.map-legend .item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--slate-400);
  font-size: 13.5px;
}
.map-legend .swatch-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.map-legend .swatch-state {
  width: 14px; height: 11px;
  border-radius: 3px;
  background: var(--green-state);
  flex: none;
}
.map-legend .hint {
  color: var(--slate-700);
  font-size: 13px;
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners {
  background: var(--cream);
  padding: var(--section-y) 0;
  text-align: center;
}
.partners .eyebrow {
  color: var(--gray-600);
  margin-bottom: 28px;
  display: block;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.partner-slot {
  position: relative;
  height: 72px;
  border: 1px dashed rgba(11, 79, 108, .16);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(11, 79, 108, .28);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .05em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
  padding: clamp(80px, 11vw, 140px) 0;
}
.contact-glow {
  position: absolute;
  left: 50%;
  top: -40%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 211, 91, .22), transparent 60%);
}
.contact-motif {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(78%, 900px);
  height: 70%;
  opacity: .06;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.contact-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.contact .eyebrow {
  color: var(--green);
  margin-bottom: 18px;
  display: block;
}
.contact .eyebrow .stripe-wrap { justify-content: center; }
.contact h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 auto 24px;
  max-width: 18ch;
  text-wrap: balance;
}
.contact-lede {
  max-width: 52ch;
  margin: 0 auto 40px;
  color: var(--slate-300);
  font-size: 17px;
  line-height: 1.55;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.contact-actions .btn {
  font-size: 16px;
  padding: 17px 32px;
  border-radius: 11px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0B4F6C 0%, #08394E 100%);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 0 0 34px;
}

/* Cream "Get in touch" band at the top of the footer */
.sf-top { background: var(--cream); position: relative; z-index: 1; }
.sf-top .sf-cta {
  padding-top: clamp(72px, 10vw, 118px);
  padding-bottom: clamp(56px, 8vw, 92px);
}
.sf-top .sf-cta .eyebrow { color: var(--green-dark); }
.sf-top .sf-cta h2 { color: var(--navy-deep); }
.sf-top .sf-lede { color: var(--gray-500); }
.sf-top .btn-outline { border-color: rgba(10, 26, 47, .25); color: var(--navy-deep); }
.sf-top .btn-outline:hover { border-color: var(--green); color: var(--green-dark); }
.footer-main { padding-top: clamp(48px, 7vw, 80px); }

/* Contact form inputs (shared "Have a project?" section) */
#ab-formwrap input {
  min-height: 48px;
  box-sizing: border-box;
  width: 100%;
  padding: 0 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #C9D6DC;
  transition: border-color .15s ease;
}
#ab-formwrap input::placeholder { color: #8A8A8A; }
#ab-formwrap input:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }
#ab-formwrap input.bad { border-color: #B3261E; }
.site-foot .container { position: relative; z-index: 1; }

/* Get-in-touch CTA (top of the unified footer) */
.sf-glow {
  position: absolute;
  left: 50%; top: -14%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 211, 91, .2), transparent 60%);
  pointer-events: none;
}
.sf-motif {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: min(80%, 1000px);
  height: 60%;
  opacity: .05;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.sf-cta { text-align: center; }
.sf-cta .eyebrow { color: var(--green); margin-bottom: 18px; display: block; }
.sf-cta .eyebrow .stripe-wrap { justify-content: center; }
.sf-cta h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 auto 24px;
  max-width: 18ch;
  text-wrap: balance;
}
.sf-lede { max-width: 52ch; margin: 0 auto 40px; color: var(--slate-300); font-size: 17px; line-height: 1.55; }
.sf-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.sf-actions .btn { font-size: 16px; padding: 17px 32px; border-radius: 11px; }
.sf-divider { height: 1px; background: rgba(255, 255, 255, .09); margin: clamp(56px, 8vw, 90px) 0 clamp(40px, 5vw, 56px); }

.footer-main {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer-logo { height: clamp(48px, 6vw, 66px); width: auto; display: block; margin-bottom: 18px; }
.footer-blurb { color: var(--slate-400); font-size: 14.5px; line-height: 1.6; margin: 0 0 20px; max-width: 36ch; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-200);
  font-weight: 600;
  font-size: 14px;
}
.footer-social:hover { color: var(--green); }
.footer-social .li-icon { width: 22px; height: 22px; flex: none; display: block; }

/* Newsletter signup (footer) */
.footer-news { margin-top: 28px; max-width: 360px; }
.footer-news-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate-600);
  margin: 0 0 12px;
}
.footer-news-form { display: flex; gap: 8px; }
.footer-news-form input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color .15s ease;
}
.footer-news-form input::placeholder { color: var(--slate-500); }
.footer-news-form input:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.footer-news-form input.bad { border-color: #E2726A; }
.footer-news-form button {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 9px;
  background: var(--green);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s ease;
}
.footer-news-form button:hover { background: var(--green-hover); }
.footer-news-msg { margin: 10px 0 0; font-size: 13px; line-height: 1.4; }
.footer-news-msg.ok { color: var(--green-light); }
.footer-news-msg.err { color: #E2726A; }
.footer-news-msg[hidden] { display: none; }
.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate-600);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--slate-300); font-size: 14.5px; }
.footer-col a:hover { color: var(--green); }
.footer-rule {
  height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(76, 211, 91, .06));
  margin: clamp(36px, 5vw, 52px) 0 22px;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-tag-inline {
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .02em;
}
.footer-meta .copy { color: var(--slate-800); font-size: 13px; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: 1fr; } }

/* ============================================================
   INTERIOR PAGE HEADER (What we do / Projects / About / Resources)
   ============================================================ */
.page-header {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
  padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 7vw, 80px);
}
.page-header .ph-glow {
  position: absolute;
  right: -8%;
  top: -40%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 211, 91, .12), transparent 62%);
  pointer-events: none;
}
.page-header .container { position: relative; }
.page-header .eyebrow { color: var(--green); margin-bottom: 16px; display: flex; }
.page-header h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
  max-width: 22ch;
}
.page-header .lede {
  max-width: 60ch;
  color: var(--slate-300);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  margin: 20px 0 0;
}

/* Active nav link */
.nav-link.active { color: #fff; }

/* ============================================================
   HOME TEASER BANDS
   ============================================================ */
.teaser { padding: var(--section-y) 0; }
.teaser.on-cream { background: var(--cream); }
.teaser.on-navy { position: relative; overflow: hidden; background: var(--navy-deep); }
.teaser .t-glow {
  position: absolute; left: 50%; top: -50%; transform: translateX(-50%);
  width: 820px; height: 820px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 211, 91, .12), transparent 60%);
  pointer-events: none;
}
.teaser .container { position: relative; }
.teaser .t-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.teaser .eyebrow { margin-bottom: 16px; }
.teaser.on-cream .eyebrow { color: var(--green-dark); }
.teaser.on-navy .eyebrow { color: var(--green); }
.teaser h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  max-width: 18ch;
}
.teaser.on-cream h2 { color: var(--navy-deep); }
.teaser.on-navy h2 { color: #fff; }
.teaser .t-lede { max-width: 44ch; font-size: 16.5px; line-height: 1.55; margin: 0; }
.teaser.on-cream .t-lede { color: var(--gray-500); }
.teaser.on-navy .t-lede { color: var(--slate-300); }
.teaser .t-cta { margin-top: 30px; }
.teaser .btn { font-size: 15.5px; padding: 15px 28px; border-radius: 10px; }

.tri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.tri .tri-card {
  background: #fff;
  border: 1px solid rgba(11, 79, 108, .08);
  border-radius: 14px;
  padding: 24px;
  transition: border-color .15s ease, transform .15s ease;
}
.tri .tri-card:hover { border-color: var(--green); transform: translateY(-3px); }
.tri .tri-card .k {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--green);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.tri .tri-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--navy-deep); margin: 0 0 8px; }
.tri .tri-card p { color: var(--gray-500); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ============================================================
   RESOURCES PLACEHOLDER
   ============================================================ */
.resources-ph {
  background: var(--cream);
  padding: clamp(60px, 9vw, 110px) 0 clamp(72px, 11vw, 140px);
  text-align: center;
}
.resources-ph .rp-inner { max-width: 640px; margin: 0 auto; }
.resources-ph .badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--green-dark);
  border: 1px solid rgba(18, 95, 128, .35);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.resources-ph h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--navy-deep);
  margin: 0 0 18px;
}
.resources-ph p { color: var(--gray-500); font-size: 17px; line-height: 1.6; margin: 0 auto 30px; max-width: 48ch; }
.resources-ph .btn { font-size: 15.5px; padding: 15px 28px; border-radius: 10px; }

/* ============================================================
   OUR VISION
   ============================================================ */
.vision {
  background: var(--navy-deep);
  padding: var(--section-y) 0;
}
.vision .vision-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.vision .eyebrow {
  color: var(--green);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.vision .section-h2 {
  color: #fff;
  margin: 0 auto 24px;
  max-width: 20ch;
}
.vision p {
  color: var(--slate-300);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 54ch;
}

/* ============================================================
   EXPERIENCE MATTERS
   ============================================================ */
.experience {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: var(--section-y) 0;
}
.experience .exp-bg {
  position: absolute;
  right: -10%;
  top: -30%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 211, 91, .14), transparent 62%);
  pointer-events: none;
}
.experience .container { position: relative; }
.experience .exp-inner { max-width: 780px; }
.experience .exp-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}
.exp-copy {
  min-width: 0;
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 24px 60px rgba(8, 19, 31, .18);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.exp-media { min-width: 0; display: flex; }
.exp-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(11, 79, 108, .1);
  box-shadow: 0 24px 60px rgba(8, 19, 31, .18);
}
@media (max-width: 820px) {
  .experience .exp-grid { grid-template-columns: 1fr; gap: 32px; }
}
.experience .eyebrow {
  color: var(--green);
  margin-bottom: 16px;
}
.experience .section-h2 {
  color: #fff;
  max-width: 20ch;
  margin: 0 0 24px;
  font-size: clamp(25px, 3vw, 33px);
}
.experience .exp-lede {
  color: var(--slate-300);
  font-size: 17px;
  line-height: 1.6;
  max-width: 62ch;
  margin: 0 0 26px;
}
.experience .exp-close {
  color: var(--green-light);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  letter-spacing: -.01em;
  max-width: 46ch;
  margin: 0 0 30px;
}
.experience .btn {
  font-size: 15.5px;
  padding: 15px 28px;
  border-radius: 10px;
}

/* ============================================================
   MOTION — scroll reveal + hero intro
   (mirrors the approved prototype exactly)
   ============================================================ */
@keyframes blPulse { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(2.6); opacity: 0; } 100% { opacity: 0; } }

[data-rv][data-armed] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .62s cubic-bezier(.22, .61, .36, 1), transform .62s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0ms);
}
[data-rv][data-armed].in { opacity: 1; transform: none; }

[data-tl-line][data-armed] {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(.22, .61, .36, 1);
}
[data-tl-line][data-armed].in { transform: scaleX(1); }

[data-tl-dot][data-armed] {
  opacity: 0;
  transform: scale(.4);
  transition: opacity .5s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: var(--d, 0ms);
}
[data-tl-dot][data-armed].in { opacity: 1; transform: none; }

/* Hero intro */
[data-hero-ray] {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  transform: translateX(-130%);
  animation: heroRay 1.35s cubic-bezier(.5, 0, .2, 1) .1s both;
}
@keyframes heroRay { to { transform: translateX(130%); } }
[data-hero-h] { opacity: 0; animation: heroIn .8s cubic-bezier(.22, .61, .36, 1) .5s both; }
@keyframes heroIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
[data-hero-ac] {
  color: transparent;
  background-image: linear-gradient(90deg, #4CD35B 50%, rgba(255, 255, 255, .22) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: heroWipe 1s cubic-bezier(.5, 0, .2, 1) 1.15s both;
  /* A wide blur muddies gradient-clipped text; drop the inherited shadow. */
  text-shadow: none;
}
@keyframes heroWipe { to { background-position: 0 0; } }
[data-hero-fade] { opacity: 0; animation: heroFade .7s ease both; animation-delay: var(--hd, 1.5s); }
@keyframes heroFade { to { opacity: 1; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-rv], [data-tl-dot] { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-tl-line] { transform: scaleX(1) !important; transition: none !important; }
  [data-hero-ray] { display: none !important; }
  [data-hero-h], [data-hero-fade] { animation: none !important; opacity: 1 !important; transform: none !important; }
  [data-hero-ac] { animation: none !important; background: none !important; color: #4CD35B !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 680px) {
  .approach .tl-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .approach .tl-line { display: none !important; }
  .approach .tl-dot { margin-bottom: 18px !important; }
  .nav-link { display: none !important; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats > div { flex: 1 1 40%; }
}
@media (max-width: 460px) {
  .nav-word { display: none !important; }
}

/* ============================================================
   WEBINAR LANDING PAGE (webinar.html)
   Standalone campaign LP — brand tokens, minimal chrome.
   ============================================================ */
.wb { background: var(--white); color: var(--ink); }

/* ---- LP header (minimal) ---- */
.wb-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--n-200);
}
.wb-head-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wb-logo { display: flex; align-items: center; }
.wb-logo img { height: 46px; width: auto; display: block; }
.wb-head-right { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.wb-head-tag { color: var(--gray-500); font-size: 14px; font-weight: 600; }
.wb-head-cta { font-size: 14.5px; padding: 11px 20px; border-radius: 9px; }

/* ---- Hero ---- */
.wb-hero { position: relative; overflow: hidden; background: var(--navy-deep); }
.wb-hero-motif {
  position: absolute;
  right: -4%;
  bottom: -12%;
  width: min(58%, 600px);
  height: 92%;
  opacity: .08;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.wb-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 88px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 5vw, 56px);
  align-items: flex-start;
}
.wb-hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.wb-when { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: .01em; }
.wb-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: #fff;
  margin: 0;
  max-width: 17ch;
  text-wrap: balance;
}
.wb-hero-lede { color: var(--slate-100); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.55; margin: 0; max-width: 54ch; }
.wb-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 6px; }
.wb-meta > div { display: flex; flex-direction: column; gap: 5px; }
.wb-meta .k {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-light);
}
.wb-meta .v { color: #fff; font-size: 16px; font-weight: 600; }

/* ---- Registration form card ---- */
.wb-form-card {
  flex: 1 1 380px;
  min-width: 0;
  max-width: 460px;
  background: var(--white);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 24px 60px rgba(8, 19, 31, .4);
}
.wb-form-head { margin-bottom: 20px; }
.wb-form-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.015em;
  color: var(--navy-deep);
  margin: 0 0 6px;
}
.wb-form-head p { margin: 0; font-size: 15px; color: var(--gray-500); line-height: 1.5; }
.wb-form { display: flex; flex-direction: column; gap: 18px; }
.wb-form[hidden], .wb-success[hidden] { display: none; }
.wb-field { display: flex; flex-direction: column; gap: 6px; }
.wb-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.wb-field input {
  min-height: 48px;
  box-sizing: border-box;
  width: 100%;
  padding: 0 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--n-300);
  transition: border-color .15s ease;
}
.wb-field input::placeholder { color: var(--n-400); }
.wb-field input:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }
.wb-field input.bad { border-color: #B3261E; }
.wb-err { font-size: 13px; color: #B3261E; font-weight: 600; line-height: 1.4; }
.wb-err[hidden] { display: none; }
.wb-hint { font-size: 13px; color: var(--gray-500); line-height: 1.4; }
.wb-hint[hidden] { display: none; }
.wb-form button[type="submit"] {
  min-height: 52px;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: var(--green);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.wb-form button[type="submit"]:hover { background: var(--green-hover); transform: translateY(-2px); }
.wb-fineprint { margin: 0; font-size: 12px; color: var(--gray-500); line-height: 1.5; }
.wb-success { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 8px 0; }
.wb-success h2 { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--navy-deep); margin: 0; }
.wb-success p { margin: 0; font-size: 15px; color: var(--gray-500); line-height: 1.55; }
.wb-success .wb-check { width: 48px; height: 48px; display: block; }
.wb-reset {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--n-300);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.wb-reset:hover { border-color: var(--green); color: var(--green-dark); }

/* ---- Beyond the dashboard ---- */
.wb-dash { background: var(--white); padding: var(--section-y) 0 clamp(48px, 6vw, 72px); }
.wb-dash .eyebrow { color: var(--green-dark); margin-bottom: 14px; display: flex; }
.wb-dash-top { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 48px); align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.wb-dash-copy { flex: 1 1 520px; min-width: 0; }
.wb-dash-copy h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--navy-deep);
  margin: 0 0 16px;
}
.wb-dash-copy p { margin: 0; font-size: 1.1rem; line-height: 1.6; color: var(--gray-500); }
.wb-dash-media {
  flex: 1 1 380px;
  min-width: 0;
  height: 22rem;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 40px rgba(11, 79, 108, .18);
}
.wb-numgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.wb-num-card {
  background: var(--white);
  border: 1px solid rgba(11, 79, 108, .1);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.wb-num-card:hover { border-color: var(--green); transform: translateY(-3px); }
.wb-num-card .n { font-family: var(--font-head); font-weight: 900; font-size: 2.1rem; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.wb-num-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; line-height: 1.25; color: var(--navy-deep); margin: 0; }
.wb-num-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--gray-500); }

/* ---- Pull quote band ---- */
.wb-quote { background: var(--cream); border-top: 1px solid var(--n-200); border-bottom: 1px solid var(--n-200); }
.wb-quote .container { padding-top: 36px; padding-bottom: 36px; text-align: center; }
.wb-quote p {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -.015em;
  color: var(--navy-deep);
  margin: 0;
}

/* ---- Who should attend + presenter ---- */
.wb-who-sec { background: var(--white); padding: var(--section-y) 0; }
.wb-who-grid { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 32px); }
.wb-who {
  flex: 1 1 520px;
  min-width: 0;
  background: var(--navy-deep);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.wb-who h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 3vw, 31px); letter-spacing: -.015em; color: #fff; margin: 0; }
.wb-who-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.wb-who-item { display: flex; gap: 12px; align-items: flex-start; color: var(--slate-100); font-size: 16px; line-height: 1.5; }
.wb-who-item svg { flex: none; margin-top: 2px; width: 22px; height: 22px; color: var(--green); }
.wb-presenter {
  flex: 1 1 340px;
  min-width: 0;
  border: 1px solid rgba(11, 79, 108, .1);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.wb-presenter .eyebrow { color: var(--green-dark); }
.wb-presenter-row { display: flex; gap: 18px; align-items: center; }
.wb-avatar {
  width: 96px;
  height: 96px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-deep);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: .02em;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--green);
}
.wb-presenter-name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy-deep); display: block; }
.wb-presenter-title { font-size: 15px; color: var(--gray-500); }
.wb-presenter p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--gray-500); }

/* ---- About BrightLine ---- */
.wb-about { background: var(--cream); padding: var(--section-y) 0; }
.wb-about-head { max-width: 720px; margin-bottom: 40px; }
.wb-about-head .eyebrow { color: var(--green-dark); margin-bottom: 12px; display: flex; }
.wb-about-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--navy-deep);
  margin: 0 0 14px;
}
.wb-about-head p { margin: 0; font-size: 1.1rem; line-height: 1.6; color: var(--gray-500); }
.wb-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.wb-svc {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(11, 79, 108, .06);
}
.wb-svc .bar { width: 36px; height: 4px; border-radius: 2px; background: var(--green); margin-bottom: 4px; }
.wb-svc h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy-deep); margin: 0; }
.wb-svc p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--gray-500); }

/* ---- Final CTA ---- */
.wb-final { position: relative; overflow: hidden; background: var(--navy-deep); }
.wb-final-motif {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: min(78%, 900px);
  height: 70%;
  opacity: .06;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.wb-final-glow {
  position: absolute;
  left: 50%; top: -40%;
  transform: translateX(-50%);
  width: 820px; height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 211, 91, .2), transparent 60%);
  pointer-events: none;
}
.wb-final-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 110px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.wb-final h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
  max-width: 20ch;
  text-wrap: balance;
}
.wb-final p { margin: 0; font-size: 1.1rem; line-height: 1.6; color: var(--slate-300); max-width: 60ch; }
.wb-final .btn { font-size: 16px; padding: 17px 32px; border-radius: 11px; }

/* ---- Footer ---- */
.wb-foot { background: var(--navy-darkest); }
.wb-foot-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.wb-foot-inner span { color: var(--slate-300); font-size: 14px; }
.wb-foot-inner a { color: #fff; font-size: 14px; font-weight: 600; }
.wb-foot-inner a:hover { color: var(--green); }

@media (max-width: 760px) {
  .wb-head-tag { display: none; }
  .wb-dash-media { flex-basis: 100%; height: 16rem; }
}

/* ============================================================
   WEBINAR POP-UP (first visit) — injected by js/webinar-popup.js
   ============================================================ */
.wp-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 33, 45, .6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s ease;
}
.wp-overlay.in { opacity: 1; }
.wp-card {
  position: relative;
  overflow: hidden;
  width: min(440px, 100%);
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  padding: 38px 32px 32px;
  box-shadow: 0 30px 80px rgba(8, 19, 31, .55);
  cursor: pointer;
  transform: translateY(14px) scale(.98);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
.wp-overlay.in .wp-card { transform: none; }
.wp-motif {
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 56%;
  height: 112%;
  opacity: .1;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.wp-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}
.wp-close:hover { background: rgba(255, 255, 255, .26); }
.wp-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(76, 211, 91, .5);
  background: rgba(76, 211, 91, .14);
  border-radius: 999px;
  padding: 7px 14px;
  margin-bottom: 18px;
}
.wp-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.wp-badge .lbl {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-light);
}
.wp-title {
  position: relative;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 12px;
}
.wp-text { position: relative; color: var(--slate-100); font-size: 15px; line-height: 1.55; margin: 0 0 10px; }
.wp-when { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--green-light); margin: 0 0 22px; }
.wp-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15.5px;
  padding: 13px 24px;
  border-radius: 10px;
}
.wp-cta:hover { background: var(--green-hover); color: var(--navy-deep); }
@media (prefers-reduced-motion: reduce) {
  .wp-overlay, .wp-card { transition: none; }
}
