/* ============ Tropic-Life Plants | The Potting Bench ============ */
/* Lalezar (Google Font, OFL) self-hosted, latin + latin-ext subsets only */
@font-face {
  font-family: "Lalezar";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lalezar-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lalezar";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lalezar-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --terra: #c05b2e;
  --kiln: #9a4522;
  --kiln-deep: #7e3a1d;
  --cream: #f6ecdc;
  --cream-text: #f3e4cf;
  --soil: #2b1f14;
  --soil-soft: #4a3a29;
  --expo: cubic-bezier(0.22, 1, 0.36, 1);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-2: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.75vw, 2.5rem);
  --step-6: clamp(3rem, 1.8rem + 6vw, 6rem);
  --hero-size: clamp(4.5rem, 3rem + 13vw, 12rem);
  --pad-y: clamp(5rem, 10vw, 9rem);
  --gutter: clamp(1.5rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--soil);
  background: var(--cream);
  overflow-x: hidden;
  text-wrap: pretty;
}

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

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; line-height: 1.02; letter-spacing: -0.02em; }

.font-display {
  font-family: "Lalezar", "Georgia", serif;
  font-weight: 400;
}

.serif-accent {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.container { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--kiln);
  margin-bottom: 1.1rem;
}
.eyebrow-light { color: var(--cream-text); }

.section-h2 {
  font-family: "Lalezar", Georgia, serif;
  font-weight: 400;
  font-size: var(--step-6);
  line-height: 1;
  margin-bottom: 1rem;
}
.section-lede {
  max-width: 62ch;
  color: var(--soil-soft);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  margin-bottom: 3rem;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 3000;
  background: var(--soil); color: var(--cream-text); padding: 0.8rem 1.2rem;
}
.skip-link:focus { left: 0; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(246, 236, 220, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(154, 69, 34, 0.25);
  transition: box-shadow 200ms ease-out;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(43, 31, 20, 0.12); }
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0.8rem var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-leaf { width: 30px; height: 38px; color: var(--kiln); flex: none; transition: transform 180ms ease-out; }
.brand:hover .brand-leaf { transform: rotate(-8deg); }
.brand-word { font-family: "Lalezar", Georgia, serif; font-size: 1.5rem; line-height: 1; color: var(--soil); }
.brand-sub { color: var(--kiln); }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-nav a {
  text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--soil);
  min-height: 44px; display: inline-flex; align-items: center; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 8px; height: 2px; width: 100%;
  background: var(--terra); transform: scaleX(0); transform-origin: left;
  transition: transform 180ms ease-out;
}
.site-nav a:hover::after { transform: scaleX(1); }
.header-call {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--kiln); color: var(--cream-text); text-decoration: none; font-weight: 700;
  padding: 0.7rem 1.15rem; border-radius: 5px; min-height: 44px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: transform 160ms ease-out, background 160ms ease-out, box-shadow 160ms ease-out;
}
.header-call:hover { background: var(--terra); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(154, 69, 34, 0.35); }
.phone-glyph { width: 18px; height: 18px; flex: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(246, 236, 220, 0.22), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(126, 58, 29, 0.55), transparent 60%),
    var(--terra);
  color: var(--cream-text);
  overflow: hidden;
  padding: clamp(3.5rem, 8vh, 5.5rem) 0 clamp(2.5rem, 6vh, 4rem);
  min-height: 88vh;
  display: flex; align-items: center;
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); width: 100%; position: relative; z-index: 2; }
.hero-eyebrow { color: var(--cream-text); opacity: 0; animation: fadeIn 600ms var(--expo) 80ms forwards; }
.hero-h1 {
  font-family: "Lalezar", Georgia, serif;
  font-weight: 400;
  font-size: var(--hero-size);
  line-height: 0.95;
  margin-bottom: 1.6rem;
  color: var(--cream-text);
}
.hero-h1 .mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-h1 .mask > span { display: inline-block; transform: translateY(112%); animation: riseUp 750ms var(--expo) forwards; }
.hero-h1 .mask:nth-child(1) > span { animation-delay: 140ms; }
.hero-h1 .mask:nth-child(2) > span { animation-delay: 220ms; }
@keyframes riseUp { to { transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
.hero-h1 .serif-accent { color: var(--cream-text); }
.hero-sub {
  max-width: 44ch; font-size: clamp(1.1rem, 1.05rem + 0.5vw, 1.35rem); line-height: 1.55;
  color: var(--cream-text); opacity: 0; animation: fadeUp 600ms var(--expo) 420ms forwards;
  margin-bottom: 1.8rem;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; opacity: 0; animation: fadeUp 600ms var(--expo) 540ms forwards; }
.trust-row {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem;
  opacity: 0; animation: fadeUp 600ms var(--expo) 660ms forwards;
  font-size: 0.98rem; color: var(--cream-text);
}
.trust-row li { display: flex; align-items: baseline; gap: 0.45rem; }
.trust-row strong { font-family: "Lalezar", Georgia, serif; font-weight: 400; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.85rem 1.7rem; border-radius: 5px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none;
  transition: transform 160ms ease-out, background 160ms ease-out, box-shadow 160ms ease-out, color 160ms ease-out;
  font-variant-numeric: tabular-nums;
}
.btn-primary { background: var(--cream-text); color: var(--soil); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(43, 31, 20, 0.35); }
.btn-ghost { border: 2px solid rgba(243, 228, 207, 0.65); color: var(--cream-text); background: transparent; }
.btn-ghost:hover { background: rgba(243, 228, 207, 0.14); transform: translateY(-3px); }
.btn-light { background: var(--cream-text); color: var(--soil); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); background: #fff8ec; }

.hero-leaf-stamp {
  position: absolute; right: -2rem; top: 50%; transform: translateY(-50%) rotate(14deg);
  width: clamp(220px, 30vw, 420px); height: auto; color: rgba(246, 236, 220, 0.16);
  z-index: 1; pointer-events: none;
}

/* ============ FACTS BAND (color-wipe transition) ============ */
.facts-band {
  position: relative; background: var(--kiln-deep); color: var(--cream-text);
  overflow: hidden; padding: clamp(3.2rem, 7vw, 5rem) 0;
}
.wipe-layer {
  position: absolute; inset: 0; background: var(--terra);
  transform: translateX(-101%);
  transition: transform 900ms var(--expo);
  z-index: 1;
}
.facts-band.wiped .wipe-layer { transform: translateX(101%); }
.facts-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  transition: opacity 500ms ease-out 350ms;
}
/* Hidden initial state is applied by JS only (see script.js): visible with JS disabled. */
.facts-inner.pre-wipe { opacity: 0; }
.facts-band.wiped .facts-inner { opacity: 1; }
.fact { display: flex; flex-direction: column; gap: 0.3rem; }
.fact-num {
  font-family: "Lalezar", Georgia, serif; font-size: clamp(2.6rem, 2rem + 3vw, 4rem);
  line-height: 1; font-variant-numeric: tabular-nums; color: var(--cream-text);
}
.fact-num.small { font-size: clamp(1.3rem, 1.1rem + 1.4vw, 1.9rem); }
.fact-label { font-size: 0.95rem; opacity: 0.85; max-width: 26ch; }

/* ============ POT-STACK DIVIDERS ============ */
.pot-divider {
  background: var(--cream);
  display: flex; justify-content: center;
  padding: clamp(1.6rem, 4vw, 3rem) var(--gutter);
}
.pot-stack { width: min(320px, 70vw); height: auto; overflow: visible; }
.pot-stack .pot-body, .pot-stack .pot-rim { fill: transparent; stroke: var(--kiln); stroke-width: 3; transition: fill 700ms ease-out; }
.pot-stack .sprout { stroke: var(--kiln); stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 800ms var(--expo); }
.pot-divider.potted .pot.p1 .pot-body, .pot-divider.potted .pot.p1 .pot-rim { fill: var(--kiln); transition-delay: 0ms; }
.pot-divider.potted .pot.p2 .pot-body, .pot-divider.potted .pot.p2 .pot-rim { fill: var(--terra); transition-delay: 180ms; }
.pot-divider.potted .pot.p3 .pot-body, .pot-divider.potted .pot.p3 .pot-rim { fill: var(--kiln-deep); transition-delay: 360ms; }
.pot-divider.potted .sprout { stroke-dashoffset: 0; transition-delay: 500ms; }

/* ============ SERVICES ============ */
.services { padding: var(--pad-y) 0; }
.service-rows { list-style: none; border-top: 2px solid rgba(154, 69, 34, 0.35); }
.service-row {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2.2rem;
  padding: 2.2rem 0; border-bottom: 2px solid rgba(154, 69, 34, 0.35);
  align-items: baseline; position: relative;
  transition: background 200ms ease-out, padding-left 200ms ease-out;
}
.service-row:hover { background: rgba(192, 91, 46, 0.07); padding-left: 1rem; }
.row-num {
  font-family: "Lalezar", Georgia, serif; font-size: clamp(2.4rem, 2rem + 2.5vw, 3.6rem);
  line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--kiln); opacity: 0.85;
}
.service-row h3 {
  font-family: "Lalezar", Georgia, serif; font-weight: 400;
  font-size: var(--step-2); color: var(--soil); margin-bottom: 0.5rem; letter-spacing: 0;
}
.service-row p { max-width: 64ch; color: var(--soil-soft); }

/* ============ PHOTO BAND (duotone + Ken Burns) ============ */
.photo-band { background: var(--kiln-deep); color: var(--cream-text); }
.photo-frame { position: relative; overflow: hidden; height: clamp(320px, 55vw, 560px); }
.photo-kb { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); animation: kenburns 32s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.14) translate(-1.5%, 1.5%); } }
.photo-duotone { position: absolute; inset: 0; background: linear-gradient(135deg, var(--terra), var(--kiln)); mix-blend-mode: multiply; opacity: 0.82; }
.photo-tint { position: absolute; inset: 0; background: var(--cream); mix-blend-mode: screen; opacity: 0.10; }
.photo-grain {
  position: absolute; inset: 0; opacity: 0.14; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.photo-caption { padding: var(--pad-y) var(--gutter); }
.photo-caption .eyebrow { color: var(--cream-text); }
.photo-caption .section-lede { color: var(--cream-text); opacity: 0.88; }

/* ============ PROCESS ============ */
.process-band { padding: var(--pad-y) 0; background: var(--cream); }
.process-steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  margin-bottom: 3rem;
}
.process-step { border-top: 3px solid var(--terra); padding-top: 1.4rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--kiln); color: var(--cream-text);
  font-family: "Lalezar", Georgia, serif; font-size: 1.35rem; line-height: 1;
  margin-bottom: 1rem;
}
.process-step h3 { font-family: "Lalezar", Georgia, serif; font-weight: 400; font-size: var(--step-2); margin-bottom: 0.5rem; letter-spacing: 0; }
.process-step p { color: var(--soil-soft); }

/* ============ SERVICE AREA ============ */
.area-band { background: var(--terra); color: var(--cream-text); padding: var(--pad-y) 0; position: relative; overflow: hidden; }
.area-band .eyebrow { color: var(--cream-text); }
.area-band .section-lede { color: var(--cream-text); opacity: 0.9; }
.area-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2.2rem 0;
}
.area-list li {
  font-family: "Lalezar", Georgia, serif; font-size: clamp(1.4rem, 1.2rem + 1.4vw, 2.1rem); line-height: 1;
  border: 2px solid rgba(243, 228, 207, 0.5); border-radius: 5px; padding: 0.7rem 1.2rem;
  transition: background 180ms ease-out, transform 180ms ease-out, border-color 180ms ease-out;
  cursor: default;
}
.area-list li:hover { background: rgba(246, 236, 220, 0.15); transform: translateY(-3px); border-color: var(--cream-text); }
.area-note { max-width: 60ch; opacity: 0.9; }

/* ============ FAQ ============ */
.faq-band { padding: var(--pad-y) 0; background: var(--cream); }
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid rgba(154, 69, 34, 0.35); }
.faq-item:first-child { border-top: 1px solid rgba(154, 69, 34, 0.35); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 64px; padding: 1.1rem 0; font-weight: 700; font-size: 1.05rem; color: var(--soil);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--kiln); }
.faq-item summary:focus-visible { outline: 3px solid var(--terra); outline-offset: 4px; }
.faq-plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--kiln); border-radius: 2px;
  transition: transform 220ms var(--expo);
}
.faq-plus::before { left: 9px; top: 2px; width: 2px; height: 16px; }
.faq-plus::after { left: 2px; top: 9px; width: 16px; height: 2px; }
.faq-item[open] .faq-plus::before { transform: rotate(90deg); }
.faq-item .faq-body, .faq-item p { padding: 0 0 1.4rem; color: var(--soil-soft); max-width: 66ch; }
.faq-item p a { color: var(--kiln); font-weight: 700; }

/* ============ FINAL CTA ============ */
.final-cta {
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(192, 91, 46, 0.5), transparent 60%),
    var(--kiln-deep);
  color: var(--cream-text); text-align: center; padding: var(--pad-y) 0;
}
.cta-h2 {
  font-family: "Lalezar", Georgia, serif; font-weight: 400;
  font-size: var(--step-6); line-height: 1; margin-bottom: 1.8rem;
}
.cta-phone {
  display: block; font-family: "Lalezar", Georgia, serif; font-weight: 400;
  font-size: clamp(2.8rem, 2rem + 7vw, 6.5rem); line-height: 1;
  color: var(--cream-text); text-decoration: none; font-variant-numeric: tabular-nums;
  margin-bottom: 2.2rem; transition: transform 180ms ease-out, color 180ms ease-out;
}
.cta-phone:hover { transform: scale(1.03); color: #fff8ec; }
.cta-note { margin-top: 1.6rem; opacity: 0.85; }

/* ============ FOOTER ============ */
.site-footer { background: var(--soil); color: var(--cream-text); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand .brand-word { color: var(--cream-text); }
.footer-brand p { margin-top: 0.8rem; opacity: 0.8; max-width: 34ch; }
.footer-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 700; color: var(--terra); margin-bottom: 0.9rem; }
.footer-contact p { margin-bottom: 0.5rem; opacity: 0.92; }
.footer-contact a { font-weight: 700; text-decoration: none; }
.footer-contact a:hover { color: var(--terra); }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; opacity: 0.92; font-variant-numeric: tabular-nums; }
.footer-bottom { border-top: 1px solid rgba(246, 236, 220, 0.2); padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.85rem; opacity: 0.7; }

/* ============ MOBILE CALL BAR ============ */
.mobile-callbar { display: none; }
@media (max-width: 767px) {
  .mobile-callbar {
    display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1500;
    background: var(--kiln); box-shadow: 0 -6px 24px rgba(43, 31, 20, 0.3);
  }
  .mobile-callbar a {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 60px; color: var(--cream-text); font-weight: 800; font-size: 1.1rem; text-decoration: none;
    font-variant-numeric: tabular-nums;
  }
  body { padding-bottom: 60px; }
  .site-nav { display: none; }
  .header-call-num { font-size: 0.95rem; }
  .hero { min-height: 0; padding: 4.5rem 0 3.5rem; }
  .hero-h1 { font-size: clamp(2.9rem, 2.2rem + 10vw, 4.4rem); }
  .hero-leaf-stamp { opacity: 0.55; right: -5rem; width: 240px; }
  .brand-word { font-size: 1.15rem; }
  .brand-leaf { width: 24px; height: 30px; }
  .facts-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .process-steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-leaf-stamp { opacity: 0.6; right: -6rem; }
  .service-row { grid-template-columns: auto 1fr; gap: 1.2rem; }
}

/* ============ SCROLL REVEAL (JS adds .rv first, then .in) ============ */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--expo), transform 520ms var(--expo); }
.rv.in { opacity: 1; transform: translateY(0); }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-eyebrow, .hero-sub, .hero-cta-row, .trust-row { opacity: 1 !important; }
  .hero-h1 .mask > span { transform: none !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .wipe-layer { display: none !important; }
  .facts-inner { opacity: 1 !important; }
  .pot-divider.potted .pot-body, .pot-divider.potted .pot-rim,
  .pot-stack .pot-body, .pot-stack .pot-rim { fill: var(--terra); stroke: var(--kiln); }
  .pot-stack .sprout { stroke-dashoffset: 0; }
  .photo-kb { transform: none !important; }
  html { scroll-behavior: auto; }
}
