/* JimGO Taxis: airport transfers page. Surfaces square, buttons pill (design plan corner picks). */

/* ---------- opener: split, the departures board over the airport photo ---------- */
.ap-open { position: relative; min-height: max(560px, 78svh); padding-top: var(--head-h); display: flex; flex-direction: column; justify-content: center; overflow: clip; background: var(--tarmac); isolation: isolate; }
.ap-open-in, .ap-open-facts { position: relative; z-index: 2; pointer-events: none; }
.ap-open-in > *, .ap-open-facts > * { pointer-events: auto; }
.ap-open-in { padding-top: clamp(18px, 3.4vh, 44px); }
.ap-open-facts { padding-bottom: clamp(22px, 4vh, 48px); }
.ap-open-copy { width: calc(50vw - max(var(--gut), (100vw - 1320px) / 2) - 52px); }
.ap-open .h1 { font-size: clamp(2.2rem, 3.45vw, 3.5rem); margin-bottom: .34em; }
.ap-open .lede { margin-bottom: 1.4em; }
.ap-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: clamp(20px, 3.4vh, 34px); border-top: 1px solid rgba(251, 229, 193, .12); }
.ap-facts li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(251, 229, 193, .12); color: var(--fog); font-size: .95rem; line-height: 1.35; }
.ap-facts .ic { width: 40px; height: 40px; padding: 9px; border: 2px solid rgba(232, 169, 65, .55); color: var(--amber); }
.ap-facts b { display: block; color: var(--cream); font-weight: 600; font-size: 1rem; }

.ap-media { position: absolute; z-index: 1; top: var(--head-h); bottom: 0; left: 50vw; right: 0; }
.ap-photo { position: absolute; inset: 0; overflow: hidden; background: var(--asphalt); }
.ap-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 92% 50%; transform-origin: 70% 60%; will-change: transform; }
.ap-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(18, 17, 16, .55) 0%, rgba(18, 17, 16, 0) 42%), linear-gradient(90deg, rgba(18, 17, 16, .35), rgba(18, 17, 16, 0) 30%); }
.ap-trail { position: absolute; left: 0; right: 0; bottom: 14%; height: 18%; z-index: 1; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.ap-trail i { position: absolute; top: 40%; left: 0; width: 38%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 70, 50, 0), rgba(255, 90, 60, .85)); filter: blur(1px); box-shadow: 0 0 14px 2px rgba(255, 80, 50, .5); transform: translateX(-120%); }
.ap-trail i + i { top: 70%; height: 2px; background: linear-gradient(90deg, rgba(255, 230, 170, 0), rgba(255, 236, 190, .9)); box-shadow: 0 0 14px 2px rgba(255, 220, 150, .45); }
.ap-media-edge { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); transform-origin: 50% 0; z-index: 2; }

/* the board */
.board { position: absolute; z-index: 3; left: -36px; top: clamp(14px, 2.6vh, 30px); width: min(560px, 80%); padding: 14px 16px 12px; background: #0E0D0C; border: 1px solid rgba(251, 229, 193, .07); box-shadow: 0 46px 80px -34px rgba(0, 0, 0, .9), 0 0 0 6px rgba(18, 17, 16, .35); transform-style: preserve-3d; will-change: transform; }
.board-head { display: flex; align-items: center; gap: 16px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid rgba(251, 229, 193, .1); }
.board-title { display: inline-flex; align-items: center; gap: 8px; font: 760 1.15rem/1 var(--display); font-stretch: 92%; color: var(--amber); }
.board-title .ic { width: 22px; height: 22px; transform: rotate(45deg); }
.board-from { color: var(--fog); font-size: .9rem; }
.board-clock { margin-left: auto; font: 700 1.15rem/1 var(--display); font-stretch: 86%; color: var(--cream); font-variant-numeric: tabular-nums; }
.board-clock:empty { display: none; }
.board-clock i { font-style: normal; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.board-cols { display: grid; grid-template-columns: 11fr 10fr; gap: 0 4.6%; padding: 0 8px 6px; }
.board-cols span { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(251, 229, 193, .45); }
.board-rows { container-type: inline-size; display: grid; gap: 5px; }
.board-row { position: relative; display: grid; grid-template-columns: 11fr 10fr; gap: 0 4.6%; align-items: center; width: 100%; min-height: 44px; padding: 5px 8px; background: transparent; border: 0; cursor: pointer; text-align: left; transition: background-color .3s; }
.board-row::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--amber); transform: scaleY(0); transition: transform .4s var(--ease); }
.board-row:hover { background: rgba(251, 229, 193, .04); }
.board-row.is-on { background: rgba(232, 169, 65, .08); }
.board-row.is-on::before { transform: scaleY(1); }
.board-row:focus-visible { outline-offset: 0; }
.fl { display: grid; gap: 3px; }
.fl-name { grid-template-columns: repeat(11, 1fr); }
.fl-status { grid-template-columns: repeat(10, 1fr); }
.c { position: relative; display: grid; place-items: center; aspect-ratio: .72; overflow: hidden; background: linear-gradient(180deg, #363330 0 49.4%, #2B2926 50.6%); font: 600 17px/1 var(--body); font-size: 4.1cqi; color: #F6EEE0; perspective: 120px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 1px 0 rgba(0, 0, 0, .6); }
.c::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin-top: -.5px; background: rgba(0, 0, 0, .75); pointer-events: none; }
.c b { display: block; width: 100%; height: 1em; line-height: 1; text-align: center; font-weight: 600; transform-origin: 50% 50%; backface-visibility: hidden; }
.board-row.is-on .c b { color: var(--amber); }
.fl-status .c b { color: #EBDDC4; }
.board-row.is-on .fl-status .c b { color: var(--amber-hot); }
.board-detail { margin: 10px 0 0; padding: 10px 8px 0; border-top: 1px solid rgba(251, 229, 193, .1); color: var(--text); font-size: .95rem; line-height: 1.45; min-height: 3.3em; overflow: clip; }
.board-detail span { display: block; }
html.js:not(.reveal-all) .board:not(.is-ready) .c b { opacity: 0; }

/* ---------- benefits with the luggage photo ---------- */
.ap-why { overflow: clip; }
.ap-why-in { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ap-why-photo .frame-img { height: min(72vh, 640px); max-height: none; }
.ap-why-copy .lede { margin: 18px 0 8px; }
.ap-list { position: relative; margin-top: 18px; }
.ap-list::before { content: ''; position: absolute; left: 23px; top: 26px; bottom: 26px; width: 2px; background: rgba(251, 229, 193, .1); }
.ap-list::after { content: ''; position: absolute; left: 23px; top: 26px; bottom: 26px; width: 2px; background: var(--amber); transform-origin: 50% 0; transform: scaleY(var(--grow, 1)); }
.ap-list li { position: relative; z-index: 1; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; padding: 11px 0; }
.ap-list-ic { display: grid; place-items: center; width: 48px; height: 48px; background: var(--tarmac); border: 2px solid rgba(232, 169, 65, .65); color: var(--amber); }
.ap-list-ic .ic { width: 24px; height: 24px; }
.ap-list h3 { font-size: clamp(1.15rem, 1.4vw, 1.35rem); line-height: 1.2; font-weight: 720; font-stretch: 92%; margin: 2px 0 3px; }
.ap-list p { margin: 0; color: var(--fog); }
.bag-tag { position: absolute; z-index: 2; right: -26px; top: 9%; width: 176px; padding: 34px 18px 16px; color: var(--ink); isolation: isolate; transform-origin: 50% -44px; display: flex; flex-direction: column; gap: 6px; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); pointer-events: none; }
.bag-tag::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle 7px at 50% 17px, var(--tarmac) 0 6px, #C9B48F 6.5px 9px, transparent 9.5px), var(--cream); clip-path: polygon(22% 0, 78% 0, 100% 14%, 100% 100%, 0 100%, 0 14%); }
.bag-tag::before { content: ''; position: absolute; left: calc(50% - 1px); top: -46px; width: 2px; height: 58px; background: linear-gradient(var(--amber), #B9842C); }
.bag-tag-brand { font: 800 1.15rem/1 var(--display); font-stretch: 84%; color: var(--ink); padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.bag-tag-row { display: flex; flex-direction: column; line-height: 1.15; }
.bag-tag-row small { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6A6255; }
.bag-tag-row b { font-size: .95rem; font-weight: 600; }
.bag-tag-code { font: 800 1.35rem/1 var(--display); font-stretch: 80%; color: #9A6614; margin-top: 2px; }
.bag-tag-bars { height: 30px; margin-top: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 8px, var(--ink) 8px 9px, transparent 9px 12px); }

/* ---------- signature: the flight tracker. Static and complete by default; .is-live pins it ---------- */
.ap-track { position: relative; overflow: clip; padding-block: clamp(80px, 11vh, 140px); background: radial-gradient(120% 80% at 70% 0%, #2B2a33 0%, #1E1D22 45%, var(--tarmac) 80%); }
.trk-head { position: relative; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.trk-head .h2 { flex: 1 1 560px; }
.trk-progress { display: none; gap: 8px; padding-top: 14px; }
.trk-progress i { position: relative; width: 38px; height: 4px; background: rgba(251, 229, 193, .16); overflow: hidden; }
.trk-progress i::after { content: ''; position: absolute; inset: 0; background: var(--amber); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.trk-stage { position: relative; aspect-ratio: 1600 / 640; margin-top: 30px; }
.trk-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.trk-sky .star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--cream); }
.trk-cloud { position: absolute; height: 46px; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(184, 177, 165, .3), rgba(184, 177, 165, 0)); filter: blur(2px); }
.trk-cloud.k1 { top: 18%; left: 10%; width: 300px; }
.trk-cloud.k2 { top: 36%; left: 52%; width: 420px; height: 60px; }
.trk-cloud.k3 { top: 9%; left: 72%; width: 240px; }
.trk-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trk-road { fill: #181715; }
.trk-ground { stroke: rgba(251, 229, 193, .22); stroke-width: 2; }
.trk-lane { stroke: var(--amber); stroke-width: 4; stroke-dasharray: 46 40; opacity: .8; }
.trk-runway { fill: none; stroke: rgba(251, 229, 193, .55); stroke-width: 3; stroke-dasharray: 26 16; }
.trk-lights rect { fill: var(--amber); opacity: .25; }
.trk-edge rect { fill: #FFF4DA; }
.trk-hills { fill: #201F1D; stroke: rgba(251, 229, 193, .1); stroke-width: 1.5; }
.trk-arc-bg { fill: none; stroke: rgba(251, 229, 193, .2); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.trk-arc { fill: none; stroke: var(--amber); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(232, 169, 65, .55)); }
.tm { fill: none; stroke: rgba(251, 229, 193, .55); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tm-amber { stroke: var(--amber); }
.tm-glass { fill: rgba(232, 169, 65, .14); }
.trk-beam { opacity: .75; }
.trk-plane path { fill: var(--cream); stroke: rgba(18, 17, 16, .9); stroke-width: .5; }
.trk-tag { position: absolute; left: 0; top: 0; display: none; padding: 6px 12px; background: rgba(18, 17, 16, .82); border: 1px solid rgba(232, 169, 65, .7); color: var(--cream); font: 700 .95rem/1 var(--display); font-stretch: 90%; pointer-events: none; white-space: nowrap; transition: background-color .3s, color .3s; }
.trk-tag.is-late { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.trk-moon { position: absolute; right: 16%; top: 24%; width: 38px; height: 38px; background: radial-gradient(circle closest-side at 50% 50%, #FFF4DA 0, #E9D7B4 62%, #CDB893 94%, rgba(205, 184, 147, 0) 100%); filter: drop-shadow(0 0 22px rgba(251, 229, 193, .28)); }
.trk-car { position: absolute; left: 67.6%; bottom: 19.7%; width: 13.3%; z-index: 2; will-change: transform; }
.trk-car > img { width: 100%; height: auto; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .55)); }
.trk-car .wheel { position: absolute; width: 10.5%; aspect-ratio: 1; margin: -5.25% 0 0 -5.25%; will-change: transform; }
.trk-car .wheel img { width: 100%; height: 100%; }
.trk-car .w-rear { left: 21.43%; top: 79.8%; }
.trk-car .w-front { left: 80.7%; top: 76.4%; }
.trk-roof { position: absolute; left: 36%; top: -14%; width: 22%; height: 40%; background: radial-gradient(50% 50% at 50% 60%, rgba(255, 214, 120, .55), rgba(255, 214, 120, 0) 70%); mix-blend-mode: screen; pointer-events: none; }
.trk-sign { position: absolute; right: 2.5%; bottom: 30%; z-index: 1; display: grid; gap: 2px; padding: 10px 16px 12px; background: #23221F; border: 2px solid var(--cream); color: var(--cream); font: 700 .98rem/1.2 var(--body); }
.trk-sign b { justify-self: start; padding: 2px 8px; margin-bottom: 4px; background: var(--amber); color: var(--ink); font: 800 1rem/1.1 var(--display); }
.trk-sign::after { content: ''; position: absolute; left: 50%; top: 100%; width: 4px; height: 80px; margin-left: -2px; background: #5E5850; z-index: -1; }
.trk-panel { position: relative; z-index: 3; margin-top: 34px; }
.trk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(480px, 100%), 480px)); gap: 26px 28px; }
.trk-step { border-top: 3px solid var(--amber); padding: 16px 26px 0 29px; }
.trk-count { display: block; color: var(--amber); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.trk-step .h3 { font-size: clamp(1.25rem, 1.6vw, 1.6rem); margin-bottom: .4em; }
.trk-step p { color: var(--text); margin: 0 0 14px; }
.trk-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid rgba(232, 169, 65, .5); color: var(--cream); font-size: .9rem; font-weight: 500; }
.trk-chip .ic, .trk-clock { width: 18px; height: 18px; color: var(--amber); flex: none; }
.trk-clock { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; }
.trk-chip.is-late { background: var(--amber); color: var(--ink); border-color: var(--amber); font-weight: 600; }
.trk-chip.is-late .trk-clock { stroke: var(--ink); }

/* live (pinned) layout */
.ap-track.is-live { height: 100svh; min-height: 620px; padding: 0; }
.ap-track.is-live .trk-head { position: absolute; left: 0; right: 0; top: calc(var(--head-h) * .8 + 2vh); margin: 0 auto; }
.ap-track.is-live .trk-progress { display: flex; }
.ap-track.is-live .trk-stage { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; }
.ap-track.is-live .trk-car { left: 0; bottom: auto; top: 0; }
.ap-track.is-live .trk-sign { right: auto; bottom: auto; left: 0; top: 0; }
.ap-track.is-live .trk-tag { display: block; opacity: 0; }
.ap-track.is-live .trk-panel { position: absolute; left: 0; right: 0; bottom: max(26px, 5vh); margin: 0; }
.ap-track.is-live .trk-steps { display: block; position: relative; width: min(480px, 100%); height: var(--ph, 260px); }
.ap-track.is-live .trk-step { position: absolute; left: 0; bottom: 0; width: 100%; padding: 22px 26px 24px; border-top: 0; border-left: 3px solid var(--amber); background: rgba(22, 21, 20, .88); backdrop-filter: blur(8px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }

/* ---------- airports we cover: boarding-pass cards ---------- */
.ap-airports { overflow: clip; isolation: isolate; }
.air-paths { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.air-paths path { fill: none; stroke: rgba(232, 169, 65, .22); stroke-width: 2; }
.passes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pass { position: relative; display: flex; flex-direction: column; min-height: min(50vh, 420px); padding: 20px 22px 0; background: var(--cream); color: var(--ink); text-decoration: none; isolation: isolate; overflow: hidden; transform-style: preserve-3d; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8); }
.pass:nth-child(4) { background: var(--amber); }
.pass::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .38), rgba(255, 255, 255, 0)); transform: skewX(-18deg) translateX(var(--sx, 0%)); }
.pass-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.pass-brand { display: inline-flex; align-items: center; gap: 7px; font: 800 1rem/1 var(--display); font-stretch: 86%; }
.pass-brand .ic { width: 18px; height: 18px; transform: rotate(45deg); }
.pass-lbl, .pass-from small { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6A6255; }
.pass:nth-child(4) .pass-lbl, .pass:nth-child(4) .pass-from small { color: #5A3F12; }
.pass-from { display: flex; flex-direction: column; margin-top: 14px; font-weight: 600; line-height: 1.25; }
.pass-code { display: block; margin: 16px 0 6px; font: 840 clamp(3rem, 4.3vw, 3.9rem)/.9 var(--display); font-stretch: 76%; letter-spacing: -.01em; transition: font-stretch .7s var(--ease), letter-spacing .7s var(--ease); }
.pass:hover .pass-code, .pass:focus-visible .pass-code { font-stretch: 100%; letter-spacing: .02em; }
.pass h3 { color: var(--ink); font-size: clamp(1.2rem, 1.45vw, 1.45rem); line-height: 1.12; margin-bottom: .4em; }
.pass p { color: #4A453D; font-size: .98rem; margin: 0 0 18px; }
.pass:nth-child(4) p { color: #3A2C14; }
.pass-stub { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: auto -22px 0; padding: 16px 22px 18px; border-top: 2px dashed rgba(29, 28, 26, .4); transform-origin: 0 0; transition: transform .6s var(--ease); }
.pass-stub::before, .pass-stub::after { content: ''; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--tarmac); }
.pass-stub::before { left: -12px; }
.pass-stub::after { right: -12px; }
.pass:hover .pass-stub { transform: rotate(-2deg) translateY(5px); }
.pass-bars { width: 92px; height: 34px; flex: none; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 8px, var(--ink) 8px 9px, transparent 9px 12px, var(--ink) 12px 15px, transparent 15px 17px); }
.pass-go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: .95rem; color: #8A5A0E; }
.pass:nth-child(4) .pass-go { color: var(--ink); }
.pass-go .ic { transition: transform .35s var(--ease); }
.pass:hover .pass-go .ic { transform: translateX(5px); }

/* ---------- the car with callouts ---------- */
.ap-car { overflow: clip; }
.ap-car-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ap-car .spec { margin-bottom: 0; }
.ap-car-copy .lede { margin-top: 20px; }
.car-img { height: auto; max-height: none; aspect-ratio: 1536 / 823; }
.car-pan { position: absolute; inset: -3%; will-change: transform; }
.car-pan > img { width: 100%; height: 100%; object-fit: cover; }
.car-sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(104deg, rgba(255, 244, 218, 0) 38%, rgba(255, 244, 218, .26) 50%, rgba(255, 244, 218, 0) 62%); background-size: 250% 100%; background-position: 130% 0; }
.callout { position: absolute; left: var(--x); top: var(--y); z-index: 2; }
.callout i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; background: var(--amber); box-shadow: 0 0 0 3px rgba(18, 17, 16, .8); }
.callout i::after { content: ''; position: absolute; inset: -7px; border: 2px solid var(--amber); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
.callout:nth-child(4) i::after { animation-delay: .8s; }
.callout:nth-child(5) i::after { animation-delay: 1.6s; }
@keyframes ping { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
.callout::before { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--amber); transform-origin: 0 50%; transform: rotate(-40deg) scaleX(var(--ln, 1)); }
.callout em { position: absolute; left: 26px; bottom: 22px; white-space: nowrap; padding: 8px 12px; background: rgba(18, 17, 16, .9); border-left: 3px solid var(--amber); color: var(--cream); font-style: normal; font-size: .9rem; font-weight: 500; }
.callout em .sm { display: none; }
.callout.is-low::before { transform: rotate(40deg) scaleX(var(--ln, 1)); top: 0; bottom: auto; }
.callout.is-low em { bottom: auto; top: 22px; }
.callout.is-left::before { left: auto; right: 0; transform-origin: 100% 50%; transform: rotate(40deg) scaleX(var(--ln, 1)); }
.callout.is-left em { left: auto; right: 26px; border-left: 0; border-right: 3px solid var(--amber); }
.callout.is-left.is-low::before { transform: rotate(-40deg) scaleX(var(--ln, 1)); top: 0; bottom: auto; }

/* ---------- planner ---------- */
.ap-plan { overflow: clip; }
.contrail { position: absolute; left: 0; right: 0; top: 14px; height: 64px; pointer-events: none; }
.contrail svg { width: 100%; height: 100%; overflow: visible; }
.contrail path { fill: none; stroke: rgba(29, 28, 26, .22); stroke-width: 2; stroke-dasharray: 10 12; animation: trail 2.4s linear infinite; }
@keyframes trail { to { stroke-dashoffset: -44; } }
.contrail-plane { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; color: var(--ink); will-change: transform; }
.contrail-plane .ic { width: 100%; height: 100%; fill: var(--paper); stroke-width: 1.6; }
.ap-plan .sec-head { position: relative; }
.ap-plan-link { margin: 26px 0 0; }
.ap-plan .pl-sweep { position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none; background: linear-gradient(100deg, rgba(232, 169, 65, 0), rgba(232, 169, 65, .1) 50%, rgba(232, 169, 65, 0)); }
.ap-plan .pl-out > :not(.pl-sweep) { position: relative; }
.ap-plan-link .text-link { color: #8A5A0E; }

/* ---------- FAQ ---------- */
.ap-faq { overflow: clip; }
.ap-faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ap-faq-photo { position: sticky; top: 120px; }
.ap-faq-photo .frame-img { height: min(70vh, 620px); max-height: none; }
.ap-faq-photo .frame-img img { object-position: 46% 50%; }
.name-board { position: absolute; right: -22px; bottom: 11%; z-index: 2; display: grid; gap: 4px; padding: 16px 22px 18px; background: #FFFDF8; color: var(--ink); box-shadow: 0 26px 40px -18px rgba(0, 0, 0, .7); transform: rotate(-3deg); will-change: transform; }
.name-board small { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6A6255; }
.name-board b { font: 840 clamp(1.5rem, 2vw, 1.9rem)/1 var(--display); font-stretch: 80%; }
.name-board span { font-size: .9rem; color: #4A453D; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .board .c b { opacity: 1; }
  .board-clock i, .callout i::after, .contrail path { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .passes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pass { min-height: 400px; }
}
@media (max-width: 960px) {
  .ap-open { display: block; min-height: 0; }
  .ap-open-copy { width: 100%; }
  .ap-open-in { padding-top: 22px; }
  .ap-media { position: relative; left: auto; right: auto; top: auto; bottom: auto; height: clamp(420px, 62svh, 560px); margin-top: 26px; }
  .ap-photo img { object-position: 70% 50%; }
  .board { left: var(--gut); right: var(--gut); width: auto; top: 16px; }
  .ap-open-facts { padding-top: 6px; }
  .ap-why-in, .ap-car-in, .ap-faq-in { grid-template-columns: 1fr; }
  .ap-faq-photo { position: relative; top: 0; }
  .ap-car-in > figure { order: -1; }
  .bag-tag { right: 10px; }
  .name-board { right: 10px; }
}
@media (max-width: 760px) {
  .ap-open .h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .ap-open .lede { font-size: 1rem; margin-bottom: 1.1em; }
  .ap-open .btn-row .btn { flex: 1 1 auto; padding: 0 1.1em; }
  .ap-facts { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .ap-facts li { gap: 10px; font-size: .88rem; align-items: flex-start; }
  .ap-facts .ic { width: 34px; height: 34px; padding: 7px; }
  .board { padding: 10px 10px 8px; }
  .board-from { display: none; }
  .board-row { padding: 6px 6px; }
  .board-detail { font-size: .9rem; }
  .ap-why-photo .frame-img { height: min(56vh, 420px); }
  .bag-tag { width: 146px; padding: 30px 14px 12px; top: 6%; }
  .bag-tag-code { font-size: 1.1rem; }
  .ap-track.is-live .trk-head { top: calc(var(--head-h) + 8px); }
  .ap-track.is-live .trk-progress { display: none; }
  .ap-track.is-live .trk-panel { bottom: 16px; }
  .ap-track.is-live .trk-step { padding: 16px 18px 18px; }
  .trk-step .h3 { font-size: 1.3rem; }
  .trk-sign { padding: 6px 10px 8px; font-size: .8rem; }
  .trk-sign b { font-size: .85rem; }
  .trk-sign::after { height: 40px; }
  .passes { grid-template-columns: 1fr; }
  .pass { min-height: 0; }
  .callout em { font-size: .8rem; padding: 6px 9px; }
  .callout em .lg { display: none; }
  .callout em .sm { display: inline; }
  .callout::before { width: 24px; }
  .callout em { left: 18px; bottom: 16px; }
  .callout.is-left em { right: 18px; }
  .callout.is-low em { top: 16px; }
  .name-board { padding: 12px 16px 14px; }
  .ap-faq-photo .frame-img { height: min(56vh, 420px); }
  .ap-car-photo figcaption { display: none; }
  .callout.is-left.is-low em { top: auto; bottom: 16px; }
  .callout.is-left.is-low::before { top: auto; bottom: 0; transform: rotate(40deg) scaleX(var(--ln, 1)); }
  .ap-track:not(.is-live) .trk-sign { display: none; }
}
