/* =============================================================
   Jen Parr Hand Therapy — brand layer (Sep 2026)
   Loaded after each page's inline styles so it wins everywhere.
   Principles: one accent (the logo's sage), confident type,
   consistent components, calm rhythm, accessible by default.
   ============================================================= */

:root {
  --sage: #787c6b;            /* exact logo colour — fills and marks */
  --olive: #676b5a;           /* sage, deepened for text on ivory (AA) */
  --olive-light: #aeb29f;
  --olive-deep: #4d5144;
  --gold: #aeb29f;            /* gold retired: legacy rules fall back to light sage */
  /* Two typefaces, mirroring the logo: Cormorant Garamond (serif, the "JP")
     + Jost (geometric sans, the spaced "HAND THERAPY"). Hierarchy comes from
     size, weight and tracking — never from adding another family. */
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  --label: var(--sans);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Typography ---------- */
body { font-weight: 400; letter-spacing: 0.005em; text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga"; }
main p, main li { line-height: 1.75; }
h1, h2, h3, .h1, .h2, .h3 { font-weight: 400; letter-spacing: -0.015em; }
h1 em, h2 em, h3 em, .h1 em, .h2 em { font-weight: 400; }
p { font-weight: 400; }

/* Labels echo the logo's spaced "HAND THERAPY" */
.eyebrow, .hero-tagline, .exp-label, .booking-tag, .card-eyebrow, .note-label,
.cred-chip, .cred-label, .faq-category-title, .art-label-sm, .offering .more,
.feat-cta, .step-no, .kicker, .detail-label, .form-group label, .checklist-title {
  font-family: var(--label);
}
.eyebrow { font-size: 0.72rem; letter-spacing: 0.26em; font-weight: 500; }
.eyebrow::before { background: currentColor; opacity: 0.6; }

/* Small italic serif is lovely large, wispy small — set small text in the sans */
.treatment-imagery .imagery-copy .quiet-list li { font-family: var(--sans); font-style: normal; font-size: 0.95rem; color: var(--ink-soft); }
.art-sub { font-family: var(--label); font-style: normal; font-size: 0.72rem; letter-spacing: 0.08em; }
.offering .num { font-family: var(--label); font-style: normal; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; }

/* ---------- Buttons: one shape, one system ---------- */
.btn, .cookie-btn { border-radius: 2px; letter-spacing: 0.18em; transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease); font-family: var(--label); }
.btn:hover { background: var(--olive-deep); border-color: var(--olive-deep); }
.btn:active { transform: translateY(1px); }
.btn-nav, .nav-links a.btn-nav {
  border-radius: 2px !important;
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  box-shadow: none !important;
  padding: 0.95rem 1.7rem !important;
  font-family: var(--label);
  letter-spacing: 0.2em !important;
}
.btn-nav:hover, .nav-links a.btn-nav:hover { background: var(--olive-deep) !important; border-color: var(--olive-deep) !important; }
.nav-links a { font-family: var(--label); letter-spacing: 0.06em; }

/* ---------- Logo: monogram + name lockup ---------- */
.wordmark { gap: 0.85rem; }
.logo-wrap { width: 52px !important; height: 52px !important; }
nav.site-nav.scrolled .logo-wrap { width: 44px !important; height: 44px !important; }
.wm { display: flex; flex-direction: column; gap: 0.3rem; line-height: 1; }
.wm-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; letter-spacing: 0.01em; color: var(--ink); }
.wm-sub { font-family: var(--label); font-size: 0.58rem; font-weight: 500; letter-spacing: 0.36em; text-transform: uppercase; color: var(--olive); }
@media (max-width: 380px) { .wm-sub { display: none; } }

/* Footer logo: the current JP monogram (the hands crest is an old logo — do not use) */
.footer-logo-wrap { width: 112px; height: 112px; }

/* ---------- Hero: let Jen be seen ---------- */
@media (min-width: 881px) {
  .hero-inner { grid-template-columns: 1.4fr 0.85fr; }
  .hero-visual { max-width: 440px; }
}
.hero-visual::before { display: none; }              /* no tint over the photo */
.hero-img { filter: none; object-position: center 22%; }
.hero-badge { display: none; }                        /* NHS credential already in the stats strip */

/* ---------- One accent: quiet the gold glows ---------- */
.featured::before { background: radial-gradient(ellipse 50% 60% at 0% 0%, rgba(120, 124, 107, 0.16), transparent 60%); }
.art-big em { color: var(--olive-light); }

/* ---------- Rhythm: consistent section spacing ---------- */
.intro, .offerings, .treatment-imagery, .testimonial, .featured, .cta {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
}

/* Odd number of services: finish the grid instead of leaving a hole */
@media (min-width: 641px) { .offerings-grid > .offering:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Block-level eyebrows (page heroes) keep their rule separated from the text */
.page-hero-eyebrow { display: inline-flex; }

/* ---------- Testimonial: a pull-quote, then the full words ---------- */
.t-lead { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.28; letter-spacing: -0.01em; color: var(--ink); max-width: 32ch; margin: 0 auto; }
.t-rest { font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.7; color: var(--ink-soft); max-width: 60ch; margin: 1.6rem auto 2.6rem; }
.t-google { display: inline-flex; gap: 0.6rem; align-items: center; margin-top: 1.2rem; font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--olive); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.25rem; }
.t-google:hover { color: var(--ink); }

/* ---------- Links & focus ---------- */
main p a:not(.btn), .faq-answer a, .contact-availability a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}
::selection { background: var(--sage); color: #faf8f3; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
