/* =====================================
   WARDIAN — Custom CSS
   ===================================== */

:root {
  --forest: #1B3A2D;
  --forest-light: #2A5240;
  --cream: #F5F0E8;
  --cream-dark: #EDE7DA;
  --terracotta: #B8563A;
  --charcoal: #2C2C2C;
  --warm-gray: #6B6560;
  --border: rgba(27, 58, 45, 0.12);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: baseline; gap: 12px; }
.nav-wordmark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.75rem;
  color: var(--warm-gray);
  letter-spacing: 0.05em;
}
.nav-note { font-size: 0.8rem; color: var(--warm-gray); }

/* ── Hero ── */
.hero {
  padding: 140px 48px 80px;
  background: var(--cream);
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-overline {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--forest-light);
}
.hero-lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--warm-gray);
  max-width: 460px;
  margin-bottom: 36px;
}
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hero-price-from {
  font-size: 0.85rem;
  color: var(--warm-gray);
}
.hero-price-amount {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--forest);
}

/* Terrarium Art (CSS Illustration) */
.terrarium-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.t-case {
  position: relative;
  width: 280px;
  filter: drop-shadow(0 20px 60px rgba(27,58,45,0.2));
}
.t-glass {
  position: relative;
  width: 260px;
  height: 320px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.15) 100%);
  border: 2px solid rgba(27,58,45,0.2);
  border-radius: 8px 8px 4px 4px;
  overflow: hidden;
  backdrop-filter: blur(2px);
  box-shadow: inset 0 0 60px rgba(27,58,45,0.06), inset 0 0 30px rgba(255,255,255,0.5);
}
.t-base {
  width: 200px;
  height: 16px;
  background: var(--forest);
  border-radius: 2px;
  margin: 0 auto;
}
/* Moss layers */
.t-moss {
  position: absolute;
  bottom: 40px;
  border-radius: 50%;
}
.t-moss-1 {
  width: 180px;
  height: 60px;
  background: radial-gradient(ellipse, #4A7C59 0%, #3D6B4F 60%, #2D5A3F 100%);
  left: 20px;
  border-radius: 60% 60% 50% 50%;
}
.t-moss-2 {
  width: 120px;
  height: 45px;
  background: radial-gradient(ellipse, #5C9468 0%, #4A7C59 100%);
  left: 40px;
  bottom: 50px;
  border-radius: 50% 50% 60% 40%;
}
.t-moss-3 {
  width: 80px;
  height: 35px;
  background: radial-gradient(ellipse, #6BA87A 0%, #5C9468 100%);
  left: 100px;
  bottom: 65px;
  border-radius: 50% 40% 50% 50%;
}
/* Ferns */
.t-fern {
  position: absolute;
  border-radius: 2px;
  transform-origin: bottom center;
}
.t-fern-1 {
  width: 4px;
  height: 60px;
  background: linear-gradient(to top, #2D5A3F, #4A7C59);
  left: 80px;
  bottom: 95px;
  border-radius: 2px;
}
.t-fern-1::before, .t-fern-1::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 4px;
  background: #4A7C59;
  border-radius: 50%;
  top: 10px;
}
.t-fern-1::before { left: -22px; transform: rotate(-30deg); }
.t-fern-1::after { right: -22px; transform: rotate(30deg); }
.t-fern-2 {
  width: 3px;
  height: 40px;
  background: linear-gradient(to top, #3D6B4F, #5C9468);
  left: 150px;
  bottom: 90px;
}
/* Stones */
.t-stone {
  position: absolute;
  background: #8B8178;
  border-radius: 50% 60% 50% 40%;
}
.t-stone-1 { width: 35px; height: 22px; left: 30px; bottom: 28px; }
.t-stone-2 { width: 22px; height: 15px; left: 60px; bottom: 25px; background: #9E9589; }
/* Water drops */
.t-drip {
  position: absolute;
  top: 30px;
  right: 25px;
  width: 8px;
  height: 12px;
  background: rgba(180, 200, 210, 0.6);
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  animation: drip 3s ease-in-out infinite;
}
@keyframes drip {
  0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.6; }
  50% { transform: translateY(20px) scaleY(0.7); opacity: 0.3; }
}
.t-condensation { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }
.t-drop {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(180, 200, 220, 0.4);
  border-radius: 50%;
}
.t-drop-1 { top: 20px; left: 20px; }
.t-drop-2 { top: 80px; right: 30px; }
.t-drop-3 { top: 140px; left: 40px; width: 4px; height: 4px; }
.t-label {
  text-align: center;
  margin-top: 8px;
}
.t-label-name {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--forest);
}
.t-label-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--warm-gray);
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Hero scroll hint */
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  color: var(--warm-gray);
}
.hero-scroll span { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; }
.hero-arrow { animation: bounce 2s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Manifesto ── */
.manifesto {
  background: var(--forest);
  padding: 100px 48px;
}
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 32px;
}
.manifesto-body {
  font-size: 1rem;
  color: rgba(245,240,232,0.65);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}
.manifesto-divider { margin-top: 48px; display: flex; justify-content: center; }
.divider-leaf svg { width: 40px; height: 20px; opacity: 0.4; }

/* ── Ecosystems ── */
.ecosystems { padding: 100px 48px; background: var(--cream); }
.ecosystems-inner { max-width: 1200px; margin: 0 auto; }
.ecosystems-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-sub { font-size: 1rem; color: var(--warm-gray); max-width: 480px; margin: 0 auto; }
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.eco-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.eco-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(27,58,45,0.1); }
.eco-icon { width: 56px; height: 56px; margin-bottom: 24px; }
.eco-icon svg { width: 56px; height: 56px; }
.eco-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 12px;
}
.eco-desc { font-size: 0.9rem; line-height: 1.7; color: var(--warm-gray); margin-bottom: 20px; }
.eco-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-spec {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  background: rgba(27,58,45,0.08);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ── Process ── */
.process { padding: 100px 48px; background: var(--cream-dark); }
.process-inner { max-width: 1000px; margin: 0 auto; }
.process-header { margin-bottom: 64px; }
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(27,58,45,0.15);
  line-height: 1;
}
.step-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 12px;
}
.step-body { font-size: 0.95rem; color: var(--warm-gray); line-height: 1.7; }
.process-aside { margin-top: 48px; }
.aside-card {
  background: var(--forest);
  border-radius: 12px;
  padding: 28px 36px;
  display: inline-block;
}
.aside-text { font-size: 1rem; color: var(--cream); line-height: 1.6; }
.aside-text strong { color: var(--cream); }

/* ── Origin ── */
.origin { padding: 100px 48px; background: var(--cream); }
.origin-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.origin-year {
  display: block;
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(27,58,45,0.1);
  line-height: 1;
  margin-bottom: 16px;
}
.origin-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 24px;
  line-height: 1.2;
}
.origin-body { font-size: 1rem; color: var(--warm-gray); line-height: 1.8; margin-bottom: 16px; }

/* Diagram */
.diagram-container { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.diagram-case {
  position: relative;
  filter: drop-shadow(0 12px 40px rgba(27,58,45,0.15));
}
.diagram-glass {
  width: 200px;
  height: 260px;
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.3));
  border: 2px solid rgba(27,58,45,0.2);
  border-radius: 4px 4px 2px 2px;
  overflow: hidden;
  position: relative;
}
.diagram-moss {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to top, #3D6B4F, #4A7C59, #5C9468);
}
.diagram-plant {
  position: absolute;
  bottom: 50px;
  left: 80px;
  width: 4px;
  height: 80px;
  background: #4A7C59;
  border-radius: 2px;
}
.diagram-plant::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -18px;
  width: 20px;
  height: 3px;
  background: #4A7C59;
  border-radius: 2px;
  transform: rotate(-25deg);
}
.diagram-plant::after {
  content: '';
  position: absolute;
  top: 25px;
  right: -18px;
  width: 20px;
  height: 3px;
  background: #4A7C59;
  border-radius: 2px;
  transform: rotate(25deg);
}
.diagram-base {
  width: 140px;
  height: 14px;
  background: var(--forest);
  margin: 0 auto;
  border-radius: 0 0 2px 2px;
}
.diagram-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--warm-gray);
}

/* ── Closing ── */
.closing {
  background: var(--forest);
  padding: 100px 48px;
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.closing-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 24px;
}
.closing-body { font-size: 1rem; color: rgba(245,240,232,0.6); line-height: 1.8; }
.closing-price-block {
  background: rgba(245,240,232,0.05);
  border: 1px solid rgba(245,240,232,0.1);
  border-radius: 16px;
  padding: 40px;
}
.price-lines { margin-bottom: 24px; }
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245,240,232,0.08);
  font-size: 0.95rem;
}
.price-line:last-child { border-bottom: none; }
.price-label { color: rgba(245,240,232,0.65); }
.price-val { font-family: var(--serif); font-weight: 700; color: var(--cream); }
.price-line-featured .price-val { color: var(--terracotta); }
.price-note { font-size: 0.8rem; color: rgba(245,240,232,0.4); }

/* ── Footer ── */
.footer {
  background: #151F19;
  padding: 64px 48px 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { margin-bottom: 40px; }
.footer-wordmark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  display: block;
  margin-bottom: 12px;
}
.footer-desc { font-size: 0.85rem; color: rgba(245,240,232,0.4); max-width: 300px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-col-head {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  font-size: 0.9rem;
  color: rgba(245,240,232,0.5);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(245,240,232,0.08);
}
.footer-copy { font-size: 0.75rem; color: rgba(245,240,232,0.3); }
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.75rem;
  color: rgba(245,240,232,0.25);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-note { display: none; }
  .hero { padding: 120px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .t-case { width: 200px; margin: 0 auto; }
  .t-glass { width: 185px; height: 230px; }
  .t-moss-1 { width: 130px; height: 44px; }
  .t-moss-2 { width: 90px; height: 34px; }
  .t-moss-3 { width: 60px; height: 26px; }
  .manifesto, .ecosystems, .process, .origin, .closing, .footer { padding-left: 24px; padding-right: 24px; }
  .eco-grid { grid-template-columns: 1fr; }
  .origin-inner, .closing-inner { grid-template-columns: 1fr; gap: 48px; }
  .origin-diagram { order: -1; }
  .step { grid-template-columns: 56px 1fr; gap: 20px; }
  .footer-links { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .eco-card { padding: 28px 24px; }
}
