/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ivory: #F6F0E8;
  --ivory-deep: #EDE6D8;
  --forest: #2D4A3E;
  --forest-light: #3D6352;
  --forest-dark: #1E3329;
  --gold: #B8893A;
  --gold-light: #D4A84A;
  --charcoal: #1C1C1C;
  --warm-grey: #6B6359;
  --stone: #C4BAA8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
  --section-pad: 96px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- NAV --- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 186, 168, 0.4);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.tagline-nav {
  font-size: 0.75rem;
  color: var(--warm-grey);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- SECTION UTILITIES --- */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-pad) 40px;
}

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--forest-dark);
  line-height: 1.15;
  margin-bottom: 56px;
}

/* --- HERO --- */
.hero {
  background: var(--forest-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(184, 137, 58, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(61, 99, 82, 0.5) 0%, transparent 60%);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-text { color: var(--ivory); }

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ivory);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(246, 240, 232, 0.7);
  max-width: 480px;
  font-weight: 300;
}

/* Hero Visual — Box Illustration */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 800px;
}

.box-illustration {
  position: relative;
  transform: rotateY(-8deg) rotateX(5deg);
  transform-style: preserve-3d;
}

.box-body {
  width: 280px;
  height: 200px;
  background: linear-gradient(145deg, #C9A84C 0%, #8B6A28 40%, #A07830 100%);
  border-radius: 8px 8px 4px 4px;
  position: relative;
  box-shadow:
    0 0 0 2px rgba(201, 168, 76, 0.3),
    0 40px 80px rgba(0,0,0,0.6),
    inset 0 2px 0 rgba(255,255,255,0.15);
}

.box-lid {
  position: absolute;
  top: -12px;
  left: -6px;
  right: -6px;
  height: 24px;
  background: linear-gradient(180deg, #D4B454 0%, #B8893A 100%);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}

.lid-texture {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px 4px 0 0;
}

.box-interior-glow {
  position: absolute;
  top: 10px;
  left: 15px;
  right: 15px;
  height: 80px;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  border-radius: 4px;
}

.capsule-items {
  position: absolute;
  top: 30px;
  left: 20px;
  right: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.item-photo {
  background: rgba(255,255,255,0.9);
  height: 50px;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.item-letter {
  background: var(--ivory-deep);
  height: 50px;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  position: relative;
}

.item-letter::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 2px;
  background: var(--stone);
  border-radius: 1px;
}

.item-usb {
  background: #222;
  height: 50px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.item-usb::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.item-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--forest);
  color: var(--ivory);
  font-size: 0.65rem;
  font-family: var(--font-display);
  font-style: italic;
  text-align: center;
  padding: 8px 10px;
  border-radius: 4px;
  line-height: 1.3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.box-shadow {
  width: 300px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%);
  margin-top: 20px;
  border-radius: 50%;
  filter: blur(8px);
  margin-left: -10px;
}

/* --- HOW IT WORKS --- */
.howitworks {
  background: var(--ivory-deep);
}

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

.step {
  background: var(--ivory);
  padding: 40px 32px;
  position: relative;
  border-top: 3px solid var(--forest);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--ivory-deep);
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--warm-grey);
  line-height: 1.65;
}

/* --- THEMES --- */
.themes { background: var(--ivory); }

.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.theme-card {
  padding: 40px 32px;
  border-right: 1px solid var(--ivory-deep);
  border-bottom: 1px solid var(--ivory-deep);
  position: relative;
  transition: background 0.3s ease;
}

.theme-card:hover { background: var(--ivory-deep); }

.theme-card:nth-child(3n) { border-right: none; }

.theme-icon {
  color: var(--gold);
  margin-bottom: 16px;
}

.theme-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: 10px;
}

.theme-desc {
  font-size: 0.85rem;
  color: var(--warm-grey);
  line-height: 1.6;
}

/* --- PRICING --- */
.pricing { background: var(--forest); }

.pricing .section-eyebrow { color: var(--gold-light); }
.pricing .section-heading { color: var(--ivory); }

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

.tier {
  background: rgba(255,255,255,0.04);
  padding: 48px 36px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
}

.tier-premium {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201, 168, 76, 0.4);
}

.tier-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--forest-dark);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 0 0 4px 4px;
}

.tier-header { margin-bottom: 28px; }

.tier-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tier-features li {
  font-size: 0.85rem;
  color: rgba(246, 240, 232, 0.7);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.tier-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

/* --- PHILOSOPHY --- */
.philosophy {
  background: var(--forest-dark);
  padding: var(--section-pad) 0;
}

.philosophy-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.philosophy-text { color: var(--ivory); }

.philosophy-mark {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ivory);
  margin-bottom: 20px;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
}

.philosophy-attribution {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  padding-left: 27px;
}

.philosophy-body {
  font-size: 0.95rem;
  color: rgba(246, 240, 232, 0.6);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Ritual graphic */
.ritual-graphic {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ritual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.outer-ring {
  width: 320px;
  height: 320px;
  animation: spin-slow 40s linear infinite;
}

.inner-ring {
  width: 200px;
  height: 200px;
  border-style: dashed;
  border-width: 1px;
  animation: spin-slow 25s linear infinite reverse;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ritual-center {
  text-align: center;
  z-index: 1;
}

.ritual-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.ritual-date {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1;
}

.ritual-marks { position: absolute; inset: 0; }

.ritual-mark {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.mark-1 { top: 20px; left: 50%; transform: translateX(-50%); }
.mark-2 { bottom: 20px; left: 50%; transform: translateX(-50%); }
.mark-3 { left: 20px; top: 50%; transform: translateY(-50%); }
.mark-4 { right: 20px; top: 50%; transform: translateY(-50%); }

/* --- CLOSING --- */
.closing {
  background: var(--ivory-deep);
  border-top: 1px solid var(--stone);
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--section-pad) 40px;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--forest-dark);
  line-height: 1.2;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--warm-grey);
  line-height: 1.8;
  margin-bottom: 40px;
}

.closing-values {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--forest);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.value-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--forest-dark);
  padding: 48px 40px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ivory);
  display: block;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(246, 240, 232, 0.4);
  font-style: italic;
  font-family: var(--font-display);
}

.footer-note {
  font-size: 0.8rem;
  color: rgba(246, 240, 232, 0.3);
  max-width: 300px;
  text-align: right;
  line-height: 1.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-headline { font-size: 2.5rem; }
  .hero-sub { margin: 0 auto; }

  .hero-visual { order: -1; }
  .box-illustration { transform: rotateY(0) rotateX(5deg) scale(0.85); }

  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-card:nth-child(3n) { border-right: 1px solid var(--ivory-deep); }
  .theme-card:nth-child(2n) { border-right: none; }

  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 60px; }
  .ritual-graphic { width: 240px; height: 240px; margin: 0 auto; }
  .outer-ring { width: 240px; height: 240px; }
  .inner-ring { width: 150px; height: 150px; }
  .ritual-date { font-size: 2rem; }

  .closing-values { gap: 24px; }
}

@media (max-width: 600px) {
  :root { --section-pad: 64px; }

  .nav-inner { padding: 14px 20px; }
  .section-inner { padding: 64px 20px; }

  .steps-grid { grid-template-columns: 1fr; }
  .themes-grid { grid-template-columns: 1fr; }
  .theme-card { border-right: none; }

  .footer-inner { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer-note { text-align: left; }

  .hero-inner { padding: 60px 20px; }
  .closing-inner { padding: 64px 20px; }

  .closing-values { flex-direction: column; gap: 16px; align-items: center; }
}