@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=IBM+Plex+Mono:wght@400;500&display=swap');
:root{--brand-blue:#1c39b9;--bg:#111;--surface:#191919;--ink:#f0f0f0;--muted:#a7a7a7;--line:#343434;--accent:#81a7ff;--diagram:#151515;--pad:clamp(24px,4.2vw,80px);--ease:cubic-bezier(.23,1,.32,1);font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:104px}body{margin:0;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:6px}img,svg{display:block;max-width:100%}h1,h2,h3,p{margin:0}button{color:inherit}h1,h2{font-weight:450;letter-spacing:-.055em;line-height:1.04}h2{font-size:clamp(40px,4.65vw,76px)}p{line-height:1.55;font-size:18px;letter-spacing:-.015em}.mono{font-family:'IBM Plex Mono',monospace;font-size:10px;font-weight:400;letter-spacing:.09em;line-height:1.5}.muted{color:var(--muted)}.skip{position:fixed;z-index:100;top:12px;left:12px;background:var(--ink);color:var(--bg);padding:12px 18px;transform:translateY(-160%)}.skip:focus{transform:translateY(0)}.header{height:104px;padding:0 var(--pad);position:absolute;z-index:5;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;color:#f0f0f0}.wordmark{font-size:19px;line-height:.9;letter-spacing:-.055em;font-weight:700;position:relative;display:inline-block}.nav{display:flex;gap:40px;align-items:center;font-size:13px}.nav>a{padding:12px 0;transition:color 180ms ease}.nav-contact{display:flex;gap:8px;align-items:center}.menu{display:none}.hero{min-height:660px;height:92svh;max-height:1100px;position:relative;color:#f0f0f0;display:flex;flex-direction:column;justify-content:flex-end;padding:128px var(--pad) clamp(56px,9vh,112px);isolation:isolate;background:#181818}.hero-image,.hero-shade{position:absolute;inset:0;width:100%;height:100%;z-index:-2;object-fit:cover;object-position:70% 45%}.hero-image{filter:saturate(.62) brightness(.86)}.hero-shade{z-index:-1;background:linear-gradient(180deg,#11111188 0%,#1111110a 30%,#111111e8 100%),linear-gradient(90deg,#111111b8,transparent 85%)}.hero h1{font-size:clamp(58px,8.4vw,132px);font-weight:450;line-height:.99;letter-spacing:-.06em}.hero h1>span{color:#e3e3e3}.round-link{display:inline-flex;gap:36px;align-items:center;font-size:14px}.circle{display:grid;place-items:center;width:52px;height:52px;border:1px solid #f0f0f066;border-radius:50%;font-size:24px;transition:background 180ms ease,color 180ms ease,transform 180ms var(--ease)}.section{padding:32px var(--pad) 96px}.section-index{display:flex;justify-content:space-between;color:var(--muted);gap:20px}.text-link{font-size:13px;display:inline-flex;gap:28px;margin-top:32px;padding-bottom:10px;border-bottom:1px solid var(--line)}.product{background:var(--bg);padding-top:32px;padding-bottom:48px;border-block:1px solid var(--line)}.product-heading{display:grid;gap:16px;margin:72px 0 48px}.product-overview{max-width:58ch;color:var(--muted)}.engineering{display:grid;grid-template-columns:1.4fr 1fr;gap:5%;align-items:center}.system{background:var(--diagram);border:1px solid var(--line);padding:18px;overflow:hidden}.diagram-meta,.diagram-footer{display:flex;justify-content:space-between;font-size:8px;color:var(--muted);gap:8px}.diagram-footer{border-top:1px solid var(--line);padding-top:12px}.circuit{position:relative;aspect-ratio:760/420;margin:20px 0}.circuit-lines{position:absolute;inset:0;width:100%;height:100%;color:#9d9d9d}.trace{stroke:#727272;stroke-width:1}.inner-trace{stroke:#989898}.node{fill:var(--accent)}.integrated-unit{position:absolute;left:16%;top:22%;width:68%;height:56%;background:#1d1d1d;border:1px solid #878787;color:#f0f0f0;padding:14px 18px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 0 0 9px #8686860a}.unit-label{font-size:7px;color:#b5b5b5;letter-spacing:.1em}.unit-core{display:flex;align-items:center;gap:15px;font-size:clamp(18px,2.1vw,34px);line-height:.94;letter-spacing:-.04em}.core-symbol{font-family:Arial,sans-serif;color:#c3c3c3;font-size:64px;font-weight:400;line-height:.8}.unit-functions{display:flex;justify-content:space-between;gap:10px;font-size:8px;color:#b0b0b0}.unit-functions span{padding:5px 8px;border:1px solid #626262;transition:background 180ms ease,color 180ms ease,border-color 180ms ease}.unit-functions span.active{background:#bebebe;color:#212121;border-color:#bebebe}.unit-corner{position:absolute;width:4px;height:4px;border-radius:50%;background:#bebebe}.unit-corner.a{top:5px;left:5px}.unit-corner.b{top:5px;right:5px}.unit-corner.c{bottom:5px;left:5px}.unit-corner.d{bottom:5px;right:5px}.port{position:absolute;font-size:7px;color:#a5a5a5;background:var(--diagram);padding:3px 6px}.port-left{left:0;top:46%}.port-right{right:0;top:46%}.port-top{top:0;left:50%;transform:translateX(-50%)}.port-bottom{bottom:0;left:50%;transform:translateX(-50%)}.function-hint{color:var(--muted);display:flex;justify-content:space-between;margin-bottom:28px;font-size:9px}.function{border-top:1px solid var(--line)}.function:last-child{border-bottom:1px solid var(--line)}.function h3{font-weight:450}.function button{border:0;background:none;cursor:pointer;text-align:left;display:flex;align-items:center;gap:16px;padding:24px 0;width:100%;font-size:18px;letter-spacing:-.025em}.function button .mono{color:var(--muted);font-size:9px}.plus{margin-left:auto;font-size:22px;font-weight:400;color:var(--muted)}.function [role=region]{overflow:hidden}.function-panel-content{padding:0 24px 24px 33px}.function [role=region] p{color:var(--muted);font-size:15px;max-width:350px}.conversion{display:block;color:var(--accent);font-size:9px;margin-top:20px}.product-foot{display:flex;justify-content:space-between;align-items:center;border-top:0;padding-top:30px;margin-top:36px;gap:24px}.product-foot p{font-size:15px}.button{display:flex;justify-content:space-between;gap:40px;align-items:center;min-height:48px;background:var(--ink);color:var(--bg);font-size:13px;padding:14px 20px;transition:transform 160ms var(--ease),background 180ms ease}.button span{font-size:20px}.button:active,.round-link:active .circle{transform:scale(.97)}footer{padding:48px var(--pad) 22px}.footer-main{display:flex;align-items:center;justify-content:space-between;gap:30px}.footer-main p{color:var(--muted);font-size:13px}.back-top{font-size:12px;display:flex;gap:24px;padding:12px 0}.footer-bottom{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:20px;margin-top:46px;font-size:9px;color:var(--muted)}
@media(hover:hover) and (pointer:fine){.round-link:hover .circle{background:var(--ink);color:var(--bg);transform:translate(2px,-2px)}.nav>a:hover{color:#c7c7c7}.text-link:hover{color:var(--accent)}.function button:hover{color:var(--accent)}.button:hover{background:var(--accent)}}
@media(min-width:1800px){.section,footer,.header,.hero{padding-left:max(var(--pad),calc((100vw - 1640px)/2));padding-right:max(var(--pad),calc((100vw - 1640px)/2))}}
@media(max-width:1000px){.nav{gap:24px}.engineering{gap:4%;grid-template-columns:1.2fr 1fr}.system{padding:12px}.diagram-meta,.diagram-footer{font-size:7px}.integrated-unit{padding:10px 14px}.unit-core{font-size:23px}.core-symbol{font-size:46px}.unit-functions{font-size:7px}.unit-functions span{padding:3px 5px}.function button{font-size:16px;gap:12px}}
@media(max-width:760px){html{scroll-padding-top:20px}.header{height:88px}.wordmark{font-size:17px}.menu{display:flex;align-items:center;gap:24px;border:none;background:transparent;padding:14px 0 14px 16px;font-size:13px}.menu>span{font-size:23px;line-height:1;transition:transform 160ms var(--ease)}.menu[aria-expanded=true]>span{transform:rotate(45deg)}.nav{display:none;position:absolute;inset:88px 0 auto;padding:18px var(--pad) 26px;background:#151515;border-bottom:1px solid #ffffff30;color:#f0f0f0;flex-direction:column;align-items:stretch;gap:0}.menu-open .nav{display:flex}.nav>a{padding:18px 0;font-size:18px;border-bottom:1px solid #ffffff20}.nav .nav-contact{margin:0;border:0;justify-content:flex-start}.hero{min-height:600px;height:92svh;max-height:950px;padding-top:112px;padding-bottom:56px}.hero-image{object-position:72% 40%}.hero h1{font-size:clamp(34px,9.6vw,65px)}.circle{width:44px;height:44px;font-size:22px}.section{padding-top:28px;padding-bottom:60px}.section-index{font-size:8px;gap:12px}.section-note{display:none}.product-heading{margin:50px 0 32px}.product-heading h2{font-size:clamp(39px,7.2vw,54px)}.engineering{grid-template-columns:1fr;gap:32px}.system{padding:16px}.diagram-meta,.diagram-footer{font-size:7px}.circuit{margin:18px 0}.unit-core{font-size:clamp(20px,5vw,32px)}.core-symbol{font-size:52px}.integrated-unit{padding:12px 16px}.unit-functions{font-size:8px}.unit-label{font-size:7px}.unit-functions span{padding:4px 8px}.function-hint{margin-bottom:22px}.function button{font-size:18px;padding:22px 0}.function-panel-content{padding-left:27px}.product-foot{align-items:start;gap:24px;flex-direction:column;margin-top:28px;padding-top:24px}.product-foot .button{min-width:210px}.footer-main{display:grid;grid-template-columns:1fr auto;gap:28px 18px}.back-top{grid-column:2;grid-row:1}.footer-bottom{margin-top:32px;font-size:8px;gap:18px;flex-wrap:wrap}footer{padding-top:32px}}
@media(max-width:374px){.integrated-unit{padding:10px 12px}.unit-core{font-size:18px;gap:10px}.core-symbol{font-size:42px}.unit-functions{font-size:7px}.unit-functions span{padding:3px 5px}.unit-label{font-size:6px}.diagram-footer{font-size:6px}.section-index{font-size:7px}}
@media(prefers-reduced-motion:no-preference){.hero-content{animation:arrive 800ms var(--ease) both}@keyframes arrive{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
@media print{.header,.menu,.back-top,.inquiry-form{display:none}.hero{min-height:auto;height:auto;padding-top:60px}.hero-image,.hero-shade{display:none}.hero,.contact-content{color:#111;background:#fff}.hero h1>span,.contact-side p{color:#555}.section{break-inside:avoid}.hero-content{padding-bottom:20px}}

.footer-main .wordmark{justify-self:start}

.wordmark img {
  width: clamp(96px, 8vw, 116px);
  height: auto;
}

.link-arrow {
  display: inline-block;
  align-self: center;
  flex: none;
  font-size: 14px;
  line-height: 1;
}

@media screen and (max-width: 760px), screen and (pointer: coarse) {
  html:has(.site-footer) {
    background-color: var(--bg);
    overscroll-behavior-y: none;
  }

  .footer-cover {
    background: var(--bg);
  }

  .site-footer {
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  }
}

@media screen and (orientation: landscape) and (pointer: coarse) {
  :root {
    --pad: max(clamp(24px, 4.2vw, 80px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }
}

.product-heading .conversion-term{white-space:nowrap}

.contact {
  padding: clamp(44px, 7vw, 96px) clamp(12px, 4.2vw, 80px);
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
  max-width: 1160px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid #2a3b68;
  border-radius: 24px;
  background: #111c3c;
  color: #f5f7ff;
  color-scheme: dark;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.contact-side h2 {
  max-width: 11ch;
  font-size: clamp(36px, 5.1vw, 68px);
  text-wrap: balance;
}

.contact-side p,
.inquiry-status {
  color: #cad5ef;
}

.contact-side .email {
  justify-self: start;
  font-size: 14px;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.inquiry-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

.inquiry-field {
  display: grid;
  gap: 8px;
}

.inquiry-field .mono {
  color: #dce5ff;
  font-size: 12px;
  text-transform: uppercase;
}

.inquiry-optional {
  color: #b3c2e5;
  letter-spacing: 0;
  text-transform: none;
}

.inquiry-field :is(input, textarea) {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #5b6d9b;
  border-radius: 12px;
  background: #1b2a50;
  color: #fff;
  font: inherit;
  font-size: 16px;
}

.inquiry-field :is(input, textarea)::placeholder {
  color: #aebddd;
  opacity: 1;
}

.inquiry-field textarea {
  min-height: 108px;
  resize: vertical;
}

.inquiry-form > .inquiry-field,
.inquiry-submit {
  margin-top: 20px;
}

.inquiry-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: #b6caff;
  color: #101e43;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.inquiry-submit:enabled:hover {
  background: #d2dfff;
}

.inquiry-submit:disabled {
  opacity: .68;
  cursor: wait;
}

.contact-content :is(a, input, textarea, button):focus-visible {
  outline: 2px solid #c5d4ff;
  outline-offset: 3px;
}

.inquiry-status {
  font-size: 14px;
}

.inquiry-status:not(:empty) {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .contact-content,
  .inquiry-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Accordion content and its indicator move together; interrupted clicks retarget. */
.function-list{overflow-anchor:none}
.function .plus{position:relative;width:14px;height:14px;flex:none;font-size:0}
.function .plus::before,.function .plus::after{content:"";position:absolute;left:1px;top:6px;width:12px;height:1.5px;background:currentColor}
.function .plus::after{transform:rotate(90deg);transition:transform 260ms cubic-bezier(.4,0,.2,1),opacity 200ms ease}
.function [aria-expanded=true] .plus::after{transform:rotate(90deg) scaleX(0);opacity:0}
@media(prefers-reduced-motion:reduce){.function .plus::after{transition:none}}

/* The mobile menu opens over the hero. */
@media(max-width:760px){
  .header .nav{inset:80px 16px auto;padding:8px 20px 12px;background:rgb(12 13 15 / .92);border:1px solid #ffffff26;border-radius:16px;box-shadow:0 12px 36px #00000026;color:#f5f5f5}
  .header .nav>a{border-bottom-color:#ffffff1f}
  .header .nav .nav-contact{border-bottom:0}
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  @media(max-width:760px){.header .nav{background:rgb(12 13 15 / .64);-webkit-backdrop-filter:blur(24px) saturate(.7);backdrop-filter:blur(24px) saturate(.7)}}
}


.hero-subcopy {
  margin-top: 24px;
  color: #e3e3e3;
  font-size: 17px;
  line-height: 1.55;
}

.product-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.product-label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media print {
  .hero-subcopy { color: #111; }
}

.products-menu {
  position: relative;
}

.products-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-chevron {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: rotate(45deg);
  transition: transform 180ms var(--ease);
}

.products-toggle[aria-expanded="true"] .nav-chevron {
  transform: translateY(3px) rotate(225deg);
}

.product-links {
  position: absolute;
  top: 100%;
  right: -20px;
  width: 296px;
  margin: 0;
  padding: 6px;
  list-style: none;
  color: #f0f0f0;
  background: #191919;
  border: 1px solid #ffffff30;
  border-radius: 12px;
}

.product-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 7px;
}

.product-links a:hover, .product-links a:focus-visible {
  background: #ffffff0d;
}

.product-links a span {
  color: #a8a8a8;
}

.hero.hero-stories {
  padding-bottom: clamp(24px, 4vh, 40px);
}

.hero-stories .hero-image {
  opacity: 0;
  transition: opacity 640ms ease-in-out;
}

.hero-stories .hero-image.is-active {
  opacity: 1;
}

.hero-stories .hero-cutaway {
  --cutaway-width: 1671;
  --cutaway-height: 941;
  --cutaway-crop-x: 0;
  --cutaway-position-x: .58;
  --cutaway-position-y: .72;
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  container-type: size;
}

.hero-cutaway .hero-image {
  /* Keep an opaque base so the two images never fade through the background. */
  z-index: auto;
  opacity: 1;
  object-position: calc(100% * var(--cutaway-position-x)) calc(100% * var(--cutaway-position-y));
}

.hero-cutaway::after {
  /* Anchor the supplied wordmark in the photo's source coordinates. */
  --cutaway-ratio: calc(var(--cutaway-width) / var(--cutaway-height));
  --photo-width: max(100cqw, calc(100cqh * var(--cutaway-ratio)));
  --photo-height: max(100cqh, calc(100cqw / var(--cutaway-ratio)));
  --photo-scale: calc(var(--photo-width) / var(--cutaway-width));
  content: "";
  position: absolute;
  left: calc((100cqw - var(--photo-width)) * var(--cutaway-position-x) + (1104 - var(--cutaway-crop-x)) * var(--photo-scale));
  top: calc((100cqh - var(--photo-height)) * var(--cutaway-position-y) + 612 * var(--photo-scale));
  width: calc(62 * var(--photo-scale));
  aspect-ratio: 384 / 132;
  background: url('/assets/endless-machines-black.webp') center / contain no-repeat;
  transform: skewY(-5deg);
  transform-origin: top left;
  pointer-events: none;
}

.hero-stories .hero-shade {
  background: linear-gradient(180deg, #090909a0, transparent 50%, #090909e8 100%),
              linear-gradient(90deg, #080808bf, #08080815 90%);
}

.hero-stories::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: clamp(64px, 12svh, 150px);
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero .hero-headline {
  font-size: clamp(54px, 8vw, 122px);
  letter-spacing: -.065em;
}

.hero .hero-headline-copy {
  color: #f0f0f0;
}

.hero-headline-line, .hero-words {
  display: grid;
}

.hero-headline-line {
  color: #e2e2e2;
}

.hero-headline-line > span, .hero-words > span {
  grid-area: 1 / 1;
}

.hero-headline-line > span {
  justify-self: start;
}

.hero-qualities {
  display: flex;
  gap: .19em;
}

.hero-flip {
  opacity: 0;
  transform: perspective(5em) translateY(.16em) rotateX(65deg);
  transition: opacity 140ms ease-in, transform 180ms ease-in;
}

.hero-flip.is-past {
  transform: perspective(5em) translateY(-.16em) rotateX(-65deg);
}

.hero-flip.is-active {
  opacity: 1;
  transform: perspective(5em) translateY(0) rotateX(0);
  transition: opacity 200ms var(--ease) 65ms, transform 240ms var(--ease) 65ms;
}

@media screen and (prefers-reduced-motion: no-preference) {
  @supports (background-clip: text) and (color: color-mix(in srgb, white, black)) {
    .hero-reimagined.is-active {
      /* Extend the clip below the line box without moving the subcopy. */
      padding-block-end: .2em;
      margin-block-end: -.2em;
      background-image: linear-gradient(105deg, currentColor 45%,
        color-mix(in srgb, white var(--shine-strength, 52%), currentColor) 50%, currentColor 55%);
      background-size: 240% 100%;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: hero-word-shine 950ms ease-in-out 420ms both;
    }

    [data-theme="blue"] .hero-reimagined {
      --shine-strength: 22%;
    }

    @keyframes hero-word-shine {
      from { background-position: 100% 50%; }
      to { background-position: 0% 50%; }
    }
  }
}

.hero-controls {
  display: flex;
  width: max-content;
  margin-top: 12px;
  margin-inline-start: auto;
  margin-inline-end: -10px;
}

.hero-controls[hidden] {
  display: none;
}

.hero-choice {
  display: grid;
  place-items: center;
  width: 28px;
  min-height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hero-choice::before {
  content: "";
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  border: 1px solid #f0f0f0b3;
  border-radius: 50%;
  transition: background-color 180ms ease;
}

.hero-choice[aria-pressed="true"]::before {
  border-color: #f0f0f0;
  background-color: #f0f0f0;
}

.hero-choice:focus-visible {
  outline-offset: -2px;
  border-radius: 6px;
}

.hero a:focus-visible, .hero button:focus-visible, .header :is(a, button):focus-visible {
  outline-color: #fff;
}

[data-theme="blue"] {
  --bg: #fcfcfe;
  --surface: #edf1ff;
  --footer-bg: var(--surface);
  --ink: #162345;
  --muted: #4e5b77;
  --line: #cdd6ee;
  --accent: var(--brand-blue);
  --diagram: #f7f9ff;
}

[data-theme="blue"]:has(.story + .site-footer) {
  --footer-bg: var(--brand-blue);
}

@media screen {
  [data-theme="blue"] .hero.hero-stories {
    --hero-gutter: max(var(--pad), calc((100vw - 1640px) / 2));
    background: var(--bg);
  }

  [data-theme="blue"] .hero-stories .hero-image {
    filter: saturate(1.04) brightness(1.04);
  }

  [data-theme="blue"] .hero-stories .hero-cutaway {
    transform: translateY(calc(-1 * clamp(88px, 12svh, 126px)));
  }

  [data-theme="blue"] .hero-stories .hero-shade {
    background: linear-gradient(180deg, #142347d9, #14234730 24%, transparent 44%);
  }

  [data-theme="blue"] .hero-content {
    position: relative;
    isolation: isolate;
  }

  [data-theme="blue"] .hero-content::before {
    --fade-lead: clamp(52px, 5.4vw, 82px);
    --fade-length: calc(var(--fade-lead) + clamp(44px, 5.6vw, 84px));
    content: "";
    position: absolute;
    z-index: -1;
    inset: calc(-1 * var(--fade-lead)) calc(-1 * var(--hero-gutter)) -40px;
    /* Ease the opacity at both ends so the fade has no visible edge. */
    background: linear-gradient(to bottom, transparent,
      color-mix(in srgb, var(--bg) 3%, transparent) calc(var(--fade-length) * .10),
      color-mix(in srgb, var(--bg) 10%, transparent) calc(var(--fade-length) * .20),
      color-mix(in srgb, var(--bg) 28%, transparent) calc(var(--fade-length) * .35),
      color-mix(in srgb, var(--bg) 50%, transparent) calc(var(--fade-length) * .50),
      color-mix(in srgb, var(--bg) 72%, transparent) calc(var(--fade-length) * .65),
      color-mix(in srgb, var(--bg) 90%, transparent) calc(var(--fade-length) * .80),
      color-mix(in srgb, var(--bg) 97%, transparent) calc(var(--fade-length) * .90),
      var(--bg) var(--fade-length));
    pointer-events: none;
  }

  [data-theme="blue"] .hero .hero-headline-copy {
    color: var(--ink);
  }

  [data-theme="blue"] .hero-headline-line,
  [data-theme="blue"] .vision h2 .muted,
  [data-theme="blue"] .story-lead h1 span {
    color: var(--brand-blue);
  }

  [data-theme="blue"] .hero-subcopy {
    color: var(--muted);
  }

  [data-theme="blue"] .hero-choice::before {
    border-color: var(--brand-blue);
  }

  [data-theme="blue"] .hero-choice[aria-pressed="true"]::before {
    background: var(--brand-blue);
  }

  [data-theme="blue"] :is(#benefits, .vision, .story-team) {
    background: var(--surface);
  }

  [data-theme="blue"] .site-footer {
    background: var(--footer-bg);
  }

  [data-theme="blue"] .story + .site-footer {
    --muted: #fff;
    --accent: #fff;
    color: #fff;
  }
}

@media screen and (max-width: 760px) and (orientation: portrait) {
  .hero-stories .hero-cutaway {
    --cutaway-width: 900;
    --cutaway-crop-x: 550;
    --cutaway-position-x: .56;
    --cutaway-position-y: .5;
  }

  [data-theme="blue"] .hero-stories .hero-cutaway {
    transform: translateY(calc(-1 * clamp(40px, 8svh, 76px)));
  }
}

[data-theme="blue"] .header-story {
  color: var(--ink);
  background: var(--bg);
  border-color: var(--line);
}

@media (min-width: 761px) {
  [data-theme="blue"] .product-links {
    color: var(--ink);
    background: var(--bg);
    border-color: var(--line);
  }

  [data-theme="blue"] :is(.header-story .nav > a:hover, .product-links a span) {
    color: var(--brand-blue);
  }

  [data-theme="blue"] .product-links a:is(:hover, :focus-visible) {
    background: var(--surface);
  }
}

[data-theme="blue"] :is(.hero-choice, .header-story a, .header-story button, .product-links a):focus-visible {
  outline-color: var(--brand-blue);
}

.market-intro.story-chapter {
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding-block: clamp(16px, 2vw, 28px) clamp(32px, 5vw, 72px);
  border: 0;
}

.market-intro .market-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 3.9vw, 60px);
}

.market-intro .story-prose {
  color: var(--muted);
}

.product-intro.story-chapter {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding-block: 0 clamp(36px, 4vw, 56px);
  border-bottom: 0;
}

.product-intro.story-chapter h2 {
  font-size: clamp(28px, 3.2vw, 46px);
}

.product-intro .story-prose {
  max-width: none;
  color: var(--muted);
}

.vehicle-carousel {
  min-width: 0;
  margin: 0;
}

.vehicle-track {
  display: flex;
  overflow-x: auto;
  aspect-ratio: 3 / 2;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  background: var(--surface);
  border-radius: 8px;
}

.vehicle-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.vehicle-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.vehicle-choices[hidden] {
  display: none;
}

.vehicle-choices button {
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: var(--surface);
  opacity: .6;
  cursor: pointer;
  transition: opacity 180ms ease;
}

.vehicle-choices button:hover, .vehicle-choices button[aria-current="true"] {
  opacity: 1;
}

.vehicle-choices button[aria-current="true"] {
  outline: 1px solid var(--muted);
  outline-offset: 2px;
}

.vehicle-track:focus-visible, .vehicle-choices button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.vehicle-choices img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: inherit;
}

#product {
  padding-top: 0;
  border-top: 0;
}

#product .product-heading {
  margin-top: 0;
}

.charging {
  padding-top: 8px;
  border-top: 0;
}

.charging .product-heading h2 {
  font-size: clamp(34px, 4.5vw, 70px);
}

.rectifier {
  margin: 0;
}

.rectifier-notes {
  display: grid;
  gap: 20px;
}

.rectifier-notes > div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.rectifier-notes h3, .vision-intro h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 6px;
}

.rectifier-notes p, .vision-intro p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 16px;
}

.vision {
  padding-block: clamp(56px, 7vw, 104px);
}

.vision-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 6%;
  align-items: start;
}

.vision h2 {
  font-size: clamp(38px, 4.6vw, 72px);
}

.vision-intro .text-link {
  margin-top: 20px;
}

.vision-intro p + p {
  margin-top: 12px;
}

.story-gallery figure {
  margin: 0;
}

.header-story {
  position: relative;
  background: #111;
  border-bottom: 1px solid #ffffff26;
}

.header-story a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.story-lead {
  padding-top: clamp(52px, 8vw, 116px);
  padding-bottom: 0;
}

.story-lead h1 {
  font-size: clamp(42px, 8.25vw, 124px);
  line-height: .99;
}

.story-lead h1 span {
  color: var(--muted);
}

.story-lead > p {
  max-width: 61ch;
  margin-top: 28px;
  font-size: clamp(17px, 1.75vw, 24px);
  text-wrap: pretty;
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(32px, 5vw, 72px);
}

.story-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.story-gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.story-gallery:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.story-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 8%;
  padding-block: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}

.story-chapter h2, .story-team h2 {
  font-size: clamp(34px, 4.65vw, 68px);
  text-wrap: balance;
}

.story-prose {
  max-width: 59ch;
  display: grid;
  gap: 18px;
}

.readiness-list {
  margin: 0;
}

.readiness-list > div {
  display: grid;
  grid-template-columns: minmax(120px, .45fr) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}

#benefits .readiness-list > div:first-child {
  border-top: 0;
}

.readiness-list dt {
  font-weight: 500;
}

.readiness-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.story-team {
  padding-block: clamp(48px, 6vw, 88px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.team-card {
  display: grid;
  grid-template-columns: clamp(80px, 9vw, 132px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(20px, 2.5vw, 36px);
  background: color-mix(in srgb, var(--ink) 4%, var(--bg));
  border: 1px solid var(--line);
  border-radius: 24px;
}

[data-theme="blue"] .team-card {
  background: #f1f2f6;
}

.team-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  filter: grayscale(1);
}

.team-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.team-card h3 {
  font-size: clamp(23px, 2.5vw, 36px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.12;
}

.team-role {
  color: var(--muted);
  margin-top: 8px;
  font-size: 12px;
  text-transform: uppercase;
}

.team-credentials {
  display: grid;
  gap: 8px;
  margin: 18px 0 12px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.5;
}

.team-credentials li {
  position: relative;
  padding-inline-start: 20px;
}

.team-credentials li::before {
  content: "";
  position: absolute;
  inset-block-start: .34em;
  inset-inline-start: 0;
  width: 10px;
  height: 13px;
  background: var(--accent);
  clip-path: polygon(58% 0, 100% 0, 67% 39%, 100% 39%, 35% 100%, 48% 56%, 0 56%);
}

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.team-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  html {
    --mobile-header-row: 64px;
    --mobile-safe-top: env(safe-area-inset-top, 0px);
    --mobile-header-height: calc(var(--mobile-header-row) + var(--mobile-safe-top));
    scroll-padding-top: var(--mobile-header-height);
  }

  .header {
    --header-surface: #171d28;
    --header-glass-edge: rgb(12 13 15 / .59);
    --header-glass-center: rgb(12 13 15 / .27);
    --header-outline: #ffffff26;
    position: sticky;
    top: 0;
    height: var(--mobile-header-height);
    padding-top: var(--mobile-safe-top);
    isolation: isolate;
  }

  .header:not(.header-story) {
    margin-bottom: calc(-1 * var(--mobile-header-row));
  }

  .header .wordmark {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .header .wordmark img {
    width: 78px;
  }

  .header .menu {
    min-height: 44px;
    gap: 16px;
    padding: 0 0 0 12px;
    font-size: 12px;
  }

  .header .menu > span {
    font-size: 18px;
  }

  .header-story[data-scrolled],
  [data-theme="blue"] .header-story[data-scrolled] {
    background: transparent;
    border-color: transparent;
  }

  [data-theme="blue"] .header-story {
    --header-surface: var(--bg);
    --header-glass-edge: rgb(252 252 254 / .58);
    --header-glass-center: rgb(252 252 254 / .28);
    --header-outline: var(--line);
  }

  .header::before,
  .header::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    background: var(--header-surface);
  }

  .header::before {
    inset: 0 0 auto;
    height: var(--mobile-safe-top);
  }

  .header::after {
    inset: calc(var(--mobile-safe-top) + 6px) 12px 6px;
    border: 1px solid var(--header-outline);
    border-radius: 999px;
    box-shadow: 0 4px 18px rgb(0 0 0 / .12);
    opacity: 0;
    transition: opacity 180ms ease;
  }

  .header[data-scrolled]::after {
    opacity: 1;
  }

  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .header::after {
      background: linear-gradient(90deg, var(--header-glass-edge) 26%, var(--header-glass-center) 50%, var(--header-glass-edge) 74%);
      box-shadow: inset 0 1px 0 rgb(255 255 255 / .46), 0 4px 18px rgb(0 0 0 / .12);
      -webkit-backdrop-filter: blur(12px) saturate(1.35);
      backdrop-filter: blur(12px) saturate(1.35);
    }
  }

  .header .nav {
    top: 100%;
  }

  .header .nav :is(button, a):focus-visible {
    outline-color: #fff;
  }

  .products-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #ffffff1f;
    font-size: 18px;
  }

  .product-links {
    position: static;
    width: 100%;
    padding: 4px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .product-links a {
    padding: 12px 0 12px 12px;
    font-size: 14px;
  }

  .hero.hero-stories {
    min-height: clamp(520px, 100svh, 620px);
    padding-bottom: 24px;
  }

  .hero .hero-headline {
    font-size: clamp(36px, 9.45vw, 64px);
  }

  .hero-subcopy {
    margin-top: 16px;
    font-size: 15px;
  }

  .hero-controls {
    margin-inline-end: -18px;
  }

  .hero-choice {
    width: 44px;
    min-height: 44px;
  }

  .vehicle-choices button {
    min-height: 44px;
  }

  .charging {
    padding-top: 44px;
  }

  .charging .product-heading {
    margin-top: 0;
  }

  .vision-intro, .story-chapter, .team-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .market-intro.story-chapter {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .story-gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(72vw, 320px);
    gap: 12px;
    margin-inline: calc(-1 * var(--pad));
    padding: 0 var(--pad) 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    scrollbar-width: thin;
  }

  .story-gallery figure {
    scroll-snap-align: start;
  }

  .story-prose p {
    font-size: 16px;
  }

  .team-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-portrait {
    width: 100px;
  }

  .readiness-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 350px) {
  .hero .hero-headline {
    font-size: 32px;
  }
}

@media print {
  .hero-controls, .hero-stories::after, .hero-cutaway::after {
    display: none;
  }

  .hero .hero-headline-copy, .hero-headline-line {
    color: #111;
  }

  .hero-qualities {
    visibility: hidden;
  }

  .hero-headline-line > [data-headline-step] {
    opacity: 1;
    transform: none;
  }
}
