/* cross-page transitions: header stays put, the page underneath lifts in */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  .hdr{view-transition-name:site-header}
  .alt{view-transition-name:alt-tape}
  ::view-transition-old(root){animation:.28s ease-in both vt-out}
  ::view-transition-new(root){animation:.5s cubic-bezier(.2,.7,.1,1) both vt-in}
  @keyframes vt-out{to{opacity:0}}
  @keyframes vt-in{from{opacity:0; translate:0 28px}}
}
/* Fonts: Inter Tight 600 for headings (FONTS.md), Elite's own Crimson Text for everything else */
:root{
  --night:#030538; --hangar:#262648; --slate:#4e4c57; --alu:#a7a7a7;
  --white:#fff; --mist:#e9eaef; --ink:#030538; --rule:#c9cad3;
  /* night surfaces (round 8, design-ref/elite-wallpaper.webp): brand navy with a little of the wallpaper's charcoal depth
     and a soft light from the top-left. --night stays the flat brand colour (text, borders); use --night-surface as a background */
  --night-deep:#070a2b;
  --night-glow:radial-gradient(70% 130% at 8% -10%, rgba(74,98,148,.26), rgba(40,58,98,.08) 45%, transparent 70%);
  --night-surface:var(--night-glow), linear-gradient(165deg, var(--night) 0%, #050836 45%, var(--night-deep) 100%);
  /* heading font: one variable for every heading (Inter Tight 600, see FONTS.md) */
  --font-display:"Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --display:var(--font-display);
  --font:"Crimson Text", Georgia, serif;
  --font-script:"Great Vibes";   /* nothing uses it since round 9 (book dialog sky-writing removed) */
  --gut:clamp(1rem, 4vw, 3.5rem);
  --max:1840px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%; font-variant-numeric:lining-nums}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto} *,*::before,*::after{animation:none!important; transition:none!important}}
body{margin:0; background:var(--night); color:var(--white); font:400 1.25rem/1.55 var(--font); overflow-x:hidden}
img{display:block; max-width:100%; height:auto}
/* <picture> wrappers (AVIF/WebP, tools/optimize_images.py) add no box: the <img> stays the grid/flex/absolute item it was */
picture{display:contents} picture>source{display:none}
button,input,select,textarea{font-family:inherit}
a{color:inherit}
b,strong{font-weight:700}
:focus-visible{outline:2px solid var(--white); outline-offset:3px}
.wrap{max-width:var(--max); margin-inline:auto; padding-inline:var(--gut)}
h1,h2,h3{font-family:var(--font-display); font-weight:700; line-height:1.02; letter-spacing:-.01em; margin:0}
h2{font-size:clamp(2.6rem, 5.8vw, 5.2rem)}
p{margin:0 0 1em}
.lede{font-size:clamp(1.15rem, 1.6vw, 1.4rem); line-height:1.5; max-width:34ch}
.muted{color:var(--alu)}
.vh{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}

/* buttons: rectangles, labelled by what happens */
.btn{display:inline-flex; align-items:center; gap:.6em; min-height:48px; padding:.8em 1.4em; font:700 1.1rem/1 var(--font); text-decoration:none; border:1.5px solid currentColor; background:none; color:inherit; cursor:pointer; transition:background .2s, color .2s}
.btn-solid{background:var(--white); color:var(--night); border-color:var(--white)}
.btn-solid:hover{background:var(--mist)}
.btn-line:hover{background:var(--white); color:var(--night)}
.btn-ink{background:var(--night); color:var(--white); border-color:var(--night)}
.btn-ink:hover{background:var(--hangar)}
.textlink{font-weight:700; text-decoration:none; border-bottom:1.5px solid currentColor; padding-bottom:2px}
.textlink:hover{border-bottom-color:transparent}

/* header */
.hdr{position:fixed; inset:0 0 auto; z-index:50; transition:background .3s, box-shadow .3s}
.hdr.solid{background:radial-gradient(38% 300% at 0% 0%, rgba(74,98,148,.22), transparent 70%), linear-gradient(90deg, rgba(3,5,56,.95), rgba(6,8,42,.95)); box-shadow:0 1px 0 rgba(167,167,167,.25)}
.hdr .wrap{display:flex; align-items:center; gap:2rem; height:76px}
/* the coloured Elite logo sits on a white panel that runs off the left edge and ends in an angled cut,
   trailed by three stripes in the logo's own bar colours. It's built on the logo link itself, so the nav always keeps clear of it. */
.hdr{overflow-x:clip}
/* the logo sits 22px from the viewport edge at every width: margin-left undoes the gutter and, past --max, the centred wrap's side space (cqw = header width) */
.hdr{container-type:inline-size}
.hdr .logo{position:relative; isolation:isolate; flex:none; align-self:stretch; display:flex; align-items:center; padding-right:46px; margin-right:84px; margin-left:calc(22px - var(--gut) - max(0px, (100cqw - var(--max)) / 2))}
.hdr .logo img{height:55px; width:auto}
.hdr .logo::before{content:""; position:absolute; z-index:-1; top:0; bottom:0; left:-100vw; right:0; background:var(--white); clip-path:polygon(0 0, 100% 0, calc(100% - 38px) 100%, 0 100%)}
.hdr .logo::after{content:""; position:absolute; top:0; bottom:0; left:calc(100% + 8px); width:60px; transform:skewX(-26.6deg); transform-origin:0 0; background:linear-gradient(90deg, var(--alu) 0 12px, transparent 12px 20px, var(--slate) 20px 32px, transparent 32px 40px, var(--hangar) 40px 52px, transparent 52px)}
.hdr.solid .logo::after{background:linear-gradient(90deg, var(--alu) 0 12px, transparent 12px 20px, var(--slate) 20px 32px, transparent 32px 40px, #3a3a66 40px 52px, transparent 52px)}
@media (max-width:1100px){.hdr .logo img{height:48px} .hdr .logo{padding-right:42px; margin-right:76px}}
.nav{display:flex; gap:1.6rem; margin-left:auto}
.nav a{text-decoration:none; font-size:.95rem; padding:.4em 0; border-bottom:1.5px solid transparent}
.nav a:hover{border-bottom-color:currentColor}
.hdr .tel{font-weight:700; text-decoration:none; white-space:nowrap}
.hdr .btn{min-height:42px; padding:.65em 1.1em; font-size:.92rem}
.menu-btn{display:none; margin-left:auto; background:none; border:1.5px solid var(--white); color:var(--white); font:700 .9rem var(--font); min-height:44px; padding:0 1rem}
#menu{inset:0; width:100%; height:100%; max-width:none; max-height:none; margin:0; border:0; background:var(--night); color:var(--white); padding:6rem var(--gut) 2rem}
#menu a{display:block; font:700 2.2rem/1.2 var(--display); text-decoration:none; padding:.4rem 0; border-bottom:1px solid var(--hangar)}
#menu .close{position:absolute; top:1.2rem; right:var(--gut)}
@media (max-width:1240px){.hdr .tel{display:none}}
@media (max-width:1100px){.nav,.hdr .tel,.hdr .btn{display:none} .menu-btn{display:block}}

/* altitude tape: page scroll shown as a climb */
.alt{position:fixed; right:0; top:50%; translate:0 -50%; z-index:40; width:104px; height:min(72vh,700px); pointer-events:none; mix-blend-mode:difference}
.alt .tape{position:absolute; inset:0; overflow:hidden; mask-image:linear-gradient(transparent, #000 18%, #000 82%, transparent)}
.alt .ticks{position:absolute; left:0; right:0; top:50%; will-change:transform}
.alt .tick{position:absolute; right:0; height:1px; background:#fff; width:10px}
.alt .tick.major{width:28px}
.alt .tick{width:14px}
.alt .tick span{position:absolute; right:36px; top:-.6em; font:600 .98rem/1 var(--font); color:#fff}
.alt .box{position:absolute; right:0; top:50%; translate:0 -50%; border:1.5px solid #fff; border-right:0; padding:.45rem .7rem; font:700 1.5rem/1 var(--font); font-variant-numeric:lining-nums tabular-nums; min-width:92px !important; color:#fff; background:#000; min-width:62px; text-align:right; background:#fff !important; color:#000 !important}
.alt .lbl{position:absolute; right:8px; bottom:-1.8rem; font:700 .85rem/1 var(--font); color:#fff; letter-spacing:.05em; white-space:nowrap}
@media (max-width:1060px){.alt{display:none}}

/* hero */
.hero{position:relative; min-height:100svh; display:grid; align-items:end; isolation:isolate}
.hero picture,.hero picture img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:40% 60%; z-index:-2}
.hero::after{content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(to bottom, rgba(3,5,56,.7), rgba(3,5,56,0) 22%), linear-gradient(to top, rgba(3,5,56,.92) 0%, rgba(3,5,56,.55) 38%, rgba(3,5,56,0) 70%)}
.hero .wrap{width:100%; padding-bottom:clamp(2rem, 6vh, 4.5rem); display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2rem; align-items:end}
.hero h1{font-size:clamp(3rem, 8.4vw, 8.6rem); line-height:.98; font-weight:900}
.hero .sub{display:flex; flex-wrap:wrap; gap:1.25rem 2rem; align-items:center; margin-top:1.75rem}
.hero .sub p{margin:0; max-width:36ch; font-size:clamp(1.05rem,1.4vw,1.25rem)}
.hero .cap{font-size:.95rem; color:var(--alu); text-align:right; width:16rem; margin-right:84px}
.hero .where{font-size:.95rem; margin-bottom:1.1rem; color:var(--mist)}
@media (max-width:1060px){.hero .cap{display:none} .hero .wrap{grid-template-columns:1fr}}
.hero h1 .ln{display:block; overflow:hidden; padding-bottom:.04em}
.hero h1 .ln span{display:block; animation:rise .9s cubic-bezier(.2,.7,.1,1) both}
.hero h1 .ln:nth-child(2) span{animation-delay:.08s}
.hero h1 .ln:nth-child(3) span{animation-delay:.16s}
.hero .sub,.hero .where{animation:fade .8s .45s both}
@keyframes rise{from{translate:0 105%}}
@keyframes fade{from{opacity:0}}

/* three ways in */
.ways{padding-block:clamp(4rem,10vw,8rem) 0}
.ways-head{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:1.5rem 3rem; margin-bottom:2.5rem}
.panels{display:flex; height:min(78vh,720px); border-top:1px solid var(--hangar)}
.panel{position:relative; flex:1; min-width:0; overflow:hidden; text-decoration:none; display:flex; flex-direction:column; justify-content:flex-end; padding:clamp(1.25rem,2.5vw,2.25rem); transition:flex-grow .6s cubic-bezier(.2,.7,.1,1); border-right:1px solid var(--night); isolation:isolate}
.panel:last-child{border-right:0}
.panel img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transition:scale .8s cubic-bezier(.2,.7,.1,1)}
.panel::before{content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(to top, rgba(3,5,56,.95), rgba(3,5,56,.3) 55%, rgba(3,5,56,.5))}
.panel h3{font-size:clamp(2rem,3.2vw,3.2rem); line-height:1.02}
.panel p{max-width:30ch; margin:.9rem 0 1.2rem; color:var(--mist)}
.panel .go{font-weight:700; border-bottom:1.5px solid currentColor; align-self:flex-start; padding-bottom:2px}
.panel .n{position:absolute; top:clamp(1.25rem,2.5vw,2.25rem); left:clamp(1.25rem,2.5vw,2.25rem); right:clamp(1.25rem,2.5vw,2.25rem); font:700 clamp(1.5rem,2.2vw,2.1rem)/1.1 var(--display); color:var(--white); text-shadow:0 1px 14px rgba(3,5,56,.7)}
@media (hover:hover) and (min-width:1061px){
  .panels:hover .panel,.panels:focus-within .panel{flex-grow:.8}
  .panels .panel:hover,.panels .panel:focus-visible{flex-grow:1.7}
  .panel:hover img{scale:1.04}
}
/* owners: half photo, half pitch */
.owner{display:grid; grid-template-columns:1fr 1fr; min-height:min(64vh,600px); background:var(--hangar)}
.owner figure{margin:0; position:relative; overflow:hidden}
.owner figure img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:scale 1.2s cubic-bezier(.2,.7,.1,1)}
.owner:hover figure img{scale:1.03}
.owner .ob{padding:clamp(2.5rem,6vw,5rem) var(--gut); display:flex; flex-direction:column; justify-content:center; max-width:40rem}
.owner h2{font-size:clamp(2.2rem,4.2vw,3.8rem)}
.owner .ob-lede{color:var(--mist); font-size:clamp(1.2rem,1.5vw,1.4rem); line-height:1.5; margin:1.4rem 0 1.6rem; max-width:36ch}
.owner .ob-promise{font:400 italic clamp(1.35rem,1.9vw,1.7rem)/1.3 var(--display); margin:0 0 2.2rem; padding-top:1.3rem; border-top:1px solid rgba(233,234,239,.25); max-width:26ch}
.owner figcaption{position:absolute; left:0; bottom:0; background:var(--night); padding:.55rem 1rem; font-size:.95rem; color:var(--mist)}
.owner .ctas{display:flex; flex-wrap:wrap; gap:1rem 1.75rem; align-items:center}
@media (max-width:860px){.owner{grid-template-columns:1fr} .owner figure{height:50vh}}
@media (max-width:1060px){.panels{flex-direction:column; height:auto} .panel{min-height:62vh; border-right:0; border-bottom:1px solid var(--night)}}

/* test flight + logbook */
.tf{background:var(--white); color:var(--ink); padding-block:clamp(4rem,10vw,8rem)}
.tf-top{display:grid; grid-template-columns:5fr 6fr; gap:clamp(2rem,6vw,6rem); align-items:center}
.tf figure{margin:0}
.tf figure img{aspect-ratio:5/4; object-fit:cover; width:100%}
.tf h2{color:var(--night)}
.tf .kick{font-size:1.25rem; font-weight:700; margin:1.5rem 0 .5rem}
.tf-top p{color:var(--slate)}
.tf .ctas{display:flex; flex-wrap:wrap; gap:1rem 1.75rem; align-items:center; margin-top:1.5rem}
@media (max-width:860px){.tf-top{grid-template-columns:1fr}}

.book{margin-top:clamp(3rem,7vw,5.5rem)}
.book-head{display:flex; flex-wrap:wrap; gap:1rem 3rem; justify-content:space-between; align-items:end; margin-bottom:1.5rem}
.book-head h3{font-size:clamp(1.8rem,3vw,2.6rem)}
.book-head p{margin:0; max-width:44ch; color:var(--slate)}
.log-scroll{overflow-x:auto}
.log{width:100%; border-collapse:collapse; min-width:860px; font-size:.95rem}
.log th{font:600 .95rem/1.2 var(--font); text-align:left; vertical-align:bottom; padding:.65rem .8rem; border:1px solid var(--rule); border-top:2px solid var(--night); background:var(--mist)}
.log td{padding:.35rem .8rem; border:1px solid var(--rule); height:4.4rem; vertical-align:middle}
.log td.num{text-align:right}
.hand{font-family:var(--font); font-style:italic; font-weight:400; color:var(--night)}
.log .hand{font-size:1.3rem; line-height:1.2; display:inline-block}
.log tr.first .ink{clip-path:inset(0 100% 0 0); transition:clip-path 1.1s cubic-bezier(.5,0,.2,1)}
.log.on tr.first td:nth-child(3) .ink{transition-delay:.15s}
.log.on tr.first td:nth-child(4) .ink{transition-delay:.3s}
.log.on tr.first td:nth-child(5) .ink{transition-delay:.45s}
.log.on tr.first td:nth-child(6) .ink{transition-delay:.6s; transition-duration:1.8s}
.log.on tr.first td:nth-child(7) .ink{transition-delay:1.9s}
.log.on tr.first .ink{clip-path:inset(0 -1em 0 0)}
.log .sig{display:block; font-size:1.05rem; color:var(--slate); margin-top:.1rem}
.log td.date{padding:.4rem; background:var(--mist); width:12rem}
.pick{width:100%; min-height:3.5rem; display:grid; place-items:center; gap:.1rem; border:1.5px dashed var(--night); background:var(--white); color:var(--night); cursor:pointer; padding:.3rem .5rem; animation:beckon 2.4s ease-in-out infinite}
.pick:hover{background:var(--night); color:var(--white); border-style:solid; animation:none}
.pick:hover .hand{color:var(--white)}
.pick .hand{font-size:1.3rem; line-height:1.1}
.pick small{font:600 .85rem/1 var(--font)}
@keyframes beckon{50%{box-shadow:0 0 0 5px rgba(3,5,56,.12)}}
.book-foot{display:flex; flex-wrap:wrap; gap:1rem 2rem; align-items:center; justify-content:space-between; margin-top:1.5rem}
.book-foot p{margin:0; color:var(--slate); max-width:56ch}
@media (prefers-reduced-motion:reduce){.log tr.first .ink{clip-path:none}}


/* flight paths: a plane flies the climb from PPL to CFI as you scroll */
.profile{position:relative}
.route{position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; z-index:1}
/* the plane leaves a dashed trail behind it, in the same light dashes as the fly-by */
.route .done{fill:none; stroke:rgba(233,234,239,.62); stroke-width:2; stroke-dasharray:10 10}
.route .rev{fill:none; stroke:#fff; stroke-width:24}
.route use{color:var(--white)}
.rung{transition:opacity .5s}
.js-climb .rung{opacity:.38}
.js-climb .rung.reached{opacity:1}
.rung.reached::before{box-shadow:0 0 0 6px rgba(255,255,255,.18)}
@media (max-width:860px){.route{display:none} .js-climb .rung{opacity:1}}

/* fly-by over the "where do you want to start" heading, once */
.ways-head{position:relative}
.flyby{position:absolute; left:var(--gut); right:var(--gut); top:-3rem; height:40px; pointer-events:none; container-type:inline-size}
/* the runway the plane leaves behind: thin edge lines, a dashed centreline, threshold bars at each end.
   It's revealed in step with the plane's roll and stops where the wheels leave the ground. */
.flyby .strip{position:absolute; inset:0; clip-path:inset(0 100% 0 0)}
.flyby .rwy{position:absolute; left:0; top:12px; width:58%; height:16px; border-block:1px solid rgba(233,234,239,.5);
  background:
    repeating-linear-gradient(90deg, rgba(233,234,239,.6) 0 2px, transparent 2px 5px) left 6px center/20px 10px no-repeat,
    repeating-linear-gradient(90deg, rgba(233,234,239,.6) 0 2px, transparent 2px 5px) right 6px center/20px 10px no-repeat,
    repeating-linear-gradient(90deg, rgba(233,234,239,.55) 0 14px, transparent 14px 26px) center/calc(100% - 76px) 1.5px no-repeat}
.flyby .jet{position:absolute; left:0; top:0; width:40px; height:40px; translate:-40px 0; opacity:0}
.flyby .jet svg{display:block; width:100%; height:100%; color:var(--white)}
.flyby.go .strip{animation:fbreveal 3.6s cubic-bezier(.4,0,1,1) forwards}
.flyby.go .jet{animation:fbroll 3.6s cubic-bezier(.4,0,1,1) forwards}
.flyby.go .jet svg{animation:fbclimb 1.3s 2.3s cubic-bezier(.45,0,.55,1) forwards}
@keyframes fbreveal{to{clip-path:inset(0 0 0 0)}}
@keyframes fbroll{from{opacity:1} to{opacity:1; translate:calc(100cqw + 40px) 0}}
@keyframes fbclimb{to{translate:0 -70px; rotate:-13deg}}
@media (prefers-reduced-motion:reduce){.flyby .strip{clip-path:none} .flyby .jet{display:none}}

/* call-to-book lightbox */
#book{border:0; padding:0; width:min(560px,calc(100% - 2rem)); background:var(--white); color:var(--ink); box-shadow:0 40px 80px rgba(0,0,0,.45)}
#book::backdrop{background:rgba(3,5,56,.78)}
#book[open]{animation:pop .35s cubic-bezier(.2,.7,.1,1)}
#book[open]::backdrop{animation:fade .3s}
@keyframes pop{from{opacity:0; translate:0 24px}}
/* book dialog header (round 11: design 2 + 5): dusk photo, navy scrim, the KSUS diagram over it (pin pulses inside the SVG),
   the real reverse logo (elite-aviation-logo-reverse-white.png, untinted): four bars draw up one by one, then the wordmark slides in.
   CSS-only motion; it replays on every open because a closed dialog is display:none. Reduced motion = the finished state */
.bk-top{position:relative; height:210px; padding:2.9rem 1.5rem 1.5rem; background:var(--night-surface); color:var(--white); overflow:hidden; isolation:isolate}
.bk-top .map{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; animation:bk-map 1.6s cubic-bezier(.2,.7,.1,1) both}
.bk-top::before{content:""; position:absolute; inset:0; z-index:-2; background:radial-gradient(120% 140% at 85% 30%, #262648, #030538 70%)}
.bk-top .map{z-index:-1; opacity:.9; -webkit-mask:linear-gradient(100deg, transparent 12%, rgba(0,0,0,.35) 32%, #000 58%); mask:linear-gradient(100deg, transparent 12%, rgba(0,0,0,.35) 32%, #000 58%); animation-duration:1.4s}
.bk-kind{position:relative; margin:1rem 0 0; font:600 1.15rem/1.2 var(--font-display); letter-spacing:.01em; animation:bk-rise .6s cubic-bezier(.2,.7,.1,1) 1.1s both}
.bk-top .mark{display:block; position:relative; height:84px; aspect-ratio:720/265}
.bk-top .mark img{position:absolute; inset:0; width:100%; height:100%; transform-origin:bottom; animation:bk-bar .55s cubic-bezier(.2,.7,.1,1) both}
.bk-top .mark .b1{clip-path:inset(0 95.5% 0 0)}
.bk-top .mark .b2{clip-path:inset(0 90.1% 0 5.2%); animation-delay:.09s}
.bk-top .mark .b3{clip-path:inset(0 84.8% 0 10.6%); animation-delay:.18s}
.bk-top .mark .b4{clip-path:inset(0 79.5% 0 15.9%); animation-delay:.27s}
.bk-top .mark .wm{clip-path:inset(0 0 0 21.2%); animation:bk-word .7s cubic-bezier(.2,.7,.1,1) .75s both}
@keyframes bk-rise{from{opacity:0; translate:0 8px}}
@keyframes bk-map{from{opacity:0; scale:1.08}}
@keyframes bk-bar{from{scale:1 0}}
@keyframes bk-word{from{opacity:0; translate:-12px 0}}
@media (prefers-reduced-motion:reduce){.bk-top *{animation:none!important}}
@media (max-width:520px){.bk-top .mark{height:66px}}
/* body (round 11): condensed, same content */
.bk-body{padding:1.15rem 1.5rem 1.35rem}
.bk-body h2{font-size:clamp(1.55rem,3.4vw,2rem); line-height:1.1; color:var(--night)}
.bk-body > p{color:var(--slate); margin:.4rem 0 .85rem; line-height:1.4}
.bk-tel{display:flex; justify-content:center; font:900 clamp(1.45rem,4vw,1.8rem)/1 var(--display); background:var(--night); color:var(--white); text-decoration:none; padding:.7rem; transition:background .2s}
.bk-tel:hover{background:var(--hangar)}
.bk-close{position:absolute; top:.7rem; right:.8rem; background:none; border:1.5px solid var(--alu); color:var(--white); width:44px; height:44px; font-size:1.3rem; cursor:pointer; z-index:2}
.bk-close:hover{background:var(--white); color:var(--night)}
#book .bk-form{max-width:none; margin-top:.9rem; padding-top:.8rem; border-top:1px solid var(--rule); gap:.5rem .75rem; grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#book .bk-form > *{grid-column:1/-1}
#book .bk-form label:nth-of-type(2),#book .bk-form label:nth-of-type(3){grid-column:auto}
#book .bk-form label{gap:.2rem; font-size:.85rem}
#book .bk-form input,#book .bk-form textarea{width:100%; min-width:0; padding:.5rem .7rem; min-height:42px}
#book .bk-form textarea{height:4.4rem; resize:vertical}
#book .bk-form .btn{margin-top:.25rem; background:var(--night); color:var(--white); border-color:var(--night)}
#book .bk-form .btn:hover{background:var(--hangar)}
#book .bk-or{margin:0; font-weight:700; color:var(--night)}
#book .bk-form .hp{position:absolute; left:-9999px}
#book .bk-done{margin-top:.9rem; padding:.85rem 1rem; background:var(--mist)}
#book .bk-done h3{color:var(--night); font-size:1.3rem; margin-bottom:.2rem}
#book .bk-done p,#book .bk-fail p{margin:0; line-height:1.4}
#book .bk-fail{margin-top:.6rem; color:var(--slate)} #book .bk-fail a{color:var(--night)}
@media (max-width:520px){.bk-body{padding:1rem 1.15rem 1.15rem} .bk-body > p{font-size:.95rem}}
#book{max-height:calc(100dvh - 2rem)}

/* ratings: a climb */
.climb{padding-block:clamp(4rem,10vw,8rem); background:var(--hangar); overflow:hidden}
.climb-head{display:grid; grid-template-columns:1fr 1fr; gap:2rem 4rem; align-items:end; margin-bottom:clamp(2.5rem,6vw,5rem)}
.climb-head p{margin:0; color:var(--mist); max-width:44ch}
.profile{display:grid; grid-template-columns:repeat(4,1fr); align-items:end}
.rung{padding:1.5rem 1.5rem 0 0; border-top:1.5px solid var(--white); position:relative}
.rung:nth-of-type(2){margin-bottom:5rem}
.rung:nth-of-type(3){margin-bottom:10rem}
.rung:nth-of-type(4){margin-bottom:15rem}
.rung .code{font:900 clamp(3rem,5.4vw,5.2rem)/.9 var(--display)}
.rung h3{font:700 1.2rem/1.3 var(--font); margin:.9rem 0 .5rem}
.rung p{font-size:.95rem; color:var(--mist); margin:0; max-width:32ch}
.rung::before{content:""; position:absolute; left:0; top:-6px; width:11px; height:11px; background:var(--white)}
.process{margin-top:clamp(3rem,6vw,5rem); border-top:1px solid var(--slate); padding-top:1.75rem}
.process p{margin:0; max-width:70ch; color:var(--mist)}
@media (max-width:860px){
  .climb-head{grid-template-columns:1fr}
  .profile{grid-template-columns:1fr; gap:2.5rem}
  .rung,.rung:nth-of-type(n){margin:0}
}

/* fleet: the photo follows the tail you're on */
.fleet{padding-block:clamp(4rem,10vw,8rem) clamp(3rem,6vw,5rem)}
.fleet-head{display:flex; flex-wrap:wrap; gap:1.5rem 3rem; justify-content:space-between; align-items:end}
.fleet-head p{max-width:46ch; margin:0; color:var(--mist)}
.stage{position:relative; margin:clamp(2rem,5vw,3.5rem) 0 0; height:clamp(260px,46vw,640px); overflow:hidden; background:var(--hangar)}
.stage img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; scale:1.04; transition:opacity .5s, scale 1.2s cubic-bezier(.2,.7,.1,1)}
.stage img.on{opacity:1; scale:1.02}
.stage figcaption{position:absolute; left:0; bottom:0; background:var(--night); padding:.8rem 1.1rem; font-size:.95rem}
.stage figcaption b{font:700 1.3rem var(--display); margin-right:.6rem}
.tails{display:flex; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; padding:0 0 1.25rem; scrollbar-color:var(--slate) transparent; scrollbar-width:thin}
.tail{flex:0 0 clamp(240px,23vw,300px); scroll-snap-align:start; padding:1.25rem 1.25rem 1.25rem; border-top:3px solid var(--hangar); cursor:pointer; background:none; color:inherit; text-align:left; font:inherit; border-left:0; border-right:0; border-bottom:0; transition:border-color .3s, background .3s}
.tail b{display:block; font:700 clamp(2rem,3vw,2.8rem)/1 var(--display); color:var(--slate); transition:color .25s}
.tail.on{border-top-color:var(--white); background:var(--hangar)}
.tail.on b,.tail:hover b{color:var(--white)}
.tail .m{font-weight:700; margin:.8rem 0 .2rem; display:block}
.tail dl{margin:.6rem 0 0; display:grid; grid-template-columns:auto 1fr; gap:.2rem .9rem; font-size:.86rem}
.tail dt{color:var(--alu)} .tail dd{margin:0}
.tails-foot{display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; align-items:center; margin-top:1.25rem; color:var(--alu); font-size:.9rem}
.scrollbtns{display:flex; gap:.5rem}
.scrollbtns button{width:48px; height:48px; background:none; border:1.5px solid var(--alu); color:var(--white); font-size:1.1rem; cursor:pointer}
.scrollbtns button:hover{background:var(--white); color:var(--night)}

/* sim, with rain */
.sim{position:relative; min-height:88vh; display:grid; align-items:center; isolation:isolate; overflow:hidden}
.sim > img,.sim > picture > img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-3}
.sim::before{content:""; position:absolute; inset:0; z-index:-2; background:linear-gradient(90deg, rgba(3,5,56,.95) 0%, rgba(3,5,56,.78) 42%, rgba(3,5,56,.1) 75%)}
.sim canvas{position:absolute; inset:0; width:100%; height:100%; z-index:-1; pointer-events:none}
.sim .wrap{width:100%}
.sim .copy{max-width:36rem}
.sim ul{padding:0; list-style:none; margin:1.75rem 0}
.sim li{padding:.8rem 0; border-top:1px solid rgba(233,234,239,.28)}
.sim li:last-child{border-bottom:1px solid rgba(233,234,239,.28)}

/* service */
.svc{background:var(--mist); color:var(--ink); padding-block:clamp(4rem,10vw,8rem)}
.svc-grid{display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(2rem,6vw,6rem); align-items:start}
.svc h2{color:var(--night)}
.svc .lines{margin-top:2rem}
.svc .line{padding:1.4rem 0; border-top:1.5px solid var(--night)}
.svc .line h3{font-size:clamp(1.5rem,2.2vw,2rem); line-height:1.1}
.svc .line p{margin:.5rem 0 0; color:var(--slate)}
.svc .btn{margin-top:2rem}
.collage{display:grid; grid-template-columns:1.25fr 1fr; grid-template-rows:1fr 1fr; gap:.6rem; height:clamp(420px,46vw,620px)}
.collage img{width:100%; height:100%; object-fit:cover}
.collage img:first-child{grid-row:1/3}
.crew{display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1.5rem; font-size:.9rem}
.crew img{width:100%; aspect-ratio:1; object-fit:cover; object-position:50% 25%; margin-bottom:.6rem; filter:grayscale(.15)}
.crew b{display:block}
.crew span{color:var(--slate)}
@media (max-width:860px){.svc-grid{grid-template-columns:1fr} .collage{height:auto; grid-template-columns:1fr 1fr; grid-template-rows:auto} .collage img{aspect-ratio:4/3} .collage img:first-child{grid-row:auto; grid-column:1/-1}}

/* reviews */
.rev{padding-block:clamp(4rem,10vw,8rem)}
.rev-top{display:flex; flex-wrap:wrap; gap:2rem 3rem; justify-content:space-between; align-items:end}
.score{display:flex; align-items:center; gap:1.25rem; flex-wrap:wrap; margin-top:2rem}
.score > b{font:900 clamp(4rem,8.6vw,7rem)/.85 var(--display)}
.stars{color:#fbbc04; font-size:1.5rem; letter-spacing:.1em; line-height:1}
.score small{display:block; color:var(--alu); font-size:.95rem; margin-top:.4rem}
.gplate{display:inline-flex; align-items:center; gap:.7rem; background:var(--white); color:#3c4043; padding:.7rem 1rem; text-decoration:none; font-size:.95rem}
.gplate img{height:26px; width:auto}
.gplate:hover{background:var(--mist)}
.quote{margin:clamp(2.5rem,5vw,4rem) 0 0; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2rem; align-items:end; border-top:1.5px solid var(--alu); padding-top:2rem}
.quote blockquote{margin:0; font-size:clamp(1.3rem,2.3vw,2rem); line-height:1.35; max-width:42ch; min-height:6.5em}
.quote cite{display:flex; align-items:center; gap:.6rem; margin-top:1.25rem; font-weight:700; font-style:normal; color:var(--alu)}
.quote cite img{width:18px; height:18px}
.rev .more{display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; margin-top:3.5rem}
.rev .more p{color:var(--mist); font-size:.98rem}
.rev .more cite{font-style:normal; font-weight:700; font-size:.9rem; color:var(--alu)}
@media (max-width:860px){.rev .more{grid-template-columns:1fr} .quote{grid-template-columns:1fr} .quote blockquote{min-height:0}}

/* visit */
.visit{background:var(--white); color:var(--ink)}
.visit-grid{display:grid; grid-template-columns:1fr 1fr; min-height:100vh}
.visit .info{padding:clamp(4rem,8vw,7rem) var(--gut)}
.visit h2{color:var(--night)}
.facts{display:grid; grid-template-columns:auto 1fr; gap:.9rem 2rem; margin:2.5rem 0; padding:0}
.facts dt{font-weight:700} .facts dd{margin:0; color:var(--slate)}
.facts a{color:var(--night)}
form{display:grid; gap:1rem; max-width:34rem; margin-top:2.5rem; padding-top:2rem; border-top:1.5px solid var(--night)}
form h3{font:600 1.3rem var(--font)}
label{display:grid; gap:.35rem; font-weight:700; font-size:.9rem}
input,select,textarea{font:inherit; font-weight:400; font-size:1rem; padding:.8rem .9rem; border:1.5px solid var(--alu); border-radius:0; background:#fff; color:var(--ink); min-height:48px}
input:focus,select:focus,textarea:focus{outline:none; border-color:var(--night); box-shadow:0 0 0 1px var(--night)}
form .btn{justify-self:start}
.visit .map{position:sticky; top:76px; height:calc(100vh - 76px); min-height:420px; background:var(--mist)}
.visit .map iframe{position:absolute; inset:0; width:100%; height:100%; border:0; filter:grayscale(1) contrast(1.05)}
@media (max-width:860px){.visit-grid{grid-template-columns:1fr} .visit .map{position:relative; top:0; height:60vh}}

/* footer */
footer{padding-block:clamp(1rem,2vw,1.5rem) 7rem; font-size:.95rem}
.foot{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:2.5rem}
.foot img{height:44px; width:auto; margin-bottom:1.25rem}
.foot h4,.foot h2.fh{margin:0 0 .8rem; font:700 .95rem var(--font); letter-spacing:normal; color:var(--alu)}
.foot ul{list-style:none; margin:0; padding:0; display:grid; gap:.45rem}
.foot a{text-decoration:none} .foot a:hover{text-decoration:underline}
.legal{margin-top:3rem; padding-top:1.5rem; border-top:1px solid var(--hangar); color:var(--alu); font-size:.85rem; display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem}
@media (max-width:860px){.foot{grid-template-columns:1fr 1fr}}


/* design-review switcher (not part of the site) */
.switch-unused{position:fixed; left:1rem; bottom:1rem; z-index:70; display:flex; align-items:center; gap:2px; background:#fff; color:#030538; font:600 .95rem/1 var(--font); padding:4px; box-shadow:0 2px 12px rgba(0,0,0,.25); letter-spacing:0}
.switch span{padding:0 .6rem 0 .4rem}
.switch a{padding:.55rem .7rem; text-decoration:none}
.switch a[aria-current]{background:#030538; color:#fff}
@media (max-width:1060px){.switch{bottom:5.2rem; left:.6rem}}

/* nav: current page + the "More" menu */
.nav a[aria-current]{border-bottom-color:currentColor}
.more{position:relative}
.more summary{list-style:none; cursor:pointer; padding:.4em 0; font-size:.95rem; border-bottom:1.5px solid transparent}
.more summary::-webkit-details-marker{display:none}
.more summary::after{content:""; display:inline-block; width:.42em; height:.42em; border-right:1.5px solid; border-bottom:1.5px solid; rotate:45deg; margin:0 0 .22em .5em; transition:rotate .2s}
.more[open] summary::after{rotate:225deg; margin-bottom:-.05em}
.more-panel{position:absolute; top:calc(100% + 1.15rem); left:-1.25rem; min-width:230px; background:var(--night); border:1px solid var(--hangar); padding:.5rem 0; box-shadow:0 20px 40px rgba(0,0,0,.35)}
.more-panel a{display:block; padding:.6rem 1.25rem; border:0}
.more-panel a:hover,.more-panel a[aria-current]{background:var(--hangar)}
.more:has(a[aria-current]) summary{border-bottom-color:currentColor}

/* ===== interior page kit ===== */
[id]{scroll-margin-top:140px}
/* page hero: full-bleed photo, title bottom-left, airport caption bottom-right */
.page-hero{position:relative; min-height:min(80svh,780px); display:grid; align-items:end; isolation:isolate; color:var(--white); background:var(--night)}
.page-hero > img,.page-hero > picture img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2}
.page-hero::after{content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(to bottom, rgba(3,5,56,.75), rgba(3,5,56,0) 26%), linear-gradient(to top, rgba(3,5,56,.94) 0%, rgba(3,5,56,.5) 40%, rgba(3,5,56,.05) 75%)}
.page-hero .wrap{width:100%; padding-block:9rem clamp(2rem,4.8vh,3.2rem); display:grid; grid-template-columns:minmax(0,1fr) auto; gap:1.5rem 3rem; align-items:end}
.crumb{font-size:1rem; color:var(--mist); margin:0 0 1rem}
.crumb a{text-decoration:none; border-bottom:1px solid rgba(233,234,239,.4)}
.crumb a:hover{border-bottom-color:currentColor}
.page-hero h1{font-size:clamp(3rem,7.2vw,7rem); line-height:.98; font-weight:900; max-width:15ch; animation:rise-in .9s cubic-bezier(.2,.7,.1,1) both}
.page-hero .lede{margin-top:1.4rem; color:var(--mist); max-width:44ch; animation:fade .8s .35s both}
.page-hero .ctas{display:flex; flex-wrap:wrap; gap:1rem 1.75rem; align-items:center; margin-top:1.75rem; animation:fade .8s .45s both}
.page-hero .coord{color:var(--alu); font-size:.95rem; text-align:right; margin-right:84px; font-variant-numeric:lining-nums}
.page-hero .coord b{display:block; font:700 1.4rem var(--display); color:var(--white)}
@keyframes rise-in{from{opacity:0; translate:0 .35em}}
@media (max-width:1060px){.page-hero .wrap{grid-template-columns:1fr} .page-hero .coord{text-align:left; margin:0}}

/* sticky in-page sub-nav with scroll-spy */
.subnav{position:sticky; top:76px; z-index:30; background:var(--night); border-bottom:1px solid var(--hangar)}
.subnav .wrap{display:flex; gap:clamp(1.25rem,3vw,2.5rem); overflow-x:auto; height:56px; align-items:center; scrollbar-width:none}
.subnav .wrap::-webkit-scrollbar{display:none}
.subnav a{text-decoration:none; color:var(--alu); white-space:nowrap; padding:.35rem 0; border-bottom:1.5px solid transparent; transition:color .2s, border-color .2s}
.subnav a:hover{color:var(--white)}
.subnav a.on{color:var(--white); border-bottom-color:var(--white)}
.subnav .sn-cta{margin-left:auto; flex:none; min-height:40px; padding:.55em 1em; font-size:1rem}

/* sections */
.sec{padding-block:clamp(3.2rem,8vw,6.4rem)}
.sec-white{background:var(--white); color:var(--ink)}
.sec-mist{background:var(--mist); color:var(--ink)}
.sec-hangar{background:var(--hangar)}
.sec-white h2,.sec-mist h2,.sec-white h3,.sec-mist h3{color:var(--night)}
.sec-head{display:grid; grid-template-columns:1fr 1fr; gap:1.5rem 4rem; align-items:end; margin-bottom:clamp(2.5rem,5vw,4rem)}
.sec-head p{margin:0; max-width:46ch; color:var(--mist)}
.sec-white .sec-head p,.sec-mist .sec-head p{color:var(--slate)}
@media (max-width:860px){.sec-head{grid-template-columns:1fr}}

/* big serif numerals with small labels */
.stats{display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); border-top:1.5px solid currentColor}
.stats > div{padding:1.4rem 1.5rem 0 0}
.stats b{display:block; font:900 clamp(2.8rem,5.6vw,4.8rem)/1 var(--display)}
.stats span{display:block; margin-top:.4rem; color:var(--alu); font-size:1.05rem}
.sec-white .stats span,.sec-mist .stats span{color:var(--slate)}

/* call band: the phone is the action */
.callband{background:var(--night); color:var(--white); padding-block:clamp(3.5rem,7vw,5.5rem); border-top:1px solid var(--hangar)}
.callband .wrap{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:1.5rem 3rem}
.callband h2{font-size:clamp(2rem,4vw,3.4rem); max-width:18ch}
.callband p{color:var(--mist); margin:.75rem 0 0; max-width:44ch}
.callband .big-tel{font:900 clamp(2rem,4.6vw,3.8rem)/1 var(--display); text-decoration:none; border-bottom:2px solid var(--alu); padding-bottom:.2rem}
.callband .big-tel:hover{border-bottom-color:var(--white)}

/* photo wipe: a photo opens like a hangar door as it scrolls in (decorative, CSS only where supported) */
@supports ((animation-timeline: view()) and (animation-range: 0% 100%)){
  @media (prefers-reduced-motion:no-preference){
    .wipe{animation:wipe linear both; animation-timeline:view(); animation-range:entry 0% cover 35%}
  }
}
@keyframes wipe{from{clip-path:inset(0 0 100% 0)} to{clip-path:inset(0 0 0 0)}}

/* gallery + lightbox (any [data-lightbox] container of <a href="large"><img></a>) */
.lb{border:0; padding:0; background:transparent; max-width:none; max-height:none; width:100vw; height:100dvh; margin:0}
.lb::backdrop{background:rgba(3,5,56,.94)}
.lb[open]{display:grid; grid-template-rows:1fr auto; animation:fade .25s}
.lb figure{margin:0; display:grid; place-items:center; padding:4.5rem 1rem 0; min-height:0}
.lb img{max-width:min(1400px,100%); max-height:100%; object-fit:contain}
.lb figcaption{color:var(--mist); text-align:center; padding:1rem; min-height:3.2rem}
.lb .lb-btn{position:fixed; width:52px; height:52px; background:var(--night); border:1.5px solid var(--alu); color:var(--white); font-size:1.4rem; cursor:pointer}
.lb .lb-btn:hover{background:var(--white); color:var(--night)}
.lb .lb-x{top:1rem; right:1rem} .lb .lb-prev{left:1rem; top:50%} .lb .lb-next{right:1rem; top:50%}

/* KSUS field data, above every footer: the altitude tape lands here */
.ksus-band{background:var(--night); padding-block:clamp(2rem,4vw,3rem) clamp(1rem,2vw,1.5rem)}
.ksus-band .wrap{display:grid; grid-template-columns:1fr; gap:clamp(1.75rem,3vw,2.5rem); padding-right:max(var(--gut),110px)}
.field-id{margin:0; display:flex; align-items:flex-end; gap:1.25rem}
.field-id b{font:900 clamp(2.8rem,7vw,6rem)/.8 var(--display); letter-spacing:-.01em}
.field-id span{color:var(--alu); font-size:1.05rem; line-height:1.35; padding-bottom:.3rem}
.field-data{display:grid; grid-template-columns:repeat(5,auto); justify-content:start; gap:1rem 2.25rem; margin:0}
.field-data div{border-top:1px solid var(--slate); padding-top:.7rem}
.field-data dt{color:var(--alu); font-size:.95rem}
.field-data dd{margin:.2rem 0 0; font:700 1.15rem/1.35 var(--font); font-variant-numeric:lining-nums}
@media (max-width:1060px){.ksus-band .wrap{padding-right:var(--gut)} .field-data{grid-template-columns:repeat(3,auto)}}
@media (max-width:560px){.field-data{grid-template-columns:1fr 1fr} .field-id{flex-direction:column; align-items:flex-start}}
.ftab{display:inline-block; background:var(--white); padding:14px 18px 12px; margin-bottom:1.25rem}
.ftab img{height:48px !important; width:auto; margin:0 !important}
.hero .cap b{display:block; font:700 1.4rem var(--display); color:var(--white); margin-bottom:.2rem}

/* outside organisations: their own logo on a plate, linked to their site */
.org{display:flex; align-items:center; justify-content:center; flex:none; width:var(--ow,176px); height:var(--oh,72px); padding:.7rem 1.1rem; background:#fff; border:1px solid var(--rule); color:var(--night); text-decoration:none; transition:border-color .2s}
.org img{display:block; max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain}
.org .nm{display:none; font:700 1.15rem/1.1 var(--display); text-align:center}
.org.noimg img{display:none}
.org.noimg .nm{display:block}
.org.ink{background:var(--night); border-color:var(--night); color:#fff}
a.org:hover, a:hover > .org{border-color:var(--night)}
a.org.ink:hover, a:hover > .org.ink{border-color:var(--alu)}
.socs{display:flex; gap:.6rem; margin:0}
.socs .soc{display:grid; place-items:center; width:44px; height:44px; border:1px solid rgba(233,234,239,.25); transition:border-color .2s, background .2s}
.socs .soc img{filter:invert(1); opacity:.85}
.socs .soc:hover{border-color:var(--mist); background:rgba(233,234,239,.08)}
.socs .soc:hover img{opacity:1}
.socs-m{display:none}   /* phones: the same two icons sit last in the footer (see the phone block) */

/* review and photo marquees, shared by all three options (moved from Option 1 home) */
/* marquee rows: photo slider and review cards drift slowly, rest on hover, focus or pause */
.a-marq{position:relative; overflow-x:auto; scrollbar-width:none}
.a-marq::-webkit-scrollbar{display:none}
.a-marq.run{overflow:hidden}
.a-track{display:flex; align-items:flex-start; gap:clamp(8px,1vw,16px); width:max-content; padding-inline:var(--gut)}
.a-marq.run .a-track{padding-inline:0; animation:a-marq var(--dur,80s) linear infinite; will-change:transform}
.a-marq.run:is(:hover,:focus-within) .a-track,.a-marq:is(.paused,.off) .a-track{animation-play-state:paused}
@keyframes a-marq{to{transform:translate3d(var(--shift,-50%),0,0)}}
.a-pause{display:none; margin:.6rem var(--gut) 0 auto; width:44px; height:44px; align-items:center; justify-content:center; background:none; border:0; color:inherit; cursor:pointer}
.a-marq.run .a-pause{display:flex}
.a-pause svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.6}
.a-pause .pl{display:none; fill:currentColor; stroke:none}
.a-marq.paused .pl{display:block} .a-marq.paused .pa{display:none}
.a-rv{margin-top:clamp(2.4rem,5vw,4rem)}
.a-g{flex:none; display:grid; gap:.7rem; align-content:start; width:clamp(280px,27vw,380px); margin:0; padding:1.35rem 1.4rem 1.5rem; border-radius:2px; background:#fff; color:#3c4043; font-size:1.06rem; line-height:1.5}
.a-g figcaption{display:flex; align-items:center; gap:.8rem}
.a-g figcaption span{display:grid; margin-right:auto; line-height:1.25}
.a-g figcaption b{color:#202124}
.a-g figcaption small{font-size:.92rem; color:#5f6368}
.a-g figcaption img{width:22px; height:22px}
.a-g .stars{font-size:1.1rem; color:#e8a500}
.a-g blockquote{margin:0}
.rev .a-rv{margin-inline:calc(var(--gut) * -1)}
.gplate .el{height:34px}
.a-rev-head h2{display:flex; flex-wrap:wrap; align-items:center; gap:.6rem 1.6rem}
.a-rev-head h2 .el{height:clamp(3.4rem,6.4vw,5.6rem); width:auto}

/* heading weight + tracking travel with the face (Inter Tight 600 default);  */
html:root :is(h1,h2,h3){font-weight:var(--hfw,600); letter-spacing:var(--hls,-.02em)}


/* header weather: hairline clouds drift left to right (parallax speeds) past a slow-turning sun; a small plane crosses every 40 s. Desktop only */
.wx{display:none; position:relative; flex:1 1 0; min-width:0; align-self:center; height:46px; margin-left:-1rem; container-type:inline-size; pointer-events:none; color:var(--white)}
.wx-sky{position:absolute; inset:0; mask-image:linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent)}
@media (min-width:1240px){.wx{display:block}}
.wx svg{position:absolute; overflow:visible; fill:none; stroke:currentColor; stroke-width:1.1; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke}
.wx-sun{width:24px; height:24px; left:80%; top:-9px; color:#d8b46a; opacity:.75}
.wx-sun circle{fill:rgba(216,180,106,.12)}
.wx-rays{animation:wx-spin 48s linear infinite; transform-origin:0 0}
.wx-sun{animation:wx-glow 9s ease-in-out infinite alternate}
.wx-cloud{left:0; width:52px; height:21px; opacity:.4; translate:var(--rest) 0; animation:wx-drift var(--t) linear infinite; animation-delay:var(--d)}
.wx-cloud.c1{top:19px; --t:78s; --d:-30s; --rest:18cqw}
.wx-cloud.c2{top:30px; width:38px; height:15px; opacity:.28; --t:120s; --d:-90s; --rest:44cqw}
.wx-cloud.c3{top:22px; width:64px; height:26px; opacity:.5; --t:58s; --d:-8s; --rest:72cqw}
.wx-plane{width:16px; height:16px; left:0; top:26px; fill:currentColor; stroke:none; opacity:0; animation:wx-plane 40s cubic-bezier(.4,0,.6,1) infinite 6s}
@keyframes wx-drift{from{translate:-70px 0} to{translate:calc(100cqw + 10px) 0}}
@keyframes wx-spin{to{rotate:360deg}}
@keyframes wx-glow{from{opacity:.55; scale:.94} to{opacity:.85; scale:1.04}}
@keyframes wx-plane{0%{translate:-30px 8px; opacity:0} 2%{opacity:.7} 16%{translate:calc(100cqw + 10px) -6px; opacity:.7} 16.1%,100%{translate:calc(100cqw + 10px) -6px; opacity:0}}
@media (prefers-reduced-motion:reduce){.wx-plane{display:none}}
/* night (site.js wxSky, local sunrise/sunset at KSUS): moon instead of sun, clouds a touch lighter on the navy */
.wx.night .wx-sun{color:#a7a7a7}
.wx.night .wx-sun .dark{stroke-opacity:.35}
.wx.night .wx-sun path{fill:#a7a7a7;stroke:none}
.wx.night .wx-cloud{color:#dfe5f7; fill:rgba(223,229,247,.07); filter:brightness(1.15)}
.wx.night .wx-cloud.c1{opacity:.52} .wx.night .wx-cloud.c2{opacity:.38} .wx.night .wx-cloud.c3{opacity:.62}

/* holding pattern: [data-hold] on a tel: link (or a wrapper round the number); see site.js */
.hold-svg{position:absolute; overflow:visible; pointer-events:none; fill:none; stroke:currentColor; color:var(--hold, currentColor); z-index:2}
.hold-svg .track{stroke-width:1; stroke-dasharray:3 6; opacity:0; transition:opacity 1.2s ease}
.hold-svg.lapped .track,.hold-svg.still .track{opacity:.45}
.hold-svg .trail{stroke-width:2; stroke-linecap:round}
.hold-svg .plane{fill:currentColor; stroke:none}

/* KSUS weather report (round 8): filled by site.js from api/metar, hidden until data arrives; ?wxmock previews sample data.
   [data-wx="header"] = compact in the header band, opens to the full report on hover/click.
   [data-wx] anywhere else = the full report as a card (on a dark surface). */
.wxr[hidden]{display:none}
.wxr{--wx-ink:var(--white); --wx-dim:#b9bccb; font-family:var(--font); color:var(--wx-ink); font-variant-numeric:tabular-nums lining-nums}
.wxr svg{fill:none; stroke:currentColor; stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round}
.wxr .ic-sun{color:#d8b46a}
.wxr .ic-moon{color:#a7a7a7}
.wxr .ic-moon .dark{stroke-opacity:.35}
.wxr .ic-moon path{fill:#a7a7a7;stroke:none}
.ic-moon .cr{display:none}.ic-moon .cr circle{fill:none;stroke:#0b1633;stroke-opacity:.25;stroke-width:.5}
/* compact state (round 11, final design 1): bare type over a thin gold rule, at the top of the band; the clouds drift below it */
.wxr-sum{position:relative; display:block; padding:0 4px; border:0; background:none; color:inherit; font:inherit; cursor:pointer}
.wxr-sum:focus-visible{outline:1px solid #d8b46a; outline-offset:4px}
.cv1{display:flex; align-items:center; gap:.85em; white-space:nowrap; font:500 .7rem/1 "Inter Tight", "Helvetica Neue", Arial, sans-serif; letter-spacing:.07em; color:rgba(167,167,167,.92); padding-bottom:5px; background:linear-gradient(90deg, transparent, rgba(216,180,106,.75) 18%, rgba(216,180,106,.75) 82%, transparent) 0 100%/100% 1px no-repeat; transition:color .2s}
.cv1 b{font-weight:600; color:var(--c)}
.wxr[data-cat=LIFR] :is(.cv1 b,.wxr-cat){-webkit-text-stroke:.5px #a7a7a7; paint-order:stroke fill}
.cv1 i{font-style:normal; color:rgba(216,180,106,.8)}
.wxr-sum:hover .cv1,.wxr.open .cv1{background-image:linear-gradient(90deg, transparent, #e3c27d 10%, #e3c27d 90%, transparent)}
/* full report */
.wxr-full{width:min(330px, 92vw); padding:1.1rem 1.2rem 1rem; background:var(--night-surface); border:1px solid rgba(167,167,167,.28); border-top-color:rgba(216,180,106,.45); box-shadow:0 24px 48px rgba(0,0,10,.45)}
.wxr-top{display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.75rem}
.wxr-top .wxr-ic{width:46px; height:46px; stroke-width:1.1}
.wxr-big{margin:0; font:600 3rem/.9 var(--font-display); letter-spacing:-.03em}
.wxr-big small{font-size:.42em; font-weight:500; color:var(--wx-dim); margin-left:.1em; vertical-align:.95em}
.wxr-cat{margin:0; text-align:right; font:600 .95rem/1.1 var(--font-display); color:var(--c)}
.wxr-cat small{display:block; font:italic 400 .8rem/1.2 var(--font); color:var(--wx-dim)}
.wxr-feel{margin:.5rem 0 .8rem; font-size:1rem; color:var(--wx-dim)}
.wxr-feel b{font-weight:600; color:var(--wx-ink)}
.wxr dl{margin:0; padding:.7rem 0; border-block:1px solid rgba(167,167,167,.2); display:grid; gap:.4rem}
.wxr dl div{display:grid; grid-template-columns:5.6rem 1fr; gap:.5rem; align-items:baseline}
.wxr dt{font:600 .78rem/1.3 var(--font-display); letter-spacing:.02em; color:var(--wx-dim)}
.wxr dd{margin:0; font-size:1.02rem; line-height:1.3}
.wxr-arrow{display:inline-block; width:14px; height:14px; vertical-align:-1px; margin-right:.3em; color:#d8b46a; rotate:var(--dir)}
.wxr-foot{margin:.65rem 0 0; font-size:.85rem; line-height:1.35; color:var(--wx-dim)}
.wxr-time{margin:.3rem 0 0; font-size:.74rem; line-height:1.35; color:var(--wx-dim)}
.cv1 .cv-obs{font-weight:400; font-size:.86em; letter-spacing:.04em; color:rgba(167,167,167,.7)}
@container (max-width:169px){.cv1 .cv-obs{display:none}}   /* narrow header (under ~1440px): the strip keeps its old length */
.wxr-raw{margin:.35rem 0 0; font:500 .7rem/1.35 var(--font-display); letter-spacing:.02em; color:rgba(185,188,203,.7); overflow-wrap:anywhere}
/* header placement: compact chip on the right of the cloud band; the report drops below the header */
.wx .wxr svg{position:static; overflow:visible}
.wx .wxr{position:absolute; left:50%; top:0; translate:-50% 0; z-index:1; pointer-events:auto}
.wx .wxr-full{position:absolute; left:50%; top:calc(100% + 18px); opacity:0; visibility:hidden; translate:-50% -6px; transition:opacity .22s, translate .22s, visibility 0s .22s}
.wx .wxr-full::before{content:""; position:absolute; inset:-20px 0 100%}   /* hover bridge across the gap */
.wx .wxr:hover .wxr-full,.wx .wxr.open .wxr-full{opacity:1; visibility:visible; translate:-50% 0; transition:opacity .22s, translate .22s}

/* night surfaces: the wallpaper's depth, barely */
.on-night,.callband,#menu,.subnav{background:var(--night-surface)}
/* CTA band -> KSUS band -> footer read as one wallpaper surface (round 11): the light sits at the top of the CTA band and the navy
   deepens downward through the KSUS band into the footer; each band starts on the exact colour the one above ends on, no edges */
.ksus-band{background:linear-gradient(180deg, #060a3a, #050835)}
footer.on-night{background:linear-gradient(180deg, #050835, var(--night-deep))}

/* .steel: bluish brushed steel from the wallpaper, for behind grids and galleries (white text on it) */
.steel{position:relative; isolation:isolate; color:var(--white);
  background:linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,0)) top/100% 1px no-repeat,
    radial-gradient(75% 110% at 12% 0%, rgba(150,172,212,.22), transparent 62%),
    linear-gradient(162deg, #2e3a52 0%, #232d42 48%, #171e2e 100%)}
.steel::before{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.4; mix-blend-mode:soft-light;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.002 .85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .9 0 0 0 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}

/* shared bottom call-to-action band (every page, above the footer): navy gradient, slow gold light sweep, hairline gold rule on top.
   Phone links inside get the holding pattern in gold (data-hold, site.js) */
.cta-band{position:relative; isolation:isolate; color:var(--white); --hold:#e3c27d;
  background:radial-gradient(55% 120% at 12% 0%, rgba(110,136,190,.30), rgba(52,74,124,.12) 42%, transparent 72%),
    radial-gradient(60% 90% at 92% 0%, rgba(216,180,106,.08), transparent 60%),
    linear-gradient(180deg, #0f1a48 0%, #0a1140 40%, #060a3a 100%);
  border-top:1px solid rgba(216,180,106,.38);
  padding-block:clamp(2.25rem,4.5vw,3.75rem)}
.cta-band::before{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(105deg, transparent 38%, rgba(227,194,125,.09) 48%, rgba(255,255,255,.05) 50%, transparent 60%) 0 0/250% 100% no-repeat;
  -webkit-mask:linear-gradient(#000 20%, transparent 70%); mask:linear-gradient(#000 20%, transparent 70%);   /* the sweep fades out before the band's bottom: no edge into .ksus-band */
  animation:cta-sweep 14s ease-in-out infinite}
@keyframes cta-sweep{from{background-position:120% 0} to{background-position:-20% 0}}
.cta-band p{color:var(--mist)}

/* ===== Round 13 wave 2: iOS / phone / tablet pass. Everything below is gated to <=1099px or to touch pointers,
   so the desktop (>=1100px, mouse) look is untouched. viewport-fit=cover is set in each page's meta. ===== */
@media (max-width:1099px){
  :root{--font-display:"Inter Tight", "Inter Tight Fallback", "Helvetica Neue", Arial, sans-serif; --font:"Crimson Text", "Crimson Fallback", Georgia, serif}
  /* notch + home-indicator: the fixed header, every gutter and the bottom bar clear the safe areas (0 on devices without them) */
  .hdr{padding-top:env(safe-area-inset-top)}
  /* opaque on phones and tablets: page content never shows through behind Menu (logo keeps its white cut panel) */
  .hdr,.hdr.solid{background:var(--night-surface)}
  .wrap{padding-left:max(var(--gut), env(safe-area-inset-left)); padding-right:max(var(--gut), env(safe-area-inset-right))}
  .subnav{top:calc(76px + env(safe-area-inset-top))}
  html{scroll-padding-top:calc(76px + env(safe-area-inset-top))}
  /* a menu or dialog open: the page under it stays put (no scroll bleed) */
  html:has(#menu:popover-open), html:has(dialog[open]){overflow:hidden}
  /* nothing may push the page sideways (the Red Tail fin and the holding-pattern racetrack round a phone number ran 25-50px past
     the screen edge on Community). clip, not hidden: no scroll container, so sticky parts and vertical overflow are unaffected */
  section{overflow-x:clip}

  /* menu: a full-screen sheet. Close top-right where the Menu button was; links sit in the lower, thumb half; call + book at the bottom */
  #menu{flex-direction:column; padding:calc(5.25rem + env(safe-area-inset-top)) max(var(--gut), env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) max(var(--gut), env(safe-area-inset-left)); overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch}
  #menu:popover-open{display:flex}
  #menu .close{top:calc(16px + env(safe-area-inset-top)); right:max(var(--gut), env(safe-area-inset-right)); min-height:44px; padding:0 1rem; font-size:.9rem}
  #menu nav{margin-top:auto}
  #menu a,#menu .msub summary{display:flex; align-items:center; min-height:60px; font-size:clamp(1.45rem, 5.6vw, 2.1rem); line-height:1.1; padding:.35rem 0}
  #menu a[aria-current]{color:var(--alu)}
  #menu a[aria-current]::after{content:""; width:7px; height:7px; margin-left:.7rem; background:var(--white)}
  /* logo top-left on the same white cut panel as the header, links home */
  #menu .menu-logo{position:absolute; top:0; left:0; height:calc(76px + env(safe-area-inset-top)); min-height:0; padding:env(safe-area-inset-top) 46px 0 max(var(--gut), env(safe-area-inset-left)); border:0; background:var(--white); clip-path:polygon(0 0, 100% 0, calc(100% - 38px) 100%, 0 100%)}
  #menu .menu-logo img{height:48px; width:auto}
  /* the logo + Close row stays put on an opaque strip while the list scrolls under it (More open pushed Flight Training up into the logo) */
  #menu::before{content:""; position:fixed; inset:0 0 auto; height:calc(76px + env(safe-area-inset-top)); background:var(--night); z-index:1; pointer-events:none}
  #menu .menu-logo,#menu .close{position:fixed; z-index:2}
  /* round 17: the KSUS map under the logo (.menu-map) is styled in fleetlive.css, next to its live planes */
  /* More: tap to expand, the five extra pages indented in a smaller size */
  #menu .msub summary{list-style:none; cursor:pointer; font:700 clamp(1.45rem, 5.6vw, 2.1rem)/1.1 var(--display); border-bottom:1px solid var(--hangar)}
  #menu .msub summary::-webkit-details-marker{display:none}
  #menu .msub summary::after{content:""; width:.36em; height:.36em; margin:0 .3rem .18em auto; border-right:2px solid; border-bottom:2px solid; rotate:45deg; transition:rotate .2s}
  #menu .msub[open] summary::after{rotate:225deg; margin-bottom:-.12em}
  #menu .msub div{padding:.25rem 0 .5rem 1rem; border-bottom:1px solid var(--hangar)}
  #menu:has(.msub[open]) nav > a,#menu:has(.msub[open]) .msub summary{min-height:52px}   /* round 19: tighter rows while More is open so all of it fits an iPhone */
  #menu .msub div a{min-height:44px; font-size:clamp(1.1rem, 4.4vw, 1.45rem); border-bottom:0; color:var(--mist)}
  @media (prefers-reduced-motion:no-preference){
    #menu{transition:opacity .26s ease, translate .32s cubic-bezier(.2,.8,.2,1), display .32s allow-discrete, overlay .32s allow-discrete}
    #menu:not(:popover-open){opacity:0; translate:0 12px}
    @starting-style{#menu:popover-open{opacity:0; translate:0 12px}}
    #menu:popover-open nav > *{animation:menu-in .36s cubic-bezier(.2,.8,.2,1) both; animation-delay:calc(var(--i,0) * 22ms + 60ms)}
    @keyframes menu-in{from{opacity:0; translate:0 10px}}
  }
  #menu nav > :nth-child(2){--i:1} #menu nav > :nth-child(3){--i:2} #menu nav > :nth-child(4){--i:3} #menu nav > :nth-child(5){--i:4} #menu nav > :nth-child(6){--i:5}

  /* CSS loops in sections that are off screen are paused (site.js sets data-off) */
  section[data-off] *,section[data-off]::before,section[data-off]::after{animation-play-state:paused !important}
  /* section strips: momentum swipe, tidy edges */
  .subnav .wrap{scroll-padding-inline:var(--gut); overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch}
  .subnav a{display:inline-flex; align-items:center; min-height:44px; padding-block:0}

  /* drift strips (home fleet + reviews, Community reel): on touch they are native snap strips that step a card at a time (index/community JS adds .snap) */
  .snap.snap.snap{scroll-snap-type:x mandatory; scroll-padding-inline:max(var(--gut), env(safe-area-inset-left)); -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain}
  .snap.snap.snap > *{scroll-snap-align:start; scroll-snap-stop:always}

  /* lightbox: close and arrows clear the notch */
  .lb .lb-x{top:calc(1rem + env(safe-area-inset-top)); right:calc(1rem + env(safe-area-inset-right))}
  .lb figure{padding-top:calc(4.5rem + env(safe-area-inset-top))}
  .lb figcaption{padding-bottom:calc(1rem + env(safe-area-inset-bottom))}
  .lb{overscroll-behavior:contain}
}

/* no sticky bar any more: the footer just clears the home indicator */
@media (max-width:1060px){
  .hero .wrap{padding-bottom:calc(clamp(2rem, 6vh, 4.5rem) + env(safe-area-inset-bottom))}
  footer{padding-bottom:calc(1.25rem + env(safe-area-inset-bottom))}
}

/* phones */
@media (max-width:768px){
  /* motion: the same signature moments, quicker and with less overlap */
  .hero h1 .ln span,.page-hero h1{animation-duration:.7s}
  .page-hero .lede,.page-hero .ctas{animation-duration:.55s; animation-delay:.2s}
  .hero .sub,.hero .where{animation:none}   /* readable at first paint (it is the phone LCP); the headline keeps its rise */
  #book .bk-top .ph,#book .bk-top .map{animation-duration:1s}
  #book .bk-top .mark .wm{animation-delay:.5s}
  #book .bk-kind{animation-delay:.7s}
  
  /* pickers, slash-tint slider and pin tool stay off phones: they covered the page corner above the dock */
  .fp-btn,.fp-panel,.slpick,.k-pin{display:none !important}

  /* book dialog: a bottom sheet the full width of the phone, scrolls inside itself, slides up */
  #book{width:100%; max-width:none; margin:auto 0 0; max-height:calc(100dvh - env(safe-area-inset-top) - .75rem); overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; box-shadow:0 -20px 60px rgba(0,0,0,.5)}
  #book[open]{animation:sheet-up .38s cubic-bezier(.2,.8,.2,1)}
  @keyframes sheet-up{from{translate:0 100%}}
  #book .bk-top{height:168px; padding-top:2.3rem}
  #book .bk-body{padding-bottom:calc(1.15rem + env(safe-area-inset-bottom))}
  #book .bk-tel{min-height:52px; align-items:center}
  #book .bk-form .btn{min-height:52px; justify-content:center; width:100%}
  #book .bk-form input{min-height:46px}
}
@media (max-width:480px){
  #book .bk-form{grid-template-columns:minmax(0,1fr)}
  #book .bk-form label:nth-of-type(2),#book .bk-form label:nth-of-type(3){grid-column:1/-1}
}

/* touch screens (any width): no grey tap flash, real pressed states, hit areas of at least 44px, nothing that only reveals on hover */
@media (hover:none) and (pointer:coarse){
  html{-webkit-tap-highlight-color:transparent}
  .btn,.menu-btn,.bk-close,.lb-btn,.a-pause,.soc{transition:background .2s, color .2s, scale .14s cubic-bezier(.2,.8,.2,1)}
  .btn:active,.menu-btn:active,.bk-close:active,.lb-btn:active,.a-pause:active,.soc:active{scale:.96}
  .btn-solid:active{background:var(--mist)}
  .btn-line:active,.menu-btn:active{background:rgba(255,255,255,.14)}
  a:not(.btn):active{opacity:.62}
  /* hit slop: a centred invisible box at least 44x44 behind small text links and plates (layout unchanged) */
  :is(.textlink:not(button),.crumb a,.big-tel,.park-tel,.roll .reg,.lc .ms,a.go,.foot p a,.venue-body a,.tc-open,#tRadar,p.mail a){position:relative}
  :is(.textlink:not(button),.crumb a,.big-tel,.park-tel,.roll .reg,.lc .ms,a.go,.foot p a,.venue-body a,.tc-open,#tRadar,p.mail a)::after{content:""; position:absolute; left:50%; top:50%; width:max(100%,44px); height:max(100%,44px); translate:-50% -50%}
  .a-rev .rv-scroll + .a-pause.a-pause{width:44px; height:44px}
  /* footer link lists become 44px rows */
  .foot ul{gap:0}
  .foot li a{display:inline-flex; align-items:center; min-height:44px}
  /* hover-only reveals get a visible / tap equivalent */
  .g1 a::after,.g3 a::after{opacity:1; transform:none}
  .certs abbr:focus::after{opacity:1; translate:0 0}
}

/* ===== Round 13 wave 3: phone + iPad polish. Gated to <=1099px or touch, like wave 2: desktop (>=1100px, mouse) untouched. ===== */
/* home "Where do you want to start" panels: 2-up on a tablet held upright (the third runs full width), 3 across in landscape */
@media (min-width:640px) and (max-width:1060px){
  .panels{display:grid; grid-template-columns:repeat(2,minmax(0,1fr))}
  .panel{min-height:min(56vh,540px); border-bottom:1px solid var(--night)}
  .panel:nth-child(odd){border-right:1px solid var(--night)}
  .panel:last-child:nth-child(odd){grid-column:1/-1; border-right:0; min-height:min(42vh,420px)}
}
@media (min-width:900px) and (max-width:1060px){
  .panels{grid-template-columns:repeat(3,minmax(0,1fr)); height:min(74vh,600px)}
  .panel,.panel:last-child:nth-child(odd){grid-column:auto; min-height:0; border-bottom:0}
  .panel:not(:last-child){border-right:1px solid var(--night)}
}
@media (max-width:1099px){
  .foot li a{min-width:44px}
}
/* touch: the last few hit areas under 44px (live tracker tab, Fleet tail plates, filter tabs, address links, photo credit) */
@media (hover:none) and (pointer:coarse){
  .flv .flv-tab{min-height:44px}
  .roll button.reg{display:inline-flex; align-items:center; min-height:44px}
  .filters button{min-width:44px}
  .lc .bk,.side .tel{min-height:44px}
  :is(.cc2 a,.photo-credit a){position:relative}
  :is(.cc2 a,.photo-credit a)::after{content:""; position:absolute; left:50%; top:50%; width:max(100%,44px); height:max(100%,44px); translate:-50% -50%}
}

.skip{position:fixed; left:.75rem; top:.75rem; z-index:200; padding:.7rem 1.1rem; background:#030538; color:#fff; font:700 1rem/1 var(--font); border-radius:6px; text-decoration:none; transform:translateY(-200%)}
.skip:focus{transform:none; outline:2px solid #fff; outline-offset:2px}

/* round 15 phones: KSUS field data + footer, compact (every datum and link kept) */
@media (max-width:768px){
  .ksus-band{padding-block:1.1rem .6rem}
  .ksus-band .wrap{gap:.7rem}
  .field-id,.field-id.field-id{flex-direction:row; align-items:center; gap:.7rem}
  .field-id b{font-size:2rem; line-height:1}
  .field-id span{font-size:.8rem; line-height:1.25; padding-bottom:0}
  .field-data{grid-template-columns:repeat(3,minmax(0,1fr)); gap:.55rem .9rem}
  .field-data div{padding-top:.3rem}
  .field-data dt{font-size:.68rem; line-height:1.2}
  .field-data dd{margin:.05rem 0 0; font-size:.82rem; line-height:1.25}
  footer.on-night{font-size:.82rem; line-height:1.4}
  footer .foot{grid-template-columns:1fr 1fr; gap:1.1rem 1rem}
  footer .foot > div:first-child,footer .foot > div:last-child{grid-column:1/-1}
  footer .foot > div:first-child > p{margin:0 !important; max-width:none !important}
  footer .foot > div:last-child ul{grid-template-columns:1fr 1fr; column-gap:1rem}
  footer .foot h2.fh{margin:0 0 .3rem; font-size:.8rem}
  footer .foot h2.fh[style]{margin-top:.7rem !important}
  footer .foot ul{gap:0}
  footer .foot li a{min-height:28px; font-size:.82rem}
  footer .foot .socs{margin:.3rem 0 0}
  .legal{margin-top:1rem; padding-top:.8rem; gap:.3rem; font-size:.72rem}
}

/* ===== round 16 phones (<=768px): KSUS one-strip, footer ~20% shorter with 3 densities, phone review clickers. Desktop untouched. ===== */
@media (max-width:768px){
  /* KSUS field data: one tight strip. Id on one line, then a ruled 3x2 micro-grid (runways on one line across two cells) */
  .ksus-band{padding-block:.55rem .35rem}
  .ksus-band .wrap{gap:.3rem}
  .field-id,.field-id.field-id{flex-direction:row; align-items:baseline; gap:.55rem; min-width:0}
  .field-id b{font-size:1.3rem; line-height:1}
  .field-id > span{font-size:.72rem; line-height:1.2; padding:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
  .field-id br,.field-data dd br{display:none}
  .field-id br + span::before,.field-data dd br + span::before{content:"\00b7"; margin:0 .4em; color:var(--alu)}
  .field-data{grid-template-columns:repeat(3,auto); justify-content:space-between; grid-auto-flow:row dense; gap:.2rem .8rem; border-top:1px solid var(--slate); padding-top:.3rem}
  .field-data div{border-top:0; padding-top:0; min-width:0}
  .field-data div:nth-child(2){grid-row:2; grid-column:1/3}
  .field-data dt{font-size:.65rem; line-height:1.1}
  .field-data dd{margin:0; font-size:.78rem; line-height:1.2; white-space:nowrap}

  /* footer (round 17 final = round 16 density 3): compact; copyright pulled up, only the safe area below it */
  footer.on-night{padding-top:.9rem; padding-bottom:max(.5rem, env(safe-area-inset-bottom)); font-size:.8rem; line-height:1.35}
  footer .foot{gap:.75rem 1rem}
  footer .foot > div:first-child > .flogo{height:36px !important; margin:0 !important}
  footer .fad,footer .fhr{overflow-wrap:anywhere}

  /* footer contact (round 18 final): logo left, then address | hours in two ruled columns */
  footer .foot > div:first-child{display:grid; grid-template-columns:1fr 1fr; gap:.5rem 0; align-items:start}
  footer .foot > div:first-child > .flogo{grid-column:1/-1; justify-self:start}
  footer .fad,footer .fhr{padding-top:.5rem; border-top:1px solid rgba(233,234,239,.18)}
  footer .fhr{padding-left:.8rem; border-left:1px solid rgba(233,234,239,.18)}
  footer .fad{padding-right:.8rem}
  footer .fhr .k{display:block; color:var(--alu); font-size:.7rem; letter-spacing:.04em}
  footer .fhr > br{display:none}
  footer .fhr > span{display:block}
  footer .fhr > span + span{margin-top:.35rem}

  footer .foot h2.fh{margin:0 0 .1rem; font-size:.74rem}
  footer .foot h2.fh[style]{margin-top:.45rem !important}
  footer .foot li a{display:inline-flex; align-items:center; min-height:24px; font-size:.8rem}
  footer .socs-d{display:none}
  footer .socs-m{display:flex; justify-content:center; gap:.5rem; margin:.5rem 0 0}
  footer .socs-m .soc{width:34px; height:34px}
  footer .legal{margin-top:.6rem; padding-top:.45rem; gap:0 .6rem; font-size:.68rem; line-height:1.35; justify-content:flex-start}

  /* footer accordion (final): Services / Pilot Resources / Beyond Flight collapse to one ruled row each; address and hours stay open */
  footer .foot{grid-template-columns:1fr; gap:0}
  footer .foot > div:first-child{margin-bottom:.55rem}
  footer .foot > div:not(:first-child){border-top:1px solid rgba(233,234,239,.18)}
  footer .foot > div:not(:first-child) > .fh:first-child{display:flex; justify-content:space-between; align-items:center; min-height:40px; margin:0; font-size:.82rem; cursor:pointer}
  footer .foot > div:not(:first-child) > .fh:first-child::after{content:"+"; font:400 1.2rem/1 var(--font); color:#d4b45a}
  footer .foot > div.open > .fh:first-child::after{content:"\2013"}
  footer .foot > div:not(:first-child):not(.open) > :not(.fh:first-child){display:none}
  footer .foot > div.open{padding-bottom:.45rem}
  footer .foot > div:not(:first-child) ul{grid-template-columns:1fr 1fr; column-gap:1rem}
}

/* round 15 phones + tablets, round 30 every width: each auto-rolling photo strip is a real scrolling strip (site.js rolls it by scrollLeft and waits while touched, hovered or dragged) */
.a-marq.run{overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch}
.a-marq.run .a-track{animation:none; will-change:auto}
.a-marq.run .a-pause{position:sticky; left:calc(100vw - 44px - var(--gut)); margin-left:0}
@media (hover:hover) and (pointer:fine){.a-marq.run{cursor:grab} .a-marq.run.drag{cursor:grabbing; user-select:none}}

/* round 24: header clouds match the METAR (site.js sets .wx[data-clouds]); before the report loads they show as before */
.wx[data-clouds="0"] .wx-cloud,.wx[data-clouds="1"] .wx-cloud:not(.c1),.wx[data-clouds="2"] .wx-cloud:not(.c1,.c2){display:none}

/* round 26 phones: Our Team and CFI Graduates move from under Pilot Resources into Beyond Flight (desktop footer unchanged) */
footer .ot-m{display:none}
@media (max-width:768px){footer .ot-d{display:none !important} footer .ot-m{display:revert}}
