* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); font-size: 1rem; line-height: 1.65; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: .035; 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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--m-primary); }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { color: var(--m-ink); text-wrap: balance; }
h1, h2, .display-title { font-family: var(--font-display); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem, 7.8vw, 7.7rem); line-height: .94; }
h2 { font-size: clamp(2.3rem, 5vw, 4.9rem); line-height: 1.02; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
p { color: var(--m-muted); }
::selection { background: var(--m-primary); color: var(--m-deep); }
:focus-visible { outline: 3px solid var(--m-primary); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10000; background: var(--m-primary); color: #10202a; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.container-shell { width: min(calc(100% - 2.4rem), var(--content)); margin-inline: auto; }
.section { padding-block: var(--section-space); position: relative; }
.section-tight { padding-block: clamp(3rem, 5vw, 5.5rem); }
.section-rule { border-top: 1px solid var(--m-line); }
.reading { max-width: var(--reading); }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1.4rem; color: var(--m-secondary); font-family: var(--font-mono); font-size: .72rem; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; }
.lead-copy { max-width: 680px; color: var(--m-ink); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.mono { font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.text-muted-m { color: var(--m-muted) !important; }
.site-header { position: sticky; top: 0; z-index: 1030; min-height: 76px; border-bottom: 1px solid var(--m-line); background: color-mix(in srgb, var(--m-bg) 91%, transparent); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--m-ink); text-decoration: none; letter-spacing: .24em; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.brand-mark { width: 38px; height: 30px; display: inline-grid; place-items: center; color: var(--m-primary); flex: 0 0 auto; }
.brand-mark svg { width: 38px; height: 30px; display: block; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(.7rem, 1.25vw, 1.3rem); }
.desktop-nav a { color: var(--m-ink); text-decoration: none; font-size: .77rem; white-space: nowrap; padding-block: 1.75rem; border-bottom: 2px solid transparent; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--m-primary); border-color: currentColor; }
.header-tools { display: flex; align-items: center; gap: .5rem; margin-left: .6rem; }
.icon-button { min-width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--m-line); border-radius: 99px; background: transparent; color: var(--m-ink); }
.language-control { position: relative; height: 42px; min-width: 82px; display: grid; grid-template-columns: 18px 1fr 14px; align-items: center; gap: .28rem; padding: 0 .7rem; border: 1px solid var(--m-line); border-radius: 999px; color: var(--m-ink); background: color-mix(in srgb, var(--m-surface) 76%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, white 42%, transparent); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.language-control:hover { border-color: color-mix(in srgb, var(--m-primary) 65%, var(--m-line)); background: var(--m-surface); transform: translateY(-1px); }
.language-control:focus-within { outline: 3px solid var(--m-primary); outline-offset: 3px; }
/* The select covers the whole pill, so a click anywhere on it opens the list; the globe and arrow sit underneath. */
.language-control select { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border-radius: inherit; padding: 0 calc(.7rem + 12px) 0 calc(.7rem + 18px); border: 0; outline: 0; appearance: none; background: transparent; color: var(--m-ink); font: 700 .7rem var(--font-sans); letter-spacing: .08em; cursor: pointer; }
.language-control select:focus-visible { outline: 0; }
.language-control option { background: var(--m-surface); color: var(--m-ink); }
.language-globe { grid-column: 1; pointer-events: none; color: var(--m-primary); font-size: 1rem; line-height: 1; }
.language-arrow { grid-column: 3; justify-self: end; pointer-events: none; color: var(--m-muted); font-size: 1rem; line-height: 1; transform: translateY(-2px); }
.theme-toggle { width: 66px; height: 36px; padding: 0; border: 1px solid var(--m-line); border-radius: 999px; background: var(--m-deep); color: #f6f0e2; box-shadow: inset 0 1px 5px rgba(0,0,0,.3), 0 4px 14px rgba(15,33,42,.12); cursor: pointer; overflow: hidden; transition: border-color .2s ease, transform .2s ease, background .25s ease; }
.theme-toggle:hover { transform: translateY(-1px); border-color: var(--m-primary); }
.theme-toggle-track { position: relative; display: block; width: 100%; height: 100%; }
.theme-sun, .theme-moon { position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); font-size: .82rem; line-height: 1; }
.theme-sun { left: 9px; color: #f4bd50; }
.theme-moon { right: 10px; color: #d8e7ee; }
.theme-toggle-orb { position: absolute; z-index: 2; width: 28px; height: 28px; left: 3px; top: 3px; border-radius: 50%; background: #fff8e8; box-shadow: 0 2px 8px rgba(0,0,0,.3); transition: transform .28s cubic-bezier(.2,.8,.2,1), background .25s ease; }
.theme-toggle[data-active-theme="dark"] .theme-toggle-orb { transform: translateX(30px); background: #dceaf0; }
:root[data-bs-theme="light"] .theme-toggle { background: #dbe8e7; }
:root[data-bs-theme="light"] .theme-toggle-orb { background: #fff7dd; }
.menu-button { display: none; }
.offcanvas { background: var(--m-surface); color: var(--m-ink); }
.translation-notice { padding: .55rem 0; border-bottom: 1px solid var(--m-line); background: color-mix(in srgb, var(--m-primary) 12%, var(--m-surface)); color: var(--m-ink); font-size: .78rem; text-align: center; }
.offcanvas-nav a { display: flex; justify-content: space-between; padding: 1rem 0; font-family: var(--font-display); font-size: 2rem; text-decoration: none; border-bottom: 1px solid var(--m-line); }
.hero { min-height: calc(100vh - 76px); min-height: 760px; position: relative; overflow: hidden; isolation: isolate; background: var(--m-deep); color: var(--m-on-deep); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle at 72% 28%, rgba(224,166,70,.27), transparent 25%), linear-gradient(145deg, #112b38 0%, #0b1822 56%, #142d31 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,15,22,.9), rgba(5,15,22,.2) 66%, rgba(5,15,22,.55)), linear-gradient(0deg, #0b1822 0%, transparent 28%); }
.hero-landscape { position: absolute; inset: auto 0 0; height: 65%; z-index: -2; color: #83a0a1; opacity: .28; }
.hero-aircraft { position: absolute; display: block; width: min(61vw, 880px); right: 1vw; top: 14%; color: var(--m-accent); opacity: .88; }
.hero-aircraft svg { width: 100%; height: auto; display: block; }
.hero-content { min-height: inherit; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 7rem 9rem; }
.hero h1 { max-width: 880px; color: var(--m-on-deep); }
.hero p { max-width: 600px; color: #d5e0df; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero .eyebrow { color: #ecc879; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-foot { position: absolute; inset: auto 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.hero-foot .container-shell { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #c7d4d4; font: .67rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.btn-m { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .76rem 1.2rem; border: 1px solid transparent; border-radius: 0; font-weight: 700; font-size: .82rem; text-decoration: none; }
.btn-primary-m { background: var(--m-primary); color: var(--m-primary-ink); }
.btn-primary-m:hover { background: color-mix(in srgb, var(--m-primary) 86%, white); color: var(--m-primary-ink); }
.btn-outline-m { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline-m:hover { background: rgba(255,255,255,.08); color: inherit; }
.trust-strip { background: var(--m-surface); border-bottom: 1px solid var(--m-line); }
.trust-strip .container-shell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 66px; gap: 1rem; font: .67rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.trust-strip .status-live { color: var(--m-secondary); }
.trust-strip a { justify-self: end; }
.status-live::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .55rem; border-radius: 50%; background: currentColor; }
.statement-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 9rem); align-items: center; }
.bee-field { min-height: 360px; position: relative; display: grid; place-items: center; color: var(--m-primary); }
.bee-field::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border: 1px solid var(--m-line); border-radius: 50%; }
.bee-field svg { width: 92%; position: relative; }
.svg-art { display: block; width: 100%; color: var(--m-secondary); }
.svg-art svg { display: block; width: 100%; height: auto; }
.dark-panel .svg-art, .section-visual.dark-panel .svg-art { color: var(--m-secondary); }
.hub-overview-art { color: #386a62 !important; filter: drop-shadow(0 0 22px rgba(52,105,96,.12)); }
.route-overview-art { color: #376d7d !important; filter: drop-shadow(0 0 22px rgba(55,109,125,.12)); }
.story-bee-art { color: #946313 !important; max-width: 580px; justify-self: center; }
.not-found-aircraft { max-width: 900px; margin-inline: auto; color: #376d7d !important; }
.aviation-studies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.aviation-study { margin: 0; border: 1px solid var(--m-line); background: var(--m-tech-surface); }
.aviation-study .svg-art { color: var(--m-tech-ink); padding: .5rem; }
.aviation-study figcaption { padding: 1.5rem 2rem; border-top: 1px solid var(--m-line); }
.aviation-study h3 { font-size: 1.25rem; }
.aviation-study p { font-size: .9rem; margin-bottom: 0; }
:root[data-bs-theme="light"] .hero { background: var(--m-bg); color: var(--m-ink); }
:root[data-bs-theme="light"] .hero::before { background: radial-gradient(circle at 78% 30%, #e1ece7, transparent 46%), linear-gradient(145deg, #fbf8ef, #efe7d5); }
:root[data-bs-theme="light"] .hero::after { background: linear-gradient(90deg, rgba(251,248,239,.9), rgba(251,248,239,.05) 72%); }
:root[data-bs-theme="light"] .hero h1 { color: var(--m-ink); }
:root[data-bs-theme="light"] .hero p { color: var(--m-muted); }
:root[data-bs-theme="light"] .hero .eyebrow { color: var(--m-primary); }
:root[data-bs-theme="light"] .hero-aircraft { color: #356575; opacity: .62; }
:root[data-bs-theme="light"] .hero-foot { border-color: var(--m-line); }
:root[data-bs-theme="light"] .hero-foot .container-shell { color: var(--m-muted); }
:root[data-bs-theme="dark"] .hub-overview-art { color: var(--m-secondary) !important; }
:root[data-bs-theme="dark"] .route-overview-art { color: var(--m-accent) !important; }
:root[data-bs-theme="dark"] .story-bee-art { color: var(--m-primary) !important; }
:root[data-bs-theme="dark"] .not-found-aircraft { color: var(--m-accent) !important; }
.principle-grid, .family-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--m-line); border: 1px solid var(--m-line); }
.principle-card, .family-card, .feature-card { padding: clamp(1.5rem, 3vw, 2.8rem); background: var(--m-surface); min-height: 280px; display: flex; flex-direction: column; }
.principle-card .index, .family-card .index { color: var(--m-primary); font: .72rem var(--font-mono); letter-spacing: .1em; }
.principle-card h3, .family-card h3 { margin-top: auto; }
.dark-panel { background: var(--m-tech-bg); color: var(--m-tech-ink); }
.dark-panel h1, .dark-panel h2, .dark-panel h3 { color: var(--m-tech-ink); }
.dark-panel p { color: var(--m-tech-muted); }
.dark-panel .eyebrow { color: var(--m-primary); }
.dark-panel .evidence-badge { color: var(--m-secondary); }
.blueprint-wrap { border: 1px solid rgba(174,210,212,.32); background: var(--m-blueprint-bg); box-shadow: inset 0 0 80px rgba(0,0,0,.18); overflow: hidden; }
.blueprint-wrap svg { display: block; width: 100%; color: var(--m-accent); }
:root[data-bs-theme="dark"] .dark-panel .eyebrow { color: #e7b65d; }
:root[data-bs-theme="dark"] .dark-panel .evidence-badge { color: #b7d5c4; }
.evidence-badge { display: inline-flex; align-items: center; gap: .45rem; width: fit-content; padding: .34rem .55rem; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); color: var(--m-secondary); background: color-mix(in srgb, var(--m-secondary) 9%, transparent); font: 700 .65rem var(--font-mono); letter-spacing: .08em; }
.evidence-badge::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; }
.page-hero { padding-block: clamp(5rem, 9vw, 9rem) clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--m-line); overflow: hidden; position: relative; }
.page-hero::after { content: attr(data-plate); position: absolute; right: 2vw; bottom: -3vw; color: var(--m-line); font: clamp(6rem, 18vw, 18rem)/1 var(--font-display); letter-spacing: -.05em; pointer-events: none; }
.page-hero h1 { max-width: 1000px; }
.page-hero .lead-copy { position: relative; z-index: 1; }
.content-sections article { display: grid; grid-template-columns: minmax(150px,.55fr) minmax(0,1.45fr); gap: clamp(2rem, 8vw, 8rem); padding-block: clamp(3rem, 7vw, 6.5rem); border-bottom: 1px solid var(--m-line); }
.content-sections article h2 { font-size: clamp(2rem, 4vw, 4rem); }
.content-sections article p { max-width: 720px; font-size: 1.05rem; }
.content-sections .section-number { color: var(--m-primary); font: .72rem var(--font-mono); letter-spacing: .12em; }
.section-visual { margin-top: 2rem; padding: clamp(1rem, 4vw, 3rem); border: 1px solid var(--m-line); background: var(--m-surface); }
.callout { padding: 1.5rem; border-left: 3px solid var(--m-primary); background: var(--m-surface); }
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding-block: 5rem 2rem; border-top: 1px solid var(--m-line); background: var(--m-surface); }
.footer-trajectory { position: absolute; bottom: 0; right: 0; width: 50%; color: var(--m-accent); opacity: .14; z-index: -1; pointer-events: none; }
.dark-panel:has([data-milestones]) { background-image: linear-gradient(var(--m-line) 1px, transparent 1px),linear-gradient(90deg,var(--m-line) 1px,transparent 1px); background-size: 80px 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-grid h2 { font: 700 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.footer-links a { display: block; width: fit-content; margin: .55rem 0; color: var(--m-muted); text-decoration: none; }
.social-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--m-line); color: var(--m-muted); font-size: .75rem; }
.legal-draft { display: flex; gap: .65rem; align-items: flex-start; padding: 1rem; margin-block: 1rem 2rem; border: 1px solid color-mix(in srgb, var(--m-primary) 50%, var(--m-line)); background: color-mix(in srgb, var(--m-primary) 8%, transparent); }
.no-js { padding: 1rem; text-align: center; background: #ffecb4; color: #342a0e; }
