/* RealisticPilot.com — custom taxiway location sign */
/* Barlow fonts: SIL Open Font License 1.1, self-hosted */
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/assets/fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
:root {
  --asphalt: #24272c;
  --asphalt-2: #2e3238;
  --concrete: #dfe1e3;
  --concrete-2: #eceef0;
  --paint: #f5c400;          /* taxiway sign yellow */
  --ink: #000;               /* sign panel black */
  --text: #1d2024;
  --muted: #5b626b;
  --edge-blue: #1f5bff;      /* taxiway edge light blue */
  --vfr: #1fbf4b; --mvfr: #2d6bff; --ifr: #e3262d; --lifr: #b43cf0;
  --radius-sm: 6px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.55 var(--body); color: var(--text); background: var(--concrete); }
img, video { max-width: 100%; display: block; }
a { color: var(--edge-blue); }
:focus-visible { outline: 3px solid var(--edge-blue); outline-offset: 3px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* sale strip */
.sale-strip { background: var(--paint); color: #000; font-weight: 600; font-size: 16px; }
.sale-strip .wrap { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 8px 0; text-align: center; }
.sale-strip s { opacity: .65; }

/* header */
.site-top { background: var(--asphalt); color: #fff; }
.site-top .wrap { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.wordmark { font: 700 26px/1 var(--display); letter-spacing: .01em; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.wordmark .chip { background: var(--ink); color: var(--paint); border: 2px solid var(--paint); padding: 2px 7px; border-radius: 3px; }
.site-top nav a { color: #fff; text-decoration: none; margin-left: 24px; font-weight: 500; }
.site-top nav a:hover { color: var(--paint); }

/* hero */
.hero { background: var(--asphalt); color: #fff; padding: 40px 0 88px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 48px; }
.hero h1 { font: 700 clamp(48px, 8vw, 104px)/.92 var(--display); margin: 0; letter-spacing: -.005em; max-width: 13ch; }
.hero .lede { font-size: 21px; color: #cfd3d8; max-width: 56ch; margin: 22px 0 30px; }
.price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.price-now { font: 700 56px/1 var(--display); color: var(--paint); }
.price-was { font: 500 26px/1 var(--display); color: #8d939b; text-decoration: line-through; }
.price-note { color: #cfd3d8; font-size: 16px; }
.btn { display: inline-block; font: 700 22px/1 var(--display); letter-spacing: .02em; background: var(--paint); color: #000; border: 0; padding: 18px 30px; border-radius: var(--radius-sm); text-decoration: none; cursor: pointer; }
.btn:hover { background: #ffd31a; }
.btn[disabled] { opacity: .55; cursor: progress; }
.hero-stage { position: relative; }
.try { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 26px; flex-wrap: wrap; color: #cfd3d8; font-size: 16px; }
.try input { font: 700 24px/1 var(--display); letter-spacing: .25em; text-transform: uppercase; width: 7.2em; padding: 10px 12px; border-radius: var(--radius-sm); border: 2px solid #4a5058; background: var(--asphalt-2); color: #fff; text-align: center; }
.mode-toggle { display: inline-flex; border: 2px solid #4a5058; border-radius: 999px; padding: 3px; }
.mode-toggle button { font: 600 15px/1 var(--body); background: none; color: #cfd3d8; border: 0; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.mode-toggle button[aria-pressed="true"] { background: #fff; color: #000; }

@media (max-width: 959px) {
  .hero { padding-top: 16px; }
  .hero-stage { order: -1; }
  .hero .wrap { gap: 20px; }
}
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: 5fr 6fr; align-items: center; }
}
@media (max-width: 600px) {
  .site-top nav a:first-child { display: none; }
  .sale-strip .wrap { gap: 4px 10px; font-size: 15px; }
}

/* ===== the sign ===== */
.sign { --u: clamp(38px, 12vw, 70px); display: inline-grid; gap: calc(var(--u) * .14); padding: calc(var(--u) * .22); background: #15171a; border-radius: calc(var(--u) * .18); box-shadow: 0 calc(var(--u)*.35) calc(var(--u)*.6) rgba(0,0,0,.45), inset 0 0 0 2px #33373d; font-family: "Barlow Semi Condensed", var(--display); font-weight: 600; transition: background .4s; }
.sign-stage { display: flex; justify-content: center; padding: 20px 0; }
.sign .row { display: flex; gap: calc(var(--u) * .08); justify-content: flex-start; }
.sign .row.bottom { padding-left: calc(var(--u) * .7); }
.sign .panel { height: var(--u); min-width: calc(var(--u) * .8); padding: 0 calc(var(--u) * .28); display: flex; align-items: center; justify-content: center; gap: .08em; font-size: calc(var(--u) * .72); line-height: 1; border-radius: calc(var(--u) * .06); white-space: nowrap; transition: box-shadow .4s, background .4s, color .4s; }
.sign .panel.dir { background: #c9a300; color: #111; min-width: calc(var(--u) * 2.1); }
.sign .panel.loc { background: var(--ink); color: #c9a300; box-shadow: inset 0 0 0 calc(var(--u)*.05) #c9a300; min-width: calc(var(--u) * .9); }
.sign .tile { width: calc(var(--u) * .95); height: var(--u); display: grid; place-items: center; background: #0d0d0d; border-radius: calc(var(--u) * .08); box-shadow: inset 0 0 0 2px #2b2e33; color: #bdbdb8; font-size: calc(var(--u) * .74); line-height: 1; transition: color .4s, text-shadow .4s; }
.sign .tile.leaf svg { width: 64%; height: 64%; fill: #6b6f75; transition: fill .5s, filter .5s; }
.sign .arrow { font-size: .85em; }
.sign .panel.dir:empty, .sign .panel.dir.hidden { display: none; }

/* lit at night */
.night .sign { background: #0c0d0f; }
.night .sign .panel.dir { background: var(--paint); box-shadow: 0 0 calc(var(--u)*.35) rgba(245,196,0,.55); }
.night .sign .panel.loc { color: var(--paint); box-shadow: inset 0 0 0 calc(var(--u)*.05) var(--paint), 0 0 calc(var(--u)*.25) rgba(245,196,0,.35); }
.night .sign .tile { color: #fff; text-shadow: 0 0 calc(var(--u)*.18) rgba(255,255,255,.7); }
.night .sign .tile.leaf svg { fill: var(--leaf, var(--vfr)); filter: drop-shadow(0 0 calc(var(--u)*.14) var(--leaf, var(--vfr))); }
.sign.ts-flash .tile.leaf svg { fill: #fff !important; filter: drop-shadow(0 0 calc(var(--u)*.3) #fff) !important; }
.metar-readout { text-align: center; color: #cfd3d8; font-size: 16px; min-height: 1.6em; }
.metar-readout b { color: #fff; }

/* sections */
section.band { padding: 88px 0; }
section.band h2 { font: 700 clamp(38px, 5vw, 60px)/1 var(--display); margin: 0 0 18px; max-width: 20ch; }
section.band .intro { max-width: 62ch; color: var(--muted); margin: 0 0 40px; }

/* weather legend — real info, so it gets a table-like list */
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 2px solid var(--text); }
.legend > div { padding: 22px 20px 22px 0; border-bottom: 1px solid #bfc4c9; }
.legend .cat { display: flex; align-items: center; gap: 12px; font: 700 30px/1 var(--display); }
.legend .dot { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.legend p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.legend .ts .dot { background: #fff; box-shadow: 0 0 0 2px var(--text), 0 0 14px #fff; }

.night-band { background: var(--asphalt); color: #fff; }
section.night-band .intro { color: #cfd3d8; }
.night-band video { width: 100%; border-radius: var(--radius-sm); }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.3fr; align-items: center; } }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 14px 0; border-bottom: 1px solid #3c4148; }
.facts li strong { display: block; font: 700 22px/1.2 var(--display); color: var(--paint); }

/* order */
#order { background: var(--concrete-2); }
.order-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .order-grid { grid-template-columns: 1.15fr 1fr; align-items: start; } .summary { position: sticky; top: 24px; } }
fieldset { border: 0; padding: 0; margin: 0 0 30px; }
legend { font: 700 26px/1.1 var(--display); margin-bottom: 14px; padding: 0; }
.field { display: grid; gap: 6px; align-content: start; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 16px; }
.field .hint { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 18px/1.3 var(--body); padding: 12px 14px; border: 2px solid #b9bfc5; border-radius: var(--radius-sm); background: #fff; color: var(--text); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--edge-blue); outline: none; box-shadow: 0 0 0 3px rgba(31,91,255,.2); }
.field input.code { font: 700 26px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 560px) { .three { grid-template-columns: 1fr; } .pair { grid-template-columns: 1fr; } }
.arrow-pick { display: flex; gap: 5px; flex-wrap: wrap; }
.arrow-pick label { position: relative; }
.arrow-pick input { position: absolute; opacity: 0; pointer-events: none; }
.arrow-pick span { display: grid; place-items: center; width: 40px; height: 42px; border: 2px solid #b9bfc5; border-radius: var(--radius-sm); background: #fff; font-size: 22px; cursor: pointer; }
.arrow-pick input:checked + span { background: var(--paint); border-color: #000; }
.arrow-pick input:focus-visible + span { outline: 3px solid var(--edge-blue); outline-offset: 2px; }
.error { color: #b3141a; font-weight: 600; font-size: 15px; min-height: 1.2em; }

.summary { background: var(--asphalt); color: #fff; border-radius: var(--radius-sm); padding: 26px; }
.summary .night { padding: 10px 0 22px; display: flex; justify-content: center; }
.summary .sign { --u: clamp(28px, 4.2vw, 46px); }
.summary table { width: 100%; border-collapse: collapse; font-size: 17px; }
.summary td { padding: 8px 0; border-bottom: 1px solid #3c4148; }
.summary td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.summary tr.total td { font: 700 26px/1.2 var(--display); border-bottom: 0; padding-top: 14px; }
.summary .small { font-size: 14px; color: #aab0b7; margin: 12px 0 18px; }
.summary .btn { width: 100%; }
.pay-marks { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: #aab0b7; }

/* faq */
.faq details { border-bottom: 1px solid #bfc4c9; padding: 18px 0; max-width: 780px; }
.faq summary { font: 700 24px/1.2 var(--display); cursor: pointer; }
.faq details p { color: var(--muted); margin: 10px 0 0; max-width: 66ch; }

footer { background: var(--asphalt); color: #cfd3d8; padding: 48px 0; font-size: 16px; }
footer .wrap { display: grid; gap: 24px; }
@media (min-width: 800px) { footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
footer a { color: #fff; }
footer h3 { font: 700 20px/1 var(--display); color: #fff; margin: 0 0 10px; }

/* simple pages */
.page { padding: 72px 0 96px; }
.page h1 { font: 700 clamp(40px, 6vw, 72px)/1 var(--display); margin: 0 0 18px; }
.page h2 { font: 700 30px/1.1 var(--display); margin: 36px 0 8px; }
.page p, .page li { max-width: 68ch; }

/* busier intersections: narrower panels so four side panels still fit */
.sign[data-panels="4"] .panel.dir, .sign[data-panels="5"] .panel.dir { min-width: calc(var(--u) * 1.25); padding: 0 calc(var(--u) * .16); }
.sign[data-panels="5"] .row.bottom { padding-left: calc(var(--u) * 1.1); }

/* story */
.story h2 { max-width: 16ch; }
.big { font: 600 clamp(26px, 3vw, 34px)/1.2 var(--display); margin: 0 0 14px; }
.story-card { display: grid; gap: 10px; text-decoration: none; color: #fff; background: var(--asphalt); border-radius: var(--radius-sm); padding: 30px; border-left: 10px solid var(--paint); }
.story-card:hover .story-title { text-decoration: underline; }
.story-code { font: 700 64px/1 var(--display); letter-spacing: .12em; color: #fff; }
.story-title { font: 700 28px/1.1 var(--display); color: var(--paint); }
.story-sub { color: #cfd3d8; font-size: 16px; }

/* made to keep */
.keep { background: var(--concrete-2); }
.spec { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.spec li { font: 600 26px/1.2 var(--display); padding: 16px 0; border-bottom: 1px solid #bfc4c9; }

/* order additions */
.inline { display: flex; gap: 10px; flex-wrap: wrap; }
.inline input { flex: 1 1 160px; }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--text); font-size: 18px; padding: 12px 16px; }
.btn-ghost:hover { background: var(--text); color: #fff; }
.check-result { margin: 4px 0 0; font-size: 16px; padding: 0; }
.check-result:empty { display: none; }
.check-result.good, .check-result.warn, .check-result.bad { padding: 10px 14px; border-radius: var(--radius-sm); }
.check-result.good { background: #dff5e5; border-left: 5px solid var(--vfr); }
.check-result.warn { background: #fff4cc; border-left: 5px solid var(--paint); }
.check-result.bad { background: #fde2e3; border-left: 5px solid var(--ifr); }
.must-exist { background: #000; color: #fff; border: 3px solid var(--paint); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 20px; font-size: 16px; }
.must-exist p { margin: 0 0 8px; } .must-exist p:last-child { margin: 0; }
.must-exist strong { color: var(--paint); font: 700 22px/1.2 var(--display); display: block; margin-bottom: 4px; }
.panel-list { display: grid; gap: 10px; margin-bottom: 18px; }
.panel-row { display: grid; grid-template-columns: 11rem 4.5rem 1fr; gap: 12px; align-items: center; padding: 10px 12px; background: #fff; border: 1px solid #c9ced3; border-radius: var(--radius-sm); }
.panel-row > label { font-weight: 600; font-size: 16px; line-height: 1.2; }
.panel-row > label span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.panel-row.loc-row { background: #000; color: #fff; border-color: #000; }
.panel-row.loc-row > label span, .panel-row.loc-row .hint { color: #bfc4c9; }
.panel-row.loc-row input { border-color: var(--paint); }
.field input.code.sm, .panel-row input.code.sm { font: 700 26px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 8px 6px; width: 100%; border: 2px solid #b9bfc5; border-radius: var(--radius-sm); }
@media (max-width: 560px) { .panel-row { grid-template-columns: 1fr 4.5rem; } .panel-row .arrow-pick, .panel-row .hint { grid-column: 1 / -1; } }
.confirm { display: flex; gap: 12px; align-items: flex-start; background: #fff4cc; border: 2px solid var(--paint); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; cursor: pointer; }
.confirm input { width: 22px; height: 22px; margin-top: 2px; accent-color: #000; flex-shrink: 0; }
footer .fine { font-size: 13px; color: #9aa1a9; max-width: 60ch; }

/* aerodrome history page */
.history-hero { background: var(--asphalt); color: #fff; padding: 64px 0 56px; }
.history-hero .code-big { font: 700 clamp(80px, 16vw, 180px)/.85 var(--display); letter-spacing: .08em; color: #fff; margin: 0; }
.history-hero h1 { font: 700 clamp(30px, 4vw, 44px)/1.1 var(--display); color: var(--paint); margin: 12px 0 14px; }
.history-hero p { color: #cfd3d8; max-width: 60ch; margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { display: grid; grid-template-columns: 1fr; gap: 6px 40px; padding: 48px 0; border-bottom: 1px solid #bfc4c9; }
@media (min-width: 860px) { .timeline > li { grid-template-columns: 14rem 1fr; } }
.timeline .when { font: 700 30px/1.05 var(--display); }
.timeline .when small { display: block; font: 500 16px/1.3 var(--body); color: var(--muted); margin-top: 6px; }
.timeline h2 { font: 700 clamp(30px, 3.4vw, 40px)/1.05 var(--display); margin: 0 0 12px; }
.timeline p { margin: 0 0 14px; max-width: 66ch; }
.ack { background: var(--concrete-2); border-left: 6px solid var(--text); padding: 18px 22px; margin: 8px 0 0; max-width: 66ch; }
.sources { font-size: 15px; color: var(--muted); }
.sources li { margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
.summary .error { color: #ff9ea2; }

/* 3D viewer */
.viewer { position: relative; height: clamp(300px, 42vw, 470px); border-radius: var(--radius-sm); overflow: hidden; background: #2a2b2d; cursor: grab; touch-action: pan-y; }
.viewer:active { cursor: grabbing; }
.viewer.viewer-sm { height: clamp(240px, 26vw, 300px); margin-bottom: 8px; }
.viewer .fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.viewer.is-3d .fallback { display: none; }
.viewer-note { text-align: center; color: #cfd3d8; font-size: 15px; margin: 10px 0 0; }
.viewer-note[hidden] { display: none; }
.summary .viewer-note { margin: 0 0 16px; }
.concept { margin: 0; }
.concept figcaption { color: #aab0b7; font-size: 14px; margin-top: 10px; max-width: 60ch; }

/* register page */
.wrap.narrow { width: min(760px, 100% - 32px); }
.reg-form .field input { font: 400 18px/1.3 var(--body); padding: 12px 14px; border: 2px solid #b9bfc5; border-radius: var(--radius-sm); width: 100%; background: #fff; }
.reg-form .field input.code { font: 700 24px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.reg-done[hidden], .reg-form[hidden] { display: none; }
.reg-table { border-collapse: collapse; margin: 10px 0 20px; font-size: 18px; }
.reg-table td { padding: 8px 24px 8px 0; border-bottom: 1px solid #bfc4c9; }
.reg-table td:first-child { color: var(--muted); }
.reg-table td:last-child { font-weight: 600; }
.page .error { color: #b3141a; }

.legend-note { font: 500 15px/1 var(--body); color: var(--muted); margin-left: 8px; }
.count { float: right; font-weight: 400; color: var(--muted); font-size: 14px; }
button.linkish { background: none; border: 0; padding: 0; color: var(--paint); font: inherit; text-decoration: underline; cursor: pointer; }

.sale-strip a { color: inherit; font-weight: 700; }
.sale-strip.strip-red { background: var(--ifr); color: #fff; }
.sale-strip.strip-dark { background: #000; color: #fff; border-bottom: 2px solid var(--paint); }

/* consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; background: #000; color: #fff; border: 2px solid var(--paint); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.consent p { margin: 0; flex: 1 1 320px; font-size: 15px; }
.consent a { color: var(--paint); }
.consent div { display: flex; gap: 8px; }
.consent .btn { font-size: 18px; padding: 12px 18px; }
.consent .consent-no { background: transparent; color: #fff; border: 2px solid #fff; }

/* ===== gift boarding pass ===== */
.bp { display: grid; grid-template-columns: minmax(0, 1fr) 300px; max-width: 1100px; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); color: #fff; font-family: var(--body); }
.bp-main { background: #1b1d21; border-radius: 20px 0 0 20px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.bp-strip { background: var(--paint); color: #111; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 24px; }
.bp-sign { display: flex; align-items: center; gap: 12px; font: 600 28px/1 "Barlow Semi Condensed", var(--display); }
.bp-loc { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: #111; color: var(--paint); box-shadow: inset 0 0 0 3px var(--paint), inset 0 0 0 5px #111; border-radius: 3px; }
.bp-kind { font: 600 18px/1 var(--display); letter-spacing: .08em; }
.bp-body { padding: 22px 28px 24px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.bp-route { display: flex; align-items: flex-end; gap: 18px; }
.bp-lab { font: 600 12px/1.2 var(--body); letter-spacing: .16em; color: #9aa1a9; display: block; }
.bp-from b { display: block; font: 700 64px/.9 var(--display); letter-spacing: .02em; word-break: break-word; }
.bp-from span, .bp-to > span:last-child { font-size: 15px; color: #c9ced4; }
.bp-line { flex: 1; display: flex; align-items: center; gap: 10px; padding-bottom: 34px; min-width: 60px; }
.bp-line i { flex: 1; border-top: 2px dashed #4a5058; }
.bp-to { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.bp-tiles { display: flex; gap: 5px; }
.bp-tiles span { width: 44px; height: 52px; display: grid; place-items: center; background: #0b0b0c; border-radius: 5px; box-shadow: inset 0 0 0 2px #2c3036; font: 600 36px/1 "Barlow Semi Condensed", var(--display); text-shadow: 0 0 12px rgba(255,255,255,.75); }
.bp-tiles svg { width: 30px; height: 30px; fill: var(--vfr); filter: drop-shadow(0 0 6px var(--vfr)); }
.bp-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border-top: 1px solid #33373e; border-bottom: 1px solid #33373e; padding: 12px 0; }
.bp-fields b { display: block; font: 600 21px/1.2 var(--display); margin-top: 3px; overflow-wrap: anywhere; }
.bp-msg { margin: 0; font-size: 19px; line-height: 1.4; color: #eef0f2; min-height: 1.4em; overflow-wrap: anywhere; }
.bp-fine { margin: auto 0 0; font-size: 14px; color: #9aa1a9; }
.bp-stub { background: var(--paint); color: #111; border-radius: 0 20px 20px 0; border-left: 3px dashed #1b1d21; padding: 22px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; position: relative; }
.bp-stub::before, .bp-stub::after { content: ""; position: absolute; left: -17px; width: 30px; height: 30px; border-radius: 50%; background: var(--bp-bg, var(--concrete)); }
.bp-stub::before { top: -15px; } .bp-stub::after { bottom: -15px; }
.bp-admit { font: 700 38px/.95 var(--display); }
.bp-qr { width: 150px; height: 150px; border-radius: 8px; background: #fff; display: grid; place-items: center; font-size: 13px; color: #555; }
.bp-qr img { width: 100%; height: 100%; display: block; border-radius: 8px; }
.bp-code { font: 600 21px/1 Consolas, "SF Mono", monospace; letter-spacing: .04em; }
.bp-never { margin-top: auto; background: #111; color: var(--paint); font: 600 16px/1 var(--display); letter-spacing: .06em; padding: 7px 14px; border-radius: 999px; }
@media (max-width: 820px) {
  .bp { grid-template-columns: 1fr; }
  .bp-main { border-radius: 20px 20px 0 0; }
  .bp-stub { border-radius: 0 0 20px 20px; border-left: 0; border-top: 3px dashed #1b1d21; }
  .bp-stub::before, .bp-stub::after { top: -17px; bottom: auto; left: -15px; }
  .bp-stub::after { left: auto; right: -15px; }
  .bp-from b { font-size: 48px; }
  .bp-tiles span { width: 34px; height: 42px; font-size: 28px; }
  .bp-fields { grid-template-columns: 1fr 1fr; }
  .bp-sign { font-size: 22px; } .bp-loc { width: 34px; height: 34px; }
}
@media print {
  body * { visibility: hidden; }
  .bp, .bp * { visibility: visible; }
  .bp { position: absolute; left: 0; top: 0; width: 100%; filter: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* gift purchase page */
.gift-hero { background: var(--asphalt); color: #fff; padding: 48px 0 64px; --bp-bg: var(--asphalt); }
.gift-hero h1 { font: 700 clamp(44px, 7vw, 88px)/.92 var(--display); margin: 0 0 14px; max-width: 16ch; }
.gift-hero .lede { color: #cfd3d8; font-size: 20px; max-width: 60ch; margin: 0 0 34px; }
.gift-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 2px solid var(--text); margin-top: 8px; }
.gift-points > div { padding: 18px 20px 18px 0; border-bottom: 1px solid #bfc4c9; }
.gift-points b { display: block; font: 700 24px/1.15 var(--display); margin-bottom: 4px; }
.gift-points p { margin: 0; color: var(--muted); font-size: 16px; }
.seg { display: inline-flex; border: 2px solid #b9bfc5; border-radius: var(--radius-sm); overflow: hidden; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 11px 16px; cursor: pointer; background: #fff; font-weight: 600; font-size: 16px; }
.seg input:checked + span { background: #111; color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--edge-blue); outline-offset: -3px; }
.gift-band { background: var(--paint); color: #000; }
.gift-band .wrap { display: grid; gap: 28px; padding: 56px 0; align-items: center; }
@media (min-width: 900px) { .gift-band .wrap { grid-template-columns: 1fr 1.25fr; } }
.gift-band h2 { font: 700 clamp(38px, 5vw, 58px)/1 var(--display); margin: 0 0 12px; }
.gift-band p { margin: 0 0 20px; font-size: 19px; max-width: 46ch; }
.gift-band .btn { background: #111; color: var(--paint); }
.gift-band .btn:hover { background: #000; }
.gift-band .bp { --bp-bg: var(--paint); transform: rotate(-1.5deg); }
.gift-banner { background: #111; color: #fff; border: 3px solid var(--paint); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 26px; }
.gift-banner b { color: var(--paint); font: 700 26px/1.1 var(--display); display: block; margin-bottom: 4px; }
.gift-banner q { display: block; margin-top: 8px; font-size: 18px; color: #eef0f2; }
.gift-banner[hidden], [data-gift-only][hidden], [data-paid-only][hidden] { display: none !important; }
#g-rec[hidden]{display:none}
.pay-marks[hidden], .summary .small[hidden]{display:none}
