/* ================================================================
   NUSA — design tokens (from design-system/nusa/MASTER.md, gold-adapted)
   ================================================================ */
:root {
  --ink-950: #050810;
  --ink-900: #0A0F1E;
  --ink-800: #101729;
  --ink-700: #1A2238;
  --ink-600: #2A3450;
  --sand: #E8DCC8;
  --sand-dim: #B8AD97;
  --gold: #E5B85C;
  --gold-bright: #F2CE7B;
  --gold-deep: #A16207;
  --terracotta: #C4704B;
  --fg: #F5F1E8;
  --fg-muted: #9AA3B8;
  --border: rgba(232, 220, 200, 0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;

  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 40px;
  --space-5: 64px; --space-6: 96px; --space-7: 144px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.83, 0, 0.17, 1);
  --dur-fast: 250ms;
  --dur-slow: 700ms;

  --radius: 18px;
  --radius-lg: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink-950);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold); }
button { font: inherit; border: none; background: none; color: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--ink-950); }

/* ============ film grain ============ */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -1.5%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ============ custom cursor ============ */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed; top: 0; left: 0;
    z-index: 300; pointer-events: none;
  }
  .cursor-dot {
    width: 10px; height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--gold);
    transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
  }
  .cursor.is-hover .cursor-dot { transform: scale(3.2); opacity: 0.35; }
}

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast);
  will-change: transform;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink-950);
  box-shadow: 0 0 0 rgba(229, 184, 92, 0);
}
.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(229, 184, 92, 0.35);
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--sand);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-lg { padding: 18px 44px; font-size: 17px; }
.btn-block { width: 100%; padding: 16px 24px; font-size: 16px; }

/* ============ nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  transform: translateY(-110%);
  transition: transform 0.55s var(--ease-out), background 0.4s;
  background: linear-gradient(to bottom, rgba(5, 8, 16, 0.85), rgba(5, 8, 16, 0));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav.is-visible { transform: translateY(0); }
.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.06em;
}
.nav-logo-dot {
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.nav-links { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--fg-muted);
  transition: color var(--dur-fast);
}
.nav-links a:hover { color: var(--gold); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* ============ hero ============ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media, .hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media img {
  opacity: 0;
  transition: opacity 1.6s var(--ease-inout);
  transform-origin: 60% 40%;
}
.hero-media img.is-on {
  opacity: 1;
  animation: hero-kenburns 12s linear infinite alternate;
}
@keyframes hero-kenburns {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
.hero-caption {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  bottom: 40px;
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand-dim);
  transition: opacity 0.35s;
}
.hero-caption.is-switching { opacity: 0; }
@media (max-width: 640px) { .hero-caption { display: none; } }
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink-950) 2%, rgba(5,8,16,0.55) 32%, rgba(5,8,16,0.1) 60%),
    linear-gradient(to bottom, rgba(5,8,16,0.5), transparent 30%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 72px) clamp(72px, 12vh, 130px);
  max-width: 1100px;
}
.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 470;
  font-size: clamp(44px, 8.5vw, 118px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-3);
}
.hero-title .line,
.chapter-title .line,
.manifesto-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.hero-title .line > span { display: inline-block; }
.hero-sub {
  max-width: 520px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--sand);
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 20px rgba(5,8,16,0.8);
}
.hero-scroll {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: 40px;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--sand-dim);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2.2s var(--ease-inout) infinite;
  transform-origin: top;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============ section heads ============ */
.section-head {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-7) clamp(20px, 5vw, 48px) var(--space-5);
  text-align: center;
}
.section-kicker {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 470;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.08;
  margin-bottom: var(--space-3);
}
.section-sub { color: var(--fg-muted); max-width: 560px; margin: 0 auto; }

/* ============ map ============ */
.map-section {
  position: relative;
  background:
    radial-gradient(1100px 500px at 50% 45%, rgba(26, 34, 56, 0.55), transparent 70%),
    var(--ink-950);
}
.map-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(8px, 3vw, 40px);
}
#archipelago {
  width: 100%; height: auto;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(900px 420px at 50% 40%, rgba(26, 34, 56, 0.5), transparent 70%),
    var(--ink-950);
  cursor: grab;
  touch-action: pan-y;
}
#archipelago.is-grabbing { cursor: grabbing; }
#cam { will-change: transform; transform-origin: 0 0; }

.graticule line {
  stroke: rgba(232, 220, 200, 0.05);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.continent-label {
  fill: var(--sand-dim);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.5em;
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.5s;
}
#archipelago.is-zoomed .continent-label { opacity: 0.1; }

/* LOD: layer nusantara detail vs cluster dunia */
#idLayer { opacity: 0; pointer-events: none; transition: opacity 0.7s var(--ease-out); }
#archipelago.zoom-id #idLayer { opacity: 1; pointer-events: auto; }
.continent { transition: opacity 0.6s var(--ease-out); }
.id-cluster { cursor: pointer; transition: opacity 0.5s var(--ease-out); }
#archipelago.zoom-id .id-cluster { opacity: 0; pointer-events: none; }
.cluster-core {
  fill: var(--ink-950);
  stroke: var(--gold-bright);
  stroke-width: 2;
}
.cluster-num {
  fill: var(--gold-bright);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-anchor: middle;
  pointer-events: none;
}
.id-cluster .pt-label { opacity: 0.9; }
.id-cluster:hover .cluster-core { stroke-width: 3; }

/* toolbar + zoom */
.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 clamp(16px, 4vw, 40px) 22px;
}
.map-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--sand-dim);
  background: rgba(10, 15, 30, 0.6);
  transition: all var(--dur-fast);
}
.map-chip:hover { border-color: var(--gold); color: var(--gold); }
.map-chip.is-active {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink-950);
  border-color: transparent;
}
.map-zoom {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: 18px;
  display: grid;
  gap: 8px;
  z-index: 4;
}
.map-zoom button {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--sand);
  font-size: 20px;
  transition: all var(--dur-fast);
}
.map-zoom button:hover { border-color: var(--gold); color: var(--gold); transform: scale(1.07); }

.island {
  fill: var(--ink-700);
  stroke: rgba(229, 184, 92, 0.22);
  stroke-width: 1;
  transition: fill 0.5s;
}
.island:hover { fill: var(--ink-600); }

.exp-point { cursor: pointer; }
.exp-point .pt-core {
  fill: var(--gold-bright);
  transition: r 0.25s var(--ease-out);
}
.exp-point .pt-halo {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  opacity: 0.7;
  animation: halo 2.6s var(--ease-out) infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes halo {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.6); opacity: 0; }
}
.exp-point:hover .pt-core, .exp-point.is-active .pt-core { r: 9; }
.exp-point .pt-label {
  fill: var(--sand);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.exp-point:hover .pt-label, .exp-point.is-active .pt-label { opacity: 0.9; }

.map-preview {
  position: absolute;
  z-index: 5;
  width: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.map-preview.is-on { opacity: 1; transform: translateY(0); }
.map-preview-img { width: 100%; height: 130px; object-fit: cover; }
.map-preview-body { padding: 14px 16px 16px; }
.map-preview-region {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.map-preview-title {
  font-family: var(--font-display);
  font-size: 17px; line-height: 1.25; margin-bottom: 6px;
}
.map-preview-price { font-size: 13px; color: var(--sand-dim); }
.map-hint {
  text-align: center;
  color: var(--fg-muted);
  font-size: 13px;
  padding: var(--space-4) 20px var(--space-6);
}

/* ============ chapters ============ */
.chapter {
  position: relative;
  padding: var(--space-7) 0 var(--space-6);
  overflow: hidden;
}
.chapter-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.chapter-bg img {
  width: 100%; height: 120%;
  object-fit: cover;
  opacity: 0.34;
  will-change: transform;
}
.chapter-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--ink-950) 0%, rgba(5,8,16,0.35) 40%, rgba(5,8,16,0.5) 70%, var(--ink-950) 100%);
}
.chapter-inner { position: relative; z-index: 1; }
.chapter-head {
  padding: 0 clamp(20px, 5vw, 72px);
  margin-bottom: var(--space-5);
  max-width: 1300px;
}
.chapter-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-2);
  display: block;
}
.chapter-title {
  font-family: var(--font-display);
  font-weight: 470;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.chapter-title .line > span { display: inline-block; }
.chapter-desc {
  margin-top: var(--space-3);
  max-width: 480px;
  color: var(--sand);
  font-size: 17px;
}

/* film strip */
.strip {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  overflow-x: auto;
  padding: 8px clamp(20px, 5vw, 72px) 32px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }

.card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(240px, 26vw, 330px);
  aspect-ratio: 3 / 4.2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  background: var(--ink-800);
}
.card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.card:hover img { transform: scale(1.06); }
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,8,16,0.92) 0%, rgba(5,8,16,0.25) 45%, rgba(5,8,16,0.15) 100%);
}
.card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px;
}
.card-region {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.18;
  margin-bottom: 10px;
}
.card-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--sand);
}
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--sand-dim); }
.card-price { font-weight: 600; color: var(--gold-bright); }
.card-slots {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(5, 8, 16, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--sand);
}
.card-slots.is-low { color: var(--gold-bright); border-color: rgba(229,184,92,0.4); }

/* ============ manifesto ============ */
.manifesto {
  padding: var(--space-7) clamp(20px, 5vw, 72px);
  max-width: 1300px;
  margin: 0 auto;
}
.manifesto-title {
  font-family: var(--font-display);
  font-weight: 470;
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}
.manifesto-title .line > span { display: inline-block; }
.manifesto-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5) var(--space-4);
}
.manifesto-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.manifesto-col h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 12px;
}
.manifesto-col p { color: var(--fg-muted); }

/* ============ footer ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-5) clamp(20px, 5vw, 72px) calc(var(--space-4) + env(safe-area-inset-bottom));
}
.footer-inner { max-width: 1300px; margin: 0 auto; text-align: center; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.footer-tag { color: var(--sand-dim); font-style: italic; font-family: var(--font-display); margin-bottom: var(--space-3); }
.footer-meta {
  display: flex; justify-content: center; gap: 12px;
  color: var(--fg-muted); font-size: 13px;
}
.footer-meta a:hover { color: var(--gold); }

/* ============ modal ============ */
.modal { position: fixed; inset: 0; z-index: 150; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 5, 10, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s;
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(1040px, 100%);
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ink-900);
  transform: translateY(6vh);
  opacity: 0;
  transition: transform 0.55s var(--ease-out), opacity 0.45s;
}
@media (min-width: 1100px) {
  .modal-panel {
    height: min(92vh, 1000px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
  }
}
.modal.is-open .modal-panel { transform: translateY(0); opacity: 1; }

.modal-hero { position: relative; height: min(52vh, 460px); }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink-900) 4%, rgba(10,15,30,0.2) 55%, rgba(10,15,30,0.45) 100%);
}
.modal-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top)); right: 18px;
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(5, 8, 16, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--sand);
  transition: transform var(--dur-fast) var(--ease-out), color var(--dur-fast);
}
.modal-close:hover { transform: rotate(90deg); color: var(--gold); }

.modal-title-wrap {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 0 clamp(22px, 4vw, 48px) 26px;
}
.modal-region {
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.modal-title {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.05;
}
.modal-body {
  padding: clamp(22px, 4vw, 48px);
  padding-bottom: 140px;
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 880px) {
  .modal-body { grid-template-columns: 1.5fr 1fr; align-items: start; }
}
.modal-main { display: grid; gap: var(--space-5); min-width: 0; }

.host-block { display: flex; gap: 18px; align-items: flex-start; }
.host-avatar {
  flex: 0 0 60px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink-950);
}
.host-name { font-weight: 600; margin-bottom: 2px; }
.host-role { font-size: 13px; color: var(--gold); margin-bottom: 10px; }
.host-story {
  color: var(--sand);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  font-style: italic;
}

.block-label {
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--space-3);
}
.itinerary { display: grid; gap: 0; border-left: 1px solid var(--border); }
.itin-item { position: relative; padding: 0 0 22px 26px; }
.itin-item:last-child { padding-bottom: 0; }
.itin-item::before {
  content: "";
  position: absolute;
  left: -5px; top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(229, 184, 92, 0.6);
}
.itin-time { font-size: 12px; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 2px; }
.itin-text { color: var(--sand); font-size: 15px; }

.includes { display: grid; gap: 10px; }
.include-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--sand);
}
.include-item svg { flex: 0 0 auto; color: var(--gold); }

.reviews { display: grid; gap: 18px; }
.review {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--ink-800);
  border: 1px solid var(--border);
}
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-handle { font-weight: 600; font-size: 14px; }
.review-stars { color: var(--gold); font-size: 12px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--fg-muted); }

/* booking sidebar */
.booking {
  position: sticky; top: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  padding: 26px;
  display: grid;
  gap: 20px;
}
.booking-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.booking-price {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold-bright);
}
.booking-per { color: var(--fg-muted); font-size: 14px; }
.booking-original { color: var(--fg-muted); font-size: 15px; text-decoration: line-through; }
.booking-slots {
  font-size: 13px; font-weight: 600; color: var(--gold-bright);
  display: flex; align-items: center; gap: 8px;
}
.booking-slots .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229,184,92,0.5); }
  50% { box-shadow: 0 0 0 7px rgba(229,184,92,0); }
}
.booking-meta { display: grid; gap: 8px; font-size: 14px; color: var(--sand); }
.booking-meta div { display: flex; justify-content: space-between; }
.booking-meta span:last-child { color: var(--fg); font-weight: 500; }

/* group join */
.group-box {
  border: 1px dashed rgba(229, 184, 92, 0.35);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.group-title { font-weight: 600; font-size: 15px; }
.group-title em { font-style: normal; color: var(--gold); }
.group-bar {
  height: 8px; border-radius: 99px;
  background: var(--ink-700);
  overflow: hidden;
}
.group-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transition: width 0.6s var(--ease-out);
}
.group-caption { font-size: 13px; color: var(--fg-muted); }
.group-caption strong { color: var(--gold-bright); }
.group-controls { display: flex; align-items: center; gap: 14px; }
.group-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 20px;
  color: var(--sand);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.group-btn:hover { border-color: var(--gold); color: var(--gold); transform: scale(1.06); }
.group-count { font-weight: 700; font-size: 18px; min-width: 70px; text-align: center; }

.pay-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
}
.pay-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--sand-dim);
}
.pay-note { font-size: 12px; color: var(--fg-muted); }
.pay-note strong { color: var(--gold-bright); font-weight: 600; }

/* ============ checkout ============ */
.gold-link { color: var(--gold); border-bottom: 1px solid rgba(229,184,92,0.4); }
.gold-link:hover { color: var(--gold-bright); }

.field { display: grid; gap: 7px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-dim);
}
.field .opt { text-transform: none; letter-spacing: 0; color: var(--fg-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--ink-950);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  transition: border-color var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field input[type="date"] { color-scheme: dark; }

.booking-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--sand-dim);
}
.booking-total strong {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold-bright);
}

.link-back {
  text-align: left;
  font-size: 13px;
  color: var(--fg-muted);
  transition: color var(--dur-fast);
}
.link-back:hover { color: var(--gold); }

.checkout-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: grid; gap: 6px;
  background: var(--ink-950);
}
.checkout-exp { font-family: var(--font-display); font-size: 18px; }
.checkout-line { font-size: 13px; color: var(--fg-muted); }

.form-error {
  font-size: 13px;
  color: #F87171;
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pay-opt {
  padding: 11px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--sand-dim);
  transition: all var(--dur-fast);
}
.pay-opt:hover { border-color: var(--gold); color: var(--gold); }
.pay-opt.is-active {
  border-color: var(--gold);
  color: var(--ink-950);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.qr-box {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--ink-950);
  border: 1px dashed rgba(229, 184, 92, 0.35);
}
.qr-fake {
  width: 150px; height: 150px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
}
.qr-fake svg { width: 100%; height: 100%; fill: #0a0a0a; }
.qr-amount { font-family: var(--font-display); font-size: 20px; color: var(--gold-bright); }
.qr-note { font-size: 12px; color: var(--fg-muted); }

.sandbox-note {
  font-size: 11px;
  color: var(--fg-muted);
  text-align: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(229, 184, 92, 0.07);
  border: 1px solid rgba(229, 184, 92, 0.15);
}

.success-box {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 10px 0;
}
.success-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink-950);
  animation: success-pop 0.6s var(--ease-out);
}
.success-ring svg { width: 30px; height: 30px; }
@keyframes success-pop {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.success-title { font-family: var(--font-display); font-size: 22px; }
.success-code {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  padding: 8px 20px;
  border: 1px dashed rgba(229, 184, 92, 0.45);
  border-radius: 12px;
}
.success-note { font-size: 14px; color: var(--fg-muted); }

/* reveal helpers */
.will-reveal { opacity: 0; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .grain { display: none; }
  .will-reveal { opacity: 1 !important; transform: none !important; }
}

/* focus visibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
