/* ==========================================================================
   Stratum Care — demo-02 "Warm organic human-care"
   Earthy, photography-led, rounded forms, soft layered shadows.
   Fonts: Fraunces (display, soft optical) + Hanken Grotesk (body sans)
   ========================================================================== */

:root {
  /* Palette */
  --terracotta:      #C56B47;
  --terracotta-deep: #B85C38;
  --sage:            #8A9A7B;
  --sage-deep:       #6E8060;
  --cream:           #FBF3E9;
  --cream-deep:      #F5E9DA;
  --clay:            #3A2E28;   /* body text */
  --clay-soft:       #6A5A50;
  --white:           #FFFDFA;
  --ring:            #C56B47;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  /* Radii */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-pill: 999px;

  /* Shadows — soft layered, warm-tinted */
  --shadow-sm: 0 2px 8px rgba(58, 46, 40, 0.06), 0 6px 18px rgba(184, 92, 56, 0.05);
  --shadow-md: 0 6px 16px rgba(58, 46, 40, 0.08), 0 18px 40px rgba(184, 92, 56, 0.10);
  --shadow-lg: 0 12px 28px rgba(58, 46, 40, 0.10), 0 30px 70px rgba(184, 92, 56, 0.14);

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--clay);
  background: var(--cream);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--clay);
  line-height: 1.08;
  margin: 0 0 0.5em;
  font-weight: 600;
  font-variation-settings: "SOFT" 40, "opsz" 60;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.3px; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

p { margin: 0 0 1.1em; }

a { color: var(--terracotta-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

/* hand-drawn underline accent (SIGNATURE) */
.underline-accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.underline-accent svg {
  position: absolute;
  left: -2%;
  bottom: -0.42em;
  width: 104%;
  height: 0.5em;
  overflow: visible;
  pointer-events: none;
}
.underline-accent svg path {
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 1.1s ease forwards 0.4s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85em 1.7em;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(.34,1.56,.64,1), box-shadow 0.22s ease, background 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--terracotta-deep);
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--clay);
  border-color: rgba(58, 46, 40, 0.22);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--terracotta);
  color: var(--terracotta-deep);
  transform: translateY(-2px);
}
.btn-sage {
  background: var(--sage-deep);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-sage:hover { background: #5d6e51; transform: translateY(-3px) rotate(1deg); box-shadow: var(--shadow-md); }
.btn-lg { font-size: 1.1rem; padding: 1em 2.1em; }

/* ------------------------------- Nav ------------------------------------ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 233, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 92, 56, 0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--clay);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand .mark { flex: 0 0 auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--clay);
  font-weight: 600;
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--terracotta-deep); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 3px;
  background: var(--clay);
  border-radius: 3px;
  margin: 5px 0;
  transition: 0.3s;
}

/* --------------------------- Section frame ------------------------------ */
section { position: relative; }
.section-pad { padding: 92px 0; }
.eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--sage-deep);
  margin-bottom: 14px;
}

/* wavy section dividers (SIGNATURE) */
.wave-top, .wave-bottom { display: block; width: 100%; height: auto; line-height: 0; }
.wave-top svg, .wave-bottom svg { display: block; width: 100%; height: 80px; }

/* ------------------------------- Hero ----------------------------------- */
.hero {
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(138, 154, 123, 0.28), transparent 60%),
    radial-gradient(900px 480px at -5% 40%, rgba(197, 107, 71, 0.16), transparent 55%),
    var(--cream);
  padding: 70px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.35em; }
.hero .lead {
  font-size: 1.18rem;
  color: var(--clay-soft);
  max-width: 34ch;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-trust {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--clay-soft); font-size: 0.92rem; font-weight: 600;
}
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }

/* blob-masked photo with terracotta ring (SIGNATURE) */
.hero-photo { position: relative; }
.blob-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.04;
}
.blob-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 46% 54% 52% 48% / 56% 44% 56% 44%;
  box-shadow: var(--shadow-lg);
  animation: blobMorph 14s ease-in-out infinite;
}
.blob-ring {
  position: absolute;
  inset: -16px;
  border: 3px dashed var(--terracotta);
  border-radius: 46% 54% 52% 48% / 56% 44% 56% 44%;
  opacity: 0.55;
  animation: blobMorph 14s ease-in-out infinite reverse;
  z-index: -1;
}
@keyframes blobMorph {
  0%,100% { border-radius: 46% 54% 52% 48% / 56% 44% 56% 44%; }
  33%     { border-radius: 58% 42% 38% 62% / 44% 58% 42% 56%; }
  66%     { border-radius: 40% 60% 60% 40% / 60% 40% 56% 44%; }
}
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.92rem;
}
.float-badge small { display: block; font-weight: 600; color: var(--clay-soft); font-size: 0.78rem; }
.float-badge.tl { top: 8%; left: -6%; animation: floaty 5s ease-in-out infinite; }
.float-badge.br { bottom: 6%; right: -4%; animation: floaty 6s ease-in-out infinite 0.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ----------------------------- Logo cloud ------------------------------- */
.proof-strip {
  text-align: center;
  padding: 34px 0 8px;
  color: var(--clay-soft);
}
.proof-strip p { font-weight: 700; letter-spacing: 0.5px; font-size: 0.86rem; text-transform: uppercase; }
.proof-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.proof-pill {
  background: var(--cream-deep);
  border-radius: var(--r-pill);
  padding: 9px 20px;
  font-weight: 700;
  color: var(--clay);
  font-size: 0.92rem;
}

/* ------------------------------- Why grid ------------------------------- */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.12rem; color: var(--clay-soft); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.value-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(184, 92, 56, 0.08);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease;
}
.value-card:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  box-shadow: var(--shadow-lg);
}
.value-icon {
  width: 58px; height: 58px;
  border-radius: 18px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: var(--cream-deep);
}
.value-card:nth-child(3n+1) .value-icon { background: rgba(197,107,71,0.16); }
.value-card:nth-child(3n+2) .value-icon { background: rgba(138,154,123,0.22); }
.value-card:nth-child(3n+3) .value-icon { background: rgba(245,233,218,0.95); }
.value-card h3 { margin-bottom: 0.4em; }
.value-card p { margin: 0; color: var(--clay-soft); font-size: 0.98rem; }

/* ------------------------------- Suites --------------------------------- */
.suites { background: var(--cream-deep); }
.suite-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 78px;
}
.suite-row:last-child { margin-bottom: 0; }
.suite-row.flip .suite-media { order: 2; }
.suite-media { position: relative; }
.suite-media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.suite-media .blob-ring-sq {
  position: absolute;
  inset: 14px -14px -14px 14px;
  border-radius: var(--r-lg);
  background: var(--sage);
  opacity: 0.16;
  z-index: -1;
}
.suite-tag {
  display: inline-block;
  background: var(--white);
  color: var(--terracotta-deep);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.suite-body p { color: var(--clay-soft); }
.suite-body .btn { margin-top: 8px; }

/* ----------------------------- Testimonials ----------------------------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--terracotta);
  opacity: 0.45;
}
.testi-card blockquote { margin: 8px 0 22px; font-size: 1.02rem; color: var(--clay); }
.testi-author { display: flex; align-items: center; gap: 13px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: var(--white);
  background: var(--sage-deep); flex: 0 0 auto;
}
.testi-card:nth-child(2) .testi-avatar { background: var(--terracotta); }
.testi-card:nth-child(3) .testi-avatar { background: var(--clay); }
.testi-author strong { display: block; font-size: 0.96rem; }
.testi-author span { font-size: 0.84rem; color: var(--clay-soft); }

/* ------------------------------- CTA band ------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 360px at 12% 20%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-deep) 100%);
  color: var(--white);
  text-align: center;
  border-radius: var(--r-lg);
  padding: 64px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 56ch; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-band .btn-primary { background: var(--white); color: var(--terracotta-deep); }
.cta-band .btn-primary:hover { background: var(--cream); color: var(--terracotta-deep); }
.cta-band .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.55); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); border-color: var(--white); }
.cta-band .blob-deco {
  position: absolute; opacity: 0.12; z-index: 0;
}
.cta-band .blob-deco.one { top: -60px; right: -40px; width: 240px; }
.cta-band .blob-deco.two { bottom: -80px; left: -50px; width: 260px; }
.cta-band .container { position: relative; z-index: 1; }

/* ------------------------------- Footer --------------------------------- */
.site-footer {
  background: var(--clay);
  color: rgba(251, 243, 233, 0.82);
  padding: 70px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: var(--cream); margin-bottom: 14px; }
.site-footer p { color: rgba(251, 243, 233, 0.7); font-size: 0.95rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--terracotta); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(251,243,233,0.8); font-size: 0.95rem; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(251,243,233,0.14);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.86rem; color: rgba(251,243,233,0.6);
}
.hipaa-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(251,243,233,0.08);
  border: 1px solid rgba(251,243,233,0.18);
  border-radius: var(--r-pill);
  padding: 7px 15px;
  font-size: 0.82rem; font-weight: 700; color: var(--cream);
}

/* ------------------------- Inner page hero ------------------------------ */
.page-hero {
  background:
    radial-gradient(900px 460px at 85% -10%, rgba(138,154,123,0.3), transparent 60%),
    var(--cream);
  padding: 60px 0 50px;
}
.page-hero .eyebrow { color: var(--terracotta-deep); }
.breadcrumb { font-size: 0.9rem; color: var(--clay-soft); margin-bottom: 18px; font-weight: 600; }
.breadcrumb a { color: var(--clay-soft); }

/* lists */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}
.feature-list li .check {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--sage-deep); display: grid; place-items: center; margin-top: 1px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: var(--white); border: 1.5px solid rgba(184,92,56,0.2);
  border-radius: var(--r-pill); padding: 10px 20px; font-weight: 700; color: var(--clay);
  box-shadow: var(--shadow-sm);
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }

/* --------------------------- Pricing ------------------------------------ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(184,92,56,0.1);
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.price-card.featured {
  border-color: var(--terracotta);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
  position: relative;
}
.price-card.featured:hover { transform: scale(1.02) translateY(-8px); }
.popular-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--terracotta); color: var(--white);
  font-weight: 800; font-size: 0.74rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 18px; border-radius: var(--r-pill); box-shadow: var(--shadow-md);
}
.price-card h3 { margin-bottom: 4px; }
.price-card .tier-for { color: var(--clay-soft); font-size: 0.94rem; min-height: 2.8em; }
.price-amount { font-family: var(--font-display); font-size: 2.6rem; color: var(--clay); margin: 14px 0 2px; }
.price-amount span { font-family: var(--font-body); font-size: 0.95rem; color: var(--clay-soft); font-weight: 600; }
.price-note { font-size: 0.8rem; color: var(--clay-soft); margin-bottom: 22px; }
.price-card ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.price-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; }
.price-card ul li .tick { color: var(--sage-deep); flex: 0 0 auto; margin-top: 3px; }
.price-card .btn { margin-top: auto; justify-content: center; }

.faq { display: grid; gap: 16px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white); border-radius: var(--r-md);
  padding: 24px 28px; box-shadow: var(--shadow-sm);
}
.faq-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.faq-item p { margin: 0; color: var(--clay-soft); }

.note-banner {
  text-align: center; background: rgba(138,154,123,0.16);
  border-radius: var(--r-pill); padding: 14px 24px; display: inline-flex;
  gap: 10px; align-items: center; font-weight: 600; color: var(--clay); font-size: 0.95rem;
}

/* ---------------------- Reveal-on-load animation ------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .underline-accent svg path { stroke-dashoffset: 0; }
}

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 440px; margin: 0 auto; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-8px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .suite-row, .suite-row.flip { grid-template-columns: 1fr; gap: 28px; }
  .suite-row.flip .suite-media { order: 0; }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .section-pad { padding: 64px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .site-nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 20px 24px; gap: 16px;
    box-shadow: var(--shadow-md); border-bottom: 1px solid rgba(184,92,56,0.15);
  }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-badge.tl { left: 2%; }
  .float-badge.br { right: 2%; }
  .cta-band { padding: 48px 24px; }
}
