/* Deer Valley Pilots Association site: design 1, "the field at sunrise".
   One stylesheet for every page. Light only. No web fonts: the server's Content Security Policy allows only this
   site's own files, so the type is Avenir Next on Apple devices and the system font elsewhere.
   Written for older readers on an iPad or a phone (Eric, 2026-11-25): body text 19 px on phones (to 680 px wide),
   18 px on tablets, 19 px from 1200 px wide, 20 px from 1800 px; line height 1.6; paragraphs at most about 70 characters wide;
   every button, menu item and footer link at least 48 px tall; links underlined; nothing needs hover.
   Sizes are in rem so the whole page grows with the html font size below; borders, radii and shadows stay in px.
   README, "Pages and design", lists the tokens and the rules. */

:root {
  --sand: #F6EEE1; --paper: #FFFCF6; --ink: #2B221C; --soft: #463A31; --line: #E4D7C3; --line-dark: #CBB99D;
  --sky: #2B79B4; --deep: #17456B; --deep-2: #1F5E8E; --sun: #E5602A; --sun-dark: #C84D1C; --sun-text: #86310F;
  --gold: #E0AE2F; --gold-soft: #FFC56B; --peach: #FBE3D3; --night: #231B16;
  --ok: #12552F; --ok-bg: #DDF1E4; --warn: #8A5A12; --warn-bg: #FCE9C9; --talk-bg: #E3EEF7;
  --vfr: #1D7A45; --mvfr: #1F5FBF; --ifr: #B3261E; --lifr: #A0219E;
  --font: "Avenir Next", "Avenir", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

html { font-size: 18px; -webkit-text-size-adjust: 100%; scroll-padding-top: 6.5rem; }
@media (min-width: 1200px) { html { font-size: 19px; } }
@media (min-width: 1800px) { html { font-size: 20px; } }
/* page jumps scroll smoothly, but never for a reader who asks the system for less motion */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 500 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--deep); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a[href^="tel:"] { white-space: nowrap; }
a:hover { color: var(--sun-text); }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0 0 .875rem; max-width: 36em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.wrap { max-width: 85rem; margin: 0 auto; padding: 0 1.75rem; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 50; background: var(--deep); color: #fff; padding: .75rem 1.125rem; border-radius: 10px; font-weight: 700; }
.skip:focus { top: .75rem; color: #fff; }

/* buttons: every one at least 48 px tall */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; text-decoration: none; text-align: center; font-weight: 700; border-radius: 12px; padding: .65rem 1.5rem; font-size: 1.125rem; line-height: 1.25; border: 2px solid transparent; }
.btn.sun { background: var(--sun-dark); color: #fff; }
.btn.sun:hover { background: var(--sun-text); color: #fff; }
.btn.ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.btn.line { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--deep); }
.btn.light:hover { background: var(--gold-soft); color: var(--ink); }
.btn.small { min-height: 2.875rem; padding: .5rem 1.125rem; font-size: 1.0625rem; border-radius: 10px; }
.acts { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.on-dark :focus-visible, .hero :focus-visible, .pagehead :focus-visible, .member :focus-visible, .joinbar :focus-visible, .foot :focus-visible, .now .lead :focus-visible { outline-color: var(--gold-soft); }

/* header: wide screens show the menu row; narrower ones a big "Menu" button (see the media queries below) */
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; gap: 1.125rem; min-height: 5rem; padding-top: .5rem; padding-bottom: .5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { height: 3.125rem; width: auto; flex: none; }
.brand span { font-weight: 700; font-size: 1.0625rem; line-height: 1.2; max-width: 9.5em; }
.brand small { display: none; font-weight: 600; color: var(--soft); font-size: .875rem; letter-spacing: .04em; margin-top: 2px; }
.nav { display: flex; gap: .25rem; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 .625rem; font-weight: 600; font-size: 1.0625rem; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: .45em; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sun-dark); text-decoration-thickness: 3px; text-underline-offset: .45em; }
.signin { flex: none; }
.top .join { flex: none; }
/* Where the header stays at the top (901 px and wider), each of its two buttons steps aside while the page's own
   button of the same name is in sight (pair.js), so one screen never shows either one twice, and a screen with only
   one of the page's two still has the other in the header. */
@media (min-width: 901px) {
  .join-in-view .top .join, .signin-in-view .top .signin { visibility: hidden; opacity: 0; }
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .top .signin, .top .join { transition: opacity .2s, visibility .2s; }
}
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 3rem; min-width: 6.5rem; padding: 0 1.125rem; font-weight: 700; font-size: 1.125rem; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: ""; width: 20px; height: 16px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 3px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 6.5px / 100% 3px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 13px / 100% 3px no-repeat; }
.menu[open] summary { background: var(--ink); color: #fff; }
.menu[open] summary::before { background: linear-gradient(#fff, #fff) 0 0 / 100% 3px no-repeat, linear-gradient(#fff, #fff) 0 6.5px / 100% 3px no-repeat, linear-gradient(#fff, #fff) 0 13px / 100% 3px no-repeat; }
.menu-opened { display: none; }
.menu[open] .menu-opened { display: inline; }
.menu[open] .menu-closed { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 2px solid var(--line-dark); box-shadow: 0 18px 30px rgba(60, 38, 16, .18); padding: .25rem 1.25rem 1rem; display: grid; }
.menu-panel a { display: flex; align-items: center; min-height: 3.5rem; padding: .375rem .25rem; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.menu-panel a:last-child { border-bottom: 0; }
.menu-panel a[aria-current="page"] { color: var(--sun-text); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .3em; }

/* home hero */
/* At least 74% of the window (32.5rem to 47.5rem); taller when its words need it, so a short laptop window never
   cuts off the top line or slides the KDVT strip over the last one. */
.hero { position: relative; min-height: max(32.5rem, min(74vh, 47.5rem)); overflow: hidden; background: #17324A; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(14, 32, 52, .94) 0%, rgba(14, 32, 52, .84) 40%, rgba(14, 32, 52, 0) 76%),
  linear-gradient(0deg, rgba(60, 24, 6, .45) 0%, rgba(60, 24, 6, 0) 38%); }
.hero .wrap { position: relative; z-index: 2; min-height: inherit; display: flex; flex-direction: column; justify-content: center; padding-top: 2.5rem; padding-bottom: 5.5rem; }
.kicker { font-size: 1rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FFD9A0; margin: 0 0 .875rem; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.75rem); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 1.125rem; color: #fff; font-weight: 800; max-width: 11.5em; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero .lede { font-size: clamp(1.1875rem, 1.5vw, 1.4375rem); color: #fff; max-width: 30em; margin: 0 0 1.75rem; }
/* the hero's two buttons, each with one short line under it saying who it is for (user test round 4, 2026-11-25:
   members could not tell which button was theirs) */
.hero .picks { align-items: flex-start; gap: 1rem 1.25rem; }
.hero .pick { display: flex; flex-direction: column; gap: .4rem; max-width: 19rem; }
.hero .pick .btn { align-self: flex-start; }
.hero .pick-note { margin: 0; color: #fff; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.hero .dues-line { margin: 1rem 0 0; font-size: 1.1875rem; font-weight: 700; color: #fff; }
/* "Or mail a check to DVPA, ..." right under the prices (user test round 3: the address was far from them) */
.hero .dues-check { margin: .375rem 0 0; font-size: 1.0625rem; font-weight: 600; color: #fff; }
.hero .next { margin: 1.25rem 0 0; font-size: 1.125rem; color: #fff; }
.hero .next a { color: #FFD9A0; font-weight: 700; }
.hero .next a:hover { color: #fff; }

/* KDVT right now (home): labels big enough to read at arm's length */
.now { position: relative; z-index: 5; margin-top: -3.625rem; }
.now .card { background: var(--paper); border-radius: 18px; box-shadow: 0 18px 44px rgba(60, 38, 16, .18); border: 1px solid var(--line); display: grid; grid-template-columns: .95fr 1.4fr 1.25fr 1.5fr; overflow: hidden; }
.now .cell { padding: 1.375rem 1.5rem; border-left: 1px solid var(--line); min-width: 0; }
.now .cell.lead { border-left: 0; background: var(--deep); color: #fff; }
.lab { font-size: 1rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin: 0 0 .5rem; line-height: 1.35; }
.now .lead .lab { color: #DCEAF5; }
.now .lead a { color: #fff; }
.cat { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .75rem; font-size: 2.25rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; margin: 0 0 .5rem; }
.cat small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: #DCEAF5; flex-basis: 100%; padding-left: calc(20px + .75rem); }
.dot { width: 20px; height: 20px; border-radius: 50%; flex: none; background: #8FA3B5; }
.dot.vfr { background: #35C36B; box-shadow: 0 0 0 5px rgba(53, 195, 107, .25); }
.dot.mvfr { background: #5AA9FF; box-shadow: 0 0 0 5px rgba(90, 169, 255, .3); }
.dot.ifr { background: #FF5A4F; box-shadow: 0 0 0 5px rgba(255, 90, 79, .28); }
.dot.lifr { background: #F25CF0; box-shadow: 0 0 0 5px rgba(242, 92, 240, .28); }
.now .note { display: block; color: var(--soft); font-size: 1rem; line-height: 1.5; margin: 0; }
.now .lead .note { color: #DCEAF5; }
.now .lead .stale { color: #FFD9A0; font-weight: 700; }
.now .lead .unavail { color: #fff; font-weight: 700; margin: 0 0 .25rem; }
.big { font-size: 1.4375rem; font-weight: 700; line-height: 1.3; margin: 0 0 .375rem; }
.freq { display: grid; grid-template-columns: 1fr auto; gap: .375rem 1rem; font-size: 1.0625rem; font-weight: 700; margin: 0; line-height: 1.35; }
.freq dt { color: var(--soft); font-weight: 600; }
.freq dd { margin: 0; font-size: 1.1875rem; font-variant-numeric: tabular-nums; text-align: right; }
.fuel { display: grid; gap: .75rem; }
/* One line per pump, the pump type first, words and price the same size: "Self serve pump, 24 hours (Sibran) $7.17" (field.js). */
.fuel .fbo { min-width: 0; }
.fuel .fbo-line { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
.fuel .fbo-name { color: var(--ink); }
.fuel .fbo-line b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fuel .fbo-line b.none { font-weight: 700; color: var(--soft); }
.fuel .per { display: block; font-size: 1rem; color: var(--soft); line-height: 1.5; }
.fuel .jet { white-space: nowrap; }
.unavail { font-weight: 700; margin: 0 0 .25rem; }
.unavail-link { font-size: 1rem; margin: 0; }
.live-wait { color: var(--soft); font-size: 1rem; margin: 0; }
.now .lead .live-wait { color: #DCEAF5; }
.now-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; flex-wrap: wrap; font-size: 1rem; color: var(--soft); margin: 1rem .25rem 0; }
.now-foot p { margin: 0; }
.now-foot a { font-weight: 700; display: inline-flex; align-items: center; min-height: 3rem; }

/* sections */
.sec { padding: 4.75rem 0; }
.sec.tight { padding: 3.5rem 0; }
.sec.flush { padding-top: 0; }
.sec.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .875rem; font-weight: 800; }
h3 { line-height: 1.25; }
.sub { font-size: 1.25rem; color: var(--soft); max-width: 32em; margin: 0 0 2.25rem; }
.eyebrow { font-size: 1rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sun-text); margin: 0 0 .625rem; }
.fine { font-size: 1rem; color: var(--soft); }

/* three doors */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.375rem; }
.door { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.75rem; display: flex; flex-direction: column; gap: .5rem; }
.door h3 { margin: 0; font-size: 1.625rem; letter-spacing: -.01em; }
.door p { margin: 0; color: var(--soft); }
.door .go { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; min-height: 3rem; font-size: 1.125rem; font-weight: 700; color: var(--sun-text); align-self: flex-start; }
.door .go::after { content: "\00a0\2192"; }
.door .tiny { font-size: 1rem; color: var(--soft); margin: .25rem 0 0; }
/* "I'm a member": both membership links, each with the same line as under the hero's buttons (user test round 4) */
.door .gopair { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: .875rem; }
.door .gopair .go { margin-top: 0; padding-top: 0; }
.door .go-note { display: block; color: var(--soft); line-height: 1.45; }
.icon { width: 3.25rem; height: 3.25rem; border-radius: 14px; display: grid; place-items: center; background: var(--peach); margin-bottom: .375rem; }
.icon svg { width: 1.75rem; height: 1.75rem; stroke: var(--sun-text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* what DVPA works on */
.work .grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3.5rem; align-items: start; }
.work figure { margin: 0; position: sticky; top: 7rem; }
.photo { margin: 0; border-radius: 18px; overflow: hidden; position: relative; background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.r43 img { aspect-ratio: 4 / 3; }
.photo.r32 img { aspect-ratio: 3 / 2; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.75rem 1.25rem 1rem; color: #fff; font-size: 1rem; font-weight: 600; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0)); }
.list-h { font-size: 1.4375rem; margin: 2rem 0 .5rem; }
.list-h:first-of-type { margin-top: 0; }
.issues { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.issues li { display: grid; grid-template-columns: 1fr auto; gap: .375rem 1.125rem; padding: 1.125rem 0; border-bottom: 1px solid var(--line); }
.issues h4, .issues h3.rwy { font-size: 1.25rem; margin: 0; line-height: 1.3; }
.issues p { margin: 0; color: var(--soft); grid-column: 1; }
.chip { align-self: start; justify-self: start; font-size: .9375rem; font-weight: 700; border-radius: 99px; padding: .25rem .875rem; white-space: nowrap; line-height: 1.4; }
.issues .chip { grid-column: 2; grid-row: 1; }
.chip.talk { background: var(--talk-bg); color: var(--deep); }
.chip.won { background: var(--ok-bg); color: var(--ok); }
.chip.open { background: var(--warn-bg); color: var(--warn); }
.more { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; align-items: center; }

/* events */
.events .grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.625rem; }
.ev { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.ev.feature { display: grid; grid-template-columns: 1fr 1fr; }
.ev.feature img { width: 100%; height: 100%; min-height: 20rem; object-fit: cover; }
.ev .body { padding: 1.625rem; display: flex; flex-direction: column; gap: .625rem; flex: 1; }
.date { display: inline-flex; align-items: baseline; gap: .5rem; font-weight: 800; color: var(--sun-text); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.ev h3 { margin: 0; font-size: 1.625rem; line-height: 1.2; letter-spacing: -.01em; }
.ev p { margin: 0; color: var(--soft); }
.ev .acts { margin-top: auto; padding-top: .75rem; }
.stack { display: flex; flex-direction: column; gap: 1.625rem; }

/* membership band (home) and the join band at the end of The Field, Events and About */
.member, .joinbar { background: linear-gradient(135deg, #17456B 0%, #1C5683 50%, #2369A0 100%); color: #fff; }
.member .grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3.75rem; align-items: center; }
.member .eyebrow { color: var(--gold-soft); }
.member .sub, .joinbar p { color: #fff; }
.member a:not(.btn), .joinbar a:not(.btn) { color: #fff; }
.joinbar { padding: 3.25rem 0; }
.joinbar h2 { margin-bottom: .5rem; }
.joinbar p { font-size: 1.1875rem; margin: 0 0 1.5rem; }
.perks { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem 1.75rem; }
.perks li { padding-left: 2.25rem; position: relative; font-size: 1.125rem; font-weight: 700; }
.perks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317456B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 60% no-repeat; }
.perks small { display: block; color: #fff; font-size: 1rem; font-weight: 500; }
.price { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.price li { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .5); border-radius: 12px; padding: .625rem 1rem; font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
.price small { font-weight: 600; color: #fff; font-size: 1rem; }
/* "Pay by check: mail it to DVPA, ..." under the prices: home membership band and Membership's dues */
.paycheck { font-size: 1.125rem; font-weight: 700; margin: 0 0 1rem; }
.member .paycheck { margin: 0 0 1.75rem; }
/* home, phones only: one "Join or renew" in the membership band, since at 900 px and below the header's pair is
   hidden on the home page and the header scrolls away (the review of the round 3 fixes: the band had no way to
   join on a phone). From 901 px the pinned header has it, so it stays hidden there and pair.js never sees it. */
.phone-join { display: none; }
.phonefig { margin: 0; }
.phone { width: 18.125rem; max-width: 100%; margin: 0 auto; background: #0F1A24; border-radius: 42px; padding: .75rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.phone .screen { background: #F2F2F6; border-radius: 32px; padding: 1.375rem .875rem 1.625rem; }
.phone .bar { font-weight: 700; font-size: .9375rem; color: #333; text-align: center; margin: 0 auto 1rem; }
.pass { background: linear-gradient(160deg, #FFF6DF, #F6D98A); border-radius: 18px; padding: 1.125rem; color: var(--ink); box-shadow: 0 8px 18px rgba(0, 0, 0, .18); }
.pass .hd { display: flex; align-items: center; gap: .625rem; font-weight: 800; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; }
.pass .hd img { height: 2.125rem; width: auto; mix-blend-mode: multiply; }
.pass .nm { font-size: 1.375rem; font-weight: 800; margin: 1.125rem 0 .125rem; }
.pass .org { font-size: .9375rem; font-weight: 600; margin: 0; }
/* the home page's card is a sample (user test round 2: people took its date and status for their own): "Your
   name", no date, no status, and a big SAMPLE stamp across it */
.pass .stamp { display: block; width: fit-content; margin: 1.25rem auto .5rem; transform: rotate(-10deg); padding: .125rem .875rem; border: 4px solid var(--sun-text); border-radius: 10px; color: var(--sun-text); background: rgba(255, 252, 246, .55); font-size: 2rem; font-weight: 800; letter-spacing: .12em; line-height: 1.15; text-transform: uppercase; white-space: nowrap; }
.phone-cap { text-align: center; color: #fff; font-size: 1rem; margin: 1rem auto 0; max-width: 18rem; }

/* photos */
.rail { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 14.375rem 14.375rem; gap: .875rem; }
.rail .photo { border-radius: 16px; }
.rail .photo img { position: absolute; inset: 0; }
.rail .a { grid-row: 1 / 3; }
.rail figcaption { font-size: 1rem; padding: 2.25rem .875rem .75rem; }
.send { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.5rem; background: var(--paper); border: 1px dashed var(--line-dark); border-radius: 16px; padding: 1.25rem 1.625rem; }
.send p { margin: 0; }
.send b { font-size: 1.25rem; }
.send span { display: block; color: var(--soft); }

/* sponsors */
.sponsors { background: var(--paper); border-top: 1px solid var(--line); padding: 3.5rem 0; }
.sponsors h2 { font-size: 1.5rem; letter-spacing: 0; margin: 0 0 1.25rem; }
.row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.125rem; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.sp { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .625rem; text-align: center; min-height: 8.25rem; text-decoration: none; color: var(--ink); height: 100%; }
a.sp:hover { box-shadow: 0 10px 24px rgba(60, 38, 16, .12); color: var(--ink); }
.sp img { max-height: 3.5rem; width: auto; max-width: 100%; object-fit: contain; }
.sp.dark { background: #0D0D0D; }
.sp small { font-size: .9375rem; font-weight: 700; color: var(--ok); line-height: 1.35; }
.sp-note { font-size: 1rem; color: var(--soft); margin: 1.25rem 0 0; }

/* footer */
.foot { background: var(--night); color: #E6DACD; padding: 3rem 0 2rem; font-size: 1rem; }
.foot .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.25rem; }
.foot-h { margin: 0 0 .375rem; color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; }
.foot a { color: #F6ECE0; }
.foot a:hover { color: var(--gold-soft); }
.foot .links a { display: flex; align-items: center; min-height: 2.75rem; }
.foot p { margin: 0 0 .625rem; }
.foot-base { border-top: 1px solid #3C3029; margin-top: 2.25rem; padding-top: 1.25rem; font-size: 1rem; color: #CFC1B2; }
.foot-base p { margin: 0; }

/* inner pages: header band */
.pagehead { background: linear-gradient(135deg, #17456B 0%, #1C5683 60%, #2369A0 100%); color: #fff; padding: 3.5rem 0; border-bottom: 4px solid var(--sun); }
.pagehead .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.pagehead.plain .grid { grid-template-columns: 1fr; }
.pagehead h1 { font-size: clamp(2.5rem, 4.2vw, 3.75rem); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 1rem; font-weight: 800; }
.pagehead .kicker { margin-bottom: .75rem; }
.pagehead .lede { font-size: clamp(1.1875rem, 1.4vw, 1.375rem); color: #fff; max-width: 30em; margin: 0 0 1.25rem; }
.pagehead .fine { color: #fff; margin: 0 0 1.25rem; }
.pagehead a:not(.btn) { color: #fff; }
.pagehead .photo { box-shadow: 0 20px 44px rgba(0, 0, 0, .28); }
.pagehead .photo img { aspect-ratio: 16 / 10; }
.jump { display: flex; flex-wrap: wrap; gap: .625rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 3rem; text-decoration: none; font-weight: 700; font-size: 1rem; padding: 0 1rem; border-radius: 99px; border: 2px solid rgba(255, 255, 255, .75); color: #fff; }
.jump a:hover { background: rgba(255, 255, 255, .15); color: #fff; }

/* inner pages: panels, two columns, lists */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; align-items: start; }
.cols.wide-left { grid-template-columns: 1.25fr 1fr; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.75rem; min-width: 0; }
.panel > h2 { font-size: clamp(1.625rem, 2.2vw, 2.125rem); }
.panel h3 { font-size: 1.375rem; margin: 1.5rem 0 .5rem; }
.panel > :last-child { margin-bottom: 0; }
.source { font-size: 1rem; color: var(--soft); margin: 1rem 0 0; }
.prose { max-width: 38em; }
.prose ul, .panel ul { padding-left: 1.375rem; margin: 0 0 1rem; }
.prose li, .panel li, .timeline li { margin: 0 0 .5rem; max-width: 36em; }
.callout { background: var(--warn-bg); color: #5E3D0B; border-radius: 14px; padding: 1rem 1.25rem; font-weight: 600; margin: 1.25rem 0 0; }
.callout a { color: #5E3D0B; font-weight: 800; }
.box-info { background: var(--talk-bg); border-radius: 14px; padding: 1rem 1.25rem; margin: 1rem 0 0; }
.addr { font-style: normal; font-weight: 700; font-size: 1.125rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .875rem 1.125rem; margin: .5rem 0 .75rem; line-height: 1.5; }

/* The Field: weather and fuel panels (filled by field.js) */
.raw { font-family: var(--mono); font-size: 1rem; background: #F1E8D8; border: 1px solid var(--line); border-radius: 10px; padding: .75rem 1rem; margin: .25rem 0 1.25rem; overflow-wrap: anywhere; line-height: 1.5; }
.decoded { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.decoded dt, .decoded dd { padding: .625rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.decoded dt { color: var(--soft); font-weight: 600; padding-right: 1rem; }
.decoded dd { font-weight: 700; }
.decoded dd small { display: block; font-weight: 500; color: var(--soft); font-size: .9375rem; }
.badge { display: inline-block; font-weight: 800; color: #fff; border-radius: 8px; padding: .1rem .6rem; letter-spacing: .02em; background: #5B6B79; margin-right: .375rem; }
.badge.vfr { background: var(--vfr); }
.badge.mvfr { background: var(--mvfr); }
.badge.ifr { background: var(--ifr); }
.badge.lifr { background: var(--lifr); }
.obs { margin: 0 0 1rem; color: var(--soft); }
.obs.stale, .stale-note { color: var(--warn); font-weight: 700; }
.tbl { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tbl th, .tbl td { text-align: left; padding: .7rem .75rem .7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .9375rem; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); font-weight: 800; }
.tbl td.num { font-weight: 800; font-size: 1.125rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl td small { display: block; color: var(--soft); font-size: .9375rem; }
.tbl .fbo-cell { font-weight: 700; }
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; margin: 1.25rem 0 0; }
.pics .photo img { aspect-ratio: 5 / 3; }
.pics figcaption { font-size: 1rem; padding: 1.75rem .875rem .625rem; }

/* The Field: new pilot guide */
.guide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.375rem; }
.guide .panel h3 { margin-top: 0; }
.guide .panel p { color: var(--ink); }
.guide .panel .links { margin: .5rem 0 0; padding: 0; list-style: none; }
.guide .panel .links li { margin: 0 0 .375rem; }
.report { background: var(--paper); border: 2px solid var(--sun-dark); border-radius: 18px; padding: 2rem; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.report h2 { margin-bottom: .5rem; }

/* Membership */
.dues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.125rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.dues li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; text-align: center; }
.dues li.best { border: 2px solid var(--sun-dark); }
.dues b { display: block; font-size: 2.75rem; line-height: 1.05; letter-spacing: -.02em; }
.dues span { display: block; font-weight: 700; font-size: 1.25rem; }
.dues small { display: block; color: var(--ok); font-weight: 700; font-size: 1rem; margin-top: .25rem; min-height: 1.4em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.375rem; }
.cards .panel h3 { margin-top: 0; }
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.375rem; }
.ways .panel h3 { margin-top: 0; font-size: 1.5rem; }
.eligible { margin: .5rem 0 0; padding-left: 1.375rem; }
.eligible li { margin: 0 0 .5rem; }

/* Events and About */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--line-dark); }
.timeline li { position: relative; padding: 0 0 1.25rem 1.5rem; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: .45rem; width: 15px; height: 15px; border-radius: 50%; background: var(--sun-dark); border: 3px solid var(--sand); }
.timeline b { display: inline-block; min-width: 3.5rem; color: var(--sun-text); font-weight: 800; }
.wins { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.125rem; max-width: 60rem; }
.wins li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem 1.75rem; display: grid; grid-template-columns: 9.5rem 1fr; gap: .5rem 1.5rem; }
.wins h3 { margin: 0 0 .375rem; font-size: 1.375rem; }
.wins p { margin: 0 0 .5rem; }
.wins p:last-child { margin: 0; }
.wins .chip { justify-self: start; }
blockquote { margin: 0; padding: 1.25rem 1.5rem; background: var(--paper); border-left: 5px solid var(--sun-dark); border-radius: 0 14px 14px 0; font-size: 1.125rem; line-height: 1.6; }
blockquote p { margin: 0; }
.quote-h { font-size: 1.375rem; margin: 0 0 .75rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list b { display: block; font-size: .9375rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.notfound { padding: 5rem 0 6rem; }
.notfound ul { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: .875rem; }
.notfound h1 { font-size: clamp(2.375rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1rem; }

/* wide screens: the brand name on one line, with the airport under it */
@media (min-width: 1600px) {
  .brand span { max-width: none; }
  .brand small { display: block; }
}

/* below 1500 px the KDVT strip goes 2 by 2; below 1300 px the menu row becomes the "Menu" button, and Member
   sign in and Join or renew stay in sight */
@media (max-width: 1499px) {
  .now .card { grid-template-columns: 1fr 1fr; }
  .now .cell:nth-child(3) { border-left: 0; }
  .now .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 1299px) {
  .nav { display: none; }
  .menu { display: block; }
  .signin { margin-left: auto; }
}

/* tablet and small laptop: two column layouts stack */
@media (max-width: 1040px) {
  .hero { height: auto; min-height: 0; }
  .hero .wrap { padding-top: 4.5rem; padding-bottom: 7rem; }
  .hero::before { background: linear-gradient(0deg, rgba(18, 40, 64, .94) 0%, rgba(18, 40, 64, .84) 55%, rgba(18, 40, 64, .7) 100%); }
  .work .grid, .events .grid, .member .grid, .pagehead .grid, .cols, .cols.wide-left, .report { grid-template-columns: 1fr; gap: 2.25rem; }
  .work figure { position: relative; top: auto; }
  .work .photo img { aspect-ratio: 3 / 2; }
  .doors { grid-template-columns: 1fr; }
  .row { grid-template-columns: repeat(3, 1fr); }
  .foot .grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .pagehead .photo { max-width: 40rem; }
  .pagehead .photo img { aspect-ratio: 2 / 1; }
}

/* phones and small tablets: two header rows, not pinned to the top: the logo and "Menu", then Member sign in
   and Join or renew side by side */
@media (max-width: 900px) {
  html { scroll-padding-top: 1rem; }
  .top { position: relative; }
  .top .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem .75rem; padding-top: .625rem; padding-bottom: .75rem; }
  .brand { grid-column: 1 / 3; grid-row: 1; justify-self: start; min-width: 0; }
  .menu { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
  .signin { grid-column: 1; grid-row: 2; margin-left: 0; }
  .top .join { grid-column: 2; grid-row: 2; }
  /* half the width each; side padding kept small so "Member sign in" stays on one line, and if a large text
     setting still wraps a button, both keep the same height and wrap evenly */
  .top .signin, .top .join { width: 100%; min-height: 3.125rem; font-size: 1.125rem; padding: .5rem; align-self: stretch; text-wrap: balance; }
  /* home: the header scrolls away here and the hero's own pair sits right under it, so the header pair hides
     (the empty second row collapses) */
  body.home .top .signin, body.home .top .join { display: none; }
  .member .phone-join { display: flex; margin: 0 0 2rem; }
}

/* phone */
@media (max-width: 680px) {
  /* one step bigger than tablets (user test round 2: small text hard to read on a phone) */
  html { font-size: 19px; }
  .wrap { padding: 0 1rem; }
  .brand img { height: 2.75rem; }
  .brand span { font-size: 1rem; }
  /* 2rem on top keeps both hero buttons on a 390 by 844 phone's first screen now that each has a line under it
     (user test round 4) */
  .hero .wrap { padding-top: 2rem; padding-bottom: 6rem; }
  .hero .acts .btn, .pagehead .acts .btn, .joinbar .acts .btn, .member .phone-join .btn { flex: 1 1 100%; }
  .hero .acts .pick { flex: 1 1 100%; max-width: none; }
  .hero .pick .btn { align-self: stretch; }
  .now .card { grid-template-columns: 1fr; }
  .now .cell { border-left: 0; border-top: 1px solid var(--line); }
  .now .cell:first-child { border-top: 0; }
  .sec { padding: 3.25rem 0; }
  .sec.tight { padding: 2.75rem 0; }
  .sec.flush { padding-top: 0; }
  h2 { font-size: 1.875rem; }
  .sub { font-size: 1.125rem; }
  .perks, .guide, .ways, .cards, .pics { grid-template-columns: 1fr; }
  .dues { grid-template-columns: 1fr; gap: .75rem; }
  .dues li { display: grid; grid-template-columns: 6rem 1fr; align-items: center; text-align: left; padding: 1rem 1.25rem; column-gap: 1rem; }
  .dues b { grid-row: 1 / 3; font-size: 2.25rem; }
  .dues small { min-height: 0; margin: 0; }
  .ev.feature { grid-template-columns: 1fr; }
  .ev.feature img { min-height: 0; aspect-ratio: 16 / 10; }
  .issues li { grid-template-columns: 1fr; }
  .issues .chip { grid-column: 1; grid-row: 2; white-space: normal; }
  .rail { grid-template-columns: 1fr 1fr; grid-template-rows: 12.5rem 8.75rem 8.75rem; }
  .rail .a { grid-row: auto; grid-column: 1 / 3; }
  .row { grid-template-columns: 1fr 1fr; }
  .foot .grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .pagehead { padding: 2.5rem 0; }
  .panel, .door { padding: 1.375rem 1.25rem; }
  .kicker { letter-spacing: .08em; }
  .report { padding: 1.5rem 1.25rem; }
  .send { padding: 1.25rem; }
  .wins li { grid-template-columns: 1fr; padding: 1.375rem 1.25rem; }
  .notfound { padding: 3rem 0 4rem; }
  .decoded { grid-template-columns: 7.5rem 1fr; }
  .tbl.phone-rows thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl.phone-rows tr { display: block; border-bottom: 1px solid var(--line); padding: .625rem 0; }
  .tbl.phone-rows td { display: block; position: relative; border: 0; padding: .25rem 0 .25rem 6.5rem; min-height: 2rem; }
  .tbl.phone-rows td::before { content: attr(data-label); position: absolute; left: 0; top: .3rem; width: 6rem; color: var(--soft); font-weight: 700; font-size: .9375rem; }
  .tbl.phone-rows td:empty { display: none; }
  .tbl.freq-tbl tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; padding: .875rem 0; }
  .tbl.freq-tbl td { padding: 0; min-height: 0; }
  .tbl.freq-tbl td::before { content: none; }
  .tbl.freq-tbl td:first-child { font-weight: 700; }
  .tbl.freq-tbl td.num { grid-column: 2; grid-row: 1; font-size: 1.375rem; line-height: 1.3; }
  .tbl.freq-tbl td:nth-child(3) { grid-column: 1 / -1; color: var(--soft); margin-top: .25rem; }
}
@media (max-width: 440px) {
  .brand span { display: none; }
  /* "Member sign in" is the longer name, so its column is a little wider: one line each from 360 px wide */
  .top .wrap { column-gap: .5rem; grid-template-columns: minmax(0, 8fr) minmax(0, 7fr); }
  .top .signin, .top .join { padding: .5rem .25rem; font-size: 1.0625rem; }
}
@media (max-width: 370px) {
  .top .signin, .top .join { font-size: 1rem; }
}
