/* ===========================================================
   Olomana Mobile Physical Therapy — Design System
   Signature motif: the three peaks of Olomana, traced as a thin
   line wherever a divider, bullet, or watermark is needed —
   a visual echo of the mountain the practice is named for.
   =========================================================== */

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

:root{
  /* --- color: ocean, ridge, sand, hibiscus --- */
  --ink:        #16302B;
  --teal-900:   #123634;
  --teal-800:   #1B4744;
  --teal-700:   #275C57;
  --moss-600:   #4F7A5D;
  --moss-500:   #6C9376;
  --sand-100:   #F4EFE3;
  --sand-50:    #FBF8F1;
  --paper:      #FFFFFE;
  --hibiscus:   #B54B62;
  --hibiscus-d: #973D51;
  --gold:       #C79A46;
  --line:       rgba(22,48,43,0.14);
  --line-soft:  rgba(22,48,43,0.08);

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --maxw: 1180px;
  --radius: 4px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; color: var(--teal-900); }
p{ margin: 0 0 1em; }
.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

:focus-visible{ outline: 2px solid var(--hibiscus); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hibiscus-d);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow .peak{ width: 14px; height: 10px; }

/* ---------- three-peaks signature graphic ---------- */
.peaks-divider{
  width: 100%;
  height: 34px;
  display: block;
  color: var(--line);
}
.peaks-divider path{ fill:none; stroke: currentColor; stroke-width: 1.4; }
.peaks-divider.on-dark{ color: rgba(244,239,227,0.22); }

/* ---------- header / nav ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(251,248,241,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  max-width: var(--maxw); margin:0 auto; padding: 14px 28px;
  display:flex; align-items:center; justify-content:space-between; gap: 20px;
}
.brand{ display:flex; align-items:center; gap:12px; min-width:0; }
.brand img{ height:54px; width:auto; flex-shrink:0; border-radius: 50%; }
.brand-text{ display:flex; flex-direction:column; line-height:1.2; }
.brand-text .name{ font-family: var(--font-display); font-size: 23px; color: var(--teal-900); font-weight:600; white-space:nowrap; }
.brand-text .loc{ font-family: var(--font-mono); font-size: 11px; letter-spacing:.03em; color: var(--moss-600); }

.main-nav{ display:flex; align-items:center; gap: 30px; }
.main-nav ul{ display:flex; gap: 26px; }
.main-nav ul li{ flex-shrink: 0; }
.main-nav a{
  font-size: 14.5px; font-weight:500; color: var(--ink);
  position:relative; padding: 4px 0;
}
.main-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1.5px;
  background: var(--hibiscus); transition: right .22s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{ right:0; }
.main-nav a.active{ color: var(--hibiscus-d); }
.mobile-nav-cta{ display:none; }
.nav-backdrop{ display:none; }

.header-cta{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.phone-link{ font-family: var(--font-mono); font-size: 14px; white-space:nowrap; }
.phone-link strong{ color: var(--teal-900); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family: var(--font-body); font-weight:600; font-size: 14px;
  padding: 12px 22px; border-radius: var(--radius);
  border: 1px solid transparent; cursor:pointer; white-space:nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn-primary{ background: var(--hibiscus); color: var(--sand-50); }
.btn-primary:hover{ background: var(--hibiscus-d); transform: translateY(-1px); }
.btn-outline{ background:transparent; border-color: var(--teal-800); color: var(--teal-800); }
.btn-outline:hover{ background: var(--teal-800); color: var(--sand-50); }
.btn-ghost-dark{ background: transparent; border-color: rgba(244,239,227,0.4); color: var(--sand-100); }
.btn-ghost-dark:hover{ background: rgba(244,239,227,0.12); }
.btn-sm{ padding: 9px 16px; font-size: 13px; }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--teal-900); margin:5px 0; }

/* ---------- hero ---------- */
.hero{
  position: relative;
  background: linear-gradient(180deg, var(--teal-900) 0%, var(--teal-800) 62%, var(--teal-700) 100%);
  color: var(--sand-100);
  overflow: hidden;
}
.hero-inner{
  max-width: var(--maxw); margin:0 auto; padding: 88px 28px 96px;
  display:grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items:center;
  position:relative; z-index:2;
}
.hero-ridge{
  position:absolute; left:0; right:0; bottom:-2px; z-index:1;
  width:100%; height:auto; color: rgba(244,239,227,0.08);
}
.hero-ridge path{ fill: currentColor; }
.hero h1{ color: var(--sand-50); font-size: clamp(34px, 4.6vw, 56px); font-weight: 500; margin-bottom: 20px; }
.hero .eyebrow{ font-size: 15.5px; }
.hero h1 em{ font-style: italic; color: var(--gold); font-weight: 500; }
.hero p.lede{ font-size: 18px; color: rgba(251,248,241,0.86); max-width: 46ch; margin-bottom: 30px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-photo{ position:relative; }
.hero-photo img{ width:100%; height: 420px; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); }
.hero-photo .tag{
  position:absolute; left:-18px; bottom:-18px; background: var(--sand-50); color: var(--teal-900);
  padding: 14px 18px; border-radius: 4px; box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  font-family: var(--font-mono); font-size: 12.5px; max-width: 220px; line-height:1.5;
}

/* ---------- highlight strip ---------- */
.strip{
  background: var(--sand-100); border-bottom: 1px solid var(--line);
}
.strip-inner{
  max-width: var(--maxw); margin:0 auto; padding: 22px 28px;
  display:grid; grid-template-columns: repeat(4,1fr); gap: 18px;
}
.strip-item{ display:flex; align-items:center; gap:10px; font-size: 13.5px; color: var(--teal-800); font-weight:600; }
.strip-item svg{ width:18px; height:18px; flex-shrink:0; color: var(--moss-600); }

/* ---------- sections ---------- */
section{ padding: 84px 0; }
.section-alt{ background: var(--sand-100); }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head p{ color: var(--teal-700); font-size: 16.5px; }

/* ---------- grid cards ---------- */
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card{
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 6px;
  padding: 30px 28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(22,48,43,0.28); border-color: var(--line); }
.card .peak-badge{ width:30px; height:22px; color: var(--hibiscus); margin-bottom: 16px; }
.card h3{ font-size: 20px; margin-bottom: 10px; }
.card p{ color: var(--teal-700); font-size: 15px; margin-bottom: 0; }

.list-peaks li{
  display:flex; gap:12px; align-items:flex-start; padding: 10px 0;
  border-bottom: 1px solid var(--line-soft); font-size: 15.5px;
}
.list-peaks li:last-child{ border-bottom:none; }
.list-peaks svg{ width:14px; height:12px; margin-top:6px; flex-shrink:0; color: var(--hibiscus); }

/* ---------- accordion (shockwave explainer, etc.) ---------- */
.accordion{ background: var(--paper); border: 1px solid var(--line-soft); border-radius: 6px; overflow:hidden; }
.accordion + .accordion{ margin-top: 16px; }
.accordion summary{
  cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding: 24px 28px;
}
.accordion summary::-webkit-details-marker{ display:none; }
.accordion summary h3{ margin: 4px 0 0; font-size: 21px; }
.accordion summary .chevron{ width:22px; height:22px; flex-shrink:0; color: var(--hibiscus); transition: transform .2s ease; }
.accordion[open] summary .chevron{ transform: rotate(180deg); }
.accordion-body{ padding: 0 28px 32px; color: var(--teal-800); font-size: 15.5px; border-top: 1px solid var(--line-soft); margin-top: 2px; }
.accordion-body h4{
  font-family: var(--font-body); font-weight:700; font-size: 13px; text-transform:uppercase;
  letter-spacing:.05em; color: var(--hibiscus-d); margin: 26px 0 12px;
}
.accordion-body h4:first-of-type{ margin-top: 24px; }
.accordion-body p{ margin: 0 0 14px; }
.accordion-body ul{ margin: 0 0 14px; }
.accordion-body li{ padding: 6px 0 6px 22px; position:relative; }
.accordion-body li::before{ content:""; position:absolute; left:2px; top:15px; width:7px; height:7px; background: var(--moss-500); border-radius:50%; }
.badge-unique{
  display:block; margin-top: 18px; padding: 14px 18px; background: var(--sand-100);
  border-left: 3px solid var(--hibiscus); border-radius: 4px; font-size: 14.5px; color: var(--teal-900); font-weight:500;
}

/* ---------- about preview / bio ---------- */
.bio-grid{ display:grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items:center; }
.treat-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:center; }
.treat-grid img{ width:100%; height: 400px; object-fit: cover; border-radius: 6px; }
.bio-photo{ position:relative; }
.bio-photo img{ width:100%; border-radius: 6px; }
.bio-photo .credential{
  position:absolute; right:-16px; bottom:-16px; background: var(--teal-900); color: var(--sand-100);
  padding: 14px 20px; border-radius: 4px; font-family: var(--font-mono); font-size: 12px; max-width: 200px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}
.bio-copy h3{ font-size: 28px; }
.bio-copy p{ color: var(--teal-800); font-size: 15.5px; }

/* ---------- testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi{
  background: var(--paper); border-left: 3px solid var(--hibiscus); border-radius: 4px;
  padding: 28px 26px; box-shadow: 0 10px 30px -20px rgba(22,48,43,0.3);
}
.testi p{ font-family: var(--font-display); font-style: italic; font-size: 16.5px; color: var(--teal-900); margin-bottom: 16px; }
.testi cite{ font-family: var(--font-mono); font-size: 12.5px; color: var(--moss-600); font-style:normal; }

/* ---------- pricing ---------- */
.price-table{ width:100%; border-collapse: collapse; background: var(--paper); border-radius: 6px; overflow:hidden; border:1px solid var(--line-soft); }
.price-table th, .price-table td{ padding: 16px 22px; text-align:left; border-bottom: 1px solid var(--line-soft); }
.price-table th{ font-family: var(--font-mono); font-size: 12px; letter-spacing:.08em; text-transform:uppercase; color: var(--moss-600); background: var(--sand-100); }
.price-table td.amount{ font-family: var(--font-mono); font-weight:700; color: var(--hibiscus-d); white-space:nowrap; text-align:right; }
.price-table tr:last-child td{ border-bottom:none; }
.price-note{ font-size: 13.5px; color: var(--teal-700); margin-top: 14px; }
.price-pack{
  background: var(--teal-900); color: var(--sand-100); border-radius: 6px; padding: 30px 28px;
  display:flex; flex-direction:column; gap: 6px;
}
.price-pack .amount{ font-family: var(--font-mono); font-size: 30px; color: var(--gold); }
.price-pack h4{ font-family: var(--font-display); color: var(--sand-50); font-size: 19px; margin: 0; }
.price-pack p{ color: rgba(244,239,227,0.75); font-size: 13.5px; margin: 4px 0 0; }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--teal-900); color: var(--sand-100); text-align:center;
  padding: 70px 28px; border-radius: 8px; margin: 0 28px;
}
.cta-band h2{ color: var(--sand-50); }
.cta-band p{ color: rgba(244,239,227,0.8); max-width: 50ch; margin: 0 auto 26px; }
.cta-band .btns{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- footer ---------- */
footer{ background: var(--teal-900); color: var(--sand-100); padding: 60px 0 26px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom: 16px; }
.footer-brand img{ height: 46px; border-radius: 50%; background: var(--sand-50); }
.footer-brand .name{ font-family: var(--font-display); font-size:17px; color: var(--sand-50); }
footer p{ color: rgba(244,239,227,0.65); font-size: 14px; }
footer h5{ font-family: var(--font-mono); font-size: 12px; letter-spacing:.1em; text-transform:uppercase; color: var(--gold); margin: 0 0 16px; }
footer ul li{ margin-bottom: 10px; }
footer ul a{ color: rgba(244,239,227,0.8); font-size: 14.5px; }
footer ul a:hover{ color: var(--sand-50); }
.footer-bottom{ border-top: 1px solid rgba(244,239,227,0.14); padding-top: 22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size: 12.5px; color: rgba(244,239,227,0.55); }

/* ---------- page hero (interior pages) ---------- */
.page-hero{ background: var(--teal-900); color: var(--sand-100); padding: 64px 0 46px; position:relative; overflow:hidden; }
.page-hero .wrap{ position:relative; z-index:2; }
.page-hero h1{ color: var(--sand-50); font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.page-hero p{ color: rgba(244,239,227,0.8); font-size: 17px; max-width: 60ch; margin:0; }
.breadcrumb{ font-family: var(--font-mono); font-size: 12px; color: var(--gold); letter-spacing:.06em; margin-bottom: 16px; }

.page-hero.with-media .wrap{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items:center; }
.page-hero-media{ position:relative; }
.page-hero-media img{ width:100%; height: 300px; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 50px -18px rgba(0,0,0,0.5); }

/* ---------- photo trio ---------- */
.photo-trio{ display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.photo-trio figure{ margin:0; }
.photo-trio img{ width:100%; height: 220px; object-fit: cover; border-radius: 6px; }
.photo-trio figcaption{ font-family: var(--font-mono); font-size: 12px; letter-spacing:.04em; color: var(--moss-600); margin-top: 10px; }

/* ---------- contact page ---------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items:start; }
.contact-card{ background: var(--paper); border:1px solid var(--line-soft); border-radius:6px; padding:34px; }
.field{ margin-bottom: 18px; }
.field label{ display:block; font-size: 13px; font-weight:600; color: var(--teal-800); margin-bottom:6px; }
.field input, .field textarea, .field select{
  width:100%; padding: 12px 14px; border:1px solid var(--line); border-radius:4px;
  font-family: var(--font-body); font-size:14.5px; background: var(--sand-50); color: var(--ink);
}
.field textarea{ resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus{ outline:2px solid var(--hibiscus); outline-offset:1px; border-color: var(--hibiscus); }

.info-row{ display:flex; gap:16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.info-row:last-child{ border-bottom:none; }
.info-row svg{ width:22px; height:22px; color: var(--hibiscus); flex-shrink:0; margin-top:2px; }
.info-row h4{ font-size: 15.5px; margin:0 0 4px; font-family: var(--font-body); font-weight:600; color: var(--teal-900); }
.info-row p{ margin:0; font-size: 14.5px; color: var(--teal-700); }

/* ---------- what we treat page ---------- */
.condition-row{ display:grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 26px 0; border-bottom:1px solid var(--line-soft); }
.condition-row:first-of-type{ border-top: 1px solid var(--line-soft); }
.condition-num{ font-family: var(--font-mono); color: var(--hibiscus); font-size: 14px; padding-top:4px; }
.condition-row h3{ font-size: 21px; margin-bottom: 8px; }
.condition-row p{ color: var(--teal-700); margin-bottom:0; font-size: 15.5px; }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; padding-top: 60px; }
  .hero-photo{ order:-1; }
  .hero-photo img{ height: 300px; }
  .bio-grid{ grid-template-columns: 1fr; }
  .treat-grid{ grid-template-columns: 1fr; }
  .grid-3, .testi-grid{ grid-template-columns: 1fr 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .strip-inner{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .main-nav ul{ gap: 20px; }
  .page-hero.with-media .wrap{ grid-template-columns: 1fr; }
  .page-hero-media{ order:-1; }
  .photo-trio{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .nav-break{ display: none; }
  .header-inner{ padding: 12px 20px; gap: 10px; }
  .brand{ gap: 8px; }
  .brand img{ height: 40px; }
  .brand-text .name{ font-size: 17px; white-space: normal; }
  .brand-text .loc{ font-size: 9px; }
  .main-nav{ position: fixed; top: 66px; right: 0; left: auto; width: min(86vw, 320px);
    max-height: calc(100vh - 82px);
    background: var(--sand-50); flex-direction:column; align-items:flex-start;
    padding: 20px 24px 24px; border-radius: 0 0 0 14px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    overflow-y: auto; z-index: 200; box-shadow: -8px 12px 34px rgba(15,30,27,0.22); }
  .main-nav.open{ opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease; }
  .nav-backdrop{ display:block; position:fixed; top:66px; right:0; bottom:0; left:0; background:rgba(15,30,27,0.4);
    opacity:0; pointer-events:none; transition: opacity .2s ease; z-index:90; }
  body.nav-open .nav-backdrop{ opacity:1; pointer-events:auto; }
  .main-nav ul{ flex-direction:column; width:100%; gap:0; }
  .main-nav ul li{ margin-bottom: 0; text-align:left; width:100%; }
  .main-nav ul a{ display:block; padding: 12px 0; font-size:15.5px; border-bottom:1px solid var(--line-soft); }
  .mobile-nav-cta{ display:none; }
  .main-nav .mobile-nav-cta{
    display:flex; flex-direction:column; gap: 10px;
    margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); width: 100%;
  }
  .mobile-nav-cta .btn{ width: 100%; text-align:center; }
  .header-cta{ gap: 0; }
  .header-cta .btn-outline{ display:none; }
  .header-cta .btn-primary{ display:none; }
  .nav-toggle{ display:block; }
  .grid-3, .testi-grid{ grid-template-columns: 1fr; }
  .strip-inner{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap:28px; }
  section{ padding: 56px 0; }
  .phone-link{ display:none; }
  .photo-trio{ grid-template-columns: 1fr; }
  .page-hero-media img{ height: 220px; }
}
