/* Playful layer on top of site.css: airport details (route, split-flap board, taxiway signs, FIDS, boarding passes, runway) */
:root { --sky: #2f8fd8; --fids: #121416; --fidsline: #2a2d31; --amber: #ffcf3a; }
@keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes flipin { 0% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(4deg) scale(1.06); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.025); } 100% { transform: scale(1); } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* hero with flight route */
.hero { position: relative; isolation: isolate; padding-block: 12px 24px; }
.route { position: absolute; left: -20px; top: -40px; width: calc(100% + 40px); height: calc(100% + 80px); z-index: -1; pointer-events: none; overflow: visible; }
.route path { stroke: var(--sky); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; opacity: .55; }
.routeplane { color: var(--sky); }
.herotext > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.herotext > :nth-child(2) { animation-delay: .08s; }
.herotext > :nth-child(3) { animation-delay: .16s; }
.herotext > :nth-child(4) { animation-delay: .24s; }
.hero h1 { margin-top: 22px; }
.mark { display: inline-block; transform: rotate(-2deg); }
.btn { transition: transform .15s, box-shadow .15s, background .15s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn .arr { display: inline-block; transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* split-flap board */
.board { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.boardlabel { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cells { display: inline-flex; gap: 3px; perspective: 400px; }
.cells i { font: 500 17px/1 var(--mono); font-style: normal; color: var(--amber); background: var(--fids); width: 1.25em; height: 1.65em; display: grid; place-items: center; border-radius: 3px; position: relative; }
.cells i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .6); }
.cells i.flip { animation: flipin .07s linear; }

/* sticker on the featured video */
.yt { position: relative; }
.sticker { position: absolute; z-index: 2; top: -16px; right: -10px; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); font: 800 17px/1 var(--display); transform: rotate(-8deg); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); animation: wobble 3.2s ease-in-out infinite; }
.tilt .thumb { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.tilt:hover .thumb { transform: rotate(-1.2deg) translateY(-4px); box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .55); }

/* taxiway-sign section links */
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: -40px; }
.tsign { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; border-radius: 6px; overflow: hidden; transition: transform .2s; }
.tsign:hover { transform: translateY(-3px) rotate(-.6deg); }
.tsign b { grid-row: span 2; display: grid; place-items: center; min-width: 64px; background: #000; color: var(--yellow); font: 800 34px/1 var(--display); box-shadow: inset 0 0 0 3px var(--yellow), inset 0 0 0 5px #000; }
.tsign span { background: var(--yellow); padding: 14px 18px 2px; font: 800 26px/1 var(--display); text-transform: uppercase; display: flex; justify-content: space-between; }
.tsign span i { font-style: normal; transition: transform .2s; }
.tsign:hover span i { transform: translateY(3px); }
.tsign small { background: var(--yellow); padding: 4px 18px 14px; font-size: 14px; color: #3d3400; }

/* flight information display for the latest posts */
.fids { margin-top: 24px; background: var(--fids); border-radius: 16px; padding: 10px 6px; color: #e9eaec; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6); }
.fidshead, .fidsrow { display: grid; grid-template-columns: 92px 1fr 220px 112px; gap: 18px; align-items: center; padding: 14px 18px; }
.fidshead { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8a8f96; padding-block: 8px 10px; }
.fidsrow { border-top: 1px solid var(--fidsline); border-radius: 8px; transition: background .15s; animation: rise .5s both; animation-delay: var(--d); }
.fidsrow:hover { background: #1c1f22; }
.fidsrow:hover .fdest { color: var(--amber); }
.fno { font: 500 15px var(--mono); color: var(--amber); }
.fdest { font: 600 17px/1.35 var(--body); min-width: 0; transition: color .15s; }
.fgate { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: #b9bdc2; }
.fstat { justify-self: start; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 4px; background: #24282c; color: #c8ccd0; white-space: nowrap; }
.fstat.vid { background: var(--amber); color: #111; }
.fstat:not(.vid) { animation: blink 2.4s steps(1) infinite; }

/* category chips as small taxiway signs */
.chip, .minisign { font: 700 13px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; padding: 9px 12px; border-radius: 4px; background: #000; color: var(--yellow); box-shadow: inset 0 0 0 2px var(--yellow), inset 0 0 0 3px #000; transition: transform .15s; }
.chip:hover, .minisign:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--yellow), inset 0 0 0 3px #000; }
.chip.on { background: var(--yellow); color: #000; box-shadow: none; }
.minisign { display: inline-block; }

/* videos tilt on hover */
.v .thumb { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.v:nth-child(odd):hover .thumb { transform: rotate(-1.5deg) translateY(-4px); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .5); }
.v:nth-child(even):hover .thumb { transform: rotate(1.5deg) translateY(-4px); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .5); }

/* boarding passes */
.passes { display: grid; gap: 12px; margin: 22px 0 26px; }
.passes.grid { grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 0; }
.pass { display: grid; grid-template-columns: 1fr 96px; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; transition: transform .2s, box-shadow .2s; }
.pass:hover { transform: translateY(-3px) rotate(-.5deg); box-shadow: inset 0 0 0 1.5px var(--fg), 0 16px 30px -22px rgba(0, 0, 0, .45); }
.pmain { padding: 16px 18px; display: grid; gap: 4px; min-width: 0; }
.pmain strong { font: 800 22px/1.1 var(--display); }
.pdesc { color: var(--muted); font-size: 14px; }
.pstub { border-left: 2px dashed rgba(0, 0, 0, .25); padding: 14px; display: grid; justify-items: center; align-content: center; gap: 2px; background: var(--yellow); border-radius: 0 14px 14px 0; }
.pstub b { font: 800 26px/1 var(--display); }
.pstub .label { color: #4a3f00; }
.pgo { font: 600 12px var(--body); margin-top: 4px; }

/* quiz: progress as a flight from DEP to ARR */
.flightbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font: 500 11px var(--mono); color: var(--muted); }
.fb-track { position: relative; height: 22px; margin-inline: 10px; background: linear-gradient(90deg, #c9c9c4 50%, transparent 50%) 0 50% / 10px 2px repeat-x; }
.fb-plane { position: absolute; top: 1px; left: 0; transform: translateX(-50%) rotate(90deg); color: var(--fg); transition: left .6s cubic-bezier(.3, .8, .3, 1); }
.qcard.hit { animation: pop .35s ease-out; }
.qcard.miss .opts { animation: shake .35s ease-out; }

/* newsletter as boarding pass */
.ticket { display: grid; grid-template-columns: 1.4fr 1fr; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -45px rgba(0, 0, 0, .6); }
.tmain { background: var(--yellow); padding: 40px 44px; display: grid; gap: 10px; align-content: center; }
.tmain .label { color: #4a3f00; }
.tmain h2 { font: 800 clamp(26px, 3vw, 36px)/1.08 var(--display); margin: 0; text-wrap: balance; }
.tfields { display: grid; grid-template-columns: repeat(4, auto); gap: 18px 26px; margin: 16px 0 0; justify-content: start; }
.tfields dt { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #6b5b00; }
.tfields dd { margin: 2px 0 0; font: 700 16px var(--body); }
.tstub { background: var(--fids); color: #fff; padding: 36px 36px 26px; border-left: 3px dashed var(--yellow); display: grid; align-content: center; gap: 16px; }
.tstub .form { display: grid; gap: 10px; }
.tstub .label { color: #a5a9ae; }
.tstub .btn { background: var(--yellow); color: #111; }
.tstub .formmsg { color: var(--amber); margin: 0; }
.barcode { height: 40px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 9px, #fff 9px 12px, transparent 12px 14px); opacity: .85; border-radius: 2px; }

/* reading progress with a little plane */
.readbar { --p: 0; position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 10; pointer-events: none; }
.readbar::before { content: ""; position: absolute; inset: 0; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(var(--p)); }
.readbar span { position: absolute; top: -9px; left: calc(var(--p) * (100% - 22px)); color: var(--fg); transform: rotate(90deg); }

/* runway above the footer */
.runway { margin-top: 24px; height: 64px; background: #2b2e31; border-radius: 10px 10px 0 0; position: relative; display: flex; align-items: center; justify-content: space-between; padding-inline: 18px; overflow: hidden; }
.runway::before { content: ""; position: absolute; left: 70px; right: 70px; top: 50%; height: 3px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, #fff 0 34px, transparent 34px 64px); opacity: .9; }
.rwnum { font: 800 22px/1 var(--display); color: #fff; letter-spacing: .05em; }
.rwplane { position: absolute; left: 70px; top: 50%; color: var(--yellow); transform: translateY(-50%) rotate(90deg); transition: left 1.6s cubic-bezier(.5, 0, .2, 1); }
.runway:hover .rwplane { left: calc(100% - 110px); }
.footer { border-top: 0; }

@media (max-width: 900px) {
  .signs { grid-template-columns: 1fr; margin-top: -20px; }
  .fidshead { display: none; }
  .fidsrow { grid-template-columns: 70px 1fr; row-gap: 6px; }
  .fgate, .fstat { grid-column: 2; }
  .ticket { grid-template-columns: 1fr; }
  .tstub { border-left: 0; border-top: 3px dashed var(--yellow); }
  .passes.grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .tmain { padding: 28px 24px; }
  .tstub { padding: 26px 24px; }
  .tfields { grid-template-columns: repeat(2, auto); }
  .sticker { width: 54px; height: 54px; font-size: 14px; right: -4px; }
  .cells i { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .herotext > *, .fidsrow, .sticker, .fstat, .qcard.hit, .qcard.miss .opts { animation: none !important; }
  .routeplane { display: none; }
}

/* language switch */
.nav .right { display: flex; align-items: center; gap: 12px; }
.langswitch { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font: 500 12px/1 var(--mono); }
.langswitch a { padding: 7px 10px; border-radius: 999px; color: var(--muted); letter-spacing: .06em; }
.langswitch a:hover { color: var(--fg); }
.langswitch a.on { background: var(--fg); color: #fff; }
.langtag { display: inline-block; vertical-align: middle; font: 500 10px/1 var(--mono); letter-spacing: .06em; padding: 3px 5px; border-radius: 3px; background: var(--soft); color: var(--muted); }
.fidsrow .langtag { background: #2a2e33; color: #a5a9ae; }
.langnote { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--soft); font-size: 15px; color: #33363a; justify-self: start; }

/* book promotion, styled like the cover: black grid, yellow type */
.book { display: grid; grid-template-columns: 330px 1fr; gap: 56px; align-items: center; padding: 48px 56px; border-radius: 26px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background-color: #0d0e0f; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 28px 28px; }
.book::after { content: ""; position: absolute; right: -60px; bottom: -40px; width: 340px; height: 120px; z-index: -1; transform: rotate(-24deg); background: repeating-linear-gradient(90deg, #fff 0 14px, transparent 14px 26px) 18px 50% / calc(100% - 36px) 70px no-repeat, #1f2124; opacity: .5; border: 3px solid #fff; }
.bookcover { display: block; transform: rotate(-4deg); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.bookcover img { display: block; width: 100%; height: auto; border-radius: 6px 12px 12px 6px; box-shadow: -10px 0 0 -4px #2b2d30, 0 30px 50px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255,255,255,.1); }
.bookcover:hover { transform: rotate(-1deg) translateY(-6px) scale(1.02); }
.bookbody { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.booklabel { font: 800 13px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.book h2 { font: 800 clamp(34px, 4.6vw, 60px)/.95 var(--display); margin: 0; color: var(--yellow); text-wrap: balance; letter-spacing: -.01em; }
.book p { margin: 0; color: #c9ccd0; font-size: 18px; max-width: 48ch; }
.bookfacts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 6px; }
.bookfacts li { font: 500 13px/1 var(--mono); padding: 9px 12px; border-radius: 6px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.bookfacts li:first-child { background: var(--yellow); color: #111; box-shadow: none; }
.bookbuy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bookbuy .btn { font-size: 16px; padding: 16px 26px; }
.bookprice { font: 800 26px/1 var(--display); color: #fff; }
.bookformats { font: 500 12px var(--mono); color: #8d9197; letter-spacing: .04em; }

@media (max-width: 900px) {
  .book { grid-template-columns: 1fr; padding: 36px 28px 40px; gap: 32px; }
  .bookcover { max-width: 240px; justify-self: center; }
}
@media (max-width: 600px) {
  .nav .right { width: 100%; justify-content: space-between; order: 3; }
  .links { order: 2; }
}

/* YouTube boarding pass stub */
.tgate { display: grid; grid-template-columns: repeat(3, auto); gap: 18px; justify-content: start; }
.tgate > div { display: grid; gap: 4px; }
.tgate b { font: 800 30px/1 var(--display); color: var(--yellow); }
.tstub > .btn { justify-self: start; }

/* Instagram pass: same ticket, with a touch of Instagram's gradient */
.ticket.ig .tstub { border-left-color: transparent; background-image: linear-gradient(#121416, #121416), linear-gradient(180deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); background-origin: border-box; background-clip: padding-box, border-box; }
.ticket.ig .barcode { background: linear-gradient(90deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 4px, #000 4px 5px, transparent 5px 9px, #000 9px 12px, transparent 12px 14px); mask-image: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 4px, #000 4px 5px, transparent 5px 9px, #000 9px 12px, transparent 12px 14px); opacity: 1; }
.handle { font: 800 26px/1 var(--display); color: #fff; justify-self: start; }
.handle:hover { color: var(--yellow); }
.tstub .btn .igicon { flex: none; }
@media (max-width: 900px) { .ticket.ig .tstub { border-top: 3px dashed var(--yellow); } }

/* ===== Reels: phone in the hero + portrait tiles ===== */
.herophone { display: grid; justify-items: center; }
.phone { position: relative; display: block; width: min(300px, 78vw); padding: 12px; border-radius: 44px; background: #111214; box-shadow: 0 0 0 2px #2b2d30, 0 40px 70px -35px rgba(0,0,0,.6); transform: rotate(3deg); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 76px; height: 22px; transform: translateX(-50%); border-radius: 12px; background: #111214; z-index: 2; }
.phone .sticker { top: -14px; right: -18px; z-index: 3; }
.screen { position: relative; display: grid; aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; background: #1c1f23 center / cover no-repeat; color: #fff; }
.reelbadge { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--body); padding: 6px 9px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); z-index: 1; }
.phone .reelbadge { top: 50px; }
.reelplay { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255,255,255,.22); backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform .2s, background .2s; }
.reelplay i { width: 0; height: 0; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.phone:hover .reelplay, .reel:hover .reelplay { transform: translate(-50%, -50%) scale(1.1); background: rgba(255,255,255,.35); }
.reelcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 22px; display: grid; gap: 4px; font: 500 14px/1.35 var(--body); background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.reelcap b { font-weight: 600; }
/* fallback when no reel is entered yet */
.phone.empty .screen { place-content: center; justify-items: center; gap: 12px; padding: 28px; text-align: center; background: radial-gradient(120% 80% at 50% 0%, #2b1d3a, #121416 60%); }
.igring { padding: 4px; border-radius: 50%; background: conic-gradient(#feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.igring img { display: block; border-radius: 50%; border: 3px solid #121416; }
.phone.empty b { font: 800 20px/1 var(--display); }
.phone.empty span { color: #c9ccd0; font-size: 14px; }
.phone.empty .btn { color: #111; margin-top: 6px; }

.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 28px; }
.reel { display: grid; gap: 8px; align-content: start; min-width: 0; }
.reel .screen { border-radius: 16px; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.reel:nth-child(odd):hover .screen { transform: rotate(-1.5deg) translateY(-4px); box-shadow: 0 18px 30px -18px rgba(0,0,0,.5); }
.reel:nth-child(even):hover .screen { transform: rotate(1.5deg) translateY(-4px); box-shadow: 0 18px 30px -18px rgba(0,0,0,.5); }
.reel .reelbadge { top: 10px; right: 10px; padding: 6px; }
.reel .reelplay { width: 44px; height: 44px; }
.reel .reelplay i { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; margin-left: 4px; }
.reeltitle { font: 500 14px/1.35 var(--body); }
.btn .igicon { flex: none; }


@media (max-width: 600px) { .reels { grid-template-columns: repeat(2, 1fr); } .phone { width: min(260px, 72vw); } }

/* quiz question image */
.qimg { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 12px; background: #1a1a1a; }
.q { white-space: pre-line; }

/* follower counts on the About page */
.prose .followers { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.prose .followers li { margin: 0; }
.prose .followers a { display: grid; gap: 4px; padding: 20px; border-radius: 16px; border: 0; background: var(--fids); color: #c9ccd0; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; transition: transform .2s; }
.prose .followers a:hover { background: var(--fids); transform: translateY(-3px) rotate(-.6deg); }
.prose .followers strong { font: 800 38px/1 var(--display); color: var(--yellow); letter-spacing: -.01em; text-transform: none; }
@media (max-width: 600px) { .prose .followers { grid-template-columns: 1fr; } }
