/* DuckiSub website — same vocabulary as the launcher (launcher/frontend/src/style.css):
   Peyda display type, amber accent, full-bleed poster hero, poster grid. */

@font-face { font-family: "Peyda"; src: url("fonts/PeydaWeb-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("fonts/PeydaWeb-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("fonts/PeydaWeb-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("fonts/PeydaWeb-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --bg: #0a0d12;
  --surface: #121821;
  --card: #18202a;
  --card-hi: #212b37;
  --line: #273140;
  --line-2: #1c2430;
  --text: #f3f5f7;
  --dim: #aab3bf;
  --mute: #6b7582;
  --amber: #e8a33d;
  --amber-hi: #f2b04f;
  --amber-ink: #1a1203;
  --jade: #4fc489;
  --rose: #ec6a60;
  --r-card: 12px;
  --r-btn: 10px;
  --bar-h: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --poster-w: clamp(140px, 15vw, 200px);
  --hero-ms: 7000ms;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Peyda", "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; }
svg { display: block; }
[hidden] { display: none !important; }
.ic { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
::selection { background: rgba(232,163,61,.35); }

/* ================= Top bar ================= */
.topbar {
  position: fixed; inset-inline: 0; top: 0; height: var(--bar-h); z-index: 30;
  display: flex; align-items: center; gap: 6px; padding-inline: var(--gutter);
  background: linear-gradient(180deg, rgba(7,10,14,.85), rgba(7,10,14,0));
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s, backdrop-filter .3s;
}
.topbar.solid { background: rgba(10,13,18,.86); backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: rgba(255,255,255,.06); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; }
.brand b { font-size: 17px; font-weight: 900; letter-spacing: .2px; }
.tb-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: clamp(10px, 2.4vw, 34px); }
.tb-nav a { position: relative; white-space: nowrap; height: 36px; display: grid; place-items: center; padding-inline: 12px; border-radius: 8px; color: var(--dim); font-size: 14.5px; font-weight: 700; transition: color .15s, background .15s; }
.tb-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.tb-nav a.on { color: var(--text); }
.tb-nav a.on::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--amber); }
.tb-fill { flex: 1; }

/* ================= Buttons ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding-inline: 24px; border-radius: var(--r-btn); border: 1px solid transparent; font-size: 15px; font-weight: 800; color: var(--text); cursor: pointer; white-space: nowrap; transition: background .16s, border-color .16s, color .16s, transform .12s var(--ease); }
.btn:active { transform: scale(.97); }
.btn .ic { width: 19px; height: 19px; stroke-width: 2; }
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: var(--amber-hi); }
.btn-glass { background: rgba(110,120,135,.32); color: #fff; backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(130,140,155,.45); }
.btn-ghost { background: var(--card); border-color: var(--line); }
.btn-ghost:hover { background: var(--card-hi); }
.btn-sm { height: 38px; padding-inline: 14px; font-size: 13.5px; }
.btn-sm .ic { width: 17px; height: 17px; }

/* ================= Hero ================= */
.hero { position: relative; height: clamp(560px, 92vh, 860px); overflow: hidden; background: #06080b; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-slide.on img { animation: kenburns calc(var(--hero-ms) + 2s) linear both; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translateX(-1.5%); } }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(0deg, var(--bg) 0%, rgba(10,13,18,.92) 8%, rgba(10,13,18,.62) 24%, rgba(10,13,18,.1) 56%, rgba(10,13,18,.5) 100%),
  linear-gradient(270deg, rgba(10,13,18,.94) 0%, rgba(10,13,18,.55) 38%, transparent 68%); }
.hero-content { position: absolute; inset-inline-start: var(--gutter); bottom: clamp(70px, 14vh, 140px); width: min(600px, 54vw); z-index: 2; }
.hero-content > * { animation: rise .7s var(--ease-out) both; }
.hero-content > :nth-child(2) { animation-delay: .06s; } .hero-content > :nth-child(3) { animation-delay: .12s; }
.hero-content > :nth-child(4) { animation-delay: .18s; } .hero-content > :nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.eyebrow { margin: 0; display: inline-flex; align-items: center; height: 28px; padding-inline: 11px; border-radius: 7px; background: rgba(232,163,61,.14); color: var(--amber); font-size: 13px; font-weight: 800; }
.hero-title { font-weight: 900; font-size: clamp(40px, 6vw, 80px); line-height: 1.08; margin: 16px 0 0; letter-spacing: -.8px; text-shadow: 0 6px 34px rgba(0,0,0,.6); }
.hero-desc { margin: 16px 0 0; font-size: clamp(15px, 1.3vw, 17.5px); color: #e1e6eb; line-height: 1.95; max-width: 50ch; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.meta-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #cfd6de; }
.meta-chip .ic { width: 16px; height: 16px; }
.meta-chip.amber { color: var(--amber); } .meta-chip.jade { color: var(--jade); }
.meta-chip.ver { direction: ltr; font-variant-numeric: tabular-nums; }
.meta-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); }

.hero-pager { position: absolute; inset-inline-end: var(--gutter); bottom: clamp(70px, 14vh, 140px); z-index: 3; display: flex; gap: 10px; }
.hp-item { position: relative; width: clamp(92px, 9vw, 140px); aspect-ratio: 16/9; border-radius: 9px; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: #111; opacity: .55; transform: scale(.94); transition: opacity .3s, transform .35s var(--ease-out), box-shadow .3s; }
.hp-item img { width: 100%; height: 100%; object-fit: cover; }
.hp-item:hover { opacity: .9; }
.hp-item.on { opacity: 1; transform: none; box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 12px 30px rgba(0,0,0,.5); }
.hp-item .bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); }
.hp-item .bar i { display: block; height: 100%; width: 0; background: var(--amber); }
.hp-item.on .bar i { animation: fill var(--hero-ms) linear both; }
.hero.paused .hp-item.on .bar i { animation-play-state: paused; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.hero-now { position: absolute; inset-inline-end: var(--gutter); bottom: calc(clamp(70px, 14vh, 140px) - 34px); z-index: 3; font-size: 13px; font-weight: 700; color: var(--dim); }
.hero-now b { color: var(--text); transition: color .15s; }
.hero-now:hover b { color: var(--amber); }

/* ================= Sections ================= */
.section { padding: clamp(56px, 9vh, 96px) var(--gutter) 0; }
#games { padding-top: 24px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head h2 { font-weight: 900; font-size: clamp(26px, 3.2vw, 40px); margin: 0; letter-spacing: -.4px; line-height: 1.15; }
.sec-head p { margin: 8px 0 0; color: var(--mute); font-size: 14.5px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { height: 36px; padding-inline: 15px; border-radius: 18px; border: 1px solid var(--line); background: transparent; color: var(--dim); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.chip-btn:hover { color: var(--text); border-color: #3a4656; }
.chip-btn.on { background: var(--text); border-color: var(--text); color: #0e1218; }
.chip-btn .n { opacity: .6; margin-inline-start: 5px; font-weight: 600; }

/* ================= Poster grid ================= */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--poster-w), 1fr)); gap: clamp(14px, 1.4vw, 22px); }
.poster { position: relative; aspect-ratio: 2 / 3; border-radius: var(--r-card); cursor: pointer; border: 0; padding: 0; background: none; color: inherit; text-align: start; font: inherit; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); animation: rise .5s var(--ease-out) both; }
.poster .art { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: linear-gradient(100deg, #141b24 30%, #1c2531 50%, #141b24 70%); background-size: 220% 100%; animation: shimmer 1.4s infinite; }
.poster .art.done { animation: none; background: #141b24; }
.poster .art img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .5s var(--ease-out); }
.js .poster .art img:not(.loaded) { opacity: 0; } /* fade in only when JS is there to reveal it */
.poster .noart { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; text-align: center; font-weight: 900; font-size: 15px; color: #3c4858; background: linear-gradient(160deg, #1a222c, #0f141b); }
.poster::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); pointer-events: none; transition: box-shadow .25s; }
.poster:hover, .poster:focus-visible { transform: translateY(-8px) scale(1.04); box-shadow: 0 22px 44px rgba(0,0,0,.65); z-index: 4; outline: none; }
.poster:hover .art img, .poster:focus-visible .art img { transform: scale(1.04); }
.poster:focus-visible::after { box-shadow: inset 0 0 0 3px var(--amber); }
.poster .shade { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(0deg, rgba(6,9,13,.97) 4%, rgba(6,9,13,.55) 40%, transparent 66%); opacity: 0; transition: opacity .3s; }
.poster:hover .shade, .poster:focus-visible .shade { opacity: 1; }
.poster .info { position: absolute; inset-inline: 12px; bottom: 12px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .35s var(--ease-out); }
.poster:hover .info, .poster:focus-visible .info { opacity: 1; transform: none; }
.poster .info h3 { margin: 0; font-size: 14.5px; font-weight: 800; line-height: 1.35; }
.poster .info .sub { font-size: 12px; color: var(--dim); margin-top: 3px; }
.poster .info .more { margin-top: 10px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; background: #fff; color: #0e1218; font-size: 12.5px; font-weight: 800; }
.badge { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; height: 26px; padding-inline: 9px; border-radius: 13px; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,.45); }
.badge .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.badge.free { background: var(--jade); color: #04130b; }
.badge.sub { background: rgba(8,11,15,.82); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); }
.price { position: absolute; bottom: 8px; inset-inline-start: 8px; z-index: 2; font-size: 11.5px; font-weight: 800; color: var(--amber-ink); background: var(--amber); padding: 3px 8px; border-radius: 6px; transition: opacity .2s; }
.poster:hover .price, .poster:focus-visible .price { opacity: 0; }
.sk-poster { aspect-ratio: 2/3; border-radius: var(--r-card); background: linear-gradient(100deg, #141b24 30%, #1c2531 50%, #141b24 70%); background-size: 220% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.empty { grid-column: 1 / -1; padding: 50px 20px; text-align: center; color: var(--mute); border: 1px dashed var(--line); border-radius: 14px; }
.empty b { display: block; color: var(--text); font-size: 17px; font-weight: 900; margin-bottom: 4px; }

/* ================= Steps & features ================= */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; padding: 26px 24px 24px; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(232,163,61,.14); color: var(--amber); font-weight: 900; font-size: 19px; }
.step h3 { margin: 18px 0 6px; font-size: 19px; font-weight: 900; }
.step p { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.95; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line-2); }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat > .ic { width: 22px; height: 22px; color: var(--amber); margin-top: 3px; stroke-width: 1.7; }
.feat h4 { margin: 0 0 4px; font-size: 15.5px; font-weight: 800; }
.feat p { margin: 0; color: var(--mute); font-size: 13.5px; line-height: 1.9; }

/* ================= Plans ================= */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); }
.plan.pick { border-color: rgba(232,163,61,.5); background: linear-gradient(180deg, rgba(232,163,61,.07), var(--surface) 60%); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name { font-weight: 800; font-size: 16px; }
.plan-flag { font-size: 11.5px; font-weight: 800; color: var(--amber-ink); background: var(--amber); padding: 2px 9px; border-radius: 999px; }
.plan-price { font-weight: 900; font-size: 30px; color: var(--amber); line-height: 1.4; margin-top: 4px; }
.plan-price small { font-size: 13px; font-weight: 700; color: var(--dim); }
.plan-period { color: var(--mute); font-size: 13px; }
.plan-desc { color: var(--dim); font-size: 14px; line-height: 1.9; margin: 10px 0; flex: 1; }
.plan-scope { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--jade); font-weight: 700; margin-bottom: 14px; }
.plan-scope .ic { width: 16px; height: 16px; }
.plan .btn { width: 100%; }

/* ================= FAQ ================= */
.faq { max-width: 860px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; cursor: pointer; font-size: 16px; font-weight: 800; transition: color .15s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font: inherit; }
.faq summary:hover { color: var(--amber); }
.faq .chev { color: var(--mute); transition: transform .25s var(--ease-out); }
.faq details[open] .chev { transform: rotate(180deg); color: var(--amber); }
.faq details p { margin: -6px 0 20px; color: var(--dim); font-size: 14.5px; line-height: 2; max-width: 70ch; animation: rise .35s var(--ease-out) both; }

/* ================= CTA & footer ================= */
.cta { padding: clamp(64px, 10vh, 110px) var(--gutter) 0; }
.cta-card { display: flex; align-items: center; gap: 20px; padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); }
.cta-card img { width: 56px; height: 56px; border-radius: 14px; }
.cta-text { flex: 1; }
.cta-text h2 { margin: 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; }
.cta-text p { margin: 4px 0 0; color: var(--dim); font-size: 14.5px; }
.foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 40px var(--gutter) 36px; margin-top: clamp(48px, 8vh, 80px); border-top: 1px solid var(--line-2); color: var(--mute); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { font-size: 14px; font-weight: 700; color: var(--dim); }
.foot nav a:hover { color: var(--text); }
.foot small { margin-inline-start: auto; font-size: 12.5px; }
.foot-games { order: 5; width: 100%; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.foot-games a { font-size: 13px; color: var(--mute); }
.foot-games a:hover { color: var(--dim); }
.foot .brand img { width: 26px; height: 26px; border-radius: 8px; }
.foot .brand b { font-size: 15px; color: var(--text); }

/* ================= Game page (launcher detail vocabulary) ================= */
.d-hero { position: relative; height: clamp(500px, 80vh, 780px); overflow: hidden; background: #06080b; }
.d-hero .bg { position: absolute; inset: 0; }
.d-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; animation: settle 1.4s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.d-hero .scrim { position: absolute; inset: 0; background:
  linear-gradient(0deg, var(--bg) 0%, rgba(10,13,18,.94) 9%, rgba(10,13,18,.72) 26%, rgba(10,13,18,.15) 60%, rgba(10,13,18,.5) 100%),
  linear-gradient(270deg, rgba(10,13,18,.92) 0%, rgba(10,13,18,.45) 40%, transparent 70%); }
.d-back { position: absolute; top: calc(var(--bar-h) + 14px); inset-inline-start: var(--gutter); z-index: 5; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding-inline: 10px 14px; border-radius: 19px; border: 1px solid rgba(255,255,255,.16); background: rgba(10,13,18,.55); color: #fff; font-size: 13.5px; font-weight: 700; backdrop-filter: blur(10px); transition: background .15s; }
.d-back:hover { background: rgba(10,13,18,.82); }
.d-back .ic { transition: transform .2s var(--ease-out); }
.d-back:hover .ic { transform: translateX(3px); }
.d-cap { position: absolute; inset-inline-start: var(--gutter); bottom: clamp(40px, 8vh, 80px); width: min(660px, 70vw); z-index: 3; }
.d-cap > * { animation: rise .7s var(--ease-out) both; }
.d-cap > :nth-child(2) { animation-delay: .08s; } .d-cap > :nth-child(3) { animation-delay: .16s; } .d-cap > :nth-child(4) { animation-delay: .24s; } .d-cap > :nth-child(5) { animation-delay: .3s; }
.d-cap .logo { display: block; max-width: min(420px, 90%); max-height: clamp(90px, 16vh, 150px); object-fit: contain; object-position: right bottom; filter: drop-shadow(0 10px 28px rgba(0,0,0,.6)); margin-bottom: 18px; }
.d-cap h1 { font-weight: 900; font-size: clamp(28px, 4.2vw, 54px); margin: 0; line-height: 1.15; letter-spacing: -.5px; text-shadow: 0 6px 30px rgba(0,0,0,.6); }
.d-cap .logo + h1 { font-size: clamp(22px, 2.6vw, 32px); }
.d-cap .en { font-size: 14px; color: var(--dim); text-align: right; margin-top: 6px; font-weight: 500; }
.d-cap .hero-meta { margin-top: 14px; }
.d-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.d-body { display: grid; grid-template-columns: minmax(0, 1fr) clamp(270px, 25vw, 340px); gap: clamp(22px, 3vw, 48px); padding: 10px var(--gutter) 0; align-items: start; }
.d-main h2 { font-weight: 900; font-size: 20px; margin: 0 0 12px; }
.d-main section + section { margin-top: 36px; }
.d-main p { margin: 0; font-size: 15.5px; color: var(--dim); line-height: 2.05; max-width: 68ch; white-space: pre-line; }
.d-main .v { color: var(--amber); }
.install ol { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 14px; max-width: 72ch; }
.install li { counter-increment: st; position: relative; padding-inline-start: 46px; color: var(--dim); font-size: 15px; line-height: 2; }
.install li::before { content: counter(st, persian); position: absolute; inset-inline-start: 0; top: 2px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(232,163,61,.14); color: var(--amber); font-weight: 900; font-size: 15px; line-height: 1; }
.install li b { color: var(--text); font-weight: 800; }
.facts { position: sticky; top: calc(var(--bar-h) + 16px); background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px 18px 18px; }
.facts .r { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; font-size: 14px; border-bottom: 1px solid var(--line-2); }
.facts .k { color: var(--mute); flex: none; }
.facts .v { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facts .btn { margin-top: 18px; }
.btn-block { width: 100%; }
.d-related { padding-top: clamp(48px, 8vh, 80px); }
.tag { display: inline-flex; align-items: center; height: 28px; padding-inline: 11px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--dim); font-size: 12.5px; font-weight: 700; }
.tag.amber { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.tag.jade { background: rgba(79,196,137,.16); border-color: transparent; color: var(--jade); }

/* ================= 404 & a11y ================= */
.nf { padding-top: calc(var(--bar-h) + clamp(60px, 14vh, 140px)); }
.nf h1 { font-weight: 900; font-size: clamp(30px, 4vw, 48px); margin: 14px 0 8px; }
.nf > p:not(.eyebrow) { color: var(--dim); margin: 0 0 24px; }
.skip { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--amber); color: var(--amber-ink); font-weight: 800; transform: translateY(-150%); transition: transform .2s; }
.skip:focus { transform: none; }

/* ---- gallery + lightbox ---- */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 28vw, 320px); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.shot { position: relative; aspect-ratio: 16/9; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden; background: var(--card); cursor: pointer; scroll-snap-align: start; }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease-out), opacity .2s; }
.shot:hover img, .shot:hover video { transform: scale(1.04); }
.shot:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.shot .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.22); }
.shot .play svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: rgba(10,13,18,.72); border: 1px solid rgba(255,255,255,.22); fill: var(--text); }
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,7,10,.97); color: var(--text); }
.lb::backdrop { background: transparent; }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbIn .2s var(--ease) both; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); font-size: 14px; color: var(--dim); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 6vw, 90px); }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; background: #000; }
.lb-stage iframe { width: min(100%, calc((100vh - 160px) * 16 / 9)); aspect-ratio: 16/9; border: 0; border-radius: 6px; background: #000; }
.lb-cap { min-height: 52px; padding: 12px var(--gutter) 18px; text-align: center; font-size: 14.5px; color: var(--dim); }
.lb-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(18,24,33,.8); color: var(--text); cursor: pointer; }
.lb-btn:hover { border-color: rgba(232,163,61,.6); }
.lb-btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { right: clamp(8px, 2vw, 28px); }
.lb-next { left: clamp(8px, 2vw, 28px); }
.lb-prev[hidden], .lb-next[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ================= Responsive ================= */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .hp-item { width: 86px; }
}
@media (max-width: 860px) {
  .tb-nav { display: none; }
  .hero { height: clamp(560px, 88vh, 760px); }
  .hero-content { width: auto; inset-inline-end: var(--gutter); bottom: 70px; }
  .hero-pager { inset-inline: var(--gutter); bottom: 28px; justify-content: center; }
  .hp-item { width: auto; flex: 1; max-width: 64px; aspect-ratio: auto; height: 4px; border-radius: 2px; transform: none; box-shadow: none !important; }
  .hp-item img { display: none; }
  .hp-item .bar { height: 100%; }
  .hero-now { display: none; }
  .steps { grid-template-columns: 1fr; }
  .d-cap { width: auto; inset-inline-end: var(--gutter); }
  .d-body { grid-template-columns: 1fr; }
  .facts { position: static; }
  .cta-card { flex-direction: column; text-align: center; }
  .foot small { margin-inline-start: 0; width: 100%; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .topbar .btn-sm span { display: none; }
  .topbar .btn-sm { width: 38px; padding: 0; }
  :root { --poster-w: 130px; }
  .d-actions .btn { flex: 1; }
}
