:root {
  color-scheme: dark;

  --bg: #150c07;
  --bg-elevated: #1f140a;
  --surface: rgba(243, 233, 218, 0.045);
  --surface-strong: rgba(243, 233, 218, 0.075);
  --border: rgba(243, 233, 218, 0.12);
  --border-strong: rgba(243, 233, 218, 0.2);

  --cream: #f6ecdd;
  --text-dim: #c9b9a6;
  --text-faint: #917f6c;

  --amber: #f0a940;
  --amber-deep: #c97b1f;
  --gradient: linear-gradient(120deg, #f6c272, var(--amber) 60%, var(--amber-deep));

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --max: 1100px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.4em;
  color: var(--cream);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--text-dim);
}

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ambient background */

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
}

.glow-a {
  top: -200px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(240, 169, 64, 0.22), transparent 70%);
}

.glow-b {
  top: 60vh;
  left: -220px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 123, 31, 0.16), transparent 70%);
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(21, 12, 7, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.back-link {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
  order: 1;
}

.back-link:hover {
  color: var(--cream);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--amber);
  order: 2;
  margin: 0 auto;
}

.brand-mark {
  display: block;
  width: 44px;
  height: auto;
}

.brand-word {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--cream);
}

.btn-small {
  order: 3;
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #1b1004;
  box-shadow: 0 10px 30px -10px rgba(240, 169, 64, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(240, 169, 64, 0.6);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--cream);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--amber);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1rem;
}

/* hero */

main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 56px 0 90px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4rem);
}

.subhead {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: var(--amber);
  margin: 6px 0 20px;
}

.hero-body {
  max-width: 48ch;
  font-size: 1.05rem;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 340px;
  border-radius: 28px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
}

/* tour rows */

.tour {
  padding: 40px 0;
}

.tour-row {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.tour-row:last-child {
  border-bottom: none;
}

.tour-row-reverse {
  grid-template-columns: 0.85fr 1fr;
}

.tour-row-reverse .tour-copy {
  order: 2;
}

.tour-row-reverse .tour-visual {
  order: 1;
}

.step-index {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--text-faint);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.tour-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.tour-copy p {
  font-size: 1rem;
  max-width: 46ch;
}

.tour-visual {
  display: flex;
  justify-content: center;
}

.tour-visual img {
  width: 100%;
  max-width: 280px;
  border-radius: 24px;
  box-shadow: 0 30px 70px -26px rgba(0, 0, 0, 0.65);
}

/* features */

.features {
  padding: 40px 0 96px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  margin-bottom: 36px;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-grid li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--cream);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.feature-grid li:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
  transform: translateY(-3px);
}

.feature-mark {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--amber);
  font-size: 0.9rem;
}

/* safety */

.safety {
  padding: 64px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.safety-inner {
  max-width: 680px;
}

.safety h2 {
  font-size: clamp(1.6rem, 2.8vw, 2rem);
}

/* disclosure */

.disclosure {
  padding: 64px 0;
}

.disclosure-inner {
  max-width: 680px;
}

.tag {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  border: 1px solid rgba(240, 169, 64, 0.3);
  background: rgba(240, 169, 64, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.disclosure-inner p {
  font-size: 0.95rem;
}

/* cta */

.cta {
  padding: 80px 0 96px;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-inner p {
  max-width: 42ch;
  margin: 0 auto 30px;
}

/* footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 6px;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.footer-sep {
  opacity: 0.5;
}

.footer-inner a {
  color: var(--amber);
}

/* reveal animation */

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* responsive */

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-body {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .tour-row,
  .tour-row-reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding: 48px 0;
  }

  .tour-row-reverse .tour-copy,
  .tour-row-reverse .tour-visual {
    order: initial;
  }

  .tour-copy p {
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 560px) {
  .header-inner {
    justify-content: center;
    text-align: center;
  }

  .back-link {
    order: 3;
    flex-basis: 100%;
    text-align: center;
  }

  .btn-small {
    order: 2;
  }

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