:root {
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  color: #15343c;
  background: #fff;
  --accent: #087d83;
  --ink: #15343c;
  --muted: #50686f;
  --line: #dbe6e8;
  --margin: clamp(22px, 5vw, 108px);
}
* { box-sizing: border-box; }
body { margin: 0; height: 100dvh; display: grid; grid-template-rows: 78px minmax(0, 1fr) 52px; }
h1, h2, p, dl, dt, dd, figure { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1:focus { outline: none; }
.masthead, .deck-footer { margin-inline: var(--margin); display: flex; align-items: center; min-width: 0; }
.masthead { border-bottom: 1px solid var(--line); gap: clamp(16px, 3vw, 44px); }
.brand { flex: 0 0 auto; }
.brand img { width: clamp(132px, 13.5vw, 192px); height: auto; }
.origin { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: .015em; }
.origin img { width: 31px; height: auto; }
.header-actions { margin-left: auto; display: flex; gap: 17px; align-items: center; }
.site-label { font-size: 15px; color: var(--muted); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; }
.icon-btn:hover:not(:disabled) { background: #eff6f6; }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.deck-footer { border-top: 1px solid var(--line); justify-content: space-between; color: var(--muted); }
.deck-footer nav { display: flex; align-items: center; gap: 10px; }
.deck-footer output { min-width: 72px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.official-site { margin-right: 6px; font-size: 14px; text-decoration: none; }
.official-site:hover { text-decoration: underline; }
.progress { position: fixed; height: 2px; bottom: 0; left: 0; width: 100%; pointer-events: none; }
.progress i { height: 100%; display: block; background: var(--accent); transition: width .25s ease; }
#stage { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: clamp(20px, 3.5vh, 44px) var(--margin); outline: none; }
.slide { min-height: 100%; max-width: 1660px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; animation: intro-enter .32s ease both; }
@keyframes intro-enter { from { transform: translateY(7px); opacity: 0; } to { transform: none; opacity: 1; } }
.slide-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: clamp(23px, 4.1vh, 48px); }
.slide h1 { font-size: clamp(34px, 4vw, 64px); line-height: 1.03; font-weight: 620; letter-spacing: -.043em; text-wrap: balance; }
.slide h2 { font-size: clamp(24px, 2.3vw, 39px); font-weight: 610; line-height: 1.14; letter-spacing: -.027em; }
.slide p, .slide dd { line-height: 1.43; }
.slide-body { min-width: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 78px); align-items: center; }
.cover-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr); }
.cover-copy h1 { font-size: clamp(44px, 5.4vw, 88px); }
.cover-copy em { color: var(--accent); font-style: normal; }
.cover-copy p { font-size: clamp(21px, 2vw, 31px); color: var(--muted); max-width: 455px; margin-top: 25px; }
.cover-visual video { width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.motion-actions button { min-height: 37px; padding: 6px 12px; border: 1px solid #c5dbde; border-radius: 4px; color: var(--accent); font-size: 14px; }
.motion-actions button:hover { background: #edf7f7; }
.team, .history { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 45px); }
.team img { width: 100%; height: clamp(175px, 42vh, 480px); object-fit: cover; object-position: center 24%; border-radius: 4px; background: #edf2f3; }
.team figcaption { margin-top: 16px; font-size: clamp(23px, 2.2vw, 37px); font-weight: 530; }
.history img { width: 100%; height: clamp(215px, 48vh, 520px); object-fit: cover; border-radius: 4px; }
.manufacture video, .manufacture img { width: 100%; height: clamp(190px, 38vh, 440px); object-fit: contain; background: #f2f5f5; border-radius: 4px; }
.manufacture figcaption, .flight-film figcaption { margin-top: 13px; color: var(--muted); font-size: 18px; }
.flight-film { width: min(100%, 1050px, 106vh); margin: auto; text-align: center; }
.flight-film video { width: 100%; max-height: 55vh; aspect-ratio: 16/9; object-fit: contain; border-radius: 4px; background: #0a1b21; }
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 86px); }
.platforms article { text-align: center; }
.platform-media { display: grid; place-items: center; height: clamp(145px, 35vh, 355px); border-bottom: 1px solid var(--line); margin-bottom: clamp(13px, 2vh, 22px); }
.platform-media img { width: 94%; height: 100%; min-height: 0; object-fit: contain; }
.platforms h2 { font-size: clamp(24px, 2.6vw, 41px); }
.platform-specs { display: flex; justify-content: center; gap: clamp(18px, 4vw, 58px); margin-top: clamp(10px, 1.8vh, 20px); }
.platform-specs dd { color: var(--accent); font-size: clamp(23px, 2.55vw, 40px); font-weight: 620; line-height: 1.2; white-space: nowrap; }
.aircraft-types-slide .slide-heading { margin-bottom: clamp(16px, 2.6vh, 32px); }
.type-comparison { --area-edge: clamp(90px, 15.5vh, 145px); --type-columns: minmax(160px, 1.25fr) minmax(94px, .64fr) minmax(138px, .92fr) minmax(115px, 1fr); }
.type-columns, .type-row { display: grid; grid-template-columns: var(--type-columns); align-items: center; column-gap: clamp(12px, 2vw, 32px); }
.type-columns { padding: 0 0 12px; font-size: clamp(14px, 1.2vw, 19px); font-weight: 550; color: var(--muted); }
.type-columns > :nth-child(n + 3) { text-align: center; }
.type-row { border-top: 1px solid var(--line); padding: 6px 0; min-height: calc(var(--area-edge) + 12px); }
.type-row:last-of-type { border-bottom: 1px solid var(--line); }
.type-profile h2 { font-size: clamp(20px, 2.15vw, 36px); }
.type-profile p { margin-top: 6px; color: var(--muted); font-size: clamp(16px, 1.5vw, 23px); font-weight: 570; }
.type-manta h2 { color: var(--accent); }
.type-duration { display: flex; flex-direction: column; gap: 0; align-items: flex-start; }
.type-duration strong { font-size: clamp(24px, 2.8vw, 43px); font-weight: 580; font-variant-numeric: tabular-nums; line-height: 1.1; white-space: nowrap; }
.type-duration small { font-size: .57em; font-weight: 500; }
.type-projected { color: var(--muted); font-size: clamp(13px, 1.2vw, 17px); }
.type-area { display: grid; place-items: center; min-width: 0; }
.type-square { display: grid; align-content: center; justify-items: center; width: calc(var(--area-edge) * var(--area-ratio)); aspect-ratio: 1; border: 1px solid #8ba8ae; border-radius: 2px; color: #173a43; background: #e1ecee; line-height: 1.02; }
.type-square strong { font-size: clamp(13px, calc(var(--area-edge) * var(--area-ratio) * .24), 25px); font-variant-numeric: tabular-nums; font-weight: 650; }
.type-square > span { font-size: clamp(11px, calc(var(--area-edge) * var(--area-ratio) * .18), 17px); margin-top: 2px; }
.type-row:nth-of-type(2) .type-square { border-color: #b69c65; background: #f6ebd2; color: #67471a; }
.type-manta .type-square { background: #087d83; border-color: #087d83; color: #fff; }
.type-picture { display: grid; place-items: center; width: min(100%, calc(var(--area-edge) * 1.7)); margin-inline: auto; }
.type-picture img { width: var(--span-width); height: auto; }
.type-mobile-label { display: none; }
.manta-feature { width: min(100%, 850px); margin: 0 auto clamp(14px, 2.8vh, 33px); text-align: center; }
.manta-feature img { width: 100%; height: clamp(154px, 35vh, 369px); object-fit: contain; }
.manta-feature figcaption { margin-top: 7px; color: var(--accent); font-size: clamp(27px, 3.05vw, 45px); font-weight: 650; }
.reference-aircraft { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(13px, 2.2vw, 32px); width: min(100%, 1420px); margin-inline: auto; border-top: 1px solid var(--line); padding: clamp(13px, 2.1vh, 24px) 0 0; }
.reference-aircraft figure { min-width: 0; text-align: center; }
.reference-logo { display: flex; align-items: center; justify-content: center; height: clamp(25px, 4.6vh, 40px); margin-bottom: clamp(5px, 1.2vh, 12px); }
.reference-logo img { width: min(88%, 174px); height: min(100%, 34px); object-fit: contain; }
.reference-logo-with-name { gap: 3px; font-size: clamp(12px, 1.3vw, 19px); font-weight: 620; letter-spacing: -.025em; color: #236fb6; }
.reference-logo-with-name img { width: clamp(22px, 2.65vw, 45px); height: auto; flex: none; }
.reference-photo { height: clamp(92px, 16vh, 163px); display: grid; place-items: center; overflow: hidden; margin-bottom: 9px; }
.reference-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.reference-orkid img { height: 91%; transform: scale(1.16); }
.reference-aircraft figcaption { font-size: clamp(17px, 1.55vw, 25px); line-height: 1.15; font-weight: 610; text-wrap: balance; }
.reference-amount { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 630; white-space: nowrap; }
.reference-aircraft .reference-amount { display: block; margin-top: 6px; font-size: clamp(15px, 1.52vw, 24px); }
.applications { display: grid; grid-template-columns: minmax(225px, .64fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 70px); align-items: center; }
.applications-menu { display: grid; }
.applications-menu button { padding: 13px 6px 13px 0; min-height: 48px; text-align: left; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.6vw, 26px); color: var(--muted); }
.applications-menu button:hover, .applications-menu button[aria-pressed=true] { color: var(--accent); }
.applications-menu button[aria-pressed=true] { font-weight: 620; border-bottom: 2px solid var(--accent); }
.application-screen { position: relative; isolation: isolate; overflow: hidden; border-radius: 5px; min-height: 265px; height: min(49vh, 520px); color: white; background: #16313b; }
.application-screen > img { width: 100%; height: 100%; object-fit: cover; position: absolute; z-index: -2; }
.application-screen::after { position: absolute; inset: 0; content: ""; z-index: -1; background: linear-gradient(0deg, #071c24ef, #071c2400 82%); }
.application-screen figcaption { position: absolute; inset: auto 0 0; padding: clamp(20px, 3vw, 38px); }
.application-screen p { font-size: clamp(17px, 1.6vw, 25px); margin-top: 8px; color: #e3eff1; }
.simulation { justify-content: flex-start; height: 100%; }
.simulation .slide-heading { margin-bottom: 19px; }
.simulation h1 { font-size: clamp(29px, 3.5vw, 56px); text-wrap: wrap; }
.simulation .slide-body { flex: 1; min-height: 0; }
.scene-loading { color: var(--muted); font-size: 17px; padding: 30px 0; }
.motion-actions { display: flex; flex: none; align-items: center; gap: 8px; }
.scene-clock { color: var(--accent); font-size: clamp(18px, 1.65vw, 25px); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; margin-right: 4px; }
.slide:has(.delivery-pilot) { justify-content: flex-start; max-width: 1660px; }
.delivery-pilot { height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 13px; }
.delivery-legend { width: 100%; }
.delivery-live-table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; font-variant-numeric: tabular-nums; }
.delivery-live-table th, .delivery-live-table td { padding: 6px 13px 6px 0; }
.delivery-live-table thead th { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 540; }
.delivery-live-table thead th:first-child { width: 35%; }
.delivery-live-table tbody th, .delivery-live-table tbody td { font-size: clamp(16px, 1.6vw, 24px); font-weight: 520; }
.delivery-live-table tbody th small { font-size: .71em; font-weight: 450; color: var(--muted); margin-left: 8px; }
.delivery-drone-row th { color: var(--accent); }
.delivery-motorcycle-row th { color: #846026; }
.delivery-scene-wrap { width: 100%; height: 100%; min-height: 0; display: grid; place-items: center; }
.delivery-route-scene { width: 100%; height: auto; max-width: 100%; max-height: 100%; min-height: 0; aspect-ratio: var(--delivery-scene-aspect, 1860/700); container-type: inline-size; }
.delivery-route-background, .delivery-route-overlay { left: 0; top: var(--delivery-sky-offset, 10%); width: 100%; height: var(--delivery-layer-height, 120.857%); }
.delivery-route-background { object-fit: fill; object-position: top left; }
.delivery-route-scene .delivery-connection { top: var(--delivery-connection-top, 47.5%); font-size: clamp(10px, 1.32cqw, 18px); }
.maritime-sar { height: 100%; min-height: 0; display: flex; flex-direction: column; width: 100%; }
.sar-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; flex: 1; min-height: 0; }
.sar-alternative { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.sar-alternative figcaption { padding-bottom: 11px; }
.sar-title { display: flex; align-items: center; gap: 9px; font-size: clamp(17px, 1.7vw, 28px); font-weight: 580; }
.sar-title i { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex: none; }
.sar-crewed .sar-title i { background: #c49c58; }
.sar-map-window { position: relative; overflow: hidden; flex: 1; min-height: 190px; border-radius: 6px; background: #102c36 url('assets/sar-guanacaste-landsat.jpg') center/cover; }
.sar-map-window canvas { width: 100%; height: 100%; position: absolute; inset: 0; }
.sar-map-credit { position: absolute; bottom: 6px; left: 8px; color: #edf5f4; padding: 2px 4px; background: #09262cbb; font-size: 11px; border-radius: 2px; pointer-events: none; }
.no-script { position: fixed; inset: 35% 10% auto; padding: 1rem; background: white; }
@media (min-width: 901px) and (max-height: 740px) {
  body { grid-template-rows: 65px minmax(0, 1fr) 45px; }
  .slide-heading { margin-bottom: 24px; }
  .slide h1 { font-size: clamp(34px, 3.45vw, 52px); }
  .cover-copy h1 { font-size: clamp(42px, 5.15vw, 74px); }
}
@media (max-width: 900px) {
  body { grid-template-rows: 63px minmax(0, 1fr) 48px; }
  .slide { justify-content: flex-start; }
  .origin span { display: none; }
  .split { gap: 26px; }
  .simulation { height: auto; }
  .simulation .slide-body { flex: none; }
  .delivery-pilot { height: auto; grid-template-rows: auto auto; }
  .delivery-scene-wrap { height: auto; }
  .delivery-route-scene { max-height: none; }
  .sar-map-window { min-height: 280px; }
}
@media (min-width: 751px) and (max-width: 900px) and (max-height: 600px) {
  .type-comparison { --area-edge: max(76px, 14.5vh); }
  .manta-feature img { height: max(133px, 33vh); }
  .reference-photo { height: 82px; margin-bottom: 8px; }
}
@media (max-width: 750px) {
  .type-columns { display: none; }
  .type-comparison { --area-edge: 96px; }
  .type-row { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(72px, .86fr); min-height: 0; padding: 11px 0; row-gap: 10px; }
  .type-profile { grid-column: 1 / 3; }
  .type-picture { grid-area: 1 / 3; }
  .type-picture img { width: max(36px, var(--span-width)); }
  .type-duration { grid-area: 2 / 1; }
  .type-mobile-label { display: inline; color: var(--muted); font-size: 13px; }
  .type-area { grid-area: 2 / 2 / 3 / 4; grid-template-columns: auto auto; justify-content: end; column-gap: 7px; }
  .reference-aircraft { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .masthead { gap: 13px; }
  .header-actions { gap: 4px; }
  .site-label { display: none; }
  .split, .history, .team, .platforms, .applications, .sar-comparison { grid-template-columns: minmax(0, 1fr); }
  .slide-heading { margin-bottom: 22px; }
  .cover-copy h1 { font-size: clamp(38px, 10vw, 55px); }
  .cover-copy p { margin-top: 17px; font-size: 21px; }
  .cover-visual video { margin-top: 4px; }
  .manta-feature { margin-bottom: 17px; }
  .reference-aircraft { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .history img { height: 225px; }
  .team, .history, .platforms { gap: 27px; }
  .team img { height: 260px; }
  .team figcaption { margin-top: 10px; }
  .flight-film { width: 100%; }
  .platform-media { height: 180px; }
  .applications { gap: 18px; }
  .applications-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .applications-menu button { min-height: 56px; padding: 9px 3px 9px 0; }
  .application-screen { height: 280px; }
  .simulation .slide-heading { flex-wrap: wrap; gap: 12px; }
  .delivery-live-table th, .delivery-live-table td { padding-right: 5px; }
  .delivery-live-table thead th { font-size: 12px; }
  .delivery-live-table thead th:first-child { width: 33%; }
  .delivery-live-table tbody th small { display: block; margin: 3px 0 0; }
  .delivery-live-table tbody th, .delivery-live-table tbody td { font-size: 15px; }
  .sar-map-window { min-height: 230px; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
