/* ==========================================================================
   E-Motion Physical Therapy & Wellness — Design System
   Ported from the approved concept (e-motion-abhishek.netlify.app): warm
   paper/cream ground, sage + clay palette, Fraunces + Plus Jakarta Sans.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap');

:root{
  /* Brand palette — warm paper ground, sage + clay */
  --ink: #2E2A1E;
  --ink-soft: #6E6552;
  --paper: #F1E8D6;
  --paper-2: #E7DCC2;
  --paper-3: #DCCFAE;
  --paper-raised: #FBF7ED;
  --line: rgba(46,42,30,0.13);

  --primary: #3E5C4A;        /* sage-deep — structural dark (nav active, focus, dark bands) */
  --primary-dark: #2F4A3A;
  --primary-light: #DCE6D6;  /* sage-pale */
  --sage: #6E8F72;           /* mid sage — secondary accents, slot/step markers */
  --accent: #B0602A;         /* clay — primary CTA color */
  --accent-dark: #8C4A20;
  --accent-light: #EFD9C2;   /* clay-pale */
  --gold: #C79A3E;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(46,42,30,.08);
  --shadow-md: 0 12px 32px rgba(46,42,30,.14);
  --shadow-lg: 0 24px 60px rgba(46,42,30,.22);

  --container: 1180px;
  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-body: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;

  color-scheme: light;
}

:root[data-theme="dark"]{
  --ink: #F1E8D6;
  --ink-soft: #C9BFA0;
  --paper: #1A1712;
  --paper-2: #211C15;
  --paper-3: #282219;
  --paper-raised: #241F17;
  --line: rgba(241,232,214,0.14);

  --primary: #6E8F72;
  --primary-dark: #3E5C4A;
  --primary-light: #22352A;
  --sage: #8CAF90;
  --accent: #D6874A;
  --accent-dark: #B0602A;
  --accent-light: #3A2A1C;
  --gold: #D9B06E;

  --shadow-sm: 0 2px 10px rgba(0,0,0,.35);
  --shadow-md: 0 12px 32px rgba(0,0,0,.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ink: #F1E8D6;
    --ink-soft: #C9BFA0;
    --paper: #1A1712;
    --paper-2: #211C15;
    --paper-3: #282219;
    --paper-raised: #241F17;
    --line: rgba(241,232,214,0.14);
    --primary: #6E8F72;
    --primary-dark: #3E5C4A;
    --primary-light: #22352A;
    --sage: #8CAF90;
    --accent: #D6874A;
    --accent-dark: #B0602A;
    --accent-light: #3A2A1C;
    --gold: #D9B06E;
    --shadow-sm: 0 2px 10px rgba(0,0,0,.35);
    --shadow-md: 0 12px 32px rgba(0,0,0,.45);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
    color-scheme: dark;
  }
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
  overflow-x: hidden;
  position: relative;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; }

.container{ width:100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.section{ padding: 96px 0; position: relative; z-index: 2; }
.section-tight{ padding: 64px 0; position: relative; z-index: 2; }
@media (max-width: 720px){
  .section{ padding: 64px 0; }
  .section-tight{ padding: 44px 0; }
}
.section.alt{ background: var(--paper-2); }

h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1{ font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3{ font-size: 1.4rem; }
h1 em, h2 em, h3 em{ font-style: italic; font-weight: 500; color: var(--primary); }
p{ margin: 0 0 1em; color: var(--ink-soft); }
.lede{ font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 14px;
}
.eyebrow::before{ content:''; width: 20px; height: 1.5px; background: var(--accent-dark); display:inline-block; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .95rem; border: 1.5px solid transparent;
  cursor:pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap; font-family: var(--font-body);
}
.btn-primary{ background: var(--accent); color:#fff; box-shadow: 0 10px 24px -10px rgba(176,96,42,.55); }
.btn-primary:hover{ background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(176,96,42,.65); }
.btn-dark{ background: var(--primary); color:#fff; }
.btn-dark:hover{ background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline{ background: transparent; border-color: rgba(46,42,30,.24); color: var(--ink); }
:root[data-theme="dark"] .btn-outline{ border-color: rgba(241,232,214,.28); }
.btn-outline:hover{ border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost-light{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); color:#fff; }
.btn-ghost-light:hover{ background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-call{ background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-call:hover{ background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-sm{ padding: 9px 18px; font-size: .85rem; }
.btn-block{ width:100%; }
.btn:disabled{ opacity:.5; cursor:not-allowed; transform:none !important; }

/* Nav */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; height: 82px; gap: 20px; }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-size: 1.35rem; font-weight:600; color: var(--ink); flex-shrink:0; }
.brand-mark{
  width: 38px; height:38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-family: var(--font-display);
  box-shadow: var(--shadow-sm);
}
.brand-logo{
  height: 42px; width:auto; display:block;
}
.site-footer .brand-logo{ height: 46px; }
.nav-links{ display:flex; align-items:center; gap: 26px; }
.nav-links a{ font-weight: 600; font-size: .95rem; color: var(--ink-soft); position:relative; padding: 6px 0; }
.nav-links a:hover, .nav-links a.active{ color: var(--primary); }
.nav-links a.active::after{ content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px; background: var(--accent); border-radius:2px; }
.nav-actions{ display:flex; align-items:center; gap: 12px; flex-shrink:0; }
.nav-phone{ display:none; font-weight:700; font-size:.85rem; color: var(--ink-soft); }
.nav-phone:hover{ color: var(--primary); }
@media (min-width: 1080px){ .nav-phone{ display:inline-flex; align-items:center; gap:6px; } }
.icon-btn{
  width: 40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line); background: var(--paper-raised); cursor:pointer; color: var(--ink);
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.icon-btn:hover{ border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.icon-btn[aria-expanded="true"]{ border-color: var(--primary); color: var(--primary); }

@media (max-width: 940px){
  .nav-links{ display:none; }
}

/* Location pill switcher (header) */
.loc-switch{
  display:flex; align-items:center; gap:4px; background: var(--paper-raised); border:1px solid var(--line);
  border-radius: var(--radius-pill); padding: 4px; font-size: .78rem; font-weight:700;
}
.loc-switch button{ border:none; background:transparent; padding: 7px 12px; border-radius: var(--radius-pill); cursor:pointer; color: var(--ink-soft); }
.loc-switch button.active{ background: var(--primary); color:#fff; }
@media (max-width: 860px){ .loc-switch{ display:none; } }

/* Call Us dropdown (header) */
.call-us{ position:relative; }
.call-panel{
  position:absolute; top: calc(100% + 10px); right:0; width: 280px; background: var(--paper-raised);
  border:1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 8px; z-index: 120;
}
.call-panel .call-loc{ padding: 12px 14px; border-radius: var(--radius-sm); }
.call-panel .call-loc + .call-loc{ margin-top: 2px; }
.call-panel .call-loc strong{ display:block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; color: var(--ink); }
.call-panel .call-loc span{ display:block; font-size: .82rem; color: var(--ink-soft); margin-bottom: 8px; }
.call-panel .call-loc a{ display:inline-flex; align-items:center; gap:6px; font-weight:700; color: var(--primary); font-size: .92rem; }
.call-panel .call-loc a:hover{ text-decoration: underline; }

/* Hamburger overflow panel (Locations/Blog/FAQ/Contact Us — always here; Home/Providers/Services join on mobile) */
.menu-panel{
  position:absolute; top: 100%; left:0; right:0; background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md); padding: 10px 24px 18px; z-index: 110;
}
.menu-panel a{ display:block; padding: 13px 4px; font-weight:600; font-size: 1rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.menu-panel a:hover, .menu-panel a.active{ color: var(--primary); }
.menu-panel a:last-child{ border-bottom:none; }
.menu-mobile-only{ display:none; }
@media (max-width: 940px){
  .menu-mobile-only{ display:block; }
}

/* Menu panel: phone numbers, shown only when the header Call Us button is hidden */
.menu-panel-call{ display:none; }
.menu-panel-call .call-loc{ padding: 13px 4px; border-bottom: 1px solid var(--line); }
.menu-panel-call .call-loc:last-child{ border-bottom:none; }
.menu-panel-call .call-loc strong{ display:block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; color: var(--ink); }
.menu-panel-call .call-loc a{ display:inline-flex; align-items:center; gap:6px; font-weight:700; color: var(--primary); font-size: .92rem; }

/* Compact header CTA label, swapped in on narrow phones */
.cta-short{ display:none; }

/* Small-phone header: drop the Call Us button and shrink what's left so nothing overflows */
@media (max-width: 640px){
  .nav{ gap: 10px; }
  .nav-actions{ gap: 8px; }
  .brand-logo{ height: 34px; }
  .call-us{ display:none; }
  .menu-panel-call{ display:block; }
  .icon-btn{ width: 36px; height:36px; }
  .nav-actions .btn-primary.btn-sm{ padding: 9px 14px; font-size: .82rem; }
  .cta-full{ display:none; }
  .cta-short{ display:inline; }
}

/* Hero request widget — self-contained card embedded in the hero */
.book-card{ background: var(--paper-raised); border-radius: 24px; padding: 8px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); min-width: 0; max-width: 100%; }
.book-card-inner{ border-radius: 18px; overflow:hidden; }
.book-head{ background: var(--primary); color:#fff; padding: 22px 24px; display:flex; justify-content:space-between; align-items:flex-start; gap: 14px; flex-wrap: wrap; }
.book-head .tag{ font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:700; color: var(--accent-light); }
.book-head h3{ color:#fff; font-size:19px; margin-top:6px; margin-bottom:0; }
.book-loc-toggle{ display:flex; background: rgba(255,255,255,.14); border-radius: 100px; padding:3px; gap:2px; }
.book-loc-toggle button{ border:none; background:transparent; color: rgba(255,255,255,.72); font-family: var(--font-body); font-weight:700; font-size:11.5px; padding:7px 12px; border-radius:100px; cursor:pointer; transition: all .18s ease; }
.book-loc-toggle button.active{ background:#fff; color: var(--primary); }
.book-body{ padding: 22px 24px 24px; }
.step-label{ font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color: var(--sage); margin-bottom:12px; display:flex; align-items:center; gap:8px; }
.step-label .n{ width:18px; height:18px; border-radius:50%; background: var(--sage); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:10.5px; flex-shrink:0; }
.book-body .date-scroll{ margin-bottom: 6px; }
.book-body .field{ margin-bottom: 14px; }
.book-thanks{ text-align:center; padding: 20px 6px 10px; }
.book-thanks .check{ width:52px; height:52px; border-radius:50%; background: var(--sage); display:flex; align-items:center; justify-content:center; margin: 0 auto 18px; color:#fff; }

/* Hero */
.hero{ position:relative; padding: 72px 0 40px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items:center; }
.hero-grid > *{ min-width: 0; } /* let grid items shrink below content size, so .date-scroll scrolls instead of stretching the card */
@media (max-width: 940px){ .hero-grid{ grid-template-columns: 1fr; } }
.hero-badges{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 26px; }
.badge{
  display:inline-flex; align-items:center; gap:6px; font-size:.78rem; font-weight:700;
  padding: 8px 14px; border-radius: var(--radius-pill); background: var(--primary-light); color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
}
.hero-cta-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top: 34px; align-items:center; }
.hero-art{ position:relative; aspect-ratio: 1/1; border-radius: 28px; overflow:hidden; background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%); box-shadow: var(--shadow-lg); }
.hero-blob{ position:absolute; inset:0; }
.hero-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:top center; }
.hero-photo-overlay{ position:absolute; inset:0; background: linear-gradient(180deg, rgba(46,42,30,.1) 0%, rgba(46,42,30,.7) 100%); }

/* Hero headline word-in animation */
.hero-word{ display:inline-block; opacity:0; transform: translateY(22px); animation: wordIn .7s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes wordIn{ to{ opacity:1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce){ .hero-word{ animation: none; opacity:1; transform:none; } }

/* Rating chips (hero trust signal) */
.rating-row{ display:flex; gap:28px; margin-top: 30px; flex-wrap:wrap; }
.rating-chip{ display:flex; align-items:center; gap:10px; }
.rating-chip .stars{ color: var(--gold); letter-spacing:2px; font-size:15px; }
.rating-chip .meta{ font-size:12.5px; color: var(--ink-soft); line-height:1.3; }
.rating-chip .meta strong{ color: var(--ink); font-size:14px; }

/* Image-topped cards (services, gallery) */
.card-photo{ padding:0; overflow:hidden; }
.card-photo img{ width:100%; aspect-ratio: 4/3; object-fit:cover; }
.card-photo .card-photo-body{ padding:26px 30px 30px; }

/* Gallery grid */
.gallery-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 14px;
}
.gallery-grid a{ display:block; border-radius: var(--radius-md); overflow:hidden; position:relative; box-shadow: var(--shadow-sm); transition: transform .3s ease; }
.gallery-grid a:hover{ transform: scale(1.015); }
.gallery-grid img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.gallery-grid a:hover img{ transform: scale(1.06); }
.gallery-grid .tall{ grid-row: span 2; }
.gallery-grid .wide{ grid-column: span 2; }
@media (max-width: 900px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-grid .wide{ grid-column: span 2; }
}
@media (max-width: 560px){
  .gallery-grid{ grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-grid .tall, .gallery-grid .wide{ grid-column: span 1; grid-row: span 1; }
}

/* Team photo as real image */
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.hero-stat-card{
  position:absolute; bottom: 22px; left: 22px; right: 22px; background: rgba(251,247,237,.95); backdrop-filter: blur(6px);
  border-radius: var(--radius-md); padding: 18px 20px; display:flex; gap:18px; box-shadow: var(--shadow-md); color: var(--ink);
}
.hero-stat-card .n{ font-family: var(--font-display); font-size: 1.6rem; color: var(--primary); font-weight:600; }
.hero-stat-card .l{ font-size:.72rem; color: var(--ink-soft); font-weight:600; text-transform:uppercase; letter-spacing:.06em; }

/* Trust strip — dark sage band with ✦ separated claims */
.trust-strip{ background: var(--primary); color:#fff; padding: 0; }
.trust-row{ display:flex; flex-wrap:wrap; gap: 16px 32px; align-items:center; justify-content:center; padding: 20px 0; }
.trust-item{ display:flex; align-items:center; gap:8px; font-weight:600; font-size:.85rem; color: rgba(255,255,255,.92); }
.trust-item svg{ color: rgba(255,255,255,.8); flex-shrink:0; }

/* Cards / grid */
.grid{ display:grid; gap: 22px; }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){ .grid-4, .grid-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon{
  width: 52px; height:52px; border-radius: 14px; background: var(--accent-light); color: var(--accent-dark);
  display:flex; align-items:center; justify-content:center; margin-bottom: 18px;
}
.card ul{ margin-top: 12px; }
.card ul li{ display:flex; gap:10px; padding: 6px 0; color: var(--ink-soft); font-size:.95rem; }
.card ul li svg{ flex-shrink:0; margin-top:3px; color: var(--accent); }

.section-head{ max-width: 720px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Approach / technique chips */
.chip-row{ display:flex; flex-wrap:wrap; gap: 12px; margin-top: 24px; }
.chip{
  padding: 10px 18px; border-radius: var(--radius-pill); background: var(--paper-raised); border:1px solid var(--line);
  font-weight:700; font-size:.85rem; color: var(--ink);
}

/* Logo scroller (partner brands) */
.logo-scroller{
  position:relative; overflow:hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-track{
  display:flex; align-items:center; gap: 60px; width:max-content;
  animation: logo-scroll 32s linear infinite;
}
.logo-scroller:hover .logo-track{ animation-play-state: paused; }
.logo-item{
  display:flex; flex-direction:column; align-items:center; gap:2px; flex-shrink:0;
  font-family: var(--font-display); font-weight:500; font-size:1.3rem; color: var(--ink-soft);
  opacity:.72; white-space:nowrap; transition: opacity .2s ease, color .2s ease; text-align:center;
}
.logo-item:hover{ opacity:1; color: var(--ink); }
.logo-item svg{ flex-shrink:0; color: var(--accent); margin-bottom: 4px; }
.logo-item small{ display:block; font-family: var(--font-body); font-size:.62rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--ink-soft); opacity:.8; }
@keyframes logo-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .logo-track{ animation: none; flex-wrap:wrap; justify-content:center; }
}

/* Team */
.team-card{ text-align:left; }
.team-photo{
  width:100%; aspect-ratio: 4/5; border-radius: var(--radius-md); margin-bottom: 20px; overflow:hidden;
  background: linear-gradient(150deg, var(--primary-light), var(--accent-light));
  display:flex; align-items:center; justify-content:center; font-family: var(--font-display); font-size: 3rem; color: var(--primary); font-weight:600;
}
.team-role{ color: var(--primary); font-weight:700; font-size:.85rem; text-transform:uppercase; letter-spacing:.04em; margin-bottom:10px; }
.team-tags{ display:flex; flex-wrap:wrap; gap:8px; margin: 14px 0; }
.team-tags span{ background: var(--paper-2); color: var(--ink-soft); font-size:.72rem; font-weight:700; padding: 5px 10px; border-radius: var(--radius-pill); }

/* Provider doc-card (concept pattern — photo swatch + credentials + tags) */
.doc-card{ background: var(--paper-raised); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display:flex; gap:22px; }
@media (max-width: 560px){ .doc-card{ flex-direction:column; } }
.docs{ display:grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }

/* Team card grid — uniform photo cards with an expand-in-place bio (no per-person pages) */
.team-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.team-flip-card{ background: var(--paper-raised); border:1px solid var(--line); border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease; }
.team-flip-card:hover{ box-shadow: var(--shadow-md); }
.team-flip-photo{ aspect-ratio: 4/5; overflow:hidden; background: var(--primary-light); }
.team-flip-photo img{ width:100%; height:100%; object-fit:cover; object-position: center 15%; display:block; }
.team-flip-photo.initials{ display:flex; align-items:center; justify-content:center; font-family: var(--font-display); font-size:2.6rem; color: var(--primary); }
.team-flip-body{ padding: 20px 22px 22px; }
.team-flip-body h3{ font-size:1.08rem; margin-bottom:2px; line-height:1.25; }
.team-flip-role{ font-size:.74rem; font-weight:700; color: var(--primary); margin-bottom:10px; text-transform:uppercase; letter-spacing:.03em; }
.team-flip-teaser{ font-size:.9rem; color: var(--ink-soft); margin-bottom:14px; line-height:1.5; }
.team-flip-toggle{ background:none; border:none; padding:0; cursor:pointer; font-weight:700; font-size:.85rem; color: var(--accent); display:inline-flex; align-items:center; gap:6px; font-family: inherit; }
.team-flip-toggle:hover{ color: var(--accent-dark); }
.team-flip-toggle .icon{ display:inline-flex; transition: transform .2s ease; flex-shrink:0; }
.team-flip-toggle[aria-expanded="true"] .icon{ transform: rotate(45deg); }
.team-flip-full{ margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
.team-flip-full p{ font-size:.88rem; line-height:1.65; margin-bottom:12px; color: var(--ink-soft); }
.team-flip-full .doc-tags{ margin-top:2px; }
.doc-photo{ width:88px; height:88px; border-radius:20px; overflow:hidden; background: linear-gradient(135deg, var(--accent), var(--gold)); display:flex; align-items:center; justify-content:center; color:#fff; font-family: var(--font-display); font-size:26px; flex-shrink:0; }
.doc-photo img{ width:100%; height:100%; object-fit:cover; }
.doc-cred{ font-size:12px; color: var(--primary); font-weight:700; letter-spacing:.02em; margin-top:4px; }
.doc-card p{ margin-top:14px; font-size:14px; }
.doc-tags{ display:flex; flex-wrap:wrap; gap:7px; margin-top:16px; }
.doc-tags span{ font-size:11px; font-weight:700; background: var(--paper-2); padding:5px 10px; border-radius:100px; color: var(--ink-soft); }

/* Testimonials */
.testi-wrap{ position:relative; max-width: 760px; margin: 0 auto; }
.testi-card{ background: var(--paper-raised); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-sm); text-align:center; }
.testi-stars{ color: var(--gold); margin-bottom: 18px; display:flex; justify-content:center; gap:4px; }
.testi-quote{ font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ink); line-height:1.5; margin-bottom: 20px; }
.testi-name{ font-weight:700; color: var(--primary); }
.testi-dots{ display:flex; justify-content:center; gap:8px; margin-top: 26px; }
.testi-dots button{ width:9px; height:9px; border-radius:50%; border:none; background: var(--line); cursor:pointer; padding:0; }
.testi-dots button.active{ background: var(--accent); width: 22px; border-radius: 5px; transition: width .2s ease; }
.testi-nav{ display:flex; justify-content:center; gap:14px; margin-top:22px; }

/* Google review CTAs */
.review-cta-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:16px; margin-top: 32px; }
.review-cta{
  display:flex; align-items:center; gap:12px; padding: 14px 20px; border-radius: var(--radius-pill);
  background: var(--paper-raised); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.review-cta:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.review-cta .g-icon{ flex-shrink:0; }
.review-cta .stars{ color: var(--gold); font-size:.85rem; letter-spacing:1px; }
.review-cta .meta{ display:flex; flex-direction:column; line-height:1.3; }
.review-cta .meta .score{ font-weight:700; color: var(--ink); font-size:.92rem; }
.review-cta .meta .sub{ font-size:.76rem; color: var(--ink-soft); }
.testi-source{ display:inline-flex; align-items:center; gap:5px; font-size:.72rem; font-weight:700; color: var(--ink-soft); text-transform:uppercase; letter-spacing:.04em; margin-top:8px; }

/* Instagram follow section */
.insta-card{
  display:flex; align-items:center; gap: 24px; padding: 36px 40px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 55%, #6228d7 100%);
  color:#fff; flex-wrap:wrap;
}
.insta-card .insta-icon{
  width:64px; height:64px; border-radius: 18px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; border: 1px solid rgba(255,255,255,.35);
}
.insta-card .insta-body{ flex:1; min-width:220px; }
.insta-card h3{ color:#fff; margin-bottom:6px; }
.insta-card p{ color: rgba(255,255,255,.9); margin-bottom:0; }
.insta-card .btn-ghost-light{ border-color: rgba(255,255,255,.7); }

/* Locations */
.loc-card{ display:flex; flex-direction:column; gap:14px; }
.loc-card .map{ border-radius: var(--radius-md); overflow:hidden; border:1px solid var(--line); aspect-ratio: 16/10; }
.loc-card .map iframe{ width:100%; height:100%; border:0; filter: sepia(.08) saturate(.85); }
.loc-detail{ display:flex; gap:10px; align-items:flex-start; font-size:.92rem; color: var(--ink-soft); }
.loc-detail svg{ color: var(--primary); flex-shrink:0; margin-top:2px; }

/* CTA banner (finalcta) */
.cta-banner{
  background: var(--primary);
  border-radius: 28px; padding: 60px 52px; text-align:center; color:#fff; position:relative; overflow:hidden;
}
.cta-banner h2{ color:#fff; }
.cta-banner p{ color: rgba(255,255,255,.78); }
.cta-banner .btn-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top: 10px; }

/* Footer */
.site-footer{ background: var(--ink); color: #D8CFB8; padding: 70px 0 30px; margin-top: 40px; position: relative; z-index: 2; }
:root[data-theme="dark"] .site-footer{ background: #0F0D09; }
.site-footer a{ color: #C9BFA0; }
.site-footer a:hover{ color: #fff; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 800px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-grid h4{ color:#fff; font-family: var(--font-body); font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
.footer-grid li{ margin-bottom: 10px; font-size:.92rem; }
.footer-bottom{ border-top: 1px solid rgba(241,232,214,.12); margin-top: 50px; padding-top: 24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.8rem; color:#8F8568; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(241,232,214,.2); display:flex; align-items:center; justify-content:center; }

/* Page header (inner pages) */
.page-hero{ padding: 60px 0 40px; text-align:center; position: relative; z-index: 2; }
.page-hero .eyebrow{ justify-content:center; }

/* FAQ accordion */
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{ display:flex; justify-content:space-between; align-items:center; gap: 20px; padding: 24px 4px; cursor:pointer; font-weight:700; font-size: 1.05rem; font-family: var(--font-display); }
.faq-q .plus{ flex-shrink:0; width: 30px; height:30px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; transition: transform .25s ease, background .2s ease, color .2s ease; }
.faq-item.open .faq-q .plus{ transform: rotate(45deg); background: var(--accent); color:#fff; border-color: var(--accent); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .3s ease; }
.faq-a p{ padding: 0 4px 24px; }
.faq-item.open .faq-a{ max-height: 400px; }

/* Forms */
.form-card{ background: var(--paper-raised); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px){ .form-row{ grid-template-columns: 1fr; } }
.field{ margin-bottom: 18px; }
.field label{ display:block; font-size:.82rem; font-weight:700; margin-bottom: 7px; color: var(--ink); }
.field .hint{ font-size:.76rem; color: var(--ink-soft); font-weight:400; }
.field input, .field select, .field textarea{
  width:100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--paper-raised); color: var(--ink); font-family: inherit; font-size: .95rem; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.field textarea{ resize: vertical; min-height: 100px; }
.checkbox-row{ display:flex; align-items:flex-start; gap:10px; font-size:.85rem; color: var(--ink-soft); }
.checkbox-row input{ width:auto; margin-top:3px; }
.checklist-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 20px; }
@media (max-width: 620px){ .checklist-grid{ grid-template-columns: 1fr; } }
.form-msg{ padding: 14px 18px; border-radius: var(--radius-sm); font-size:.9rem; font-weight:600; margin-top:16px; display:none; }
.form-msg.show{ display:block; }
.form-msg.success{ background: var(--primary-light); color: var(--primary); }
.form-msg.error{ background: var(--accent-light); color: var(--accent-dark); }

/* Booking flow */
.booking-shell{ display:grid; grid-template-columns: 1fr 340px; gap: 34px; align-items:start; }
@media (max-width: 980px){ .booking-shell{ grid-template-columns: 1fr; } }
.stepper{ display:flex; align-items:center; gap:6px; margin-bottom: 34px; flex-wrap:wrap; }
.step-dot{
  width: 32px; height:32px; border-radius:50%; background: var(--paper-raised); border: 2px solid var(--line);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.82rem; color: var(--ink-soft); flex-shrink:0;
}
.step-dot.active{ background: var(--sage); border-color: var(--sage); color:#fff; }
.step-dot.done{ background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.step-line{ flex:1; height: 2px; background: var(--line); min-width: 14px; }
.step-line.done{ background: var(--primary); }

.option-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px; }
.option-card{
  border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 20px; cursor:pointer; background: var(--paper-raised);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.option-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.option-card.selected{ border-color: var(--sage); box-shadow: 0 0 0 4px var(--primary-light); }
.option-card h4{ margin: 0 0 4px; font-size: 1.02rem; font-family: var(--font-body); font-weight:700; }
.option-card p{ margin:0; font-size:.85rem; }

.slot-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(90px,1fr)); gap: 10px; margin-top: 18px; }
.slot-btn{
  padding: 10px 6px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper-raised);
  cursor:pointer; font-weight:700; font-size:.85rem; text-align:center; transition: all .15s ease;
}
.slot-btn:hover{ border-color: var(--sage); }
.slot-btn.selected{ background: var(--sage); border-color: var(--sage); color:#fff; }
.slot-btn.taken{ opacity:.35; text-decoration: line-through; cursor:not-allowed; }
.date-scroll{ display:flex; gap: 10px; overflow-x:auto; padding-bottom: 10px; }
.date-pill{
  flex-shrink:0; width: 68px; padding: 12px 6px; border-radius: var(--radius-md); border: 1.5px solid var(--line);
  text-align:center; cursor:pointer; background: var(--paper-raised);
}
.date-pill .dow{ font-size:.68rem; font-weight:700; color: var(--ink-soft); text-transform:uppercase; }
.date-pill .dom{ font-family: var(--font-display); font-size:1.3rem; font-weight:600; margin: 2px 0; }
.date-pill.selected{ background: var(--sage); border-color: var(--sage); color:#fff; }
.date-pill.selected .dow{ color: rgba(255,255,255,.8); }

.summary-card{ position:sticky; top: 100px; background: var(--paper-raised); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.summary-card h4{ font-family: var(--font-body); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color: var(--ink-soft); margin-bottom:16px; }
.summary-row{ display:flex; justify-content:space-between; gap:10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size:.88rem; }
.summary-row .k{ color: var(--ink-soft); }
.summary-row .v{ font-weight:700; text-align:right; }

.step-actions{ display:flex; justify-content:space-between; gap:14px; margin-top: 34px; }

.confirm-screen{ text-align:center; padding: 30px 0; }
.confirm-check{ width:84px; height:84px; border-radius:50%; background: var(--primary-light); color: var(--primary); display:flex; align-items:center; justify-content:center; margin: 0 auto 24px; }
.confirm-id{ font-family: var(--font-display); font-size:1.6rem; color: var(--primary); background: var(--primary-light); display:inline-block; padding: 10px 22px; border-radius: var(--radius-pill); margin: 14px 0 28px; }

.notice-banner{ display:flex; gap:14px; background: var(--accent-light); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 30px; font-size:.9rem; }
.notice-banner svg{ color: var(--accent-dark); flex-shrink:0; }
.notice-banner strong{ color: var(--ink); }

/* Pricing */
.pricing-card{ text-align:center; padding: 40px 30px; }
.pricing-card .tag{ font-family: var(--font-display); font-size:.85rem; color: var(--accent); font-weight:600; margin-bottom: 6px; }

/* Price cards (concept pattern — used on pricing.html, left-aligned) */
.price-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px){ .price-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .price-grid{ grid-template-columns: 1fr; } }
.price-card{ background: var(--paper-raised); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px; text-align:left; transition: transform .2s ease; }
.price-card:hover{ transform: translateY(-4px); }
.price-card.feat{ background: var(--primary); color:#fff; border-color: transparent; }
.price-card .ptag{ font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--accent-dark); margin-bottom:14px; }
.price-card.feat .ptag{ color: var(--accent-light); }
.price-card .amt{ font-family: var(--font-display); font-size:32px; margin-bottom:4px; }
.price-card .per{ font-size:12.5px; color: var(--ink-soft); margin-bottom:16px; display:block; }
.price-card.feat .per{ color: rgba(255,255,255,.7); }
.price-card ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; font-size:13px; }
.price-card li{ display:flex; gap:8px; color: var(--ink-soft); }
.price-card.feat li{ color: rgba(255,255,255,.88); }
.price-card li::before{ content:"✓"; color: var(--sage); font-weight:700; }
.price-card.feat li::before{ color: var(--accent-light); }
.price-note{ margin-top:28px; font-size:13.5px; color: var(--ink-soft); }

/* Story blocks — alternating image + copy (Philosophy, What We Treat) */
.story{ display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; margin-bottom: 88px; }
.story:last-child{ margin-bottom: 0; }
.story.rev .story-media{ order: 2; }
.story.rev .story-text{ order: 1; }
@media (max-width: 860px){
  .story, .story.rev{ grid-template-columns: 1fr; gap: 26px; }
  .story.rev .story-media{ order: 1; }
  .story.rev .story-text{ order: 2; }
}
.story-media{ border-radius: var(--radius-lg); overflow:hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.story-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.story-text h3{ font-size: clamp(22px,2.6vw,30px); margin-top:12px; margin-bottom:14px; }
.story-text p{ font-size: 15.5px; line-height:1.7; }
.story-text ul{ list-style:none; margin: 18px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; }
.story-text li{ display:flex; gap:10px; font-size:14px; color: var(--ink-soft); }
.story-text li::before{ content:''; width:6px; height:6px; border-radius:50%; background: var(--accent); margin-top:7px; flex-shrink:0; }

/* Pillar cards (specialty highlight — optional dark variant) */
.pillars{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px){ .pillars{ grid-template-columns: 1fr; } }
.pillar{ background: var(--paper-raised); border-radius: var(--radius-lg); padding: 34px 30px; border:1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.pillar:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar.dark{ background: var(--primary); color:#fff; border-color: transparent; }
.pillar.dark p{ color: rgba(255,255,255,.72); }
.pillar-icon{ width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; background: var(--accent-light); color: var(--accent-dark); }
.pillar.dark .pillar-icon{ background: rgba(255,255,255,.14); color:#fff; }
.pillar h3{ font-size:22px; margin-bottom:12px; }
.pillar ul{ list-style:none; margin:18px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; }
.pillar li{ display:flex; gap:10px; font-size:13.5px; align-items:flex-start; color: var(--ink-soft); }
.pillar.dark li{ color: rgba(255,255,255,.85); }
.pillar li::before{ content:''; width:6px; height:6px; border-radius:50%; background: var(--accent); margin-top:7px; flex-shrink:0; }

/* ---------- Ambient background system (blobs + grain) ---------- */
.ambient{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.blob{ position:absolute; border-radius:50%; filter: blur(60px); opacity:.3; }
.blob1{ width:520px; height:520px; background: var(--primary-light); top:-120px; right:-140px; animation: drift1 26s ease-in-out infinite; }
.blob2{ width:420px; height:420px; background: var(--accent-light); top:60vh; left:-160px; animation: drift2 32s ease-in-out infinite; }
.blob3{ width:360px; height:360px; background: var(--paper-3); top:120vh; right:-100px; animation: drift1 22s ease-in-out infinite reverse; }
@keyframes drift1{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(-40px,50px) scale(1.08); } }
@keyframes drift2{ 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(50px,-30px) scale(.95); } }
.grain{ position:fixed; inset:0; z-index:1; pointer-events:none; opacity:.045; mix-blend-mode: multiply; }
@media (prefers-reduced-motion: reduce){ .blob{ animation: none; } }

/* ---------- Ink-trail scroll signature ---------- */
#motion-line{ position:fixed; top:0; left:0; height:100vh; width:100vw; pointer-events:none; z-index:1; display:none; }
#motion-line svg{ width:100%; height:100%; }
#motion-path{ fill:none; stroke: var(--sage); stroke-width:2.5; opacity:.22; stroke-linecap:round; }
#motion-dot{ fill: var(--accent); }
@media (min-width: 720px){ #motion-line{ display:block; } }
@media (prefers-reduced-motion: reduce){ #motion-line{ display:none; } }

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta{ display:none; }
@media (max-width: 760px){
  .sticky-cta.show{
    display:flex; position:fixed; bottom:0; left:0; right:0; z-index:70;
    background: var(--paper-raised); border-top:1px solid var(--line);
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px -8px rgba(46,42,30,.18); gap:10px; align-items:center;
  }
  .sticky-cta .info{ flex:1; min-width:0; }
  .sticky-cta .info strong{ display:block; font-size:13px; font-family: var(--font-display); }
  .sticky-cta .info span{ display:block; font-size:11px; color: var(--ink-soft); }
  .sticky-cta a{ flex-shrink:0; }
  body.has-sticky-cta{ padding-bottom:74px; }
}

/* Reveal animation */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }

/* Misc */
.divider{ height:1px; background: var(--line); margin: 60px 0; }
.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
@media (max-width: 860px){ .two-col{ grid-template-columns: 1fr; gap: 30px; } }
.tag-list{ display:flex; flex-wrap:wrap; gap:10px; }
.skip-link{ position:absolute; left:-999px; top:0; background:var(--primary); color:#fff; padding:10px 16px; border-radius: 0 0 8px 0; z-index:200; }
.skip-link:focus{ left:0; }
