:root {
  --charcoal: #050403;
  --charcoal-2: #0b0907;
  --panel: rgba(15, 11, 8, 0.86);
  --panel-2: rgba(28, 21, 15, 0.78);
  --line: rgba(194, 123, 49, 0.34);
  --orange: #c75b18;
  --orange-bright: #ff7626;
  --gold: #c6a15c;
  --bone: #e1d4bd;
  --muted: #a99b88;
  --green: #8ff45e;
  --green-dark: #2d7d3a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.56);
  --shadow-deep: 0 38px 120px rgba(0, 0, 0, 0.72);
  --focus: 0 0 0 3px rgba(143, 244, 94, 0.25);
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--bone);
  background:
    radial-gradient(circle at 52% 12%, rgba(52, 77, 53, 0.18), transparent 28rem),
    radial-gradient(circle at 10% 0%, rgba(147, 65, 22, 0.24), transparent 24rem),
    linear-gradient(180deg, #030303 0%, #0c0805 48%, #040302 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 1px solid var(--green);
  outline-offset: 4px;
  box-shadow: var(--focus);
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--charcoal);
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.65;
}

.fog {
  position: fixed;
  left: -12vw;
  right: -12vw;
  height: 28vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.38;
  filter: blur(18px);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(159, 173, 149, 0.18), transparent 34%),
    radial-gradient(ellipse at 55% 40%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(ellipse at 82% 56%, rgba(143, 244, 94, 0.12), transparent 34%);
  animation: drift 26s linear infinite;
}

.fog-one {
  bottom: 3vh;
}

.fog-two {
  top: 14vh;
  opacity: 0.18;
  animation-duration: 38s;
  animation-direction: reverse;
}

.site-header,
.section-shell,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.34));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: border-color 220ms ease, background 220ms ease;
  z-index: 10;
}

.site-header.is-scrolled {
  background: rgba(5, 4, 3, 0.88);
  border-color: rgba(198, 161, 92, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.brand span {
  font-family: "Cinzel", serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  color: var(--orange-bright);
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.primary-nav a,
.site-footer nav a {
  color: rgba(225, 212, 189, 0.86);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a.active,
.site-footer nav a:hover {
  color: var(--orange-bright);
}

.nav-toggle {
  display: none;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 118, 38, 0.42);
  border-radius: 4px;
  color: #fff3dd;
  background: linear-gradient(180deg, rgba(197, 82, 22, 0.92), rgba(106, 38, 12, 0.96));
  box-shadow: 0 12px 36px rgba(197, 82, 22, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 118, 38, 0.78);
  box-shadow: 0 16px 48px rgba(197, 82, 22, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(13, 10, 8, 0.7);
  color: var(--bone);
  border-color: rgba(198, 161, 92, 0.36);
  box-shadow: none;
}

.btn-small {
  min-height: 38px;
  padding-inline: 14px;
}

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

.hero {
  width: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 82px);
  padding: 118px max(20px, calc((100vw - var(--max)) / 2)) 86px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32vh;
  background: linear-gradient(180deg, transparent, rgba(5, 4, 3, 0.92));
  z-index: -1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.95) 0%, rgba(3, 3, 3, 0.52) 48%, rgba(3, 3, 3, 0.9) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.9)),
    url("assets/jack-banner-en.png") center / cover no-repeat;
  filter: saturate(0.85) contrast(1.15) brightness(0.52);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: "Special Elite", serif;
  font-size: 13px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cinzel", serif;
  line-height: 1.05;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  color: #e8ddc7;
  font-size: 96px;
  font-weight: 800;
  line-height: 0.98;
  text-shadow: 0 0 26px rgba(0, 0, 0, 0.9);
}

h1::first-line {
  color: #d4c5a8;
}

h2 {
  color: #dfd1b8;
  font-size: 52px;
}

h3 {
  color: #dbc8a3;
  font-size: 25px;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0;
  color: rgba(225, 212, 189, 0.82);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-proof span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(198, 161, 92, 0.22);
  color: rgba(225, 212, 189, 0.78);
  background: rgba(0, 0, 0, 0.28);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
  max-width: 610px;
}

.hero-stats span {
  padding: 14px 16px;
  border: 1px solid rgba(198, 161, 92, 0.22);
  background: rgba(0, 0, 0, 0.34);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-stats strong {
  display: block;
  color: var(--green);
  font-family: "Cinzel", serif;
  font-size: 28px;
  line-height: 1;
}

.hero-product {
  position: relative;
  align-self: end;
  min-height: 620px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-product img {
  width: min(100%, 640px);
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 42px 70px rgba(0, 0, 0, 0.92)) drop-shadow(0 0 34px rgba(114, 242, 74, 0.24));
}

.product-aura {
  position: absolute;
  inset: 12% 2% 2%;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 54%, rgba(143, 244, 94, 0.2), transparent 26%),
    radial-gradient(circle at 50% 72%, rgba(255, 118, 38, 0.2), transparent 18%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  filter: blur(3px);
}

.sigil-card {
  position: absolute;
  right: 4%;
  bottom: 7%;
  width: min(230px, 48%);
  padding: 20px;
  border: 1px solid rgba(198, 161, 92, 0.34);
  background: linear-gradient(135deg, rgba(24, 20, 16, 0.9), rgba(4, 4, 3, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.sigil-card span {
  display: block;
  color: var(--orange-bright);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.sigil-card strong {
  display: block;
  margin-top: 8px;
  color: var(--bone);
  font-family: "Cinzel", serif;
  font-size: 16px;
  line-height: 1.25;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(225, 212, 189, 0.7);
  font-size: 11px;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 22px;
  height: 38px;
  border: 1px solid rgba(225, 212, 189, 0.6);
  border-radius: 999px;
}

.scroll-cue span::after {
  content: "";
  display: block;
  width: 4px;
  height: 8px;
  margin: 8px auto 0;
  border-radius: 99px;
  background: var(--orange-bright);
  animation: wheel 1.6s infinite;
}

.section-shell:not(.hero) {
  padding-block: clamp(62px, 8vw, 108px);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-kicker {
  max-width: 330px;
  margin: 0;
  color: rgba(225, 212, 189, 0.62);
  font-size: 14px;
  text-align: right;
}

.legend {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(300px, 1fr);
  gap: 24px;
}

.legend .section-heading {
  grid-column: 1 / -1;
}

.aged-parchment {
  position: relative;
  padding: clamp(24px, 4vw, 42px);
  color: #271609;
  background:
    linear-gradient(135deg, rgba(79, 33, 10, 0.25), transparent 38%),
    #d4b98c;
  border: 1px solid #6d3b17;
  box-shadow: inset 0 0 50px rgba(50, 24, 8, 0.38), var(--shadow);
}

.aged-parchment::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(79, 33, 10, 0.34);
  pointer-events: none;
}

.aged-parchment p {
  position: relative;
  margin: 0 0 16px;
  font-family: "Special Elite", serif;
  font-size: 17px;
}

.aged-parchment .signature {
  margin: 22px 0 0;
  color: #8b310d;
  font-family: "Cinzel", serif;
  font-size: 26px;
  font-weight: 800;
}

.legend-media,
.evidence-detail,
.report-card,
.quiz-card,
.scarcity-card,
.vip-panel,
.final-cta {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(198, 161, 92, 0.08), transparent 36%),
    var(--panel);
  box-shadow: var(--shadow-deep);
}

.legend-media {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(220px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 22px;
}

.legend-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(198, 161, 92, 0.26);
  filter: sepia(0.25) contrast(1.08) brightness(0.78);
}

.legend-media p,
.vip-panel p,
.final-cta p,
.feature-list p,
.report-card p,
.evidence-detail p {
  color: rgba(225, 212, 189, 0.78);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.timeline-card {
  min-height: 220px;
  padding: 18px;
  border: 1px solid rgba(198, 161, 92, 0.25);
  color: inherit;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72)),
    url("assets/reference-landing.png") center / cover no-repeat;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.timeline-card:nth-child(2) {
  background-position: 40% 36%;
}

.timeline-card:nth-child(3) {
  background-position: 58% 36%;
}

.timeline-card:nth-child(4) {
  background-position: 70% 50%;
}

.timeline-card:nth-child(5) {
  background-position: 82% 52%;
}

.timeline-card:hover,
.timeline-card.active {
  transform: translateY(-4px);
  border-color: rgba(255, 118, 38, 0.72);
  filter: brightness(1.15);
}

.timeline-card span {
  display: block;
  color: var(--orange-bright);
  font-family: "Cinzel", serif;
  font-size: 26px;
  font-weight: 800;
}

.timeline-card strong {
  display: block;
  margin-top: 8px;
  color: var(--bone);
  font-family: "Cinzel", serif;
  line-height: 1.1;
  text-transform: uppercase;
}

.timeline-card small {
  display: block;
  margin-top: 10px;
  color: rgba(225, 212, 189, 0.72);
}

.evidence-detail {
  margin-top: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.sightings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 18px;
}

.map-panel {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(198, 161, 92, 0.3);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(143, 244, 94, 0.12), transparent 20rem),
    linear-gradient(135deg, rgba(6, 30, 20, 0.38), rgba(0, 0, 0, 0.88)),
    url("assets/reference-landing.png") 50% 56% / 1200px auto no-repeat;
  filter: contrast(1.1) saturate(0.85);
}

.map-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 35%, rgba(0, 0, 0, 0.68));
  pointer-events: none;
}

.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 24px;
  height: 24px;
  border: 1px solid rgba(196, 255, 126, 0.86);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green), 0 0 44px rgba(143, 244, 94, 0.65);
  cursor: pointer;
  z-index: 2;
  transform: translate(-50%, -50%);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(143, 244, 94, 0.32);
  border-radius: inherit;
  animation: pulse 1.9s infinite;
}

.map-pin.active {
  background: var(--orange-bright);
  box-shadow: 0 0 20px var(--orange-bright), 0 0 50px rgba(255, 118, 38, 0.65);
}

.report-card {
  padding: 28px;
}

.quiz-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 1fr) minmax(210px, 0.5fr);
  gap: 22px;
  align-items: stretch;
  padding: clamp(22px, 4vw, 38px);
}

.quiz-copy p {
  color: var(--orange-bright);
  font-weight: 800;
  text-transform: uppercase;
}

.quiz-options {
  display: grid;
  gap: 12px;
}

.quiz-option {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(198, 161, 92, 0.28);
  color: var(--bone);
  text-align: left;
  background: rgba(0, 0, 0, 0.38);
  cursor: pointer;
}

.quiz-option:hover,
.quiz-option.selected {
  border-color: rgba(143, 244, 94, 0.64);
  background: rgba(45, 125, 58, 0.18);
}

.rank-panel {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  border: 1px solid rgba(143, 244, 94, 0.26);
  background:
    radial-gradient(circle at center, rgba(143, 244, 94, 0.18), transparent 64%),
    rgba(0, 0, 0, 0.38);
}

.rank-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.rank-panel strong {
  color: var(--green);
  font-family: "Cinzel", serif;
  font-size: 86px;
  line-height: 1;
  text-shadow: 0 0 24px rgba(143, 244, 94, 0.3);
}

.rank-panel p {
  margin: 0;
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(380px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.feature-list {
  display: grid;
  gap: 14px;
  align-content: start;
}

.feature-list div {
  min-height: 176px;
  padding: 24px;
  border: 1px solid rgba(198, 161, 92, 0.25);
  background:
    linear-gradient(135deg, rgba(255, 118, 38, 0.08), transparent 46%),
    rgba(0, 0, 0, 0.36);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-list div:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 161, 92, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 118, 38, 0.12), transparent 46%),
    rgba(0, 0, 0, 0.42);
}

.feature-list span {
  color: var(--orange-bright);
  font-family: "Cinzel", serif;
  font-weight: 800;
}

.showcase-cta {
  width: 100%;
  margin-top: 4px;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  gap: 16px;
}

.gallery-main {
  position: relative;
  min-height: 650px;
  border: 1px solid rgba(198, 161, 92, 0.26);
  background:
    radial-gradient(circle at 50% 55%, rgba(143, 244, 94, 0.18), transparent 18rem),
    radial-gradient(ellipse at 50% 88%, rgba(198, 161, 92, 0.18), transparent 16rem),
    linear-gradient(180deg, rgba(13, 10, 8, 0.94), #050403);
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-main::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 8%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(143, 244, 94, 0.18), rgba(0, 0, 0, 0) 70%);
  filter: blur(12px);
}

.gallery-main img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 24px 18px 16px;
  object-fit: contain;
  filter: drop-shadow(0 34px 58px rgba(0, 0, 0, 0.84)) drop-shadow(0 0 26px rgba(143, 244, 94, 0.16));
  transform: scale(1.03);
}

.gallery-main span {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(198, 161, 92, 0.28);
  color: var(--gold);
  background: rgba(0, 0, 0, 0.62);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-thumbs {
  display: grid;
  gap: 10px;
}

.thumb {
  padding: 0;
  border: 1px solid rgba(198, 161, 92, 0.28);
  background:
    radial-gradient(circle at 50% 62%, rgba(143, 244, 94, 0.08), transparent 64%),
    #080604;
  cursor: pointer;
  overflow: hidden;
}

.thumb.active {
  border-color: var(--orange-bright);
  box-shadow: 0 0 22px rgba(255, 118, 38, 0.24);
}

.thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  padding: 5px;
  object-fit: contain;
}

.vip-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.55fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
}

.vip-panel ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.vip-panel li {
  color: rgba(225, 212, 189, 0.82);
}

.vip-panel li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border: 1px solid var(--orange-bright);
  transform: rotate(45deg);
}

.vip-art {
  padding: 14px;
  border: 1px solid rgba(198, 161, 92, 0.3);
  background: rgba(0, 0, 0, 0.34);
  cursor: zoom-in;
}

.vip-art img {
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.7));
}

.scarcity-card {
  display: grid;
  grid-template-columns: 0.42fr 1fr 0.48fr;
  gap: 28px;
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
}

.remaining {
  display: block;
  color: var(--orange-bright);
  font-family: "Cinzel", serif;
  font-size: 118px;
  line-height: 0.92;
}

.scarcity-copy {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(225, 212, 189, 0.7);
}

.timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(64px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.timer div {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 12px 8px;
  border: 1px solid rgba(198, 161, 92, 0.28);
  background: rgba(0, 0, 0, 0.36);
}

.timer strong {
  color: var(--bone);
  font-family: "Cinzel", serif;
  font-size: 42px;
  line-height: 1;
}

.timer span,
.scarcity-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.edition-meter {
  margin-bottom: 18px;
}

.edition-meter > span {
  display: block;
  margin-bottom: 9px;
  color: var(--orange-bright);
  text-align: center;
}

.edition-meter div {
  height: 8px;
  border: 1px solid rgba(198, 161, 92, 0.3);
  background: rgba(0, 0, 0, 0.5);
}

.edition-meter i {
  display: block;
  width: 72.6%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.final-cta {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 7vw, 70px);
}

.final-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) saturate(0.9) contrast(1.1);
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.82));
}

.final-cta > div {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(198, 161, 92, 0.18);
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.mobile-reserve-bar {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid rgba(198, 161, 92, 0.44);
  background: #050403;
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 72px);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(198, 161, 92, 0.44);
  color: var(--bone);
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

@keyframes drift {
  from {
    transform: translateX(-8vw);
  }
  to {
    transform: translateX(8vw);
  }
}

@keyframes wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    justify-self: end;
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid rgba(198, 161, 92, 0.28);
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--bone);
  }

  .primary-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid rgba(198, 161, 92, 0.28);
    background: rgba(5, 4, 3, 0.96);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 11px 8px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: left;
    min-height: auto;
    padding-bottom: 72px;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 42px;
  }

  h3 {
    font-size: 24px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .rank-panel strong {
    font-size: 68px;
  }

  .remaining {
    font-size: 88px;
  }

  .timer strong {
    font-size: 34px;
  }

  .hero-product {
    align-self: center;
    min-height: 460px;
    margin-top: 26px;
  }

  .hero-product img {
    width: min(100%, 460px);
  }

  .legend,
  .sightings-grid,
  .quiz-card,
  .showcase-layout,
  .vip-panel,
  .scarcity-card {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-main {
    min-height: 540px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 82px;
  }

  .section-shell,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 52px;
    overflow: hidden;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .rank-panel strong {
    font-size: 54px;
  }

  .remaining {
    font-size: 64px;
  }

  .timer strong {
    font-size: 28px;
  }

  .hero-actions,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .btn,
  .header-cta {
    width: 100%;
  }

  .hero-stats {
    display: grid;
  }

  .hero-proof span {
    width: 100%;
  }

  .hero-product {
    position: absolute;
    top: 338px;
    right: -96px;
    z-index: 0;
    width: 370px;
    min-height: 0;
    margin-top: 0;
    opacity: 0.45;
    pointer-events: none;
  }

  .hero-product img {
    width: 100%;
  }

  .sigil-card {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading {
    display: block;
  }

  .section-kicker {
    max-width: none;
    margin-top: 12px;
    text-align: left;
  }

  .legend-media {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 320px;
    background-size: 880px auto;
  }

  .map-pin {
    width: 30px;
    height: 30px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    min-height: 430px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-list div {
    min-height: auto;
  }

  .scarcity-card {
    text-align: center;
  }

  .timer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timer div {
    min-height: 118px;
  }

  .mobile-reserve-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(198, 161, 92, 0.38);
    background: rgba(5, 4, 3, 0.92);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.64);
    backdrop-filter: blur(16px);
  }

  .mobile-reserve-bar span {
    color: rgba(225, 212, 189, 0.82);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .mobile-reserve-bar strong {
    color: var(--orange-bright);
    font-family: "Cinzel", serif;
    font-size: 22px;
    line-height: 1;
  }

  .mobile-reserve-bar .btn {
    width: auto;
    min-height: 42px;
    padding-inline: 18px;
  }
}

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