/* ==========================================================================
   Therese Voelker Physical Therapy — voelkerpt.com
   Design system + global styles. Warm-neutral, calm, editorial.
   Headings: Libre Baskerville (serif).  Body: Mulish (sans).
   ========================================================================== */

:root {
  /* Palette — sampled from the brand logo (warm bronze + charcoal) */
  --cream:       #faf8f3;
  --sand:        #f1ebe0;
  --sand-deep:   #e7dfd0;
  --bronze:      #7a684c;
  --bronze-deep: #5c4f3a;
  --bronze-soft: #9a8867;
  --ink:         #2c2b26;
  --muted:       #6f675a;
  --line:        #e3dcce;
  --white:       #ffffff;

  --font-head: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --shadow: 0 1px 2px rgba(44, 43, 38, .04), 0 8px 28px rgba(44, 43, 38, .06);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--bronze); }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; color: var(--ink); letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--bronze);
  margin-bottom: 1rem;
}
.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--muted); line-height: 1.6; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.measure { max-width: 60ch; }
.measure.center { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .95rem 2rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: all .25s var(--ease); line-height: 1;
}
.btn--primary { background: var(--bronze); color: var(--white); }
.btn--primary:hover { background: var(--bronze-deep); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--light:hover { background: var(--white); color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, .9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 1px 12px rgba(44,43,38,.05); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding-block: 1rem; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img { width: auto; height: 46px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name .n1 { font-family: var(--font-head); font-size: 1.18rem; color: var(--ink); letter-spacing: .01em; }
.brand-name .n2 { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); font-weight: 700; margin-top: 2px; }
@media (max-width: 420px) { .brand-name .n1 { font-size: 1.02rem; } .brand img { height: 40px; } }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.nav-links a {
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); padding-block: .25rem; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--bronze); transition: width .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--bronze); }
.nav-links .btn { padding: .7rem 1.4rem; color: var(--white); }
.nav-links .btn:hover { color: var(--white); }
.nav-links .btn::after { display: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: .5rem;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem;
    transform: translateY(-120%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { width: 100%; padding-block: 1rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links li:last-child { width: 100%; padding-top: 1.25rem; }
  .nav-links .btn { width: 100%; justify-content: center; }
  .nav-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open span:nth-child(2) { opacity: 0; }
  .nav-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero--home { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: min(82vh, 720px); }
.hero-copy { padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); max-width: 640px; margin-left: auto; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-media { position: relative; height: 100%; min-height: 340px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
@media (max-width: 860px) {
  .hero--home { grid-template-columns: 1fr; }
  .hero-media { order: -1; min-height: 50vw; }
  .hero-copy { margin: 0; padding-block: 3rem; }
}

/* Page banner (inner pages) */
.page-banner { position: relative; padding-block: clamp(3.5rem, 9vw, 6.5rem); text-align: center; color: var(--white); overflow: hidden; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(44, 43, 38, .42); z-index: 1; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); }
.page-banner .eyebrow { color: rgba(255,255,255,.85); }
.page-banner p { color: rgba(255,255,255,.92); margin-bottom: 0; }

/* ==========================================================================
   Components
   ========================================================================== */
.section-head { max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; }

/* Feature / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--flip .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--flip .split-media { order: 0; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.25rem 2rem; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .card-icon { width: 44px; height: 44px; color: var(--bronze); margin-bottom: 1.25rem; }
.card h3 { margin-bottom: .75rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .note { font-size: .85rem; font-style: italic; color: var(--bronze-soft); margin-top: 1rem; }

/* Pricing list */
.price-list { display: grid; gap: 1.25rem; }
.price-item {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: baseline;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 2rem;
}
.price-item h3 { margin-bottom: .4rem; }
.price-item p { color: var(--muted); margin-bottom: 0; }
.price-item .price { font-family: var(--font-head); font-size: 1.8rem; color: var(--bronze); white-space: nowrap; }
.price-item .note { grid-column: 1 / -1; font-size: .85rem; font-style: italic; color: var(--bronze-soft); margin: 0; }
@media (max-width: 540px) {
  .price-item { grid-template-columns: 1fr; }
  .price-item .price { grid-row: 1; justify-self: start; }
}

/* Definition lists (education / certs) */
.stack-list { display: grid; gap: .65rem; }
.stack-list li { padding-left: 1.5rem; position: relative; color: var(--muted); }
.stack-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; background: var(--bronze-soft); border-radius: 50%; }
.cred-group { margin-bottom: 2rem; }
.cred-group h4 { color: var(--bronze); text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-body); font-weight: 700; font-size: .8rem; margin-bottom: .9rem; }

/* Info / contact grid */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.info-block h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--bronze); margin-bottom: .6rem; }
.info-block p, .info-block a { color: var(--muted); margin-bottom: .2rem; display: block; }

/* Forms */
.form { display: grid; gap: 1.25rem; max-width: 640px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(122, 104, 76, .14);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: .9rem; color: var(--muted); }

/* Callout / notice */
.notice {
  background: var(--sand); border: 1px solid var(--sand-deep); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; color: var(--muted); font-size: .95rem;
}
.notice strong { color: var(--ink); }

/* Booking placeholder */
.booking-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4rem); text-align: center; max-width: 720px; margin-inline: auto;
  box-shadow: var(--shadow);
}
.booking-card h2 { margin-bottom: 1rem; }
.booking-card .lead { margin-bottom: 2rem; }
.booking-contact { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.booking-contact a { font-weight: 700; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #cfc8ba; padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; margin-bottom: 1rem; }
.site-footer a { color: #cfc8ba; }
.site-footer a:hover { color: var(--white); }
.footer-brand .footer-logo { height: 56px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand .footer-wordmark { font-family: var(--font-head); font-size: 1.3rem; color: var(--white); margin-bottom: .25rem; }
.footer-brand p { color: #a9a193; font-size: .95rem; max-width: 34ch; }
.footer-apta { margin-top: 1.25rem; background: rgba(255,255,255,.92); border-radius: var(--radius); padding: .5rem .75rem; display: inline-block; }
.footer-apta img { height: 48px; width: auto; }
.footer-contact p, .footer-contact a { display: block; color: #cfc8ba; font-size: .95rem; margin-bottom: .25rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .82rem; color: #8d8576; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ==========================================================================
   Motion — gentle reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: .75rem 1.25rem; z-index: 100; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 0; color: var(--white); }
