:root {
  --ink: #0a0705;
  --basalt: #15100b;
  --umber: #241a10;
  --gold: #d6a23d;
  --goldLight: #f4d27f;
  --turquoise: #35b0a2;
  --sand: #ecdcb9;
  --dim: #a8957a;
  --line: rgba(214, 162, 61, 0.28);
  --fontDisplay: 'Cinzel', Georgia, serif;
  --fontBody: 'Cormorant Garamond', Georgia, serif;
  --fontLabel: 'Jost', system-ui, sans-serif;
  --fontGlyph: 'Noto Sans Egyptian Hieroglyphs', 'Segoe UI Historic', serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--sand);
  font-family: var(--fontBody);
  font-size: 20px;
  line-height: 1.55;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--fontDisplay);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--goldLight);
  text-wrap: balance;
}

h4 {
  margin: 0 0 12px;
  font-family: var(--fontLabel);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

p {
  margin: 0;
  max-width: 62ch;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
}

hr {
  margin-block: 16px;
  border: 0;
  border-top: 1px solid var(--line);
}

:focus-visible {
  outline: 2px solid var(--goldLight);
  outline-offset: 3px;
}

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 16px;
}

.block {
  padding-block: clamp(56px, 9vw, 120px);
}

.glyph {
  font-family: var(--fontGlyph);
}

.dim {
  color: var(--dim);
}

.head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.head h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4.4vw, 54px);
}

.headNote {
  max-width: 40ch;
  color: var(--dim);
}

.moreHead {
  margin-top: 80px;
}

.label {
  font-family: var(--fontLabel);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 15px 26px;
  overflow: hidden;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, var(--goldLight), var(--gold));
  color: #1a1007;
  font-family: var(--fontLabel);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(214, 162, 61, 0.35);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btnGhost {
  background: transparent;
  color: var(--goldLight);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.pre {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  background: var(--ink);
  transition: opacity 1s ease, visibility 1s;
}

.pre.done {
  opacity: 0;
  visibility: hidden;
}

.preBg {
  position: absolute;
  inset: 0;
  background: url(assets/images/gizacamels.jpg) center bottom / cover no-repeat;
  transition: transform 6s ease-out;
}

.dust,
.heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dust {
  z-index: 3;
}

.skip {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 20;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: rgba(10, 7, 5, 0.5);
  color: var(--goldLight);
  font-family: var(--fontLabel);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scene {
  position: absolute;
  inset: 0;
  z-index: 5;
  transition: opacity 0.8s;
}

.scene[hidden] {
  display: none;
}

.scene.out {
  opacity: 0;
}

.guideImg {
  position: absolute;
  left: 8%;
  bottom: -2%;
  height: 78%;
  width: auto;
  opacity: 0;
  transform: translateX(-60px);
  animation: slideIn 1s 0.2s forwards;
}

.touristImg {
  position: absolute;
  right: 8%;
  bottom: -2%;
  height: 72%;
  width: auto;
  opacity: 0;
  transform: translateX(60px);
  animation: slideIn 1s 0.4s forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.bubble {
  position: absolute;
  top: 19%;
  left: 50%;
  z-index: 6;
  width: min(450px, calc(100vw - 32px));
  padding: 22px 28px 24px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  background: #060606;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 0.5s, transform 0.5s;
}

.bubble.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.bubble b {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--fontLabel);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bubble span {
  display: block;
  min-height: 3.6em;
  color: var(--goldLight);
  font-family: var(--fontLabel);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: none;
}

.bubble .btn {
  display: block;
  margin: 8px 0 0 auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.bubble .btn.show {
  opacity: 1;
  pointer-events: auto;
}

.runner {
  position: absolute;
  left: 11.2%;
  bottom: 0;
  height: 90.3%;
  aspect-ratio: 420 / 751;
  animation: runnerIn 0.9s ease-out both;
}

.runnerBob {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 100%;
  animation: idle 1.6s ease-in-out infinite;
}

.run .runner {
  animation: runAcross 4.6s cubic-bezier(0.55, 0, 0.85, 0.5) forwards;
}

.run .runnerBob {
  animation: gallop 0.36s ease-in-out infinite;
}

@keyframes runnerIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes idle {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes runAcross {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(125vw);
  }
}

@keyframes gallop {
  0% {
    transform: translateY(0) rotate(1.2deg);
  }

  35% {
    transform: translateY(-22px) rotate(-1.4deg);
  }

  70% {
    transform: translateY(2px) rotate(0.8deg);
  }

  100% {
    transform: translateY(0) rotate(1.2deg);
  }
}

.runnerDust {
  position: absolute;
  left: -6%;
  bottom: 1%;
  width: 40%;
  height: 22%;
  pointer-events: none;
  opacity: 0;
}

.run .runnerDust {
  opacity: 1;
}

.runnerDust i {
  position: absolute;
  bottom: 0;
  left: 40%;
  width: 150px;
  height: 56px;
  border-radius: 50%;
  filter: blur(10px);
  background: radial-gradient(ellipse, rgba(214, 170, 100, 0.55), rgba(214, 170, 100, 0));
  opacity: 0;
}

.run .runnerDust i {
  animation: puff 0.9s ease-out infinite;
}

.runnerDust i:nth-child(2) {
  animation-delay: 0.22s;
}

.runnerDust i:nth-child(3) {
  animation-delay: 0.45s;
}

.runnerDust i:nth-child(4) {
  animation-delay: 0.68s;
}

@keyframes puff {
  0% {
    opacity: 0.7;
    transform: translateX(0) scale(0.5);
  }

  100% {
    opacity: 0;
    transform: translateX(-260px) translateY(-30px) scale(1.8);
  }
}

.pre.ride .preBg {
  animation: bgDrift 6s linear forwards;
}

@keyframes bgDrift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.06) translateX(-1.5%);
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(10, 7, 5, 0.92), rgba(10, 7, 5, 0.55) 70%, transparent);
  backdrop-filter: blur(4px);
}

.navInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logoEye {
  font-size: 34px;
  font-style: normal;
  line-height: 1;
  color: var(--goldLight);
  text-shadow: 0 0 18px rgba(244, 210, 127, 0.6);
}

.logoText {
  font-family: var(--fontDisplay);
  font-size: 13px;
  letter-spacing: 0.22em;
  line-height: 1.25;
  color: var(--sand);
}

.logoText b {
  display: block;
  font-weight: 800;
  color: var(--goldLight);
}

.links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.links a {
  position: relative;
  padding: 10px 14px;
  font-family: var(--fontLabel);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sand);
}

.links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--goldLight);
  transform: scaleX(0);
  transition: transform 0.35s;
}

.links a:hover::after,
.links a.on::after {
  transform: scaleX(1);
}

.links a.on {
  color: var(--goldLight);
}

.links .linkBook {
  margin-left: 8px;
  border: 1px solid var(--gold);
  color: var(--goldLight);
}

.links .linkBook::after {
  display: none;
}

.burger {
  display: none;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: none;
  font-size: 18px;
  line-height: 1;
  color: var(--goldLight);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(820px, 100svh);
  padding: 120px 16px 70px;
  overflow: hidden;
}

.heroImg {
  position: absolute;
  inset: -4%;
  background: url(assets/images/sphinx.jpg) 60% 20% / cover;
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform 0.4s ease-out;
}

.heroTorch {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 280px at var(--mx, 70%) var(--my, 35%), rgba(10, 7, 5, 0) 0, rgba(10, 7, 5, 0.55) 55%, rgba(10, 7, 5, 0.94) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--ink));
}

.heroBody {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: auto;
}

.heroTitle {
  max-width: 12ch;
  margin-top: 16px;
  font-size: clamp(38px, 7.6vw, 104px);
  font-weight: 800;
  line-height: 1.02;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.8);
}

.titleLine {
  display: block;
  overflow: hidden;
}

.titleLine i {
  display: block;
  font-style: normal;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.go .titleLine i {
  transform: none;
}

.titleLine:nth-child(2) i {
  transition-delay: 0.15s;
}

.titleLine:nth-child(3) i {
  transition-delay: 0.3s;
}

.heroText {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(20px, 2.2vw, 26px);
}

.heroButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.heroHint {
  position: absolute;
  right: 16px;
  bottom: 30px;
  z-index: 2;
  font-family: var(--fontLabel);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dim);
}

.ribbon {
  padding-block: 18px;
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--line);
  background: var(--basalt);
}

.ribbonText {
  display: inline-block;
  font-family: var(--fontGlyph);
  font-size: 30px;
  letter-spacing: 0.9em;
  color: var(--gold);
  opacity: 0.8;
  animation: ribbonMove 40s linear infinite;
}

@keyframes ribbonMove {
  to {
    transform: translateX(-50%);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.stat {
  padding: 34px 20px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
}

.stat strong {
  display: block;
  font-family: var(--fontDisplay);
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--goldLight);
}

.stat span {
  font-family: var(--fontLabel);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  padding-block: clamp(56px, 9vw, 120px);
}

.split h2 {
  margin-block: 14px 22px;
  font-size: clamp(30px, 4.4vw, 54px);
}

.split p + p {
  margin-top: 16px;
}

.splitButton {
  margin-top: 30px;
}

.frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s;
}

.frame:hover img {
  transform: scale(1.07);
}

.frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid var(--gold);
  opacity: 0.5;
  pointer-events: none;
}

.modelBand {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 5vw, 70px);
  align-items: center;
  margin-block: clamp(40px, 7vw, 90px);
  padding-block: clamp(10px, 2vw, 24px);
  border-block: 1px solid var(--line);
}

.modelFlip {
  grid-template-columns: 1fr 1.1fr;
}

.modelFlip .modelBox {
  order: 2;
}

.modelOptional {
  display: none;
}

.modelOptional.ready {
  display: grid;
}

.modelBox {
  width: 100%;
  height: clamp(300px, 42vw, 500px);
  min-width: 0;
  background: radial-gradient(circle at 50% 55%, rgba(214, 162, 61, 0.22), rgba(10, 7, 5, 0) 68%);
  --poster-color: transparent;
}

.modelText {
  min-width: 0;
}

.modelText h3 {
  margin-block: 12px 16px;
  font-size: clamp(26px, 3.6vw, 44px);
}

.modelHint {
  display: block;
  margin-top: 20px;
  font-family: var(--fontLabel);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}

.treasures {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

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

.treasure {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  aspect-ratio: 3 / 5;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
}

.treasure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
  transition: transform 1.2s, filter 0.6s;
}

.treasure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 7, 5, 0.95));
}

.treasure:hover img {
  transform: scale(1.1);
  filter: brightness(0.95);
}

.treasure div {
  position: relative;
  z-index: 2;
}

.treasure small {
  font-family: var(--fontLabel);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.treasure h3 {
  margin-top: 6px;
  font-size: clamp(15px, 1.6vw, 19px);
}

.treasure span {
  display: block;
  margin-top: 10px;
  font-family: var(--fontLabel);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0;
  transform: translateY(8px);
  transition: 0.4s;
}

.treasure:hover span {
  opacity: 1;
  transform: none;
}

.visit {
  padding-top: 0;
  scroll-margin-top: 80px;
}

.bookGrid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(20px, 4vw, 50px);
  align-items: start;
}

.panel {
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  background: var(--basalt);
}

.panelTitle {
  font-size: clamp(22px, 2.8vw, 30px);
}

.panelNote {
  color: var(--dim);
}

.visitorRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 16px;
  border-bottom: 1px solid rgba(214, 162, 61, 0.14);
}

.visitorRow h3 {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
}

.visitorRow small,
.extraRow small {
  display: block;
  font-family: var(--fontLabel);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.price {
  font-family: var(--fontLabel);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--goldLight);
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.stepper button {
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  font-size: 20px;
  color: var(--goldLight);
}

.stepper output {
  min-width: 38px;
  text-align: center;
  font-family: var(--fontLabel);
  font-variant-numeric: tabular-nums;
}

.twoCols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 20px;
}

.field label {
  font-family: var(--fontLabel);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

input[type=text],
input[type=email],
input[type=date] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(10, 7, 5, 0.7);
  color: var(--sand);
  font: inherit;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=date]:focus {
  outline: none;
  border-color: var(--goldLight);
  box-shadow: 0 0 0 3px rgba(214, 162, 61, 0.18);
}

.timeSlots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeSlots button {
  padding: 11px 18px;
  border: 1px solid var(--line);
  background: none;
  font-family: var(--fontLabel);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.timeSlots button.selected {
  border-color: var(--gold);
  background: var(--gold);
  color: #1a1007;
}

.extras {
  margin-top: 26px;
}

.extraRow {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 14px;
  border-bottom: 1px solid rgba(214, 162, 61, 0.14);
  cursor: pointer;
}

.extraRow input {
  width: 18px;
  height: 18px;
  margin-top: 6px;
  accent-color: var(--gold);
}

.extraRow b {
  font-family: var(--fontDisplay);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sand);
}

.extraRow small {
  font-family: var(--fontBody);
  font-size: 17px;
  letter-spacing: 0;
}

.extraRow .price {
  margin-left: auto;
  white-space: nowrap;
}

.formError {
  min-height: 1em;
  margin-top: 8px;
  font-family: var(--fontLabel);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #ff9d84;
}

.formActions {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}

.summary {
  position: sticky;
  top: 96px;
  padding: 28px;
  border: 1px solid var(--gold);
  background: linear-gradient(160deg, var(--umber), var(--basalt));
}

.summary h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.summary dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  margin: 0;
  font-size: 18px;
}

.summary dt {
  color: var(--dim);
}

.summary dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.summaryTotal {
  display: flex;
  justify-content: space-between;
  font-family: var(--fontDisplay);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  color: var(--goldLight);
}

.summaryNote {
  margin-top: 14px;
  font-family: var(--fontLabel);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--dim);
}

.ticket {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--gold);
  background: linear-gradient(120deg, #2a1d0e, #0f0a05);
}

.ticketMain {
  padding: 30px;
}

.ticketMain h2 {
  margin-block: 8px 18px;
  font-size: clamp(22px, 3vw, 34px);
}

.ticketKeys {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ticketKeys small {
  display: block;
  font-family: var(--fontLabel);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.ticketSide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  border-left: 2px dashed var(--line);
  background: rgba(10, 7, 5, 0.5);
}

.ticketSide canvas {
  width: 150px;
  height: 150px;
  padding: 8px;
  background: var(--sand);
}

.ticketRef {
  font-family: var(--fontLabel);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--goldLight);
}

.pageHead {
  position: relative;
  padding: 150px 16px 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.pageHead img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42);
}

.pageHead::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, var(--ink));
}

.pageHeadBody {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: auto;
}

.pageHead h1 {
  max-width: 14ch;
  margin-top: 14px;
  font-size: clamp(34px, 6.4vw, 84px);
}

.pageHead p {
  margin-top: 18px;
  font-size: clamp(19px, 2vw, 24px);
}

.showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 110px);
  padding-block: 70px 30px;
}

.showRow {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.showRow:nth-child(even) {
  grid-template-columns: 1fr 1.15fr;
}

.showRow:nth-child(even) .showPic {
  order: 2;
}

.showPic {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
}

.showPic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 1.4s, filter 0.6s;
}

.showPic:hover img {
  transform: scale(1.07);
  filter: brightness(1);
}

.showPic::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid var(--gold);
  opacity: 0.45;
  pointer-events: none;
}

.showText {
  min-width: 0;
}

.showText h2 {
  margin-block: 12px 16px;
  font-size: clamp(28px, 4vw, 50px);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tags span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  font-family: var(--fontLabel);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--goldLight);
}

.detailHero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(620px, 90svh);
  padding: 150px 16px 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.detailHero > img {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  filter: brightness(0.42);
  animation: slowZoom 22s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  to {
    transform: scale(1.08) translate(-1.5%, -1%);
  }
}

.detailHero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, var(--ink));
}

.detailHeroBody {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: auto;
}

.detailHero h1 {
  max-width: 15ch;
  margin-top: 14px;
  font-size: clamp(34px, 6.6vw, 88px);
  font-weight: 800;
}

.detailHero p {
  margin-top: 20px;
  max-width: 46ch;
  font-size: clamp(20px, 2.2vw, 27px);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--fontLabel);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

.crumbs a {
  text-decoration: none;
  color: var(--gold);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.fact {
  min-width: 0;
  padding: 22px;
  background: var(--basalt);
}

.fact small {
  display: block;
  margin-bottom: 6px;
  font-family: var(--fontLabel);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.fact b {
  display: block;
  font-family: var(--fontDisplay);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--sand);
}

.story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  padding-block: clamp(56px, 9vw, 120px);
}

.storyText h2 {
  margin-block: 12px 24px;
  font-size: clamp(28px, 4vw, 48px);
}

.storyText p {
  margin-bottom: 18px;
  font-size: 21px;
}

.storyText p:first-of-type::first-letter {
  float: left;
  padding: 6px 12px 0 0;
  font-family: var(--fontDisplay);
  font-size: 3.4em;
  line-height: 0.85;
  color: var(--goldLight);
}

.lens {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--gold);
  cursor: crosshair;
  touch-action: none;
}

.lens img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lensGlass {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 3px solid var(--goldLight);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 24px rgba(244, 210, 127, 0.35);
  left: var(--gx, 0);
  top: var(--gy, 0);
  background-image: var(--gi, none);
  background-size: var(--gs, auto);
  background-position: var(--gp, 0 0);
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s;
}

.lens:hover .lensGlass,
.lens.touch .lensGlass {
  opacity: 1;
}

.lensCap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(10, 7, 5, 0.7);
  font-family: var(--fontLabel);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--goldLight);
}

.modelExtra {
  position: relative;
  display: none;
  height: 460px;
  margin-bottom: 16px;
  border: 1px solid var(--gold);
  background: radial-gradient(circle at 50% 55%, rgba(214, 162, 61, 0.22), rgba(10, 7, 5, 0) 68%);
}

.modelExtra model-viewer {
  width: 100%;
  height: 460px;
  background: radial-gradient(circle at 50% 55%, rgba(214, 162, 61, 0.22), rgba(10, 7, 5, 0) 68%);
}

.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.note {
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--umber), var(--basalt));
}

.noteGlyph {
  font-size: 34px;
  line-height: 1;
  color: var(--gold);
}

.note h3 {
  margin-block: 12px 8px;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.note p {
  font-size: 18px;
  color: var(--sand);
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.pager a {
  display: block;
  padding: 26px 28px;
  text-decoration: none;
  transition: background 0.4s;
}

.pager a:hover {
  background: var(--umber);
}

.pagerNext {
  border-left: 1px solid var(--line);
  text-align: right;
}

.pager small {
  font-family: var(--fontLabel);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.pager b {
  display: block;
  margin-top: 6px;
  font-family: var(--fontDisplay);
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--goldLight);
}

.detailButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.footer {
  padding: 56px 16px 90px;
  border-top: 1px solid var(--line);
  background: var(--basalt);
}

.footerInner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  max-width: 1180px;
  margin: auto;
}

.footer p,
.footer a {
  display: block;
  font-size: 18px;
  text-decoration: none;
  color: var(--sand);
}

.footer p.dim {
  font-size: 17px;
  color: var(--dim);
}

.footer a:hover {
  color: var(--goldLight);
}

.footerGlyph {
  font-size: 46px;
  color: var(--goldLight);
}

@media (max-width: 980px) {
  .treasures,
  .treasuresFour {
    grid-template-columns: repeat(2, 1fr);
  }

  .treasure {
    aspect-ratio: 4 / 3;
  }

  .treasures:not(.treasuresFour) .treasure:last-child {
    grid-column: span 2;
  }

  .treasure span {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .burger {
    display: block;
  }

  .links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
    transform: translateY(-130%);
    transition: transform 0.4s;
  }

  .links.open {
    transform: none;
  }

  .links a {
    padding: 14px 6px;
    border-bottom: 1px solid rgba(214, 162, 61, 0.12);
  }

  .links .linkBook {
    margin: 12px 0 0;
    text-align: center;
  }

  .logoText {
    font-size: 11px;
  }
}

@media (max-width: 820px) {
  .split,
  .modelBand,
  .modelFlip,
  .showRow,
  .showRow:nth-child(even),
  .story,
  .bookGrid,
  .footerInner {
    grid-template-columns: 1fr;
  }

  .modelFlip .modelBox,
  .showRow:nth-child(even) .showPic {
    order: 0;
  }

  .summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .guideImg {
    left: -6%;
    height: 58%;
  }

  .touristImg {
    right: -8%;
    height: 52%;
  }

  .bubble {
    top: 12%;
  }

}

@media (max-width: 620px) {
  .twoCols {
    grid-template-columns: 1fr;
  }

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

  .ticketSide {
    border-left: 0;
    border-top: 2px dashed var(--line);
  }
}

@media (max-width: 560px) {
  .pager {
    grid-template-columns: 1fr;
  }

  .pagerNext {
    border-left: 0;
    border-top: 1px solid var(--line);
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms ;
    animation-iteration-count: 1 ;
    transition-duration: 0.01ms ;
  }

  .ribbonText {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.galleryGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.galleryCard {
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 55%, rgba(214, 162, 61, 0.18), rgba(10, 7, 5, 0) 70%);
  text-align: center;
  padding-bottom: 14px;
}

.galleryModel {
  width: 100%;
  height: clamp(240px, 26vw, 360px);
  --poster-color: transparent;
}

.galleryName {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 800px) {
  .galleryGrid {
    grid-template-columns: 1fr 1fr;
  }
}

.arBtn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 9px 14px;
  border: 1px solid var(--gold);
  background: rgba(10, 7, 5, 0.85);
  color: var(--goldLight);
  font-family: var(--fontLabel);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.showPic model-viewer {
  width: 100%;
  height: 100%;
  min-height: 300px;
  --poster-color: transparent;
  background: radial-gradient(circle at 50% 55%, rgba(214, 162, 61, 0.2), rgba(10, 7, 5, 0) 70%);
}

.modelExtra.ready {
  display: block;
}

.showPic model-viewer {
  position: absolute;
  inset: 0;
  visibility: hidden;
}

.showPic.ready model-viewer {
  visibility: visible;
}

.showPic.ready a {
  display: none;
}

.showPic a {
  display: block;
  height: 100%;
}

body.sheetOpen {
  overflow: hidden;
}

model-viewer {
  cursor: pointer;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 3, 2, 0.86);
  backdrop-filter: blur(6px);
}

.sheet[hidden] {
  display: none;
}

.sheetBox {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  width: min(1040px, 100%);
  max-height: calc(100svh - 32px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--gold);
  background: #0b0805;
}

.sheetClose {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 3;
  border: 0;
  background: none;
  color: var(--goldLight);
  font-size: 34px;
  line-height: 1;
}

.sheetViewer {
  position: relative;
  min-width: 0;
  min-height: 420px;
  background: radial-gradient(circle at 50% 55%, rgba(214, 162, 61, 0.22), rgba(10, 7, 5, 0) 68%);
}

.sheetViewer model-viewer {
  width: 100%;
  height: 100%;
  min-height: 420px;
  --poster-color: transparent;
}

.sheetInfo {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding-top: 12px;
}

.sheetInfo h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

.sheetInfo p {
  margin: 0;
  line-height: 1.6;
}

.sheetQrBox {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  padding: 14px;
  border: 1px solid var(--line);
}

.sheetQr {
  flex: none;
  width: 168px;
  background: #fff;
}

.sheetQr svg {
  display: block;
  width: 100%;
  height: auto;
  shape-rendering: crispEdges;
}

.sheetQrText {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
}

.sheetQrText b {
  color: var(--goldLight);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheetQrText small {
  word-break: break-all;
  opacity: 0.6;
}

.sheet.phoneView .sheetQrBox {
  display: none;
}

@media (max-width: 800px) {
  .sheetBox {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .sheetViewer,
  .sheetViewer model-viewer {
    min-height: 44svh;
  }

  .sheetQrBox {
    flex-direction: column;
    align-items: flex-start;
  }
}

.arLaunch {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--goldLight);
  background: var(--gold);
  color: #140d02;
  font-family: var(--fontLabel);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.arLaunch[hidden],
.arNote[hidden] {
  display: none;
}

.arNote {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--goldLight);
}

.sheet.phoneView .arLaunch {
  position: sticky;
  bottom: 12px;
  z-index: 3;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
