/* ========================
   Reset
   ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
body { min-height: 100svh; }
ul { list-style: none; }

/* ========================
   Custom Properties
   ======================== */
:root {
  --shell: #FDF5F4;
  --paper: #FDF8F6;
  --ink: #574A46;
  --muted: #8C8279;
  --line: #D9CCC4;
  --ember: #A46B43;
  --moss: #56663E;
  --on-accent: #FDFBF6;
  --sand: #EDEDC8;
  --sage: #766C6B;
  --bloom: #E8F0EB;
  --bloom-ink: #4A5E4F;
  --moss-bg: #573C46;
  --deep: #3A322F;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;

  --shadow-phone: 0 24px 80px rgba(87, 74, 70, 0.18), 0 4px 16px rgba(87, 74, 70, 0.08);
  --shadow-card: 0 2px 12px rgba(87, 74, 70, 0.06);
  --radius-phone: 28px;
  --radius-pill: 999px;
}

/* ========================
   Grain Overlay
   ======================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ========================
   Base
   ======================== */
body {
  font-family: var(--font-sans);
  background: var(--shell);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--ember); text-decoration: none; }

/* ========================
   Reveal System
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* ========================
   Section Wrapper
   ======================== */
.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ========================
   HERO
   ======================== */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px 60px;
  position: relative;
}

/* Decorative botanical accent — large faded leaf behind hero */
.hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -60px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(86, 102, 62, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__text {
  padding-right: 24px;
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(64px, 8vw, 96px);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 28px;
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 20px;
  max-width: 440px;
}

.hero__body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 40px;
}

.hero__phones {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.hero__phone {
  border-radius: var(--radius-phone);
  box-shadow: var(--shadow-phone);
  overflow: hidden;
  position: relative;
}

.hero__phone img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__phone--primary {
  width: 240px;
  transform: rotate(-2deg);
  z-index: 2;
}

.hero__phone--secondary {
  width: 210px;
  transform: rotate(3deg) translateY(-20px);
  z-index: 1;
}

/* ========================
   Button
   ======================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--moss);
  color: var(--on-accent);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 16px 40px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  text-decoration: none;
  position: relative;
}

.btn-primary:hover {
  background: #4A5832;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(86, 102, 62, 0.25);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ========================
   Leaf Divider
   ======================== */
.leaf-divider {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.leaf-divider svg {
  width: 28px;
  height: 40px;
  stroke: var(--line);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.5;
}

/* ========================
   PHILOSOPHY
   ======================== */
.philosophy {
  padding: 100px 0;
}

.philosophy__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.philosophy h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--ink);
  line-height: 1.25;
}

.philosophy__manifesto {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--ink);
  margin-top: 32px;
  line-height: 1.55;
}

.philosophy__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.philosophy__list li {
  font-size: 15px;
  color: var(--ink);
  line-height: 2.2;
  position: relative;
  padding-left: 20px;
}

.philosophy__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}

/* ========================
   GARDEN
   ======================== */
.garden {
  padding: 100px 0;
}

.garden__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.garden h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--ink);
}

.garden__subtitle {
  font-size: 15px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.65;
}

/* Garden: screenshot + stages side by side */
.garden__content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}

.garden__phone {
  width: 240px;
  border-radius: var(--radius-phone);
  box-shadow: var(--shadow-phone);
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.garden__phone img {
  width: 100%;
  height: auto;
  display: block;
}

.garden__stages {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.garden__stage {
  display: flex;
  align-items: center;
  gap: 20px;
}

.garden__stage-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.garden__stage-icon--planted  { background: var(--sand); }
.garden__stage-icon--sprouted { background: var(--sage); }
.garden__stage-icon--blooming { background: var(--bloom); }
.garden__stage-icon--rooted   { background: var(--moss-bg); }

.garden__stage-text {
  text-align: left;
}

.garden__stage-label {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.garden__stage-desc {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}

/* ========================
   FEATURES — Editorial Rows
   ======================== */
.features {
  padding: 80px 0 40px;
}

.features__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 72px;
}

.features h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--ink);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 0;
}

.feature-row:nth-child(even) .feature-row__visual {
  order: -1;
}

.feature-row__text {
  padding: 0 16px;
}

.feature-row__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.feature-row__desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 400px;
}

.feature-row__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.feature-row__phone {
  width: 230px;
  border-radius: var(--radius-phone);
  box-shadow: var(--shadow-phone);
  overflow: hidden;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-row__phone:hover {
  transform: translateY(-4px) scale(1.01);
}

.feature-row__phone img {
  width: 100%;
  height: auto;
  display: block;
}

/* Alternating subtle bg tint on even rows */
.feature-row:nth-child(even) {
  position: relative;
}

.feature-row:nth-child(even)::before {
  content: '';
  position: absolute;
  inset: -20px -200vw;
  background: rgba(232, 240, 235, 0.3);
  z-index: -1;
  pointer-events: none;
}

/* Visual flourish — small rotated leaf watermark on some rows */
.feature-row__visual::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(86, 102, 62, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  bottom: -20px;
  right: 10%;
}

/* ========================
   PRACTICE MODES
   ======================== */
.practice {
  padding: 100px 0;
}

.practice__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.practice__text {
  max-width: 440px;
}

.practice h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--ink);
  margin-bottom: 16px;
}

.practice__subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 40px;
}

.practice__modes {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 30px;
}

.practice__modes::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--line);
  transform-origin: top;
}

.practice__modes.revealed::before {
  animation: lineGrow 800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes lineGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.practice__mode {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.practice__mode-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  position: absolute;
  left: -30px;
  top: 3px;
}

.practice__mode-dot--gentle  { background: var(--sand); }
.practice__mode-dot--guided  { background: var(--sage); }
.practice__mode-dot--phrase  { background: var(--bloom); }
.practice__mode-dot--recall  { background: var(--moss); }

.practice__mode-name {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}

.practice__mode-desc {
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.5;
}

.practice__visual {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.practice__phone {
  width: 220px;
  border-radius: var(--radius-phone);
  box-shadow: var(--shadow-phone);
  overflow: hidden;
  transform: rotate(2deg);
}

.practice__phone--alt {
  width: 200px;
  transform: rotate(-2deg) translateY(30px);
}

.practice__phone img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================
   CTA
   ======================== */
.cta {
  position: relative;
  text-align: center;
  padding: 120px 48px;
  overflow: hidden;
}

/* Warm wash background */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--bloom) 0%, var(--paper) 40%, var(--shell) 100%);
  z-index: -1;
}

.cta__message {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ink);
  line-height: 1.2;
  max-width: 560px;
  margin: 0 auto;
}

.cta__supporting {
  font-size: 15px;
  color: var(--muted);
  margin-top: 20px;
}

.cta .btn-primary {
  margin-top: 36px;
  font-size: 16px;
  padding: 18px 48px;
}

.cta__reassurance {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

/* ========================
   FOOTER
   ======================== */
.footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--line);
}

.footer p {
  font-size: 13px;
  color: var(--line);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 100px 32px 60px;
    gap: 48px;
  }

  .hero__text { padding-right: 0; text-align: center; }
  .hero__subtitle { max-width: 100%; }
  .hero__body { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero .btn-primary { margin-left: auto; margin-right: auto; }

  .hero__phones {
    justify-content: center;
  }

  .hero__phone--primary { width: 200px; }
  .hero__phone--secondary { width: 180px; }

  .garden__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .garden__phone {
    width: 220px;
    margin: 0 auto;
  }

  .garden__stages { align-items: center; }
  .garden__stage { flex-direction: column; text-align: center; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }

  .feature-row:nth-child(even) .feature-row__visual { order: 0; }
  .feature-row__text { text-align: center; padding: 0; }
  .feature-row__desc { max-width: 100%; margin: 0 auto; }
  .feature-row__phone { width: 200px; }

  .practice__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .practice__text { text-align: center; margin: 0 auto; }
  .practice__modes { text-align: left; margin: 0 auto; }

  .practice__visual { justify-content: center; }
  .practice__phone { width: 180px; }
  .practice__phone--alt { width: 160px; }
}

@media (max-width: 640px) {
  .section-wrap { padding: 0 24px; }

  .hero { padding: 80px 24px 48px; }
  .hero__phone--primary { width: 160px; }
  .hero__phone--secondary { width: 140px; }

  .philosophy,
  .garden,
  .features,
  .practice { padding: 72px 0; }

  .cta { padding: 80px 24px; }

  .garden__phone { width: 180px; }
  .feature-row__phone { width: 170px; }
  .practice__phone { width: 160px; }
  .practice__phone--alt { width: 140px; }
}

/* ========================
   Reduced Motion
   ======================== */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .practice__modes::before {
    animation: none;
    transform: scaleY(1);
  }

  .feature-row__phone:hover {
    transform: none;
  }

  * {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}
