/* Flytz Co. shop: "Flight deck minimal" (docs/brand/flytz-co.md). Ink, graphite, one champagne gold accent, Inter + mono. */
@font-face { font-family: Inter; src: url(inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(jetbrains-mono-latin.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
:root { --ink: #08090C; --g1: #121418; --g2: #171A1F; --g3: #1D2027; --pearl: #F4F5F7; --mist: #A4A9B4; --slate: #6D727D; --gold: #D8B56E;
  --gold-l: #F1DCAB; --red: #E5484D; --green: #4CC38A; --line: rgba(216,181,110,.18); --mono: "JetBrains Mono", ui-monospace, monospace; }
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--ink); color: var(--pearl); font: 400 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; } img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); letter-spacing: .04em; }
.eyebrow { font: 500 11px/1 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--slate); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(26px, 4.2vw, 40px); } p.lead { color: var(--mist); max-width: 46ch; }

header.bar { position: fixed; inset: 0 0 auto; z-index: 30; backdrop-filter: blur(14px); background: rgba(8,9,12,.72); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.wordmark { font-weight: 300; letter-spacing: .5em; color: var(--gold); text-decoration: none; font-size: 14px; padding: 12px 0; white-space: nowrap; }
.bar nav { display: flex; align-items: center; gap: 4px; }
.bar nav a, .bag { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); text-decoration: none; padding: 16px 10px;
  background: none; border: 0; cursor: pointer; min-height: 44px; }
.bar nav a:hover, .bag:hover { color: var(--pearl); } .bag b { color: var(--gold); font-weight: 500; }
@media (max-width: 560px) { .bar nav a.hide-s { display: none; } }
.test { background: var(--g2); color: var(--gold-l); font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-align: center; padding: 8px 12px; margin-top: 60px; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 78% 55%, rgba(216,181,110,.10), transparent 60%), var(--ink); }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease; }
html.gl #globe { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--ink)); z-index: -1; pointer-events: none; }
.hero .copy { padding: 110px 0 90px; max-width: 560px; }
.hero h1 { font-size: clamp(38px, 8.4vw, 76px); margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--gold); font-weight: 300; }
.route { display: inline-flex; gap: 12px; align-items: center; color: var(--gold-l); font: 500 12px/1 var(--mono); letter-spacing: .22em; }
.route i { width: 44px; height: 1px; background: var(--gold); opacity: .7; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 3px; cursor: pointer; text-decoration: none;
  font: 600 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--gold); color: var(--gold); background: rgba(8,9,12,.5);
  transition: background .2s, color .2s, transform .15s; }
.btn:hover { background: rgba(216,181,110,.12); } .btn:active { transform: scale(.98); }
.btn.gold { background: linear-gradient(#E6C88A, #D2AD62); color: #15120A; border-color: transparent; } .btn.gold:hover { filter: brightness(1.06); }
.btn[disabled] { opacity: .45; cursor: not-allowed; } .btn.wide { width: 100%; }

section { padding: 84px 0; } section + section { border-top: 1px solid var(--line); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.card { background: var(--g1); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; display: block; transition: transform .25s, border-color .25s; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); border-color: rgba(216,181,110,.5); } }
.card .ph { aspect-ratio: 4/5; background: var(--g2); } .card img { width: 100%; height: 100%; object-fit: cover; }
.card .meta { padding: 16px 18px 18px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.card h3 { font-size: 16px; } .price { font-family: var(--mono); color: var(--gold-l); white-space: nowrap; }
.empty { border: 1px dashed var(--line); border-radius: 6px; padding: 54px 24px; text-align: center; color: var(--mist); }
.empty .mono { color: var(--gold); display: block; margin-bottom: 12px; letter-spacing: .3em; font-size: 12px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.facts div { background: var(--g1); padding: 26px 22px; } .facts b { display: block; font-weight: 600; margin: 10px 0 6px; } .facts p { color: var(--mist); font-size: 14px; }

.pdp { padding-top: 96px; } .pdp .cols { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .pdp .cols { grid-template-columns: 1.05fr 1fr; align-items: start; } .pdp .info { position: sticky; top: 90px; } }
.pdp .shot { background: var(--g1); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; aspect-ratio: 4/5; } .pdp .shot img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(28px, 5vw, 42px); margin: 14px 0 10px; } .pdp .price { font-size: 20px; }
.pdp .desc { color: var(--mist); margin: 18px 0 24px; white-space: pre-line; }
.back { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); text-decoration: none; display: inline-block; padding: 14px 0; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; } legend { margin-bottom: 10px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes label { position: relative; } .sizes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sizes span { display: grid; place-items: center; min-width: 52px; height: 48px; padding: 0 12px; border: 1px solid var(--g3); border-radius: 3px; font: 500 13px/1 var(--mono); color: var(--mist); transition: .15s; }
.sizes input:checked + span { border-color: var(--gold); color: var(--gold); background: rgba(216,181,110,.08); }
.sizes input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.note { font-size: 13px; color: var(--slate); margin-top: 14px; } .err { color: var(--red); font-size: 14px; margin-top: 10px; min-height: 1.4em; }
.small { list-style: none; padding: 0; margin-top: 26px; border-top: 1px solid var(--line); } .small li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--mist); font-size: 14px; }

.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--g1); border-left: 1px solid var(--line); z-index: 41; transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; visibility: hidden; }
body.open .scrim { opacity: 1; pointer-events: auto; } body.open .drawer { transform: none; visibility: visible; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.x { background: none; border: 0; color: var(--mist); font-size: 26px; width: 44px; height: 44px; cursor: pointer; }
.lines { flex: 1; overflow: auto; padding: 6px 20px; } .line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 64px; height: 80px; object-fit: cover; border-radius: 3px; background: var(--g2); } .line small { color: var(--slate); display: block; font-family: var(--mono); font-size: 12px; margin-top: 2px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--g3); border-radius: 3px; margin-top: 8px; }
.qty button { width: 40px; height: 40px; background: none; border: 0; color: var(--pearl); font-size: 18px; cursor: pointer; } .qty span { min-width: 26px; text-align: center; font-family: var(--mono); font-size: 13px; }
.sum { padding: 18px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); } .sum div { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--mist); font-size: 14px; }
.sum .tot { color: var(--pearl); font-size: 16px; margin: 12px 0 16px; } .sum span:last-child { font-family: var(--mono); }

footer { border-top: 1px solid var(--line); padding: 44px 0 60px; color: var(--slate); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; } footer a { color: var(--mist); text-decoration: none; display: inline-block; padding: 8px 0; margin-right: 18px; }
.doc { padding: 110px 0 70px; max-width: 720px; } .doc h1 { font-size: clamp(30px, 6vw, 46px); margin-bottom: 8px; } .doc h2 { font-size: 22px; margin: 44px 0 12px; scroll-margin-top: 80px; }
.doc p, .doc li { color: var(--mist); margin-bottom: 12px; } .doc a { color: var(--gold-l); }
.pass { background: var(--g1); border: 1px solid var(--line); border-radius: 8px; padding: 26px 22px; margin: 28px 0; }
.pass .row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; } .pass .row:last-child { border: 0; }
.pass .row span:last-child { font-family: var(--mono); text-align: right; } .status { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); } .js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .js [data-reveal] { opacity: 1; transform: none; } }

@media (max-width: 700px) { .hero { align-items: flex-start; } .hero .copy { padding: 72px 0 0; } .hero .btn.ghost { background: rgba(8,9,12,.72); } }

/* Hero: the giant FLYTZ title sits behind the jet (like a product poster) */
.hero2 { position: relative; overflow: hidden; padding-top: 86px; isolation: isolate;
  background: radial-gradient(60% 45% at 50% 42%, rgba(216,181,110,.16), transparent 70%), linear-gradient(var(--ink) 55%, var(--g1)); }
.hero2 .top { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; }
.hero2 .stage { position: relative; height: clamp(300px, 62vw, 760px); }
.hero2 .giant { position: absolute; left: 50%; top: 4%; transform: translateX(-50%); z-index: 0; white-space: nowrap; user-select: none;
  font-weight: 800; font-size: clamp(110px, 29vw, 420px); line-height: .82; letter-spacing: -.045em;
  background: linear-gradient(180deg, #F4F5F7 30%, #D8CFBF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .jet { position: absolute; z-index: 1; left: 50%; top: 20%; width: min(118vw, 1000px); height: auto; translate: -50% 0;
  filter: drop-shadow(0 40px 40px rgba(0,0,0,.55)); will-change: transform; animation: hover 7s ease-in-out infinite; }
@keyframes hover { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(.5deg); } }
.hero2 .under { position: relative; z-index: 2; padding: 0 0 72px; max-width: 640px; text-align: center; }
.hero2 h1 { font-size: clamp(30px, 6vw, 56px); margin: 0 0 14px; } .hero2 h1 em { font-style: normal; color: var(--gold); font-weight: 300; }
.hero2 .cta { justify-content: center; }
@media (max-width: 700px) { .hero2 .stage { height: 96vw; } .hero2 .giant { top: 10%; } .hero2 .jet { top: 26%; width: 128vw; } .hero2 .top .eyebrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero2 .jet { animation: none; } }

/* 3D jet: the hero is tall and its top part is pinned; scrolling swings the camera under the jet */
.hero2.tall { height: 260svh; padding-top: 0; overflow: clip; }
.hero2.tall .pin { position: sticky; top: 0; height: 100svh; padding-top: 86px; display: flex; flex-direction: column; }
.hero2.tall .stage { flex: 1; height: auto; }
#jet3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; transition: opacity .8s; }
html.gl3d #jet3d { opacity: 1; } html.gl3d .hero2 .jet { opacity: 0; transition: opacity .6s; }
.hero2.tall .under { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
@media (max-width: 700px) { .hero2.tall .under .lead { display: none; } .hero2.tall .under h1 { margin-bottom: 12px; } }

/* Fly-off and the destination globe (PRD-flytz-world-collections.md). --fly goes 0 -> 1 as the jet leaves (set by jet3d.js). */
.hero2.tall { height: 340svh; }
#world { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; pointer-events: none; touch-action: pan-y; }
html.world-on .hero2.tall #world { opacity: calc((var(--fly, 0) - .32) * 4); }
html.world-on .hero2.tall .giant { opacity: calc(1 - (var(--fly, 0) - .18) * 4); }
html.world-on .hero2.tall .under { opacity: calc(1 - (var(--fly, 0) - .12) * 5); }
.hero2 .dest { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; text-align: center; padding-bottom: max(26px, env(safe-area-inset-bottom)); padding-top: 70px;
  background: linear-gradient(transparent, rgba(8,9,12,.92) 45%);
  opacity: 0; pointer-events: none; transition: opacity .4s; }
html.world-on .hero2.tall .dest { opacity: calc((var(--fly, 0) - .55) * 5); }
html.world-on .hero2.tall.ready .dest, html.world-on .hero2.tall.ready #world { pointer-events: auto; }
.hero2 .dest h2 { font-size: clamp(26px, 5vw, 44px); margin: 8px 0 4px; color: var(--dest, var(--pearl)); transition: color .4s; }
.hero2 .dest .lead { margin: 0 auto 14px; max-width: 520px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0; }
.chip { --c: var(--gold); display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-height: 40px; padding: 9px 15px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: rgba(8,9,12,.6); color: var(--pearl); font: 600 12px/1.1 var(--mono);
  letter-spacing: .14em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(6px); }
.chip[aria-pressed="true"] { background: var(--c); color: #0B0D12; border-color: var(--c); }
.chip.solid { background: color-mix(in srgb, var(--c) 18%, rgba(8,9,12,.7)); border-color: var(--c); }
.chip.solid small { font: 500 10px var(--mono); letter-spacing: .2em; color: var(--c); }
.chip.ghost { border-style: dashed; color: var(--mist); }
.soon { font: 500 12px var(--mono); letter-spacing: .14em; color: var(--mist); align-self: center; }
/* calm mode / no WebGL: the destination chips sit as a normal section under the hero */
.hero2:not(.tall) .dest { position: relative; opacity: 1; pointer-events: auto; padding: 10px 0 60px; }

/* Country pages: every country has its own colours (set from themes.js) */
.country { --bg: #0E1730; --ink: #F3EEE4; --a: var(--gold); --a2: var(--mist); background: var(--bg); color: var(--ink); min-height: 100svh; position: relative; overflow: hidden; }
.country .motif { position: absolute; inset: 0; opacity: .16; pointer-events: none; }
.country .motif svg { width: 100%; height: 100%; }
.country .wrap { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 80px; }
.country .back { font: 500 12px var(--mono); letter-spacing: .2em; color: var(--a); text-transform: uppercase; }
.pass { margin: 22px 0 30px; border: 1px solid color-mix(in srgb, var(--a) 60%, transparent); border-radius: 18px; display: grid; grid-template-columns: 1fr auto;
  background: color-mix(in srgb, var(--bg) 70%, #000); overflow: hidden; }
.pass .main { padding: 22px 22px 18px; } .pass .stub { padding: 22px 18px; border-left: 2px dashed color-mix(in srgb, var(--a) 50%, transparent); text-align: center; }
.pass .codes { display: flex; align-items: center; gap: 14px; font: 700 clamp(30px, 8vw, 54px)/1 var(--mono); letter-spacing: .04em; }
.pass .codes i { flex: 1; height: 1px; background: var(--a); position: relative; min-width: 30px; }
.pass .codes i::after { content: "✈"; position: absolute; left: 50%; top: -12px; transform: translateX(-50%); font: 18px/1 serif; color: var(--a); }
.pass .row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 65%, transparent); }
.pass .row b { display: block; color: var(--ink); font-size: 13px; letter-spacing: .08em; margin-top: 4px; }
.country h1 { font-size: clamp(40px, 10vw, 96px); line-height: .95; margin: 0 0 10px; color: var(--ink); }
.country .lead { color: color-mix(in srgb, var(--ink) 78%, transparent); max-width: 560px; }
.country .grid .card { border-color: color-mix(in srgb, var(--a) 35%, transparent); }
.country .empty { border-color: color-mix(in srgb, var(--a) 40%, transparent); color: var(--ink); }
.country .empty .mono { color: var(--a); }
/* each country's own type treatment */
.country[data-type="jp"] h1 { font-weight: 300; letter-spacing: .12em; }
.country[data-type="ae"] h1 { font-weight: 200; letter-spacing: .06em; text-transform: uppercase; }
.country[data-type="tr"] h1 { font-weight: 700; font-style: italic; }
.country[data-type="fr"] h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.country[data-type="uk"] h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: .02em; }
.country[data-type="us"] h1 { font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; }
.hero2 .dest { padding-left: 20px; padding-right: 20px; }
.hero2.tall .pin { position: sticky; } .hero2.tall .pin > #world { position: absolute; inset: 0; } .hero2.tall .pin > :not(#world):not(.dest) { position: relative; z-index: 1; } .hero2.tall .pin > .dest { position: absolute; z-index: 3; }
.hero2.tall.ready .pin > :not(#world):not(.dest) { pointer-events: none; }

/* product photos: swipe between angles, thumbnails underneath */
.pdp .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; border-radius: 6px; scrollbar-width: none; }
.pdp .shots::-webkit-scrollbar { display: none; }
.pdp .shots .shot { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1/1; background: #fff; border: 0; border-radius: 0; }
.pdp .shots .shot img { object-fit: contain; }
.pdp .thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.pdp .thumbs button { flex: 0 0 62px; height: 62px; padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; cursor: pointer; opacity: .6; }
.pdp .thumbs button[aria-current] { opacity: 1; border-color: var(--gold); }
.pdp .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp .cols > * { min-width: 0; }
