/* PRO-Active Physiocare — v4 "Arc"
   Layout: light header with contact strip; wide photo banners with an overlapping white card;
   centred section heads; soft shadowed cards; deep-teal bands. Motif: the logo's arc.
   Each service carries its logo-arc colour: Clinic = deep teal, Home = teal, Workplace = light teal. */
:root {
  --deep: #154b50;
  --teal: #1e6469;
  --light: #3a8c90;
  --mint: #8fd0cc;
  --tint: #eaf4f3;      /* cool section background */
  --tint-2: #d6ebe9;
  --grey: #6b6f72;
  --ink: #17282a;
  --muted: #536466;
  --line: #d9e6e4;
  --white: #ffffff;
  --accent: var(--teal);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Mulish", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 14px;
  --shadow: 0 1px 2px rgba(21,75,80,0.06), 0 14px 34px -18px rgba(21,75,80,0.28);
  color-scheme: light;
}
body.page-clinic { --accent: var(--deep); }
body.page-home { --accent: var(--teal); }
body.page-work { --accent: #2b7a7e; }

* { 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; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--light); outline-offset: 3px; }

h1, h2 { font-family: var(--display); color: var(--deep); margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-family: var(--body); font-weight: 800; font-size: 1.1rem; line-height: 1.35; margin: 0; color: var(--ink); }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.stack { display: grid; gap: 16px; align-content: start; }
.stack > * { min-width: 0; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

/* Section tag: a pill with a small arc from the logo */
.eyebrow { justify-self: start; display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--tint); color: var(--accent); font: 800 0.8rem/1.2 var(--body); letter-spacing: 0.04em; }
.eyebrow::before { content: ""; width: 13px; height: 13px; border-radius: 50%; border: 3px solid currentColor; border-top-color: transparent; transform: rotate(-20deg); flex: none; }

/* Buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; background: var(--accent); color: var(--white); border: 2px solid var(--accent); font: 800 0.98rem/1 var(--body); text-decoration: none; cursor: pointer; justify-self: start; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { background: var(--deep); border-color: var(--deep); color: var(--white); }
.btn.ghost { background: var(--white); color: var(--accent); border-color: var(--tint-2); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--tint); }
.btn.light { background: var(--white); border-color: var(--white); color: var(--deep); }
.btn.light:hover { background: var(--tint); border-color: var(--tint); }
.btn.small { padding: 10px 18px; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Contact strip + header */
.topbar { background: var(--deep); color: #d4e9e7; font-size: 0.86rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding-block: 7px; }
.topbar span { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #ffffff; text-decoration: none; }
.site-header { background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; backdrop-filter: blur(8px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--white); z-index: 21; }
.header-inner { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.main-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { position: relative; display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--light); transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover { color: var(--teal); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--teal); }
.header-cta { flex: none; }
.menu-toggle { display: none; background: var(--white); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 9px 14px; font: 800 0.9rem/1 var(--body); cursor: pointer; }
@media (max-width: 1080px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .header-cta { order: 2; margin-left: auto; }
  .menu-toggle { display: inline-flex; order: 3; }
  .main-nav { order: 4; flex-basis: 100%; justify-content: flex-start; display: none; }
  .site-header.open .main-nav { display: flex; }
  .main-nav ul { flex-direction: column; width: 100%; padding-bottom: 8px; }
  .main-nav a { padding: 12px 6px; border-top: 1px solid var(--line); }
  .main-nav a::after { left: 6px; right: auto; width: 40px; bottom: 6px; }
}
@media (max-width: 640px) { .topbar .hide-sm { display: none; } }
@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .brand { gap: 7px; }
  .header-cta .btn { padding: 10px 14px; font-size: 0.88rem; }
  .menu-toggle { width: 42px; height: 40px; padding: 0; justify-content: center; align-items: center; font-size: 0; }
  .menu-toggle::before { content: ""; width: 18px; height: 12px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat; }
}

/* Hero: wide photo banner with an overlapping white card */
.hero { padding-block: 28px 56px; background: linear-gradient(180deg, var(--tint) 0 55%, var(--white) 55%); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
.hero-photo { grid-column: 1 / -1; grid-row: 1; position: relative; }
.hero-photo img, .hero-photo .img-slot { width: 100%; height: clamp(320px, 40vw, 480px); object-fit: cover; border-radius: var(--r-xl); }
.hero-photo.tall img { object-position: center 30%; }
.hero-photo::after { content: ""; position: absolute; right: 28px; top: 28px; width: 110px; height: 110px; border-radius: 50%; border: 10px solid rgba(255,255,255,0.85); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(10deg); pointer-events: none; }
.hero-grid > .stack { grid-column: 1 / span 7; grid-row: 1; align-self: end; margin: 0 0 -110px 36px; position: relative; z-index: 1; background: var(--white); border-radius: var(--r-xl); padding: 34px 36px; box-shadow: var(--shadow); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--tint); font-weight: 800; font-size: 0.85rem; color: var(--deep); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero.plain { padding-block: 56px 40px; background: var(--tint); }
.hero.plain .stack { max-width: 760px; margin: 0 auto; text-align: center; justify-items: center; }
.hero.plain .eyebrow { justify-self: center; }
@media (max-width: 900px) {
  .hero { padding-block: 16px 40px; }
  .hero-grid > .stack { grid-column: 1 / -1; grid-row: 2; margin: -60px 14px 0; padding: 26px 22px; }
  .hero-photo img, .hero-photo .img-slot { height: 300px; }
  .hero-photo::after { width: 70px; height: 70px; border-width: 7px; right: 18px; top: 18px; }
}

/* Sections */
.band { padding-block: 64px; }
.hero + .band { padding-top: 150px; }
.band.tint { background: var(--tint); }
.band.paper { background: var(--tint); }
.band.ink { background: var(--deep); color: #d4e9e7; position: relative; overflow: hidden; }
.band.ink::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 36px solid rgba(143,208,204,0.12); border-left-color: transparent; transform: rotate(20deg); }
.band.ink > .wrap { position: relative; }
.band.ink h2, .band.ink h3 { color: var(--white); }
.band.ink .eyebrow { background: rgba(255,255,255,0.1); color: var(--mint); }
.band.ink .lead, .band.ink .muted { color: #b9d6d3; }
.head { display: grid; gap: 12px; max-width: 680px; margin: 0 auto 36px; text-align: center; justify-items: center; }
.head .eyebrow { justify-self: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col > * { min-width: 0; }
.two-col.top { align-items: start; }
.photo { width: 100%; border-radius: var(--r-xl); object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } .band { padding-block: 48px; } .hero + .band { padding-top: 56px; } }

/* Everyday moments */
.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.moment { background: var(--white); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); text-align: left; }
.moment .ic, .feature .ic { width: 50px; height: 50px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; margin-bottom: 4px; }
.moment svg, .feature svg, .step-ic svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.moment p, .feature p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 960px) { .moments { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .moments { grid-template-columns: 1fr; } }

/* Approach list */
.approach { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.approach li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); font-weight: 800; font-size: 0.95rem; color: var(--deep); }
.approach li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--light); flex: none; }

/* Service cards (About) */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.svc img, .svc .img-slot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.svc .body { position: relative; padding: 26px 24px 26px; display: grid; gap: 10px; align-content: start; }
.svc .body { border-top: 5px solid var(--c); }
.svc .tag { display: inline-flex; align-items: center; gap: 8px; font: 800 0.75rem/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); }
.svc .tag::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid currentColor; border-top-color: transparent; transform: rotate(-20deg); }
.svc p { color: var(--muted); font-size: 0.96rem; }
.svc .btn { background: var(--c); border-color: var(--c); margin-top: 6px; }
.svc .btn:hover { background: var(--ink); border-color: var(--ink); }
.svc.clinic { --c: var(--deep); } .svc.home { --c: var(--teal); } .svc.work { --c: var(--light); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Founder */
.creds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cred { background: var(--white); border-radius: var(--r-md); padding: 12px 14px; box-shadow: var(--shadow); }
.cred b { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--teal); line-height: 1.15; }
.cred span { font-size: 0.84rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 1000px) { .creds { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .creds { grid-template-columns: 1fr 1fr; } }
.expertise { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.expertise div { padding: 16px 18px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow); display: grid; gap: 4px; }
.expertise p { font-size: 0.93rem; color: var(--muted); }
@media (max-width: 600px) { .expertise { grid-template-columns: 1fr; } }
.portrait { width: 100%; max-height: 580px; aspect-ratio: 2 / 3; object-fit: cover; object-position: top center; border-radius: 999px 999px var(--r-xl) var(--r-xl); }
.founder { grid-template-columns: 1.25fr 0.75fr; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .portrait { max-width: 340px; max-height: 480px; } }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--white); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr; }
.feature > img, .feature > .img-slot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.feature .body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.feature .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; }
.feature .price { font: 600 1.6rem/1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.feature .dur { color: var(--muted); font-size: 0.92rem; font-weight: 700; }
.features.compact .feature { grid-template-rows: auto; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.also { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 24px; padding: 16px 16px 16px 26px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); }
@media (max-width: 600px) { .also { border-radius: var(--r-lg); padding: 18px 20px; } }

/* Routes */
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.route { padding: 30px; border-radius: var(--r-xl); background: var(--white); box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; }
.route .n { width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--accent); display: grid; place-items: center; font: 600 1.15rem/1 var(--display); }
.route ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
@media (max-width: 760px) { .routes { grid-template-columns: 1fr; } }

/* Steps: a connected arc path */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.steps li { display: grid; gap: 6px; align-content: start; justify-items: center; position: relative; }
.step-ic { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; margin-bottom: 10px; }
.step-ic::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid var(--accent); border-right-color: transparent; border-top-color: transparent; transform: rotate(-30deg); }
.step-ic svg { width: 34px; height: 34px; stroke: var(--accent); }
.step-ic .n { position: absolute; bottom: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; font: 800 0.72rem/1 var(--body); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 42px; left: calc(50% + 58px); right: calc(-50% + 58px); border-top: 2px dotted var(--tint-2); }
.steps p { color: var(--muted); font-size: 0.95rem; max-width: 30ch; }
.band.ink .step-ic { background: rgba(255,255,255,0.08); box-shadow: none; } .band.ink .step-ic svg { stroke: var(--mint); } .band.ink .steps p { color: #b9d6d3; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Issues */
.issues { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.issues div { padding: 20px; border-radius: var(--r-lg); background: rgba(255,255,255,0.07); display: grid; gap: 6px; align-content: start; }
.issues p { font-size: 0.93rem; color: #b9d6d3; }
@media (max-width: 960px) { .issues { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .issues { grid-template-columns: 1fr; } }

/* Testimonials (placeholders until genuine quotes are added) */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { margin: 0; padding: 26px; border-radius: var(--r-xl); background: var(--white); border: 1.5px dashed #b5cfcc; display: grid; gap: 14px; align-content: start; }
.quote .mark { font: 600 3.2rem/0.6 var(--display); color: var(--light); height: 22px; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 1.08rem; color: var(--muted); font-style: italic; }
.quote figcaption { font-size: 0.88rem; color: var(--muted); }
.quote .pending { justify-self: start; font: 800 0.7rem/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: #8a5a00; background: #fff3d6; padding: 6px 10px; border-radius: 999px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* Response promise (Home) */
.promise { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 999px; background: var(--tint); }
.promise .clock { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.promise .clock svg { width: 26px; height: 26px; stroke: var(--white); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.promise b { font-family: var(--display); font-size: 1.2rem; font-weight: 600; display: block; line-height: 1.25; color: var(--deep); }
@media (max-width: 520px) { .promise { border-radius: var(--r-lg); } }
.call { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.call .num { font: 800 1.2rem/1.2 var(--body); color: var(--deep); font-variant-numeric: tabular-nums; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 15px; border-radius: 999px; background: var(--tint); font-weight: 800; font-size: 0.92rem; color: var(--deep); }

/* CTA band */
.cta { position: relative; overflow: hidden; background: var(--accent); color: var(--white); border-radius: var(--r-xl); padding: 40px 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.cta::after { content: ""; position: absolute; right: 160px; top: -70px; width: 200px; height: 200px; border-radius: 50%; border: 18px solid rgba(255,255,255,0.12); border-top-color: transparent; transform: rotate(30deg); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: var(--white); }
.cta p { color: rgba(255,255,255,0.88); }
@media (max-width: 600px) { .cta { padding: 30px 26px; } .cta::after { right: -60px; } }

/* Image slot: shown until the AI image file is added */
.img-slot { position: relative; display: grid; place-items: center; text-align: center; padding: 20px; background: repeating-linear-gradient(135deg, #eef7f6 0 14px, #e3f1ef 14px 28px); color: var(--teal); border-radius: var(--r-xl); min-height: 200px; }
.img-slot span { display: grid; gap: 6px; justify-items: center; max-width: 34ch; font-size: 0.88rem; font-weight: 800; line-height: 1.4; }
.img-slot svg { width: 44px; height: 44px; opacity: 0.8; }
.img-slot code { font-size: 0.78rem; font-weight: 600; color: var(--muted); }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s ease; }
.post:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .post:hover { transform: none; } }
.post .cover { aspect-ratio: 16 / 9; background: var(--c); position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 16px; }
.post .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post .cover .cat { position: relative; background: var(--white); color: var(--deep); font: 800 0.72rem/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; }
.post .cover .glyph { position: absolute; right: -18px; top: -18px; width: 150px; height: 150px; opacity: 0.2; }
.post .body { padding: 22px 24px 24px; display: grid; gap: 10px; align-content: start; }
.post h3 { font-family: var(--display); font-weight: 600; font-size: 1.22rem; line-height: 1.3; color: var(--deep); }
.post p { color: var(--muted); font-size: 0.95rem; }
.post .meta { font-size: 0.85rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; font-weight: 700; }
.post .read { font-weight: 800; color: var(--teal); font-size: 0.95rem; }
.post.featured { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto; }
.post.featured .cover { aspect-ratio: auto; min-height: 320px; }
.post.featured .body { padding: 36px; align-content: center; }
.post.featured h3 { font-size: 1.7rem; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.filters button { font: 800 0.92rem/1 var(--body); padding: 10px 17px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: var(--white); }
@media (min-width: 961px) {
  .posts .post:nth-child(6) { grid-column: span 2; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .posts .post:nth-child(6) .cover { aspect-ratio: auto; min-height: 100%; }
  .posts .post:nth-child(6) .body { align-content: center; }
}
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .post.featured { grid-template-columns: 1fr; } .post.featured .cover { min-height: 0; aspect-ratio: 16 / 9; } .post.featured .body { padding: 22px 24px 24px; } .post.featured h3 { font-size: 1.3rem; } }

/* Forms */
.form-card { background: var(--white); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow); display: grid; gap: 18px; }
@media (max-width: 520px) { .form-card { padding: 22px; } }
.form { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, fieldset legend { font-weight: 800; font-size: 0.88rem; }
.field .hint { font-size: 0.82rem; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--tint); }
.field textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; border-radius: var(--r-lg); padding: 16px 18px 18px; margin: 0; display: grid; gap: 12px; min-width: 0; background: var(--tint); }
fieldset legend { float: left; width: 100%; padding: 0; margin-bottom: 2px; color: var(--deep); font-family: var(--display); font-size: 1.05rem; font-weight: 600; }
fieldset legend + * { clear: both; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 0.95rem; }
.checks input { margin-top: 5px; accent-color: var(--accent); }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.slot-row { display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; align-items: end; }
.slot-row .n { width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--accent); display: grid; place-items: center; font: 600 0.95rem/1 var(--display); margin-bottom: 8px; }
@media (max-width: 480px) { .slot-row { grid-template-columns: auto 1fr; } .slot-row .field:last-child { grid-column: 2; } }
.form-note { font-size: 0.93rem; color: var(--accent); font-weight: 800; }
.req { color: #b3261e; }

/* Dialog */
dialog.consult { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-xl); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.45); }
dialog.consult::backdrop { background: rgba(21,75,80,0.55); }
.dlg-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 26px; background: var(--white); border-bottom: 1px solid var(--line); }
.dlg-head h2 { font-size: 1.5rem; }
.dlg-close { background: var(--tint); border: 0; color: var(--deep); width: 42px; height: 42px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; flex: none; }
.dlg-body { padding: 22px 26px 28px; }
@media (max-width: 520px) { .dlg-body { padding: 18px; } .dlg-head { padding: 14px 18px; } }

/* Contact info */
.info { display: grid; gap: 14px; }
.info-block { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 2px 0; }
.hours td:last-child { text-align: right; }

/* Footer */
.site-footer { background: var(--deep); color: #b9d6d3; font-size: 0.95rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -140px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%; border: 40px solid rgba(143,208,204,0.1); border-right-color: transparent; transform: rotate(-30deg); }
.site-footer > * { position: relative; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr; gap: 40px; padding-block: 48px 34px; }
.footer-inner > * { min-width: 0; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand .brand { background: var(--white); padding: 10px 16px 10px 10px; border-radius: 999px; justify-self: start; }
.footer-brand address { font-style: normal; line-height: 1.6; }
.site-footer h4 { margin: 0 0 12px; font: 600 1.15rem/1.2 var(--display); color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #e2f1ef; text-decoration: none; }
.site-footer ul a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 16px; font-size: 0.85rem; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; gap: 26px; } }

/* Five cards: 3 on the first row, 2 wider on the second */
@media (min-width: 961px) {
  .features.five { grid-template-columns: repeat(6, 1fr); }
  .features.five > * { grid-column: span 2; }
  .features.five > :nth-child(n+4) { grid-column: span 3; }
  .features.five > :nth-child(n+4) img, .features.five > :nth-child(n+4) .img-slot { aspect-ratio: 16 / 8; }
}

/* Hero placeholder label sits in the visible right-hand area */
@media (min-width: 901px) { .hero-photo .img-slot { place-items: center end; padding-right: 7%; } }

/* Wide banner photos keep their people (right-hand side) in view on narrow screens */
.hero-photo img { object-position: 72% center; }

/* Banners: people sit on the right; no decorative arc over faces */
.hero-photo img { object-position: right center; }
.hero-photo::after { content: none; }

/* Founder: equal-height cards with content aligned to the top; photo matches the text column */
.founder { align-items: stretch; }
.creds { grid-auto-rows: 1fr; }
.cred { display: grid; align-content: start; gap: 2px; }
.expertise { grid-auto-rows: 1fr; }
.expertise div { align-content: start; }
@media (min-width: 861px) { .portrait { height: 100%; max-height: none; aspect-ratio: auto; min-height: 520px; } }

/* Home: price bar sits right under the section heading */
.page-home .head + .also { margin-top: 0; }

/* Banners: photo shown 20% smaller, framed by a clean brand-tint panel (no blur) */
.hero-photo { height: clamp(320px, 40vw, 480px); border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(135deg, #d3e9e6 0%, #eaf4f3 60%, #f5faf9 100%); }
.hero-photo::before { content: ""; position: absolute; left: -90px; top: -150px; width: 360px; height: 360px; border-radius: 50%; border: 30px solid rgba(30,100,105,0.10); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-15deg); }
.hero-grid .hero-photo img { position: absolute; right: 0; bottom: 0; width: 80%; height: 80%; object-fit: cover; object-position: right center; border-radius: var(--r-xl) 0 0 0; }
@media (max-width: 900px) {
  .hero-photo { height: 300px; }
  .hero-grid .hero-photo img { width: 100%; height: 100%; border-radius: 0; }
}
.hero-photo::before { content: none; }

/* White cards: visible edge + clearer shadow on every background */
:root { --shadow: 0 1px 3px rgba(21,75,80,0.10), 0 12px 28px -14px rgba(21,75,80,0.32); }
.moment, .svc, .feature, .route, .cred, .expertise div, .form-card, .info-block, .post, .also, .approach li, .step-ic {
  border: 1px solid #cfe0dd;
}
/* Contact: form card and info cards share the same top edge */
#contact .two-col.top { align-items: start; }
#contact .info { margin-top: 0; }

/* Desktop banners: a clean photo rectangle (no frame), 80% of the row width; text card overlaps its left edge */
@media (min-width: 901px) {
  .hero-photo { grid-column: 3 / -1; height: auto; aspect-ratio: 5 / 2; background: none; }
  .hero-grid .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--r-xl); object-position: right center; }
  .hero-grid > .stack { grid-column: 1 / span 6; margin: 0 0 -60px 0; }
  .hero + .band { padding-top: 110px; }
}

/* Contact: the two columns end at the same height, info cards share the space */
#contact .two-col.top { align-items: stretch; }
#contact .info { grid-auto-rows: 1fr; }
#contact .info-block { align-content: start; }
#contact .info { grid-auto-rows: auto; align-content: space-between; }
#contact .form-card { align-content: start; }

/* Blog filters: hidden cards really hide; filtered views use a plain grid */
[hidden] { display: none !important; }
.posts.filtered .post.featured, .posts.filtered .post:nth-child(6) { grid-column: auto; grid-template-columns: none; grid-template-rows: auto 1fr; }
.posts.filtered .post.featured .cover, .posts.filtered .post:nth-child(6) .cover { aspect-ratio: 16 / 9; min-height: 0; }
.posts.filtered .post.featured .body { padding: 22px 24px 24px; align-content: start; }
.posts.filtered .post.featured h3 { font-size: 1.22rem; }

/* Filtered blog view: two equal cards filling the row, content aligned to the top */
@media (min-width: 641px) {
  .posts.filtered { grid-template-columns: 1fr 1fr; }
}
.posts.filtered .post, .posts.filtered .post.featured, .posts.filtered .post:nth-child(6) { grid-column: auto; grid-template-columns: none; grid-template-rows: auto 1fr; }
.posts.filtered .post .cover, .posts.filtered .post.featured .cover, .posts.filtered .post:nth-child(6) .cover { aspect-ratio: 16 / 7; min-height: 0; }
.posts.filtered .post .body, .posts.filtered .post.featured .body, .posts.filtered .post:nth-child(6) .body { padding: 24px 26px 26px; align-content: start; }
.posts.filtered .post h3, .posts.filtered .post.featured h3 { font-size: 1.35rem; }
.filters { scroll-margin-top: 96px; }

/* Blog covers: full PRO-Active logo, centred */
.post .cover .cover-logo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding-bottom: 28px; }
.topbar .wrap > span:last-child { margin-left: auto; justify-content: flex-end; }

/* Policies page */
.legal { max-width: 820px; display: grid; gap: 22px; }
.legal article { background: var(--white); border: 1px solid #cfe0dd; border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 32px 36px; display: grid; gap: 12px; scroll-margin-top: 110px; }
.legal h2 { margin-bottom: 4px; }
.legal h3 { margin-top: 8px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.page-legal .hero.plain .filters { justify-content: center; }
@media (max-width: 520px) { .legal article { padding: 24px 20px; } }

/* Service links in the main menu: pills in each service's logo-arc colour */
.main-nav ul { align-items: center; gap: 6px; }
.main-nav a.svc-nav { --c: var(--teal); display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 12px; border-radius: 999px; background: var(--tint); border: 1px solid #cfe0dd; color: var(--c); transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.main-nav a.svc-nav.s-clinic { --c: #154b50; }
.main-nav a.svc-nav.s-home { --c: #1e6469; }
.main-nav a.svc-nav.s-work { --c: #2b7a7e; }
.main-nav a.svc-nav::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid currentColor; border-top-color: transparent; transform: rotate(-20deg); flex: none; transition: transform .35s ease; }
.main-nav a.svc-nav::after { content: none; }
.main-nav a.svc-nav:hover { background: var(--c); border-color: var(--c); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(21,75,80,0.6); }
.main-nav a.svc-nav:hover::before { transform: rotate(250deg); }
.main-nav a.svc-nav[aria-current="page"] { background: var(--c); border-color: var(--c); color: #fff; }
@media (prefers-reduced-motion: reduce) { .main-nav a.svc-nav, .main-nav a.svc-nav::before { transition: none; } .main-nav a.svc-nav:hover { transform: none; } }
@media (max-width: 1080px) {
  .main-nav a.svc-nav { width: 100%; padding: 11px 14px; margin: 3px 0; border-top: 1px solid #cfe0dd; }
}
@media (min-width: 1081px) and (max-width: 1240px) { .main-nav a { font-size: 0.9rem; } .main-nav a.svc-nav { padding: 7px 12px 7px 10px; } .header-inner { gap: 14px; } }
@media (max-width: 1080px) {
  .main-nav ul { align-items: stretch; gap: 6px; }
  .main-nav a, .main-nav a.svc-nav { display: flex; width: 100%; margin: 0; border-top: 0; justify-content: flex-start; }
  .main-nav a:not(.svc-nav) { padding: 11px 14px; border-radius: 999px; }
  .main-nav a:not(.svc-nav)[aria-current="page"] { background: var(--tint); }
  .main-nav a::after { content: none; }
}

/* Skip link for keyboard users */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* Founder photo: beside the text on desktop, right after the name on phones */
.portrait-sm { display: none; }
@media (max-width: 860px) {
  .portrait-lg { display: none; }
  .portrait-sm { display: block; width: 100%; max-width: 360px; height: auto; max-height: 460px; aspect-ratio: 2 / 3; object-fit: cover; object-position: top center; border-radius: 999px 999px var(--r-xl) var(--r-xl); }
}

/* Article pages */
.article-hero .stack { text-align: center; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 0.9rem; font-weight: 700; color: var(--muted); }
.crumbs a { color: var(--teal); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.meta-line { color: var(--muted); font-weight: 700; font-size: 0.95rem; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.article-body { background: var(--white); border: 1px solid #cfe0dd; border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 40px 44px; display: grid; gap: 14px; min-width: 0; }
.article-body h2 { font-size: 1.55rem; margin-top: 16px; }
.article-body h3 { font-size: 1.12rem; margin-top: 8px; color: var(--deep); }
.article-body p, .article-body li { color: #3d4c4e; font-size: 1.03rem; }
.article-body ul, .article-body ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.article-body blockquote { margin: 0; padding: 14px 18px; border-radius: var(--r-md); background: var(--tint); font-family: var(--display); }
.article-side { display: grid; gap: 18px; position: sticky; top: 100px; }
.cta-card { background: var(--deep); color: #d4e9e7; border-radius: var(--r-xl); padding: 26px; display: grid; gap: 12px; }
.cta-card h2 { color: #fff; font-size: 1.35rem; }
.cta-card .btn { background: #fff; border-color: #fff; color: var(--deep); }
.cta-card .btn:hover { background: var(--tint); border-color: var(--tint); }
.related { background: var(--white); border: 1px solid #cfe0dd; border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 22px 24px; display: grid; gap: 10px; }
.related h2 { font-size: 1.15rem; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.related a { font-weight: 700; text-decoration: none; line-height: 1.4; display: block; }
.related a:hover { text-decoration: underline; }
.back { font-weight: 800; text-decoration: none; }
@media (max-width: 960px) { .article-wrap { grid-template-columns: 1fr; } .article-side { position: static; } }
@media (max-width: 560px) { .article-body { padding: 26px 20px; } }

/* 404 */
.page-404 .hero.plain { padding-block: 90px; }
.page-404 .btn-row { justify-content: center; }
@media (max-width: 600px) { .expertise, .creds { grid-auto-rows: auto; } }

/* Clinic treatments: four cards in a row on wide screens, 2 x 2 on tablets */
@media (min-width: 1100px) { .features.four { grid-template-columns: repeat(4, 1fr); gap: 20px; } .features.four .body { padding: 20px 20px 22px; } }
@media (min-width: 601px) and (max-width: 1099px) { .features.four { grid-template-columns: repeat(2, 1fr); } }
.features.four .body { grid-template-rows: auto 1fr auto auto; }

/* Contact strip and menu stay together at the top while scrolling */
.masthead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.masthead .site-header { position: relative; top: auto; }
body::before { background: var(--deep); }
[id] { scroll-margin-top: 140px; }
.filters { scroll-margin-top: 140px; }
.legal article { scroll-margin-top: 150px; }
.article-side { top: 140px; }

/* Page tops: identical layout on every page (card top fixed over the photo's left edge) */
@media (min-width: 901px) {
  .hero { padding-block: 32px 48px; }
  .hero-grid { align-items: start; }
  .hero-photo { grid-column: 4 / -1; grid-row: 1; aspect-ratio: 5 / 2; }
  .hero-grid > .stack { grid-column: 1 / span 5; grid-row: 1; align-self: start; margin: 56px 0 0 0; padding: 32px 34px; }
  .hero-grid > .stack h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
  .hero + .band { padding-top: 64px; }
}
@media (min-width: 901px) {
  .hero-grid > .stack { grid-column: 1 / span 7; padding: 30px 36px; gap: 14px; }
  .hero-grid > .stack h1 { font-size: clamp(2rem, 3.2vw, 2.7rem); }
}
@media (min-width: 901px) { .hero-grid > .stack { margin-right: 44px; } }

/* Original PRO-Active logo (flat vector) */
.brand img { height: 52px; width: auto; display: block; }
.footer-brand .brand { padding: 10px 18px; }
.footer-brand .brand img { height: 46px; }
@media (max-width: 480px) { .brand img { height: 38px; } }
.post .cover .cover-logo img { width: 66%; max-width: 300px; height: auto; }
.post.featured .cover .cover-logo img { width: 62%; max-width: 420px; }
.posts.filtered .post.featured .cover .cover-logo img { width: 66%; max-width: 300px; }
.post .cover .cover-logo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 0 28px; }
.post .cover .cover-logo img { position: static; inset: auto; height: auto; object-fit: contain; }

/* Clinic top: button and badges on one line */
.btn-row .badge { white-space: nowrap; }

/* London coverage */
.topbar strong { color: var(--mint); font-weight: 800; }
.area-pill { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--tint); color: var(--deep); font-weight: 800; font-size: 0.8rem; }
.area-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c, var(--teal)); }
.lead strong { color: var(--deep); }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.area-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 16px 20px; border-radius: var(--r-lg); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); }
.area-list li::before { content: ""; grid-row: span 2; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--mint); }
.area-list b { color: #fff; font-size: 1.1rem; }
.area-list span { color: #b9d6d3; font-size: 0.93rem; }
.area-list li:first-child { background: rgba(143,208,204,0.18); border-color: rgba(143,208,204,0.45); }
.area-list.light li { background: var(--white); border-color: #cfe0dd; box-shadow: var(--shadow); }
.area-list.light li::before { background: var(--teal); }
.area-list.light b { color: var(--deep); }
.area-list.light span { color: var(--muted); }
.area-list.light li:first-child { background: var(--deep); border-color: var(--deep); }
.area-list.light li:first-child b { color: #fff; } .area-list.light li:first-child span { color: #cfeae7; } .area-list.light li:first-child::before { background: var(--mint); }
