@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --base: #101214;
  --surface: #1c2024;
  --silver: #bcc6d0;
  --on-silver: var(--base);
  --silver-hover: #d3dae1;
  --silver-active: #a8b3be;
  --steel-highlight: #e6eaee;
  --steel-grain: #10121414;
  --text: #f2f4f5;
  --muted: #a0a9b2;
  --border: #373f47;
  --border-control: #6b7580;
  --error: #f0a8a0;
  --focus: var(--silver);
  --font-sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --container-max: 1280px;
  --measure: 680px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius-sm: 2px;
  --radius-md: 4px;
  --duration-fast: 160ms;
  --duration-sheen: 700ms;
  --ease: cubic-bezier(.2, 0, 0, 1);
  font-family: var(--font-sans);
  font-synthesis: none;
  background: var(--base);
  color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body { margin: 0; min-width: 280px; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
img, svg { display: block; }
img { max-width: 100%; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--silver); color: var(--base); }
[hidden] { display: none !important; }
.container { width: calc(100% - var(--gutter) * 2); max-width: var(--container-max); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .25s var(--ease); }
.skip-link { position: fixed; top: 16px; left: var(--gutter); z-index: 20; padding: 14px 20px; color: var(--base); background: var(--text); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

/* Header & Navigation (kept consistent per DESIGN_HANDOFF) */
.site-header { position: absolute; top: 0; inset-inline: 0; z-index: 10; }
.nav-row { display: flex; justify-content: space-between; align-items: center; min-height: 86px; border-bottom: 1px solid #a0a9b255; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: 21px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; }
.primary-navigation, .site-footer nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); font-size: 15px; font-weight: 500; }
.primary-navigation a, .site-footer nav a { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; transition: color var(--duration-fast) var(--ease); }
.primary-navigation a:hover, .site-footer nav a:hover { color: var(--silver); }
.primary-navigation a:hover > .arrow, .site-footer nav a:hover > .arrow { transform: translateX(4px); }
.menu-toggle { display: none; }

/* Durendal Button System (.dd-btn) */
.dd-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  overflow: hidden; isolation: isolate;
  font-family: var(--font-sans); font-weight: 500; font-size: 15px; line-height: 20px; letter-spacing: 0;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--text);
  height: 44px; padding: 0 24px;
  transition: background-color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}
.dd-btn__label { position: relative; z-index: 1; }
.dd-btn--md { height: 44px; padding: 0 24px; }
.dd-btn--lg { height: 52px; padding: 0 32px; font-size: 16px; }
.dd-btn--primary { background: var(--silver); border-color: var(--silver); color: var(--on-silver); }
.dd-btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: repeating-linear-gradient(0deg, var(--steel-grain) 0 1px, transparent 1px 3px);
  transition: opacity var(--duration-fast) var(--ease);
}
.dd-btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 60%; z-index: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 0%, var(--steel-highlight) 50%, transparent 100%);
  transform: translateX(0);
}
.dd-btn--primary:hover::before { opacity: 1; }
.dd-btn--primary:hover::after { opacity: .75; animation: dd-sheen var(--duration-sheen) var(--ease) 1 forwards; }
.dd-btn--primary:active { background: var(--silver-active); border-color: var(--silver-active); }
.dd-btn--primary:active::after, .dd-btn--primary:active::before { opacity: 0; }
@keyframes dd-sheen { from { transform: translateX(0); } to { transform: translateX(270%); } }

.dd-btn--secondary { border-color: var(--border-control); background: #1012147a; color: var(--text); }
.dd-btn--secondary:hover { background: var(--surface); border-color: var(--silver); }
.dd-btn--secondary:active { background: var(--base); border-color: var(--muted); }
.dd-btn:disabled { cursor: progress; opacity: .6; }
.dd-btn:disabled::before, .dd-btn:disabled::after { display: none; }

/* Hero */
.hero { min-height: 820px; height: min(1000px, 100svh); position: relative; isolation: isolate; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-image { left: auto; width: 74%; object-fit: cover; object-position: 30% 60%; }
.hero-shade { z-index: -1; background: linear-gradient(180deg, #101214bb 0%, #10121422 30%, #10121400 62%, #101214 100%), linear-gradient(90deg, #101214 28%, #101214cc 36%, #10121455 50%, #10121400 66%); }
.hero-content { padding-top: clamp(205px, 23vh, 275px); }
h1 { font-size: clamp(52px, 6.2vw, 84px); line-height: 1.03; letter-spacing: -.022em; max-width: 820px; }
.hero-content .tagline { margin-top: 28px; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; letter-spacing: -.01em; color: #d6dce1; max-width: var(--measure); }
.hero-cta { margin-top: 36px; }
.scroll-cue { position: absolute; bottom: 34px; left: calc(50% - 24px); display: grid; place-items: center; width: 48px; height: 48px; color: var(--silver); }
.scroll-cue svg { width: 23px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.1; transition: transform .25s var(--ease); }
.scroll-cue:hover svg { transform: translateY(5px); }

/* Eyebrow & Typography Helpers */
.eyebrow { font-family: var(--font-mono); font-size: 12px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Company Section */
.company { padding-top: 96px; position: relative; }
.section-intro { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; column-gap: clamp(32px, 7vw, 88px); z-index: 1; }
.section-intro h2 { margin-top: 20px; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.018em; }
.company-description { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: #c4cbd1; max-width: var(--measure); padding-bottom: 6px; }
.wing-scene { height: clamp(340px, 40vw, 620px); margin-top: -40px; position: relative; }
.wing-scene img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.wing-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--base), #10121400 28%, #10121400 64%, var(--base)), linear-gradient(90deg, #10121466, #10121400 60%, #10121422); }

/* Homepage Products (Rebalanced Layout + Metadata) */
.products { padding-top: 48px; }
.products > .container { margin-bottom: 28px; }
.product {
  position: relative; isolation: isolate;
  min-height: clamp(380px, 34vw, 480px);
  display: flex; align-items: center;
  padding-block: clamp(56px, 6vw, 88px);
  border-top: 1px solid var(--border);
}
.product-flightmeld { margin-top: clamp(28px, 3vw, 48px); }
.product-art { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.photo-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.product-flightmeld .photo-art img { object-position: center 76%; }
.photo-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--base) 8%, #101214cc 36%, #10121433 70%, #10121400 100%),
              linear-gradient(180deg, var(--base), #10121400 22%, #10121400 78%, var(--base));
}
.product--align-end .product-content { display: flex; justify-content: flex-end; }
.product--align-end .photo-art::after {
  background: linear-gradient(270deg, var(--base) 8%, #101214d9 40%, #10121444 72%, #10121411 100%),
              linear-gradient(180deg, var(--base), #10121400 22%, #10121400 78%, var(--base));
}
.product-card-body { max-width: 480px; }
.product-meta { font-family: var(--font-mono); font-size: 12px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); margin-bottom: 14px; }
.product h3 { font-size: clamp(44px, 4.8vw, 68px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 14px; }
.product-summary { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: #c4cbd1; margin-bottom: 28px; }

/* Homepage Contact Scene */
.contact-scene { position: relative; isolation: isolate; min-height: clamp(520px, 46vw, 760px); display: flex; align-items: center; padding-block: clamp(96px, 9vw, 140px); margin-top: 32px; }
.contact-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; }
.contact-scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--base), #10121455 24%, #10121400 50%, #10121400 80%, var(--base)), linear-gradient(90deg, #101214cc 10%, #10121466 48%, #10121400 75%); }
.contact-scene h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -.02em; margin-block: 16px 28px; max-width: 600px; }

/* Footer */
.site-footer { padding-block: 28px 32px; border-top: 1px solid var(--border); }
.footer-main { display: flex; align-items: center; justify-content: space-between; }
.site-footer .wordmark { font-size: 19px; }
.footer-tagline { font-size: 14px; line-height: 1.4; color: var(--silver); }
.site-footer nav { font-size: 14px; }
.legal { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.legal span { padding-inline: .35em; }
.legal a:hover, .dialog-note a:hover { color: var(--text); }

/* Contact Dialog & Topic Pills */
.detail-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100svh - 40px); overflow: auto; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); box-shadow: 0 25px 100px #0009; }
.detail-dialog::backdrop { background: #07090bcc; backdrop-filter: blur(8px); }
.dialog-inner { position: relative; padding: clamp(28px, 4.5vw, 52px); }
.dialog-close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; padding: 11px; background: transparent; border-radius: var(--radius-sm); }
.dialog-close svg { width: 22px; fill: none; stroke: var(--silver); stroke-width: 1.25; }
.detail-dialog .eyebrow { margin-top: 8px; }
.detail-dialog h2 { font-size: clamp(32px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -.018em; margin-top: 14px; }
.dialog-lede { color: var(--silver); font-size: 17px; line-height: 1.55; margin-top: 14px; }
.dialog-note { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 22px; }
.contact-form { display: grid; gap: 18px; margin-top: 24px; }
.topic-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.topic-fieldset legend { font-size: 14px; font-weight: 500; color: var(--silver); margin-bottom: 8px; padding: 0; }
.topic-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-pill { position: relative; cursor: pointer; }
.topic-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.topic-pill span {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 6px 16px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--border-control); border-radius: var(--radius-sm);
  background: var(--base); color: var(--muted);
  transition: border-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease);
}
.topic-pill:hover span { border-color: var(--silver); color: var(--text); }
.topic-pill input:checked + span { background: var(--silver); border-color: var(--silver); color: var(--on-silver); }
.topic-pill input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--silver); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--base); border: 1px solid var(--border-control); border-radius: var(--radius-sm); padding: 11px 14px; transition: border-color var(--duration-fast) var(--ease); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot:empty { display: none; }
.form-status { min-height: 1.5em; font-size: 14px; line-height: 1.5; color: var(--muted); }
.form-status[data-kind="error"] { color: var(--error); }
.contact-form .dd-btn { justify-self: start; }
.contact-sent:focus { outline: none; }
.contact-sent .dd-btn { margin-top: 24px; }
.noscript-note { padding-block: 18px; color: var(--muted); font-size: 14px; }
.noscript-note a, .dialog-note a { text-decoration: underline; text-underline-offset: 3px; }

/* Product Pages */
.page-hero { position: relative; isolation: isolate; min-height: clamp(620px, 84svh, 860px); display: flex; flex-direction: column; }
.page-hero-content { padding-block: clamp(195px, 22vh, 250px) 108px; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(48px, 5.4vw, 68px); }
.lead { margin-top: 20px; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -.015em; color: var(--text); max-width: var(--measure); }
.hero-summary { margin-top: 18px; max-width: 560px; font-size: 18px; line-height: 1.6; color: #c4cbd1; }
.status { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; padding: 9px 15px; border: 1px solid #bcc6d066; border-radius: var(--radius-sm); background: #10121488; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--silver); }
.page-hero .product-art { left: 26%; }
.page-hero .photo-art img { object-position: 60% center; }

.photo-band { position: relative; height: clamp(280px, 38vw, 580px); margin: 0; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--base), #10121400 22%, #10121400 78%, var(--base)); pointer-events: none; }
.photo-band--storm img { object-position: center 60%; }
.photo-band + .page-section { border-top: 0; }

.page-section { padding-block: clamp(64px, 7.5vw, 112px); border-top: 1px solid var(--border); }
.page-section h2 { margin-top: 18px; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -.015em; max-width: 760px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; column-gap: clamp(32px, 7vw, 84px); align-items: start; }
.split .prose { padding-top: 34px; }
.prose { color: #c4cbd1; font-size: 17px; line-height: 1.65; max-width: var(--measure); }
.prose p + p { margin-top: 1em; }
.prose .fine-print { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Technical Concept Schematics */
.schematic {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.schematic-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px;
  padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
}
.schematic-tag { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--silver); }
.schematic-code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.schematic-svg { width: 100%; height: auto; overflow: visible; }
.schematic-caption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Feature Grid */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px clamp(24px, 3vw, 44px); margin-top: clamp(40px, 4.5vw, 64px); }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
.feature { padding-block: 24px 28px; border-top: 1px solid var(--border); }
.feature h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.005em; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.inline-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-control); text-underline-offset: 4px; transition: text-decoration-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease); }
.inline-link:hover { color: var(--silver); text-decoration-color: var(--silver); }
.feature-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 36px; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: underline; text-decoration-color: var(--border-control); text-underline-offset: 6px; transition: color var(--duration-fast) var(--ease), text-decoration-color var(--duration-fast) var(--ease); }
.feature-link .arrow { width: 18px; height: 18px; }
.feature-link:hover { color: var(--silver); text-decoration-color: var(--silver); }
.feature-link:hover .arrow { transform: translateX(4px); }

/* Unified Product Page Closing Band (CTA + Cross-Product Link) */
.page-closing {
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; gap: clamp(32px, 6vw, 80px);
  padding-block: clamp(64px, 7.5vw, 112px);
  border-top: 1px solid var(--border);
}
.closing-primary h2 { margin-top: 16px; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -.015em; }
.closing-summary { margin-block: 14px 28px; font-size: 17px; line-height: 1.6; color: #c4cbd1; max-width: 500px; }
.closing-next {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--ease);
}
.closing-next:hover { border-color: var(--silver); }
.next-name { display: inline-flex; align-items: center; gap: 18px; margin-top: 14px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -.018em; transition: color var(--duration-fast) var(--ease); }
.next-name .arrow { width: 30px; height: 30px; stroke-width: 1.1; }
.closing-next:hover .next-name { color: var(--silver); }
.closing-next:hover .arrow { transform: translateX(5px); }
.closing-next-meta { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* 404 */
.not-found { min-height: 72svh; padding-block: clamp(190px, 24vh, 250px) 140px; }
.not-found h1 { margin-top: 20px; }
.not-found .dd-btn { margin-top: 36px; }

/* Motion & Micro-interactions (gated by prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].will-reveal { opacity: 0; transform: translateY(12px); }
  [data-reveal].is-revealed { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }

  [data-reveal].will-reveal [data-reveal-stagger] > * { opacity: 0; transform: translateY(12px); }
  [data-reveal].is-revealed [data-reveal-stagger] > * {
    opacity: 1; transform: none;
    transition: opacity .5s var(--ease), transform .5s var(--ease);
    transition-delay: calc(var(--reveal-index, 0) * 55ms);
  }

  .status::before { animation: status-pulse 3.6s ease-in-out infinite; }
  @keyframes status-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .38; }
  }

  .schematic-loop-line { animation: schematic-dash-flow 1.4s linear infinite; }
  @keyframes schematic-dash-flow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -16; }
  }

  .detail-dialog {
    opacity: 0; transform: translateY(8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), overlay .2s allow-discrete, display .2s allow-discrete;
  }
  .detail-dialog[open] { opacity: 1; transform: none; }
  @starting-style {
    .detail-dialog[open] { opacity: 0; transform: translateY(8px); }
  }
  .detail-dialog::backdrop {
    opacity: 0;
    transition: opacity .2s var(--ease), overlay .2s allow-discrete, display .2s allow-discrete;
  }
  .detail-dialog[open]::backdrop { opacity: 1; }
  @starting-style {
    .detail-dialog[open]::backdrop { opacity: 0; }
  }
}

/* Tablet */
@media (max-width: 900px) {
  .hero { min-height: 760px; max-height: 940px; }
  .hero-content { padding-top: 196px; }
  .hero-image { inset: auto 0 0; width: 100%; height: 56%; object-position: 40% 62%; }
  .hero-shade { background: linear-gradient(180deg, var(--base) 44%, #101214aa 53%, #10121400 64%, #10121400 86%, var(--base) 100%); }
  .section-intro { grid-template-columns: 1fr; row-gap: 20px; }
  .product--align-end .product-content { justify-content: flex-start; }
  .product--align-end .photo-art::after {
    background: linear-gradient(90deg, var(--base) 8%, #101214cc 42%, #10121433 78%, #10121400 100%),
                linear-gradient(180deg, var(--base), #10121400 22%, #10121400 78%, var(--base));
  }
  .split { grid-template-columns: 1fr; row-gap: 24px; }
  .split .prose { padding-top: 0; }
  .feature-grid, .feature-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .page-closing { grid-template-columns: 1fr; gap: 36px; }
  .page-hero-content { padding-top: 196px; }
  .page-hero .product-art { left: 0; }
  .page-hero .photo-art::after { background: linear-gradient(90deg, #101214f0, #101214b0 60%, #10121433), linear-gradient(180deg, var(--base), #10121400 30%, #10121400 70%, var(--base)); }
}

/* Mobile */
@media (max-width: 600px) {
  html { scroll-padding-top: 24px; }
  .nav-row { min-height: 72px; }
  .wordmark { font-size: 17px; letter-spacing: .24em; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; background: transparent; padding: 0 1px 0 12px; font-size: 13px; font-weight: 500; }
  .menu-icon { width: 21px; height: 14px; position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; height: 1px; width: 21px; position: absolute; left: 0; background: var(--text); transition: transform .2s var(--ease), top .2s var(--ease); }
  .menu-icon::before { top: 3px; }
  .menu-icon::after { top: 11px; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 7px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 7px; transform: rotate(-45deg); }

  .primary-navigation {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    background: #101214f7; border: 1px solid var(--border); border-top: 0;
    padding: 16px 24px; backdrop-filter: blur(16px);
    opacity: 0; transform: translateY(-6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), display .18s allow-discrete;
  }
  .primary-navigation.is-open {
    display: flex; align-items: stretch; flex-direction: column; gap: 4px;
    opacity: 1; transform: none;
  }
  @starting-style {
    .primary-navigation.is-open { opacity: 0; transform: translateY(-6px); }
  }
  html:not(.js-enabled) .menu-toggle { display: none; }
  html:not(.js-enabled) .nav-row { flex-wrap: wrap; }
  html:not(.js-enabled) .primary-navigation { display: flex; position: static; width: 100%; gap: 20px; padding: 0; border: 0; background: transparent; backdrop-filter: none; opacity: 1; transform: none; }

  .primary-navigation a { min-height: 50px; font-size: 17px; }
  .nav-contact { justify-content: space-between; }
  .hero { min-height: 740px; max-height: 980px; height: max(780px, 100svh); }
  .hero-content { padding-top: 164px; }
  h1 { font-size: clamp(40px, 10vw, 56px); line-height: 1.06; }
  .hero-content .tagline { margin-top: 20px; font-size: 18px; }
  .hero-cta { margin-top: 28px; width: 100%; }
  .hero-image { height: 52%; object-position: 34% 60%; }
  .hero-shade { background: linear-gradient(180deg, var(--base) 46%, #101214aa 54%, #10121400 66%, #10121400 86%, var(--base) 100%); }
  .scroll-cue { bottom: 18px; }

  .company { padding-top: 56px; }
  .wing-scene { margin-top: 0; height: 340px; }
  .wing-scene img { object-position: 16% center; }
  .products { padding-top: 24px; }
  .product { min-height: 360px; padding-block: 48px; }
  .photo-art img { object-position: 52% center; }
  .photo-art::after, .product--align-end .photo-art::after {
    background: linear-gradient(90deg, #101214f2, #101214bf 62%, #10121444 95%),
                linear-gradient(180deg, var(--base), #10121400 28%, #10121400 76%, var(--base));
  }
  .product-flightmeld .photo-art img { object-position: 50% 70%; }

  .contact-scene { min-height: 480px; padding-block: 76px; }
  .contact-image { object-position: 62% center; }
  .photo-band { height: 260px; }
  .site-footer { padding-block: 24px 28px; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 18px; }
  .site-footer .wordmark { font-size: 17px; }
  .footer-tagline { font-size: 13px; }
  .site-footer nav { width: 100%; gap: 12px; justify-content: space-between; font-size: 13px; }
  .legal { margin-top: 10px; font-size: 12px; }
  .legal span { display: none; }
  .legal a { display: block; }

  .page-hero { min-height: 640px; }
  .page-hero-content { padding-block: 164px 84px; }
  .lead { font-size: 23px; }
  .hero-summary { font-size: 16px; }
  .page-hero .photo-art img { object-position: 52% center; }
  .page-hero .photo-art::after { background: linear-gradient(90deg, #101214ee, #10121499 68%, #10121422), linear-gradient(180deg, var(--base), #10121400 30%, #10121400 70%, var(--base)); }
  .feature-grid, .feature-grid--3 { grid-template-columns: 1fr; }
  .schematic { padding: 16px; }
  .dialog-inner { padding: 28px 20px; }
  .detail-dialog { width: calc(100vw - 20px); max-height: calc(100svh - 20px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], [data-reveal] [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
  .dd-btn--primary:hover { background: var(--silver-hover); border-color: var(--silver-hover); }
}
