@layer reset, base, layout, components, pages, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure { margin: 0; }
  button, input, select { font: inherit; }
  button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
  img { display: block; max-width: 100%; }
  button, select, summary { cursor: pointer; }
  button { color: inherit; }
  a { color: inherit; text-decoration: none; }
  button { border: 0; }
}

@layer base {
  :root { --paper: #fafbf9; --ink: #182c35; --muted: #63727a; --line: #dfe5e5; --teal: #197b85; --teal-dark: #125e66; --cyan-pale: #eaf6f4; --pink: #e8b9da; --white: #fff; --radius: 12px; }
  html { scroll-behavior: smooth; scroll-padding-top: 112px; }
  body { background: var(--paper); color: var(--ink); font-family: 'Segoe UI', Arial, sans-serif; font-size: 15px; line-height: 1.65; position: relative; isolation: isolate; }
  body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: url('/assets/zendex-pattern.png') repeat; background-size: 340px; pointer-events: none; }
  h1, h2, h3 { font-weight: 600; line-height: 1.15; letter-spacing: -.035em; }
  h1 { font-size: clamp(40px, 4vw, 60px); }
  h2 { font-size: 32px; }
  h3 { font-size: 21px; }
  p { color: var(--muted); }
  .icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
  :focus-visible { outline: 3px solid #198693; outline-offset: 5px; border-radius: 3px; }
  ::selection { background: #bfe8e5; color: #102b34; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: var(--ink); color: white; z-index: 100; }
  .skip-link:focus { top: 12px; }
  .noscript { padding: 40px; }
  main:focus { outline: none; }
}

@layer layout {
  .container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
  .narrow { max-width: 900px; }
  .site-header { height: 96px; position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / 96%); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
  .header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
  .brand { display: inline-flex; gap: 10px; align-items: center; flex-shrink: 0; }
  .brand img { width: 54px; height: 54px; object-fit: contain; }
  .brand > span { font-size: 24px; font-weight: 750; letter-spacing: -.8px; line-height: 1.2; }
  .brand-ts { color: var(--teal); font-weight: 500; }
  .brand small { display: block; font-size: 8px; letter-spacing: 3.2px; color: var(--muted); margin-top: 5px; font-weight: 600; }
  #primary-nav { display: flex; gap: 32px; height: 100%; align-items: center; }
  #primary-nav a { font-size: 14px; color: #56666d; height: 100%; display: flex; align-items: center; position: relative; }
  #primary-nav a:hover, #primary-nav a[aria-current] { color: var(--ink); }
  #primary-nav a[aria-current]::after { content: ''; position: absolute; bottom: 22px; left: 0; width: 18px; height: 2px; background: var(--teal); }
  .header-cta { display: flex; gap: 18px; font-size: 13px; font-weight: 600; align-items: center; border: 1px solid #b7c6c8; border-radius: 6px; padding: 10px 16px; }
  .header-cta .icon { width: 16px; }
  .header-cta:hover { border-color: var(--teal); background: var(--cyan-pale); }
  .menu-button { display: none; background: transparent; padding: 10px; }
  .section { padding-block: 66px 0; }
  .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 27px; }
  .section-heading .eyebrow { margin-bottom: 10px; }
  .section-heading.compact { align-items: center; }
  .section-heading.compact h2 { font-size: 26px; }
  .airport-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
  .site-footer { margin-top: 80px; background: rgb(255 255 255 / 88%); border-top: 1px solid var(--line); }
  .footer-main { display: flex; justify-content: space-between; padding-block: 48px 40px; gap: 40px; }
  .footer-main p { font-size: 13px; line-height: 1.8; margin-top: 17px; }
  .footer-links { display: flex; gap: 95px; padding-top: 8px; }
  .footer-links > div { display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: var(--muted); }
  .footer-links h2 { color: var(--ink); font-size: 13px; margin-bottom: 6px; letter-spacing: 0; }
  .footer-links a { display: flex; align-items: center; gap: 6px; }
  .footer-links a:hover { color: var(--teal); }
  .footer-links .icon { width: 13px; height: 13px; }
  .footer-preview { font-size: 11px; color: #79878b; }
  .footer-bottom { display: flex; gap: 30px; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 20px; font-size: 10px; color: var(--muted); }
}

/* Social links stay available outside the collapsed mobile navigation. */
.header-inner { gap: 24px; }
.header-socials { display: flex; align-items: center; gap: 2px; }
.header-socials .social-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 40px; color: var(--muted); border: 1px solid transparent; border-radius: 5px; }
.header-socials .social-link:hover { color: var(--teal); border-color: #d4e3e1; background: #f0f7f4; }
.header-socials .icon { width: 19px; height: 19px; }
.footer-links { gap: 55px; }
.footer-links .social-link { gap: 8px; }
.footer-links .social-link .icon { width: 16px; height: 16px; }
.footer-links .community-links p { font-size: 11px; margin-top: 4px; line-height: 1.7; }

/* Leaflet's stylesheet is loaded on demand, so map overrides are unlayered. */
.map-intro { padding-bottom: 30px; }
.map-intro h1 { font-size: clamp(36px, 3.8vw, 54px); }
.map-explorer { border: 1px solid #cfdddc; border-radius: 12px; background: white; overflow: hidden; box-shadow: 0 10px 25px #19394106; }
.map-toolbar { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 18px 22px; }
.map-selector { display: flex; align-items: center; gap: 13px; flex: 1; min-width: 0; }
.map-selector > .icon { color: var(--teal); }
.map-selector > span { display: block; min-width: 0; width: 100%; max-width: 480px; }
.map-selector-label { display: block; color: var(--muted); font-size: 8px; letter-spacing: 1.6px; font-weight: 600; margin-bottom: 4px; }
.map-selector select { width: 100%; color: var(--ink); border: 0; background: #fff; font-size: 13px; padding: 4px 22px 4px 0; text-overflow: ellipsis; }
.map-toolbar-end { display: flex; align-items: center; gap: 24px; }
.map-count { color: var(--muted); font-size: 11px; white-space: nowrap; }
.map-count .dot { padding-inline: 4px; }
.map-toolbar .button { padding: 10px 13px; font-size: 11px; gap: 9px; white-space: nowrap; }
.map-view-bar { border-top: 1px solid var(--line); padding: 10px 22px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #fbfdfb; }
.map-view-switch { display: inline-flex; border: 1px solid #cbded9; border-radius: 5px; overflow: hidden; flex-shrink: 0; }
.map-view-switch button { background: #fff; color: var(--muted); padding: 8px 13px; font-size: 11px; }
.map-view-switch button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.map-view-switch button:hover { color: var(--teal); background: #edf7f3; }
.map-view-switch button[aria-pressed='true']:hover { color: #fff; background: var(--teal-dark); }
.map-view-switch button:focus-visible { outline-offset: -3px; }
#map-view-note { font-size: 10px; color: var(--muted); }
.map-reference-toggle { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: var(--muted); font-size: 10px; cursor: pointer; }
.map-reference-toggle[hidden] { display: none; }
.map-reference-toggle input { accent-color: var(--teal); width: 14px; height: 14px; }
.airport-map { height: clamp(460px, 65vh, 660px); width: 100%; background: #e8efec; z-index: 0; border-block: 1px solid #d8e3df; font-family: inherit; }
.airport-map:focus-visible { outline-offset: -4px; }
.map-status { padding: 14px 22px; background: #edf6f3; color: #49656c; font-size: 12px; border-top: 1px solid #d4e5e1; }
.map-status[hidden] { display: none; }
.map-status-error { background: #fff8e8; color: #755821; }
.map-status a { text-decoration: underline; text-underline-offset: 3px; }
.map-bottom-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 22px; background: #fbfdfb; }
.map-bottom-bar > p { font-size: 11px; line-height: 1.7; }
.map-bottom-bar > span { display: flex; align-items: center; gap: 7px; color: var(--teal-dark); font-size: 8px; font-weight: 600; letter-spacing: 1.2px; white-space: nowrap; }
.map-bottom-bar .icon { width: 12px; height: 12px; }
.map-notes { margin-top: 17px; display: flex; justify-content: space-between; gap: 25px; }
.map-notes p { font-size: 10px; line-height: 1.8; }
.map-notes a { text-decoration: underline; text-underline-offset: 3px; }
.map-notes .dot { padding-inline: 4px; }
.map-page .small-guide { margin-top: 32px; }
.airport-map .leaflet-control-zoom { border: 1px solid #bfcecc; border-radius: 6px; overflow: hidden; box-shadow: 0 3px 12px #17363815; }
.airport-map .leaflet-control-zoom a { background: #fff; color: var(--ink); width: 36px; height: 36px; line-height: 36px; font-size: 22px; font-weight: 400; }
.airport-map .leaflet-control-zoom a:hover { background: #eaf5f1; color: var(--teal); }
.airport-map .leaflet-control-attribution { color: #4a6067; font-size: 10px; padding: 4px 7px; background: rgb(255 255 255 / 96%); line-height: 1.5; max-width: 600px; }
.airport-map .leaflet-control-attribution a { color: #216c77; }
.airport-map .leaflet-control-attribution svg { display: none; }
.airport-map .zendex-map-marker { background: transparent; border: none; }
.map-pin { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50% 50% 50% 3px; transform: rotate(-45deg); color: white; background: var(--teal); border: 2px solid white; box-shadow: 0 2px 7px #163e4259; }
.map-pin svg { transform: rotate(45deg); width: 18px; height: 18px; }
.zendex-map-marker:hover .map-pin, .zendex-map-marker.is-selected .map-pin { background: var(--ink); box-shadow: 0 0 0 4px #57afb32b, 0 3px 7px #163e4266; }
.zendex-map-marker.is-coming-soon .map-pin { background: #f4c542; color: var(--ink); }
.zendex-map-marker.is-coming-soon:hover .map-pin, .zendex-map-marker.is-coming-soon.is-selected .map-pin { background: #eabf3d; box-shadow: 0 0 0 4px #f4c54240, 0 3px 7px #163e4266; }
.airport-map .map-marker-tooltip { font-family: inherit; border: 1px solid #c9dbd8; background: #fff; color: var(--ink); padding: 6px 10px; font-size: 11px; box-shadow: 0 3px 12px #12363b18; }
.airport-map .zendex-map-popup .leaflet-popup-content-wrapper { padding: 0; border: 1px solid #cddbd8; border-radius: 9px; overflow: hidden; box-shadow: 0 6px 25px #17353f26; }
.airport-map .zendex-map-popup .leaflet-popup-content { margin: 0; width: 260px !important; max-width: calc(100vw - 100px); font-family: 'Segoe UI', Arial, sans-serif; line-height: 1.5; }
.airport-map .zendex-map-popup .leaflet-popup-close-button { top: 6px; right: 6px; background: #fffffff0; color: var(--ink); border: 1px solid #dce4e2; border-radius: 50%; width: 26px; height: 26px; line-height: 24px; font-size: 19px; z-index: 2; }
.airport-map-popup > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--ink); }
.map-popup-body { padding: 17px 18px 18px; }
.map-popup-code { display: inline-block; font-size: 9px; color: var(--teal-dark); font-weight: 650; letter-spacing: 1.5px; margin-bottom: 7px; }
.map-popup-body h2 { font-size: 18px; line-height: 1.25; letter-spacing: -.4px; color: var(--ink); font-weight: 600; }
.airport-map .map-popup-body p { margin: 6px 0 15px; color: var(--muted); font-size: 11px; }
.airport-map .map-popup-link { display: block; color: var(--teal-dark); border-top: 1px solid var(--line); padding-top: 12px; font-size: 11px; font-weight: 600; text-decoration: none; }
.airport-map .map-popup-link:hover { color: var(--ink); }
.showcase-link { margin-top: 20px; }

@media (max-width: 1100px) {
  .header-inner { gap: 18px; }
  .footer-links { gap: 35px; }
  .map-count { display: none; }
}
@media (max-width: 800px) {
  #primary-nav { gap: 18px; }
  .header-socials .social-link { width: 34px; }
  .footer-links { gap: 28px; }
  .map-toolbar { gap: 15px; padding: 16px; }
  .map-selector select { font-size: 12px; }
  .map-bottom-bar > span { display: none; }
  .map-notes { flex-direction: column; gap: 6px; }
}
@media (max-width: 600px) {
  .header-inner { gap: 6px; }
  .site-header .brand img { width: 40px; height: 40px; }
  .site-header .brand > span { font-size: 21px; }
  .site-header .brand { gap: 7px; }
  .site-header .brand small { letter-spacing: 2.4px; }
  .header-socials { order: 2; margin-left: auto; gap: 0; }
  .header-socials .social-link { width: 35px; height: 42px; }
  .header-socials .icon { width: 18px; height: 18px; }
  .menu-button { order: 3; padding: 10px 5px 10px 8px; }
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .map-intro h1 { font-size: 36px; }
  .map-toolbar { flex-direction: column; align-items: stretch; padding: 16px; gap: 13px; }
  .map-selector > span { max-width: none; }
  .map-toolbar-end { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); gap: 10px; }
  .map-count { display: inline; font-size: 10px; }
  .map-toolbar .button { font-size: 10px; padding: 8px 10px; }
  .airport-map { height: 510px; }
  .map-bottom-bar { padding: 12px 16px; }
  .map-bottom-bar p { font-size: 10px; }
  .map-notes p { font-size: 9px; }
  .map-status { padding: 13px 16px; font-size: 11px; }
  .map-view-bar { padding: 11px 16px; flex-wrap: wrap; gap: 8px; }
  .map-view-switch button { padding: 8px 12px; }
  #map-view-note { font-size: 8px; }
  .map-reference-toggle { margin-left: 0; font-size: 9px; }
  .airport-map .leaflet-control-attribution { font-size: 9px; max-width: calc(100vw - 65px); white-space: normal; }
  .airport-map .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 40px; }
}

@layer components {
  .eyebrow { color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: 1.8px; line-height: 1.6; }
  .tiny-cross { font-size: 18px; color: var(--teal); margin-right: 8px; vertical-align: -1px; }
  .accent-period { color: var(--teal); }
  .muted { color: var(--muted); font-size: 13px; }
  .dot { padding: 0 8px; }
  .button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 6px; padding: 14px 21px; font-size: 13px; font-weight: 600; line-height: 1.5; transition: background .2s, transform .2s; }
  .button .icon { width: 17px; height: 17px; }
  .button.primary { background: var(--ink); color: white; }
  .button.primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
  .button.secondary { background: white; color: var(--ink); border: 1px solid #c9d8d7; }
  .button.secondary:hover { background: #f3faf8; border-color: var(--teal); }
  .text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 600; line-height: 1.5; background: transparent; padding: 0; }
  .text-link .icon { width: 17px; height: 17px; }
  .text-link:hover { color: var(--teal); }
  .badge { font-size: 10px; line-height: 1.4; font-weight: 600; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; padding: 5px 8px; white-space: nowrap; }
  .soft-badge { background: var(--cyan-pale); color: var(--teal-dark); border-color: #cce3e0; }
  .sample-note { display: flex; gap: 10px; align-items: center; font-size: 10px; color: #6c7277; border-bottom: 1px dashed var(--line); padding: 11px 0; }
  .sample-note .icon { width: 13px; height: 13px; color: var(--teal); }
  .note-divider { margin: 0 7px; color: #b3bec0; }
  .airport-card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); overflow: hidden; min-width: 0; transition: box-shadow .2s, border-color .2s, transform .2s; }
  .airport-card:hover { border-color: #c0cdcf; box-shadow: 0 8px 24px #233c4110; transform: translateY(-3px); }
  .card-image-link { display: block; position: relative; background: #14272c; }
  .card-image { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
  .image-icao { position: absolute; right: 12px; bottom: 12px; font-size: 10px; line-height: 1; font-weight: 700; letter-spacing: 1.4px; color: white; background: #183037cf; border: 1px solid #ffffff59; border-radius: 3px; padding: 7px 8px; }
  .card-body { padding: 21px 22px 0; }
  .card-location { display: flex; justify-content: space-between; gap: 8px; font-size: 9px; letter-spacing: .3px; color: var(--muted); margin-bottom: 9px; }
  .card-location > span:first-child { color: var(--teal-dark); font-weight: 600; }
  .card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .card-title h3 { font-size: 25px; letter-spacing: -.7px; }
  .card-title .icon { width: 16px; color: #9ba9ad; }
  .card-title:hover { color: var(--teal); }
  .card-body > p { font-size: 11px; margin-top: 6px; }
  .card-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; margin-block: 21px 15px; }
  .card-meta small { color: #7b888d; font-size: 9px; margin-left: 5px; }
  .card-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-block: 14px; font-size: 11px; font-weight: 600; }
  .card-actions a, .download-button { display: flex; gap: 8px; align-items: center; }
  .card-actions .icon { width: 14px; height: 14px; }
  .card-actions a:hover { color: var(--teal); }
  .download-button { background: transparent; color: var(--teal-dark); padding: 5px 0 5px 8px; border-radius: 3px; font-size: 11px; }
  .download-button:hover { color: var(--ink); }
  .release-list { border-top: 1px solid var(--line); background: #ffffff80; }
  .release-row { display: flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); padding: 21px 12px; transition: background .2s; }
  .release-row:hover { background: #ecf5f3; }
  .release-code { font-family: ui-monospace, Consolas, monospace; font-size: 17px; font-weight: 600; letter-spacing: 1px; width: 70px; }
  .release-copy { display: flex; flex-direction: column; flex: 1; gap: 4px; }
  .release-copy strong { font-size: 14px; font-weight: 600; }
  .release-copy > span { color: var(--muted); font-size: 11px; }
  .release-row time { color: var(--muted); font-size: 11px; min-width: 95px; text-align: right; }
  .release-row > .icon { width: 18px; margin-left: 15px; color: var(--muted); }
  .info-callout { display: flex; align-items: start; gap: 14px; background: var(--cyan-pale); border: 1px solid #cce3e0; border-radius: 8px; padding: 22px; font-size: 13px; }
  .info-callout .icon { color: var(--teal); margin-top: 3px; }
  .info-callout p { color: #496268; }
  dialog { color: var(--ink); border: 1px solid var(--line); padding: 0; border-radius: 15px; box-shadow: 0 25px 100px #132e3e40; }
  dialog::backdrop { background: #142831b8; backdrop-filter: blur(5px); }
  body:has(dialog[open]) { overflow: hidden; }
  .download-dialog { width: min(500px, calc(100% - 32px)); padding: 42px 35px 32px; }
  .dialog-close { position: absolute; right: 13px; top: 13px; padding: 9px; display: flex; align-items: center; justify-content: center; background: transparent; border-radius: 50%; }
  .dialog-close:hover { background: #eaf1f0; }
  .modal-icon { color: var(--teal); width: 48px; height: 48px; background: var(--cyan-pale); display: grid; place-items: center; border-radius: 50%; margin-bottom: 24px; }
  .download-dialog h2 { font-size: 29px; margin-block: 10px 17px; }
  .download-dialog > p:not(.eyebrow) { font-size: 14px; }
  .dialog-actions { display: flex; gap: 23px; margin-top: 27px; flex-wrap: wrap; }
  .gallery-dialog { width: min(1360px, calc(100% - 40px)); max-height: calc(100dvh - 40px); background: white; overflow: auto; }
  .gallery-header { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 15px 60px 15px 22px; }
  .gallery-header h2 { font-size: 17px; letter-spacing: -.3px; }
  .gallery-dialog > img { width: 100%; max-height: calc(100dvh - 175px); object-fit: contain; background: #172a31; }
  .gallery-dialog > p { display: flex; justify-content: space-between; padding: 15px 22px; font-size: 11px; }
}

@layer pages {
  .hero { display: grid; grid-template-columns: 1fr 1.18fr; align-items: center; gap: 54px; padding-block: 58px 47px; }
  .hero h1 { font-size: clamp(42px, 4.35vw, 66px); line-height: 1.08; letter-spacing: -.055em; margin-block: 20px; }
  .hero h1 > span { color: var(--teal); }
  .hero-description { max-width: 385px; font-size: 14px; line-height: 1.85; }
  .hero-buttons { display: flex; align-items: center; gap: 23px; margin-top: 28px; }
  .hero-buttons .text-link { font-size: 12px; gap: 9px; }
  .hero-footnote { display: flex; align-items: center; gap: 10px; margin-top: 33px; color: #748187; font-size: 10px; letter-spacing: .3px; }
  .line-mark { width: 26px; height: 3px; background: linear-gradient(90deg, #66c6cf 50%, #e7badb 50%); }
  .hero-visual { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 28px #1c353b0a; overflow: hidden; display: block; transition: transform .2s; }
  .hero-visual:hover { transform: translateY(-3px); }
  .hero-image-wrap { position: relative; background: #172d33; }
  .hero-image-wrap > img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: contain; }
  .floating-label { position: absolute; bottom: 14px; right: 15px; display: inline-flex; gap: 8px; align-items: center; background: #fff; padding: 7px 11px; font-size: 8px; letter-spacing: 1.2px; font-weight: 650; border-radius: 3px; }
  .floating-label .icon { width: 12px; height: 12px; color: var(--teal); }
  .hero-visual-caption { padding: 21px 25px; display: flex; justify-content: space-between; align-items: center; }
  .hero-visual-caption h2 { font-size: 25px; letter-spacing: -.6px; margin-block: 5px 1px; }
  .hero-visual-caption > div > span:last-child { font-size: 11px; color: var(--muted); }
  .hero-visual-caption .eyebrow { color: var(--teal-dark); font-size: 9px; }
  .circle-arrow { border: 1px solid var(--line); border-radius: 50%; padding: 12px; display: flex; }
  .circle-arrow .icon { width: 18px; height: 18px; }
  .collection-strip { display: flex; align-items: center; justify-content: space-between; border-block: 1px solid var(--line); padding-block: 21px; gap: 25px; }
  .strip-label { font-size: 9px; letter-spacing: 1.6px; color: #748187; }
  .collection-strip > div { display: flex; gap: 12px; align-items: center; }
  .collection-strip strong { font-weight: 500; font-size: 28px; letter-spacing: -1px; }
  .collection-strip > div > span { font-size: 10px; color: var(--muted); max-width: 70px; line-height: 1.5; }
  .strip-end { display: flex; align-items: center; gap: 22px; font-size: 10px; color: var(--muted); }
  .strip-end .icon { width: 16px; color: var(--teal); }
  .section-caption { font-size: 10px; margin-top: -14px; margin-bottom: 20px; }
  .guide-banner { display: flex; align-items: center; gap: 23px; margin-top: 65px; padding: 32px; border: 1px solid #d3e4e2; background: #edf6f3e8; border-radius: var(--radius); }
  .guide-icon { width: 60px; height: 60px; background: #fff; border: 1px solid #d7e8e5; display: grid; place-items: center; border-radius: 10px; color: var(--teal); flex-shrink: 0; }
  .guide-banner h2 { font-size: 24px; margin-block: 5px 8px; }
  .guide-banner p:not(.eyebrow) { font-size: 12px; }
  .guide-banner .button { margin-left: auto; white-space: nowrap; }
  .page-intro { padding-block: 55px 38px; }
  .page-intro h1 { margin-block: 17px 20px; }
  .page-intro > p:last-child { font-size: 15px; max-width: 610px; line-height: 1.8; }
  .search-form { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--line); padding: 16px 22px; border-radius: 8px; }
  .search-field { display: flex; align-items: center; gap: 13px; flex: 1; min-width: 0; }
  .search-field > .icon { color: var(--teal); width: 18px; }
  .search-field input { border: 0; background: transparent; padding: 6px 0; font-size: 13px; width: 100%; color: var(--ink); }
  .search-field input:focus { outline-offset: 2px; }
  .search-field kbd { font-size: 10px; color: #95a0a4; border: 1px solid var(--line); padding: 0 6px; border-radius: 3px; }
  .sort-field { display: flex; align-items: center; gap: 14px; border-left: 1px solid var(--line); padding-left: 24px; color: var(--muted); font-size: 11px; white-space: nowrap; }
  .sort-field select { background: #fff; border: 0; color: var(--ink); font-size: 12px; padding: 6px 20px 6px 0; }
  .filter-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-block: 23px 30px; }
  .country-filters { display: flex; gap: 9px; flex-wrap: wrap; }
  .filter-button { background: #fff; border: 1px solid var(--line); font-size: 11px; border-radius: 5px; padding: 8px 12px; display: inline-flex; gap: 13px; align-items: center; }
  .filter-button > span { color: #8c999e; font-size: 9px; }
  .filter-button[aria-pressed='true'] { background: var(--ink); color: white; border-color: var(--ink); }
  .filter-button[aria-pressed='true'] > span { color: #bed6dc; }
  .filter-button:hover { border-color: var(--teal); }
  #result-count { font-size: 11px; white-space: nowrap; }
  .library-note { font-size: 10px; text-align: center; margin-top: 24px; }
  .empty-state { grid-column: 1/-1; text-align: center; padding: 60px 24px; background: white; border: 1px dashed #b9cccd; border-radius: var(--radius); }
  .empty-state > .icon { width: 30px; height: 30px; color: var(--teal); margin-bottom: 17px; }
  .empty-state h2 { font-size: 26px; margin-bottom: 12px; }
  .empty-state p { font-size: 13px; margin-bottom: 22px; }
  .small-guide { display: flex; gap: 20px; justify-content: space-between; align-items: center; border-block: 1px solid var(--line); padding-block: 24px; margin-top: 50px; }
  .small-guide > span { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
  .small-guide > span > .icon { color: var(--teal); }
  .breadcrumbs { display: flex; gap: 13px; font-size: 11px; color: var(--muted); padding-top: 28px; }
  .breadcrumbs a:hover { color: var(--teal); }
  .airport-heading { padding-block: 25px 33px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .airport-heading h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-block: 10px 8px; }
  .airport-heading > div > p:last-child { font-size: 14px; }
  .airport-title-code { font-size: 14px; line-height: 1; color: var(--teal); letter-spacing: 2px; font-family: ui-monospace, Consolas, monospace; font-weight: 500; border: 1px solid #cbdedc; padding: 10px 12px; border-radius: 5px; }
  .back-link { font-size: 12px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
  .back-link .icon { width: 16px; }
  .airport-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 40px; align-items: start; }
  .airport-content { min-width: 0; }
  .screenshot-button { display: block; background: #172a31; width: 100%; position: relative; padding: 0; border-radius: 10px; overflow: hidden; }
  .screenshot-button > img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; }
  .expand-label { position: absolute; bottom: 15px; right: 15px; display: flex; align-items: center; gap: 8px; background: #fffffff2; padding: 8px 12px; font-size: 10px; border-radius: 4px; }
  .expand-label .icon { width: 14px; height: 14px; }
  .screenshot-figure figcaption { display: flex; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: .2px; color: var(--muted); margin-top: 10px; }
  .detail-nav { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-top: 20px; padding-block: 15px; font-size: 11px; }
  .detail-nav a:hover { color: var(--teal); }
  .detail-section { padding-top: 40px; }
  .detail-section h2 { font-size: 29px; margin-block: 10px 16px; }
  .detail-section h3 { font-size: 18px; margin-top: 26px; }
  .detail-section > p { font-size: 13px; line-height: 1.9; margin-top: 15px; }
  .detail-section > .lead { font-size: 16px; color: #455b63; }
  .feature-list { padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-block: 20px 0; }
  .feature-list li { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
  .feature-list .icon { width: 15px; color: var(--teal); }
  .gallery-thumb { padding: 0; display: block; position: relative; max-width: 340px; background: var(--ink); border-radius: 8px; overflow: hidden; }
  .gallery-thumb img { aspect-ratio: 16/9; width: 100%; height: auto; object-fit: contain; }
  .gallery-thumb .icon { position: absolute; right: 10px; bottom: 10px; width: 26px; height: 26px; padding: 5px; background: #fff; border-radius: 50%; }
  .download-panel { position: sticky; top: 122px; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 25px; }
  .download-panel-top { display: flex; gap: 10px; align-items: center; color: var(--teal); margin-bottom: 22px; }
  .download-panel-top .icon { width: 18px; height: 18px; }
  .download-panel-top span { font-size: 8px; font-weight: 600; letter-spacing: 1.3px; }
  .download-panel > h2 { font-size: 38px; letter-spacing: 1px; font-weight: 500; }
  .download-panel > p { font-size: 12px; margin-block: 6px 16px; }
  .download-panel dl { margin-block: 26px; }
  .download-panel dl > div { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; font-size: 10px; }
  .download-panel dt { color: var(--muted); }
  .download-panel dd { margin: 0; text-align: right; }
  .full-width { width: 100%; }
  .download-panel .download-disclaimer { font-size: 9px; text-align: center; line-height: 1.8; margin-top: 11px; }
  .panel-guide { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; display: flex; align-items: center; gap: 9px; font-size: 11px; }
  .panel-guide .icon { width: 14px; height: 14px; color: var(--teal); }
  .panel-guide .icon:last-child { margin-left: auto; }
  .changelog { margin-top: 22px; border-top: 1px solid var(--line); }
  .changelog details { border-bottom: 1px solid var(--line); background: #ffffff80; }
  .changelog summary { list-style: none; display: flex; align-items: center; gap: 15px; padding: 19px 8px; font-size: 12px; }
  summary::-webkit-details-marker { display: none; }
  .release-version { font-family: ui-monospace, Consolas, monospace; font-size: 14px; }
  .changelog summary time { font-size: 10px; color: var(--muted); margin-left: auto; }
  .details-plus { font-size: 18px; margin-left: 6px; }
  details[open] .details-plus { transform: rotate(45deg); }
  .changelog-body { padding: 0 10px 25px; }
  .changelog-body h3 { font-size: 15px; margin-top: 0; }
  .changelog-body ul { font-size: 12px; color: var(--muted); padding-left: 18px; line-height: 2; }
  .changelog-body .text-link { font-size: 11px; color: var(--teal-dark); margin-top: 5px; }
  .install-steps { list-style: none; padding: 0; margin-block: 28px; }
  .install-steps li { display: flex; align-items: start; gap: 20px; margin-top: 28px; }
  .step-number { font-size: 11px; font-family: ui-monospace, Consolas, monospace; color: var(--teal); min-width: 32px; min-height: 32px; border: 1px solid #d0e3e0; border-radius: 50%; display: grid; place-items: center; background: #f1f8f5; }
  .install-steps h3 { font-size: 16px; margin-block: 3px 8px; letter-spacing: -.2px; }
  .install-steps p { font-size: 12px; line-height: 1.9; }
  code { font-size: 11px; color: #32616a; background: #eaf2ef; border-radius: 3px; padding: 2px 5px; overflow-wrap: anywhere; }
  .updates-page { margin-top: 10px; }
  .guide-content { margin-top: 40px; }
  .guide-content > h2 { margin-block: 40px 20px; font-size: 28px; }
  .guide-content > p { font-size: 14px; line-height: 1.9; }
  .path-example { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: #fff; }
  .path-example > span { display: block; font-size: 10px; color: var(--muted); margin-bottom: 10px; }
  .path-example > code { display: block; padding: 13px; }
  .faq { margin-bottom: 35px; border-top: 1px solid var(--line); }
  .faq details { padding-block: 20px; border-bottom: 1px solid var(--line); }
  .faq summary { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 600; list-style: none; }
  .faq summary > span { font-size: 19px; font-weight: 400; }
  .faq details[open] summary > span { transform: rotate(45deg); }
  .faq p { font-size: 13px; margin-top: 15px; padding-right: 30px; }
  .about-logo { float: right; margin: 0 0 25px 35px; }
  .about-content > p { font-size: 15px; margin-block: 20px; }
  .about-content .button { margin-top: 15px; }
  .admin-placeholder { max-width: 600px; margin: 80px auto 90px; text-align: center; }
  .admin-placeholder h1 { font-size: clamp(35px, 4vw, 49px); margin-block: 18px 24px; }
  .admin-placeholder > p:not(.eyebrow) { font-size: 14px; margin-bottom: 25px; }
  .admin-placeholder .info-callout { margin-block: 25px; text-align: left; }
  .admin-lock { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 30px; background: var(--cyan-pale); border-radius: 50%; color: var(--teal); }
  .admin-lock .icon { width: 28px; height: 28px; }
}

@layer responsive {
  @media (min-width: 1550px) { .hero { padding-block: 75px 65px; } }
  @media (max-width: 1100px) {
    .container { width: calc(100% - 48px); }
    #primary-nav { gap: 23px; }
    .header-cta { display: none; }
    .hero { gap: 30px; }
    .hero h1 { font-size: 51px; }
    .hero-buttons { flex-wrap: wrap; gap: 17px; }
    .hero-description { font-size: 13px; }
    .strip-end { display: none; }
    .airport-grid { gap: 18px; }
    .card-body { padding: 18px 16px 0; }
    .card-title h3 { font-size: 23px; }
    .card-location > span:last-child { display: none; }
    .guide-banner { padding: 25px; gap: 20px; }
    .guide-icon { display: none; }
    .airport-layout { gap: 25px; grid-template-columns: minmax(0, 1fr) 280px; }
    .download-panel { padding: 22px; }
    .detail-nav { gap: 23px; }
  }
  @media (max-width: 800px) {
    .site-header { height: 80px; }
    html { scroll-padding-top: 100px; }
    .brand img { width: 46px; height: 46px; }
    .brand > span { font-size: 22px; }
    .brand small { font-size: 7px; }
    .hero { grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 40px; }
    .hero h1 { font-size: 39px; }
    .hero .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
    .hero-buttons .button { padding: 12px 15px; gap: 12px; }
    .hero-footnote { display: none; }
    .hero-visual-caption { padding: 17px; }
    .hero-visual-caption h2 { font-size: 21px; }
    .circle-arrow { padding: 8px; }
    .airport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section > .airport-grid > .airport-card:last-child { display: none; }
    .section { padding-top: 45px; }
    .section-heading h2 { font-size: 28px; }
    .guide-banner { flex-wrap: wrap; }
    .guide-banner .button { margin-left: 0; }
    .guide-banner h2 { font-size: 24px; }
    .release-row { gap: 16px; }
    .release-code { width: 53px; font-size: 15px; }
    .release-copy strong { font-size: 13px; }
    .release-row > .icon { margin-left: 0; }
    .release-row time { min-width: 75px; font-size: 10px; }
    .footer-links { gap: 50px; }
    .airport-layout { display: flex; flex-direction: column; gap: 0; }
    .airport-content { display: contents; }
    .screenshot-figure { order: 0; width: 100%; }
    .download-panel { position: static; display: block; order: 1; margin-top: 25px; width: 100%; }
    .detail-nav { order: 2; width: 100%; }
    .detail-section { order: 3; width: 100%; }
    .download-panel-top { margin-bottom: 12px; }
    .download-panel > h2 { font-size: 28px; }
    .download-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; margin-block: 15px 22px; }
    .download-panel dl > div { margin-top: 10px; }
    .download-panel .button { max-width: 300px; }
    .download-panel .download-disclaimer { text-align: left; }
    .panel-guide { margin-top: 18px; }
    .search-form { gap: 15px; padding: 14px; }
    .sort-field { gap: 8px; padding-left: 15px; }
    .search-field { gap: 9px; }
    .filter-row { align-items: start; }
  }
  @media (max-width: 600px) {
    .container { width: calc(100% - 36px); }
    .site-header { height: 76px; }
    .header-inner { gap: 15px; }
    .menu-button { display: flex; }
    #primary-nav { display: none; position: absolute; top: 75px; left: 0; width: 100%; height: auto; background: white; padding: 16px 23px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 18px #223c4412; }
    #primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    #primary-nav a { padding: 12px 5px; height: auto; }
    #primary-nav a[aria-current]::after { bottom: 12px; left: auto; right: 10px; width: 5px; height: 5px; border-radius: 50%; }
    .sample-note { align-items: start; font-size: 9px; line-height: 1.7; padding: 10px 0; }
    .sample-note .icon { margin-top: 2px; }
    .hero { grid-template-columns: 1fr; padding-block: 34px; gap: 30px; }
    .hero .eyebrow { font-size: 9px; }
    .hero h1 { font-size: 49px; margin-block: 16px; }
    .hero-description { max-width: 370px; font-size: 13px; }
    .hero-buttons { gap: 20px; margin-top: 23px; }
    .hero-buttons .button { font-size: 12px; padding: 14px 17px; }
    .hero-visual-caption h2 { font-size: 25px; }
    .hero-visual-caption { padding: 18px 20px; }
    .collection-strip { padding-block: 18px; gap: 15px; flex-wrap: wrap; justify-content: space-between; }
    .strip-label { flex-basis: 100%; font-size: 8px; margin-bottom: 2px; }
    .collection-strip > div { gap: 8px; }
    .collection-strip strong { font-size: 26px; }
    .collection-strip > div > span { font-size: 9px; max-width: 65px; }
    .section-heading { align-items: start; flex-direction: column; gap: 15px; margin-bottom: 22px; }
    .section-heading .eyebrow { font-size: 9px; }
    .section-heading h2 { font-size: 29px; }
    .section-heading .text-link { font-size: 12px; }
    .airport-grid { grid-template-columns: 1fr; gap: 22px; }
    .section > .airport-grid > .airport-card:last-child { display: block; }
    .card-body { padding: 20px 22px 0; }
    .card-location > span:last-child { display: inline; }
    .card-title h3 { font-size: 26px; }
    .card-body > p { font-size: 12px; }
    .card-location { font-size: 10px; }
    .card-meta { font-size: 11px; }
    .card-actions, .download-button { font-size: 12px; }
    .release-row { gap: 12px; padding-inline: 2px; flex-wrap: wrap; }
    .release-code { width: 46px; font-size: 13px; }
    .release-copy { flex-basis: calc(100% - 100px); }
    .release-copy strong { font-size: 13px; }
    .release-row > .version-badge { margin-left: 58px; }
    .release-row time { text-align: left; }
    .release-row > .icon { margin-left: auto; }
    .guide-banner { padding: 25px 22px; margin-top: 42px; }
    .guide-banner h2 { font-size: 26px; }
    .footer-main { flex-direction: column; padding-top: 35px; gap: 30px; }
    .footer-links { gap: 70px; }
    .footer-bottom { flex-direction: column; gap: 10px; font-size: 9px; }
    .site-footer { margin-top: 50px; }
    .page-intro { padding-block: 35px 28px; }
    .page-intro h1 { font-size: 39px; line-height: 1.1; }
    .page-intro > p:last-child { font-size: 13px; }
    .search-form { flex-wrap: wrap; }
    .search-field { flex-basis: 100%; }
    .search-field input { font-size: 12px; }
    .search-field kbd { display: none; }
    .sort-field { border-left: 0; border-top: 1px solid var(--line); padding: 10px 0 0; width: 100%; justify-content: space-between; }
    .sort-field select { padding-right: 0; max-width: 70%; }
    .filter-row { flex-direction: column; margin-block: 18px 22px; }
    .country-filters { gap: 7px; }
    .filter-button { font-size: 10px; padding: 7px 9px; gap: 9px; }
    .library-note { text-align: left; font-size: 10px; }
    .small-guide { align-items: start; flex-direction: column; gap: 12px; margin-top: 35px; }
    .small-guide > span { font-size: 12px; }
    .airport-heading { padding-block: 22px 26px; }
    .airport-heading h1 { font-size: 39px; gap: 15px; }
    .airport-heading > div > p:last-child { font-size: 12px; }
    .airport-heading .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
    .airport-title-code { padding: 8px 10px; font-size: 12px; }
    .back-link { display: none; }
    .download-panel { padding: 22px; }
    .download-panel dl { grid-template-columns: 1fr; margin-top: 14px; }
    .download-panel dl > div { font-size: 11px; }
    .download-panel .button { max-width: none; }
    .download-panel .download-disclaimer { text-align: center; }
    .detail-nav { gap: 0; justify-content: space-between; font-size: 10px; }
    .detail-section { padding-top: 30px; }
    .detail-section h2 { font-size: 26px; }
    .detail-section > .lead { font-size: 15px; }
    .feature-list { grid-template-columns: 1fr; }
    .screenshot-figure figcaption { font-size: 8px; }
    .expand-label { padding: 6px 8px; bottom: 10px; right: 10px; font-size: 8px; }
    .changelog summary { gap: 8px; }
    .changelog summary .badge { font-size: 8px; padding: 4px 6px; }
    .changelog summary time { font-size: 9px; }
    .release-version { font-size: 12px; }
    .info-callout { padding: 18px; font-size: 12px; }
    .install-steps li { gap: 14px; }
    .install-steps h3 { font-size: 15px; }
    .install-steps p { font-size: 12px; }
    .about-logo { float: none; margin: 0 0 25px; width: 130px; height: 130px; }
    .about-content > p { font-size: 14px; }
    .admin-placeholder { margin-block: 55px; }
    .download-dialog { padding: 36px 25px 25px; }
    .download-dialog h2 { font-size: 26px; }
    .dialog-actions { gap: 20px; }
    .gallery-dialog { width: calc(100% - 20px); }
    .gallery-header { padding-left: 15px; }
    .gallery-header h2 { font-size: 13px; }
    .gallery-dialog > p { font-size: 9px; padding-inline: 14px; gap: 12px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  }
}
/* Shared live-catalog and release states. */
.user-prose { white-space: pre-line; overflow-wrap: anywhere; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.coming-soon-button { cursor: default; color: #63756d; font-weight: 400; }
.button.coming-soon-button { background: #edf2ef; color: #63756d; }
.release-empty { padding: 28px 12px; }
.release-empty p { color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.release-empty span { font-size: 11px; color: var(--muted); }
.page-loading { padding-block: 80px; min-height: 50vh; }
.page-loading h1 { font-size: 35px; margin-bottom: 18px; }
.page-loading .button { margin-top: 22px; }
.gallery-controls { display: flex; justify-content: space-between; padding: 0 22px 20px; }
[hidden] { display: none !important; }
.icon-youtube { color: #ff0033; }
.icon-discord { color: #5865f2; }
.showcase-video { aspect-ratio: 16 / 9; margin-block: 20px 14px; background: var(--ink); border-radius: 8px; overflow: hidden; }
.showcase-video iframe { width: 100%; height: 100%; border: 0; display: block; }
@media(max-width:600px) { .screenshot-grid { grid-template-columns: 1fr; } }
#private-preview-banner { padding: 9px 18px; background: #eaf6f4; border-bottom: 1px solid #cee3dd; text-align: center; color: #194a4d; font-size: 12px; }
#private-preview-banner a { text-decoration: underline; margin-left: 8px; }
