:root {
  color-scheme: light;
  --paper: #fff;
  --white: #fff;
  --ink: #171717;
  --body: #4d4d4d;
  --line: #dedede;
  --accent: #ffed00;
  --accent-ink: #695600;
  --dark: #000;
  --header: 70px;
  --gutter: clamp(24px, 6vw, 96px);
  font-family: "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid #8a7000; outline-offset: 5px; }
a { color: inherit; }
p { margin: 0; font-size: 1.075rem; line-height: 1.58; }
figure, dl, dd { margin: 0; }
img, video { display: block; width: 100%; height: auto; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(3.7rem, 7.5vw, 7.55rem); line-height: .92; letter-spacing: -.086em; }
h1 span { color: #a88100; }
h2 { font-size: clamp(2.45rem, 4.7vw, 4.65rem); line-height: 1; letter-spacing: -.072em; }
h3 { font-size: 1.2rem; line-height: 1.2; letter-spacing: -.027em; }
figcaption, .caption { margin-top: 13px; font-size: .85rem; line-height: 1.45; color: var(--body); }
.wrap { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }
.spacious { padding-block: clamp(75px, 11vw, 150px); }
.skip { position: fixed; top: 10px; left: 10px; transform: translateY(-180%); background: var(--accent); padding: 10px 15px; z-index: 20; }
.skip:focus { transform: none; }
.header {
  height: var(--header); position: sticky; top: 0; z-index: 10; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  background: var(--paper); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
}
.brand { justify-self: start; display: block; flex: 0 0 auto; width: 148px; }
.brand img { width: 100%; aspect-ratio: 2.54; object-fit: cover; }
.header nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); }
.header nav a { text-decoration: none; font-size: .9rem; font-weight: 550; white-space: nowrap; }
.header nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button {
  width: fit-content; display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  padding: 10px 19px; border: 1px solid var(--ink); border-radius: 4px; font-size: .875rem;
  font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .18s, color .18s, border-color .18s;
}
.header-cta { justify-self: end; }
.button:hover, .dark-button:hover { color: var(--ink); border-color: var(--ink); background: var(--accent); }
.dark-button { background: var(--accent); color: var(--ink); }
.dark-button:hover { background: var(--ink); color: var(--accent); }
.eyebrow { color: var(--accent-ink); display: flex; align-items: center; gap: 9px; font-size: .84rem; line-height: 1.2; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 15px; height: 2px; background: var(--accent); flex: 0 0 auto; }
.sequence { --pin: calc(100svh - var(--header)); --travel: clamp(400px, 81svh, 820px); }
.sequence.enabled { height: calc(var(--pin) + var(--travel)); }
.sequence-pin { height: var(--pin); min-height: 525px; }
.sequence.enabled .sequence-pin { position: sticky; top: var(--header); }
.hero { border-bottom: 1px solid var(--line); }
.hero-pin { display: flex; flex-direction: column; background: var(--paper); }
.hero-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: clamp(18px, 3vw, 55px); }
.hero-copy { padding-block: 22px; position: relative; z-index: 1; }
.hero-copy > .eyebrow { font-size: clamp(1.2rem, 2.2vw, 1.65rem); letter-spacing: .09em; }
.hero-copy h1 { margin: 23px 0 23px; }
.hero-copy > p:not(.eyebrow) { color: var(--body); max-width: 430px; text-wrap: pretty; }
.hero-visual { height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; overflow: hidden; }
.hero-film { grid-area: 1 / 1; height: 100%; width: 100%; object-fit: contain; transform: scale(1.075); }
.idle-film { visibility: hidden; }
.show-idle .idle-film { visibility: visible; }
.visual-label { grid-row: 2; position: relative; background: var(--paper); display: flex; gap: 10px; justify-content: center; color: var(--ink); padding-top: 5px; font-weight: 700; font-size: .8rem; }
.visual-label span { color: var(--body); font-weight: 450; }
.sequence-status { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 13px; min-height: 66px; }
.hero .sequence-status { border-top: 1px solid var(--line); }
.sequence-hint { display: flex; align-items: center; gap: 10px; font-size: .83rem; color: var(--body); }
.scroll-glyph { width: 13px; height: 20px; border: 1px solid currentColor; border-radius: 9px; position: relative; flex-shrink: 0; }
.scroll-glyph::after { content: ""; width: 2px; height: 5px; background: currentColor; position: absolute; top: 4px; left: 4.5px; }
.sequence-track { display: flex; gap: 10px; align-items: center; }
.sequence-stage { font-size: .83rem; white-space: nowrap; }
.sequence[data-active-stage="0"] [data-stage="0"],
.sequence[data-active-stage="1"] [data-stage="1"] { font-weight: 750; }
.track-bar { width: clamp(28px, 9vw, 140px); height: 2px; background: #b9b9b9; position: relative; }
.track-bar::before { content: ""; position: absolute; inset: 0; background: #bd9600; transform: scaleX(var(--progress,0)); transform-origin: left; }
.sequence:not(.enabled) .sequence-track { visibility: hidden; }
.section-heading { display: grid; max-width: 770px; gap: 18px; margin-bottom: 36px; }
.section-heading > p:last-child { color: var(--body); max-width: 630px; }
.technology .section-heading { max-width: 940px; }
.technology .section-heading > .eyebrow { font-size: clamp(1.05rem, 1.65vw, 1.25rem); }
.technology-highlights { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 22px; margin: 0; padding: 0; list-style: none; }
.technology-highlights li { display: grid; gap: 3px; align-content: start; padding-block: 10px; border-top: 1px solid var(--line); }
.technology-highlights strong { font-size: clamp(1.1rem,2.8vw,2rem); line-height: 1.15; letter-spacing: -.04em; }
.technology-highlights span { color: var(--body); font-size: .86rem; line-height: 1.35; }
.technology .section-heading h2 { font-size: clamp(2.8rem, 5.7vw, 5.6rem); }
.technology .section-heading > p:last-child { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 800px; }
.tech-layout, .engineering-media, .service-layout, .app-layout, .prototype, .mission-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.tech-layout { width: 94%; max-width: 1150px; margin-inline: auto; grid-template-columns: minmax(0,2.75fr) minmax(0,1fr); gap: clamp(22px,3vw,50px); }
.tech-media video { aspect-ratio: 816/1000; max-height: calc(93svh - var(--header)); object-fit: contain; background: white; }
.specs { border-top: 1px solid var(--line); }
.specs div { padding: 14px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--body); font-size: .88rem; line-height: 1.28; }
.specs dd { font-size: clamp(1.9rem, 3.6vw, 3.4rem); font-weight: 580; letter-spacing: -.07em; line-height: 1.12; }
.specs dd small { font-size: .9rem; letter-spacing: 0; font-weight: 550; }
.specs dd.small-spec { font-size: clamp(1.22rem, 2.35vw, 1.8rem); letter-spacing: -.035em; margin-top: 5px; }
.spec-note { display: block; font-size: .8rem; font-weight: 450; color: var(--body); line-height: 1.45; letter-spacing: 0; }
.application-lead, .opportunity { background: var(--dark); color: #fff; padding-block: clamp(70px, 10vw, 145px); }
.app-layout { grid-template-columns: 1fr; gap: clamp(22px,4vw,48px); }
.application-lead .app-layout { width: min(100%, 1760px); }
.application-lead .app-layout > div { margin-inline: var(--gutter); }
:is(.application-lead, .service, .engineering, .opportunity, .prototype, .mission, .contact) .eyebrow { font-size: clamp(1.05rem, 1.8vw, 1.55rem); }
.application-lead .app-layout > div { max-width: 710px; }
.app-layout > div > p:not(.eyebrow) { max-width: 640px; }
.app-layout h2, .service-layout h2, .prototype-copy h2 { margin: 17px 0; }
.app-layout > div > p:not(.eyebrow) { color: #dedede; }
.app-layout .eyebrow, .storm .eyebrow { color: var(--accent); }
.app-layout figure video { aspect-ratio: 16/9; object-fit: cover; background: var(--dark); }
.app-layout figcaption { color: #c2c2c2; }
.text-link { display: inline-block; font-size: .92rem; font-weight: 700; text-decoration-color: currentColor; text-underline-offset: 5px; margin-top: 22px; padding-block: 5px; }
.app-layout .text-link:hover { color: var(--accent); }
.storm { --travel: clamp(575px, 122svh, 1200px); background: var(--dark); color: white; }
.storm-pin { position: relative; isolation: isolate; display: grid; overflow: hidden; }
.storm-film { position: absolute; inset: 0; height: 100%; }
.storm-film { object-fit: cover; object-position: 69% center; z-index: -2; transform: scale(1.09); }
.storm-overlay { display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(42px, 9vh, 104px); }
.storm h2 { max-width: 580px; margin: 0; font-size: clamp(1.85rem, 3.3vw, 2.9rem); line-height: 1.06; letter-spacing: -.055em; text-wrap: balance; }
.storm .sequence-status { border-top: 1px solid #dddddd7f; }
.storm .sequence-hint { color: #eaeaea; }
.storm .track-bar::before { background: var(--accent); }
.service, .mission { background: var(--dark); color: #fff; padding-block: clamp(70px,10vw,126px); }
.service figcaption, .service-layout p:not(.eyebrow), .mission-layout > div > p:not(.eyebrow) { color: #dedede; }
.service .eyebrow, .mission .eyebrow { color: var(--accent); }
.service-layout { grid-template-columns: 1.2fr .8fr; }
.prototype-copy > p:not(.eyebrow) { color: var(--body); }
.service-layout h3 { margin-top: 26px; margin-bottom: 6px; }
.engineering-media { grid-template-columns: minmax(0,1fr); gap: clamp(32px, 6vw, 85px); }
.engineering-media figure { width: min(76%, 540px); margin-inline: auto; }
.engineering-media figure:has(video) { width: min(90%, 660px); }
.engineering-media img { background: var(--paper); }
.engineering-media video { aspect-ratio: 1; object-fit: contain; background: var(--paper); }
.opportunity figure { width: min(100%, 900px); }
.opportunity figure video { object-fit: contain; }
.opportunity h2 { color: var(--accent); font-size: clamp(3.7rem, 7vw, 6.8rem); }
.opportunity h2 small { font-size: .4em; letter-spacing: -.05em; }
.prototype { grid-template-columns: minmax(0,1fr); gap: clamp(25px,5vw,72px); }
.prototype-copy { width: min(100%, 760px); }
.prototype figure { width: min(100%, 820px); margin-inline: auto; }
.prototype figure video { aspect-ratio: 4/3; object-fit: contain; background: var(--dark); }
.prototype-specs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.prototype-specs div { border-bottom: 1px solid var(--line); padding-block: 11px; }
.prototype-specs dd { font-size: 1.34rem; font-weight: 650; letter-spacing: -.04em; margin-top: 3px; }
.mission-layout { grid-template-columns: .68fr 1.32fr; align-items: start; }
.mission h2 { margin-top: 17px; }
.mission-layout .mission-lead { font-size: clamp(1.25rem, 2.05vw, 1.8rem); font-weight: 620; line-height: 1.17; letter-spacing: -.05em; color: #fff; }
.mission-layout p + p { margin-top: 14px; }
.contact { padding-block: clamp(60px,8vw,105px); display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.contact h2 { margin-top: 14px; font-size: clamp(2.1rem,4.4vw,4.2rem); }
.footer { border-top: 1px solid var(--line); }
.footer > div { padding-block: 23px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.footer :is(p,a:not(.brand)) { font-size: .83rem; color: var(--body); }
@media (max-width: 800px) {
  .hero-layout { gap: 12px; }
  h1 { font-size: clamp(3rem, 8.4vw, 5.2rem); }
  .tech-layout, .engineering-media, .service-layout, .app-layout, .prototype, .mission-layout { gap: 28px; }
}
@media (max-width: 600px) {
  :root { --header: 58px; --gutter: 20px; }
  .header { grid-template-columns: auto 1fr; gap: 15px; }
  .header nav { justify-self: end; gap: clamp(9px, 3vw, 16px); }
  .header nav a { font-size: .77rem; }
  .header-cta { display: none; }
  .brand { width: clamp(83px,24vw,111px); }
  .hero { --pin: max(610px,calc(100svh - var(--header))); --travel: 62svh; }
  .hero-layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr); gap: 0; }
  .hero-copy { padding-block: 20px 8px; }
  .hero-copy h1 { margin: 10px 0; font-size: clamp(2.9rem, 11.9vw, 4.45rem); }
  .hero-copy > p:not(.eyebrow) { font-size: .94rem; line-height: 1.42; }
  .hero-visual { height: 100%; }
  .visual-label { padding-block: 0 5px; }
  .sequence-status { min-height: 53px; padding-block: 5px; gap: 8px; }
  .sequence-hint, .sequence-stage { font-size: .72rem; }
  .sequence-track, .sequence-hint { gap: 6px; }
  .scroll-glyph { display: none; }
  .storm { --pin: max(510px,calc(100svh - var(--header))); --travel: 92svh; }
  .storm-film { height: 78%; inset: auto 0 5%; object-position: 67% center; transform: none; }
  .storm-overlay { padding-top: 29px; }
  .tech-layout, .engineering-media, .service-layout, .app-layout, .prototype, .mission-layout { grid-template-columns: 1fr; }
  .service-layout figure { order: 1; }
  .tech-layout { width: 100%; }
  figure > video { width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); }
  .opportunity figure, .prototype figure { width: 90%; margin-inline: auto; }
  :is(.application-lead, .engineering, .opportunity, .prototype) figure > video { width: 100%; margin-inline: 0; }
  .contact { align-items: start; flex-direction: column; }
}
@media (max-width: 380px) {
  .header { padding-inline: 12px; gap: 8px; }
  .header nav { gap: 8px; }
  .header nav a { font-size: .72rem; }
  .header .brand { width: 78px; }
}
@media (max-height: 640px) and (min-width: 601px) {
  .sequence { --pin: max(525px,calc(100svh - var(--header))); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .sequence.enabled { height: auto; }
  .sequence.enabled .sequence-pin { position: relative; top: auto; }
  .sequence-status { display: none; }
}

.design-priorities { border-top: 1px solid var(--line); }
.design-priorities .eyebrow { font-size: clamp(1.05rem, 1.8vw, 1.55rem); }
.design-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 2rem; }
.design-columns > div { border-top: 3px solid var(--accent); padding-top: 1rem; }
.design-columns h3 { margin-bottom: .65rem; }
.design-columns p, .design-outlook { color: var(--body); }
.design-outlook { margin-top: 2.5rem; max-width: 68ch; }

.energy-local { border-top: 1px solid var(--line); }
.energy-local .eyebrow { font-size: clamp(1.75rem, 3.8vw, 3rem); }
.energy-opportunity { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding-top: 1.5rem; border-top: 3px solid var(--accent); }
.energy-opportunity p { color: var(--body); max-width: 65ch; }
.energy-opportunity p + p { margin-top: 1em; }
@media (max-width: 700px) {
  .energy-opportunity { grid-template-columns: 1fr; gap: .75rem; }
}

.priority-number { display: block; font-size: clamp(3rem, 5vw, 4.75rem); line-height: 1; margin-bottom: .65rem; }
.design-outlook a { color: var(--accent); background: #171717; font-weight: 750; padding: .03em .24em; white-space: nowrap; }
@media (max-width: 840px) and (min-width: 701px) {
  .header nav { gap: 12px; }
}
@media (max-width: 360px) {
  .header { padding-inline: 8px; }
  .header nav { gap: 6px; }
  .header .brand { width: 60px; }
}

.scroll-frame, .menu-toggle, .header nav .menu-contact { display: none; }
.sequence.has-frame:not(.show-idle) .scroll-frame { display: block; width: 100%; pointer-events: none; }
@media (max-width: 66rem) {
  .header { grid-template-columns: 1fr auto; }
  .header .header-cta { display: none; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; background: white; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); }
  .menu-toggle span { width: 21px; height: 2px; background: currentColor; }
  .header nav { display: none; position: absolute; inset: 100% 0 auto; background: white; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .header nav, .header nav a { width: 100%; }
  .header .menu-toggle[aria-expanded="true"] + nav { display: grid; gap: 0; }
  .header nav a { display: flex; align-items: center; min-height: 44px; font-size: 1rem; }
  .header nav .menu-contact { display: flex; }
}
