/* Self-hosted Google Fonts (latin subsets, variable weights) so the page never blocks on fonts.googleapis.com. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/dmsans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/dmsans-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Syne"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/syne-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0b2545;
  --navy-2: #0f2f57;
  --navy-3: #071a33;
  --ink: #101a2c;
  --paper: #f3f4f2;
  --paper-2: #e6ebef;
  --white: #ffffff;
  --blue: #0d8ad2;
  --blue-deep: #0a6cab;
  --blue-button: #0c7bbb; /* same hue as --blue, darkened until white text reaches 4.6:1 */
  --blue-bright: #29a8ea;
  --sky: #d6e8f4;
  --sky-2: #aed7f0;
  --muted: #5b6776;
  --line: rgba(11, 37, 69, 0.16);
  --display: "Syne", sans-serif;
  --body: "Manrope", sans-serif;
  --ui: "DM Sans", sans-serif;
  --max: 1500px;
  --gutter: clamp(22px, 4vw, 70px);
  --ease: cubic-bezier(0.2, 0.74, 0.2, 1);
  --r-xs: 6px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;
  --block-inset: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: clip; }
body.is-splash { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
::selection { color: var(--navy); background: var(--sky-2); }

.icon-sprite { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; left: 1rem; top: 1rem; padding: .7rem 1rem; border-radius: var(--r-sm); background: var(--blue); color: var(--white); transform: translateY(-200%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.site-grid { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.section-pad { padding-block: clamp(64px, 6vw, 96px); }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: .97; letter-spacing: -.04em; }
h1 { color: var(--navy); font-size: clamp(59px, 8vw, 126px); }
h2 { font-size: clamp(43px, 6vw, 88px); }
h1 em, h2 em { color: var(--blue); font-family: var(--ui); font-style: italic; font-weight: 400; letter-spacing: -.045em; }
h2 { color: var(--navy); }
h2 em { color: var(--blue-deep); }

.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--r-pill); white-space: nowrap; font-family: var(--ui); font-size: 12px; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.button:hover { transform: translateY(-2px); }
.button-accent { color: var(--white); background: var(--blue-button); }
.button-accent:hover { background: var(--blue-deep); }
.button-dark { color: var(--white); background: var(--navy); }
.button-dark:hover { background: var(--blue-deep); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
.button-ghost-navy { color: var(--navy); border-color: rgba(11,37,69,.35); background: transparent; }
.button-ghost-navy:hover { border-color: var(--navy); background: rgba(11,37,69,.06); }
.button-small { min-height: 43px; padding-inline: 19px; font-size: 10px; }
.button-large { min-height: 56px; padding-inline: 28px; }
/* CTA pairs sit in the same dark pill as the header actions */
.cta-pill { width: fit-content; max-width: 100%; margin-inline: auto; display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-pill); background: rgba(7,26,51,.9); box-shadow: 0 12px 40px rgba(7,26,51,.22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cta-pill .button { min-height: 50px; padding-inline: 24px; font-size: 11px; box-shadow: none; }
.cta-pill .button-ghost { border-color: rgba(255,255,255,.22); background: none; backdrop-filter: none; }
.cta-pill .button:hover { transform: none; }
.cta-pill .button-ghost:hover { background: rgba(255,255,255,.08); }
.line-link { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 6px 0 22px; border: 1px solid rgba(255,255,255,.35); border-radius: var(--r-pill); color: var(--white); background: rgba(255,255,255,.05); font-family: var(--ui); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.line-link:hover { border-color: var(--white); background: rgba(255,255,255,.1); transform: translateY(-2px); }
.line-link-icon { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease), background .25s; }
.line-link .line-link-icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--blue); stroke: var(--white); }
.line-link:hover .line-link-icon { transform: translateX(3px); }
.line-link-dark { color: var(--navy); border-color: rgba(11,37,69,.35); background: rgba(11,37,69,.04); }
.line-link-dark:hover { border-color: var(--navy); background: rgba(11,37,69,.08); }
.line-link-dark .line-link-icon { background: var(--navy); stroke: var(--white); }
.ico { flex: none; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { position: fixed; z-index: 100; inset: 18px 0 auto; padding-inline: var(--gutter); color: var(--white); pointer-events: none; --pill-h: 58px; --brand-w: 114px; --actions-w: 320px; --morph: .6s cubic-bezier(.7, 0, .2, 1); }
.header-stage { position: relative; width: min(100%, 1180px); height: var(--pill-h); margin: auto; }
.pill { position: absolute; top: 0; height: var(--pill-h); display: flex; align-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-pill); color: var(--white); background: rgba(7,26,51,.9); box-shadow: 0 12px 40px rgba(7,26,51,.22); overflow: hidden; transition: width var(--morph); }
.pill-brand { left: 0; z-index: 2; width: 100%; gap: 12px; padding: 6px 6px 6px 22px; pointer-events: auto; }
.pill-actions { right: 0; z-index: 1; width: 100%; pointer-events: none; }
.header-cta { position: absolute; right: 6px; top: 6px; z-index: 4; display: flex; align-items: center; gap: 8px; pointer-events: auto; }
.site-header.is-scrolled .pill-brand { width: var(--brand-w); }
.site-header.is-scrolled .pill-actions { width: var(--actions-w); }
.brand { flex: none; display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: block; flex: none; width: auto; height: 38px; aspect-ratio: 1120 / 1363; object-fit: contain; }
.brand-type { display: grid; line-height: 1; white-space: nowrap; transition: opacity .25s var(--ease), transform .4s var(--ease); }
.brand-type strong { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .09em; }
.brand-type small { margin-top: 4px; font-family: var(--ui); font-size: 6.5px; font-weight: 500; letter-spacing: .26em; }
.site-header.is-scrolled .brand-type { opacity: 0; transform: translateX(-8px); pointer-events: none; }
.site-nav { position: absolute; left: 50%; top: 0; z-index: 3; height: 100%; display: flex; align-items: center; transform: translateX(-50%); pointer-events: auto; transition: opacity .25s var(--ease), transform .4s var(--ease); }
.site-header.is-scrolled .site-nav { opacity: 0; transform: translate(-50%, -8px); pointer-events: none; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); }
.nav-links a { position: relative; padding-block: 4px; font-family: var(--ui); font-size: 11px; font-weight: 500; letter-spacing: .06em; line-height: 14px; color: rgba(255,255,255,.74); white-space: nowrap; transition: color .25s; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--white); }
.nav-links a::after { content: ""; position: absolute; inset: auto 0 -3px; height: 1px; background: var(--blue-bright); transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta .button { min-height: 44px; padding-inline: 20px; border-radius: var(--r-pill); white-space: nowrap; }
.header-cta .button-ghost { padding-inline: 18px 20px; border-color: rgba(255,255,255,.22); }
.header-cta .button svg { width: 15px; }
.menu-toggle { position: absolute; right: 6px; top: 50%; flex: none; width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: none; color: inherit; cursor: pointer; opacity: 0; transform: translateY(-50%) scale(.8); pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--ease), background .25s; }
.site-header.is-scrolled .menu-toggle { opacity: 1; transform: translateY(-50%); pointer-events: auto; transition-delay: .2s; }
.menu-toggle:hover { background: rgba(255,255,255,.08); }
.menu-toggle span:not(.sr-only) { width: 18px; height: 1px; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu panel (floats under the pill) */
.menu-panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 4; pointer-events: auto; width: 320px; padding: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); color: var(--white); background: rgba(7,26,51,.9); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); box-shadow: 0 24px 60px rgba(7,26,51,.35); opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: top left; visibility: hidden; pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s; }
.menu-panel.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s; }
.menu-links { display: grid; }
.menu-links a { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 12px 12px 12px 10px; border-radius: var(--r-sm); font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.02em; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .4s var(--ease), background .2s, color .2s; }
.menu-links a span { color: var(--blue-bright); font-family: var(--ui); font-size: 9px; font-weight: 500; letter-spacing: .1em; }
.menu-links a i { display: grid; color: rgba(255,255,255,.4); font-style: normal; font-size: 14px; transform: translateX(-4px); opacity: 0; transition: transform .25s var(--ease), opacity .25s; }
.menu-links a:hover, .menu-links a[aria-current="true"] { background: rgba(255,255,255,.08); }
.menu-links a:hover i { transform: none; opacity: 1; color: var(--blue-bright); }
.menu-panel.is-open .menu-links a { opacity: 1; transform: none; }
.menu-panel.is-open .menu-links a:nth-child(2) { transition-delay: .04s; }
.menu-panel.is-open .menu-links a:nth-child(3) { transition-delay: .08s; }
.menu-panel.is-open .menu-links a:nth-child(4) { transition-delay: .12s; }
.menu-panel.is-open .menu-links a:nth-child(5) { transition-delay: .16s; }
.menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 12px 12px 6px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--ui); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.menu-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 600; transition: color .2s; }
.menu-links a i svg, .menu-foot .ico { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-foot a:hover { color: var(--blue-bright); }

/* Hero */
.hero { position: relative; min-height: 760px; height: max(760px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--navy-3); border-radius: 0 0 var(--hero-r, 0px) var(--hero-r, 0px); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 58% 52% at 50% 56%, rgba(0,0,0,.32), rgba(0,0,0,0) 72%), linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.08) 30%, rgba(0,0,0,.14) 58%, rgba(7,26,51,.9) 100%); }
.hero::after { content: ""; position: absolute; z-index: 3; inset: 0; opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.hero-grid { position: relative; z-index: 4; flex: 1; align-content: center; padding-top: 130px; padding-bottom: 60px; }
.hero-copy { grid-column: 2 / 12; min-width: 0; text-align: center; }
.hero h1 { color: var(--white); font-size: clamp(56px, 7.8vw, 122px); }
.hero h1 em { color: var(--blue-bright); }
.hero-lede { max-width: 560px; margin: 30px auto 0; color: rgba(255,255,255,.78); font-size: clamp(16px, 1.3vw, 20px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }

/* Splash */
.splash { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; color: var(--white); pointer-events: none; }
.splash-bg { position: absolute; inset: 0; background: var(--navy-3); clip-path: inset(0 0 0 0 round 0 0 0 0); }
.splash-bg::after { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.splash-inner { position: relative; display: grid; justify-items: center; gap: 22px; }
.splash-mark { display: block; width: auto; height: clamp(112px, 16vmin, 180px); aspect-ratio: 1120 / 1363; overflow: visible; fill: none; transform-origin: center; will-change: transform; }
.splash-fill { fill: currentColor; opacity: 0; animation: splashFill .45s var(--ease) 1.05s both; }
.splash-outline { fill: none; stroke: currentColor; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: splashTrace 1.15s cubic-bezier(.4, 0, .2, 1) .08s both, splashOutlineOut .25s ease 1.25s forwards; }
.splash-detail { animation-delay: .3s, 1.25s; animation-duration: .65s, .25s; }
.splash-type { display: grid; justify-items: center; line-height: 1; opacity: 0; transform: translateY(10px); animation: splashType .6s var(--ease) .75s forwards; }
.splash-type strong { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vmin, 42px); letter-spacing: .12em; }
.splash-type small { margin-top: 8px; font-family: var(--ui); font-size: clamp(9px, 1vmin, 12px); font-weight: 500; letter-spacing: .3em; }
.splash.is-leaving .splash-bg { animation: splashOut 1.35s cubic-bezier(.75, 0, .2, 1) forwards; }
.splash.is-leaving .splash-mark { transition: transform 1.25s cubic-bezier(.65, 0, .2, 1); }
.splash.is-leaving .splash-type { animation: none; opacity: 0; transition: opacity .35s; }
@keyframes splashTrace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes splashFill { from { opacity: 0; } to { opacity: 1; } }
@keyframes splashOutlineOut { to { opacity: 0; } }
@keyframes splashType { to { opacity: 1; transform: none; } }
@keyframes splashOut { from { clip-path: inset(0 0 0 0 round 0 0 0 0); } to { clip-path: inset(0 0 100% 0 round 0 0 var(--r-xl) var(--r-xl)); } }

/* Hero entrance choreography (only when the splash ran) */
.site-header { transition: opacity .7s var(--ease); }
.hero-copy > *, .hero-rail { transition: opacity 1.3s var(--ease), transform 1.5s var(--ease); }
.hero-media video { transition: transform 3s var(--ease); }
/* While the splash covers the page the hero paints normally underneath (it is the largest contentful
   paint); the instant before the curtain lifts, .is-held snaps header/copy/rail/words to their "from"
   pose without a transition, then .is-entering animates them in as before. */
.is-held .site-header, .is-held .hero-copy > *, .is-held .hero-rail, .is-held .hero h1 .w { transition: none; }
.is-held .site-header { opacity: 0; }
.is-held .hero-copy > * { opacity: 0; transform: translateY(40px); }
.is-held .hero-rail { opacity: 0; transform: translateY(12px); }
.is-splash .hero-media video { transform: scale(1.12); }
.is-entering .hero-copy > :nth-child(1) { transition-delay: .45s; }
.is-entering .hero-copy > :nth-child(2) { transition-delay: .7s; }
.is-entering .hero-copy > :nth-child(3) { transition-delay: .95s; }
.is-entering .hero-rail { transition-delay: 1.25s; }
.is-entering .site-header { transition-delay: 1.15s; }
.hero h1 .w { transition: opacity .9s var(--ease), translate 1.1s var(--ease), filter .9s var(--ease); transition-delay: calc(.5s + var(--i, 0) * 70ms); }
.is-held .hero h1 .w { opacity: 0; translate: 0 .5em; filter: blur(10px); }
.hero-rail { position: relative; z-index: 4; width: min(100%, var(--max)); margin-inline: auto; padding: 22px var(--gutter) 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 190px)) 1fr; column-gap: 22px; align-items: center; border-top: 1px solid rgba(255,255,255,.14); }
.hero-rail-list { display: contents; margin: 0; padding: 0; list-style: none; }
.hero-rail-list li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; align-items: center; opacity: .45; transition: opacity .35s var(--ease); }
.hero-rail-list li.is-ready { opacity: 1; }
.hero-rail-list li i { grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; background: rgba(255,255,255,.06); transition: background .3s, border-color .3s; }
.hero-rail-list li i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-rail-list li.is-ready i { border-color: var(--blue); background: var(--blue); }
.hero-rail-list li span { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.hero-rail-list li small { color: rgba(255,255,255,.55); font-family: var(--ui); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; }
.hero-rail > p { justify-self: end; margin: 0; text-align: right; color: rgba(255,255,255,.55); font-family: var(--ui); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.hero-rail > p strong { display: block; margin-bottom: 5px; color: var(--white); font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.02em; text-transform: none; }


/* Intro */
.intro { background: var(--paper); }
.section-index { grid-column: 1 / 3; display: flex; align-items: flex-start; gap: 12px; color: #7a8695; font-family: var(--ui); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.section-index span { color: var(--blue-deep); font-weight: 600; }
.intro-copy { grid-column: 3 / 10; }
.intro-copy h2 { max-width: 900px; }
.intro-side { grid-column: 10 / 13; align-self: end; max-width: 360px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* Ledger */
/* Big picture: six separate trades wired into one Apex node */
.wiring { --wg: 12px; margin-top: clamp(40px, 4vw, 64px); }
.wiring > * { grid-column: 1 / -1; }
.wiring-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.wiring-cap b { color: var(--navy); font-family: var(--ui); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.wiring-trades { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--wg); margin: 0; padding: 0; list-style: none; }
.wiring-trades li { display: grid; align-content: start; gap: 7px; padding: 16px 18px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.wiring-trades small { color: #8d99a8; font-family: var(--ui); font-size: 9px; font-weight: 500; letter-spacing: .1em; }
.wiring-trades strong { color: var(--navy); font-family: var(--display); font-weight: 600; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.15; letter-spacing: -.01em; }
.wiring-trades span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.wiring-bus { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--wg); height: 84px; }
.wiring-bus .drop { justify-self: center; width: 1px; height: 42px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.wiring-bus .rail { position: absolute; top: 42px; left: calc((100% - 5 * var(--wg)) / 12); right: calc((100% - 5 * var(--wg)) / 12); height: 1px; background: var(--blue); transform: scaleX(0); transition: transform .7s var(--ease) 1.1s; }
.wiring-bus .stem { position: absolute; top: 42px; left: 50%; width: 1px; height: 42px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease) 1.75s; }
.wiring-bus .stem::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 4px rgba(41,168,234,.18); transform: translateX(-50%); }
.wiring.is-live .drop, .wiring.is-live .rail, .wiring.is-live .stem { transform: none; }
.wiring.is-live .drop:nth-child(1) { transition-delay: .25s; }
.wiring.is-live .drop:nth-child(2) { transition-delay: .35s; }
.wiring.is-live .drop:nth-child(3) { transition-delay: .45s; }
.wiring.is-live .drop:nth-child(4) { transition-delay: .55s; }
.wiring.is-live .drop:nth-child(5) { transition-delay: .65s; }
.wiring.is-live .drop:nth-child(6) { transition-delay: .75s; }
.wiring-node { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 3.4vw, 48px) clamp(28px, 3.6vw, 56px); color: var(--white); background: var(--navy); border-radius: var(--r-md); opacity: .35; transform: translateY(10px); transition: opacity .6s var(--ease) 2.05s, transform .6s var(--ease) 2.05s, box-shadow .8s 2.05s; }
.wiring.is-live .wiring-node { opacity: 1; transform: none; box-shadow: 0 30px 70px rgba(13,138,210,.22); }
.wiring-node-lead b { display: block; margin-bottom: 14px; color: var(--blue-bright); font-family: var(--ui); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.wiring-node-lead strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3vw, 44px); line-height: .98; letter-spacing: -.04em; }
.wiring-node-copy p { max-width: 520px; margin: 0 0 22px; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.8; }
@media (prefers-reduced-motion: reduce) { .wiring .drop, .wiring .rail, .wiring .stem, .wiring-node { transition: none; } }

/* Connected system */
.section-block { margin-inline: var(--block-inset); border-radius: var(--r-xl); overflow: hidden; }
.section-block + .section-block { margin-top: var(--block-inset); }
.system-section { padding-block: clamp(48px, 5vw, 80px); color: var(--white); background: var(--navy-2); }
.system-grid { min-height: 0; align-items: center; }
.system-copy { z-index: 2; grid-column: 1 / 6; padding-right: clamp(15px, 4vw, 80px); }
.system-copy h2 { font-size: clamp(43px, 5.3vw, 78px); }
.system-copy h2 { color: var(--white); }
.system-copy h2 em { color: var(--blue-bright); }
.system-copy > p { max-width: 440px; margin: 28px 0 32px; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.7; }
/* The stage keeps the cutaway's native 3:2 so nothing is cropped and hotspots sit on the real systems. */
.system-visual { position: relative; grid-column: 6 / 13; display: flex; flex-direction: column; gap: 14px; outline: none; }
.system-stage { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; }
.system-stage::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.13); border-radius: inherit; box-shadow: inset 0 0 80px rgba(7,26,51,.35); pointer-events: none; }
.system-stage img { width: 100%; height: 100%; object-fit: cover; }
.system-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.system-layer.is-active.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .system-layer { display: none; } }
/* Spotlight: a soft ellipse of clear image around the active system, everything else dims. */
@property --fx { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --fy { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
.system-focus { position: absolute; inset: 0; opacity: 0; pointer-events: none; --fx: 50%; --fy: 50%; background: radial-gradient(ellipse 36% 46% at var(--fx) var(--fy), rgba(7,26,51,0) 38%, rgba(7,26,51,.3) 72%, rgba(7,26,51,.62) 100%); transition: opacity 1s var(--ease), --fx .9s var(--ease), --fy .9s var(--ease); }
.system-visual.is-cycling .system-focus { opacity: 1; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flow-link { fill: none; stroke: var(--sky-2); stroke-width: 1.2; stroke-linecap: round; opacity: 0; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; animation: flow 1.1s linear infinite; transition: opacity .5s var(--ease) .25s; filter: drop-shadow(0 0 3px rgba(41,168,234,.7)); }
.flow-end { fill: var(--sky-2); opacity: 0; transition: opacity .5s var(--ease) .25s; animation: hubPulse 1.8s ease-in-out infinite; }
.system-visual.is-linked .flow-link, .system-visual.is-linked .flow-end { opacity: .9; }
@keyframes flow { to { stroke-dashoffset: -9; } }
@keyframes hubPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
/* Pins float over the stage only (same 3:2 box), never over the card below. */
.system-picks { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 3 / 2; pointer-events: none; }
.hotspot { pointer-events: auto; }
.hotspot { position: absolute; z-index: 2; left: var(--x, 50%); top: var(--y, 50%); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px; border: 1px solid rgba(255,255,255,.35); border-radius: 30px; color: var(--white); background: rgba(11,37,69,.62); backdrop-filter: blur(9px); font-family: var(--ui); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.hotspot::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--blue-bright); opacity: 0; pointer-events: none; }
.hotspot > span { position: relative; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); font-size: 17px; line-height: 1; transition: transform .3s, background .3s; }
.hotspot:hover, .hotspot:focus-visible { border-color: rgba(255,255,255,.7); background: rgba(11,37,69,.8); }
.hotspot:focus-visible { outline: 2px solid var(--sky-2); outline-offset: 3px; }
.hotspot:hover > span, .hotspot.is-active > span { transform: rotate(45deg); }
.hotspot.is-active { border-color: var(--blue-bright); background: rgba(11,37,69,.86); }
.hotspot.is-active > span { background: var(--blue-bright); }
.hotspot.is-active::before { animation: hotspotHalo 2.2s ease-out infinite; }
.hotspot.is-linked { border-color: rgba(174,215,240,.75); border-style: dashed; color: var(--sky-2); }
@keyframes hotspotHalo { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
.hotspot-card { position: relative; display: grid; grid-template-columns: 64px 1fr; align-items: center; min-height: 84px; padding: 12px 18px 12px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); color: var(--white); background: rgba(11,37,69,.82); }
.hotspot-card > span { position: relative; grid-column: 1; grid-row: 1 / 3; align-self: stretch; display: grid; place-items: center; border-right: 1px solid rgba(255,255,255,.18); color: var(--blue-bright); font-family: var(--ui); font-size: 10px; }
.hotspot-progress svg { position: absolute; width: 44px; height: 44px; transform: rotate(-90deg); }
.hotspot-progress circle { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.4; }
.hotspot-progress-bar { stroke: var(--blue-bright) !important; stroke-dasharray: 100.5; stroke-dashoffset: 100.5; }
.system-visual.is-cycling .hotspot-progress-bar { animation: ring var(--system-cycle, 4.2s) linear forwards; }
.hotspot-progress b { position: relative; font-weight: 500; }
@keyframes ring { from { stroke-dashoffset: 100.5; } to { stroke-dashoffset: 0; } }
.hotspot-card div { display: contents; }
.hotspot-card strong, .hotspot-card p { grid-column: 2; padding-left: 20px; }
.hotspot-card strong { grid-row: 1; align-self: end; }
.hotspot-card p { grid-row: 2; align-self: start; }
.hotspot-card strong { display: block; font-family: var(--display); font-size: 20px; }
.hotspot-card p { margin: 3px 0 0; color: rgba(255,255,255,.62); font-size: 12.5px; }
.hotspot-card [data-system-title], .hotspot-card [data-system-copy] { animation: cardSwap .5s var(--ease) both; }
.hotspot-card [data-system-copy] { animation-delay: .06s; }
@keyframes cardSwap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Services */
.services { background: var(--paper); }
.services.section-pad { padding-block: clamp(48px, 6svh, 80px); }
.services-heading { grid-column: 3 / 10; }
.services-heading h2 { font-size: clamp(38px, 4vw, 60px); }
.services-intro { grid-column: 10 / 13; align-self: end; display: grid; gap: 18px; justify-items: start; max-width: 360px; margin: 0 0 6px; }
.services-intro p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.service-stage { margin-top: clamp(28px, 4svh, 44px); column-gap: clamp(20px, 2.5vw, 40px); align-items: stretch; }
.service-tabs { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 2px; }
.tab-group { display: flex; align-items: center; gap: 12px; padding: 18px 0 8px; color: var(--blue-deep); font-family: var(--ui); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.tab-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tab-group:first-child { padding-top: 0; }
.service-tab { width: 100%; min-height: 46px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 0 14px 0 12px; border: 0; border-radius: var(--r-sm); color: var(--ink); background: transparent; text-align: left; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.02em; cursor: pointer; transition: color .25s, background .25s; }
.service-tab span { color: #8d99a8; font-family: var(--ui); font-size: 10px; font-weight: 500; letter-spacing: .1em; }
.service-tab i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #8d99a8; background: rgba(11,37,69,.06); transition: color .25s, background .25s; }
.service-tab i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-tab:hover { background: var(--paper-2); }
.service-tab.is-active { color: var(--white); background: var(--navy); }
.service-tab.is-active span { color: var(--blue-bright); }
.service-tab:hover i { color: var(--navy); }
.service-tab.is-active i { color: var(--white); background: var(--blue); }
.service-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.service-panel { position: relative; grid-column: 5 / 13; min-height: 540px; border-radius: var(--r-lg); background: var(--navy); overflow: hidden; outline: none; }
.service-panel > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--navy); transition: transform .8s var(--ease), opacity .25s; }
.service-panel.is-changing > video { opacity: .68; transform: scale(1.02); }
.service-panel-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,51,.45) 0%, rgba(7,26,51,0) 24%, rgba(7,26,51,.18) 46%, rgba(7,26,51,.78) 68%, rgba(7,26,51,.97) 100%); }
.service-panel-top { position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(20px, 2.4vw, 32px); }
.service-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin: 0; padding: 0 14px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-pill); background: rgba(7,26,51,.45); backdrop-filter: blur(8px); color: rgba(255,255,255,.55); font-family: var(--ui); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.service-tag b { padding-right: 10px; margin-right: 2px; border-right: 1px solid rgba(255,255,255,.3); color: var(--white); font-weight: 600; }
.service-tag [data-service-number] { color: var(--blue-bright); }
.service-cta { min-height: 38px; gap: 10px; padding-inline: 16px; font-size: 10px; }
.service-cta .line-link-icon { width: 14px; height: 14px; stroke: var(--blue-bright); }
.service-cta:hover .line-link-icon { transform: translate(2px, -2px); }
.service-detail { position: absolute; inset: auto 0 0; display: grid; gap: 14px; padding: clamp(24px, 3vw, 44px); color: var(--white); }
.service-meta { display: none; margin: 0; color: var(--sky-2); font-family: var(--ui); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.service-detail h3 { color: var(--white); font-size: clamp(40px, 4.2vw, 60px); }
.service-copy { max-width: 540px; margin: 0; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.65; }
.service-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); }
.service-symptom { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: rgba(255,255,255,.74); font-size: 13px; }
.service-carousel { display: none; }
.service-symptom span { flex: none; padding: 4px 9px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-pill); color: var(--white); font-family: var(--ui); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.service-symptom em { font-style: normal; }
.service-pair { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--sky-2); font-family: var(--ui); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.service-pair b { color: var(--white); font-weight: 600; }
.service-pair .ico { width: 14px; height: 14px; color: var(--blue-bright); transition: transform .25s; }
.service-pair:hover .ico { transform: translateX(3px); }

/* Resilience */
/* ---- Intro: scroll stack (vanilla port of ReactBits ScrollStack, "stack" variant) ---- */
.intro { --peek: 26px; --stage-top: 96px; --stage-bottom: 40px; background: var(--paper); }
.intro-layout { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: stretch; }
.intro-rail { position: sticky; top: 0; height: 100svh; box-sizing: border-box; padding: var(--stage-top) 0 var(--stage-bottom); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.intro-rail .section-index { margin: 0 0 6px; }
.intro-rail h2 { font-size: clamp(36px, 3.4vw, 52px); }
.intro-lede { max-width: 380px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.intro-steps { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.intro-steps li { border-bottom: 1px solid var(--line); }
.intro-steps button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 12px 4px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--muted); font-family: var(--body); transition: color .25s var(--ease), padding .3s var(--ease); }
.intro-steps span { font-family: var(--ui); font-size: 9px; font-weight: 600; letter-spacing: .14em; }
.intro-steps strong { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.intro-steps small { font-family: var(--ui); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s var(--ease); }
.intro-steps li.is-active button { color: var(--navy); padding-left: 10px; }
.intro-steps li.is-active span { color: var(--blue-deep); }
.intro-steps li.is-active small { opacity: 1; transform: none; color: var(--blue-deep); }
.intro-steps button:hover { color: var(--navy); }
.stack-progress { display: flex; align-items: center; gap: 14px; margin-top: 4px; color: var(--muted); font-family: var(--ui); font-size: 10px; font-weight: 600; letter-spacing: .14em; }
.stack-progress i { flex: 1; max-width: 160px; height: 2px; background: var(--line); }
.stack-progress b { display: block; width: 0; height: 100%; background: var(--blue); }
.scroll-stack { --stack-count: 4; min-width: 0; }
.scroll-stack-track { position: relative; height: calc(var(--stack-count) * 100svh + 20svh); }
.scroll-stack-viewport { position: sticky; top: 0; height: 100svh; box-sizing: border-box; padding: var(--stage-top) 0 var(--stage-bottom); display: grid; grid-template-rows: auto minmax(0, 1fr); align-items: center; overflow: hidden; }
.stack-chips { display: none; }
.scroll-stack-cards { position: relative; grid-row: 2; width: 100%; max-width: 880px; height: min(68svh, 640px); margin: 0; padding: 0; list-style: none; justify-self: end; align-self: center; }
.stack-card { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-radius: var(--r-lg); overflow: hidden; color: var(--white); background: var(--navy); box-shadow: 0 30px 60px -30px rgba(7, 26, 51, .45); transform-origin: 50% 0; will-change: transform, filter; }
.stack-card::after { content: ""; position: absolute; inset: 0; background: var(--navy-3); opacity: var(--dim, 0); pointer-events: none; }
.stack-copy { display: flex; flex-direction: column; justify-content: flex-start; gap: 22px; padding: clamp(24px, 2.6vw, 40px); min-height: 0; }
.stack-card > .stack-copy > .stack-outcome { margin-top: auto; }
.stack-num { color: var(--blue-bright); font-family: var(--ui); font-size: 10px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.stack-card h3 { margin-top: 12px; color: var(--white); font-size: clamp(34px, 3.6vw, 54px); }
.stack-card p { max-width: 360px; margin: 0; color: rgba(255, 255, 255, .74); font-size: clamp(14px, 1.1vw, 16px); line-height: 1.65; }
.stack-outcome { display: flex; align-items: flex-start; gap: 10px; color: var(--white) !important; font-size: 13px !important; }
.stack-outcome b { flex-shrink: 0; margin-top: 1px; padding: 4px 8px; border-radius: var(--r-xs); background: var(--blue-button); color: var(--white); font-family: var(--ui); font-size: 8px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.stack-media { margin: 0; min-height: 0; }
.stack-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }

/* Phones and tablets: headline scrolls away, then the stack pins with a chip row on top. */
@media (max-width: 900px) {
  .intro { --peek: 14px; --stage-top: 84px; --stage-bottom: 22px; }
  .intro-layout { grid-template-columns: 1fr; gap: 0; }
  .intro-rail { position: static; height: auto; padding: 72px 0 8px; }
  .intro-rail h2 { font-size: clamp(34px, 9.6vw, 44px); }
  .intro-lede { max-width: none; }
  .intro-steps, .intro-rail .stack-progress { display: none; }
  .scroll-stack-track { height: calc(var(--stack-count) * 100svh + 10svh); }
  .scroll-stack-viewport { row-gap: 22px; }
  .stack-chips { position: relative; z-index: 20; display: flex; gap: 6px; margin: 0; padding: 0 0 10px; list-style: none; overflow-x: auto; scrollbar-width: none; background: var(--paper); box-shadow: 0 10px 12px -6px var(--paper); }
  .stack-chips::-webkit-scrollbar { display: none; }
  .stack-chips li { flex-shrink: 0; }
  .stack-chips button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px 0 10px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); color: var(--muted); font-family: var(--ui); font-size: 12px; font-weight: 600; letter-spacing: .02em; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
  .stack-chips span { font-size: 9px; letter-spacing: .14em; }
  .stack-chips li.is-active button { background: var(--navy); border-color: var(--navy); color: var(--white); }
  .stack-chips li.is-active span { color: var(--blue-bright); opacity: 1; }
  .scroll-stack-cards { max-width: none; height: 100%; align-self: stretch; }
  .stack-card { grid-template-columns: 1fr; grid-template-rows: minmax(0, 50%) minmax(0, 1fr); border-radius: var(--r-md); }
  .stack-media { order: -1; }
  .stack-media img { object-position: var(--pos-m, 50% 35%); }
  .stack-copy { gap: 16px; padding: 20px 20px 22px; }
  .stack-num { font-size: 9px; }
  .stack-card h3 { margin-top: 8px; font-size: clamp(30px, 8.4vw, 38px); }
  .stack-card p { max-width: none; font-size: 14px; line-height: 1.6; }
  .stack-outcome { font-size: 12px !important; line-height: 1.45; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .stack-card { grid-template-rows: minmax(0, 44%) minmax(0, 1fr); }
  .stack-copy { gap: 12px; padding: 16px 18px 18px; }
  .stack-card h3 { margin-top: 6px; font-size: clamp(26px, 7.4vw, 32px); }
  .stack-card p { font-size: 13px; line-height: 1.5; }
}

/* Reduced motion: plain list. */
.scroll-stack.is-static .scroll-stack-track { height: auto; }
.scroll-stack.is-static .scroll-stack-viewport { position: static; height: auto; padding: 0 0 48px; display: block; overflow: visible; }
.scroll-stack.is-static .stack-chips { display: none; }
.scroll-stack.is-static .scroll-stack-cards { height: auto; max-width: none; display: flex; flex-direction: column; gap: 16px; }
.scroll-stack.is-static .stack-card { position: relative; inset: auto; min-height: 420px; transform: none !important; filter: none !important; box-shadow: none; }
.intro:has(.is-static) .stack-progress, .intro:has(.is-static) .intro-steps small { display: none; }

.resilience { position: relative; min-height: 0; color: var(--white); background: var(--navy); overflow: hidden; }
.resilience-image, .resilience-shade { position: absolute; inset: 0; }
.resilience-image img { height: 100%; object-fit: cover; object-position: 72% 50%; }
.resilience-shade { background: linear-gradient(90deg, rgba(7,26,51,.94) 0%, rgba(7,26,51,.86) 42%, rgba(7,26,51,.4) 70%, rgba(7,26,51,.08) 100%), linear-gradient(0deg, rgba(7,26,51,.75), transparent 40%); }
.resilience-copy { position: relative; z-index: 2; min-height: 0; padding-top: clamp(72px, 9svh, 100px); padding-bottom: clamp(48px, 6svh, 72px); }
.section-index-light { color: rgba(255,255,255,.48); }
.resilience-title { grid-column: 3 / 9; }
.resilience-title h2 { max-width: 640px; color: var(--white); font-size: clamp(40px, 4.8vw, 72px); }
.resilience-title h2 em { color: var(--blue-bright); }
.condition-grid { grid-column: 3 / 9; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: clamp(32px, 4svh, 48px) 0 0; padding: 0; list-style: none; }
.condition-grid li { display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; align-items: start; padding: 18px 20px 20px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); background: rgba(7,26,51,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.condition-grid .ico { grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; color: var(--blue-bright); }
.condition-grid strong { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.condition-grid p { margin: 4px 0 0; color: rgba(255,255,255,.7); font-size: 13.5px; line-height: 1.55; }
.outage-line { grid-column: 3 / 9; display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 10px; padding: 18px 24px 20px; border: 1px solid rgba(41,168,234,.35); border-radius: var(--r-md); background: rgba(13,138,210,.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.outage-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.outage-label { color: var(--blue-bright); font-family: var(--ui); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.outage-head strong { font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
.outage-line ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.outage-line li { position: relative; display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; align-items: start; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
.outage-line li > span { line-height: 26px; white-space: nowrap; }
.outage-line li small { grid-column: 2; margin-top: 2px; color: rgba(255,255,255,.62); font-family: var(--body); font-weight: 400; font-size: 11.5px; line-height: 1.45; letter-spacing: 0; }
.outage-line li + li::before { content: ""; position: absolute; left: -24px; top: 13px; width: 24px; height: 1px; background: rgba(255,255,255,.3); }
.outage-line li b { grid-row: span 2; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--blue-bright); border-radius: 50%; font-family: var(--ui); font-size: 8px; font-weight: 500; animation: outageStep 6s var(--ease) infinite; }
.outage-line li:nth-child(2) b { animation-delay: 2s; }
.outage-line li:nth-child(3) b { animation-delay: 4s; }
@keyframes outageStep { 0%, 4% { background: transparent; color: var(--white); box-shadow: none; } 10%, 30% { background: var(--blue-bright); color: var(--navy); box-shadow: 0 0 0 5px rgba(41,168,234,.2); } 40%, 100% { background: transparent; color: var(--white); box-shadow: none; } }

/* Method */

/* Story */
.story { min-height: 0; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--navy); }
.story-image { grid-row: 1; }
.story-content { grid-row: 1; grid-column: 2; }
.story-image { position: relative; min-height: 0; overflow: hidden; }
.story-image img { height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.story-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,26,51,.55), transparent 45%); }
.story-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; margin-left: -64px; padding: clamp(48px, 6svh, 72px) clamp(35px, 6vw, 95px); border-radius: 40px 0 0 40px; color: var(--white); background: var(--navy); box-shadow: -24px 0 48px -24px rgba(7,26,51,.7); }
.story-content .section-index { margin-bottom: clamp(28px, 4svh, 48px); }
.story-statement { margin: 0; color: var(--white); font-family: var(--display); font-size: clamp(34px, 3.6vw, 56px); line-height: 1.02; letter-spacing: -.04em; }
.story-statement em { color: var(--blue-bright); font-family: var(--ui); font-style: italic; font-weight: 400; letter-spacing: -.045em; }
.day-timeline { margin: clamp(28px, 4svh, 44px) 0 0; padding: 0; list-style: none; border-bottom: 1px solid rgba(255,255,255,.14); }
.day-timeline li { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: baseline; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .day-timeline.is-armed li { opacity: 0; transform: translateX(14px); }
.js .day-timeline.is-armed li.is-on { opacity: 1; transform: none; }
.day-timeline time { color: var(--blue-bright); font-family: var(--ui); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.day-timeline p { margin: 0; color: rgba(255,255,255,.9); font-family: var(--display); font-weight: 500; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.3; letter-spacing: -.02em; }
.story-content > small { margin-top: 18px; color: rgba(255,255,255,.4); font-size: 10px; }

/* Assessment */
.assessment-modal { position: fixed; inset: 0; z-index: 200; width: min(100% - 2 * var(--gutter), 1040px); max-width: none; height: min(92svh, 860px); max-height: none; margin: auto; padding: 0; border: 0; border-radius: var(--r-lg); color: var(--white); background: var(--blue); box-shadow: 0 40px 90px -20px rgba(7, 26, 51, .7); overflow: hidden; }
.assessment-modal::backdrop { background: rgba(7, 26, 51, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: backdropIn .35s var(--ease); }
.assessment-modal[open] { animation: modalIn .4s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
.assessment-modal-panel { display: grid; grid-template-columns: .78fr 1.22fr; height: 100%; }
.sheet-handle { display: none; }
.assessment-form-wrap:focus { outline: none; }
.assessment-close { position: absolute; z-index: 5; top: 16px; right: 16px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--white); background: rgba(7,26,51,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; transition: background .25s, transform .25s var(--ease); }
.assessment-close:hover { background: var(--navy); transform: rotate(90deg); }
.assessment-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; }
body.modal-open { overflow: hidden; }
.assessment-media { position: relative; min-height: 0; }
.assessment-media img { height: 100%; object-fit: cover; }
.assessment-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,26,51,.7), transparent 40%); }
.assessment-media-copy { position: absolute; z-index: 2; inset: auto var(--gutter) 45px; display: grid; color: var(--white); }
.assessment-media-copy span { margin-bottom: 8px; color: rgba(255,255,255,.65); font-family: var(--ui); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.assessment-media-copy strong { font-family: var(--display); font-weight: 600; font-size: clamp(19px, 2vw, 26px); letter-spacing: -.02em; }
.assessment-form-wrap { min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(40px, 6svh, 64px) clamp(28px, 4.5vw, 64px); overflow-y: auto; overscroll-behavior: contain; }
.assessment-form-wrap h2 { max-width: 640px; color: var(--white); font-size: clamp(32px, 3.4vw, 50px); }
.assessment-form-wrap h2 em { color: var(--sky-2); }
.assessment-form-wrap > p { max-width: 560px; margin: 14px 0 22px; font-size: 14px; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 28px; padding: 0 0 24px; list-style: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.next-steps li { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; }
.next-steps span { grid-row: span 2; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); font-family: var(--ui); font-size: 8px; }
.next-steps strong { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.next-steps p { margin: 3px 0 0; color: rgba(255,255,255,.75); font-size: 12px; line-height: 1.6; }
.reassure { display: flex; justify-content: center; gap: 28px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--white); font-family: var(--ui); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.reassure li { display: flex; align-items: center; gap: 8px; }
.reassure li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sky-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.form-grid label { min-width: 0; display: flex; flex-direction: column; }
.form-grid label > span { margin-bottom: 4px; font-family: var(--ui); font-size: 9px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.form-grid input, .form-grid select { width: 100%; height: 46px; padding: 0 16px; border: 1px solid rgba(255,255,255,.45); border-radius: var(--r-sm); outline: 0; color: var(--white); background: rgba(255,255,255,.08); font-size: 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.form-grid input::placeholder { color: rgba(255,255,255,.62); }
.form-grid select { color-scheme: dark; }
.form-grid select option { color: var(--ink); background: var(--white); }
.form-grid input:focus, .form-grid select:focus { border-color: var(--white); background: rgba(255,255,255,.14); box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.form-grid .invalid input, .form-grid .invalid select { border-color: #ffc9c2; }
.field-error { min-height: 16px; padding-top: 3px; color: #ffe1dd; font-family: var(--ui); font-size: 9px; }
.form-wide { grid-column: 1 / -1; }
.form-submit { width: 100%; margin-top: 20px; }
.form-submit:hover { color: var(--navy); background: var(--white); }
.form-note { margin: 10px auto 0; max-width: 640px; color: rgba(255,255,255,.72); text-align: center; font-size: 8px; }
/* Consent checkbox: a bordered card in the form's own style; the native box stays for accessibility. */
.form-grid .form-consent { position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; margin-top: 4px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: var(--r-sm); background: rgba(255,255,255,.08); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.form-consent input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.form-consent .consent-box { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 6px; background: rgba(255,255,255,.1); transition: background .2s, border-color .2s; }
.form-consent .consent-box svg { width: 14px; height: 14px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .15s; }
.form-consent .consent-copy { font-family: var(--ui); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.55; color: rgba(255,255,255,.9); }
.form-consent .consent-copy a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.form-consent .field-error { grid-column: 1 / -1; min-height: 0; padding-top: 0; }
.form-consent .field-error:empty { display: none; }
.form-consent:has(input:checked) { border-color: var(--white); background: rgba(255,255,255,.16); }
.form-consent:has(input:checked) .consent-box { background: var(--white); border-color: var(--white); }
.form-consent:has(input:checked) .consent-box svg { opacity: 1; }
.form-consent:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(255,255,255,.18); border-color: var(--white); }
.form-consent.invalid { border-color: #ffc9c2; }
/* Honeypot: off-screen for people, present for bots. */
.form-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Confirmation panel replaces the form body after a successful send. */
.form-success[hidden], .form-body[hidden] { display: none; }
.form-success { display: grid; gap: 12px; max-width: 640px; color: var(--white); outline: none; }
.form-success .success-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--white); }
.form-success .success-mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.form-success .success-eyebrow { margin: 6px 0 0; font-family: var(--ui); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.form-success h3 { color: var(--white); font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.04em; }
.form-success h3 em { color: var(--sky-2); font-family: var(--ui); font-style: italic; font-weight: 400; letter-spacing: -.045em; }
.form-success .success-copy { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.88); }
.form-success .success-ref { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; padding: 12px 16px; border: 1px dashed rgba(255,255,255,.5); border-radius: var(--r-sm); font-family: var(--ui); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.form-success .success-ref b { font-family: var(--display); font-size: 17px; letter-spacing: .04em; text-transform: none; color: var(--white); }
.form-success .success-steps { display: grid; gap: 10px; margin: 8px 0 0; padding: 18px 0 0; list-style: none; counter-reset: step; border-top: 1px solid rgba(255,255,255,.3); }
.form-success .success-steps li { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; counter-increment: step; }
.form-success .success-steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); font-family: var(--ui); font-size: 8px; }
.form-success .success-steps b { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.02em; }
.form-success .success-steps span { margin-top: 2px; font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.75); }
.form-success .success-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.form-success .success-actions .button-dark:hover { color: var(--navy); background: var(--white); }

/* FAQ */
/* Client stories: header row, then a one-slide carousel (portrait + quote + stats). */
.stories { background: var(--paper); }
.stories-head { align-items: end; row-gap: 40px; }
.stories-heading { grid-column: 1 / 8; }
.stories-heading .section-index { margin-bottom: clamp(32px, 5svh, 56px); }
.stories-heading h2 { font-size: clamp(43px, 5.5vw, 76px); }
.stories-intro { grid-column: 9 / 13; margin: 0 0 6px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.stories-carousel { position: relative; margin-top: clamp(48px, 6vw, 90px); row-gap: 40px; }
.stories-controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.stories-counter { margin: 0; color: #7a8695; font-family: var(--ui); font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.stories-counter span { color: inherit; }
.stories-arrows { display: flex; gap: 8px; }
.stories-arrow { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(11,37,69,.34); border-radius: 50%; background: none; color: var(--navy); cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.stories-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.stories-arrow:hover { border-color: var(--navy); transform: translateY(-1px); }
.stories-arrow.is-accent { border-color: var(--blue-button); background: var(--blue-button); color: var(--white); }
.stories-arrow.is-accent:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
/* Slides stack in one grid cell so the track keeps the tallest slide's height; inactive ones stay laid out but invisible. */
.stories-track { grid-column: 1 / -1; margin: 0; padding: 0; list-style: none; display: grid; }
.story-slide { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 0; align-items: start; }
.story-slide:not(.is-active) { visibility: hidden; pointer-events: none; }
.story-slide-media { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 22px; }
.story-slide-media figure { width: min(100%, 400px); margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; }
.story-slide-media img { height: 100%; object-fit: cover; }
.story-slide-author { margin: 0; display: flex; flex-direction: column; gap: 4px; font-family: var(--ui); }
.story-slide-author strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.story-slide-author span { color: var(--muted); font-size: 13px; }
.story-slide-content { grid-column: 6 / 13; display: flex; flex-direction: column; }
.story-slide-content blockquote { margin: 0 0 32px; color: var(--navy); font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.7vw, 53px); line-height: 1.06; letter-spacing: -.04em; }
.story-slide-content > p { max-width: 460px; margin: 0 0 clamp(48px, 6vw, 90px); color: var(--muted); font-size: 16px; line-height: 1.65; }
.story-slide-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; padding-top: 28px; border-top: 1px solid var(--line); }
.story-slide-stats div { display: flex; flex-direction: column; gap: 10px; }
.story-slide-stats dt { color: #7a8695; font-family: var(--ui); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.story-slide-stats dd { margin: 0; color: var(--navy); font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3vw, 43px); line-height: 1.02; letter-spacing: -.04em; }
.story-slide-stats dd.is-accent { color: var(--blue-deep); }
.stories-dots { grid-column: 1 / -1; margin: -26px 0 0; padding: 0; list-style: none; display: flex; gap: 6px; }
.stories-dots li { width: 6px; height: 6px; border-radius: 50%; background: rgba(11,37,69,.2); transition: background .25s; }
.stories-dots li.is-active { background: var(--navy); }
.js .stories-head { --cue-step: 90ms; }
.js :where(.story-slide-content) > .cue { translate: 0 18px; }
.js .story-slide-media figure.cue { translate: 0 14px; scale: .97; }
.story-slide.is-switching .story-slide-media figure, .story-slide.is-switching .story-slide-content > * { animation: storyIn .55s var(--ease) both; }
.story-slide.is-switching .story-slide-content > p { animation-delay: .06s; }
.story-slide.is-switching .story-slide-stats { animation-delay: .12s; }
@keyframes storyIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .story-slide.is-switching * { animation: none; } }
@media (min-width: 1800px) {
  .stories-intro { font-size: 17px; }
  .story-slide-media figure { width: min(100%, 440px); }
}
@media (max-width: 1180px) {
  .stories-heading { grid-column: 1 / 8; }
  .stories-intro { grid-column: 8 / 13; }
  .story-slide-media { grid-column: 1 / 5; }
  .story-slide-content { grid-column: 5 / 13; padding-left: 24px; }
}
@media (max-width: 900px) {
  .stories-head { row-gap: 22px; }
  .stories-heading, .stories-intro { grid-column: 1 / 7; }
  .stories-heading .section-index { margin-bottom: 36px; }
  .stories-intro { max-width: 420px; margin: 0; }
  .stories-carousel { margin-top: 56px; row-gap: 32px; }
  .story-slide { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 24px; }
  .story-slide-media { grid-column: 1 / 3; gap: 18px; }
  .story-slide-media figure { width: 100%; }
  .story-slide-content { grid-column: 3 / 7; padding-left: 0; }
  .story-slide-content blockquote { margin-bottom: 22px; font-size: clamp(28px, 4.6vw, 36px); }
  .story-slide-content > p { max-width: none; margin-bottom: 40px; font-size: 15px; }
  .story-slide-stats { padding-top: 22px; }
  .story-slide-stats dd { font-size: 36px; }
  .stories-dots { margin-top: -8px; }
}
@media (max-width: 620px) {
  .stories-heading .section-index { margin-bottom: 24px; }
  .stories-intro { font-size: 15px; }
  .story-slide { display: flex; flex-direction: column; gap: 22px; }
  .story-slide-media { flex-direction: row; align-items: center; gap: 14px; }
  .story-slide-media figure { width: 64px; flex: 0 0 64px; border-radius: 14px; }
  .story-slide-content blockquote { font-size: clamp(26px, 7.4vw, 30px); line-height: 1.14; }
  .story-slide-content > p { margin-bottom: 26px; }
  .story-slide-stats { padding-top: 20px; }
  .story-slide-stats dd { font-size: 32px; }
  .stories-dots { margin-top: 0; }
}

.faq { background: var(--paper); border-radius: 0 0 var(--r-xl) var(--r-xl); }
.faq-heading { grid-column: 1 / 6; padding-right: 12%; }
.faq-heading .section-index { margin-bottom: clamp(32px, 5svh, 56px); }
.faq-heading h2 { font-size: clamp(43px, 5.5vw, 76px); }
.faq-heading > p { margin: 30px 0 22px; color: var(--muted); font-size: 13px; }
.faq-list { grid-column: 6 / 13; }
.faq-list details { margin-bottom: 8px; padding-inline: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255,255,255,.5); transition: background .25s, border-color .25s; }
.faq-list details[open] { border-color: rgba(13,138,210,.35); background: var(--white); }
.faq-list summary { min-height: 62px; color: var(--navy); display: grid; grid-template-columns: 44px 1fr 36px; align-items: center; gap: 12px; list-style: none; font-family: var(--display); font-size: clamp(16px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.025em; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #8d99a8; font-family: var(--ui); font-size: 9px; font-weight: 500; letter-spacing: .1em; }
.faq-list summary i { position: relative; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 1px; background: var(--navy); transition: transform .25s; }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { border-color: var(--blue); background: var(--blue); }
.faq-list details[open] summary i::before, .faq-list details[open] summary i::after { background: var(--white); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details > div { overflow: hidden; }
.faq-list details p { max-width: 640px; margin: -6px 45px 22px 56px; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* Final CTA and footer */
#main { position: relative; z-index: 1; background: var(--paper); border-radius: 0 0 var(--r-xl) var(--r-xl); box-shadow: 0 30px 60px -20px rgba(7, 26, 51, .4); }
.closing { position: relative; z-index: 0; display: flex; flex-direction: column; margin-inline: 0; color: var(--white); background: var(--navy); border-radius: 0; overflow: hidden; }
/* Footer reveal only where the whole closing block fits one viewport. */
@media (min-width: 901px) and (min-height: 700px) {
  .closing { position: sticky; bottom: 0; height: 100svh; }
  .final-cta { transform: translateY(calc((1 - var(--closing-p, 1)) * 42svh)); will-change: transform; }
}
.closing::after { content: ""; position: absolute; z-index: 1; inset: auto 0 0; height: 42%; background: linear-gradient(180deg, rgba(7,26,51,0), rgba(7,26,51,.88)); pointer-events: none; }
.final-cta { position: relative; z-index: 2; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: clamp(88px, 11svh, 140px) var(--gutter) clamp(24px, 4svh, 72px); }
.final-lines { position: absolute; inset: 0; opacity: .08; background: repeating-linear-gradient(115deg, transparent 0 58px, #fff 59px 60px); }
.final-lines.has-webgl { opacity: .4; background: none; }
.final-inner { position: relative; z-index: 2; width: 100%; max-width: 950px; margin: auto; text-align: center; }
.final-inner > svg { width: clamp(40px, 6svh, 55px); margin-bottom: clamp(14px, 3svh, 30px); fill: none; stroke: var(--blue-bright); stroke-width: 2; filter: drop-shadow(0 6px 18px rgba(7,26,51,.7)); }
.final-inner h2 { color: var(--white); font-size: clamp(45px, min(6.5vw, 11svh), 94px); text-shadow: 0 4px 14px rgba(7,26,51,.75), 0 18px 48px rgba(7,26,51,.6); }
.final-inner h2 em { display: block; color: var(--blue-bright); }
.final-inner > div { display: flex; justify-content: center; gap: 12px; margin-top: clamp(24px, 5svh, 45px); }
.final-inner > .cta-pill { box-shadow: 0 10px 30px rgba(7,26,51,.55), 0 2px 6px rgba(7,26,51,.4); }
.final-location { margin: clamp(14px, 3svh, 26px) 0 0; color: rgba(255,255,255,.6); text-shadow: 0 2px 10px rgba(7,26,51,.85); font-family: var(--ui); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer { position: relative; z-index: 2; padding: 0 var(--gutter) 24px; color: rgba(255,255,255,.65); }
.footer-top { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 1.2fr 1fr .65fr .65fr 1fr; gap: 45px; padding-top: clamp(28px, 5svh, 44px); padding-bottom: clamp(28px, 5svh, 44px); border-top: 1px solid rgba(255,255,255,.12); }
.brand-footer { align-self: start; color: var(--white); }
.brand-footer .brand-mark { height: 54px; }
.footer-top > p { margin: 0; font-size: 11px; line-height: 1.8; }
.footer-status { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--white); font-family: var(--ui); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.footer-top nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-family: var(--ui); font-size: 10px; }
.footer-top nav strong, .footer-contact > strong { margin-bottom: 9px; color: var(--white); font-size: 8px; letter-spacing: .16em; }
.footer-top nav a:hover, .footer-contact a:not(.button):hover { color: var(--blue-bright); }
.footer-contact .button { margin-top: 8px; }
.footer-bottom { max-width: var(--max); margin: auto; display: flex; justify-content: space-between; gap: 25px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--ui); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom div { display: flex; gap: 25px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom button { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.footer-bottom button:hover { color: var(--blue-bright); }
.footer-bottom .ico { width: 12px; height: 12px; }
.mobile-action-bar { display: none; }

/* Reveals */
.js .reveal { opacity: 0; transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js .reveal-up { transform: translateY(30px); }
.js .reveal-left { transform: translateX(35px); }
.js .reveal-right { transform: translateX(-35px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes heroScale { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Element choreography (see cueGroups in script.js). Every item shares one duration so the
   entrance can be handed back to normal styles on transitionend; the "from" pose varies per element. */
.w { display: inline-block; }
.js .cue { --cue-dur: .9s; opacity: 0; translate: 0 22px; scale: 1; transition: opacity var(--cue-dur) var(--ease), translate var(--cue-dur) var(--ease), scale var(--cue-dur) var(--ease), clip-path var(--cue-dur) var(--ease); transition-delay: calc(var(--cue-base, 0ms) + var(--i, 0) * var(--cue-step, 70ms)); }
.js .section-index.cue { translate: -16px 0; }
.js .cue.button, .js .cue.line-link, .js .cue.cta-pill { translate: 0 10px; scale: .94; }
.js .service-stage { --cue-step: 45ms; }
.js .service-tab.cue, .js .tab-group.cue { translate: -18px 0; }
.js .service-panel.cue { --cue-base: .3s; }
.js .system-visual { --cue-step: 90ms; }
.js .hotspot.cue { translate: 0 0; scale: .4; }
.js .hotspot-card.cue { translate: 0 16px; }
.js :where(.condition-grid) .cue { translate: 0 20px; scale: .97; }
.js .outage-line ol { --cue-base: .5s; --cue-step: 120ms; }
.js :where(.outage-line ol) .cue { translate: -10px 0; }
.js :where(.story-content) > .cue { translate: 18px 0; }
.js .faq-list { --cue-step: 60ms; }
.js :where(.faq-list) .cue { translate: 0 18px; }
.js .final-inner { --cue-step: 120ms; }
.js :where(.final-inner) > .cta-pill.cue { scale: .94; }
.js .final-inner > svg.cue { translate: 0 0; opacity: 1; }
.js .final-inner > svg.cue path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease) calc(var(--i, 0) * 120ms); }
.js .final-inner > svg.cue.is-in path { stroke-dashoffset: 0; }
.js .footer-top, .js .footer-bottom { --cue-step: 60ms; }
.js :where(.footer-top, .footer-bottom) > .cue { translate: 0 14px; }
.js .footer-bottom { --cue-base: .35s; }
/* Media: a clip window opens while the picture settles from a slight zoom. */
.js .cue-clip { opacity: 1; translate: 0 0; clip-path: inset(10% 6% round var(--cue-r, 0px)); }
.js .system-stage.cue, .js .service-panel.cue { --cue-r: var(--r-lg); }
.js .cue-clip > picture, .js .cue-clip > img, .js .cue-clip > video { scale: 1.08; transition: scale var(--cue-dur) var(--ease); transition-delay: inherit; }
.js .cue-clip.is-in { clip-path: inset(0 round var(--cue-r, 0px)); }
.js .cue-clip.is-in > picture, .js .cue-clip.is-in > img, .js .cue-clip.is-in > video { scale: 1; }
.js .resilience-image.cue { opacity: 1; translate: 0 0; }
.js .resilience-image.cue img { scale: 1.1; transition: scale 2.2s var(--ease); }
.js .resilience-image.cue.is-in img { scale: 1; }
/* Headlines: each word rises out of a blur, offset by the headline's own slot in the group. */
.js .cue-words { opacity: 1; translate: 0 0; }
.js .cue-words .w { opacity: 0; translate: 0 .45em; filter: blur(8px); transition: opacity .8s var(--ease), translate .9s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--cue-base, 0ms) + var(--hi, 0) * var(--cue-step, 70ms) + var(--i, 0) * 45ms); }
.js .cue-words.is-in .w { opacity: 1; translate: 0 0; filter: none; }
.js .cue.is-in { opacity: 1; translate: 0 0; scale: 1; }

/* Custom scrollbar (laptop and up, mouse/trackpad): native bar hidden, slim thumb that fades when idle. */
.scrollbar { display: none; }
@media (min-width: 901px) and (pointer: fine) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
  .scrollbar { position: fixed; z-index: 150; top: 14px; right: 0; bottom: 14px; width: 18px; display: block; opacity: 0; transition: opacity .5s var(--ease); }
  .scrollbar.is-active, .scrollbar:hover, .scrollbar.is-dragging { opacity: 1; transition-duration: .2s; }
  .scrollbar-track { position: absolute; inset: 0 7px; cursor: pointer; }
  .scrollbar-track::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; margin-left: -.5px; background: rgba(120,140,160,.35); }
  .scrollbar-thumb { position: absolute; left: 50%; top: var(--thumb-y, 0px); width: 4px; height: var(--thumb-h, 60px); translate: -50%; border-radius: var(--r-pill); background: var(--blue); box-shadow: 0 0 0 1px rgba(255,255,255,.55), 0 4px 12px rgba(7,26,51,.35); cursor: grab; transition: width .2s var(--ease), background .2s; }
  .scrollbar:hover .scrollbar-thumb, .scrollbar.is-dragging .scrollbar-thumb { width: 8px; background: var(--blue-bright); }
  .scrollbar.is-dragging .scrollbar-thumb { cursor: grabbing; }
  .scrollbar.is-dragging, .scrollbar.is-dragging * { user-select: none; }
  body.modal-open .scrollbar { opacity: 0; pointer-events: none; }
}

/* Viewport-height sections (desktop): each section fills the screen, content centred */
@media (min-width: 901px) {
  .intro, .services, .faq, .system-section, .resilience { display: flex; flex-direction: column; justify-content: center; min-height: 100svh; }
  .story { min-height: 100svh; }
}
/* Short laptops: stage + card outgrow 100svh, so let the systems section size to content. */
@media (min-width: 901px) and (max-height: 780px) {
  .system-section { min-height: 0; padding-block: 40px; }
}

@media (min-width: 1800px) {
  :root { --max: 1760px; --gutter: 84px; }
  .site-header { --pill-h: 66px; --brand-w: 128px; }
  .header-stage { width: min(100%, 1380px); }
  .pill-brand { padding: 8px 8px 8px 26px; }
  .header-cta { right: 8px; top: 8px; }
  .header-cta .button { min-height: 50px; padding-inline: 24px; font-size: 11px; }
  .menu-toggle { right: 8px; width: 50px; height: 50px; }
  .brand-mark { height: 44px; }
  .brand-type strong { font-size: 19px; }
  .brand-type small { font-size: 7px; }
  .nav-links { gap: 32px; }
  .nav-links a { font-size: 12.5px; }
  .hero-grid { padding-top: 170px; }
  .hero h1 { font-size: clamp(122px, 6.3vw, 170px); }
  .hero-lede { max-width: 680px; margin-top: 36px; font-size: 22px; }
  .hero-actions { margin-top: 46px; gap: 14px; }
  .cta-pill { padding: 8px; }
  .cta-pill .button { min-height: 54px; padding-inline: 28px; font-size: 12px; }
  .hero-rail { grid-template-columns: repeat(4, minmax(0, 230px)) 1fr; padding-block: 28px 36px; }
  .hero-rail-list li span { font-size: 17px; }
  .hero-rail-list li small { font-size: 9.5px; }
  .hero-rail > p { font-size: 10px; }
  .hero-rail > p strong { font-size: 17px; }
  .hero-rail-list li i { width: 40px; height: 40px; }

  /* Shared type scale: labels and body copy step up so a 27"+ monitor doesn't read as fine print. */
  .section-index { font-size: 11px; }
  .button { min-height: 54px; padding-inline: 26px; font-size: 13px; }
  .button-small { min-height: 46px; font-size: 11px; }
  .button-large { min-height: 64px; padding-inline: 32px; }
  .line-link { font-size: 13px; }
  .services-intro .line-link { font-size: 12px; }

  /* Intro: wider rail and a bigger stack card so the two halves meet instead of leaving a gap in the middle. */
  .intro { --stage-top: 110px; --stage-bottom: 48px; }
  .intro-layout { grid-template-columns: minmax(320px, 470px) minmax(0, 1fr); gap: clamp(48px, 5vw, 110px); }
  .intro-rail { gap: 26px; }
  .intro-rail h2 { font-size: clamp(48px, 3.2vw, 62px); }
  .intro-lede { max-width: 440px; font-size: 17px; }
  .intro-steps button { padding-block: 15px; }
  .intro-steps strong { font-size: 22px; }
  .intro-steps span, .intro-steps small { font-size: 10.5px; }
  .stack-progress { font-size: 11px; }
  .scroll-stack-cards { max-width: 1120px; height: min(74svh, 820px); }
  .stack-card h3 { font-size: clamp(48px, 3.2vw, 66px); }
  .stack-card p { max-width: 440px; font-size: 18px; }
  .stack-copy { gap: 26px; padding: clamp(36px, 2.8vw, 52px); }
  .stack-num { font-size: 11px; }
  .stack-outcome { font-size: 15px !important; }
  .stack-outcome b { font-size: 9px; }

  /* Connected system */
  .system-copy > p { max-width: 560px; font-size: 16px; }
  .system-visual { gap: 18px; }
  .hotspot { gap: 11px; padding: 7px 15px 7px 7px; font-size: 11px; }
  .hotspot > span { width: 28px; height: 28px; font-size: 19px; }
  .hotspot-card { min-height: 96px; grid-template-columns: 72px 1fr; padding: 14px 22px 14px 14px; }
  .hotspot-card strong { font-size: 23px; }
  .hotspot-card p { font-size: 14px; }

  /* Services: taller stage so the panel fills a 1440-tall viewport, bigger tab type. */
  .services-heading h2 { font-size: clamp(56px, 3.8vw, 72px); }
  .services-intro { max-width: 460px; }
  .services-intro p { font-size: 17px; }
  .service-stage { column-gap: clamp(40px, 3vw, 64px); }
  .tab-group { font-size: 11px; }
  .service-tab { min-height: 54px; grid-template-columns: 34px 1fr auto; font-size: 19px; }
  .service-tab span { font-size: 11px; }
  .service-panel { min-height: clamp(600px, 54svh, 780px); }
  .service-detail { gap: 16px; }
  .service-meta { font-size: 12px; }
  .service-detail h3 { font-size: clamp(56px, 3.8vw, 72px); }
  .service-copy { max-width: 600px; font-size: 17px; }
  .service-symptom { font-size: 14.5px; }
  .service-symptom span { font-size: 10px; }
  .service-pair { font-size: 11.5px; }
  .service-tag { min-height: 40px; font-size: 11px; }
  .service-cta { min-height: 42px; font-size: 11px; }

  /* Resilience */
  .outage-label { font-size: 10px; }
  .condition-grid strong { font-size: 20px; }
  .condition-grid p { font-size: 15px; }
  .outage-line li { font-size: 16px; }
  .outage-line li small { font-size: 13px; }
  .outage-head strong { font-size: 17px; }

  /* Story: cap the reading column so the timeline does not stretch across the whole half. */
  .story-content > * { max-width: 780px; }
  .story-statement { font-size: clamp(40px, 2.6vw, 52px); }
  .day-timeline { margin-top: 36px; }
  .day-timeline li { padding: 15px 0; }
  .day-timeline time { font-size: 12px; }

  /* FAQ */
  .faq-heading > p { font-size: 15px; }
  .faq-list details { margin-bottom: 10px; padding-inline: 26px; }
  .faq-list summary { min-height: 70px; grid-template-columns: 48px 1fr 40px; font-size: 24px; }
  .faq-list summary span { font-size: 10px; }
  .faq-list summary i { width: 36px; height: 36px; }
  .faq-list summary i::before, .faq-list summary i::after { left: 10px; right: 10px; top: 17px; }
  .faq-list details p { max-width: 720px; margin-left: 60px; font-size: 15px; }

  /* Closing and footer */
  .final-location { font-size: 10px; }
  .footer-top { gap: 56px; }
  .footer-top > p { font-size: 13px; }
  .footer-status { font-size: 10px; }
  .footer-top nav, .footer-contact { gap: 12px; font-size: 12px; }
  .footer-top nav strong, .footer-contact > strong { font-size: 9px; }
  .footer-bottom { font-size: 9.5px; }

  /* Assessment modal */
  .assessment-modal { width: min(100% - 2 * var(--gutter), 1200px); height: min(90svh, 960px); }
  .assessment-form-wrap > p { font-size: 15.5px; }
  .next-steps strong { font-size: 17px; }
  .next-steps p { font-size: 13px; }
  .form-grid input, .form-grid select { height: 50px; font-size: 15px; }
  .form-grid label > span { font-size: 10px; }
  .form-note { font-size: 9px; }
}

/* Ultrawide (2560+): let the canvas grow one more step so centred sections stop reading as a strip. */
@media (min-width: 2400px) {
  :root { --max: 1960px; --gutter: 100px; --block-inset: 14px; }
  .header-stage { width: min(100%, 1520px); }
  .hero-lede { max-width: 740px; }
  .hero-rail { grid-template-columns: repeat(4, minmax(0, 260px)) 1fr; }
  .intro-layout { width: min(100%, 2240px); grid-template-columns: minmax(360px, 500px) minmax(0, 1fr); }
  .intro-lede { max-width: 480px; }
  .scroll-stack-cards { max-width: 1480px; height: min(76svh, 980px); }
  .stack-card h3 { font-size: clamp(60px, 2.9vw, 78px); }
  .stack-card p { max-width: 500px; font-size: 20px; }
  .stack-copy { gap: 30px; padding: clamp(48px, 2.6vw, 64px); }
  .stack-outcome { font-size: 17px !important; }
  .system-copy { padding-right: clamp(40px, 4vw, 120px); }
  .service-panel { min-height: clamp(660px, 56svh, 860px); }
  .story-content > * { max-width: 860px; }
  .story-content { padding-inline: clamp(72px, 5vw, 140px); }
  .final-inner { max-width: 1100px; }
  .assessment-modal { width: min(100% - 2 * var(--gutter), 1320px); }
}

@media (max-width: 1180px) {
  .header-cta .button-ghost { display: none; }
  .nav-links { gap: 18px; }
  .hero-copy { grid-column: 1 / -1; }
  .hero-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-rail > p { display: none; }
  .service-tab { font-size: 15px; }
  .story { grid-template-columns: 1fr 1fr; }
  .wiring-trades strong { font-size: 15px; }
  .day-timeline li { grid-template-columns: 62px 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top > p { display: none; }
}

@media (max-width: 900px) {
  .site-header { inset-block-start: 12px; --pill-h: 54px; }
  .pill-brand { padding: 5px 5px 5px 18px; }
  .site-header.is-scrolled .pill-brand { width: 100%; }
  .site-header.is-scrolled .brand-type { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav, .pill-actions, .header-cta { display: none; }
  .menu-toggle { right: 5px; width: 40px; height: 40px; opacity: 1; transform: translateY(-50%); pointer-events: auto; }
  .menu-panel { width: 100%; }
  .menu-links a { padding-block: 14px; font-size: 19px; }
  :root { --gutter: 24px; }
  .section-pad { padding-block: 90px; }
  .site-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hero { min-height: 700px; height: 100svh; }
  .hero-grid { align-content: end; padding-top: 110px; padding-bottom: 28px; }
  .hero-lede { max-width: 520px; }
  .hero-rail { grid-template-columns: 1fr 1fr; row-gap: 14px; padding-block: 18px 28px; }
  .intro-copy { grid-column: 2 / 7; }
  .intro-side { grid-column: 2 / 6; margin-top: 35px; }
  .wiring { margin-top: 48px; }
  .wiring-trades { grid-template-columns: 1fr 1fr; }
  .wiring-bus { display: block; height: 56px; }
  .wiring-bus .drop, .wiring-bus .rail { display: none; }
  .wiring-bus .stem { top: 0; height: 56px; transition-delay: .3s; }
  .wiring-node { grid-template-columns: 1fr; gap: 20px; transition-delay: .7s; }
  .section-index { grid-column: 1 / 2; }
  .system-grid { min-height: 0; }
  .system-copy { grid-column: 1 / 7; padding: 35px 0 60px; }
  .system-visual { grid-column: 1 / 7; }
  .services-heading { grid-column: 2 / 5; }
  .services-intro { grid-column: 5 / 7; max-width: 440px; }
  .service-stage { margin-top: 56px; }
  .service-tabs { grid-column: 1 / 3; }
  .service-tab { min-height: 52px; font-size: 18px; }
  .service-panel { grid-column: 3 / 7; min-height: 640px; }
  .resilience-image img { object-position: 60% 50%; }
  .resilience-shade { background: linear-gradient(180deg, rgba(7,26,51,.8) 0%, rgba(7,26,51,.7) 50%, rgba(7,26,51,.9) 100%); }
  .resilience-title, .condition-grid, .outage-line { grid-column: 1 / 7; }
  .next-steps { grid-template-columns: 1fr; gap: 16px; }
  .story { grid-template-columns: 1fr; }
  .story-image { min-height: 600px; }
  .story-content { grid-row: 2; grid-column: 1; margin: -32px 0 0; padding: 85px var(--gutter); border-radius: 40px 40px 0 0; box-shadow: 0 -24px 48px -24px rgba(7,26,51,.7); }
  .story-content .section-index { margin-bottom: 55px; }
  .assessment-modal-panel { grid-template-columns: 1fr; }
  .assessment-media { display: none; }
  .assessment-form-wrap { padding: 56px var(--gutter) 40px; }
  .faq-heading { grid-column: 1 / 7; padding-right: 0; }
  .faq-heading .section-index { margin-bottom: 45px; }
  .faq-list { grid-column: 1 / 7; margin-top: 60px; }
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 25px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
  .footer-contact > strong { margin: 0; }
}

@media (max-width: 620px) {
  :root { --r-xl: 26px; --r-lg: 18px; --block-inset: 0px; }
  h2 { font-size: clamp(40px, 13vw, 59px); }
  .hero { min-height: 640px; }
  .hero-actions { margin-top: 28px; }
  .hero-lede { font-size: 15px; overflow-wrap: anywhere; }
  /* Phone: the four systems become a swipeable row of chips. */
  .hero-rail { display: block; padding: 16px 0 96px; }
  .js .hero-rail { padding-bottom: 30px; }
  .hero-rail-list { display: flex; gap: 8px; margin: 0; padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hero-rail-list::-webkit-scrollbar { display: none; }
  .hero-rail-list li { flex: 0 0 auto; min-width: 47%; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 10px 16px 10px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(7,26,51,.45); scroll-snap-align: start; }
  .hero-rail-list li i { grid-row: span 2; width: 34px; height: 34px; border-radius: 9px; }
  .hero-rail-list li span { font-size: 14px; }
  .hero-rail-list li small { display: block; margin-top: 2px; font-size: 8px; white-space: nowrap; }
  .hero-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px; width: 100%; }
  .hero-actions .button { min-width: 0; min-height: 50px; padding: 0 12px; font-size: 9.5px; letter-spacing: .06em; white-space: nowrap; }
  .hero-actions svg { display: none; }
  .section-index { grid-column: 1 / 7; margin-bottom: 35px; }
  .intro-copy, .intro-side, .services-heading, .services-intro { grid-column: 1 / 7; }
  .intro-side { max-width: none; }
  /* Phones: stage on top, systems as a chip row, card below. No hotspots over a tiny image. */
  .system-visual { gap: 12px; }
  .system-stage { aspect-ratio: 4 / 3; }
  .system-stage img, .system-layer { object-position: 50% 50%; }
  .system-picks { position: static; aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; pointer-events: auto; }
  .hotspot { position: static; transform: none; padding: 6px 14px 6px 6px; }
  .hotspot.is-active::before { animation: none; opacity: 0; }
  .hotspot-card { grid-template-columns: 56px 1fr; min-height: 0; }
  .hotspot-card strong, .hotspot-card p { padding-left: 16px; }
  .flow-lines { display: none; }
  .services-intro { max-width: none; margin-top: 24px; }
  .service-stage { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
  .service-tabs { flex-direction: row; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .service-tabs::-webkit-scrollbar { display: none; }
  .service-tab { flex: 0 0 auto; width: auto; min-height: 44px; grid-template-columns: auto 1fr; gap: 8px; padding: 0 16px 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14px; white-space: nowrap; }
  .service-tab i { display: none; }
  .service-tab.is-active { border-color: var(--navy); }
  .tab-group { display: none; }
  /* Phones: one swipeable card per service, chips above act as the index. */
  .js .service-panel { display: none; }
  .service-carousel { position: relative; display: flex; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .service-carousel::-webkit-scrollbar { display: none; }
  .service-card { flex: 0 0 min(82vw, 330px); display: flex; flex-direction: column; scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; color: var(--white); background: var(--navy); box-shadow: 0 18px 40px -22px rgba(7,26,51,.5); }
  .service-card figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
  .service-card img, .service-card video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--navy); }
  .service-card video { position: absolute; inset: 0; }
  .service-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,51,.35), rgba(7,26,51,0) 40%, rgba(7,26,51,.7) 100%); }
  .service-card .service-tag { position: absolute; z-index: 1; top: 12px; left: 12px; min-height: 30px; padding-inline: 12px; font-size: 9px; }
  .service-card .service-tag b { padding-right: 8px; }
  .service-card i { position: absolute; z-index: 1; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--white); background: rgba(13,138,210,.9); }
  .service-card i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .service-card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 18px; }
  .service-card-body h3 { margin: 0; color: var(--white); font-size: clamp(26px, 7.6vw, 30px); line-height: 1.02; }
  .service-card-meta { margin: 0; color: var(--sky-2); font-family: var(--ui); font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
  .service-card-copy { margin: 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.6; }
  .service-card .service-symptom { align-items: flex-start; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12.5px; line-height: 1.45; }
  .service-card .service-symptom span { flex-shrink: 0; margin-top: 1px; }
  .service-card-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 4px; }
  .service-card .service-pair { font-size: 9px; }
  .service-card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-bright); font-family: var(--ui); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .service-card-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
  .service-count { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--muted); font-family: var(--ui); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
  .service-count b { color: var(--navy); font-weight: 600; }
  .service-count span { flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
  .service-count span i { display: block; width: var(--w, 12.5%); height: 100%; background: var(--blue); transition: width .35s var(--ease); }
  .service-panel { min-height: min(600px, 135vw); border-radius: var(--r-md); }
  .service-panel-top { padding: 16px; }
  .service-cta { display: none; }
  .service-detail { gap: 10px; padding: 20px 18px 22px; }
  .service-detail h3 { font-size: 40px; }
  .service-copy { font-size: 14px; }
  .service-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-block + .section-block { margin-top: 12px; }
  .resilience, .resilience-copy { min-height: 0; }
  .resilience-copy { padding-top: 76px; padding-bottom: 64px; }
  .resilience-title h2 { font-size: clamp(36px, 11vw, 48px); }
  .condition-grid { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; }
  .condition-grid li { grid-template-columns: 1fr; row-gap: 0; padding: 14px 14px 15px; }
  .condition-grid .ico { grid-row: auto; margin: 0 0 10px; }
  .condition-grid strong { font-size: 15px; line-height: 1.2; }
  .condition-grid p { margin-top: 5px; font-size: 12.5px; line-height: 1.5; }
  .outage-line { gap: 12px; margin-top: 8px; padding: 16px 16px 18px; }
  .outage-head { padding-bottom: 12px; }
  .outage-head strong { font-size: 14px; }
  .outage-line ol { grid-template-columns: 1fr; gap: 10px; }
  .outage-line li { grid-template-columns: 24px 1fr; align-items: center; }
  .outage-line li small { grid-column: 2; margin-top: 0; }
  .outage-line li b { width: 24px; height: 24px; }
  .outage-line li + li::before { display: none; }
  /* Phone: photo crops to a 4:3 frame that keeps the family in view, copy sits on a raised card. */
  .story-image { min-height: 0; aspect-ratio: 4 / 3; }
  .story-image img { object-position: var(--pos-m, 50% 40%); }
  .story-image::after { background: linear-gradient(0deg, rgba(7,26,51,.7), transparent 55%); }
  .story-content { margin-top: -36px; padding: 40px var(--gutter) 60px; border-radius: 32px 32px 0 0; }
  .story-content .section-index { margin-bottom: 22px; }
  .story-statement { font-size: clamp(32px, 10vw, 44px); }
  .day-timeline { margin-top: 26px; }
  .day-timeline li { grid-template-columns: 62px 1fr; gap: 14px; padding: 13px 0; }
  .day-timeline time { font-size: 11px; }
  .day-timeline p { font-size: 15px; line-height: 1.4; }
  .reassure { gap: 18px; }
  /* Phone: assessment modal becomes a bottom sheet. */
  .assessment-modal { width: 100%; height: auto; max-height: calc(100svh - 28px); margin: auto 0 0; border-radius: 28px 28px 0 0; box-shadow: 0 -20px 60px rgba(7, 26, 51, .5); touch-action: pan-y; }
  .assessment-modal[open] { animation: sheetIn .5s cubic-bezier(.2, .8, .2, 1); }
  @keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
  .assessment-modal-panel { position: relative; display: flex; flex-direction: column; height: auto; max-height: calc(100svh - 28px); }
  .assessment-form-wrap { flex: 1 1 auto; min-height: 0; }
  .sheet-handle { display: block; position: absolute; z-index: 5; top: 10px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: rgba(255, 255, 255, .45); }
  .assessment-close { top: 22px; right: 16px; width: 38px; height: 38px; }
  .assessment-form-wrap { padding: 52px var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px)); -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 44px); mask-image: linear-gradient(to bottom, transparent 0, #000 44px); }
  .assessment-form-wrap h2 { font-size: clamp(28px, 8vw, 34px); }
  .assessment-form-wrap > p { margin: 10px 0 18px; font-size: 13px; line-height: 1.55; }
  .next-steps { grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 20px; padding: 0 0 18px; }
  .next-steps li { grid-template-columns: 1fr; row-gap: 6px; }
  .next-steps span { grid-row: auto; width: 22px; height: 22px; font-size: 8px; }
  .next-steps strong { font-size: 13px; }
  .next-steps p { display: none; }
  .form-grid { grid-template-columns: 1fr; gap: 10px; }
  .form-wide { grid-column: 1; }
  .form-grid label > span { margin-bottom: 6px; font-size: 10px; }
  .form-grid input, .form-grid select { height: 52px; font-size: 16px; }
  .field-error { min-height: 14px; }
  .form-submit { position: sticky; bottom: env(safe-area-inset-bottom, 0px); z-index: 2; margin-top: 12px; min-height: 56px; box-shadow: 0 -16px 24px -6px var(--blue), 0 10px 24px rgba(7, 26, 51, .35); }
  .reassure { gap: 14px; margin-top: 16px; font-size: 9px; }
  .form-note { font-size: 8px; }
  .form-success h3 { font-size: 32px; }
  .form-success .success-actions .button { width: 100%; }
  .faq-list summary { min-height: 84px; grid-template-columns: 27px 1fr 32px; font-size: 15px; }
  .faq-list details p { margin-left: 39px; margin-right: 15px; }
  .final-lines { display: none; }
  .final-cta { padding: 96px 24px 56px; }
  /* Phone: no capsule around stacked buttons, just two full-width pills. */
  .final-inner > .cta-pill { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .final-inner > .cta-pill .button { width: 100%; min-height: 56px; font-size: 11.5px; }
  .final-inner > .cta-pill .button-accent { box-shadow: 0 10px 30px rgba(7,26,51,.55); }
  .final-inner > .cta-pill .button-ghost { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
  .site-footer { padding: 0 24px 25px; }
  .footer-top { padding-top: 40px; padding-bottom: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .brand-footer { grid-column: 1 / -1; }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom { flex-direction: column; }
  .intro { --stage-bottom: 84px; }
  /* Floating white pill holding both actions, lifted off the page edge. */
  .mobile-action-bar { position: fixed; z-index: 90; inset: auto 12px calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; border: 1px solid rgba(11,37,69,.08); border-radius: var(--r-pill); background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 14px 40px rgba(7,26,51,.28), 0 2px 6px rgba(7,26,51,.12); transition: transform .45s var(--ease), opacity .3s; }
  .js .mobile-action-bar { transform: translateY(140%); opacity: 0; }
  .js .mobile-action-bar.is-visible { transform: none; opacity: 1; }
  .js body.menu-open .mobile-action-bar { transform: translateY(140%); opacity: 0; }
  .mobile-action-bar a { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 10px; border-radius: var(--r-pill); color: var(--navy); font-family: var(--ui); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
  .mobile-action-bar a[data-call] { justify-content: flex-start; gap: 9px; padding: 0 6px 0 4px; }
  .mobile-action-bar a[data-call] i { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--blue); background: rgba(13,138,210,.12); }
  .mobile-action-bar a[data-call] .ico { width: 16px; height: 16px; stroke: currentColor; }
  .mobile-action-bar a[data-call] span { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
  .mobile-action-bar a[data-call] small { color: var(--muted); font-size: 8px; font-weight: 500; letter-spacing: .08em; }
  .mobile-action-bar a[data-call] strong { font-size: 11px; font-weight: 600; letter-spacing: .03em; white-space: nowrap; }
  .mobile-action-bar a[href="#assessment"] { color: var(--white); background: var(--blue); box-shadow: 0 6px 16px rgba(13,138,210,.35); }
  .mobile-action-bar a[href="#assessment"] svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .final-cta { transform: none; }
  .js .day-timeline.is-armed li { opacity: 1; transform: none; }
  .js .cue, .js .cue .w, .js .hero h1 .w, .js .cue-clip > picture, .js .cue-clip > img, .js .cue-clip > video, .js .resilience-image.cue img { opacity: 1; translate: none; scale: none; filter: none; clip-path: none; }
  .outage-line li b, .flow-link, .flow-end, .hotspot::before { animation: none; }
  .system-focus { transition: none; }
}


/* Julio feedback: short benefits with details available on demand. */
.service-benefits { margin: 0; padding-left: 1.2em; color: var(--white); font-size: 16px; line-height: 1.6; }
.service-benefits li + li { margin-top: 6px; }
.service-benefits li::marker { color: var(--blue); }
.service-more { border-top: 1px solid rgba(255,255,255,.2); padding-top: 12px; }
.service-more summary { cursor: pointer; color: #70cff8; font-size: 15px; font-weight: 600; padding: 6px 0; }
.service-more summary:focus-visible { outline: 2px solid #70cff8; outline-offset: 4px; }
.service-more[open] summary { margin-bottom: 10px; }
.service-more .service-symptom { margin-top: 14px; padding-top: 12px; }
.hero-rail-list li:has(a) { display: block; padding: 0; }
.hero-rail-list li > a { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; align-items: center; padding: 14px 18px; color: inherit; text-decoration: none; }
.hero-rail-list li > a i { grid-row: span 2; }
.hero-rail-list a:focus-visible { outline: 2px solid #70cff8; outline-offset: -3px; border-radius: inherit; }
.hero-lede { max-width: 780px; }
#services, #intro, #systems { scroll-margin-top: 130px; }
@media(max-width:620px) {
 .js .service-panel { display: none; }
 .service-benefits { font-size: 14px; }
 .service-card-body { gap: 14px; }
 .service-card-body > .service-more { margin-bottom: 4px; }
 .service-card-foot { margin-top: auto; }
 .hero-lede { font-size: 15px; line-height: 1.6; }
}

.service-pair[hidden] { display: none; }
.hero-rail-list li > a { height: 100%; grid-template-columns: 32px minmax(0, 1fr); }
.hero-rail-list li > a small { grid-column: 2; }

/* Remove solar from the still and every existing animated layer. */
.system-roof-correction { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

@media (max-width: 620px) {
  .mobile-action-bar a[data-call] { justify-content: center; padding: 0 8px; background: var(--navy); color: var(--white); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 6px 16px rgba(7,26,51,.2); }
  .mobile-action-bar a[data-call] i { background: rgba(255,255,255,.12); color: var(--white); width: 34px; height: 34px; }
  .mobile-action-bar a[data-call] small { color: rgba(255,255,255,.75); }
  .mobile-action-bar a[data-call]:hover { background: #174776; }
  .mobile-action-bar a[data-call]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
}

@media (max-width: 620px) {
  .site-footer .footer-contact { display: none; }
}

/* Paired contact actions keep the service context on every screen. */
.service-actions {display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;max-width:100%;}
.service-actions .button,.service-card-foot .button {min-height:48px;padding:12px 18px;white-space:normal;text-align:center;line-height:1.25;}
.service-panel-top {gap:20px;align-items:flex-start;}
.service-card-foot {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;}
.service-card-foot .button {font-size:13px;min-width:0;}
.service-card-foot .button-ghost {color:#fff;border:1px solid currentColor;background:transparent;}
.menu-guide-link {display:block;padding:16px 24px;}
@media (min-width:621px) and (max-width:1000px) {.service-panel-top {flex-direction:column;}.service-actions {justify-content:flex-start;}}
@media (max-width:360px) {.service-card-foot {grid-template-columns:1fr;}}

/* Compact service rail with generous spacing inside each shortcut. */
@media (min-width: 621px) {
  .hero-rail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 24px; }
  .hero-rail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
  .hero-rail-list li > a { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 20px; padding: 8px 0; min-height: 64px; align-content: center; }
  .hero-rail-list li > a i { width: 40px; height: 40px; align-self: center; }
  .hero-rail-list li > a span { font-size: 16px; line-height: 1.35; white-space: nowrap; }
  .hero-rail-list li > a small { font-size: 10px; line-height: 1.5; letter-spacing: .05em; white-space: nowrap; }
  .hero-rail > p { display: none; margin: 0; }
}
@media (min-width: 1200px) {
  .hero-rail-list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
}
@media (min-width: 1400px) {
  .hero-rail { grid-template-columns: minmax(0, 1fr) 220px; column-gap: 32px; }
  .hero-rail > p { display: block; grid-column: auto; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
  .hero-rail > p strong { font-size: 13px; line-height: 1.5; }
  .hero-rail > p { font-size: 8px; letter-spacing: .08em; }
}

/* A call action stays available beside the visit button and mobile menu. */
@media (max-width: 1180px) {
  .header-cta .button-ghost { display: inline-flex; width: 44px; min-width: 44px; padding: 0; justify-content: center; }
  .header-cta .header-call-label { display: none; }
  .header-cta .button-ghost svg { width: 18px; height: 18px; }
}
@media (min-width: 901px) and (max-width: 1050px) {
  .nav-links { gap: 12px; } .nav-links a { font-size: 9px; }
  .header-cta .button-accent { padding-inline: 12px; }
}
@media (max-width: 900px) {
  .header-cta { display: flex; right: 54px; top: 7px; }
  .header-cta .button-accent { display: none; }
  .header-cta .button-ghost { width: 40px; min-width: 40px; min-height: 40px; }
}
@media (min-width: 1181px) { .footer-top { grid-template-columns: 1.2fr 1fr .8fr; } }

/* Services panel: the photo fills the frame and every element lives inside it.
   The tab list stretches to the same height so the two columns always line up. */
.service-stage { align-items: stretch; }
.service-tabs { gap: 6px; }
.service-tab { flex: 1 1 0; min-height: 52px; border-radius: 14px; }
.service-tab.is-active::before, .service-tab.is-active + .service-tab::before, .service-tab:hover::before, .service-tab:hover + .service-tab::before { opacity: 0; }
.service-panel { display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(540px, 62svh, 700px); padding-top: 110px; isolation: isolate; }
.service-panel .service-image { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.service-panel .service-panel-overlay { display: block; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,26,51,.58) 0%, rgba(7,26,51,.08) 26%, rgba(7,26,51,.06) 46%, rgba(7,26,51,.74) 72%, rgba(7,26,51,.95) 100%); }
.service-panel .service-panel-top { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 16px; padding: clamp(18px, 2vw, 28px); background: none; }
.service-panel .service-actions { gap: 8px; }
.service-panel .service-actions .button { min-height: 44px; padding: 0 18px; font-size: 10.5px; }
.service-panel .service-detail { position: relative; inset: auto; z-index: 2; display: grid; gap: 14px; max-width: 680px; padding: clamp(24px, 2.6vw, 40px); }
.service-panel .service-meta { display: block; order: 10; justify-self: end; width: fit-content; max-width: 100%; margin: 2px 0 0; white-space: normal; color: rgba(174,215,240,.85); font-size: 9.5px; line-height: 1.55; letter-spacing: .12em; text-align: right; }
@media (min-width: 1181px) {
  /* Detail goes static so the meta line anchors to the panel corner, not the 740px detail box. */
  .service-panel .service-detail { position: static; }
  .service-panel .service-detail > * { position: relative; z-index: 2; }
  .service-panel .service-meta { position: absolute; right: clamp(18px, 2vw, 28px); bottom: clamp(24px, 2.6vw, 40px); z-index: 2; max-width: 240px; margin: 0; text-wrap: balance; }
  .service-panel .service-more .service-symptom { padding-right: 240px; }
  .service-panel .service-detail { max-width: 740px; }
}
.service-panel .service-detail h3 { font-size: clamp(38px, 3.4vw, 60px); text-wrap: balance; }
.service-benefits { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; font-family: var(--ui); font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.service-benefits li { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; white-space: nowrap; padding: 6px 14px 6px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-pill); background: rgba(7,26,51,.46); backdrop-filter: blur(10px); }
.service-benefits li + li { margin-top: 0; }
.service-benefits li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%273.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m5 12.5 4.5 4.5L19 7%27/%3E%3C/svg%3E") center / 11px no-repeat; }
.service-more { border-top: 0; padding-top: 2px; }
.service-more summary { display: inline-flex; align-items: center; gap: 10px; padding: 0; color: var(--white); font-family: var(--ui); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; list-style: none; }
.service-more summary::-webkit-details-marker { display: none; }
.service-more summary::after { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27 fill=%27none%27 stroke=%27white%27 stroke-width=%271.8%27 stroke-linecap=%27round%27%3E%3Cpath d=%27M10 5v10M5 10h10%27/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.service-more summary:hover::after { background-color: rgba(255,255,255,.14); }
.service-more[open] summary { margin-bottom: 12px; }
.service-more[open] summary::after { transform: rotate(45deg); }
.service-more .service-copy { max-width: 560px; font-size: 15px; line-height: 1.6; }
.service-more .service-symptom { margin-top: 12px; padding-top: 0; }
@media (max-width: 1180px) {
  .service-panel { padding-top: 150px; }
  .service-benefits { gap: 6px; font-size: 12.5px; }
  .service-benefits li { min-height: 33px; padding: 5px 12px 5px 7px; }
  .service-benefits li::before { width: 18px; height: 18px; }
  .service-panel .service-panel-top { flex-direction: column; }
  .service-panel .service-actions { justify-content: flex-start; }
}
@media (min-width: 901px) {
  .service-panel .service-detail h3 { font-size: clamp(40px, 3.4vw, 60px); }
}
@media (min-width: 621px) and (max-width: 900px) {
  .service-panel { min-height: clamp(480px, 72vw, 600px); border-radius: var(--r-md); }
  .service-panel .service-detail { padding: 22px; }
  .service-panel .service-detail h3 { font-size: clamp(34px, 5.4vw, 44px); }
}

/* Responsive pictures retain the existing image frames and crops. */
picture.responsive-image { display: block; width: 100%; height: 100%; }
.hero-media > picture { position: absolute; inset: 0; }
.hero-media > video { position: absolute; inset: 0; opacity: 0; }
.hero-media > video.is-ready { opacity: 1; }
.service-panel > picture { position: absolute; inset: 0; }

/* Cookie consent: banner (first visit) and preferences dialog (footer / banner link). Built by analytics.js. */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.consent-banner { position: fixed; z-index: 120; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: min(100% - 36px, 460px); display: grid; gap: 14px; padding: 18px 20px; border: 1px solid rgba(11,37,69,.12); border-radius: var(--r-md); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 18px 44px rgba(7,26,51,.22), 0 2px 6px rgba(7,26,51,.08); color: var(--ink); font-family: var(--ui); font-size: 13px; line-height: 1.5; animation: consent-in .4s var(--ease) both; }
.consent-banner p { margin: 0; }
.consent-banner strong { display: block; margin-bottom: 4px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -.02em; color: var(--navy); }
.consent-banner a { color: var(--blue-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.consent-banner a:hover { color: var(--navy); }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.consent-actions button { cursor: pointer; min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--navy); font: 600 11px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s; }
.consent-accept { background: var(--navy); color: var(--white); }
.consent-accept:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.consent-decline { background: transparent; color: var(--navy); }
.consent-decline:hover { background: rgba(11,37,69,.06); }
.consent-actions .consent-link { min-height: 0; padding: 0; border: 0; background: none; color: var(--blue-deep); text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.consent-actions .consent-link:hover { color: var(--navy); }
.consent-banner :focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.consent-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100svh - 32px); margin: auto; padding: 0; overflow-y: auto; border: 0; border-radius: var(--r-lg); color: var(--ink); background: var(--white); box-shadow: 0 40px 90px -20px rgba(7,26,51,.6); }
.consent-dialog::backdrop { background: rgba(7,26,51,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.consent-dialog form { margin: 0; }
.consent-dialog header { position: relative; padding: 32px 76px 22px 32px; border-bottom: 1px solid rgba(11,37,69,.12); }
.consent-dialog h2 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 38px); }
.consent-dialog header p { margin: 0; max-width: 460px; font-size: 14px; line-height: 1.55; color: rgba(16,26,44,.8); }
.consent-close { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(11,37,69,.25); border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; transition: background .2s, transform .25s var(--ease); }
.consent-close:hover { background: rgba(11,37,69,.06); transform: rotate(90deg); }
.consent-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.consent-row { display: flex; align-items: flex-start; gap: 24px; padding: 20px 32px; border-bottom: 1px solid rgba(11,37,69,.12); }
.consent-row > div { flex: 1 1 auto; min-width: 0; }
.consent-row h3 { margin: 0 0 4px; font-size: 19px; color: var(--navy); }
.consent-row p { margin: 0; font-size: 13px; line-height: 1.55; color: rgba(16,26,44,.8); }
.consent-state { flex-shrink: 0; padding-top: 4px; font-family: var(--ui); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); }
.consent-switch { position: relative; flex-shrink: 0; width: 50px; height: 28px; margin-top: 2px; cursor: pointer; }
.consent-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.consent-switch input + span { position: absolute; inset: 0; border-radius: 999px; background: rgba(11,37,69,.2); transition: background .2s; }
.consent-switch input + span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(7,26,51,.3); transition: transform .2s var(--ease); }
.consent-switch input:checked + span { background: var(--blue-button); }
.consent-switch input:checked + span::after { transform: translateX(22px); }
.consent-switch input:focus-visible + span { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.consent-dialog footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 22px 32px 30px; }
.consent-dialog footer > a { font-family: var(--ui); font-size: 13px; color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.consent-dialog footer div { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
  .consent-banner { left: 12px; width: calc(100% - 24px); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); padding: 16px; }
  .consent-dialog header, .consent-row, .consent-dialog footer { padding-inline: 20px; }
  .consent-dialog footer div, .consent-dialog footer .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .consent-banner { animation: none; } }
