:root {
  color-scheme: light;
  --ink: #172a37;
  --navy: #101f2e;
  --navy-soft: #1c3446;
  --bg: #f9f8f4;
  --card: #fffefa;
  --line: #d3d9d5;
  --muted: #4e6067;
  --accent: #ffcd80;
  --sky: #88c4ce;
  --radius: 18px;
  --page: min(1200px, calc(100% - clamp(32px, 8vw, 128px)));
}
*,*::before,*::after { box-sizing:border-box }
html {scroll-padding-top:18px}
body {margin:0; background:var(--bg); color:var(--ink); font:normal 1rem/1.53 "Instrument Sans","Avenir Next",Arial,sans-serif; -webkit-text-size-adjust:100%}
[hidden] {display:none!important}
img,svg {max-width:100%; vertical-align:middle}
a {color:#185366;text-underline-offset:.2em;text-decoration-thickness:1px}
a:hover {text-decoration-thickness:2px}
button,input,select,textarea {font:inherit}
button,summary {cursor:pointer}
a,button,input,select,summary {touch-action:manipulation}
:focus-visible {outline:3px solid #ca6612;outline-offset:3px}
h1,h2,h3,h4 {font-family:"Instrument Sans","Avenir Next",Arial,sans-serif;letter-spacing:-.043em;font-weight:650;line-height:1.04;margin:0;text-wrap:balance}
h1 {font-size:clamp(2.75rem,6.1vw,5.75rem)}
h2 {font-size:clamp(2rem,4vw,3.8rem)}
h3 {font-size:clamp(1.25rem,2.1vw,1.8rem);line-height:1.13}
p {margin:.75em 0;max-width:70ch;text-wrap:pretty}
ul,ol {padding-inline-start:1.3em} li+li {margin-top:.4em}
.wrap {width:var(--page);margin-inline:auto}
.wrap .wrap {width:100%}
header {background:var(--navy);color:#fff7e8}
header>.wrap,header.wrap,footer>.wrap,footer.wrap {display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
header>.wrap,header.wrap {min-height:62px;padding-block:10px}
header a,footer a {color:inherit;text-decoration:none}
header a:hover,footer a:hover {color:#ffdc9f;text-decoration:underline}
header nav, footer nav {display:flex;align-items:center;gap:clamp(12px,3vw,34px);flex-wrap:wrap;font-size:.94rem}
.brand {display:inline-flex;align-items:center;gap:.45em;color:inherit;font-weight:750;font-size:1.48rem;line-height:1.1;letter-spacing:-.04em;text-decoration:none}
.brand img,.brand svg {width:32px;height:32px;flex:none}
.hero {isolation:isolate;position:relative;overflow:clip;background:var(--navy);color:#fff9ed}
.hero::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(13,28,42,.98) 0%,rgba(13,28,42,.92) 28%,rgba(13,28,42,.67) 52%,rgba(13,28,42,.04) 84%),url('./terminal.webp') center 53%/cover no-repeat,#142d41}
.hero-inner {width:var(--page);margin:auto;min-height:clamp(400px,40vw,560px);display:flex;align-items:center;padding-block:clamp(36px,6.5vw,95px)}
.hero.wrap .hero-inner,.wrap>.hero-inner,.hero>.wrap .hero-inner {width:100%}
.hero-copy {width:min(100%,760px);position:relative;z-index:1}
.hero h1 {max-width:15ch;line-height:.98;color:#fff4db}
.hero p,.hero .muted {color:#e0e9eb}
.eyebrow,.code,.source time,.crumb {font-weight:600;letter-spacing:.025em}
.eyebrow {color:#674719;margin:0 0 13px;font-size:.82rem}
.hero .eyebrow,.airport-hero .eyebrow,.guide .eyebrow {color:var(--accent)}
.search {max-width:630px;width:100%;margin-top:24px}
input,select,textarea {width:100%;max-width:100%;min-width:0;background:#fffefa;color:#142d40;border:1px solid #aeb9bb;border-radius:9px;padding:10px 12px;min-height:46px}
input[type=checkbox],input[type=radio] {width:1.05em;min-height:0;accent-color:#29586c}
label {font-weight:600;font-size:.94rem}
label input,label select {display:block;margin-top:5px}
.hero input[type=search],.hero input[type=text] {min-height:56px;padding-inline:18px;font-size:1.08rem;border-color:#78909c;background:#fffef9;color:#142d40;border-radius:11px}
.hero input::placeholder {color:#5d696c}
.actions {display:flex;align-items:center;flex-wrap:wrap;gap:10px 15px;margin-top:14px}
button,.btn {font-weight:650;border-radius:9px}
button {border:1px solid #bcc9ca;background:#fff;color:var(--ink);padding:9px 14px;min-height:42px}
.btn,button[type=submit] {display:inline-flex;justify-content:center;align-items:center;gap:.5em;min-height:45px;padding:10px 17px;border:1px solid transparent;background:var(--accent);color:#1b2932;line-height:1.22;text-decoration:none;font-weight:700}
.btn:hover,button[type=submit]:hover {background:#ffe0a6;color:#122535;text-decoration:none}
.secondary,.btn.secondary {background:#f6f7f3;border:1px solid #b4c1c2;color:var(--ink)}
.hero .secondary,.hero .btn.secondary,.hero a:not(.btn) {color:#fff2d6}
.hero .secondary,.hero .btn.secondary {background:#183246;border-color:#78909e}
.section {width:var(--page);margin-inline:auto;padding-block:clamp(32px,5.2vw,72px);scroll-margin-top:12px}
.wrap .section,.section .section {width:100%}
.section+.section {border-top:1px solid var(--line)}
.section>h2,.section>.wrap>h2 {margin-bottom:20px}
.section>p,.section>.wrap>p {font-size:1.07rem}
.panel,.place,.card,.memo,.content article,.formats article {padding:clamp(16px,2.2vw,30px);border:1px solid var(--line);border-radius:var(--radius);background:var(--card);min-width:0}
.fields {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:13px 20px;align-items:end}
.fields>* {min-width:0}
.timeline {padding:clamp(20px,3.6vw,48px);background:#173043;color:#f8f3e8;border-radius:var(--radius);position:relative;overflow:hidden}
.timeline p,.timeline small,.timeline .muted {color:#d4e2e4}
.timeline summary {color:#ffdc99}
.track {position:relative;display:flex;width:100%;height:30px;overflow:hidden;isolation:isolate;border-radius:5px;background:#8198a6;margin-block:18px 12px}
.track>* {height:100%;min-width:0;flex-shrink:1;transition:width .25s ease,flex-basis .25s ease}
.track .before {background:repeating-linear-gradient(120deg,#5b798b 0 5px,#6c8a9b 5px 7px)}
.track .rest {background:var(--accent);box-shadow:inset 1px 0 #173043,inset -1px 0 #173043}
.track .after {background:repeating-linear-gradient(120deg,#59798b 0 5px,#7995a2 5px 7px)}
output {display:block;font-size:clamp(1.12rem,2.35vw,1.75rem);font-weight:700;line-height:1.28;margin-block:16px}
.scheme {padding:clamp(14px,2.5vw,28px);border:1px solid #b5c5c6;background:#edf3f1;border-radius:14px;margin:18px 0}
.zones {display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}
.zones label {display:flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid #aebfc2;border-radius:9px;background:#fff}
.zones input {margin:0}
.zones button[aria-pressed=true],.zones .active,.zones label:has(input:checked) {background:#1f4255;color:#fff7e6;border-color:#1f4255}
.results,.situations,.formats {display:grid;gap:13px}
.place {display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.place>* {margin-block:0}
.place .actions {margin-top:7px}
.place small,.muted,.source,.crumb {color:var(--muted)}
.place dl {margin:4px 0}
dt {color:var(--muted);font-size:.875rem}
dd {margin-inline:0;margin-bottom:8px}
.grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
a.card {display:flex;flex-direction:column;align-items:flex-start;text-decoration:none;color:inherit;position:relative;overflow:hidden;transition:border-color .15s,transform .15s}
a.card:hover {transform:translateY(-2px);border-color:#8a9f9e}
.card h3 {font-size:clamp(1.45rem,2.45vw,2rem);line-height:1.1;margin:.14em 0}
.card small,.card p {color:var(--muted)}
.card b:last-child {color:#26566b;margin-top:auto}
.code {font:700 .88rem/1.2 ui-monospace,Menlo,monospace;letter-spacing:.13em;background:#173043;color:#ffe1a6;border-radius:5px;padding:6px 9px;display:inline-flex;align-items:center;width:fit-content;margin-bottom:16px}
.card::after {content:"";position:absolute;top:24px;right:22px;width:24px;height:12px;border-top:1px solid #bccbcb;border-bottom:1px solid #bccbcb;transform:skewX(-35deg)}
.card small {display:block}
.formats {grid-template-columns:repeat(3,minmax(0,1fr))}
.formats article {border-top:3px solid #61899a}
details {margin-block:10px;border:1px solid var(--line);border-radius:12px;padding:12px 16px}
summary {font-weight:650;color:#23495d;min-height:26px}
details[open] summary {margin-bottom:8px}
.situations {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.situations details {background:var(--card);margin:0;padding:16px 18px}
.situations details summary {line-height:1.3}
.crumb {font-size:.88rem;margin-block:16px}
.airport-hero,.guide {padding:clamp(24px,4vw,54px);color:#fff4de;background:linear-gradient(110deg,#172e41,#203e4d);border-radius:var(--radius)}
.airport-hero h1,.guide h1 {max-width:20ch;font-size:clamp(2.4rem,5.2vw,4.6rem)}
.airport-hero p,.guide p {color:#e2ebec}
.airport-hero a,.guide a {color:#ffda90}
.airport-hero .btn,.guide .btn {color:var(--ink)}
.content {max-width:850px;margin-inline:auto}
.content article+article {margin-top:18px}
.content article h2,.place h2,.formats h2 {font-size:clamp(1.55rem,2.65vw,2.3rem)}
.content article h3 {margin-top:1.05em}
.content article p:last-child {margin-bottom:0}
.source,.sources {color:#495e63;font-size:.92rem}
.memo {border:2px dashed #839ca1;background:#fff8e9;max-width:700px}
footer {background:var(--navy);color:#e7e7dc;margin-top:35px;padding-block:24px}
footer small {flex-basis:100%;color:#b4c6cf}
@supports (animation-timeline:view()) {
 @media (prefers-reduced-motion:no-preference) and (min-width:720px) {
  .track {animation:approach linear both;animation-timeline:view();animation-range:entry 0% cover 30%}
  .track .rest {animation:illuminate linear both;animation-timeline:view();animation-range:entry 0% cover 36%}
 }
}
@keyframes approach {from{clip-path:inset(0 10% 0 10% round 5px)}to{clip-path:inset(0 round 5px)}}
@keyframes illuminate {from{filter:saturate(.55) brightness(.93)}to{filter:none}}
@media(max-width:850px){.grid,.formats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
 :root{--page:calc(100% - 32px);--radius:14px}
 header>.wrap,header.wrap{min-height:52px;gap:10px}
 header nav{gap:12px}
 .hero-inner{min-height:0;padding-block:38px 34px}
 .hero::before{background-position:center,65% center;background-image:linear-gradient(90deg,rgba(12,28,42,.97),rgba(12,28,42,.77) 62%,rgba(12,28,42,.54)),url('./terminal-mobile.webp')}
 .hero-copy{width:100%}
 .search{margin-top:20px}
 .hero input[type=search],.hero input[type=text]{min-height:50px}
 .grid,.formats,.situations{grid-template-columns:minmax(0,1fr);gap:10px}
 .section{padding-block:31px}
 .code{margin-bottom:8px}
 .fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fields label:has(select){grid-column:1/-1}
 .card{padding:18px}
 .actions{gap:8px}
 .sources,.source{overflow-wrap:anywhere}
}
@media(max-width:365px){.fields{grid-template-columns:minmax(0,1fr)}.actions .btn{width:100%}.brand{font-size:1.2rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{body{background:white;color:#111}header,footer,.actions,button,.hero::before{display:none!important}.memo,.place,.card,article{break-inside:avoid}.memo{border:1px solid #333}.track{print-color-adjust:exact}.section{width:100%;padding-block:10px}}
/* Page structure and interactive states */
.skip {position:absolute;z-index:10;left:8px;top:8px;transform:translateY(-160%);border-radius:8px;background:#fff2cf;color:#193042;padding:10px 14px}
.skip:focus {transform:none}
header>nav.wrap {display:flex;align-items:center;justify-content:space-between;min-height:62px;padding:10px 0}
.header a, header nav.wrap>a:last-child {color:#ebecdf;font-size:.95rem}
header .brand img {display:block}
header {border-bottom:1px solid #293d47}
footer>.wrap {align-items:baseline}
#finder {margin:24px 0 0}
#finder label {color:#fff3dc;line-height:1.2}
#finder .search {display:flex;align-items:stretch;gap:7px;max-width:635px;margin:8px 0 0}
#finder .search>button {white-space:nowrap;flex-shrink:0}
#finder .search input {width:100%}
.hero-copy>.secondary,.airport-hero a.secondary {display:inline-flex;align-items:center;min-height:42px;padding:8px 13px;border:1px solid #718491;border-radius:8px;background:#213b4d;color:#fff4d8;font-weight:600;text-decoration:none}
.hero-copy>.secondary:hover,.airport-hero a.secondary:hover {background:#315162}
#search-status:empty {display:none}
#suggestions:empty {display:none}
.suggestions {display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}
.suggestions button {color:#1f3037}
#finder~.secondary {margin-top:12px}
#selection {margin:24px auto;background:#eef2ec}
#selection h2 {margin:0 0 16px}
#selection fieldset {margin:10px 0;padding:0;border:0}
#selection legend {font-size:clamp(1.05rem,2vw,1.3rem);font-weight:650}
#selection .free {display:inline-flex;align-items:center;gap:7px;padding:6px 0}
#selection .free input {margin:0}
.scheme {display:grid;align-items:stretch;grid-template-columns:1fr minmax(90px,.5fr) 1fr 1fr;gap:8px;background:#dfe9e7}
.scheme [data-side] {border-top:3px solid #4d8495;background:#f9fbf6;color:#163d4b;text-align:center;padding:12px 8px;display:grid;place-items:center;min-height:54px;font-weight:650;border-radius:3px}
.scheme b {display:grid;place-items:center;padding:8px 4px;border-inline:2px dashed #77888b;color:#506367;font-size:.83rem}
.scheme [data-side].dim,.scheme [data-side].muted,.scheme [data-side][aria-current=false],.scheme [data-side][data-active=false] {border-color:#9aa8a6;background:transparent;color:#53656a}
.scheme [data-side].active,.scheme [data-side][aria-current=true],.scheme [data-side][data-active=true] {border-color:#efb24d;background:#194256;color:#fff0cf}
.scheme figcaption {grid-column:1/-1;color:#40585b;font-size:.8rem;margin-top:3px}
.timeline.section {margin-top:clamp(24px,4vw,48px);margin-bottom:clamp(24px,4vw,48px)}
.timeline form.panel {background:#122b3e;color:#eef6f4;border-color:#435c67}
.timeline .fields label {color:#f7f0e2}
.timeline form details {background:#1b3447;border-color:#48616b}
.timeline form details summary {color:#ffe0a2}
.timeline input,.timeline select {background:#f9faf3;color:#193041}
.timeline output {margin-bottom:5px;color:#ffe0a0}
.scale {display:flex;justify-content:space-between;font:600 .85rem/1.5 ui-monospace,Menlo,monospace;color:#d9e8e7}
#buffers {margin:3px 0 0;color:#d2dfdf;font-size:.91rem}
#places .results {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.results .place:only-child {grid-column:1/-1;max-width:860px}
#matches .place,.results .place {align-self:stretch}
.place .eyebrow {color:#674719;display:inline-flex;width:fit-content;background:#f6ead4;border-radius:5px;padding:3px 7px;font-size:.79rem}
.place .route {font-size:1.04rem;line-height:1.48}
.place dt {font-size:.77rem;line-height:1.25;font-weight:700;color:#4a656d;margin-top:9px}
.place dd {font-size:.95rem;line-height:1.43;margin-top:3px}
.place .estimate:not(:empty) {padding:8px 11px;background:#ecf0e7;border-radius:6px;color:#1c3e45;font-weight:600}
.place a.phone {font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.place .muted {font-size:.78rem}
.pilot {margin:28px 0 13px}
.card-link {margin-top:auto;color:#21546a;font-size:.9rem;font-weight:700}
.card-link::after {content:" ›";font-size:1.1em}
.formats details {margin:0;background:var(--card);border-top:3px solid #52828c}
.formats summary {color:#233b43}
.airport-hero .code {margin:0 8px 14px 0;background:#ffe0a1;color:#233b46}
.airport-hero>small {font-size:.91rem;color:#c4d5d7}
#night {margin:16px 0 26px;padding:clamp(18px,3vw,34px);border:1px solid #d5c6ab;background:#f7edda;border-radius:var(--radius)}
#night h2 {font-size:clamp(1.65rem,3vw,2.4rem)}
#night .btn {margin-top:6px}
.content>article {margin-top:24px}
.content>article h2:not(:first-child) {margin-top:24px}
.memo {width:min(90%,560px);max-height:90dvh;padding:clamp(18px,3vw,32px);color:var(--ink)}
.memo:not([open]) {display:none}
.memo::backdrop {background:#10232dad}
.memo h2 {font-size:clamp(1.55rem,3vw,2.2rem)}
#note {white-space:pre-line}
@media(min-width:900px){#matches.results,#alternatives.results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#places .results{grid-template-columns:1fr}.scheme{grid-template-columns:1fr 1fr}.scheme b{border-inline:0;border-bottom:1px dashed #70898b}.scheme [data-side]{min-height:44px}}
@media(max-width:620px){
 header>nav.wrap{min-height:52px}
 #finder .search{flex-wrap:wrap}
 #finder .search input{flex-basis:100%}
 #finder .search>button{margin-top:3px}
 .hero .hero-inner{min-height:370px}
 .hero .hero-inner h1{max-width:12ch}
 #selection{padding:16px}
 .zones{gap:6px}.zones button{font-size:.89rem}
 .timeline.section{margin-block:20px}
 .timeline{padding:18px}
 .timeline form.panel{padding:13px}
 .formats{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:360px) and (max-width:620px){
 .hero-copy{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:stretch}
 .hero .hero-inner h1{max-width:none;grid-column:1/-1;font-size:clamp(2.15rem,9.3vw,3rem);margin-bottom:13px}
 #finder,#finder .search{display:contents}
 #finder label,#finder .search input{grid-column:1/-1}
 #finder .search>button{grid-column:1;grid-row:4;margin:0;padding:10px 12px;font-size:.88rem}
 .hero-copy>.secondary{grid-column:2;grid-row:4;margin:0;justify-content:center;text-align:center;padding:8px;font-size:.85rem}
 #suggestions,#search-status{grid-column:1/-1}
 .hero .hero-inner{min-height:320px}
}
figure.scheme{display:grid;align-items:stretch}
.scheme [data-side].dim{opacity:1;filter:none;background:transparent;color:#53656a;border-color:#a9b5b4}
.scheme:has(.dim) [data-side]:not(.dim){background:#214356;color:#fff4db;border-color:#eeb354}
@media(min-width:360px) and (max-width:620px){#finder~.secondary{margin-top:0;min-height:45px}}
.formats details {position:relative;padding-left:61px}
.formats details::before{content:"";position:absolute;left:14px;top:10px;width:36px;height:36px;background:url('./sleep-formats.svg') 0 center/216px 36px no-repeat}
.formats details:nth-child(2)::before{background-position-x:-36px}
.formats details:nth-child(3)::before{background-position-x:-72px}
.formats details:nth-child(4)::before{background-position-x:-108px}
.formats details:nth-child(5)::before{background-position-x:-144px}
.formats details:nth-child(6)::before{background-position-x:-180px}
.formats summary{min-height:32px;padding-top:4px}
figure.scheme{
 grid-template-columns:minmax(0,1fr) minmax(38px,9%) minmax(0,1.35fr);
 grid-template-areas:"public control domestic" "public control intl" "legend legend legend";
}
.scheme [data-side="public"]{grid-area:public}
.scheme [data-side="domestic"]{grid-area:domestic}
.scheme [data-side="international"]{grid-area:intl}
.scheme b{grid-area:control;border-inline:1px dashed #7e9295;border-block:0;writing-mode:vertical-rl;transform:rotate(180deg);font-family:ui-monospace,Menlo,monospace;font-size:.73rem;letter-spacing:.04em}
.scheme figcaption{grid-area:legend}
#selection .results .place dl,.results .place dl{margin:.25rem 0 0}
.place .actions{width:100%}
@media(min-width:850px){.scheme b{writing-mode:horizontal-tb;transform:none}}
@media(max-width:620px){
 figure.scheme{gap:4px;padding:10px}
 .scheme [data-side]{font-size:.82rem;padding:8px 4px;line-height:1.26}
 .scheme figcaption{font-size:.74rem}
 #selection .place{padding:14px}
 .place .actions{gap:6px 9px}
 .place .actions .btn,.place .actions button,.place .actions a.phone{font-size:.89rem}
}
