/* S72 Jack A. Buell Airport. Keeps the old site's slate look; single-row nav; mobile first. */
:root {
  --bg: #39414d; --bg-2: #2f3640; --panel: #444d5a; --line: #56606e;
  --text: #fafafa; --muted: #c9d0d8; --link: #8fd0ff; --link-hover: #c4e6ff;
  --accent: #76b852;               /* logo green */
  --clock-bg: #ffffff; --clock-text: #111111;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--font); }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; font-weight: 600; margin: 1.4em 0 .5em; }
h1 { font-size: 1.7rem; } h2 { font-size: 1.35rem; } h3 { font-size: 1.12rem; }
p { margin: .6em 0; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line);
  /* Joe's 80s-newsprint airshow photo (2026-10-25); slate wash keeps nav + clocks readable */
  background: linear-gradient(180deg, rgba(47,54,64,.68), rgba(47,54,64,.25) 45%, rgba(47,54,64,.10) 75%, rgba(47,54,64,.35)),
              url(/img/header-80s-bw.jpg) center 70% / cover no-repeat, var(--bg);
  min-height: min(29.6vw, 460px); }   /* photo is 3.375:1 -> header tall enough to show its full width */
.site-header .head-in { padding-bottom: 10px; }
.logo img { border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.55); }
.nav a, .sun { text-shadow: 0 1px 3px rgba(0,0,0,.85); }
.sun { color: #e6eaee; }
.clock { box-shadow: 0 1px 6px rgba(0,0,0,.45); }
/* desktop: runway (left third, original colour) fading into the 80s B&W airshow print, 5.07:1 */
@media (min-width: 761px) {
  .site-header { background-image: url(/img/header-80s-merged-colour-runway.jpg);
    background-size: cover; background-position: center 70%;
    min-height: min(19.72vw, 400px); position: relative; }
  /* readability wash only behind nav/clocks: fades out over the colour runway (logo has its own plate) */
  .site-header::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(47,54,64,.68), rgba(47,54,64,.25) 45%, rgba(47,54,64,.10) 75%, rgba(47,54,64,.35));
    -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 36%); mask-image: linear-gradient(90deg, transparent 22%, #000 36%); }
  .site-header .head-in { position: relative; }
}
.head-in { max-width: 1180px; margin: 0 auto; padding: 14px max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: center; }
.logo { grid-row: span 2; display: block; width: 280px; }
.logo img { width: 100%; }
.nav { display: flex; gap: 4px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: 1.02rem; flex: none; }
.nav a:hover { background: var(--panel); color: var(--text); }
.nav a[aria-current="page"] { background: var(--panel); box-shadow: inset 0 -2px 0 var(--accent); }
.status { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding-bottom: 12px; }
.clock { background: var(--clock-bg); color: var(--clock-text); border-radius: 4px; padding: 3px 12px; text-align: center; font-weight: 700; line-height: 1.25; min-width: 148px; font-variant-numeric: tabular-nums; }
.clock span { display: block; }
.clock .lbl { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: #555; font-weight: 600; }
.sun { font-size: .95rem; color: var(--muted); line-height: 1.4; }
.sun b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- page ---------- */
main { max-width: 900px; margin: 0 auto; padding: 8px max(16px, env(safe-area-inset-right)) 40px max(16px, env(safe-area-inset-left)); }
.lead { font-size: 1.12rem; }
.card { background: var(--panel); border-radius: 8px; padding: 14px 18px; margin: 16px 0; }
.card h2:first-child, .card h3:first-child { margin-top: .2em; }
ul.plain { list-style: none; padding: 0; margin: .4em 0; }
ul.plain li { padding: 2px 0; }
.price { font-size: 1.25rem; font-weight: 700; }
.note { color: var(--muted); font-size: .92rem; }
.embed { width: 100%; max-width: 600px; margin: 14px auto; display: block; border: 2px solid #fff; border-radius: 4px; background: #fff; }
.embed-tall { height: 800px; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; margin: 8px 0 22px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cams { display: grid; gap: 4px 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cams { grid-template-columns: 1fr 1fr; } }
.skyvector { width: min(400px, 100%); height: 400px; margin: 10px 0 18px; background: #fff; }
.btn-link { display: inline-block; background: var(--panel); border: 1px solid var(--line); padding: 10px 16px; border-radius: 8px; text-decoration: none; margin: 4px 8px 4px 0; }
.btn-link:hover { border-color: var(--link); }
.gallery { columns: 3 240px; column-gap: 12px; }
.gallery a { display: block; margin: 0 0 12px; break-inside: avoid; border-radius: 6px; overflow: hidden; }
.section-anchor { scroll-margin-top: 12px; }

/* ---------- contact form ---------- */
.s72-contact { max-width: 560px; display: grid; gap: 12px; }
.s72-contact label { display: grid; gap: 4px; }
.s72-contact input, .s72-contact textarea { padding: 10px; font: 16px var(--font); border-radius: 6px; border: 1px solid var(--line); background: #fff; color: #111; width: 100%; }
.s72-contact button { padding: 11px 20px; font: 600 16px var(--font); justify-self: start; cursor: pointer; border-radius: 6px; border: 0; background: var(--accent); color: #0d1a07; }
.s72-contact button:hover { filter: brightness(1.08); }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot-in { max-width: 900px; margin: 0 auto; padding: 18px max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .head-in { grid-template-columns: 1fr; padding-top: 10px; gap: 8px; }
  /* phones: no header photo (Joe: photos just in the way on mobile) */
  .site-header { min-height: 0; background: var(--bg); }
  .logo { grid-row: auto; width: 210px; margin: 0 auto; }
  .status { justify-content: center; gap: 8px; padding-bottom: 6px; order: 2; }
  .clock { min-width: 0; flex: 1 1 140px; max-width: 180px; font-size: .92rem; }
  .sun { flex-basis: 100%; text-align: center; }
  .nav { order: 3; margin: 0 -16px; padding: 0 12px 6px; border-top: 1px solid var(--line); padding-top: 6px;
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%); }
  body { font-size: 16px; }
  .embed-tall { height: 640px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

.chart { border-radius: 6px; margin: 10px 0 6px; }
.wx-now { font-size: .88rem; color: var(--muted); margin: -.2em 0 .8em; font-variant-numeric: tabular-nums; }
