/* ==========================================================================
   Kinnect Physiotherapy — "Range of Motion"
   Hand-built stylesheet. No frameworks.
   Palette: Canopy #14261C · Pine #16301F · Fern #2F6B45 · Volt #8FD14F ·
            Volt-hi #B7F06B · Bone #F4F6EF · Mist #E4EDDD
   Type: Bricolage Grotesque (display) + Archivo (body)
   ========================================================================== */

:root {
  --canopy: #14261c;
  --pine:   #16301f;
  --forest: #1d3d29;
  --fern:   #2f6b45;
  --moss:   #4b8a5c;
  --volt:   #8fd14f;
  --volt-hi:#b7f06b;
  --bone:   #f4f6ef;
  --paper:  #fbfcf8;
  --chalk:  #ffffff;
  --mist:   #e4eddd;
  --ink:    #14261c;
  --muted:  #4d5b4f;
  --muted-2:#6f7d70;
  --line:   rgba(20, 38, 28, 0.12);
  --line-strong: rgba(20, 38, 28, 0.22);
  --amber:  #e8b04b;

  /* on-dark */
  --d-text: #eaf1e3;
  --d-muted: #a6bcaa;
  --d-line: rgba(230, 240, 220, 0.16);

  --font-display: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 2px 8px rgba(20, 38, 28, 0.06);
  --shadow-md: 0 18px 40px -24px rgba(20, 38, 28, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(20, 38, 28, 0.45);
  --glow: 0 12px 34px -12px rgba(143, 209, 79, 0.55);

  --radius: 18px;
  --radius-lg: 28px;
  --arc: 190px; /* the signature range-of-motion corner */

  --wrap: 1200px;
  --gutter: clamp(1.2rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------ Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--fern); outline-offset: 3px; border-radius: 4px; }

/* ------------------------- Skip link ----------------------------------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--canopy); color: var(--bone);
  padding: 0.7rem 1.1rem; border-radius: 10px; z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ------------------------- Layout helpers ------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--dark { background: var(--canopy); color: var(--d-text); }
.section--pine { background: var(--pine); color: var(--d-text); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fern);
}
.section--dark .eyebrow, .section--pine .eyebrow { color: var(--volt); }
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor; display: inline-block; opacity: 0.7;
}

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  margin-top: 0.9rem;
}
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
.section--dark .section-head p, .section--pine .section-head p { color: var(--d-muted); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }

/* the signature arc-cut media shape */
.arc-media {
  border-radius: var(--arc) var(--radius-lg) var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.arc-media img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------- Buttons ----------------------------------- */
.btn {
  --btn-pad-y: 0.9rem; --btn-pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  border-radius: 999px; border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease),
              box-shadow 0.35s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--volt); color: var(--canopy); box-shadow: var(--glow); }
.btn--primary:hover { background: var(--volt-hi); transform: translateY(-3px); box-shadow: 0 18px 42px -14px rgba(143,209,79,0.7); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--fern); background: rgba(47,107,69,0.06); transform: translateY(-3px); }
.btn--on-dark { border-color: var(--d-line); color: var(--d-text); background: rgba(255,255,255,0.02); }
.btn--on-dark:hover { border-color: var(--volt); color: #fff; transform: translateY(-3px); }
.btn--wa { border-color: var(--line-strong); color: var(--ink); background: var(--chalk); }
.btn--wa:hover { border-color: var(--fern); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--fern);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.textlink:hover { border-color: currentColor; gap: 0.65rem; }
.section--dark .textlink, .section--pine .textlink { color: var(--volt); }

/* ---------------------------- Header ----------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 246, 239, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--canopy); }
.brand__mark { flex: none; width: 34px; height: 34px; }
.brand small { display:block; font-family: var(--font-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fern); margin-top: -2px; }

.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__links a {
  padding: 0.5rem 0.85rem; border-radius: 999px; font-weight: 500; font-size: 0.95rem; color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__links a:hover { color: var(--canopy); background: rgba(20,38,28,0.05); }
.nav__actions { display: flex; align-items: center; gap: 0.6rem; }
.nav__phone { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--canopy); font-size: 0.95rem; }
.nav__phone svg { width: 1rem; height: 1rem; color: var(--fern); }

.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--chalk); position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: var(--canopy);
  transform: translate(-50%, -50%); transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); border-radius: 2px;
}
.nav__toggle span::before { transform: translate(-50%, -8px); }
.nav__toggle span::after  { transform: translate(-50%, 6px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* -------------------------- Mobile nav --------------------------------- */
@media (max-width: 940px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: block; }
  .nav__cta-desktop { display: none; }

  .mobile-nav {
    position: fixed; inset: 74px 0 0 0; z-index: 90;
    background: var(--canopy); color: var(--d-text);
    padding: 2rem var(--gutter) 3rem;
    display: flex; flex-direction: column; gap: 0.4rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    overflow-y: auto;
  }
  .mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-nav a.m-link {
    font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
    padding: 0.7rem 0; border-bottom: 1px solid var(--d-line); color: var(--d-text);
    display: flex; align-items: center; justify-content: space-between;
  }
  .mobile-nav a.m-link span { color: var(--volt); font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; }
  .mobile-nav .btn { margin-top: 1.4rem; }
  .mobile-nav .m-contact { margin-top: 1.4rem; color: var(--d-muted); font-size: 0.95rem; }
  .mobile-nav .m-contact a { color: var(--volt); font-weight: 600; }
}
@media (min-width: 941px) { .mobile-nav { display: none; } }

/* ---------------------------- Hero ------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--canopy); color: var(--d-text);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__bg::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -320px;
  background: radial-gradient(closest-side, rgba(143,209,79,0.18), rgba(143,209,79,0) 70%);
}
.hero__arcs { position: absolute; right: -8%; top: -6%; width: min(760px, 70%); height: auto; opacity: 0.5; color: var(--volt); }
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
}
.hero__intro { max-width: 40ch; }
.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.3rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 0.96;
  margin: 1.1rem 0 0;
}
.hero h1 em { font-style: normal; color: var(--volt); position: relative; }
.hero h1 .sweep { display: inline-block; }
.hero__lead { margin-top: 1.4rem; font-size: clamp(1.08rem, 1.7vw, 1.32rem); color: var(--d-muted); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; }
.hero__meta div { min-width: 90px; }
.hero__meta dt { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--volt); line-height: 1; }
.hero__meta dd { margin: 0.35rem 0 0; font-size: 0.82rem; color: var(--d-muted); letter-spacing: 0.02em; }

.hero__media { position: relative; }
.hero__media .arc-media { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); border: 1px solid var(--d-line); }
.hero__media .arc-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,38,28,0) 45%, rgba(20,38,28,0.55) 100%);
}

/* live range-of-motion gauge — the signature */
.rom-gauge {
  position: absolute; left: -22px; bottom: 26px; z-index: 3;
  background: rgba(22, 48, 31, 0.72); border: 1px solid var(--d-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 18px; padding: 0.9rem 1rem 0.85rem;
  width: 190px; box-shadow: var(--shadow-lg);
}
.rom-gauge__label { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--d-muted); font-weight: 600; }
.rom-gauge__svg { width: 100%; height: auto; margin-top: 0.35rem; display: block; }
.rom-gauge__foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 0.35rem; }
.rom-gauge__foot b { font-family: var(--font-display); color: var(--volt); font-size: 1.35rem; font-weight: 700; }
.rom-gauge__foot span { font-size: 0.72rem; color: var(--d-muted); }

.gauge-needle { transform-origin: 100px 92px; animation: sweep 5.5s var(--ease) infinite alternate; }
@keyframes sweep {
  0%   { transform: rotate(-72deg); }
  100% { transform: rotate(-6deg); }
}

.path-chip {
  position: absolute; right: -14px; top: 26px; z-index: 3;
  background: var(--volt); color: var(--canopy);
  border-radius: 14px; padding: 0.6rem 0.9rem; box-shadow: var(--glow);
  font-weight: 600; font-size: 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}
.path-chip svg { width: 1rem; height: 1rem; }

/* --------------------------- Marquee / trust --------------------------- */
.trust { background: var(--pine); color: var(--d-text); border-top: 1px solid var(--d-line); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.4rem; padding-block: 1.4rem; }
.trust__item { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; color: var(--d-text); }
.trust__item svg { width: 1.1rem; height: 1.1rem; color: var(--volt); flex: none; }
.trust__item + .trust__item { position: relative; }

/* --------------------------- Services ---------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 1.8rem); }
.svc-card {
  background: var(--chalk); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__deg {
  position: absolute; left: 14px; top: 14px;
  background: rgba(20,38,28,0.62); color: var(--volt); border: 1px solid var(--d-line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  padding: 0.3rem 0.6rem; border-radius: 999px;
}
.svc-card__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.svc-card__body h3 { font-size: 1.4rem; }
.svc-card__body p { margin-top: 0.6rem; color: var(--muted); font-size: 0.98rem; }
.svc-card__list { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.svc-card__list li {
  font-size: 0.8rem; font-weight: 500; color: var(--fern);
  background: var(--mist); padding: 0.3rem 0.65rem; border-radius: 999px;
}
.svc-card__foot { margin-top: auto; padding-top: 1.3rem; }

/* -------------------------- Recovery path ------------------------------ */
.path { background: var(--bone); }
.path__curve { width: 100%; height: auto; display: block; margin-bottom: -6px; color: var(--fern); }
.path__curve path.draw {
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1.8s var(--ease);
}
.path__curve.is-drawn path.draw { stroke-dashoffset: 0; }

.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin-top: 1.5rem; }
.path-step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem; position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.path-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.path-step__top { display: flex; align-items: center; justify-content: space-between; }
.path-step__no { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--mist); line-height: 1; -webkit-text-stroke: 1px var(--moss); color: transparent; }
.path-step__deg {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--canopy);
  background: var(--volt); padding: 0.25rem 0.6rem; border-radius: 999px;
}
.path-step h3 { font-size: 1.25rem; margin-top: 1rem; }
.path-step p { margin-top: 0.5rem; color: var(--muted); font-size: 0.94rem; }
.path-step__rom { margin-top: 1rem; font-size: 0.78rem; color: var(--muted-2); letter-spacing: 0.02em; }

/* --------------------------- Approach band ----------------------------- */
.approach__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.approach__media { position: relative; }
.approach__media .arc-media { aspect-ratio: 5 / 6; box-shadow: var(--shadow-lg); border: 1px solid var(--d-line); }
.approach__media .tag {
  position: absolute; right: -16px; bottom: 28px; background: var(--volt); color: var(--canopy);
  padding: 0.85rem 1.1rem; border-radius: 16px; font-weight: 700; box-shadow: var(--glow); max-width: 220px; line-height: 1.2;
  font-family: var(--font-display);
}
.principles { margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.principle { display: flex; gap: 1rem; align-items: flex-start; }
.principle__ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(143,209,79,0.14); border: 1px solid var(--d-line); display: grid; place-items: center; color: var(--volt); }
.principle__ic svg { width: 1.3rem; height: 1.3rem; }
.principle h3 { font-size: 1.12rem; color: var(--d-text); }
.principle p { margin-top: 0.3rem; color: var(--d-muted); font-size: 0.96rem; }

/* ----------------------------- Physios --------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.physio {
  background: var(--chalk); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.physio:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.physio__mono {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--pine); color: var(--volt);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.physio h3 { font-size: 1.16rem; margin-top: 1.1rem; }
.physio__role { color: var(--fern); font-weight: 600; font-size: 0.85rem; margin-top: 0.25rem; }
.physio__bio { margin-top: 0.8rem; color: var(--muted); font-size: 0.9rem; }
.physio__tag { display: inline-block; margin-top: 1rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted-2); text-transform: uppercase; }

/* ------------------------------- FAQ ----------------------------------- */
.faq { display: grid; gap: 0.8rem; max-width: 820px; }
.faq details {
  background: var(--chalk); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.4rem 1.3rem; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq details[open] { border-color: var(--moss); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--canopy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 26px; height: 26px; position: relative; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--fern); border-radius: 2px;
  transform: translate(-50%, -50%); transition: transform 0.3s var(--ease);
}
.faq summary .plus::before { width: 14px; height: 2px; }
.faq summary .plus::after  { width: 2px; height: 14px; }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq details p { padding: 0 0 1.1rem; color: var(--muted); font-size: 0.98rem; max-width: 65ch; }

/* ------------------------------ CTA band ------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--canopy); color: var(--d-text); }
.cta-band__arcs { position: absolute; left: -6%; bottom: -40%; width: min(620px, 60%); color: var(--fern); opacity: 0.4; pointer-events: none; }
.cta-band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cta-band p { margin-top: 1rem; color: var(--d-muted); max-width: 42ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 0.8rem; }
.cta-band__note { margin-top: 0.4rem; font-size: 0.85rem; color: var(--d-muted); display: flex; align-items: center; gap: 0.5rem; }
.cta-band__note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; box-shadow: 0 0 0 4px rgba(232,176,75,0.18); }

/* ------------------------------ Footer --------------------------------- */
.site-footer { background: var(--pine); color: var(--d-text); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; }
.footer-brand .brand { color: var(--bone); }
.footer-brand p { margin-top: 1rem; color: var(--d-muted); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--volt); font-weight: 600; }
.footer-col ul { margin-top: 1rem; display: grid; gap: 0.6rem; }
.footer-col a, .footer-col address { color: var(--d-muted); font-size: 0.95rem; font-style: normal; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--d-text); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--d-line); display: grid; place-items: center; color: var(--d-text); }
.footer-social a:hover { border-color: var(--volt); color: var(--volt); }
.footer-social svg { width: 1.15rem; height: 1.15rem; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid var(--d-line); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; align-items: center; font-size: 0.86rem; color: var(--d-muted); }
.footer-bottom a { color: var(--volt); font-weight: 600; }
.footer-credit { color: var(--d-muted); }
.footer-disclaimer { margin-top: 1rem; font-size: 0.78rem; color: rgba(166,188,170,0.7); max-width: 70ch; }

/* ------------------------------ Forms ---------------------------------- */
.contact-hero { background: var(--canopy); color: var(--d-text); padding-block: clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; }
.contact-hero__arcs { position: absolute; right: -6%; top: -30%; width: min(560px, 55%); color: var(--volt); opacity: 0.4; }
.contact-hero .eyebrow { color: var(--volt); }
.contact-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-top: 0.9rem; max-width: 18ch; }
.contact-hero p { margin-top: 1rem; color: var(--d-muted); max-width: 48ch; font-size: 1.08rem; }

.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.6rem, 3.5vw, 3rem); align-items: start; }

.form-card { background: var(--chalk); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 1.6rem; }
.form-card > p { margin-top: 0.5rem; color: var(--muted); font-size: 0.96rem; }
.form { margin-top: 1.6rem; display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.4rem; }
.field.two { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 560px) { .field.two { grid-template-columns: 1fr; } }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--canopy); }
.field label .req { color: var(--fern); }
.field .hint { font-size: 0.78rem; color: var(--muted-2); }
.input, .select, .textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 12px;
  padding: 0.8rem 0.95rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #9aa79c; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--fern); box-shadow: 0 0 0 4px rgba(47,107,69,0.14); background: var(--chalk); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232f6b45' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; }
.textarea { min-height: 130px; resize: vertical; }
.field .input:invalid:not(:placeholder-shown) { border-color: #c65b52; }
.form__submit { margin-top: 0.3rem; }
.form__consent { font-size: 0.8rem; color: var(--muted-2); margin-top: 0.2rem; }
.form__consent a { color: var(--fern); text-decoration: underline; }

.contact-aside { display: grid; gap: 1rem; }
.aside-card { background: var(--chalk); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; }
.aside-card h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 0.55rem; }
.aside-card h3 svg { width: 1.15rem; height: 1.15rem; color: var(--fern); }
.aside-card p, .aside-card address { margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; font-style: normal; }
.aside-card .big { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--canopy); margin-top: 0.5rem; display: inline-block; }
.aside-card .actions { margin-top: 1rem; display: grid; gap: 0.6rem; }
.hours { margin-top: 0.6rem; display: grid; gap: 0.4rem; }
.hours div { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--muted); border-bottom: 1px dashed var(--line); padding-bottom: 0.4rem; }
.hours div b { color: var(--canopy); font-weight: 600; }
.aside-card--emergency { background: var(--pine); color: var(--d-text); border-color: var(--d-line); }
.aside-card--emergency h3 { color: #fff; }
.aside-card--emergency h3 svg { color: var(--amber); }
.aside-card--emergency p { color: var(--d-muted); }
.aside-card--emergency .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 0.4rem; box-shadow: 0 0 0 4px rgba(232,176,75,0.2); }

/* -------------------------- Thank-you page ----------------------------- */
.ty { min-height: 78vh; display: grid; place-items: center; background: var(--canopy); color: var(--d-text); position: relative; overflow: hidden; padding-block: 4rem; }
.ty__arcs { position: absolute; inset: 0; margin: auto; width: min(900px, 90%); color: var(--fern); opacity: 0.25; pointer-events: none; }
.ty__inner { position: relative; z-index: 2; text-align: center; max-width: 620px; padding-inline: var(--gutter); }
.ty__check { width: 92px; height: 92px; margin: 0 auto 1.6rem; border-radius: 50%; background: var(--volt); color: var(--canopy); display: grid; place-items: center; box-shadow: var(--glow); }
.ty__check svg { width: 46px; height: 46px; }
.ty h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.ty p { margin-top: 1.1rem; color: var(--d-muted); font-size: 1.1rem; }
.ty__next { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.ty__meta { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--d-line); color: var(--d-muted); font-size: 0.92rem; }
.ty__meta a { color: var(--volt); font-weight: 600; }

/* ----------------------------- Reveal ---------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------------------------- Responsive ------------------------------- */
@media (max-width: 1040px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .path-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin-inline: auto; width: 100%; order: -1; }
  .approach__grid { grid-template-columns: 1fr; }
  .approach__media { max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .svc-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero__meta { gap: 1.2rem 1.6rem; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .rom-gauge { left: 8px; width: 168px; }
  .path-chip { right: 8px; }
}

/* ---------------------- Reduced motion --------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .gauge-needle { animation: none !important; transform: rotate(-24deg); }
  .path__curve path.draw { transition: none !important; stroke-dashoffset: 0 !important; }
  .btn, .svc-card, .path-step, .physio, .aside-card { transition: none !important; }
  .svc-card:hover .svc-card__media img { transform: none; }
  * { scroll-behavior: auto !important; }
}
