/* =============================================================
   ENERGY ECONOMICS SOLAR — Design System
   Brand palette synced 1:1 with energyeconomics.ca (Enfold theme
   tokens): solar orange #ED8D10 + silver, white/light-gray main
   sections, warm charcoal alternates. No blues — per Josh, 2026-06.
   Tokens live in :root. See README "Design Tokens".
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — exact .ca theme values: primary #ED8D10, stripe
     #FFAF32, button/border deep #CB6B00. */
  --amber:        #ED8D10;   /* primary solar accent (exact .ca brand) */
  --amber-bright: #FFAF32;   /* highlights, count-ups (.ca stripe) */
  --amber-deep:   #CB6B00;   /* pressed / gradients (.ca button border) */
  --amber-soft:   #FBBE6A;   /* light-section accent text */
  --clay:         #C2542B;   /* warm secondary */
  --sand:         #CDBBA4;   /* warm neutral */

  /* Silver (from the 3E "3") — secondary metallic accent */
  --silver:    #A8A8A8;
  --silver-2:  #C9CCD1;
  --silver-3:  #E5E7EA;

  /* Deep neutrals (formerly navy "cool family") — now the .ca
     alternate-section charcoals. Names kept so usages don't churn. */
  --night:   #111111;        /* .ca alternate bg */
  --steel:   #1D1D1D;        /* charcoal panel */
  --steel-2: #272727;        /* raised charcoal panel */
  --azure:   #C9CCD1;        /* silver data accent on dark (was blue) */
  --azure-deep: #8E939B;

  /* Neutrals */
  --ink:     #111111;        /* near-black canvas (.ca alternate) */
  --ink-2:   #181818;        /* graphite panel */
  --ink-3:   #222222;        /* raised panel (.ca alternate bg2) */
  --char:    #303030;        /* borders on dark, hairlines */
  --paper:   #FFFFFF;        /* .ca main bg */
  --paper-2: #F8F8F8;        /* .ca main bg2 */
  --paper-3: #EDEDED;

  /* Text — .ca: headings #222, body #454545 */
  --tx-on-dark:    #F6F5F3;
  --tx-on-dark-mut:#AFAFAF;
  --tx-on-dark-dim:#7C7C7C;
  --tx-on-light:   #222222;
  --tx-on-light-mut:#555555;

  /* Lines — .ca border #E1E1E1 */
  --line-dark:  rgba(255,255,255,.10);
  --line-dark-2:rgba(255,255,255,.18);
  --line-light: rgba(0,0,0,.12);

  /* Type */
  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  --fs-eyebrow: .78rem;
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.18rem, 1.6vw, 1.45rem);
  --fs-h3:      clamp(1.35rem, 2.2vw, 1.85rem);
  --fs-h2:      clamp(2.0rem, 4.2vw, 3.4rem);
  --fs-h1:      clamp(2.6rem, 6.6vw, 5.6rem);
  --fs-display: clamp(3.0rem, 8vw, 7rem);

  /* Layout */
  --maxw: 1240px;
  --maxw-narrow: 880px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 6px;
  --radius-lg: 14px;

  --shadow-1: 0 1px 2px rgba(0,0,0,.18);
  --shadow-2: 0 18px 50px -18px rgba(0,0,0,.45);
  --shadow-amber: 0 14px 40px -12px rgba(237,141,16,.45);

  /* Signature gradients */
  --grad-solar: linear-gradient(120deg, #FFAF32, #ED8D10 55%, #CB6B00);
  --grad-dawn:  linear-gradient(135deg, #272727 0%, #181818 55%, #101010 100%);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .7s;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--tx-on-light);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg,video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input,select,textarea { font: inherit; color: inherit; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -.018em; }
.h1,h1 { font-size: var(--fs-h1); }
.h2,h2 { font-size: var(--fs-h2); }
.h3,h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }
.display { font-size: var(--fs-display); font-weight: 800; line-height: .98; letter-spacing: -.03em; }
p { text-wrap: pretty; }
strong { font-weight: 650; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex; align-items: center; gap: .65em;
}
.eyebrow::before {
  content:""; width: 28px; height: 1px; background: var(--amber); display: inline-block; opacity: .8;
}
.eyebrow.center::after { content:""; width:28px; height:1px; background:var(--amber); opacity:.8; }
.eyebrow.no-rule::before { display:none; }

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--tx-on-light-mut); }
.amber { color: var(--amber); }
.measure { max-width: 64ch; }
.measure-sm { max-width: 52ch; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--maxw-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section-sm { padding-block: clamp(54px, 7vw, 96px); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }

.dark    { background: var(--ink);   color: var(--tx-on-dark); }
.dark-2  { background: var(--ink-2); color: var(--tx-on-dark); }
/* cool navy bands — tonal variety in the darks */
.navy    { background: var(--steel); color: var(--tx-on-dark); }
.navy-2  { background: var(--night); color: var(--tx-on-dark); }
.navy-grad { background: var(--grad-dawn); color: var(--tx-on-dark); }
.light   { background: var(--paper); color: var(--tx-on-light); }
.light-2 { background: var(--paper-2);color: var(--tx-on-light); }
.dark .lead, .dark-2 .lead, .navy .lead, .navy-2 .lead, .navy-grad .lead { color: var(--tx-on-dark-mut); }
.dark p.muted, .dark-2 p.muted, .navy p.muted, .navy-2 p.muted, .navy-grad p.muted { color: var(--tx-on-dark-mut); }
.muted { color: var(--tx-on-light-mut); }
.dark .muted, .navy .muted, .navy-2 .muted, .navy-grad .muted { color: var(--tx-on-dark-mut); }
/* navy bands inherit all the dark-context component styling */
.navy, .navy-2, .navy-grad { --line-dark: rgba(255,255,255,.12); }
/* Section background photography (Round 2 — Josh: "put some photos in the
   background"). A full-bleed cover image sits behind the content with a
   strong dark scrim so light text stays crisp. Pair with a dark section
   class (.dark / .dark-2) so component text already reads light. */
.has-bg { position: relative; overflow: hidden; }
.has-bg > .sec-bg { position: absolute; inset: 0; z-index: 0; }
.has-bg > .sec-bg img { width: 100%; height: 100%; object-fit: cover; }
.has-bg > .sec-bg::after { content:""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13,13,15,.82) 0%, rgba(13,13,15,.72) 45%, rgba(13,13,15,.86) 100%),
  radial-gradient(90% 80% at 85% 0%, rgba(237,141,16,.10), transparent 60%); }
.has-bg > .wrap, .has-bg > .wrap-narrow { position: relative; z-index: 1; }
/* hairline accent rule between stacked sections */
.edge-top { border-top: 1px solid var(--line-dark); }
/* gradient accent text for key numbers/words */
.grad-text { background: var(--grad-solar); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .cols-3,.cols-4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px){ .cols-2,.cols-3,.cols-4 { grid-template-columns: 1fr; } }

/* media column (second) gets the larger share — "pictures take more of
   the page, text on the side" per Josh */
.split { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
/* stretch: photo matches the height of the text column beside it */
@media (min-width: 861px){
  .split.stretch { align-items: stretch; }
  .split.stretch .img-ph { height: 100%; aspect-ratio: auto; }
}

.section-head { max-width: 760px; margin-bottom: clamp(40px,5vw,64px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 18px; }
.section-head .lead { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 1.02em 1.7em; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  letter-spacing: .005em; line-height: 1;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--amber); color: #1a0e02; box-shadow: var(--shadow-amber); }
.btn-primary:hover { background: var(--amber-bright); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-dark-2); color: var(--tx-on-dark); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.light .btn-ghost, .light-2 .btn-ghost, .btn-ghost.on-light { border-color: var(--line-light); color: var(--tx-on-light); }
.light .btn-ghost:hover, .light-2 .btn-ghost:hover, .btn-ghost.on-light:hover { border-color: var(--amber); color: var(--amber-deep); }
.btn-lg { padding: 1.15em 2em; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

.textlink {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--amber);
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .25s, gap .25s;
}
.textlink:hover { border-color: var(--amber); gap: .8em; }
.textlink svg { width: 1em; height: 1em; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,11,13,.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-dark); padding-block: 12px;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand .logo { height: 38px; width: auto; flex: none; transition: height .4s var(--ease); }
.brand .tag { font-size: .56rem; letter-spacing: .34em; text-transform: uppercase; color: var(--amber); font-weight: 700; padding-left: 11px; border-left: 1px solid var(--line-dark-2); align-self: center; white-space: nowrap; }
.site-header.scrolled .brand .logo { height: 33px; }
.footer-brand .brand .logo { height: 42px; }
@media (max-width: 480px){ .brand .tag { display: none; } }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 500;
  padding: 9px 13px; border-radius: 5px; transition: color .2s, background .2s;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.07); }
.nav a.active { color: var(--amber); }
.header-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: #fff; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1040px){
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: flex; flex-direction: column; padding: 28px var(--gutter);
  transform: translateX(100%); transition: transform .45s var(--ease); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer nav { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.drawer nav a { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--tx-on-dark); padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.drawer nav a:hover { color: var(--amber); }
.drawer .btn { margin-top: 28px; }
.drawer-contact { margin-top: auto; color: var(--tx-on-dark-mut); font-size: .95rem; }
.drawer-contact a { color: var(--amber); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* video sits above the still: transparent while empty, covers it once sourced */
.hero-media video { z-index: 1; }
/* Self-hosted background montage (injected by index.html script): two
   stacked videos crossfade between clips; the layer sits over the still,
   under the scrim, and fades in once frames are rendering. */
.hero-yt { position: absolute; inset: 0; z-index: 1; overflow: hidden; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero-yt.is-live { opacity: 1; }
/* once the film is live, stop the Ken Burns pan running beneath it —
   removes a continuous compositing layer (smoother video playback) */
.hero-media:has(.hero-yt.is-live) img { animation-play-state: paused; }
/* top-anchored 1.14x scale crops the bottom ~12% of every clip out of
   view — ground-level signage at site entrances never shows */
.hero-yt video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transform-origin: 50% 0; pointer-events: none; opacity: 0; transition: opacity 1s ease; }
.hero-yt video.on { opacity: 1; }
/* Cinematic slow zoom+drift on the still (stands in for video; real
   footage, when supplied, replaces it and this animation is harmless). */
.hero-media img { animation: heroPan 28s var(--ease) infinite alternate; transform-origin: 62% 42%; }
@keyframes heroPan {
  0%   { transform: scale(1.06); }
  100% { transform: scale(1.17) translate3d(-1.4%, -1.1%, 0); }
}
@media (prefers-reduced-motion: reduce){ .hero-media img { animation: none; transform: scale(1.04); } }
/* dual-tone wash: charcoal floor + warm solar glow (no blues — brand sync) */
.hero-media::after {
  content:""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(105deg, rgba(9,9,11,.80) 0%, rgba(9,9,11,.55) 34%, rgba(9,9,11,.12) 60%, transparent 80%),
    linear-gradient(to top, rgba(12,11,9,.95) 0%, rgba(12,11,9,.55) 38%, rgba(17,17,17,.34) 64%, rgba(17,17,17,.66) 100%),
    radial-gradient(120% 85% at 12% 104%, rgba(237,141,16,.30), transparent 52%),
    radial-gradient(90% 70% at 94% -4%, rgba(201,204,209,.10), transparent 55%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 9vw, 120px); padding-top: 140px; }
.hero .eyebrow { color: var(--amber-bright); }
.hero h1 { max-width: 16ch; margin-top: 22px; }
.hero h1 .em { background: var(--grad-solar); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero .lead { color: rgba(244,242,238,.88); max-width: 60ch; margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
/* scale caption pinned bottom-right of hero */
.hero-scale { position: absolute; right: var(--gutter); bottom: clamp(56px,9vw,120px); z-index: 2; text-align: right; max-width: 26ch; }
.hero-scale .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem,2.4vw,2.2rem); line-height: 1.02; letter-spacing: -.02em; color: #fff; }
.hero-scale .big .amber { background: var(--grad-solar); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-scale .sm { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 8px; }
@media (max-width: 980px){ .hero-scale { display: none; } }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint .line { width: 1px; height: 46px; background: linear-gradient(var(--amber), transparent); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { 0%{transform:scaleY(0);transform-origin:top;} 45%{transform:scaleY(1);transform-origin:top;} 55%{transform:scaleY(1);transform-origin:bottom;} 100%{transform:scaleY(0);transform-origin:bottom;} }

/* Trust strip */
.trust-strip { background: linear-gradient(90deg, var(--steel) 0%, var(--ink-2) 50%, var(--steel) 100%); border-block: 1px solid var(--line-dark); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(18px,3vw,40px); padding-block: 22px; }
.trust-item { display: inline-flex; align-items: center; gap: 11px; color: var(--tx-on-dark-mut); font-size: .86rem; font-weight: 500; }
.trust-item svg { width: 19px; height: 19px; color: var(--amber); flex: none; }
.trust-item strong { color: #fff; font-weight: 650; }
.trust-sep { width: 1px; height: 26px; background: var(--line-dark); }
@media (max-width: 680px){ .trust-sep { display: none; } }

/* ---------- Reframe band ---------- */
.reframe { text-align: center; }
.reframe .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 4.4vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em; max-width: 22ch; margin-inline: auto; }
.reframe .big .amber { color: var(--amber); }
/* Brand band — flat solar-orange statement strip, mirroring the .ca
   footer field. White lead clause, ink payoff clause. */
.brand-band { background: var(--amber); color: #fff; position: relative; overflow: hidden; }
.brand-band::before { content:""; position:absolute; inset:0; background:
  radial-gradient(70% 130% at 88% -10%, rgba(255,255,255,.16), transparent 55%),
  radial-gradient(60% 120% at 8% 110%, rgba(120,60,0,.18), transparent 55%); }
.brand-band > .wrap { position: relative; z-index: 1; }
.brand-band .big .amber { color: var(--ink); }

/* ---------- Stat counters ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,2.4vw,28px); }
@media (max-width: 820px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat { padding: 4px 2px; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.03em; color: #fff; display: flex; align-items: baseline; }
.stat .num .suf { color: var(--amber); font-size: .55em; margin-left: .12em; }
.stat .lbl { margin-top: 12px; font-size: .9rem; color: var(--tx-on-dark-mut); max-width: 24ch; }
.light .stat .num, .light-2 .stat .num { color: var(--ink); }
.light .stat .lbl, .light-2 .stat .lbl { color: var(--tx-on-light-mut); }

/* ---------- Cards ---------- */
.card {
  background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: clamp(26px,3vw,38px);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-dark-2); }
.light .card, .light-2 .card, .card.on-light { background: #fff; border-color: var(--line-light); box-shadow: var(--shadow-2); }
.card .ic { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(237,141,16,.12); color: var(--amber); margin-bottom: 22px; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--tx-on-dark-mut); }
.light .card p, .light-2 .card p, .card.on-light p { color: var(--tx-on-light-mut); }
.card .kicker { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); font-weight: 600; }

.benefit-card { border-top: 2px solid var(--amber); }

/* Numbered process steps */
.steps { counter-reset: step; display: grid; gap: 2px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px,3vw,46px);
  padding: clamp(28px,4vw,46px) 0; border-top: 1px solid var(--line-dark); align-items: start;
}
.light .step, .light-2 .step { border-top-color: var(--line-light); }
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.light .step:last-child, .light-2 .step:last-child { border-bottom-color: var(--line-light); }
.step .idx { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem,5vw,4rem); line-height: .9; color: var(--amber); opacity: .9; letter-spacing: -.04em; }
.step h3 { margin-bottom: 12px; }
.step .meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-size: .76rem; letter-spacing: .06em; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--line-dark); color: var(--tx-on-dark-mut); }
.light .tag, .light-2 .tag { border-color: var(--line-light); color: var(--tx-on-light-mut); }

/* ---------- Counterparty / feature split ---------- */
.feature-figure {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: var(--ink-3); border: 1px solid var(--line-dark); min-height: 320px;
}
.feature-figure img { width: 100%; height: 100%; object-fit: cover; }

/* Credit badge — finance cue: cool navy + azure rating */
.credit-badge { display: inline-flex; align-items: center; gap: 16px; padding: 18px 24px; border: 1px solid rgba(237,141,16,.4); border-radius: var(--radius); background: linear-gradient(135deg, var(--steel-2), var(--steel)); }
.credit-badge .rating { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--amber-bright); line-height: 1; }
.credit-badge .rt { font-size: .86rem; color: var(--tx-on-dark-mut); }
.credit-badge .rt strong { color: #fff; display: block; font-size: .98rem; }

/* checklist */
.checklist { display: grid; gap: 16px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.checklist .ck { width: 24px; height: 24px; border-radius: 50%; background: rgba(237,141,16,.14); color: var(--amber); display: flex; align-items: center; justify-content: center; flex: none; margin-top: 3px; }
.checklist .ck svg { width: 14px; height: 14px; }
.checklist b { font-weight: 650; }

/* ---------- Calculator ---------- */
.calc { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.calc-grid { display: grid; grid-template-columns: 1fr 1.1fr; }
@media (max-width: 880px){ .calc-grid { grid-template-columns: 1fr; } }
.calc-controls { padding: clamp(28px,3.5vw,46px); border-right: 1px solid var(--line-dark); }
@media (max-width: 880px){ .calc-controls { border-right: none; border-bottom: 1px solid var(--line-dark); } }
.calc-results { padding: clamp(28px,3.5vw,46px); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); }
.field { margin-bottom: 30px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.field label .val { font-family: var(--font-display); font-size: 1.25rem; color: var(--amber); font-weight: 700; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: var(--char); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--amber); border: 4px solid var(--ink-2); box-shadow: 0 0 0 1px var(--amber), 0 6px 14px -4px rgba(237,141,16,.7); cursor: pointer; transition: transform .15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--amber); border: 4px solid var(--ink-2); box-shadow: 0 0 0 1px var(--amber); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: .72rem; color: var(--tx-on-dark-dim); margin-top: 8px; }
.num-input { display: flex; align-items: center; gap: 10px; background: var(--ink); border: 1px solid var(--line-dark); border-radius: 6px; padding: 4px 14px; }
.num-input input { width: 100%; background: none; border: none; padding: 12px 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.num-input input:focus { outline: none; }
.num-input .unit { color: var(--tx-on-dark-mut); font-size: .85rem; white-space: nowrap; }
.seg { display: inline-flex; background: var(--ink); border: 1px solid var(--line-dark); border-radius: 8px; padding: 4px; gap: 4px; }
.seg button { padding: 9px 18px; border-radius: 5px; font-size: .9rem; font-weight: 600; color: var(--tx-on-dark-mut); transition: background .2s, color .2s; }
.seg button.on { background: var(--amber); color: #1a0e02; }

.result-main .rlabel { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tx-on-dark-mut); }
.result-main .ramt { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem,6vw,4.4rem); line-height: 1; letter-spacing: -.03em; color: #fff; margin-top: 10px; }
.result-main .ramt .cur { color: var(--amber); }
.result-sub { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.result-sub .rs .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem,3vw,2rem); color: #fff; }
.result-sub .rs .k { font-size: .82rem; color: var(--tx-on-dark-mut); margin-top: 4px; }
.calc-note { margin-top: 22px; font-size: .86rem; color: var(--amber-bright); background: rgba(237,141,16,.08); border: 1px solid rgba(237,141,16,.25); border-radius: 8px; padding: 14px 16px; display: none; }
.calc-note.show { display: block; }
.upside-panel { margin-top: 22px; padding: 20px; border: 1px dashed var(--line-dark-2); border-radius: 10px; }
.upside-panel .k { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.upside-panel p { color: var(--tx-on-dark-mut); font-size: .94rem; margin-top: 8px; }
.calc-foot { margin-top: 26px; }
.calc-disclaimer { font-size: .78rem; color: var(--tx-on-dark-dim); margin-top: 16px; line-height: 1.5; }

/* tooltip */
.info { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-dark-2); font-size: .68rem; color: var(--amber); cursor: help; margin-left: 6px; vertical-align: middle; font-weight: 700; font-family: var(--font-body); }
.info .tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); width: 250px; background: var(--ink); border: 1px solid var(--line-dark-2); border-radius: 8px; padding: 13px 15px; font-size: .82rem; font-weight: 400; line-height: 1.45; color: var(--tx-on-dark-mut); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; box-shadow: var(--shadow-2); z-index: 5; text-transform: none; letter-spacing: normal; }
.info:hover .tip, .info:focus .tip { opacity: 1; visibility: visible; transform: translateX(-50%); }

/* ---------- Track record / logos ---------- */
.cred-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 820px){ .cred-band { grid-template-columns: repeat(2,1fr); } }
.cred-cell { background: var(--ink-2); padding: clamp(26px,3vw,40px); text-align: center; }
/* light-section variant: clean white tiles on paper */
.light .cred-band, .light-2 .cred-band { background: var(--line-light); border-color: var(--line-light); }
.light .cred-cell, .light-2 .cred-cell { background: #fff; }
.light .cred-cell .d, .light-2 .cred-cell .d { color: var(--tx-on-light-mut); }
.cred-cell .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem,4vw,2.8rem); color: var(--amber); line-height: 1; }
.cred-cell .d { margin-top: 12px; font-size: .9rem; color: var(--tx-on-dark-mut); }

.affil { display: flex; flex-wrap: wrap; gap: 14px; }
.affil .chip { border: 1px solid var(--line-dark); border-radius: 100px; padding: 11px 20px; font-size: .86rem; color: var(--tx-on-dark-mut); display: inline-flex; align-items: center; gap: 9px; }
.light .affil .chip, .light-2 .affil .chip { border-color: var(--line-light); color: var(--tx-on-light-mut); }
.affil .chip svg { width: 16px; height: 16px; color: var(--amber); }

/* ---------- Leadership ---------- */
.team { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2.4vw,30px); }
@media (max-width: 900px){ .team { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .team { grid-template-columns: 1fr;} }
.member { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 30px; transition: transform .4s var(--ease), border-color .4s; }
.member:hover { transform: translateY(-4px); border-color: var(--line-dark-2); }
.light .member, .light-2 .member { background: #fff; border-color: var(--line-light); box-shadow: var(--shadow-2); }
.light .member .bio, .light-2 .member .bio, .light .member .links a, .light-2 .member .links a { color: var(--tx-on-light-mut); }
.member .photo { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #2b2f37, #16181c); border: 1px solid var(--line-dark-2); margin-bottom: 22px; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.02); }
.member .nm { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.member .ttl { color: var(--amber); font-size: .84rem; font-weight: 600; letter-spacing: .04em; margin-top: 4px; text-transform: uppercase; }
.member .bio { color: var(--tx-on-dark-mut); font-size: .95rem; margin-top: 16px; }
.member .links { margin-top: 18px; display: flex; gap: 14px; font-size: .86rem; }
.member .links a { color: var(--tx-on-dark-mut); border-bottom: 1px solid transparent; }
.member .links a:hover { color: var(--amber); border-color: var(--amber); }
.member.placeholder { border-style: dashed; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 280px; }
.member.placeholder .photo { background: repeating-linear-gradient(45deg, #16181c, #16181c 8px, #1c1f25 8px, #1c1f25 16px); }
.todo { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); border: 1px dashed var(--line-dark-2); padding: 3px 8px; border-radius: 4px; display: inline-block; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 14px; }
.faq-group > .gh { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); font-weight: 600; padding: 28px 0 6px; }
.faq-item { border-top: 1px solid var(--line-light); }
.dark .faq-item, .dark-2 .faq-item { border-top-color: var(--line-dark); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem,1.8vw,1.28rem); letter-spacing: -.01em; }
.faq-q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-light); display: flex; align-items: center; justify-content: center; transition: background .3s, transform .3s, border-color .3s; }
.dark .faq-q .pm, .dark-2 .faq-q .pm { border-color: var(--line-dark-2); }
.faq-q .pm svg { width: 15px; height: 15px; transition: transform .3s; }
.faq-item.open .faq-q .pm { background: var(--amber); border-color: var(--amber); color: #1a0e02; }
.faq-item.open .faq-q .pm svg { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 0 26px; color: var(--tx-on-light-mut); max-width: 70ch; }
.dark .faq-a-inner, .dark-2 .faq-a-inner { color: var(--tx-on-dark-mut); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: var(--tx-on-dark); background: linear-gradient(120deg, #272727 0%, #181818 52%, #0e0e0e 100%); }
.cta-band .lead, .cta-band .cta-direct { color: var(--tx-on-dark-mut); }
.cta-band::before { content:""; position: absolute; inset: 0; background:
  radial-gradient(70% 120% at 100% 0%, rgba(237,141,16,.26), transparent 52%),
  radial-gradient(60% 110% at 0% 100%, rgba(237,141,16,.10), transparent 55%); }
.cta-inner { position: relative; z-index: 2; text-align: center; }
.cta-inner h2 { max-width: 18ch; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 36px; }
.cta-direct { margin-top: 30px; color: var(--tx-on-dark-mut); font-size: .95rem; }
.cta-direct a { color: var(--amber); font-weight: 600; }

/* ---------- Form ---------- */
.form-card { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: clamp(28px,4vw,48px); box-shadow: var(--shadow-2); }
.dark .form-card, .form-card.dark { background: var(--ink-2); border-color: var(--line-dark); box-shadow: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px){ .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 8px; color: var(--tx-on-light); }
.dark .form-field label, .form-card.dark .form-field label { color: var(--tx-on-dark); }
.form-field .req { color: var(--amber); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-light); border-radius: 7px;
  background: var(--paper); transition: border-color .2s, box-shadow .2s;
}
.dark .form-field input, .dark .form-field select, .dark .form-field textarea { background: var(--ink); border-color: var(--line-dark); color: #fff; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(237,141,16,.16); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-success { display: none; text-align: center; padding: 24px 0; }
.form-success.show { display: block; }
.form-success .ck-big { width: 64px; height: 64px; border-radius: 50%; background: rgba(237,141,16,.14); color: var(--amber); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.form-success .ck-big svg { width: 32px; height: 32px; }
.consent { font-size: .8rem; color: var(--tx-on-light-mut); margin-top: 6px; }
.dark .consent { color: var(--tx-on-dark-mut); }

/* contact aside */
.contact-aside .ci { padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.contact-aside .ci .k { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-on-dark-mut); }
.contact-aside .ci .v { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-top: 6px; }
.contact-aside .ci .v a:hover { color: var(--amber); }

/* ---------- Pro forma table ---------- */
.illus-flag { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); border: 1px dashed rgba(237,141,16,.5); border-radius: 5px; padding: 6px 12px; }
.proforma { width: 100%; border-collapse: collapse; margin-top: 8px; }
.proforma th, .proforma td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line-dark); font-size: .96rem; }
.proforma th { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-on-dark-mut); font-weight: 600; }
.proforma td.num { text-align: right; font-family: var(--font-display); font-weight: 600; }
.proforma tr:last-child td { border-bottom: none; }
.proforma .total td { background: rgba(237,141,16,.08); font-size: 1.05rem; color: #fff; }
.proforma .total td.num { color: var(--amber); }
/* pro forma on light sections */
.light .proforma th, .light-2 .proforma th, .light .proforma td, .light-2 .proforma td { border-bottom-color: var(--line-light); }
.light .proforma th, .light-2 .proforma th { color: var(--tx-on-light-mut); }
.light .proforma .total td, .light-2 .proforma .total td { color: var(--tx-on-light); }

/* ---------- Monetization stack-up chart ---------- */
.mz-chart { padding: clamp(20px,3vw,32px); }
.mz-svg { display: block; width: 100%; height: auto; }
.mz-grid { stroke: var(--line-dark); stroke-width: 1; }
.mz-ytick, .mz-xtick { fill: var(--tx-on-dark-mut); font-family: var(--font-display); font-size: 13px; font-weight: 600; }
.mz-cap { fill: var(--amber); font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.mz-bar { fill: url(#mzBar); }
.mz-bar-end { fill: var(--amber); }
.mz-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: .92rem; color: var(--tx-on-dark-mut); }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding-top: 170px; padding-bottom: clamp(48px,7vw,90px); overflow: hidden; }
.page-hero .lead { margin-top: 22px; max-width: 60ch; }
.page-hero h1 { margin-top: 18px; max-width: 18ch; }
.page-hero .crumb { font-size: .8rem; letter-spacing: .1em; color: var(--tx-on-dark-mut); text-transform: uppercase; }
.page-hero .crumb a:hover { color: var(--amber); }

/* ---------- Pull quote ---------- */
.pull { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem,3.2vw,2.4rem); line-height: 1.22; letter-spacing: -.02em; max-width: 22ch; }
.pull .amber { color: var(--amber); }

/* ---------- Footer ---------- */
/* Footer — .ca signature: solar-orange field, white type (.ca footer
   tokens: bg #ED8D10, text/headings #fff). */
.site-footer { background: var(--amber); color: rgba(255,255,255,.94); padding-top: clamp(56px,7vw,90px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px,4vw,48px); padding-bottom: 56px; }
@media (max-width: 900px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { font-size: .92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-affil { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.3); font-size: .8rem; color: rgba(255,255,255,.85); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; padding: 26px 0 40px; border-top: 1px solid rgba(255,255,255,.3); font-size: .82rem; color: rgba(255,255,255,.8); }
.footer-bottom a:hover { color: var(--ink); }
.site-footer .brand .tag { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.45); }

/* ---------- Image placeholder styling ---------- */
.img-ph { position: relative; background: linear-gradient(135deg, #1a1d22, #101216); display: flex; align-items: center; justify-content: center; color: var(--tx-on-dark-dim); overflow: hidden; }
.img-ph::after { content: attr(data-ph); position: absolute; bottom: 12px; left: 12px; font-size: .68rem; letter-spacing: .08em; color: rgba(255,255,255,.4); background: rgba(0,0,0,.4); padding: 5px 9px; border-radius: 4px; font-family: var(--font-body); }
.img-ph svg { width: 46px; height: 46px; opacity: .3; }
/* real photo in place: drop the placeholder badge + dark gradient fallback */
.img-ph.is-real { background: #0d0f13; }
.img-ph.is-real::after { display: none; }
.ratio-16-9 { aspect-ratio: 16/9; }
.ratio-4-3 { aspect-ratio: 4/3; }
.ratio-1-1 { aspect-ratio: 1/1; }
.ratio-3-4 { aspect-ratio: 3/4; }

/* ---------- Texas motif divider ---------- */
.tx-motif { display: flex; align-items: center; gap: 16px; color: var(--tx-on-dark-dim); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.tx-motif .ln { flex: 1; height: 1px; background: var(--line-dark); }
.tx-motif svg { width: 20px; height: 22px; color: var(--amber); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* utility */
.mt-s{margin-top:14px}.mt-m{margin-top:26px}.mt-l{margin-top:44px}
.mb-0{margin-bottom:0}
.flex{display:flex}.wrapf{flex-wrap:wrap}.gap-s{gap:12px}.gap-m{gap:20px}.aic{align-items:center}
.hide-mobile{display:initial}
@media(max-width:680px){.hide-mobile{display:none}}
.nowrap{white-space:nowrap}

/* ---------- Elevation accents (palette depth) ---------- */
/* alternate icon chips so feature rows aren't all-orange */
.card .ic.cool   { background: rgba(201,204,209,.14); color: var(--azure); }
.card .ic.silver { background: rgba(201,204,209,.14); color: var(--silver-2); }
/* benefit cards: gradient top edge instead of flat amber */
.benefit-card { border-top: none; }
.benefit-card::before { content:""; position:absolute; inset:0 0 auto 0; height:3px; background: var(--grad-solar); }
.benefit-card.cool::before { background: linear-gradient(120deg, var(--azure), var(--azure-deep)); }
.benefit-card.silver::before { background: linear-gradient(120deg, var(--silver-3), var(--silver)); }
/* team photos warm up on hover */
.member .photo img { transition: filter .5s var(--ease), transform .5s var(--ease); }
.member:hover .photo img { filter: grayscale(.15) contrast(1.02); transform: scale(1.04); }
.member:hover { border-color: rgba(237,141,16,.4); }
/* cool-accent textlink variant */
.textlink.cool { color: var(--azure); }
.textlink.cool:hover { border-color: var(--azure); }
/* eyebrow cool variant */
.eyebrow.cool { color: var(--azure); }
.eyebrow.cool::before, .eyebrow.cool.center::after { background: var(--azure); }
/* subtle starfield-free vignette for navy hero-band sections */
.navy-grad { position: relative; }
.navy-grad > .wrap { position: relative; z-index: 1; }
.navy-grad::before { content:""; position:absolute; inset:0; background:
  radial-gradient(60% 90% at 100% 0%, rgba(237,141,16,.14), transparent 55%),
  radial-gradient(60% 90% at 0% 100%, rgba(201,204,209,.08), transparent 55%); }