/* Agency landing — "Operational Wellness" / Softly theme.
   Warm desaturated pastels, grain overlay, fluid low-velocity motion.
   Outfit (sans) + Reenie Beanie (cursive accent). Mobile-first. */

:root {
  --bg: #FDFCF8;
  --sage: #E8EFE8;
  --lavender: #EFEDF4;
  --coral: #A9C5EC;        /* primary accent (soft cornflower blue) */
  --coral-deep: #6F90CE;   /* deeper accent — hover + accent text */
  --ink: #292524;          /* soft black */
  --muted: #78716C;
  --stone-100: #f5f5f4;
  --blob-rose: #DCE8F8;
  --blob-lav: #E6E6FA;
  --shadow: 0 4px 20px -2px rgba(0,0,0,0.05);
  --shadow-lift: 0 12px 40px -8px rgba(41,37,36,0.12);
  --maxw: 1080px;
  --sans: "Outfit", system-ui, -apple-system, sans-serif;
  --script: "Reenie Beanie", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  opacity: 0.35; mix-blend-mode: overlay;
  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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* ---------- Floating pill nav ---------- */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; padding: 0 16px; }
.nav-pill {
  width: 100%; max-width: 920px;
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  padding: 10px 12px 10px 18px;
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--coral);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.nav-links { display: none; gap: 22px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 760px) { .nav-links { display: flex; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 500; font-size: 14px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.btn-coral { background: var(--coral); color: var(--ink); box-shadow: var(--shadow); }
.btn-coral:hover { background: var(--coral-deep); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-soft { background: #fff; color: var(--ink); border-color: var(--stone-100); box-shadow: var(--shadow); }
.btn-soft:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Typography ---------- */
h1 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; margin: 0; }
h2 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 18px; font-size: clamp(30px, 6vw, 52px); }
h3 { font-weight: 600; letter-spacing: -0.015em; margin: 0; }
h4 { font-weight: 600; letter-spacing: -0.01em; margin: 0 0 4px; font-size: 19px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); margin: 0 0 16px; }
.eyebrow.center { text-align: center; }
.muted { color: var(--muted); }
.body-lg { font-size: 18px; line-height: 1.7; margin: 0 0 18px; }
.body-lg:last-child { margin-bottom: 0; }
.center { text-align: center; }

.script-accent { font-family: var(--script); font-size: 34px; line-height: 1; color: var(--coral-deep); transform: rotate(-3deg); margin: 0 0 6px; }
.script-inline { font-family: var(--script); font-size: 1.5em; color: var(--coral-deep); line-height: 0.8; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 96px; text-align: center; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(40px, 9vw, 88px); max-width: 17ch; margin: 0 auto 22px; }
.hero .lede { font-size: clamp(17px, 2.6vw, 21px); color: var(--muted); max-width: 44ch; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--muted); margin: 22px 0 0; }

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.6; z-index: 1; pointer-events: none; }
.blob-a { width: 380px; height: 380px; background: var(--blob-rose); top: 40px; left: -80px; animation: float 6s ease-in-out infinite; }
.blob-b { width: 420px; height: 420px; background: var(--blob-lav); top: 120px; right: -100px; animation: float 6s ease-in-out infinite 1.5s; }
@keyframes float { 0%,100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }

/* ---------- Challenges (horizontal scroll) ---------- */
.scroller {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 24px 20px; margin-top: 24px;
  -webkit-overflow-scrolling: touch;
}
.scroller::-webkit-scrollbar { height: 6px; }
.scroller::-webkit-scrollbar-thumb { background: var(--stone-100); border-radius: 999px; }
.chal {
  flex: 0 0 78%; max-width: 320px; scroll-snap-align: start;
  background: #fff; border: 1px solid var(--stone-100); border-radius: 2rem;
  padding: 28px; font-size: 17px; line-height: 1.45; color: var(--ink);
  box-shadow: var(--shadow);
}
@media (min-width: 760px) { .chal { flex-basis: 320px; } }

/* ---------- What we do (grid) ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.svc { border-radius: 2rem; padding: 30px; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.svc h3 { font-size: 21px; margin-bottom: 10px; }
.svc p { margin: 0; color: var(--ink); opacity: 0.72; font-size: 15px; line-height: 1.55; }
.svc-sage { background: var(--sage); }
.svc-lav { background: var(--lavender); }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

/* ---------- Pricing ---------- */
.price-list { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.price {
  position: relative; background: #fff; border: 1px solid var(--stone-100);
  border-radius: 2rem; padding: 28px 30px; box-shadow: var(--shadow);
}
.price-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price h3 { font-size: 20px; }
.price-amt { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.per { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-meta { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral-deep); margin: 6px 0 12px; }
.price .muted { font-size: 15px; margin: 0; }
.price-feature { background: var(--sage); border-color: transparent; }
.price-flag {
  position: absolute; top: -12px; left: 28px;
  background: var(--coral); color: var(--ink);
  font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 999px; box-shadow: var(--shadow);
}
@media (min-width: 720px) { .price-list { grid-template-columns: 1fr 1fr; } }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; max-width: 760px; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--stone-100); border-radius: 2rem;
  padding: 24px 28px; box-shadow: var(--shadow);
}
.step-n {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--lavender); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px;
}
.step p { margin: 0; font-size: 15px; }

/* ---------- FAQ accordion ---------- */
.faq { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--stone-100); border-radius: 16px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 500; font-size: 18px; color: var(--ink); text-align: left;
}
.faq-plus { font-size: 26px; font-weight: 300; color: var(--coral-deep); transition: transform 0.5s ease-in-out; line-height: 1; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s ease-in-out; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { margin: 0; padding: 0 24px 24px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact-section { background: var(--lavender); border-radius: 4rem; margin: 0 16px; padding: 72px 0; }
.contact-icon {
  width: 56px; height: 56px; border-radius: 18px; background: var(--ink);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
  box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 14px; max-width: 520px; margin: 32px auto 0; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  padding: 15px 18px; border: 1px solid rgba(41,37,36,0.10); border-radius: 18px;
  background: rgba(255,255,255,0.8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(169,197,236,0.45); background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form button { align-self: center; margin-top: 4px; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.cal-wrap { max-width: 720px; margin: 40px auto 0; }
.calendly-inline-widget { min-width: 320px; height: 660px; border-radius: 2rem; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 56px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none; }
}
