/* Author: Ricky Patel
 * ZOVI LEAF — site design (2026-12-01 redesign). Deep forest + terracotta from the clinic logo, sage glass,
 * Bricolage Grotesque display + Figtree text. Shell (header, drawer, sticky bar, footer) + shared components
 * + home sections. Motion lives in site.js (GSAP); everything here renders fully without it. */
:root {
  --forest: #13211a; --forest-2: #1b2e24; --olive: #34452f; --moss: #5e6f4a; --sage: #c9d3bc; --sage-2: #e3e9db;
  --mist: #f3f5ef; --paper: #fbfcf9; --terra: #ab4e2c; /* 5.4:1 with white, 5.0:1 on mist (measured; #c65d3b was 4.2) */ --terra-2: #e0794f; --honey: #e9b872; --red: #d93f3f;
  --ink: #18211b; --muted: #59645a; --line: rgba(24, 33, 27, .12);
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif; --text: 'Figtree', system-ui, sans-serif;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px; --wrap: 1240px;
  --glass: rgba(255, 255, 255, .12); --glass-line: rgba(255, 255, 255, .28);
  --shadow: 0 30px 60px -30px rgba(19, 33, 26, .45), 0 12px 24px -16px rgba(19, 33, 26, .3);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--text); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em;
  border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1.1 var(--text); text-decoration: none; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.btn:hover { transform: translateY(-2px); }
/* Darker end stops keep white button text above 4.5:1 (the light #e0794f end measured 3.0:1). */
.btn-terra { background: linear-gradient(135deg, #b3532f, #8c3a20); color: #fff; box-shadow: 0 12px 28px -12px rgba(198, 93, 59, .8); }
.btn-terra:hover { box-shadow: 0 18px 38px -12px rgba(224, 121, 79, .95), 0 0 0 6px rgba(224, 121, 79, .18); }
.btn-glass { background: var(--glass); color: #fff; border-color: var(--glass-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--terra); color: var(--terra); }
.btn-red { background: var(--red); color: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-lg { min-height: 56px; padding: .9em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Topbar + header: dark forest, in contrast with the light page body */
.topbar { background: #0d1812; color: #cfd8c6; font-size: .84rem; }
.topbar .wrap { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.topbar a, .tb-item { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar .ico { color: var(--terra-2); }
.tb-right { margin-left: auto; display: flex; gap: 22px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(19, 33, 26, .94); color: #fff; backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 14px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); }
.brand b { display: block; font: 700 1.15rem/1 var(--display); letter-spacing: .06em; }
.brand small { display: block; font-size: .78rem; opacity: .72; margin-top: 4px; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a { padding: .55em .95em; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .97rem; color: #e7ece2; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav a[aria-current="page"] { background: rgba(224, 121, 79, .18); color: #ffb391; }
.head-actions { display: flex; align-items: center; gap: 16px; }
.head-phone { display: inline-flex; align-items: center; gap: 8px; color: #e7ece2; text-decoration: none; font-weight: 600; }
.head-phone .ico { color: var(--terra-2); }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .ico { width: 24px; height: 24px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(8, 14, 10, .55); backdrop-filter: blur(4px); }
.drawer[hidden] { display: none; }
.drawer-panel { position: absolute; inset: 0 0 0 auto; width: min(400px, 100%); background: var(--forest); color: #fff; padding: 20px 22px 28px;
  display: flex; flex-direction: column; gap: 18px; overflow-y: auto; animation: slideIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-close { width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.live-pill { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin: 0; padding: .45em 1em; border-radius: 999px;
  background: rgba(98, 196, 120, .14); border: 1px solid rgba(98, 196, 120, .4); font-weight: 600; font-size: .9rem; color: #d9f5dd; }
.live-pill i, .sc-text i, .pulse { width: 9px; height: 9px; border-radius: 50%; background: #5fd17a; box-shadow: 0 0 0 0 rgba(95, 209, 122, .7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(95, 209, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 209, 122, 0); } }
.drawer-nav { display: grid; gap: 6px; }
.drawer-nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05);
  text-decoration: none; font: 600 1.12rem var(--display); }
.drawer-nav a[aria-current="page"] { background: rgba(224, 121, 79, .2); color: #ffb391; }
.drawer-actions { display: grid; gap: 12px; margin-top: auto; }
.drawer-line { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); text-decoration: none; }
.drawer-line span { display: grid; font-size: .85rem; opacity: .9; }
.drawer-line strong { font-size: 1.1rem; }
.drawer-micro { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .82rem; opacity: .75; margin: 0; }

/* Sticky phone action bar: fixed to the foot of the screen on phones */
.sticky-cta { display: none; }

/* Shared section furniture */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: .4em 1em; border-radius: 999px; background: var(--sage-2); color: var(--olive);
  font-weight: 600; font-size: .86rem; margin-bottom: 14px; }
.kicker { display: block; color: var(--terra); font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.dark { background: var(--forest); color: #fff; }
.dark .section-head p { color: #bfcab7; }
.dark .pill { background: rgba(255, 255, 255, .08); color: var(--sage); }
.dark .kicker { color: var(--terra-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: .3em .8em; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--sage-2); color: var(--olive); }

/* Hero: full-bleed photo, overlay, glass booking card */
.hero { position: relative; min-height: calc(100svh - 120px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; padding: 56px 0 120px; }
.hero-bg { position: absolute; inset: -6% 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13, 24, 18, .94) 0%, rgba(13, 24, 18, .78) 34%, rgba(13, 24, 18, .2) 58%, rgba(13, 24, 18, .45) 100%),
    linear-gradient(0deg, rgba(13, 24, 18, .7) 0%, transparent 35%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); }
.hero h1 span { color: var(--honey); }
.hero .lede { font-size: 1.12rem; color: #e3e9dc; max-width: 600px; }
.hero .kicker { color: #ffb391; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.hero-pills li { display: inline-flex; align-items: center; gap: 8px; padding: .5em 1em; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-pills .ico { color: var(--honey); }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: .45em 1em; border-radius: 999px; background: rgba(95, 209, 122, .16);
  border: 1px solid rgba(95, 209, 122, .45); font-weight: 600; font-size: .9rem; margin-bottom: 18px; backdrop-filter: blur(8px); }

.glass-card { position: relative; border-radius: var(--r-lg); padding: 18px; color: #fff; background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07));
  border: 1px solid var(--glass-line); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .35); transform-style: preserve-3d; }
.book-photo { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 8.5; transform: translateZ(40px); }
.book-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.book-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 24, 18, .85), transparent 60%); }
.book-online { position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: .35em .85em;
  border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-weight: 600; font-size: .8rem; }
.book-doc { position: absolute; left: 14px; bottom: 12px; z-index: 1; }
.book-doc span { display: inline-block; padding: .2em .7em; border-radius: 999px; background: var(--terra); font-size: .74rem; font-weight: 700; }
.book-doc b { display: block; margin-top: 6px; font-size: .92rem; }
.book-body { padding: 18px 6px 4px; transform: translateZ(25px); }
.book-body h2 { font-size: 1.35rem; margin-bottom: .3em; }
.book-body > p { color: #dfe6d8; font-size: .95rem; }
.book-price { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; margin: 14px 0; border-radius: 16px;
  background: rgba(13, 24, 18, .45); border: 1px solid rgba(255, 255, 255, .16); }
.book-price b { display: block; font-size: .98rem; }
.book-price small { color: #c9d3bc; font-size: .82rem; }
.book-price .amount { font: 700 2rem/1 var(--display); color: var(--honey); white-space: nowrap; }
.book-price .amount small { font: 600 .75rem var(--text); color: #c9d3bc; margin-left: 3px; }
.book-body .btn + .btn { margin-top: 10px; }
.book-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 14px 0 0; font-size: .8rem; color: #d3dccb; }
.book-assure span { display: inline-flex; align-items: center; gap: 5px; }
.book-assure .ico { color: #5fd17a; }

/* Stat row: glass stat cards lifted over the hero's foot */
.stats { position: relative; z-index: 3; margin-top: -84px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); transform-style: preserve-3d; }
.stat-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--terra-2), var(--terra)); color: #fff; flex: none; }
.stat-ico .ico { width: 24px; height: 24px; }
.stat b { display: block; font: 700 1.6rem/1.05 var(--display); color: var(--forest); }
.stat span { display: block; font-weight: 600; font-size: .95rem; }
.stat small { display: block; color: var(--muted); font-size: .85rem; }

/* Moving strip of telehealth scenes */
.strip { padding: 64px 0 24px; overflow: hidden; }
.strip-track { display: flex; gap: 18px; width: max-content; animation: marquee 48s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip figure { margin: 0; width: 340px; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; flex: none; box-shadow: var(--shadow); }
.strip figure.tall { width: 250px; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.strip figure:hover img { transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }
.strip-words { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; color: var(--olive); font-weight: 600; }
.strip-words span { display: inline-flex; align-items: center; gap: 8px; }
.strip-words .ico { color: var(--terra); }

/* How it works: 3D flip cards */
.flip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; perspective: 1400px; }
.flip { position: relative; min-height: 430px; cursor: pointer; border: 0; padding: 0; background: none; text-align: left; font: inherit; color: inherit; }
.flip-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
@media (hover: hover) { .flip:hover .flip-inner { transform: rotateY(180deg); } }
.flip-face { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow); }
.flip-front { background: #fff; border: 1px solid var(--line); }
.flip-front img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.flip-front .num { position: absolute; top: 14px; left: 14px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font: 700 1.2rem var(--display); color: #fff; background: rgba(19, 33, 26, .72); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .3); }
.flip-front .fbody { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.flip-front h3 { margin: 0; }
.flip-front p { color: var(--muted); font-size: .96rem; margin: 0; }
.flip-hint { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--terra); }
.flip-back { transform: rotateY(180deg); background: linear-gradient(160deg, var(--olive), var(--forest)); color: #fff; padding: 30px 26px; justify-content: center; gap: 16px; }
.flip-back .big-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--honey); }
.flip-back .big-ico .ico { width: 30px; height: 30px; }
.flip-back h3 { color: #fff; }
.flip-back p { color: #d7dfcf; margin: 0; }
.flip-back .tag { display: inline-flex; align-self: flex-start; padding: .35em .9em; border-radius: 999px; background: rgba(224, 121, 79, .2); color: #ffc1a3; font-weight: 600; font-size: .85rem; }
.center-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* Clinical services: dark bento with a photo anchor and tilting cards */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-photo { grid-row: span 2; border-radius: 26px; overflow: hidden; position: relative; min-height: 420px; }
.bento-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.bento-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 24, 18, .75), transparent 55%); }
.bento-photo p { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; margin: 0; font: 600 1.2rem/1.3 var(--display); }
.svc { position: relative; padding: 28px; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .12); transform-style: preserve-3d; transition: border-color .3s, box-shadow .3s; overflow: hidden; }
.svc:hover { border-color: rgba(233, 184, 114, .5); box-shadow: 0 0 0 1px rgba(233, 184, 114, .2), 0 30px 60px -30px rgba(233, 184, 114, .45); }
.svc-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(224, 121, 79, .16); color: var(--terra-2); margin-bottom: 18px; transform: translateZ(30px); }
.svc-ico .ico { width: 26px; height: 26px; }
.svc h3 { color: #fff; transform: translateZ(20px); }
.svc p { color: #c3cdbb; font-size: .97rem; }
.svc .tags li { background: rgba(255, 255, 255, .08); color: var(--sage); }
[data-tilt] { will-change: transform; }
.glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .22), transparent 55%); }
[data-tilt]:hover .glare { opacity: 1; }

/* Founder: layered cards over a consulting-room photo */
.founder-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.founder-visual { position: relative; min-height: 560px; }
.founder-visual .room { position: absolute; inset: 0 12% 8% 0; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.founder-visual .room img { width: 100%; height: 100%; object-fit: cover; }
.founder-card { position: absolute; right: 0; top: 14%; width: min(330px, 78%); padding: 26px; border-radius: 24px; text-align: center; background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid #fff; box-shadow: var(--shadow); }
.founder-card .seal { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--terra-2), var(--terra)); color: #fff; box-shadow: 0 14px 30px -12px rgba(198, 93, 59, .8); }
.founder-card .seal .ico { width: 32px; height: 32px; }
.founder-card .reg { display: inline-flex; align-items: center; gap: 6px; padding: .25em .8em; border-radius: 999px; border: 1px solid rgba(198, 93, 59, .35); color: var(--terra); font-size: .78rem; font-weight: 700; }
.founder-card h3 { font-size: 1.6rem; margin: 10px 0 4px; }
.founder-card .role { color: var(--terra); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.founder-card small { color: var(--muted); }
.founder-chip { position: absolute; left: 6%; bottom: 0; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 18px; background: var(--forest); color: #fff; box-shadow: var(--shadow); }
.founder-chip .ico { color: var(--terra-2); width: 26px; height: 26px; }
.founder-chip b { display: block; } .founder-chip small { color: #c3cdbb; }
.founder-open { position: absolute; left: 6%; top: 5%; display: inline-flex; align-items: center; gap: 10px; padding: .55em 1.1em; border-radius: 999px; background: #fff; font-weight: 600; font-size: .88rem; box-shadow: var(--shadow); }
.founder h2 { margin-bottom: .15em; }
.founder .role-line { color: var(--terra); font: 600 1.05rem var(--display); margin-bottom: 22px; }
.founder blockquote { margin: 0 0 26px; padding: 22px 26px; border-left: 4px solid var(--terra); background: var(--mist); border-radius: 0 18px 18px 0;
  font: 500 1.35rem/1.4 var(--display); color: var(--forest); }
.founder .story p { color: #39443b; }

/* Why choose: elevated dark card against a muted one */
.compare { display: grid; grid-template-columns: 1.08fr 1fr; gap: 26px; align-items: stretch; perspective: 1600px; }
.cmp { border-radius: 28px; padding: 34px; display: flex; flex-direction: column; }
.cmp-ours { background: linear-gradient(165deg, var(--forest-2), var(--forest)); color: #fff; box-shadow: 0 50px 90px -40px rgba(19, 33, 26, .8), 0 0 0 1px rgba(224, 121, 79, .35); transform-style: preserve-3d; }
.cmp-theirs { background: #fff; border: 1px solid var(--line); }
.cmp-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.cmp-head .ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: rgba(224, 121, 79, .18); color: var(--terra-2); }
.cmp-theirs .cmp-head .ico { background: var(--mist); color: var(--muted); }
.cmp-head h3 { margin: 0; font-size: 1.4rem; }
.cmp-head small { display: block; color: var(--terra-2); font-weight: 600; }
.cmp-theirs .cmp-head small { color: var(--muted); }
.cmp > p { color: #c3cdbb; } .cmp-theirs > p { color: var(--muted); }
.cmp ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.cmp li { display: flex; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); transition: transform .25s, background .25s; }
.cmp-ours li:hover { transform: translateX(6px); background: rgba(255, 255, 255, .09); }
.cmp-theirs li { background: var(--mist); border-color: transparent; }
.cmp li > .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--terra); color: #fff; flex: none; }
.cmp-theirs li > .ico { background: #f6dcdc; color: var(--red); }
.cmp li b { display: block; font-size: .98rem; }
.cmp li span { font-size: .93rem; color: #c9d3c1; }
.cmp-theirs li span { color: var(--muted); }
.cmp .btn { margin-top: auto; }

/* Fees */
.fees { display: grid; grid-template-columns: repeat(2, minmax(0, 470px)); justify-content: center; gap: 28px; perspective: 1400px; }
.fee { position: relative; padding: 36px 32px 32px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transform-style: preserve-3d; }
.fee.featured { border: 2px solid var(--terra); box-shadow: 0 40px 80px -36px rgba(198, 93, 59, .65); }
.fee .ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: .4em 1em; border-radius: 999px; background: var(--terra); color: #fff; font-weight: 700; font-size: .82rem; }
.fee h3 { font-size: 1.35rem; margin-bottom: .3em; }
.fee > p { color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 4px; margin: 8px 0 18px; font: 700 3.6rem/1 var(--display); color: var(--forest); }
.price sup { font-size: 1.6rem; color: var(--terra); }
.price small { font: 500 .95rem var(--text); color: var(--muted); margin-left: 8px; }
.fee ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.fee li { display: flex; gap: 12px; align-items: flex-start; }
.fee li .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--terra); color: #fff; flex: none; margin-top: 1px; }
.fee:not(.featured) li .ico { background: #f7e1d8; color: var(--terra); }
.fee .btn { margin-top: auto; }

/* Image band CTA (photo + glass panel) */
.band-cta { position: relative; overflow: hidden; color: #fff; padding: clamp(90px, 12vw, 160px) 0; isolation: isolate; }
.band-cta .bg { position: absolute; inset: -10% 0; z-index: -2; }
.band-cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.band-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 24, 18, .9), rgba(13, 24, 18, .45) 60%, rgba(13, 24, 18, .2)); }
.band-cta .panel { max-width: 560px; padding: 36px; border-radius: 28px; }
.band-cta p { color: #e1e8da; }

/* Footer: full, rich, dark */
.site-footer { background: radial-gradient(1200px 500px at 85% 0%, rgba(198, 93, 59, .16), transparent 60%), #0d1812; color: #dbe2d4; padding: 0 0 110px; font-size: .95rem; }
.site-footer a { color: #e9eee4; text-decoration: none; }
.site-footer a:hover { color: #ffb391; }
.ft-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 48px; border-radius: 30px; transform: translateY(-50%);
  background: linear-gradient(120deg, var(--terra), #7f341d); color: #fff; box-shadow: 0 40px 80px -40px rgba(198, 93, 59, .9); flex-wrap: wrap; position: relative; overflow: hidden; }
.ft-cta::after { content: ''; position: absolute; width: 380px; height: 380px; right: -90px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.ft-cta h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: .3em; color: #fff; }
.ft-cta p { margin: 0; max-width: 560px; color: #ffe6db; }
.ft-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.ft-cta .btn-terra { background: #fff; color: var(--terra); box-shadow: none; }
.site-footer:has(.ft-cta) { margin-top: 110px; }
.ft-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ft-badge { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: border-color .3s; }
.ft-badge:hover { border-color: rgba(233, 184, 114, .45); }
.ft-badge > .ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: rgba(224, 121, 79, .15); color: var(--terra-2); }
.ft-badge b { display: block; color: #fff; } .ft-badge small { color: #a9b5a2; }
.ft-cols { display: grid; grid-template-columns: 1.4fr .9fr 1.1fr 1.2fr; gap: 40px; padding: 48px 0 40px; }
.ft-cols h3 { font: 700 .95rem var(--text); letter-spacing: .04em; color: #fff; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--terra); display: inline-block; }
.ft-cols ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ft-brand img { border-radius: 20px; margin-bottom: 18px; }
.ft-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ft-contact .ico, .ft-hours > .ico { color: var(--terra-2); margin-top: 3px; }
.ft-hours { display: flex; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; line-height: 1.6; }
.ft-services a { display: flex; gap: 12px; align-items: center; }
.ft-services .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--terra-2); }
.ft-muted { color: #a9b5a2; }
.ft-emergency { margin-top: 18px; padding: 18px; border-radius: 18px; background: rgba(217, 63, 63, .1); border: 1px solid rgba(217, 63, 63, .35); }
.ft-emergency > strong { display: flex; align-items: center; gap: 8px; color: #fff; }
.ft-emergency .ico { color: #ff8a8a; }
.ft-emergency p { margin: 8px 0 12px; font-size: .9rem; }
.ft-em-actions { display: flex; flex-wrap: wrap; gap: 8px; } .ft-em-actions .btn { min-height: 44px; padding: .5em 1em; font-size: .9rem; }
.ft-em-actions .ico { color: inherit; }
.ft-reg { padding: 20px 24px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; color: #a9b5a2; }
.ft-reg > strong { display: flex; align-items: center; gap: 8px; color: #fff; margin-bottom: 6px; } .ft-reg .ico { color: var(--terra-2); }
.ft-reg-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ft-em-line { display: inline-flex; align-items: center; gap: 6px; color: #ff8a8a; }
.ft-legal { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 24px; font-size: .88rem; }
.ft-legal p { margin: 0 0 6px; } .ft-legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; } .ft-legal nav a { color: #b8c3b0; }
.ft-cities { display: inline-flex; align-items: center; gap: 8px; padding: .5em 1.1em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); margin: 0; }
.ft-cities .ico { color: var(--terra-2); }

/* Responsive */
@media (max-width: 1100px) {
  .nav, .head-phone, .tb-addr { display: none; }
  .menu-toggle { display: inline-flex; }
  .head-actions { margin-left: auto; }
  .hero-grid, .founder-grid { grid-template-columns: 1fr; }
  .glass-card { max-width: 560px; }
  .stats-grid, .ft-trust { grid-template-columns: repeat(2, 1fr); }
  .flip-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .ft-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { width: calc(100% - 32px); }
  .topbar .tb-right a:first-child { display: none; }
  .topbar .wrap { justify-content: space-between; }
  .head-actions .btn { display: none; }
  .site-header .wrap { min-height: 68px; }
  .brand img { width: 44px; height: 44px; }
  .hero { min-height: 0; padding: 36px 0 110px; }
  .hero-bg img { object-position: 72% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(13, 24, 18, .82) 0%, rgba(13, 24, 18, .7) 45%, rgba(13, 24, 18, .9) 100%); }
  .hero .lede { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .stats { margin-top: -70px; }
  .stats-grid { gap: 12px; }
  .stat { flex-direction: column; gap: 10px; padding: 18px 16px; }
  .stat b { font-size: 1.3rem; }
  .flip-grid, .bento, .fees, .ft-trust, .ft-cols { grid-template-columns: 1fr; }
  .flip { min-height: 450px; }
  .bento-photo { min-height: 300px; grid-row: auto; }
  .founder-visual { min-height: 460px; }
  .founder-visual .room { inset: 0 0 18% 0; }
  .founder-card { top: auto; bottom: 0; right: 4%; }
  .founder-chip { display: none; }
  .cmp, .fee { padding: 26px 20px; }
  .strip figure { width: 250px; } .strip figure.tall { width: 190px; }
  .ft-cta { padding: 30px 24px; transform: translateY(-30%); }
  .ft-cta-actions .btn { width: 100%; }
  .sticky-cta { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 10px 10px 16px; border-radius: 20px; background: rgba(19, 33, 26, .92); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6); }
  .sc-text { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
  .sc-text strong { display: block; font-size: .92rem; } .sc-text small { font-size: .76rem; color: #bfcab7; }
  .sticky-cta .btn { min-height: 46px; padding: .6em 1.05em; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .strip-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
.ft-cta-pill { display: inline-flex; align-items: center; gap: 6px; padding: .3em .9em; border-radius: 999px; background: #fff; color: var(--terra); font-weight: 700; font-size: .8rem; margin: 0 0 10px; }
.ft-cta-kicker { display: block; font-weight: 600; font-size: .9rem; color: #ffe0d2; margin-bottom: 6px; }
.stat b span { display: inline; }
.strip { padding: 64px 0 8px; }
/* Layout refinements after the first screenshot review */
.ft-cta { transform: none; margin-top: -96px; margin-bottom: 0; }
.site-footer:has(.ft-cta) { margin-top: 96px; }
.ft-trust { margin-top: 40px; }
.ft-cta .ft-cta-pill { color: var(--terra); }
.band-cta h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.founder-grid { align-items: start; }
.founder-visual { position: sticky; top: 120px; }
@media (min-width: 1101px) {
  .bento { grid-template-rows: auto auto auto; }
  .bento-photo { grid-row: 1 / span 3; }
  .bento .svc:last-child { grid-column: 2 / span 2; }
}
@media (max-width: 1100px) { .founder-visual { position: relative; top: 0; } }
.sticky-cta .btn, .sc-text small { white-space: nowrap; }
@media (max-width: 380px) { .sc-text small { display: none; } }
.stat b span { font: inherit; color: inherit; }
@media (max-width: 720px) {
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .hero-actions { order: 4; margin: 6px 0 20px; }
  .hero-copy .lede { order: 5; }
  .hero-copy .hero-pills { order: 6; }
  .hero h1 { font-size: 2.15rem; }
  .hero .kicker { font-size: .85rem; }
}
/* Phones widen the layout viewport to the widest painted box; clip the marquee and the page so 390 stays 390. */
html { overflow-x: hidden; }
.strip { overflow: clip; contain: paint; }

/* ---- Inner pages (2026-12-01 rollout) ---- */
/* Page hero: full-bleed photo under a forest overlay dense enough that white text passes WCAG AA on any pixel
   (measured with tools/hero-contrast.cjs; founder defect 2026-12-01: inner-page hero text was unreadable). */
.page-hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding: clamp(64px, 8vw, 110px) 0 clamp(110px, 10vw, 150px); }
.ph-bg { position: absolute; inset: -6% 0; z-index: -2; }
.ph-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13, 24, 18, .95) 0%, rgba(13, 24, 18, .86) 45%, rgba(13, 24, 18, .5) 75%, rgba(13, 24, 18, .4) 100%),
    linear-gradient(0deg, rgba(13, 24, 18, .75) 0%, transparent 40%); }
.ph-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.ph-copy { max-width: 720px; }
.ph-copy h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.ph-copy .lede { font-size: 1.12rem; color: #e8ede3; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; color: #dfe6d8; margin-bottom: 18px; }
.crumbs a { color: #fff; } .crumbs .sep { opacity: .6; } .crumbs [aria-current] { color: #ffc6ad; }
.ph-pills, .ph-meta { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 20px; }
.ph-pills li { display: inline-flex; align-items: center; gap: 8px; padding: .4em 1em; border-radius: 999px; font-size: .86rem; font-weight: 600;
  background: rgba(13, 24, 18, .55); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ph-meta li { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: #e8ede3; }
.ph-meta .ico { color: var(--honey); } .ph-meta a { color: #ffc6ad; }
.ph-card { padding: 26px; background: linear-gradient(160deg, rgba(13, 24, 18, .74), rgba(13, 24, 18, .58)); }
.ph-card h2 { font-size: 1.35rem; }
.ph-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ph-card li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(13, 24, 18, .5); border: 1px solid rgba(255, 255, 255, .14); }
.ph-card li > .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--terra); color: #fff; flex: none; }
.ph-card li b { display: block; } .ph-card li span { font-size: .9rem; color: #dfe6d8; }
.ph-card a { color: #fff; }
.ph-card .big { display: block; font: 700 2.6rem/1 var(--display); color: var(--honey); }

/* Generic content blocks used across inner pages */
.eyebrow { color: var(--terra); font-weight: 700; font-size: .9rem; margin: 2.2em 0 .4em; }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.photo-stack { position: relative; min-height: 480px; }
.photo-stack .p1 { position: absolute; inset: 0 18% 14% 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.photo-stack .p2 { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--paper); }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1400px; }
.card-d { position: relative; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transform-style: preserve-3d; overflow: hidden; }
.card-d .svc-ico { background: rgba(198, 93, 59, .12); color: var(--terra); }
.card-d p { color: var(--muted); margin: 0; }
.dark .card-d { background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border-color: rgba(255, 255, 255, .12); }
.dark .card-d h3 { color: #fff; } .dark .card-d p { color: #c3cdbb; }
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 3; margin-top: -84px; }
.mini { margin: 0 0 6px; color: var(--terra); font-weight: 700; font-size: .85rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: start; }
.line-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.line-list li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.line-list li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.line-list li > .ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(198, 93, 59, .12); color: var(--terra); flex: none; }
.line-list b { display: block; } .line-list a { color: var(--terra); font-weight: 600; } .line-list small { display: block; color: var(--muted); }
.panel-d { padding: 30px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel-dark { padding: 28px; border-radius: 24px; background: linear-gradient(160deg, var(--forest-2), var(--forest)); color: #fff; }
.panel-dark p { color: #c9d3c1; } .panel-dark h3 { color: #fff; }
.panel-alert { padding: 24px; border-radius: 22px; background: #fff4f2; border: 1px solid rgba(217, 63, 63, .35); }
.panel-alert h3 { color: #a52a2a; display: flex; align-items: center; gap: 8px; }
.stack { display: grid; gap: 18px; }
.form-frame { width: 100%; min-height: 760px; border: 0; border-radius: 16px; background: #fff; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(198, 93, 59, .4); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font: 600 1.05rem var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--terra); color: #fff; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.faq a { color: var(--terra); }

/* Forms (register + intake). Field ids and names are fixed by public/intake.js and api/intake. */
.form-card { padding: 34px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend { font: 600 1.2rem var(--display); margin-bottom: 14px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.form-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.form-grid > * { grid-column: span 6; } .form-grid .half { grid-column: span 3; } .form-grid .third { grid-column: span 2; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.hint { color: var(--muted); font-weight: 400; font-size: .9rem; }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #d6ddd0; background: var(--paper); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(198, 93, 59, .15); }
[aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red); font-size: .85rem; margin: 4px 0 0; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--terra); }
.check a { color: var(--terra); }
.form-status { display: none; margin-top: 16px; padding: 16px 18px; border-radius: 14px; }
.form-status.show { display: block; } .form-status.ok { background: #eaf6ec; color: #1f6b33; } .form-status.bad { background: #fdecec; color: #a52a2a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn[type="submit"] { border: 0; }

/* Long-form prose (legal + guides) */
.longform .prose { max-width: 860px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 1.4em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h4, .prose h5, .prose h6 { font: 600 1.1rem var(--display); margin: 1.4em 0 .4em; }
.prose p, .prose li { color: #39443b; }
.prose a { color: var(--terra); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose section { scroll-margin-top: 110px; }
.prose .aside { padding: 14px 18px; border-left: 4px solid var(--terra); background: var(--mist); border-radius: 0 14px 14px 0; color: var(--forest); }
.prose .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 24px 0; }
.prose .card { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.prose .card ul { list-style: none; padding: 0; } .prose .card li { margin: 0 0 6px; }
.prose .card a:not(.btn) { display: inline-block; margin-right: 12px; }
.prose .card .aside { border: 0; background: none; padding: 0; color: var(--terra); font-weight: 700; }
.prose .btn { color: #fff; text-decoration: none; margin: 4px 8px 4px 0; }
.prose img { border-radius: 20px; box-shadow: var(--shadow); margin: 18px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }

@media (max-width: 1100px) {
  .ph-inner, .split2, .contact-grid { grid-template-columns: 1fr; }
  .cards3 { grid-template-columns: repeat(2, 1fr); }
  .statbar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(13, 24, 18, .9), rgba(13, 24, 18, .86) 60%, rgba(13, 24, 18, .95)); }
  .ph-copy .lede { font-size: 1rem; }
  .ph-copy .hero-actions .btn { width: 100%; }
  .cards3 { grid-template-columns: 1fr; }
  .statbar { margin-top: -70px; gap: 12px; }
  .photo-stack { min-height: 380px; }
  .form-card, .panel-d { padding: 22px 18px; }
  .form-grid .half, .form-grid .third { grid-column: span 6; }
}
.panel-dark h4 { color: #fff; margin: 0 0 6px; } .panel-dark a { color: #ffc6ad; }
.intake-layout .form-card { min-width: 0; }
/* Glass booking card on the home hero: tinted so its small text holds AA over the bright lamp area. */
.hero .glass-card { background: linear-gradient(160deg, rgba(13, 24, 18, .62), rgba(13, 24, 18, .45)); }
.book-doc span { background: var(--terra); }
/* Long-form pages with a contents card: sticky sidebar on wide screens */
.longform .has-aside { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.lf-aside { position: sticky; top: 110px; }
.lf-aside .grid { grid-template-columns: 1fr; margin: 0; }
.longform .has-aside .prose { max-width: 820px; }
@media (max-width: 1100px) { .longform .has-aside { grid-template-columns: 1fr; } .lf-aside { position: static; } }
/* Phones: the page's main action comes straight after the heading, so it sits in the first screen and clear of the
   chat launcher, which is lifted above the sticky bar (site.js liftChatWidget). */
@media (max-width: 720px) {
  .ph-copy { display: flex; flex-direction: column; }
  .ph-copy .crumbs { order: 1; } .ph-copy .ph-pills { order: 2; } .ph-copy h1 { order: 3; font-size: 1.95rem; }
  .ph-copy .hero-actions { order: 4; margin: 4px 0 18px; } .ph-copy .kicker { order: 5; }
  .ph-copy .lede { order: 6; } .ph-copy .ph-meta, .ph-copy .hero-pills { order: 7; }
  .page-hero { padding-top: 28px; }
}
/* Sticky bar fit at 390: the label column shrinks (ellipsis) so the button never leaves the bar. */
@media (max-width: 720px) {
  .sc-text { min-width: 0; flex: 1 1 auto; }
  .sc-text > span { min-width: 0; overflow: hidden; }
  .sc-text strong, .sc-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sticky-cta .btn { flex: none; padding: .6em .95em; }
}
/* Narrow phones: drop the button icon so "AHPRA Registered • Australia" shows in full beside it. */
@media (max-width: 430px) { .sticky-cta .btn .ico { display: none; } .sticky-cta .btn { padding: .6em .9em; } }
