/* Thousand Wings — product page (2026-11-25) */
:root {
  --night: #0d0a06;
  --night-2: #17110a;
  --night-3: #221a10;
  --honey: #ffc94a;
  --honey-2: #ffb21f;
  --amber: #f08a1c;
  --ember: #e4572e;
  --cream: #fff6e4;
  --cream-dim: rgba(255, 246, 228, 0.72);
  --cream-faint: rgba(255, 246, 228, 0.5);
  --line: rgba(255, 214, 120, 0.16);
  --card: rgba(255, 236, 200, 0.05);
  --radius: 22px;
  --radius-lg: 34px;
  --max: 1200px;
  --display: "Avenir Next", "Avenir", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: ui-serif, "Iowan Old Style", Palatino, Georgia, serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--honey); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--honey); color: #1a1205; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* ---------- header ---------- */
.tw-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.tw-header.scrolled {
  background: rgba(13, 10, 6, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-color: var(--line);
}
.tw-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.tw-brand { display: flex; align-items: center; gap: 12px; color: var(--cream); font-weight: 800; letter-spacing: 0.02em; }
.tw-brand:hover { text-decoration: none; }
.tw-brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.tw-brand small { display: block; font-size: 0.68rem; font-weight: 600; color: var(--cream-faint); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1; }
.tw-links { display: flex; align-items: center; gap: 6px; }
.tw-links a { color: var(--cream-dim); font-size: 0.92rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.tw-links a:hover { color: var(--cream); background: rgba(255,255,255,0.06); text-decoration: none; }
.tw-links .pill { background: var(--honey); color: #241703; font-weight: 800; }
.tw-links .pill:hover { background: #ffd66e; color: #241703; }
@media (max-width: 820px) { .tw-links a:not(.pill) { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  overflow: hidden; isolation: isolate; padding: 120px 0 72px;
}
.hero-art {
  position: absolute; inset: -4% -4% -4% -4%; z-index: -3;
  background: url("hero.webp") center 38% / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@media (max-width: 760px) { .hero-art { background-image: url("hero-1200.webp"); background-position: 56% 40%; } }
@keyframes heroDrift { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(13,10,6,0.55) 0%, rgba(13,10,6,0) 22%, rgba(13,10,6,0) 42%, rgba(13,10,6,0.78) 74%, var(--night) 100%),
    radial-gradient(ellipse at 20% 85%, rgba(13,10,6,0.7), transparent 60%);
}
#swarm { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.hero-copy { max-width: 1000px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--honey);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 {
  margin: 0; font-weight: 900; line-height: 0.92; letter-spacing: -0.01em;
  font-size: clamp(3.2rem, 10vw, 8.2rem); text-transform: uppercase; width: max-content; max-width: 100%; padding-right: 0.08em;
  background: linear-gradient(180deg, #fff3c4 0%, var(--honey) 46%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 0 rgba(70, 34, 0, 0.55)) drop-shadow(0 18px 40px rgba(0,0,0,0.5));
}
.hero .tagline { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.8vw, 2rem); color: var(--cream); text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
.hero .lead { margin: 16px 0 0; max-width: 600px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--cream-dim); text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--cream-dim); font-size: 0.9rem; font-weight: 600; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 10px var(--honey); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; font-weight: 800; font-size: 1rem; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-honey { background: linear-gradient(180deg, #ffd766, var(--honey-2)); color: #261804; box-shadow: 0 10px 30px rgba(255, 178, 31, 0.35), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-honey:hover { box-shadow: 0 14px 40px rgba(255, 178, 31, 0.5), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-ghost { background: rgba(255, 246, 228, 0.08); color: var(--cream); border-color: rgba(255, 246, 228, 0.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 246, 228, 0.14); }
.btn svg { width: 18px; height: 18px; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 16px;
  border-radius: 14px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.28);
}
.store-badge svg { width: 24px; height: 24px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: 0.68rem; letter-spacing: 0.04em; opacity: 0.8; }
.store-badge strong { font-size: 1.08rem; font-weight: 700; }
.store-badge:hover { text-decoration: none; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,246,228,0.4); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--honey); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) { .scroll-cue { display: none; } }

/* ---------- sections ---------- */
section { position: relative; scroll-margin-top: 68px; }
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
h2 { margin: 0; font-weight: 900; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -0.015em; }
h2 em { font-style: normal; color: var(--honey); }
.section-head p { margin: 18px 0 0; color: var(--cream-dim); font-size: clamp(1.02rem, 1.5vw, 1.15rem); }
h3 { margin: 0; font-weight: 800; font-size: 1.28rem; line-height: 1.2; }

/* trailer */
.trailer-wrap { position: relative; margin-top: -40px; }
.trailer {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 0 1px var(--line), 0 0 80px rgba(255, 178, 31, 0.12);
  aspect-ratio: 1280 / 592;
}
.trailer video { width: 100%; height: 100%; object-fit: cover; }
.trailer-sound {
  position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.55); color: #fff; font: 700 0.85rem var(--display); cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.trailer-sound:hover { background: rgba(0,0,0,0.75); }
.trailer-sound svg { width: 18px; height: 18px; }
.trailer-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 16px; color: var(--cream-faint); font-size: 0.88rem; }

/* moves */
.moves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .moves { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .moves { grid-template-columns: 1fr; } }
.move {
  position: relative; padding: 26px 24px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 214, 120, 0.08), rgba(255, 214, 120, 0.02));
  border: 1px solid var(--line); overflow: hidden;
}
.move::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 74, 0.18), transparent 70%); }
.move .glyph { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 201, 74, 0.12); color: var(--honey); margin-bottom: 18px; }
.move .glyph svg { width: 30px; height: 30px; }
.move .gesture { display: inline-block; margin-bottom: 8px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--honey); }
.move p { margin: 10px 0 0; color: var(--cream-dim); font-size: 0.97rem; }

.heatball {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  margin-top: clamp(48px, 7vw, 84px);
}
@media (max-width: 900px) { .heatball { grid-template-columns: 1fr; } }
.heatball .shot { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px var(--line); }
.temp { font-weight: 900; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; background: linear-gradient(180deg, #ffd66e, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heatball p { color: var(--cream-dim); }
.fact { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--honey); background: rgba(255, 201, 74, 0.06); border-radius: 0 14px 14px 0; font-size: 0.95rem; color: var(--cream-dim); }

/* worlds */
.worlds-band { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 40%, var(--night-2) 60%, var(--night) 100%); }
.worlds {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 640px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 26px;
  scrollbar-width: thin; scrollbar-color: rgba(255,201,74,0.4) transparent;
  overscroll-behavior-x: contain;
}
@media (min-width: 1240px) { .worlds { padding-left: calc((100% - var(--max)) / 2); padding-right: calc((100% - var(--max)) / 2); } }
.world { scroll-snap-align: center; position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.world img { width: 100%; aspect-ratio: 2.174; object-fit: cover; transition: transform 0.8s ease; }
.world:hover img { transform: scale(1.03); }
.world figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 22px 18px; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.82)); }
.world .num { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; color: var(--honey); text-transform: uppercase; }
.world h3 { margin-top: 4px; font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
.world p { margin: 4px 0 0; font-size: 0.92rem; color: var(--cream-dim); }
.worlds-hint { text-align: center; color: var(--cream-faint); font-size: 0.85rem; margin-top: 4px; }

/* duels */
.duel-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.duel { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); grid-column: span 3; }
.duel.wide { grid-column: span 6; }
.duel.third { grid-column: span 2; }
@media (max-width: 860px) { .duel, .duel.third { grid-column: span 6; } }
.duel img { width: 100%; aspect-ratio: 2.174; object-fit: cover; transition: transform 0.8s ease; }
.duel:hover img { transform: scale(1.03); }
.duel figcaption { position: absolute; left: 16px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(10, 8, 5, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 800; font-size: 0.88rem; }
.duel figcaption b { color: var(--honey); font-weight: 800; }
.creature-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; justify-content: center; }
.creature-row span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 700; font-size: 0.92rem; color: var(--cream-dim); }
.duel-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(30px, 5vw, 48px); }
@media (max-width: 760px) { .duel-rules { grid-template-columns: 1fr; } }
.duel-rules div { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.duel-rules strong { display: block; color: var(--honey); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.duel-rules p { margin: 0; color: var(--cream-dim); font-size: 0.96rem; }

/* boss */
.boss { position: relative; min-height: min(92vh, 860px); display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.boss-art { position: absolute; inset: 0; z-index: -2; background: url("03_grizzly_duel.webp") 62% 30% / cover no-repeat; }
.boss::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,10,6,0.96) 0%, rgba(13,10,6,0.82) 34%, rgba(13,10,6,0.15) 70%, rgba(13,10,6,0.35) 100%), linear-gradient(180deg, var(--night) 0%, transparent 18%, transparent 82%, var(--night) 100%); }
@media (max-width: 760px) { .boss::before { background: linear-gradient(180deg, var(--night) 0%, rgba(13,10,6,0.55) 30%, rgba(13,10,6,0.9) 70%, var(--night) 100%); } .boss { align-items: end; padding-bottom: 60px; } }
.boss .copy { max-width: 520px; }
.boss h2 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
.boss p { color: var(--cream-dim); font-size: 1.08rem; }
.boss .warn { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(228, 87, 46, 0.18); border: 1px solid rgba(228, 87, 46, 0.5); color: #ffb39b; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.boss .warn i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; transform: scale(0.7); } }

/* price */
.deal {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(30px, 5vw, 56px); border-radius: var(--radius-lg);
  background: radial-gradient(circle at 85% 10%, rgba(255, 201, 74, 0.22), transparent 55%), linear-gradient(180deg, var(--night-3), var(--night-2));
  border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0,0,0,0.45);
}
@media (max-width: 860px) { .deal { grid-template-columns: 1fr; } }
.deal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.deal li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); color: var(--cream-dim); }
.deal li svg { flex: none; width: 22px; height: 22px; color: var(--honey); margin-top: 2px; }
.deal li b { color: var(--cream); }

/* legal + support */
.doc-band { background: var(--night-2); border-top: 1px solid var(--line); }
.doc-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 860px) { .doc-grid { grid-template-columns: 1fr; } }
.doc-aside { position: sticky; top: 96px; align-self: start; }
@media (max-width: 860px) { .doc-aside { position: static; } }
.doc-aside h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.doc-aside p { color: var(--cream-faint); font-size: 0.9rem; margin: 12px 0 0; }
.doc { max-width: 760px; color: var(--cream-dim); }
.doc h3 { color: var(--cream); margin: 34px 0 8px; font-size: 1.15rem; }
.doc h3:first-child { margin-top: 0; }
.doc p, .doc li { font-size: 1rem; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--cream); }
.summary-box { padding: 22px 24px; border-radius: var(--radius); background: rgba(255, 201, 74, 0.07); border: 1px solid rgba(255, 201, 74, 0.25); color: var(--cream); margin-bottom: 30px; }
.summary-box strong { color: var(--honey); }

.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 201, 74, 0.16), rgba(255, 201, 74, 0.04)); border: 1px solid rgba(255, 201, 74, 0.3); margin-bottom: 28px; }
.contact-card h3 { margin: 0; color: var(--cream); }
.contact-card p { margin: 4px 0 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; color: var(--cream); font-weight: 700; font-size: 1.03rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 201, 74, 0.12); color: var(--honey); font-size: 1.2rem; font-weight: 600; transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 2px 18px; }
.faq details > div p { margin: 0 0 10px; }
.kbd { display: inline-block; padding: 1px 8px; border-radius: 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); font-size: 0.88em; color: var(--cream); white-space: nowrap; }

/* footer */
.tw-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); background: var(--night); color: var(--cream-faint); font-size: 0.9rem; }
.tw-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.tw-footer strong { color: var(--cream); }
.tw-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.tw-footer a { color: var(--cream-dim); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art { animation: none; }
  .scroll-cue::after, .boss .warn i { animation: none; }
}

/* phone fixes */
.tw-brand span, .tw-links a { white-space: nowrap; }
.trailer-sound { top: 14px; bottom: auto; }
@media (max-width: 560px) {
  .tw-brand small { display: none; }
  .tw-brand { font-size: 0.98rem; gap: 10px; }
  .tw-brand img { width: 34px; height: 34px; }
  .tw-links .pill { padding: 8px 14px; font-size: 0.85rem; }
  .trailer-wrap { margin-top: 0; }
  .trailer-sound { top: 10px; right: 10px; padding: 8px 12px; font-size: 0.78rem; }
  .boss-art { background-position: 49% 18%; }
}
