/* Renewed Life Wellness Center — site styles
   Tokens first, then base, layout, components, sections, motion, responsive. */

:root {
  --pine: #0f3b3a;
  --pine-deep: #092827;
  --sage: #5f9e9b;
  --sage-deep: #3f7b78;
  --seafoam: #dcebe7;
  --seafoam-soft: #ecf3f0;
  --shell: #f5f6f3;
  --ink: #16211f;
  --mute: #5b6966;
  --line: rgba(15, 59, 58, 0.14);
  --sun: #e8b54a;
  --white: #ffffff;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --leaf: 28px 28px 28px 120px;       /* asymmetric frame, echoes the tree in the logo */
  --leaf-sm: 18px 18px 18px 64px;
  --radius: 20px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(22px, 3vw, 44px);   /* tight: Casey wants little to no gap between sections */
  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--shell);
  overflow-x: hidden;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
strong { font-weight: 600; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--pine);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--ink); max-width: 36em; }
.measure { max-width: 42em; }
.muted { color: var(--mute); }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--pine); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 8px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * 0.6) 0; }
.bg-seafoam { background: var(--seafoam); }
.bg-pine { background: var(--pine); color: #e9f1ef; }
.bg-pine h1, .bg-pine h2, .bg-pine h3 { color: #fff; }
.bg-pine a { color: #cfe6e2; }
.bg-white { background: #fff; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--pine); --fg: #fff; --bg-h: var(--sage-deep);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 0;
  font: 600 1rem/1 var(--font-body); color: var(--fg); background: var(--bg);
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg-h); border-radius: inherit;
  transform: translateY(101%); transition: transform 0.45s var(--ease);
}
.btn:hover { color: var(--fg); box-shadow: 0 12px 30px -12px rgba(15, 59, 58, 0.5); }
.btn:hover::after { transform: translateY(0); }
.btn-light { --bg: #fff; --fg: var(--pine); --bg-h: var(--seafoam); }
.btn-ghost { --bg: transparent; --fg: var(--pine); --bg-h: var(--seafoam); box-shadow: inset 0 0 0 2px var(--line); }
.btn-sm { padding: 12px 20px; font-size: 0.95rem; }
.btn-lg { padding: 20px 34px; font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { font-weight: 600; color: var(--pine); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background 0.4s, box-shadow 0.4s, height 0.4s, transform 0.5s var(--ease);
}
.nav.is-solid { background: rgba(245, 246, 243, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); height: 72px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { width: min(1400px, 100% - 2 * var(--gutter)); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 190px; height: auto; transition: width 0.4s; }
.nav.is-solid .brand img { width: 160px; }

/* home hero logo card: the ring draws itself as one stroke, then the wording wipes in.
   Plays once per page load (site.js adds .is-drawing); same timing as the Canva animation. */
.logo-card { display: inline-block; background: #fff; border-radius: 20px; padding: 14px 22px; margin-bottom: 22px; box-shadow: 0 10px 30px -18px rgba(15, 59, 58, 0.35); }
/* home hero: the logo card spans the whole left column; Ken's photo stays square and lines up with its top */
.hero .hero-grid { align-items: start; }
.hero-copy .logo-card { display: block; padding: clamp(14px, 2vw, 26px) clamp(18px, 2.6vw, 34px); margin-bottom: clamp(16px, 2vw, 26px); }
.hero-copy .logo-card .logo-draw { width: 100%; }
.btn-row .offer-chip { margin-bottom: 0; }
/* home hero text sized so the left column ends level with the bottom of Ken's square photo,
   and the three buttons sit in one row */
@media (min-width: 901px) {
  .hero .hero-copy h1 { font-size: clamp(2.2rem, 3.8vw, 3.9rem); line-height: 0.95; margin: 0 0 10px; }
  .hero .hero-copy .lead { font-size: clamp(0.95rem, 1.05vw, 1.08rem); line-height: 1.5; margin: 0 0 20px; }
  .hero .hero-copy .logo-card { padding: clamp(12px, 1.6vw, 22px) clamp(18px, 2.4vw, 30px); margin-bottom: 22px; }
  .hero-copy { min-width: 0; }
  .hero .btn-row { flex-wrap: nowrap; gap: 8px; }
  .hero .btn-row .btn { padding: 11px 15px; font-size: 0.9rem; white-space: nowrap; }
  .hero .btn-row .offer-chip { font-size: 0.8rem; white-space: nowrap; gap: 7px; padding: 4px 11px 4px 4px; }
  .hero .btn-row .offer-chip b { padding: 5px 9px; }
}
.logo-draw { position: relative; display: inline-block; line-height: 0; }
.logo-card .logo-draw { display: block; width: min(360px, 78vw); }
.logo-card .logo-draw > img { display: block; width: 100%; height: auto; }
.logo-draw .la { position: absolute; inset: 0; pointer-events: none; visibility: hidden; }
.logo-draw .la > img, .logo-draw .la > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-draw.is-armed > img { visibility: hidden; }
.logo-draw.is-armed .la { visibility: visible; }
/* path section: the band under the steps is light again and the logo fills it, huge */
.path-logo { display: grid; place-items: center; background: var(--shell); padding: 10px var(--gutter) 0;
  box-shadow: 0 3px 0 var(--shell); position: relative; z-index: 1; }   /* covers the dark hairline under the band */
.path + section, .pin-spacer + section { padding-top: 10px; }   /* no blank band between the big logo and the next section (the pin wraps .path in .pin-spacer) */
.path-logo .logo-draw { display: block; width: 90vw; }
.path-logo .logo-draw > img { display: block; width: 100%; height: auto; }
/* desktop: compact dark steps area; the big logo keeps its size. The pin starts when the section's
   BOTTOM meets the screen bottom (site.js), so the section above fills the top and nothing is blank. */
@media (min-width: 901px) {
  .path-pin { padding: 6px 0 clamp(24px, 3vw, 36px); }
  .path-logo { padding: 8px var(--gutter) 6px; }
  .path-logo .logo-draw { width: min(92vw, 1400px, calc((100svh - 470px) * 2.86)); }
  .path-logo .logo-draw > img { width: 100%; height: auto; }
}
.la-ring { fill: none; stroke: #0b1b3f; stroke-width: 36; stroke-linecap: butt; stroke-linejoin: miter; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.la-arrow { fill: #0b1b3f; opacity: 0; }
.la-w1 { clip-path: inset(0 100% 43.5% 0); }
.la-w2 { clip-path: inset(56.5% 100% 38.5% 0); }
.la-w3 { clip-path: inset(61.5% 100% 0 0); }
.logo-draw.is-drawing .la-ring { animation: la-draw 1.9s cubic-bezier(0.37, 0, 0.63, 1) 0.3s forwards; }
.logo-draw.is-drawing .la-arrow { animation: la-fade 0.12s linear 2.2s forwards; }
.logo-draw.is-drawing .la-w1 { animation: la-w1 0.7s cubic-bezier(0.65, 0, 0.35, 1) 2.4s forwards; }
.logo-draw.is-drawing .la-w2 { animation: la-w2 0.6s cubic-bezier(0.65, 0, 0.35, 1) 2.7s forwards; }
.logo-draw.is-drawing .la-w3 { animation: la-w3 0.7s cubic-bezier(0.65, 0, 0.35, 1) 2.9s forwards; }
@keyframes la-draw { to { stroke-dashoffset: 0; } }
@keyframes la-fade { to { opacity: 1; } }
@keyframes la-w1 { to { clip-path: inset(0 0 43.5% 0); } }
@keyframes la-w2 { to { clip-path: inset(56.5% 0 38.5% 0); } }
@keyframes la-w3 { to { clip-path: inset(61.5% 0 0 0); } }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a, .nav-links button {
  font: 600 1rem var(--font-body); color: var(--pine); text-decoration: none;
  padding: 10px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer;
  transition: background 0.3s;
}
.nav-links > a:hover, .nav-links button:hover, .has-menu:focus-within button { background: var(--seafoam); }
.has-menu { position: relative; }
.has-menu button::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 0.3s; }
.has-menu:hover button::after, .has-menu:focus-within button::after { transform: translateY(0) rotate(225deg); }
.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 420px;
  transform: translate(-50%, 8px); background: #fff; border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(9, 40, 39, 0.35), 0 0 0 1px var(--line);
  padding: 10px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s 0.3s;
}
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.is-open .menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.menu a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background 0.2s; }
.menu a:hover { background: var(--seafoam-soft); }
.menu strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--pine); font-size: 1.05rem; }
.menu span { font-size: 0.92rem; color: var(--mute); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-weight: 600; color: var(--pine); text-decoration: none; white-space: nowrap; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--pine); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
body.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--pine); color: #fff;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; display: flex; flex-direction: column; justify-content: center;
  clip-path: circle(0% at calc(100% - 50px) 42px); visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 42px); visibility: visible; transition-delay: 0s; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav > a { font-family: var(--font-display); font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 700; color: #fff; text-decoration: none; padding: 6px 0; letter-spacing: -0.02em; opacity: 0; transform: translateY(20px); }
.mobile-menu nav > a.btn { font: 600 1.1rem var(--font-body); background: #fff; color: var(--pine); margin-top: 18px; align-self: flex-start; padding: 18px 30px; }
.mobile-phone { font-size: 1.1rem !important; font-family: var(--font-body) !important; font-weight: 500 !important; color: #cfe6e2 !important; }
body.menu-open .mobile-menu nav > a { animation: menu-in 0.6s var(--ease) forwards; }
.mobile-menu nav > a:nth-child(1) { animation-delay: 0.15s } .mobile-menu nav > a:nth-child(2) { animation-delay: 0.19s }
.mobile-menu nav > a:nth-child(3) { animation-delay: 0.23s } .mobile-menu nav > a:nth-child(4) { animation-delay: 0.27s }
.mobile-menu nav > a:nth-child(5) { animation-delay: 0.31s } .mobile-menu nav > a:nth-child(6) { animation-delay: 0.35s }
.mobile-menu nav > a:nth-child(7) { animation-delay: 0.39s } .mobile-menu nav > a:nth-child(8) { animation-delay: 0.43s }
.mobile-menu nav > a:nth-child(9) { animation-delay: 0.47s } .mobile-menu nav > a:nth-child(10) { animation-delay: 0.51s }
.mobile-menu nav > a:nth-child(11) { animation-delay: 0.55s }
@keyframes menu-in { to { opacity: 1; transform: none; } }

/* ---------- hero (home) ---------- */
.hero { padding: calc(var(--nav-h) + clamp(10px, 2vw, 24px)) 0 clamp(16px, 2vw, 28px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { margin-bottom: 1.6em; }
.hero-media { position: relative; }
.hero-frame { border-radius: var(--leaf); overflow: hidden; aspect-ratio: 1 / 1; background: var(--seafoam); clip-path: inset(0 0 100% 0 round 28px); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.hero-note {
  position: absolute; left: -8%; bottom: 10%; max-width: 300px; background: #fff; border-radius: 18px;
  padding: 16px 18px 16px 16px; display: flex; gap: 14px; align-items: center;
  box-shadow: 0 30px 60px -24px rgba(9, 40, 39, 0.45); opacity: 0;
}
.hero-note img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.hero-note strong { display: block; font-family: var(--font-display); color: var(--pine); line-height: 1.2; }
.hero-note span { font-size: 0.9rem; color: var(--mute); }
.offer-chip {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; margin-bottom: 26px;
  background: #fff; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); font-size: 0.95rem; color: var(--ink);
  text-decoration: none; opacity: 0;
}
.offer-chip b { background: var(--sun); color: var(--pine-deep); font-family: var(--font-display); font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.offer-chip:hover { box-shadow: 0 0 0 2px var(--sage); }

.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; transform: translateY(110%); }

/* stats strip */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(16px, 2vw, 24px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--pine); line-height: 1; margin-bottom: 8px; }
.stat > span { color: var(--mute); font-size: 0.98rem; }

/* ---------- services panels ---------- */
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 14px; }
.services-head p { max-width: 30em; margin: 0; }
.panels { display: flex; gap: 10px; height: clamp(220px, 30vh, 280px); }
.panel {
  position: relative; flex: 1; min-width: 0; border-radius: 22px; overflow: hidden; background: var(--pine); color: #fff;
  text-decoration: none; display: flex; align-items: flex-end;
  transition: flex 0.8s var(--ease);
}
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 1.2s var(--ease), opacity 0.6s; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 40, 39, 0.92) 0%, rgba(9, 40, 39, 0.25) 55%, rgba(9, 40, 39, 0) 100%); }
.panel-body { position: relative; z-index: 1; padding: 20px; width: 100%; }
.panel h3 { color: #fff; font-size: clamp(1.2rem, 1.8vw, 1.7rem); margin: 0; transition: transform 0.6s var(--ease); }
.panel p { margin: 6px 0 0; font-size: 0.95rem; max-width: 32em; color: #d9e8e5; opacity: 0; transform: translateY(12px); transition: opacity 0.5s 0.1s, transform 0.6s var(--ease) 0.1s; max-height: 0; }
.panel .panel-cta { display: inline-block; margin-top: 14px; font-weight: 600; color: #fff; opacity: 0; transition: opacity 0.4s 0.2s; }
.panels.is-ready .panel.is-active, .panels:not(.is-touch) .panel:hover { flex: 2.6; }
.panel.is-active p, .panels:not(.is-touch) .panel:hover p { opacity: 1; transform: none; max-height: 200px; }
.panel.is-active .panel-cta, .panels:not(.is-touch) .panel:hover .panel-cta { opacity: 1; }
.panel.is-active img, .panels:not(.is-touch) .panel:hover img { transform: scale(1.06); opacity: 1; }
.panel-label-v { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%) rotate(-90deg); transform-origin: center; white-space: nowrap; }

/* ---------- two-column feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature.flip > .feature-media { order: 2; }
.feature-media { border-radius: var(--leaf); overflow: hidden; aspect-ratio: 4 / 3; background: var(--seafoam); }
.feature-media.wide { aspect-ratio: 16 / 9; }
.feature-media img { width: 100%; height: 115%; object-fit: cover; }
.feature-copy p { max-width: 36em; }
.feature-copy .btn { margin-top: 10px; }

/* doctor message */
.doctor { position: relative; }
.doctor blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; color: var(--pine); letter-spacing: -0.01em; }
.doctor blockquote p { max-width: 30em; }
.doctor .sig { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.doctor .sig b { display: block; font-family: var(--font-display); color: var(--pine); }
.doctor .sig span { color: var(--mute); font-size: 0.95rem; }

/* results */
.results-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.results-img { border-radius: 24px; overflow: hidden; clip-path: inset(0 100% 0 0); }
.legend { display: flex; gap: 18px; margin-top: 20px; font-size: 0.95rem; color: var(--mute); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- path (pinned horizontal) ---------- */
.path { background: var(--pine); color: #d9e8e5; padding-bottom: 0; overflow: hidden; }
.path-head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: end; margin-bottom: 24px; }
.path-head h2 { color: #fff; margin: 0; }
.path-head p { margin: 0; max-width: 30em; }
.path-pin { padding: 8px 0 clamp(40px, 6vw, 72px); }
.path { padding-top: calc(var(--section) * 0.8); }
.path-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 24px; width: max-content; }
.step {
  width: min(480px, 78vw); flex: none; padding: 22px 24px; border-radius: 20px; margin: 0;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start; position: relative;
}
.step-n { grid-row: 1 / span 3; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em; color: var(--sun); }
.step h3 { color: #fff; font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin-bottom: 6px; }
.step p { font-size: 0.98rem; }
.step p { margin: 0; max-width: 34em; }
.step-last { background: var(--sage-deep); border-color: transparent; }
.step-last .step-n { color: #fff; }
.step-last .btn { margin-top: 14px; justify-self: start; grid-column: 2; padding: 12px 20px; font-size: 0.95rem; }

/* ---------- stories ---------- */
.stories { padding-bottom: calc(var(--section) * 0.7); overflow: hidden; }
.stories-head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: end; margin-bottom: 24px; }
.stories-head p { margin: 0; max-width: 30em; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.quote { width: 400px; flex: none; margin: 0; background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.quote blockquote { margin: 0; font-size: 0.98rem; line-height: 1.5; }
.quote blockquote::before { content: "\201C"; font-family: var(--font-display); font-size: 2.4rem; line-height: 0; color: var(--sage); margin-right: 4px; vertical-align: -0.4em; }
.quote figcaption { font-weight: 600; color: var(--pine); }
.quote figcaption::before { content: "\2605\2605\2605\2605\2605 "; color: var(--sun); letter-spacing: 1px; }
.video-wrap { margin-top: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--pine); position: relative; }
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: cover; }

/* ---------- offer band + footer ---------- */
.offer-band { background: var(--sage-deep); color: #fff; padding: clamp(36px, 5vw, 64px) 0; }
.offer-band-inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.offer-band h2 { color: #fff; margin-bottom: 0.3em; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.offer-band p { margin: 0; max-width: 36em; color: #e3f0ee; }
.offer-price span { display: grid; place-items: center; width: clamp(110px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); color: var(--pine-deep); font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3.2rem); letter-spacing: -0.04em; animation: wobble 6s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.offer-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.offer-call { color: #e3f0ee; font-size: 0.95rem; }

.footer { background: var(--pine-deep); color: #b9cdc9; padding: clamp(40px, 5vw, 64px) 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer a { color: #e3f0ee; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.logo-chip { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 18px; }
.footer-brand img { width: 170px; }
.brand img { mix-blend-mode: multiply; }
.footer-brand p { max-width: 30em; }
.hours { margin: 0 0 12px; display: grid; grid-template-columns: auto; gap: 2px; }
.hours dt { color: #fff; font-weight: 500; } .hours dd { margin: 0 0 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 0.92rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; } .footer-bottom a { margin-left: 18px; }

/* ---------- inner page headers ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(24px, 4vw, 48px)) 0 clamp(32px, 4vw, 56px); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
.page-hero .lead { margin-bottom: 1.4em; }
.page-hero-media { border-radius: var(--leaf); overflow: hidden; aspect-ratio: 4 / 3; clip-path: inset(0 0 100% 0 round 28px); }
.page-hero-media.wide { aspect-ratio: 5 / 4; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.page-hero.centered { text-align: center; }
.page-hero.centered .lead { margin-inline: auto; }

/* checklist + benefit grid */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 6px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--seafoam); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 7px; height: 11px; border-right: 2.5px solid var(--sage-deep); border-bottom: 2.5px solid var(--sage-deep); transform: rotate(45deg); }
.bg-pine .checks li::before { background: rgba(255, 255, 255, 0.12); } .bg-pine .checks li::after { border-color: #fff; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.benefits li { background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 0 0 1px var(--line); margin: 0; }
.benefits li b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--pine); font-size: 1.05rem; margin-bottom: 2px; }
.benefits li span { color: var(--mute); font-size: 0.94rem; line-height: 1.45; display: block; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.cols-2 h2 { position: sticky; top: 110px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 8px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 0 0 1px var(--line); margin: 0; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pine); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.steps li b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--pine); font-size: 1.08rem; margin-bottom: 2px; }
.steps li div { font-size: 0.97rem; line-height: 1.5; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.timeline li { border-top: 3px solid var(--sage); padding-top: 10px; margin: 0; font-size: 0.97rem; }
.timeline li b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--pine); letter-spacing: -0.02em; margin-bottom: 2px; font-weight: 700; }
.compare-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.compare-cards > div { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 0 0 1px var(--line); }
.compare-cards > div.highlight { background: var(--pine); color: #e3f0ee; } .compare-cards > div.highlight h3 { color: #fff; }
.gallery-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery-2 img { border-radius: 20px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.pull { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.2; color: var(--pine); font-weight: 600; letter-spacing: -0.02em; max-width: 24em; margin: 0; }

/* pillars / team */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pillar { background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 0 0 1px var(--line); }
.pillar svg { width: 32px; height: 32px; color: var(--sage-deep); margin-bottom: 8px; }
.pillar p:last-child { margin-bottom: 0; }
.compare-cards > div p:last-child, .ingredients li p:last-child { margin-bottom: 0; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.person figure { margin: 0; }
.person .photo { border-radius: var(--leaf-sm); overflow: hidden; aspect-ratio: 4 / 5; background: var(--seafoam); display: grid; place-items: center; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .photo b { font-family: var(--font-display); font-size: 3rem; color: var(--sage-deep); }
.person figcaption { padding-top: 8px; }
.person figcaption b { display: block; font-family: var(--font-display); color: var(--pine); font-size: 1.1rem; }
.person figcaption span { color: var(--mute); }

/* forms + contact */
.form-card { background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 30px 80px -40px rgba(9, 40, 39, 0.45), 0 0 0 1px var(--line); }
.form-card iframe { width: 100%; height: 770px; border: 0; border-radius: 14px; }

/* Our own lead form (replaced the old agency's LeadConnector embed) */
.form-card:has(.lead-form) { padding: clamp(20px, 3vw, 36px); }
.lead-form { display: grid; gap: 16px; font-family: var(--font-body); color: var(--ink); }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .lf-row { grid-template-columns: 1fr; } }
.lf-field { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--pine); }
.lf-field em { font-style: normal; font-weight: 400; color: var(--mute); }
.lf-field input, .lf-field select, .lf-field textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  background: var(--seafoam-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; width: 100%; min-height: 48px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.lf-field textarea { resize: vertical; min-height: 110px; }
.lf-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--pine) 50%), linear-gradient(135deg, var(--pine) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.lf-field :is(input, select, textarea):focus { outline: none; background: #fff; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(95, 158, 155, 0.2); }
.lf-field :is(input, select, textarea)[aria-invalid="true"] { border-color: #b4462f; background: #fdf3f0; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.85rem; line-height: 1.45; color: var(--mute); }
.lf-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sage-deep); }
.lf-submit { width: 100%; justify-content: center; }
.lf-submit[disabled] { opacity: .6; cursor: progress; }
.lf-status { margin: 0; min-height: 1.4em; font-size: 0.95rem; }
.lf-status.is-error { color: #b4462f; }
.lead-form.is-sent { text-align: center; padding: 24px 0; }
.lead-form.is-sent h3 { font-family: var(--font-display); color: var(--pine); font-size: 1.8rem; margin: 0 0 8px; }
.lead-form.is-sent p { color: var(--mute); margin: 0; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.info-list { display: grid; gap: 12px; }
.info-list h3 { margin-bottom: 4px; font-size: 1rem; color: var(--mute); font-weight: 500; }
.info-list p, .info-list a { font-size: 1.15rem; margin: 0; }
.map-link { display: block; margin-top: 24px; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--seafoam); }
.map-link iframe { width: 100%; height: 100%; border: 0; }

/* faq accordion */
.faq { display: grid; gap: 6px; }
.faq details { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 18px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--pine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--seafoam); background-image: linear-gradient(var(--pine), var(--pine)), linear-gradient(var(--pine), var(--pine)); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; transition: transform 0.5s var(--ease), background-color 0.3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--sun); }
.faq .faq-body { padding: 0 18px 16px; max-width: 60em; font-size: 0.97rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ingredient grid (how it works) */
.ingredients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0; }
.ingredients li { background: #fff; border-radius: 14px; padding: 16px 18px; font-size: 0.97rem; box-shadow: 0 0 0 1px var(--line); margin: 0; }
.ingredients li b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--pine); font-size: 1.1rem; margin-bottom: 4px; }
.note-box { background: var(--seafoam); border-radius: 14px; padding: 16px 20px; border-left: 5px solid var(--sage-deep); max-width: 50em; }
.note-box p:last-child { margin: 0; }

/* cherry */
.cherry-mount { background: #fff; border-radius: 20px; padding: clamp(12px, 2vw, 24px); box-shadow: 0 0 0 1px var(--line); }

/* ---------- motion helpers ---------- */
[data-reveal] { clip-path: inset(0 0 100% 0); }
[data-fade] { opacity: 0; transform: translateY(24px); }
.page-veil { position: fixed; inset: 0; background: var(--pine); z-index: 300; transform-origin: top; pointer-events: none; }
html.no-js .page-veil, html.no-js [data-reveal], html.no-js [data-fade], html.no-js .split-line > span, html.no-js .hero-frame, html.no-js .page-hero-media, html.no-js .results-img, html.no-js .offer-chip, html.no-js .hero-note { opacity: 1; clip-path: none; transform: none; }
html.no-js .page-veil { display: none; }

@media (prefers-reduced-motion: reduce) {
  .page-veil { display: none; }
  [data-reveal], .results-img, .hero-frame, .page-hero-media { clip-path: none !important; }
  [data-fade], .offer-chip, .hero-note, .split-line > span { opacity: 1 !important; transform: none !important; }
  .hero-frame img, .page-hero-media img { transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .offer-price span { animation: none; }
  .btn, .panel, .panel img { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-phone { display: none; }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  .nav-links, .nav-actions .btn { display: none; }
  .burger { display: block; }
  .hero { min-height: 0; }
  .hero-grid, .page-hero-grid, .feature, .results-grid, .cols-2, .contact-grid, .path-head, .stories-head, .services-head { grid-template-columns: 1fr; display: grid; }
  .feature.flip > .feature-media { order: 0; }
  .hero-media { order: -1; }
  .hero-frame, .page-hero-media { aspect-ratio: 4 / 3; border-radius: var(--leaf-sm); }
  .hero-note { left: 12px; bottom: 12px; max-width: 260px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .panels { flex-direction: column; height: auto; }
  .panel { min-height: 96px; flex: none !important; }
  .panel.is-active { min-height: 240px; }
  .panel h3 { white-space: normal; }
  .panel-label-v { position: static; transform: none; }
  .cols-2 h2 { position: static; }
  .benefits, .timeline, .pillars { grid-template-columns: 1fr; }
  .compare-cards, .gallery-2, .ingredients { grid-template-columns: 1fr; }
  .path-pin { padding: 0 0 40px; }
  .path-track { width: auto; flex-direction: column; padding: 0 var(--gutter); }
  .step { width: auto; }
  .offer-band-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote { width: 320px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 14px; }
  .btn { padding: 14px 22px; }
  .btn-lg { padding: 16px 26px; font-size: 1rem; }
  h1 { letter-spacing: -0.025em; }
}

/* seafoam feature card: text sized so the copy column is no taller than the photo beside it */
@media (min-width: 901px) {
  .bg-seafoam .feature-copy h2 { font-size: clamp(1.7rem, 2.75vw, 2.9rem); line-height: 1.02; margin: 0 0 14px; }
  .bg-seafoam .feature-copy p { font-size: 0.97rem; line-height: 1.5; margin: 0 0 10px; }
  .bg-seafoam .feature-copy .btn { margin-top: 6px; }
}

/* testimonials intro as an animated chat bubble (typing dots, then the message) */
.stories-head { align-items: center; }
.chat-bubble { position: relative; justify-self: start; display: grid; margin: 0; max-width: 26em;
  background: var(--sage-deep); color: #fff; padding: 16px 22px; border-radius: 22px 22px 22px 6px;
  font-size: 1.02rem; line-height: 1.5; box-shadow: 0 14px 30px -16px rgba(15,59,58,.55); transform-origin: 0 100%; }
.chat-bubble::after { content: ""; position: absolute; left: -9px; bottom: 0; width: 18px; height: 18px;
  background: inherit; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.chat-bubble > span { grid-area: 1 / 1; }
.chat-dots { display: none; gap: 6px; align-items: center; align-self: center; height: 1.5em; }
.chat-dots i { width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .4; animation: chat-dot 1s infinite ease-in-out; }
.chat-dots i:nth-child(2) { animation-delay: .15s; } .chat-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-bubble.chat-armed { opacity: 0; transform: scale(.6) translateY(14px); }
.chat-bubble.chat-armed .chat-text { visibility: hidden; }
.chat-bubble.chat-armed .chat-dots { display: flex; }
.chat-bubble.is-in { opacity: 1; transform: none; transition: opacity .35s ease, transform .55s cubic-bezier(.34,1.56,.64,1); }
.chat-bubble.is-said .chat-dots { display: none; }
.chat-bubble.is-said .chat-text { visibility: visible; animation: chat-say .45s ease both; }
@keyframes chat-say { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (min-width: 901px) { .stories-head .chat-bubble { margin-top: -40px; } }

/* condensed footer + offer band (Casey: footer WAY too tall) */
.offer-band { padding: clamp(18px, 2.4vw, 30px) 0; }
.offer-price span { width: clamp(80px, 8vw, 104px); font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.offer-band h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.offer-band p { font-size: 0.93rem; }
.footer { padding: clamp(20px, 2.4vw, 32px) 0 12px; font-size: 0.9rem; line-height: 1.45; }
.footer-grid { grid-template-columns: 1.3fr 0.9fr 0.9fr 1.6fr; gap: 28px; padding-bottom: 16px; }
.footer h3 { font-size: 0.95rem; margin: 0 0 6px; }
.footer p { margin: 0 0 6px; }
.footer li { margin-bottom: 3px; }
.footer-grid ul { columns: 2; column-gap: 20px; }
.footer-grid li { break-inside: avoid; }
.logo-chip { padding: 6px 10px; margin-bottom: 8px; border-radius: 10px; }
.footer-brand img { width: 130px; }
.hours { margin: 0 0 6px; } .hours dd { margin: 0 0 3px; }
.footer-bottom { padding-top: 10px; font-size: 0.82rem; }
@media (max-width: 900px) { .footer-grid ul { columns: 1; } }

/* "What we treat": intro sits under the heading as a one-line subheader */
.services-head { display: block; margin-bottom: 14px; }
.services-head h2 { margin: 0 0 4px; }
.services-head p { margin: 0; max-width: none; color: var(--mute); font-size: clamp(0.95rem, 1.2vw, 1.12rem); }
@media (min-width: 1100px) { .services-head p { white-space: nowrap; font-size: min(1.12rem, 1.2vw); } }

/* hero logo: no card, just the transparent logo on the page */
.hero-copy .logo-card, .hero .hero-copy .logo-card { background: none; box-shadow: none; border-radius: 0; padding: 0; margin-bottom: 46px; }

/* Dr. Carle: portrait photo, smaller text sized to the photo's height */
@media (min-width: 901px) {
  .doctor .feature { grid-template-columns: 1.7fr 1fr; align-items: center; }
  .doctor .feature-media { aspect-ratio: 4 / 5; }
  .doctor .feature-media img { object-position: 50% 20%; }
  .doctor .feature-copy h2 { font-size: clamp(1.9rem, 3.2vw, 3.3rem); line-height: 1.02; margin: 0 0 14px; }
  .doctor blockquote { font-size: clamp(1.05rem, 1.62vw, 1.5rem); line-height: 1.45; }
  .doctor blockquote p { max-width: none; margin: 0 0 12px; }
  .doctor .sig { margin-top: 14px; }
}

/* "Join our growing list…" headline: words rise in, highlighter + hand-drawn underline on "free from pain." */
.join-head { position: relative; isolation: isolate; margin: 0 0 8px; }
.join-head .jw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.join-head .jw > span { display: inline-block; }
.jh-hl { position: relative; display: inline-block; color: var(--sage-deep); white-space: nowrap; }
.jh-hl::before { content: ""; position: absolute; z-index: -1; left: -0.12em; right: -0.12em; bottom: 0.1em; height: 0.42em;
  background: rgba(232, 181, 74, 0.38); border-radius: 6px; transform-origin: 0 50%; }
.jh-line { position: absolute; left: 0; bottom: -0.22em; width: 100%; height: 0.32em; overflow: visible; }
.jh-line path { fill: none; stroke: var(--sun); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.jh-stars { margin: 14px 0 0; color: var(--mute); font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.jh-stars span { color: var(--sun); font-size: 1.15rem; letter-spacing: 2px; }
/* armed (JS on): hidden until scrolled into view */
.join-head.jh-armed .jw > span { transform: translateY(110%); }
.join-head.jh-armed .jh-hl::before { transform: scaleX(0); }
.join-head.jh-armed .jh-line path { stroke-dashoffset: 1; }
.join-head.jh-armed + .jh-stars { opacity: 0; transform: translateY(10px) scale(0.96); }
.join-head.jh-in .jw > span { transform: none; transition: transform 0.85s var(--ease) calc(var(--i) * 70ms); }
.join-head.jh-in .jh-hl::before { transform: scaleX(1); transition: transform 0.6s var(--ease) 1.05s; }
.join-head.jh-in .jh-line path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.7s ease-in-out 1.45s; }
.join-head.jh-in + .jh-stars { opacity: 1; transform: none; transition: opacity 0.5s ease 1.9s, transform 0.6s cubic-bezier(.34,1.56,.64,1) 1.9s; }
.jh-in + .jh-stars span { display: inline-block; animation: jh-twinkle 2.8s ease-in-out 2.6s infinite; }
@keyframes jh-twinkle { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 6px rgba(232,181,74,.8)); } }
/* two rows of text on desktop: "Join our growing list of patients / who are free from pain." */
@media (min-width: 901px) {
  .stories-head { grid-template-columns: 1.7fr 1fr; }
  .join-head { white-space: nowrap; font-size: min(3.4vw, 3.4rem); line-height: 1.08; }
}
@media (max-width: 900px) { .jh-br { display: none; } }

/* no white gap between the hero buttons and "What we treat" */
.hero { padding-bottom: 6px; }
#services { padding-top: 10px; }

/* Dr. Carle portrait: same frame, zoomed so he fills it (Casey's box) */
@media (min-width: 901px) {
  .doctor .feature-media img { width: 134%; max-width: none; height: 150%; margin: -40% 0 0 -17%; object-position: 50% 70%; }
}
/* hero "Real results, imaged" note: bottom-right corner of Ken's photo */
.hero .hero-note { left: auto; right: -3%; bottom: 14px; }
/* hero headline: two lines ("Lasting relief / without drugs or surgery.") */
@media (min-width: 901px) { .hero .hero-copy h1 { white-space: nowrap; font-size: min(3.55vw, 3.6rem); } }
@media (min-width: 901px) {
  .hero .hero-copy h1 { font-size: min(3.45vw, 3.5rem); margin-bottom: 16px; }
  .hero .hero-copy .lead { font-size: clamp(0.95rem, 1.22vw, 1.2rem); margin-bottom: 26px; }
  .hero .hero-copy .logo-card { margin-bottom: 54px; }
}
@media (min-width: 901px) {
  .hero .hero-copy h1 { margin-bottom: 24px; }
  .hero .hero-copy .lead { margin-bottom: 36px; }
  .hero .hero-copy .logo-card { margin-bottom: 67px; }
}

/* step cards, restyled: gold number badge, tighter scale, soft gradient cards */
.path-track { gap: 18px; }
.step { width: clamp(300px, 27vw, 380px); padding: 20px 22px 22px; border-radius: 22px; grid-template-columns: 44px 1fr; column-gap: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,0.11), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 40px -26px rgba(0,0,0,0.6); }
.step-n { grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--pine-deep); font-size: 1.25rem; letter-spacing: 0; box-shadow: 0 0 0 6px rgba(232,181,74,0.16); }
.step h3 { font-size: 1.12rem; line-height: 1.25; margin: 10px 0 6px; }
.step p { font-size: 0.92rem; line-height: 1.55; color: #c9dcd8; }
.step-last { background: linear-gradient(160deg, #4f8f8b, var(--sage-deep)); border-color: rgba(255,255,255,0.2); }
.step-last .step-n { background: #fff; color: var(--pine-deep); }
.step-last p { color: #eef6f4; }
.step-last .btn { padding: 10px 18px; font-size: 0.9rem; }
@media (max-width: 900px) { .step { width: auto; } }

/* hero "Real results, imaged" note: same teal as the testimonials chat bubble */
.hero-note { background: var(--sage-deep); box-shadow: 0 14px 30px -16px rgba(15,59,58,.55); }
.hero-note strong { color: #fff; }
.hero-note span { color: #e3f0ee; }

/* Dr. Carle's message as a handwritten note on paper */
.note-card { position: relative; background: #fffdf6; color: #24343a; border-radius: 6px; padding: 30px 34px 26px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 22px 44px -26px rgba(15,59,58,.45);
  background-image: repeating-linear-gradient(to bottom, transparent 0 33px, rgba(63,123,120,.12) 33px 34px);
  background-position: 0 90px; transform: rotate(-1.2deg); }
.note-tape { position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; transform: translateX(-50%) rotate(2deg);
  background: rgba(232,181,74,.45); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.doctor .note-card h2 { font-family: "Caveat", cursive; font-weight: 600; font-size: clamp(1.8rem, 2.4vw, 2.3rem); line-height: 1.1;
  color: var(--sage-deep); margin: 0 0 10px; letter-spacing: 0; }
.note-body p { font-family: "Caveat", cursive; font-size: clamp(1.25rem, 1.55vw, 1.5rem); line-height: 34px; margin: 0 0 0; color: #263a3f; max-width: none; }
.note-body p + p { text-indent: 1.4em; }
.note-sign { margin-top: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.note-script { font-family: "Homemade Apple", cursive; font-size: clamp(1.15rem, 1.5vw, 1.45rem); color: #1d3a63; transform: rotate(-3deg); }
.note-sign small { color: var(--mute); font-size: .78rem; }
@media (max-width: 900px) { .note-card { transform: none; padding: 26px 22px 22px; } }

/* hero: thin divider between the logo and the headline (sits in the existing gap, no height change) */
.hero-copy .logo-card { position: relative; }
@media (min-width: 901px) {
  .hero-copy .logo-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: -34px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, rgba(63,123,120,.55), rgba(63,123,120,.25) 70%, rgba(63,123,120,0)); }
}
/* note lines: drawn per text row (34px rows) so every line of writing sits on its rule */
.note-card { background-image: none; }
.note-body { background-image: repeating-linear-gradient(to bottom, transparent 0 29px, rgba(63,123,120,.22) 29px 30px, transparent 30px 34px);
  background-position: 0 0; }

/* hero "Real results" note: white again, sitting inside the photo on the right (over the blinds) */
.hero-note { background: #fff; box-shadow: 0 30px 60px -24px rgba(9, 40, 39, 0.45); }
.hero-note strong { color: var(--pine); }
.hero-note span { color: var(--mute); }
@media (min-width: 901px) {
  .hero .hero-note { left: auto; right: 1.5%; top: 21%; bottom: auto; max-width: 44%; padding: 12px 14px; gap: 12px; }
  .hero .hero-note img { width: 54px; height: 54px; }
  .hero .hero-note span { font-size: 0.85rem; line-height: 1.4; display: block; }
}

/* hero note as a thought bubble: puffy rounded shape + two trailing circles toward Ken's head */
@media (min-width: 901px) {
  .hero .hero-note { border-radius: 46px 52px 44px 50px / 50px 44px 52px 46px; padding: 16px 22px 16px 16px; overflow: visible;
    box-shadow: 0 18px 40px -20px rgba(9,40,39,.45), 0 0 0 1px rgba(15,59,58,.06); }
  .hero .hero-note img { border-radius: 50%; }
  .hero .hero-note::before, .hero .hero-note::after { content: ""; position: absolute; background: #fff; border-radius: 50%;
    box-shadow: 0 6px 14px -6px rgba(9,40,39,.4), 0 0 0 1px rgba(15,59,58,.06); }
  .hero .hero-note::before { width: 20px; height: 20px; left: -18px; top: 8px; }
  .hero .hero-note::after { width: 11px; height: 11px; left: -38px; top: -8px; }
}
@media (min-width: 901px) { .hero .hero-note strong { font-size: 1rem; white-space: nowrap; margin-bottom: 2px; } }
@media (min-width: 901px) { .hero .hero-note { max-width: 48%; padding-right: 26px; } }

/* hero photo cropped tighter on Ken + the patient (less room behind him) */
@media (min-width: 901px) {
  .hero-frame img { display: block; width: 132%; height: 132%; max-width: none; margin: -9% 0 0 -14%; object-position: 50% 40%; }
}

/* hero photo: a little more headroom above Ken; bubble circles trail up toward his head, not over his face */
@media (min-width: 901px) {
  .hero-frame img { margin-top: -5%; }
  .hero .hero-note { top: 27%; }
  .hero .hero-note::before { width: 18px; height: 18px; left: 8px; top: -20px; }
  .hero .hero-note::after { width: 10px; height: 10px; left: -10px; top: -38px; }
}
/* click-to-enlarge images */
.zoomable { all: unset; cursor: zoom-in; display: block; flex: none; border-radius: 50%; position: relative; }
.zoomable:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.zoomable::after { content: "+"; position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sage-deep); color: #fff; font: 700 14px/18px var(--font-body); text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(9,40,39,.82);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  transform: scale(.94); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--pine-deep); font-size: 26px; line-height: 44px; }
@media (min-width: 901px) {
  .hero .hero-note { top: 42%; }
  .hero .hero-note::before { left: 34px; top: -22px; }
  .hero .hero-note::after { left: 20px; top: -40px; }
}
.lightbox img { width: min(1100px, 94vw); height: auto; object-fit: contain; }
@media (min-width: 901px) { .hero .hero-note { top: 52%; } }
/* zoom badge: magnifying glass instead of "+" */
.zoomable::after { content: ""; width: 20px; height: 20px; right: -3px; bottom: -3px;
  background: var(--sage-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5'/%3E%3C/svg%3E") center / 12px 12px no-repeat; }

/* ================= PHONE / TABLET: mirror the desktop order and layout (Casey 2026-11-05) =================
   Reading order follows desktop left column then right column; rows of cards swipe sideways like desktop. */
@media (max-width: 900px) {
  /* hero: logo, divider, headline, text, buttons, THEN Ken's photo (desktop: copy left, photo right) */
  .hero-media { order: 1; }
  .hero .hero-copy .logo-card { margin-bottom: 26px; position: relative; }
  .hero-copy .logo-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, rgba(63,123,120,.55), rgba(63,123,120,.25) 70%, rgba(63,123,120,0)); }
  .hero .hero-copy h1 { white-space: nowrap; font-size: 7.3vw; line-height: 1.05; margin: 0 0 12px; }
  .hero .hero-copy .lead { font-size: 0.98rem; margin: 0 0 16px; }
  .hero .btn-row { flex-wrap: wrap; gap: 8px; }
  .hero .btn-row .btn { padding: 11px 15px; font-size: 0.88rem; }
  .hero .btn-row .offer-chip { order: 3; font-size: 0.8rem; margin: 0; }
  .hero-frame { aspect-ratio: 1 / 1; margin-top: 18px; }
  .hero .hero-note { left: auto; top: auto; right: 10px; bottom: 10px; max-width: 74%; padding: 8px 14px 8px 8px; gap: 10px; border-radius: 30px; }
  .hero .hero-note img { width: 42px; height: 42px; border-radius: 50%; }
  .hero .hero-note strong { font-size: 0.88rem; white-space: nowrap; }
  .hero .hero-note span { font-size: 0.74rem; line-height: 1.35; display: block; }

  /* "What we treat": one sideways-swiping row of photo cards, text always showing */
  .panels { flex-direction: row; height: 300px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); }
  .panels::-webkit-scrollbar { display: none; }
  .panel, .panel.is-active { flex: 0 0 74vw !important; min-height: 0; scroll-snap-align: start; }
  .panel p, .panel .panel-cta { opacity: 1; transform: none; max-height: none; }
  .panel p { font-size: 0.85rem; }
  .panel img { opacity: 1; }

  /* Dr. Carle: note first, photo second (desktop: note left, photo right) */
  .doctor .feature-media { order: 2; aspect-ratio: 4 / 5; max-width: 420px; }

  /* path: steps swipe sideways in one row, like the desktop slide */
  .path-track { flex-direction: row; width: auto; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 4px var(--gutter) 6px; scroll-padding: 0 var(--gutter); }
  .path-track::-webkit-scrollbar { display: none; }
  .path-pin { padding: 0 0 24px; }
  .step, .step-last { width: 78vw !important; flex: none; scroll-snap-align: start; }

  /* footer: logo across the top, Visit + Hours side by side, Services underneath (two columns) */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child ul { columns: 2; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .doctor .feature.flip > .feature-media { order: 2; }
  .hero-media { margin-top: 0; }
  .hero-frame { margin-top: 4px; }
  .hero .btn-row { margin-bottom: 0; }
  .stat { padding: 14px 14px 16px; }
  .stat b { font-size: 1.5rem; }
  .stat span { font-size: 0.82rem; line-height: 1.45; }
}

/* narrow desktop (phones render the desktop page at 1000px wide): keep it identical, just fit */
@media (min-width: 901px) and (max-width: 1180px) {
  .hero .btn-row { gap: 6px; }
  .hero .btn-row .btn { padding: 9px 11px; font-size: 0.78rem; }
  .hero .btn-row .offer-chip { font-size: 0.7rem; gap: 5px; padding: 3px 9px 3px 3px; }
  .hero .btn-row .offer-chip b { padding: 4px 7px; }
  .hero .hero-copy .logo-card { margin-bottom: 40px; }
  .hero-copy .logo-card::after { bottom: -21px; }
  .hero .hero-copy h1 { margin-bottom: 18px; }
  .hero .hero-copy .lead { margin-bottom: 20px; }
  .hero .hero-note { max-width: 64%; right: 2%; padding: 10px 16px 10px 10px; gap: 10px; }
  .hero .hero-note img { width: 44px; height: 44px; }
  .hero .hero-note strong { font-size: 0.86rem; }
  .hero .hero-note span { font-size: 0.72rem; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .hero .btn-row > * { flex: none; }
  .hero .btn-row .btn { padding: 8px 10px; font-size: 0.72rem; }
  .hero .btn-row .offer-chip { font-size: 0.64rem; }
  .hero .hero-copy .lead { margin-bottom: 29px; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .hero .btn-row { gap: 4px; }
  .hero .btn-row .btn { padding: 8px 8px; }
  .hero .btn-row .offer-chip { font-size: 0.6rem; padding-right: 7px; }
}

/* PHONE STEP 1 (phones render at 1000px): same layout, reading text ~12% bigger.
   Phones only — (hover: none) and (pointer: coarse) keeps real desktop windows unchanged. */
@media (min-width: 901px) and (max-width: 1180px) and (hover: none) and (pointer: coarse) {
  body { font-size: 1.12rem; }
  .hero .hero-copy .lead, .feature-copy p, .results-grid p, .services-head p, .path-head p, .stories-head .chat-text { font-size: 1.12em; }
  .panel p, .step p, .quote blockquote, .stat span { font-size: 1.05rem; }
}

/* PHONE STEP 2 (phones render at 920px): same layout, a bit bigger; fit what no longer fits */
@media (min-width: 901px) and (max-width: 1000px) {
  .hero .btn-row { flex-wrap: wrap; gap: 6px; }
  .hero .btn-row .offer-chip { order: 3; }
  .hero .hero-copy .logo-card { margin-bottom: 26px; }
  .hero-copy .logo-card::after { bottom: -14px; }
  .hero .hero-copy h1 { margin-bottom: 10px; }
  .hero .hero-copy .lead { margin-bottom: 12px; }
  .panel h3 { font-size: 1rem; }
  .panel-body { padding: 14px; }
}
@media (min-width: 901px) and (max-width: 1000px) {
  .hero-frame { aspect-ratio: 380 / 410; }   /* a touch taller than square so it ends level with the text */
}
@media (min-width: 901px) and (max-width: 1180px) { .stories-head .chat-bubble { margin-top: 0; } }
/* PHONE STEP 3 (phones render at 760px: stacked layout) */
.stat b span { font-size: inherit !important; line-height: inherit; color: inherit; }
@media (min-width: 600px) and (max-width: 900px) { .hero-frame { aspect-ratio: 5 / 4; } }
@media (max-width: 900px) { .hero-frame img { object-position: 50% 15%; } }
@media (max-width: 900px) { .hero-frame { aspect-ratio: 1 / 1; } .hero-frame img { object-position: 50% 30%; } }

/* PHONE STEPS 1-3 (html.is-phone, set in site.js): same desktop layout, easier to read and tap */
/* 1. body text */
html.is-phone .hero .hero-copy .lead, html.is-phone .feature-copy p, html.is-phone .results-grid p,
html.is-phone .services-head p, html.is-phone .path-head p, html.is-phone .stories-head .chat-text,
html.is-phone .contact-grid p, html.is-phone .offer-band p { font-size: 1.2rem; line-height: 1.5; }
/* 2. headlines + buttons */
html.is-phone .nav-links a, html.is-phone .nav-links button { font-size: 1.05rem; }
html.is-phone .hero .btn-row { gap: 8px; }
html.is-phone .hero .btn-row .btn { font-size: 0.92rem; padding: 12px 16px; }
html.is-phone .hero .btn-row .offer-chip { font-size: 0.8rem; }
html.is-phone .btn { min-height: 44px; }
/* 3. card text */
html.is-phone .panel p { font-size: 1.08rem; }
html.is-phone .panel h3 { font-size: 1.2rem; }
html.is-phone .step h3 { font-size: 1.3rem; }
html.is-phone .step p { font-size: 1.08rem; }
html.is-phone .quote blockquote { font-size: 1.12rem; }
html.is-phone .stat span { font-size: 1.05rem; }
html.is-phone .hero .hero-note strong { font-size: 1rem; }
html.is-phone .hero .hero-note span { font-size: 0.85rem; }
html.is-phone .hero-frame { aspect-ratio: 380 / 486; }   /* taller photo so it ends level with the bigger hero text */

/* PHONE STEP 4: legible for older readers — darker text, bigger reading sizes, no tiny print (phones only) */
html.is-phone { --mute: #34423f; }
html.is-phone body { color: #17221f; }
html.is-phone .hero .hero-copy .lead, html.is-phone .feature-copy p, html.is-phone .results-grid p,
html.is-phone .path-head p, html.is-phone .contact-grid p, html.is-phone .offer-band p { font-size: 1.38rem; line-height: 1.55; }
html.is-phone .services-head p { font-size: 1.3rem; white-space: normal; }
html.is-phone .stories-head .chat-text { font-size: 1.3rem; }
html.is-phone .panel p { font-size: 1.2rem; }
html.is-phone .step p { font-size: 1.2rem; color: #e4efec; }
html.is-phone .quote blockquote { font-size: 1.25rem; }
html.is-phone .quote figcaption, html.is-phone .stat span { font-size: 1.15rem; }
html.is-phone .note-body p { font-size: 1.7rem; line-height: 40px; }
html.is-phone .note-body { background-image: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(63,123,120,.22) 35px 36px, transparent 36px 40px); }
html.is-phone .note-sign small, html.is-phone .jh-stars, html.is-phone .legend { font-size: 1.1rem; }
html.is-phone .hero .hero-note span { font-size: 0.95rem; color: #34423f; }
html.is-phone .footer { font-size: 1.08rem; color: #d6e4e1; }
html.is-phone .footer-bottom { font-size: 1rem; }
html.is-phone .lead-form label, html.is-phone .lf-row label, html.is-phone form label { font-size: 1.08rem; }
html.is-phone input, html.is-phone select, html.is-phone textarea { font-size: 1.15rem; }
html.is-phone .offer-chip { color: #17221f; }
html.is-phone .hero-frame { aspect-ratio: 380 / 513; }
html.is-phone .panel:not(.is-active) h3 { font-size: 1rem; }

/* PHONE STEP 5: photos scaled to sit better beside the bigger text (phones only) */
html.is-phone .bg-seafoam .feature { align-items: center; }
html.is-phone .bg-seafoam .feature-media { aspect-ratio: 4 / 5; }
html.is-phone .bg-seafoam .feature-media img { object-position: 35% 50%; }
html.is-phone .doctor .feature { grid-template-columns: 1.35fr 1fr; align-items: center; }
html.is-phone .doctor .feature-media { aspect-ratio: 3 / 5; }
html.is-phone .doctor .feature-media img { width: 100%; height: 115%; margin: 0; object-position: 50% 30%; }
html.is-phone .results-grid { grid-template-columns: 1fr 1.25fr; align-items: center; }
html.is-phone .hero .hero-note { top: 27%; right: 1.5%; max-width: 52%; }
html.is-phone .hero .hero-note { max-width: 58%; right: 1%; padding: 10px 14px 10px 10px; gap: 8px; }
html.is-phone .hero .hero-note strong { font-size: 0.92rem; }
html.is-phone .hero .hero-note img { width: 46px; height: 46px; }
html.is-phone .results-grid { grid-template-columns: 1fr 1.45fr; gap: 24px; }
/* phone hero: bubble on the open wall right of Ken (below the window, above the feet), circles trailing up to him */
html.is-phone .hero .hero-note { top: 45%; right: 1%; max-width: 51%; }
html.is-phone .hero .hero-note strong { font-size: 0.86rem; }
html.is-phone .hero .hero-note span { font-size: 0.86rem; }
html.is-phone .hero .hero-note strong { font-size: 0.82rem; }

/* ---------- Florida stem cell notice (s. 458.3245) + research sources ---------- */
.footer-bottom .fl-notice { flex: 1 1 0; min-width: 0; margin: 0 24px; max-width: none; font-size: 9px; line-height: 1.35; font-weight: 400; color: #8c9794; text-align: right; }
html.is-phone .footer-bottom .fl-notice { font-size: 9px; }
.sources { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(15,59,58,.2); font-size: .92em; }
.sources li { margin: 0 0 8px; }
.sources a { text-decoration: underline; }
.stem-home .btn-row { margin-top: 18px; align-items: center; }

/* picture under a cols-2 title */
.cols-2 .cols-title { position: sticky; top: 110px; }
.cols-2 .cols-title h2 { position: static; margin-bottom: 18px; }
.cols-img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 18px 40px rgba(15,59,58,.18); }

/* home: compact "Stem cell therapy, explained plainly" card; small picture bottom-aligned with the button row */
.stem-home { padding-block: clamp(16px, 2vw, 28px); }
.stem-home .cols-2 { align-items: stretch; gap: clamp(24px, 4vw, 56px); }
.stem-home .cols-title { position: static; display: flex; flex-direction: column; }
.stem-home .cols-title h2 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); margin-bottom: 12px; }
.stem-home .cols-img { width: min(300px, 62%); margin-top: auto; border-radius: 16px; box-shadow: 0 10px 24px rgba(15,59,58,.16); }
.stem-home .lead { font-size: clamp(1rem, 1.25vw, 1.15rem); margin-bottom: 10px; }
.stem-home .checks { margin: 0; }
.stem-home .checks li { font-size: .95rem; margin-bottom: 4px; padding-top: 2px; padding-bottom: 2px; }
.stem-home .btn-row { margin-top: 12px; margin-bottom: 0; }
.stem-home .cols-title { width: fit-content; max-width: 100%; }
.stem-home .cols-img { align-self: center; }
