:root {
  --ink: #0E1630; /* NexusLink navy */
  --surf: #131D3D;
  --surf-2: #1A2548;
  --text: #ECEEF2;
  --muted: #9AA0AE;
  --dim: #7A8299;
  --line: rgba(160, 180, 230, .12);
  --line-2: rgba(160, 180, 230, .18);
  --accent: #2FE8C6; /* NexusLink teal: logo and primary CTA */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(72px, 10vw, 150px);
  --stack: clamp(40px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--text); }
a:hover { color: var(--accent); }
input, textarea, button { font: inherit; }
input::placeholder, textarea::placeholder { color: var(--dim); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html.wizard-open { overflow: hidden; }

@keyframes ch-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.page { min-height: 100vh; overflow-x: clip; }

/* ---------- Shared type ---------- */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.h2 { margin: 16px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.8vw, 72px); line-height: 1.02; letter-spacing: -.015em; max-width: 18ch; text-wrap: pretty; }
.h2-narrow { max-width: 12ch; }
.h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.h3-md { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; }
.h3-lg { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; }
.lede { margin: 24px 0 0; max-width: 40ch; font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.lede-wide { max-width: 60ch; }
.lede-strong { font-size: clamp(17px, 1.4vw, 20px); color: var(--text); }

/* ---------- Buttons ---------- */
.btn { border: 0; cursor: pointer; border-radius: 2px; font-weight: 600; padding: 14px 22px; font-size: 15px; transition: background .2s ease; }
.btn-sm { padding: 11px 18px; font-size: 14px; white-space: nowrap; }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--text); }
.btn-light { background: var(--text); color: var(--ink); }
.btn-light:hover { background: var(--accent); }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-dark:hover { background: #26346E; }
.btn-outline { border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: var(--text); cursor: pointer; padding: 8px 14px; font-size: 13px; border-radius: 2px; }
.btn-outline:hover { border-color: var(--text); }
.link-quiet { display: inline-flex; align-items: center; padding: 14px 4px; font-size: 15px; color: var(--muted); text-decoration: none; }
.text-cta { margin-top: auto; align-self: flex-start; border: 0; cursor: pointer; background: transparent; color: var(--accent); padding: 0; font-size: 15px; font-weight: 600; }
.text-cta:hover { color: var(--text); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 11px var(--gutter); background: rgba(14, 22, 48, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-lockup { display: block; height: 46px; width: auto; }
/* Nav logo is larger than the footer/wizard lockups; the nav's padding is trimmed so the links and button keep their size. */
.brand-nav .brand-lockup { height: 66px; margin-left: -6px; }
.brand-wizard .brand-lockup { height: 38px; }
.brand-footer .brand-lockup { height: 52px; margin-left: -4px; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); font-size: 14px; color: var(--muted); }
.nav-links a { color: inherit; text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

/* ---------- Hero grid ---------- */
/* Capped at 4 columns: the 12 cells tile exactly at 2, 3 or 4 columns, but leave holes at 5+. */
.hero { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(240px, calc((100% - 3px) / 4)), 1fr)); grid-auto-rows: minmax(220px, 22vw); grid-auto-flow: dense; gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.hero-lead { grid-column: span 2; grid-row: span 2; background: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(24px, 3vw, 44px); }
.hero-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.2vw, 92px); line-height: .98; letter-spacing: -.015em; text-wrap: pretty; }
.hero-title em, .pull-quote em { color: var(--accent); }
.hero-copy { margin: 28px 0 0; max-width: 46ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.hero-trust span::before { content: ""; display: inline-block; width: 9px; height: 5px; margin-right: 8px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: translateY(-3px) rotate(-45deg); }
.hero-parent, .footer-parent { display: flex; align-items: center; gap: 14px; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.hero-parent { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: clamp(13px, 1.05vw, 15px); }
.hero-parent img { width: 40px; height: 40px; flex: none; }
.hero-parent strong, .footer-parent strong { font-weight: 500; color: var(--accent); }
.footer-parent { gap: 10px; font-size: 12px; }
.footer-parent img { width: 26px; height: 26px; flex: none; }

.tile { position: relative; overflow: hidden; background: var(--surf); color: var(--text); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile-overlay { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; background: rgba(14, 22, 48, 0); transition: background .35s ease; }
.tile-label { opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease; }
.tile-name { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; }
.tile-desc { margin-top: 6px; font-size: 13px; color: var(--muted); }
.tile:hover .tile-overlay { background: rgba(14, 22, 48, .6); }
.tile:hover .tile-label { opacity: 1; transform: translateY(0); }
.tile:hover img { transform: scale(1.03); }

.cta-tile { border: 0; cursor: pointer; text-align: left; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 2vw, 28px); transition: background .3s; }

/* Market tiles flip on hover/focus to a night aerial of the metro. */
.market-tile { position: relative; border: 0; padding: 0; cursor: pointer; text-align: left; background: var(--ink); color: var(--text); }
/* One slide per market. site.js rotates markets: the new slide comes in from the left while the old one leaves to the right. */
.market-slide { position: absolute; inset: 0; perspective: 1400px; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.market-slide.is-entering { transform: translateX(-100%); transition: none; }
.market-slide.is-leaving { transform: translateX(100%); }
.market-tile.is-sliding { overflow: hidden; }
.market-card { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.market-tile:not(.is-sliding):hover .market-card, .market-tile:not(.is-sliding):focus-visible .market-card { transform: rotateY(180deg); }
.market-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.market-front { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 2vw, 28px); background: var(--ink); }
.market-back { transform: rotateY(180deg); background: var(--surf); }
.market-back img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.market-back::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 22, 48, .05) 30%, rgba(14, 22, 48, .88)); }
.market-back-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 2vw, 28px); }
.market-go { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--accent); }
.market-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.market-name { display: block; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 38px); line-height: 1.02; }
.market-stat { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.market-note { display: block; margin-top: 2px; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.market-back .market-note { margin-top: 10px; font-size: 12px; color: var(--text); }
.cta-tile { background: var(--accent); color: var(--ink); }
.cta-tile:hover { background: var(--text); }
.cta-tile .market-kicker { color: var(--ink); }
.cta-tile-title { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.02; }

/* Touch screens have no hover: show tile labels all the time. */
@media (hover: none) {
  .market-card { transform: none !important; }
  .market-front { display: none; }
  .market-back { transform: none; }
  .tile-overlay { background: linear-gradient(180deg, rgba(14, 22, 48, 0) 35%, rgba(14, 22, 48, .82)); }
  .tile-label { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) var(--gutter); border-top: 1px solid var(--line); }
.section-first { border-top: 0; }
.section-alt { background: var(--surf); }
.section-bleed { padding-left: 0; padding-right: 0; }
.section-inset { padding: 0 var(--gutter); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: var(--stack); }
.step { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.step-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* Two-column split (criteria, FAQ) */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: var(--stack); }
.service { display: flex; flex-direction: column; background: var(--ink); color: var(--text); }
.service-media { position: relative; aspect-ratio: 4 / 3; background: var(--surf); overflow: hidden; }
.service-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-tint { position: absolute; inset: 0; pointer-events: none; background: var(--accent); opacity: 0; transition: opacity .35s ease; }
.service-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); flex: 1; }
.service-body p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.service-link { align-self: flex-start; margin-top: 6px; border: 0; background: transparent; padding: 0; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; }
.service:hover .service-tint { opacity: .12; }
.service:hover .service-media img { transform: scale(1.03); }
.service:hover .service-link, .service:focus-within .service-link { opacity: 1; transform: translateX(0); }
@media (hover: none) { .service-link { opacity: 1; transform: none; } }

/* Proof strip: four numbers, then the provider marquee */
.proof { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--ink); padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.stat-num { font-family: var(--serif); font-size: clamp(48px, 5.4vw, 84px); line-height: .95; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 24ch; }
.stat-accent .stat-num { color: var(--accent); }
.stat-accent .stat-label { color: var(--text); }
.proof-kicker { margin: clamp(36px, 4vw, 56px) 0 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; max-width: 34ch; text-wrap: pretty; }
.proof .marquee { margin-top: clamp(24px, 3vw, 40px); }

/* Why now: three verified figures */
.h2-wide { max-width: 22ch; }
.bignums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: var(--stack); }
.bignum { border-top: 2px solid var(--accent); padding-top: 20px; }
.bignum-n { display: block; font-family: var(--serif); font-size: clamp(72px, 9vw, 148px); line-height: .9; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.bignum p { margin: 16px 0 0; max-width: 26ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.4; color: var(--text); text-wrap: pretty; }
.urgency { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; margin-top: clamp(48px, 6vw, 88px); }
.urgency-line { margin: 0; max-width: 28ch; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 52px); line-height: 1.08; letter-spacing: -.01em; text-wrap: pretty; }
.urgency-line em { color: var(--accent); }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-right: 8px; }
.tag-accent { color: var(--accent); }
.src-line { margin: clamp(32px, 4vw, 48px) 0 0; font-family: var(--mono); font-size: 11px; line-height: 1.7; color: var(--dim); }
.src-line a { color: var(--dim); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.src-line a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* Sample shortlist: the deliverable, shown */
.split-wide { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); align-items: center; }
.gets { list-style: none; margin: 32px 0 36px; padding: 0; display: flex; flex-direction: column; gap: 18px; max-width: 44ch; }
.gets li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.gets li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.gets strong { color: var(--text); font-weight: 600; }
.sl { position: relative; overflow: hidden; background: var(--surf); border: 1px solid var(--line-2); border-radius: 4px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(47, 232, 198, .06), 0 0 120px -20px rgba(47, 232, 198, .18); }
.sl-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.sl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(47, 232, 198, .6); animation: ch-pulse 1.8s ease-out infinite; }
.sl-status { color: var(--text); }
.sl-sample { margin-left: auto; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.sl-req { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); }
.sl-req span { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.sl-row { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.sl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sl-tag { padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 2px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sl-tag-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.sl-loc { font-size: 13px; color: var(--muted); }
.sl-name { display: flex; gap: 8px; }
/* Operator names are blanked in the sample; real shortlists name them. */
.sl-redact { height: 16px; border-radius: 2px; background: linear-gradient(90deg, rgba(236, 238, 242, .34), rgba(236, 238, 242, .16)); }
.sl-redact-sm { background: rgba(236, 238, 242, .12); }
.sl-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sl-facts span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.sl-facts b { display: block; margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.1; color: var(--text); }
.sl-facts div:first-child b { color: var(--accent); }
.sl-foot { padding: 12px 18px 14px; font-size: 12px; line-height: 1.5; color: var(--dim); }
.sl-scan { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(47, 232, 198, 0), rgba(47, 232, 198, .16) 85%, rgba(47, 232, 198, .7)); }
@keyframes ch-pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 232, 198, .6); } 100% { box-shadow: 0 0 0 10px rgba(47, 232, 198, 0); } }
@keyframes ch-scan { 0% { transform: translateY(-90px); opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(560px); opacity: 0; } }
/* site.js arms the card, adds .is-hunting, then .on to each row in turn. Without JS the finished card shows. */
.js .sl.is-armed .sl-row { opacity: 0; transform: translateY(10px); }
.js .sl.is-armed .sl-row.on { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.sl.is-hunting .sl-scan { animation: ch-scan 2.2s cubic-bezier(.4, 0, .6, 1) 1; }

/* Custom hunt banner under the services grid */
.custom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 12px; padding: clamp(24px, 3vw, 40px); border: 1px solid rgba(47, 232, 198, .55); background: linear-gradient(90deg, rgba(47, 232, 198, .14), rgba(47, 232, 198, .02) 70%), var(--surf); }
.custom-title { margin: 10px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -.01em; }
.custom p { margin: 12px 0 0; max-width: 54ch; font-size: 16px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* Who it's for: pick a situation */
.who { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px); margin-top: var(--stack); align-items: start; }
.who-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.who-tab { text-align: left; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; padding: 18px 14px 18px 0; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: color .2s ease, padding .25s ease; }
.who-tab::after { content: "\2192"; color: var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity .2s ease, transform .25s ease; }
.who-tab:hover { color: var(--text); }
.who-tab[aria-selected="true"] { color: var(--text); padding-left: 14px; box-shadow: inset 2px 0 0 var(--accent); }
.who-tab[aria-selected="true"]::after { opacity: 1; transform: none; }
.who-panels { display: flex; flex-direction: column; gap: 28px; min-height: 300px; }
.who-panel[hidden] { display: none; }
.who-panel { animation: ch-rise .45s cubic-bezier(.2, .7, .2, 1); }
.who-pain { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4vw, 60px); line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; }
.who-get { margin: 24px 0 0; max-width: 48ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--text); text-wrap: pretty; }
.who-get .tag { display: block; margin-bottom: 8px; }
.who-cta { margin-top: 0; font-size: 17px; }
@keyframes ch-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .who { grid-template-columns: 1fr; }
  .who-tabs { flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .who-tabs::-webkit-scrollbar { display: none; }
  .who-tab { flex: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; font-size: 14px; }
  .who-tab::after { content: none; }
  .who-tab[aria-selected="true"] { padding-left: 16px; box-shadow: none; background: var(--accent); border-color: var(--accent); color: var(--ink); }
  .who-panels { min-height: 0; }
}

/* Scroll reveal. Only hides content once site.js has run (html.js). */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rv-delay, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* Provider marquee */
.marquee { display: flex; flex-direction: column; gap: 12px; margin-top: var(--stack); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-row { display: flex; gap: 12px; width: max-content; animation: ch-marquee var(--marquee-duration, 48s) linear infinite; }
.marquee-row.is-reverse { animation-direction: reverse; }
.marquee-cell { width: 220px; height: 84px; flex: none; display: flex; align-items: center; justify-content: center; padding: 20px 30px; border: 1px solid var(--line-2); }
/* Every logo renders as a flat white silhouette so mixed brand colours sit evenly on navy. Files need a transparent background. */
.marquee-cell img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .78; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
  .marquee-row { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .sl.is-armed .sl-row { opacity: 1; transform: none; }
  .sl-dot, .sl.is-hunting .sl-scan, .who-panel { animation: none; }
  .market-card, .market-slide { transition: none; }
  html { scroll-behavior: auto; }
}

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border: 0; background: transparent; color: var(--text); cursor: pointer; text-align: left; padding: 20px 0; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; }
.faq-q:hover { color: var(--text); }
.faq-sign { font-family: var(--mono); font-size: 18px; color: var(--accent); flex: none; }
.faq-a { padding: 0 48px 24px 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 64ch; text-wrap: pretty; }
.faq-a[hidden] { display: none; }

/* Closing CTA */
.section-accent { background: var(--accent); color: var(--ink); }
.request-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; align-items: end; }
.request-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 120px); line-height: .95; letter-spacing: -.02em; max-width: 12ch; text-wrap: balance; }
.request-side { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.request-side p { margin: 0; max-width: 40ch; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.section-accent :focus-visible { outline-color: var(--ink); }

/* Footer */
.footer { padding: 40px var(--gutter) 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-links { gap: 10px; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
/* "Email us" buttons (assets/js/email.js) look like the links around them. */
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.footer-links .link-btn { align-self: flex-start; }
.footer-links .link-btn:hover { color: var(--accent); }
.footer-legal { font-family: var(--mono); font-size: 12px; color: var(--dim); }

/* ---------- Quote wizard ---------- */
.wizard { position: fixed; inset: 0; z-index: 50; background: var(--ink); color: var(--text); display: flex; flex-direction: column; overflow: auto; }
.wizard[hidden] { display: none; }
.wizard-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.wizard-step-label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wizard-progress { height: 2px; background: var(--line); flex: none; }
.wizard-progress-fill { height: 2px; width: 0; max-width: 100%; background: var(--accent); transition: width .35s ease; }
.wizard-body { width: 100%; max-width: 840px; margin: 0 auto; padding: clamp(36px, 7vh, 88px) 20px 120px; display: flex; flex-direction: column; gap: 32px; }
.wizard-step { display: flex; flex-direction: column; gap: 32px; }
.wizard-head { display: flex; flex-direction: column; gap: 12px; }
.wizard-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.02; letter-spacing: -.015em; }
.wizard-title:focus { outline: none; }
.wizard-title-done { font-size: clamp(40px, 6vw, 80px); line-height: .98; letter-spacing: -.02em; }
.wizard-sub { margin: 0; font-size: 15px; color: var(--muted); }
.wizard-done-copy { margin: 0; max-width: 52ch; font-size: 17px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--opt-min, 200px), 100%), 1fr)); gap: 10px; }
.opt { text-align: left; padding: 18px 20px; background: var(--surf); color: var(--text); border: 1px solid var(--line-2); cursor: pointer; display: flex; flex-direction: column; gap: 4px; border-radius: 2px; transition: background .15s ease, border-color .15s ease; }
.opt:hover { border-color: rgba(255, 255, 255, .32); }
.opt-label { font-size: 17px; font-weight: 500; }
.opt-desc { font-size: 13px; opacity: .72; line-height: 1.4; }
/* Custom / multi-megawatt path: full-width card above the five standard options. */
.opt-wide { border-color: rgba(47, 232, 198, .55); background: linear-gradient(90deg, rgba(47, 232, 198, .12), rgba(47, 232, 198, .02) 70%), var(--surf); padding: 20px 22px; gap: 6px; }
.opt-wide:hover { border-color: var(--accent); }
.opt-wide .opt-label { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 400; line-height: 1.1; }
.opt-wide .opt-desc { max-width: 62ch; }
.opt-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.opt-wide[aria-pressed="true"] { background: var(--accent); }
.opt-wide[aria-pressed="true"] .opt-kicker { color: var(--ink); }
.opt-compact { padding: 12px 16px; gap: 2px; }
.opt-compact .opt-label { font-size: 15px; }
/* Region picker: tile-grid map beside the same regions as a list. The list alone on narrow screens. */
.region-picker { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.region-list { display: flex; flex-direction: column; gap: 8px; }
.region-map { display: block; width: 100%; height: auto; overflow: visible; }
.region-map rect { fill: var(--surf-2); stroke: var(--line-2); stroke-width: 1; transition: fill .15s ease; }
.region-map text { font-family: var(--mono); font-size: 11px; fill: var(--muted); text-anchor: middle; pointer-events: none; }
/* Three shades so neighbouring regions read as separate blocks before anything is selected. */
.region-map .tone-1 rect { fill: #22305C; }
.region-map .tone-2 rect { fill: #2B3A6E; }
.region-map .region-off rect { fill: transparent; stroke: var(--line); }
.region-map .region-off text { fill: var(--dim); opacity: .6; }
.region-map .region { cursor: pointer; outline: none; }
.region-map .region:hover rect { fill: #3A4C8A; }
.region-map .region:focus-visible rect { stroke: var(--accent); stroke-width: 2; }
.region-map .region[aria-pressed="true"] rect { fill: var(--accent); stroke: var(--accent); }
.region-map .region[aria-pressed="true"] text { fill: var(--ink); }
@media (max-width: 680px) {
  .region-picker { grid-template-columns: 1fr; }
  .region-map { display: none; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; background: transparent; color: var(--text); border: 1px solid var(--line-2); cursor: pointer; border-radius: 999px; font-size: 14px; }
.chip:hover { border-color: rgba(255, 255, 255, .32); }
.opt[aria-pressed="true"], .chip[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.field-group { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.field-label { font-size: 14px; color: var(--muted); }
.field { width: 100%; background: var(--surf); border: 1px solid var(--line-2); color: var(--text); padding: 16px 18px; font-size: 16px; border-radius: 2px; outline: none; }
.field:focus { border-color: var(--accent); }
.field-lg { padding: 18px 20px; font-size: 18px; }
textarea.field { resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.checkbox { display: flex; align-items: center; gap: 14px; text-align: left; border: 1px solid var(--line-2); background: var(--surf); color: var(--text); cursor: pointer; padding: 16px 18px; border-radius: 2px; font-size: 15px; line-height: 1.4; }
.checkbox-box { width: 18px; height: 18px; flex: none; border: 1px solid var(--line-2); background: transparent; }
.checkbox[aria-checked="true"] .checkbox-box { border-color: var(--accent); background: var(--accent); }
.fine-print { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.wizard-hint { margin: 0; font-size: 14px; color: var(--accent); min-height: 1.4em; }
.wizard-hint a, .wizard-hint .link-btn { color: inherit; text-decoration: underline; }
.summary { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin: 0; }
.summary-row { display: grid; grid-template-columns: minmax(110px, .5fr) minmax(0, 1.5fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.summary-row dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.summary-row dd { margin: 0; font-size: 15px; color: var(--text); }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.wizard-nav[hidden] { display: none; }
.wizard-back { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 14px 0; font-size: 15px; }
.wizard-back:hover { color: var(--text); }
.wizard-back[aria-hidden="true"] { visibility: hidden; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .nav-links { display: none; }
}
@media (max-width: 540px) {
  .hero { grid-template-columns: 1fr; grid-auto-rows: minmax(220px, auto); }
  .hero-lead { grid-column: auto; grid-row: auto; }
  .hero .tile { aspect-ratio: 4 / 3; }
  .brand-nav .brand-lockup { height: 50px; }
}

/* ---------- Text pages (privacy) ---------- */
.legal { max-width: 760px; padding: clamp(48px, 8vw, 110px) var(--gutter) var(--section-y); }
.legal h1 { margin: 16px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.2vw, 76px); line-height: 1; letter-spacing: -.015em; }
.legal .legal-intro { margin: 24px 0 0; font-size: 18px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.legal section { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal a, .legal .link-btn { color: var(--accent); text-decoration: underline; }
.legal .legal-updated { margin: 16px 0 0; font-family: var(--mono); font-size: 12px; color: var(--dim); }
