/* ─── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #1a1813;
  --cream:      #f4efe4;
  --cream-mid:  #e8e0d0;
  --green-deep: #2c4a1e;
  --green-mid:  #3d6b2a;
  --green-pale: #c6d4b0;
  --green-light:#dceed2;
  --gold:       #8a7040;
  --gold-light: #c4a96a;
  --stone:      #7a7268;
  --stone-light:#b0a898;
}

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

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Topbar ───────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(244, 239, 228, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-mid);
}

.wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.15s;
}
.topbar-link:hover { color: var(--ink); }

.origin-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-deep);
  border: 1px solid var(--green-pale);
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
}

/* ─── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2.5rem 5rem;
  overflow: hidden;
}

.hero-inner { position: relative; z-index: 2; max-width: 680px; }

.hero-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 2rem;
}

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

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.hero-title em {
  font-style: italic;
  color: var(--green-deep);
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-pillars {
  display: flex;
  align-items: center;
  gap: 0;
}

.pillar { padding: 0 2rem; }
.pillar:first-child { padding-left: 0; }

.pillar-num {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pillar-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

.pillar-div {
  width: 1px;
  height: 3rem;
  background: var(--cream-mid);
  flex-shrink: 0;
}

/* ─── Hero Atmosphere Blobs ─────────────────────────── */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #c6d4b0 0%, transparent 70%);
  top: -80px; right: -80px;
}

.blob-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #dceed2 0%, transparent 70%);
  bottom: 60px; right: 120px;
}

.blob-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #8a7040 0%, transparent 70%);
  bottom: -20px; right: 40px;
  opacity: 0.15;
}

/* ─── Sachet Section ────────────────────────────────── */
.sachet-section {
  padding: 6rem 2.5rem;
  background: var(--cream-mid);
}

.sachet-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

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

.sachet-card {
  width: 240px;
  background: var(--green-deep);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow:
    0 4px 24px rgba(44,74,30,0.25),
    0 20px 60px rgba(44,74,30,0.15);
  position: relative;
}

.sachet-card::before {
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
}

.sachet-top {
  display: flex;
  gap: 0.5rem;
}

.sachet-kanji {
  font-size: 1.5rem;
  color: var(--gold-light);
  font-family: serif;
  opacity: 0.8;
  line-height: 1;
}

.sachet-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 0.1rem 0;
}

.sachet-name {
  font-family: 'DM Mono', monospace;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: #f4efe4;
  text-align: center;
}

.sachet-grade {
  font-size: 0.75rem;
  color: var(--green-pale);
  text-align: center;
  letter-spacing: 0.05em;
}

.sachet-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.sachet-weight {
  font-family: 'DM Mono', monospace;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
}

.sachet-origin {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-pale);
}

.sachet-headline {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.sachet-body {
  font-size: 1.15rem;
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.sachet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  border: 1px solid var(--green-pale);
  padding: 0.3rem 0.7rem;
  border-radius: 2rem;
}

/* ─── Origins Section ───────────────────────────────── */
.origins-section {
  padding: 6rem 2.5rem;
  background: var(--cream);
}

.origins-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.section-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1.25rem;
}

.origins-headline {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.origins-body {
  font-size: 1.15rem;
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.origin-stats {
  display: flex;
  gap: 2rem;
}

.origin-stat {}

.stat-value {
  display: block;
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--stone);
  line-height: 1.4;
}

/* ─── Origins Visual ───────────────────────────────── */
.origins-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.terrain-block {
  width: 100%;
  max-width: 420px;
  background: var(--green-deep);
  border-radius: 4px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.terrain-line {
  position: absolute;
  border-radius: 50%;
}

.t-l-1 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  top: -80px; right: -80px;
}

.t-l-2 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(196,169,106,0.25) 0%, transparent 70%);
  bottom: 40px; left: -40px;
}

.t-l-3 {
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(198,212,176,0.3) 0%, transparent 70%);
  bottom: -20px; right: 60px;
}

.terrain-label {
  position: relative;
  z-index: 1;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-pale);
}

/* ─── Ritual Section ────────────────────────────────── */
.ritual-section {
  padding: 6rem 2.5rem;
  background: var(--ink);
}

.ritual-inner { max-width: 900px; margin: 0 auto; }

.ritual-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 4rem;
}

.step {
  flex: 1;
  padding: 0 2rem;
}

.step:first-child { padding-left: 0; }
.step:last-child  { padding-right: 0; }

.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1.75rem;
  font-weight: 500;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.step-body {
  font-size: 1rem;
  color: var(--stone-light);
  line-height: 1.7;
}

.step-connector {
  width: 60px;
  flex-shrink: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--stone), transparent);
  opacity: 0.4;
}

.ritual-tagline {
  text-align: center;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--green-pale);
  line-height: 1.6;
}

/* ─── Closing Section ───────────────────────────────── */
.closing-section {
  padding: 8rem 2.5rem 6rem;
  background: var(--cream);
  text-align: center;
}

.closing-inner { max-width: 640px; margin: 0 auto; }

.closing-kanji {
  font-size: 4rem;
  color: var(--green-pale);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.closing-headline {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.closing-body {
  font-size: 1.2rem;
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.closing-rule {
  width: 60px;
  height: 2px;
  background: var(--green-mid);
  margin: 0 auto 2.5rem;
}

.closing-vision {
  font-size: 1rem;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.05em;
  color: var(--stone-light);
  line-height: 1.8;
}

/* ─── Footer ───────────────────────────────────────── */
.site-footer {
  padding: 3rem 2.5rem;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-wordmark {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cream);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--stone-light);
  font-style: italic;
}

.footer-rule {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}

.footer-legal {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-pillars { flex-direction: column; gap: 1.25rem; align-items: flex-start; }
  .pillar-div { display: none; }

  .sachet-inner,
  .origins-inner { grid-template-columns: 1fr; gap: 3rem; }

  .ritual-steps { flex-direction: column; gap: 2rem; }
  .step-connector { display: none; }
  .step { padding: 0; }

  .origin-stats { flex-direction: column; gap: 1.5rem; }

  .topbar { padding: 1rem 1.5rem; }

  .sachet-section,
  .origins-section,
  .ritual-section,
  .closing-section { padding: 4rem 1.5rem; }
}