/* Shared foundation for all three preview directions.
   Brand tokens live here in one place; each direction file only overrides what differs. */
:root{
  --navy:#00273d; --cream:#f0eae6; --sand:#ddd3c8; --red:#cb102c; --paper:#faf7f4;
  --bg:var(--cream); --ink:var(--navy); --accent:var(--red);
  --wrap:1180px; --gutter:clamp(20px,5vw,56px); --sec-pad:clamp(64px,9vw,128px);
  --fs-body:17px;
  --route:var(--navy); --route-dark:var(--cream); --plane:var(--navy); --plane-dark:var(--cream);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-body);font-size:var(--fs-body);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,p,ul,ol,figure,blockquote{margin:0;padding:0}
h1,h2,h3{font-family:var(--font-display);font-weight:400;text-wrap:balance}
p{text-wrap:pretty}
ul,ol{list-style:none}
img,svg{display:block;max-width:100%}
a{color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}

main{position:relative;overflow:clip}
.wrap{position:relative;z-index:1;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.sec{padding-block:var(--sec-pad)}
.center{display:flex;justify-content:center}
.cta-row{display:flex;flex-wrap:wrap;gap:14px}
.stop{display:none}

/* Buttons: rectangular, never pill-shaped */
.btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}

/* Header */
.hd{position:sticky;top:0;z-index:20;background:var(--hd-bg,var(--bg))}
.hd__in{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:var(--wrap);margin-inline:auto;padding:8px var(--gutter)}
.hd__logo img{height:68px;width:auto}
.hd__nav{display:flex;gap:clamp(16px,2.4vw,34px)}
.hd__nav a{text-decoration:none;white-space:nowrap}
.hd__nav a:hover{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:6px}
.hd .btn{padding:12px 18px}
@media (max-width:900px){.hd__nav{display:none}.hd__logo img{height:54px}}

/* Photo placeholder boxes */
.ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:16px;width:100%;aspect-ratio:var(--ratio,3/2);background:var(--sand);color:var(--navy);border:1.5px dashed rgb(0 39 61/.5);font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:13px;line-height:1.35;overflow:hidden}
.ph__tag{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;opacity:.7}
.ph__label{font-weight:600;max-width:28ch}
.ph__note{font-size:12px;opacity:.7}

/* Sketch illustrations: one line style for every drawing */
.sk{width:var(--sk,64px);height:var(--sk,64px);flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;color:var(--sk-color,var(--navy));filter:url(#tv-wobble);overflow:visible}
.is-dark .sk{color:var(--cream)}

/* Flight route */
.tv-route{position:absolute;top:0;left:0;z-index:0;pointer-events:none;max-width:none;overflow:visible}
.tv-route .d{fill:none;stroke:var(--route);stroke-width:1.7;stroke-linecap:round;opacity:.22;transition:opacity .35s}
.tv-route .d.on-dark{stroke:var(--route-dark)}
.tv-route .d.done{opacity:.8}
.tv-route .d.under{opacity:0!important;transition:none}
.tv-route.is-static .d{opacity:.5}
.tv-route .rw{fill:none;stroke:var(--route);stroke-width:1.6;stroke-linecap:round;opacity:.3}
.tv-route .rw.on-dark{stroke:var(--route-dark)}
.tv-plane{position:absolute;top:0;left:0;z-index:0;pointer-events:none;max-width:none;overflow:visible;will-change:transform}
.tv-plane path{fill:var(--plane)}
.tv-plane.on-dark path{fill:var(--plane-dark)}

/* Social icons */
.social{display:flex;gap:12px}
.social a{display:grid;place-items:center;width:40px;height:40px;border:1px solid currentColor;border-radius:50%}
.social svg{width:18px;height:18px;fill:currentColor}

/* Footer */
.ft{background:var(--navy);color:var(--cream)}
.ft__in{max-width:var(--wrap);margin-inline:auto;padding:36px var(--gutter) 96px;text-align:center;font-size:.9rem;display:grid;gap:12px;border-top:1px solid rgb(240 234 230/.18)}
.ft__small{font-size:.78rem;opacity:.75;max-width:90ch;margin-inline:auto}

/* Preview switcher (preview-only, not part of the design) */
.pbar{position:fixed;left:50%;bottom:12px;transform:translateX(-50%);z-index:50;display:flex;align-items:center;gap:4px;padding:5px;background:#fff;color:#00273d;border:1px solid rgb(0 39 61/.3);box-shadow:0 6px 24px -8px rgb(0 39 61/.5);font:600 12px/1 ui-sans-serif,system-ui,sans-serif;white-space:nowrap;max-width:calc(100vw - 16px);overflow-x:auto}
.pbar span{padding:0 8px;opacity:.6;text-transform:uppercase;letter-spacing:.1em;font-size:10px}
.pbar a{padding:9px 10px;text-decoration:none}
.pbar a[aria-current]{background:#00273d;color:#f0eae6}
@media (max-width:600px){.pbar span{display:none}.pbar a{padding:9px 8px;font-size:11px}}

/* Photos: fill their frame at the slot's shape, so a different-sized original never shifts the layout */
.photo{display:block;width:100%;height:auto;aspect-ratio:var(--ratio,3/2);object-fit:cover;background:var(--sand)}
