/* Homepage only: an editorial field journal with room for a small aircraft. */
.home-flight {
    --flight-gutter: max(124px, 9vw);
    --flight-paper: #f7f8f2;
    --flight-line: #dce2d5;
    --flight-green: #476836;
    --flight-ink: #202a25;
    background: var(--flight-paper);
}
.home-flight main { overflow: clip; }
.home-flight .vx-section { padding: clamp(4.5rem, 8vw, 8rem) var(--flight-gutter) clamp(4.5rem, 8vw, 8rem) 6%; padding-right: var(--flight-gutter) !important; }
.home-flight .vx-wrap { max-width: 1200px; }
.home-flight .vx-h2 { font-size: clamp(2rem, 4.1vw, 3.6rem) !important; font-weight: 500 !important; letter-spacing: -.045em; }
.home-flight .vx-lead { font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.75; max-width: 650px; }
.home-flight .vx-eyebrow { letter-spacing: .13em; font-size: .66rem; }
.home-flight .vx-grad { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
.home-flight .vx-section--mist { background: var(--c-band); }
.home-flight .vx-section:not(.vx-section--ink) { border-bottom: 1px solid var(--line); }
.home-flight .vx-btn { border-radius: 5px; gap: 1.5rem; font-size: .88rem; padding: 1rem 1.3rem; }
.home-flight .vx-btn:not(.vx-btn--ghost) { background: var(--flight-ink); color: #fff; }
.home-flight .vx-btn:not(.vx-btn--ghost):hover { background: var(--flight-green); }
.home-flight .vx-route { border-radius: 0; border-width: 1px 0 0; background: transparent; padding: 1.5rem 0; }
.home-flight .vx-route:hover { box-shadow: none; }
.home-flight .vx-route__title { display: flex; justify-content: space-between; font-size: 1.2rem; }
.home-flight .vx-routes { gap: 3rem; margin-top: 3.5rem; }
.home-flight .vx-card, .home-flight .vx-brand { border-radius: 7px; }
.home-flight .vx-card { width: clamp(245px, 29vw, 360px); }
.home-flight .vx-card__media img { aspect-ratio: 4/3; }
.home-flight .vx-rail__track { margin-right: 0; padding-right: 0; }
.home-flight .vx-band, .home-flight .vx-split__media { border-radius: 7px; }
.home-flight .vx-band { max-width: 850px; }
.home-flight .vx-band img { max-height: 490px; }
.home-flight .vx-brand__media img { max-height: 260px; }
.home-flight .vx-stats { border-top: 1px solid var(--line); padding-top: 2rem; }
.home-flight .vx-section--ink .vx-stats { border-color: #465349; }
.home-flight .vx-stat__big { font-weight: 400 !important; letter-spacing: -.05em; }
.home-flight .vx-close { text-align: left; }
.home-flight .vx-close .vx-lead { margin-left: 0; }
.home-flight .vx-close .vx-actions { justify-content: flex-start; }
.home-flight .vx-subnav { padding-left: 6%; padding-right: 6%; }
.home-flight .vx-subnav__cta { border-radius: 4px; }
.flight-hero {
    position: relative; isolation: isolate;
    min-height: min(900px, 100svh);
    padding: clamp(150px, 14vw, 210px) var(--flight-gutter) 35px 6%;
    display: flex; flex-direction: column; justify-content: center;
    background: var(--flight-paper); color: var(--flight-ink);
    border-bottom: 1px solid var(--flight-line);
}
.home-flight .flight-hero { padding-right: var(--flight-gutter) !important; }
.flight-hero__copy { width: min(66%, 780px); position: relative; }
.flight-hero .vx-display { font-size: clamp(3.8rem, 7.3vw, 7.2rem) !important; line-height: .99 !important; font-weight: 500 !important; letter-spacing: -.065em; color: var(--flight-ink) !important; }
.flight-serif { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-style: italic; letter-spacing: -.055em; color: var(--flight-green); }
.flight-hero .vx-eyebrow { display: flex; align-items: center; gap: 9px; color: var(--flight-green); margin-bottom: 2.2rem; line-height: 1.6; }
.flight-dot { width: 6px; height: 6px; flex: 0 0 6px; background: #5c853e; border-radius: 50%; box-shadow: 0 0 0 4px #698b4814; }
.flight-hero .vx-hero__sub { max-width: 465px; font-size: 1.06rem; color: #5c665c; margin-top: 1.8rem; }
.flight-text-link { color: var(--flight-ink); text-decoration: none; font-size: .85rem; padding: .8rem 0; border-bottom: 1px solid #a6b29b; display: flex; gap: 1rem; }
.flight-text-link:hover { color: var(--flight-green); }
.flight-hero__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: auto; padding-top: 70px; font: .62rem 'IBM Plex Mono', monospace; color: #626e5f; }
.flight-scroll { color: var(--flight-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.flight-scroll > span { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid #bac8ad; border-radius: 50%; font: 18px Arial, sans-serif; }
.flight-contours { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(circle at 77% 40%, #e6eed78c, transparent 46%); }
.flight-contours::before { content: ''; position: absolute; width: 1000px; height: 1000px; left: 46%; top: -170px; border-radius: 42%; transform: rotate(-24deg) scaleX(.8); background: repeating-radial-gradient(ellipse at center, transparent 0 38px, #b9c8a82c 39px 40px, transparent 41px 65px); mask-image: linear-gradient(to right, transparent, #000 40%); }
.flight-launch { position: absolute; left: 79%; top: 45%; width: 150px; height: 150px; transform: translate(-50%, -50%); color: #78916a; pointer-events: none; }
.flight-launch__ring { position: absolute; inset: 0; border: 1px solid #9fb88970; border-radius: 50%; box-shadow: 0 0 0 24px #a8bb9210, 0 0 0 25px #a8bb9235; }
.flight-launch__cross { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 28px monospace; font-weight: 200; }
.flight-launch__label { position: absolute; top: calc(100% + 42px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: .55rem 'IBM Plex Mono', monospace; letter-spacing: .1em; }
.flight-section-top { display: flex; justify-content: space-between; gap: 2rem; align-items: baseline; padding-bottom: 2rem; }
.flight-caption { font: .65rem 'IBM Plex Mono', monospace; color: var(--sub); }
.flight-mission__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.flight-tabs { display: flex; flex-direction: column; margin-top: 2rem; border-top: 1px solid var(--line); }
.flight-tabs button { display: flex; justify-content: space-between; padding: 1.1rem 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--sub); text-align: left; font: 500 .88rem 'Inter', sans-serif; cursor: pointer; }
.flight-tabs button[aria-selected="true"] { color: var(--accent); font-weight: 700; box-shadow: inset 3px 0 var(--accent); padding-left: 1rem; }
.flight-tabs button:hover { color: var(--ink); }
.flight-tabs button:focus-visible, .flight-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* Without JavaScript all three environment panels are shown, stacked, so
   every route stays reachable. Once the script has run it adds .is-enhanced
   and hides all but the selected panel with the hidden attribute. */
.flight-mission__panels { display: grid; gap: 1.25rem; }
.flight-mission__panels.is-enhanced { display: block; }
.flight-mission__panel { border: 1px solid var(--line); background: var(--c-surface); border-radius: 7px; overflow: hidden; }
.flight-mission__image { background: var(--mist); position: relative; }
.flight-mission__image img { width: 100%; height: 285px; object-fit: contain; display: block; padding: 18px; }
.flight-mission__image > span { position: absolute; bottom: 12px; left: 14px; color: #fff; background: #26382ae6; padding: .4rem .6rem; font: .56rem 'IBM Plex Mono', monospace; letter-spacing: .1em; }
.flight-mission__body { padding: 1.6rem; }
.flight-mission__body h3 { font-size: 1.5rem !important; margin: 0 0 .7rem; letter-spacing: -.04em; }
.flight-mission__body p { color: var(--sub); font-size: .88rem; line-height: 1.7; }
.flight-mission__links { display: flex; gap: 1.3rem; flex-wrap: wrap; margin-top: 1.5rem; }
.flight-mission__links a { color: var(--accent); font-size: .74rem; font-weight: 600; text-decoration: none; }
.flight-mission__links a:hover { text-decoration: underline; }
.flight-craft { position: fixed; z-index: 40; top: 0; left: 0; width: 92px; height: 92px; pointer-events: none; will-change: transform; filter: drop-shadow(0 9px 5px #142c242b); }
.flight-craft[hidden], .flight-toggle[hidden] { display: none; }
.flight-drone { width: 100%; height: 100%; overflow: visible; animation: flight-arrive .7s cubic-bezier(.2,.8,.3,1) both; }
@keyframes flight-arrive { from { opacity: 0; transform: scale(.65); } to { opacity: 1; transform: scale(1); } }
.flight-propeller { transform-box: fill-box; transform-origin: center; }
.flight-toggle { position: fixed; z-index: 45; bottom: 16px; right: 16px; padding: 9px 12px; border-radius: 4px; border: 1px solid var(--line); background: var(--c-surface); color: var(--sub); font: .62rem 'IBM Plex Mono', monospace; cursor: pointer; box-shadow: 0 2px 12px #00000009; }
.flight-toggle > span { margin-left: 6px; }
.flight-toggle:hover { color: var(--accent); border-color: var(--accent); }
@media (min-width: 1500px) { .flight-hero__copy { margin-left: max(0px, calc((100vw - 1500px) / 2)); } }
@media (max-width: 1000px) {
    .home-flight { --flight-gutter: 105px; }
    .flight-hero .vx-display { font-size: clamp(3.6rem, 7.5vw, 5.2rem) !important; }
    .flight-hero__copy { width: 76%; }
    .flight-hero__bottom > span { display: none; }
    .flight-mission__grid { gap: 2rem; }
    .flight-caption { display: none; }
    .home-flight .vx-split { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .home-flight { --flight-gutter: 72px; }
    .home-flight .vx-section { padding: 4rem var(--flight-gutter) 4rem 20px; }
    .home-flight .vx-h2 { font-size: clamp(1.9rem, 6.7vw, 2.7rem) !important; }
    .home-flight .vx-eyebrow { font-size: .6rem; line-height: 1.7; }
    .home-flight .vx-routes, .home-flight .vx-split, .home-flight .vx-brands, .home-flight .vx-tiles { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .home-flight .vx-card { width: 100%; }
    .home-flight .vx-card__body { padding: 1.2rem; }
    .home-flight .vx-actions { gap: .85rem; }
    .home-flight .vx-btn { font-size: .8rem; padding: .9rem 1rem; }
    .home-flight .vx-stat__big { font-size: 2.2rem !important; }
    .home-flight .vx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
    .home-flight .vx-subnav__name { font-size: .8rem; }
    .flight-hero { min-height: 740px; min-height: max(690px, 100svh); padding: 145px var(--flight-gutter) 28px 20px; }
    .flight-hero__copy { width: 100%; }
    .flight-hero .vx-display { font-size: clamp(2.2rem, 10.5vw, 4.5rem) !important; }
    .flight-hero .vx-eyebrow { max-width: 260px; margin-bottom: 2.2rem; font-size: .57rem; }
    .flight-hero .vx-hero__sub { font-size: .96rem; line-height: 1.75; }
    .flight-hero .vx-actions { align-items: flex-start; flex-direction: column; margin-top: 1.6rem; }
    .flight-hero__bottom { padding-top: 54px; }
    .flight-launch { left: calc(100% - 35px); top: 34%; width: 43px; height: 43px; }
    .flight-launch__ring { box-shadow: 0 0 0 9px #a8bb9210, 0 0 0 10px #a8bb9235; }
    .flight-launch__label { display: none; }
    .flight-contours::before { left: 20%; opacity: .5; }
    .flight-mission__grid { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
    .flight-tabs { flex-direction: row; margin-top: 1.5rem; }
    .flight-tabs button { flex: 1; font-size: .72rem; justify-content: center; }
    .flight-tabs button > span { display: none; }
    .flight-tabs button[aria-selected="true"] { box-shadow: inset 0 -2px var(--accent); padding-left: 0; }
    .flight-mission__image img { height: 220px; padding: 10px; }
    .flight-mission__body { padding: 1.2rem; }
    .flight-mission__body h3 { font-size: 1.3rem !important; }
    .flight-mission__links { flex-direction: column; gap: 1rem; }
    .flight-craft { width: 52px; height: 52px; }
    .flight-toggle { right: 9px; bottom: 10px; width: 52px; padding: 7px 3px; font-size: .5rem; line-height: 1.6; }
    .flight-toggle > span { display: none; }
}
@media (prefers-color-scheme: dark) {
    .home-flight { --flight-paper: #172019; --flight-ink: #e9eee2; --flight-green: #b0d58c; --flight-line: #334035; }
    .flight-hero .vx-hero__sub, .flight-hero__bottom { color: #a8b5a4; }
    .flight-contours { background: radial-gradient(circle at 77% 40%, #3e57352e, transparent 46%); }
    .home-flight .vx-btn:not(.vx-btn--ghost) { background: #d5e8c0; color: #203123; }
    .home-flight .vx-btn:not(.vx-btn--ghost):hover { background: #b0d58c; }
}
@media (prefers-reduced-motion: reduce) {
    .flight-craft { position: absolute; will-change: auto; }
    .flight-drone { animation: none; }
    .home-flight *, .home-flight *::before { scroll-behavior: auto !important; transition: none !important; }
}
