/* =====================================================================
   The Pot Fairy — coming-soon landing page
   Palette + type straight from the brand UI kit.
   ===================================================================== */

:root {
  --deep: #183D2F;
  --leaf: #4E7F56;
  --sage: #A7C6A0;
  --mint: #E4EFE6;
  --terracotta: #C97F5B;
  --terracotta-dark: #B06A47;
  --ink: #2B2B2B;
  --ink-soft: #5b6560;
  --cream: #FBFCFA;
  --gold: #F0B429;
  --white: #ffffff;

  --font-script: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  --font-sans: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(24, 61, 47, 0.08);
  --shadow: 0 18px 40px -18px rgba(24, 61, 47, 0.28);
  --shadow-lg: 0 30px 70px -30px rgba(24, 61, 47, 0.4);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 84px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, blockquote { margin: 0; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 999px;
  z-index: 100; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.display, .display-sm, .display-md {
  font-family: var(--font-script);
  font-weight: 700;
  line-height: 0.95;
  color: var(--deep);
  letter-spacing: -0.01em;
}
.display { font-size: clamp(3.4rem, 8.5vw, 6.8rem); }
.display-md { font-size: clamp(3rem, 6.5vw, 5rem); }
.display-sm { font-size: clamp(2.4rem, 4.8vw, 3.6rem); }
.display em, .display-sm em, .display-md em {
  font-style: normal;
  color: var(--leaf);
  position: relative;
}
.display em::after, .display-md em::after {
  content: "";
  position: absolute; left: 2%; right: 2%; bottom: 0.02em;
  height: 0.28em;
  background: linear-gradient(90deg, rgba(167,198,160,.55), rgba(167,198,160,.15));
  border-radius: 999px;
  z-index: -1;
  transform: skewX(-8deg);
}

.kicker {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 52ch;
}
.muted { color: var(--ink-soft); max-width: 60ch; }

/* Tagline with leaf separators — "PLANTS 🌿 POTS 🌿 A HAPPIER SPACE" */
.tagline {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--deep);
}
.tagline .leaf {
  width: 14px; height: 14px; flex: none;
  background: var(--leaf);
  border-radius: 0 70% 0 70%;
  transform: rotate(-20deg);
  position: relative;
}
.tagline .leaf::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 45%, rgba(228,239,230,.9) 47%, rgba(228,239,230,.9) 53%, transparent 55%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s, color .25s;
  will-change: transform;
}
.btn .arrow { transition: transform .35s var(--ease-out); font-weight: 500; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 20px; height: 20px; }

.btn-terracotta {
  background: var(--terracotta); color: #fff;
  box-shadow: 0 12px 26px -10px rgba(201,127,91,.7);
}
.btn-terracotta:hover { background: var(--terracotta-dark); box-shadow: 0 16px 32px -10px rgba(201,127,91,.8); }

.btn-deep { background: var(--deep); color: #fff; box-shadow: var(--shadow); }
.btn-deep:hover { background: #122e24; }

.btn-outline { background: rgba(255,255,255,.6); color: var(--deep); border-color: var(--deep); }
.btn-outline:hover { background: var(--deep); color: #fff; }

.btn-ghost { background: rgba(255,255,255,.55); color: var(--deep); border-color: rgba(24,61,47,.18); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.9rem; }
@media (max-width: 480px) { .btn-sm { padding: 0 14px; font-size: 0.82rem; } .btn-sm .arrow { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(228,239,230,.72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(24,61,47,.06);
  transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(24,61,47,.35); background: rgba(228,239,230,.9); }
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { height: 60px; width: auto; }
.header-tagline { display: none; }
@media (min-width: 960px) { .header-tagline { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  padding: clamp(56px, 8vw, 96px) 0 clamp(96px, 12vw, 140px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1200px 600px at 50% -10%, #fff 0%, transparent 60%),
    linear-gradient(180deg, var(--mint) 0%, var(--cream) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
#sparkles { position: absolute; inset: 0; width: 100%; height: 100%; }

.blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .7;
  animation: drift 18s ease-in-out infinite alternate;
  will-change: transform;
}
.blob-1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; left: -12vw; top: -8vw; background: #cfe3cc; }
.blob-2 { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -10vw; top: 10%; background: #f2dccf; animation-duration: 22s; animation-delay: -6s; }
.blob-3 { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: 35%; bottom: -14vw; background: #dbe9d8; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(4vw,-3vw,0) scale(1.08); }
  100% { transform: translate3d(-3vw,3vw,0) scale(.96); }
}

.hero-inner {
  display: grid; gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative; z-index: 1;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
}

.hero-copy { display: flex; flex-direction: column; gap: 22px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(24,61,47,.12);
  font-weight: 600; font-size: 0.82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--deep);
  box-shadow: var(--shadow-sm);
}
.pulse-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 0 rgba(78,127,86,.5);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(78,127,86,.55); }
  70%  { box-shadow: 0 0 0 12px rgba(78,127,86,0); }
  100% { box-shadow: 0 0 0 0 rgba(78,127,86,0); }
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
@media (max-width: 639px) {
  .cta-row .btn { flex: 1 1 100%; }
}

.hero-art {
  position: relative;
  display: grid; place-items: center;
  padding: 6%;
}
.hero-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.9), rgba(228,239,230,.6) 55%, transparent 72%);
  aspect-ratio: 1;
  margin: auto;
  max-width: 100%;
}
.hero-ring::before, .hero-ring::after {
  content: ""; position: absolute; inset: 6%;
  border-radius: 50%;
  border: 1.5px dashed rgba(78,127,86,.35);
  animation: spin 60s linear infinite;
}
.hero-ring::after { inset: 14%; border-style: dotted; border-color: rgba(201,127,91,.35); animation-direction: reverse; animation-duration: 80s; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-mark {
  position: relative;
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(24,61,47,.22));
}

.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation-duration: 8s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(-1deg); }
}

/* Corner foliage in the hero */
.foliage {
  position: absolute; bottom: -6px; z-index: 0;
  width: clamp(180px, 26vw, 360px);
  pointer-events: none;
  opacity: .95;
}
@media (max-width: 640px) { .foliage { width: 34vw; opacity: .8; } }
.foliage-left  { left: -2vw; }
.foliage-right { right: -2vw; }
.leaves-svg { width: 100%; height: auto; overflow: visible; }
.sway { transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite; }
.sway-2 { animation-duration: 8.5s; animation-delay: -2s; }
.sway-3 { animation-duration: 10s; animation-delay: -4s; }
@keyframes sway {
  0%, 100% { transform: rotate(-2.5deg); }
  50%      { transform: rotate(2.5deg); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 28px; height: 46px; border-radius: 999px;
  border: 2px solid rgba(24,61,47,.35);
  display: none;
}
@media (min-width: 960px) { .scroll-cue { display: block; } }
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 999px; background: var(--leaf);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(18px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.section-head .muted { margin-top: 4px; }

/* Category tiles */
.tiles {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.tile {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  overflow: hidden;
}
.tile::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.35), transparent 60%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.tile:hover::before { opacity: 1; }
.tile:hover { box-shadow: var(--shadow-lg); }
.tile h3 { font-family: var(--font-script); font-weight: 700; font-size: 2rem; line-height: 1; }
.tile p { font-size: 0.95rem; opacity: .9; }
.tile-icon { width: 64px; height: 64px; margin-bottom: 8px; transform: translateZ(30px); }
.tile-tag {
  position: absolute; top: 18px; right: 18px;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,.6);
  color: inherit;
}
.tile-mint       { background: var(--mint); color: var(--deep); }
.tile-terracotta { background: linear-gradient(160deg, #d99570, var(--terracotta)); color: #fff; }
.tile-sage       { background: linear-gradient(160deg, #b7d2b0, var(--sage)); color: var(--deep); }
.tile-deep       { background: linear-gradient(160deg, #24513f, var(--deep)); color: #fff; }
.tile-terracotta .tile-tag, .tile-deep .tile-tag { background: rgba(255,255,255,.18); }
.tile-terracotta .tile-icon [fill="#C97F5B"] { fill: var(--deep); }

/* Feature strip */
.features {
  background: var(--deep); color: var(--mint);
  padding: clamp(36px, 5vw, 56px) 0;
  position: relative; overflow: hidden;
}
.features::before {
  content: ""; position: absolute; inset: -40% -10%;
  background: radial-gradient(circle at 20% 50%, rgba(78,127,86,.35), transparent 40%),
              radial-gradient(circle at 80% 50%, rgba(201,127,91,.25), transparent 40%);
  pointer-events: none;
}
.feature-list {
  position: relative;
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.feature { display: flex; align-items: center; gap: 16px; }
.feature svg { width: 48px; height: 48px; flex: none; color: var(--sage); }
.feature div { display: flex; flex-direction: column; line-height: 1.25; }
.feature strong { font-weight: 600; color: #fff; }
.feature span { font-size: .9rem; opacity: .8; }

/* Quote */
.quote { background: linear-gradient(180deg, var(--cream), var(--mint)); overflow: hidden; }
.quote-inner {
  display: grid; gap: clamp(32px, 5vw, 72px); align-items: center;
  justify-items: center; text-align: center;
}
@media (min-width: 800px) {
  .quote-inner { grid-template-columns: .8fr 1.2fr; text-align: left; justify-items: start; }
}
.quote-art { position: relative; width: min(60vw, 300px); }
.quote-art img { width: 100%; height: auto; position: relative; filter: drop-shadow(0 24px 30px rgba(24,61,47,.25)); }
.quote-glow {
  position: absolute; inset: -20%;
  background: radial-gradient(circle, rgba(240,180,41,.25), rgba(228,239,230,0) 60%);
  animation: glow 5s ease-in-out infinite alternate;
}
@keyframes glow { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.1); opacity: 1; } }
.spark {
  position: absolute; width: 14px; height: 14px;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 2.6s ease-in-out infinite;
}
.spark-a { top: 4%; right: 8%; }
.spark-b { top: 30%; left: -4%; width: 10px; height: 10px; animation-delay: -.9s; }
.spark-c { top: 18%; right: -6%; width: 18px; height: 18px; animation-delay: -1.7s; }
@keyframes twinkle {
  0%, 100% { transform: scale(.4) rotate(0deg); opacity: .4; }
  50%      { transform: scale(1.1) rotate(45deg); opacity: 1; }
}
.quote blockquote { display: flex; flex-direction: column; gap: 18px; align-items: inherit; }
.quote .heart { width: 34px; height: 34px; color: var(--terracotta); animation: heartbeat 2.4s ease-in-out infinite; }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%      { transform: scale(1.18); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.12); }
}

/* Contact */
.contact { background: var(--mint); padding-top: 0; }
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 56px);
  display: grid; gap: clamp(28px, 4vw, 56px);
  position: relative; overflow: hidden;
}
.contact-card::after {
  content: ""; position: absolute; right: -80px; bottom: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(167,198,160,.45), transparent 70%);
  pointer-events: none;
}
@media (min-width: 900px) { .contact-card { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.contact-copy { display: flex; flex-direction: column; gap: 6px; }
.contact-list { display: flex; flex-direction: column; gap: 12px; position: relative; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(24,61,47,.08);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.contact-item:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: rgba(24,61,47,.16); }
.contact-ico {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
}
.contact-ico svg { width: 22px; height: 22px; }
.ico-wa { background: #25D366; }
.ico-tel { background: var(--leaf); }
.ico-mail { background: var(--terracotta); }
.contact-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.contact-text small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.contact-text strong { font-weight: 600; color: var(--deep); word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--mint); position: relative; }
.footer-foliage { background: var(--mint); line-height: 0; }
.footer-wave { width: 100%; height: 70px; }
.footer-inner {
  padding: clamp(24px, 4vw, 48px) 0 40px;
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
.thanks {
  font-family: var(--font-script); font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1; color: #fff;
}
.thanks em { font-style: normal; color: var(--sage); }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  transition: transform .35s var(--ease-out), background .3s, color .3s;
}
.socials a:hover { transform: translateY(-4px) scale(1.05); background: var(--sage); color: var(--deep); }
.socials svg { width: 22px; height: 22px; }
.footer-tagline { color: var(--sage); }
.footer-tagline .leaf { background: var(--sage); }
.copyright { font-size: .82rem; opacity: .65; }

/* ---------- Scroll reveal ---------- */
/* Content is fully visible by default; JS opts elements in once GSAP is confirmed loaded. */
.js-anim .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.js-anim .reveal.is-in { opacity: 1; transform: none; }
.js-anim .tile.reveal.is-in { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-anim .reveal { opacity: 1; transform: none; }
  #sparkles { display: none; }
}

/* ---------- Mouse parallax (JS sets --px/--py; `translate` stays independent of keyframe transforms) ---------- */
.parallax { translate: var(--px, 0px) var(--py, 0px); }
