/* Manchester Care Clinic — phone first */
:root {
  --red: #e83224;          /* logo red, for marks and large fills */
  --red-700: #c0241a;      /* text/buttons on light (5.6:1 on white) */
  --red-800: #9e1d14;
  --red-50: #fdf0ee;
  --ink: #1b1716;
  --ink-2: #4a4341;
  --muted: #625a57;
  --line: #e8e1dc;
  --bg: #fffdfb;
  --surface: #ffffff;
  --tint: #f7f1ec;
  --dark: #1b1716;
  --on-dark: #f6efe9;
  --on-dark-2: #cfc5be;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(27 23 22 / .06), 0 8px 24px rgb(27 23 22 / .06);
  --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --sans: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  /* type scale: each step >= 1.2x the next */
  --fs-1: clamp(2.125rem, 1.45rem + 3.4vw, 3.75rem);
  --fs-2: clamp(1.75rem, 1.4rem + 1.75vw, 2.625rem);
  --fs-3: clamp(1.375rem, 1.2rem + .9vw, 1.875rem);
  --fs-4: clamp(1.125rem, 1.05rem + .35vw, 1.375rem);
  --fs-lede: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --red: #f0503f;
    --red-700: #ff7a6b;
    --red-800: #ff9a8e;
    --red-50: #2c1a17;
    --ink: #f4ede8;
    --ink-2: #d6ccc6;
    --muted: #b3a8a2;
    --line: #3a3330;
    --bg: #151312;
    --surface: #1e1b19;
    --tint: #1b1816;
    --dark: #0c0a0a;
    --shadow: 0 1px 2px rgb(0 0 0 / .4);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-700); text-underline-offset: 3px; }
a:hover { color: var(--red-800); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h3 { font-size: var(--fs-4); line-height: 1.25; letter-spacing: -.01em; }
p, li, blockquote, figcaption, dd, summary { text-wrap: pretty; }
p { margin: 0 0 1em; max-width: 65ch; }
.display-1 { font-size: var(--fs-1); line-height: 1.04; letter-spacing: -.03em; }
.display-2 { font-size: var(--fs-2); }
.display-3 { font-size: var(--fs-3); line-height: 1.15; }
.display-4 { font-size: var(--fs-4); line-height: 1.25; }
.lede { font-size: var(--fs-lede); color: var(--ink-2); line-height: 1.55; }
.note { font-size: var(--fs-sm); color: var(--muted); }
.accent { color: var(--red-700); }
.eyebrow { font: 700 var(--fs-xs)/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red-700); margin: 0 0 .9em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; }
.btn--primary { background: #c0241a; color: #fff; }
.btn--primary:hover { background: #9e1d14; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: #1b1716; }
.btn--light:hover { background: #f6efe9; color: #1b1716; }
.btn--outline-light { color: #fff; border-color: rgb(255 255 255 / .45); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.ico { width: 18px; height: 18px; flex: none; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }
.sm-only { display: none; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
/* blur lives on a pseudo-element: backdrop-filter on .nav itself would trap the fixed mobile menu inside the header */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
body.menu-open .nav::before { background: var(--bg); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 30px; flex: none; color: var(--ink); }
.brand__text { font: 700 1.125rem/1.05 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.brand__text b { color: var(--red-700); font-weight: 700; }
.nav__links { display: none; gap: 4px; margin-left: auto; }
.nav__links a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .9688rem; padding: 10px 12px; border-radius: 999px; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); background: var(--tint); }
.nav__links a[aria-current="page"] { color: var(--red-700); }
.nav__cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__toggle { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; display: grid; place-content: center; gap: 6px; cursor: pointer; flex: none; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 64px 0 0; background: var(--bg); padding: 12px var(--gutter) 32px; overflow-y: auto; display: flex; flex-direction: column; }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 700 1.25rem/1.2 var(--display); }
.mobile-menu__foot { display: grid; gap: 10px; margin-top: 24px; }
.mobile-menu__foot p { color: var(--muted); font-size: var(--fs-sm); margin: 4px 0 0; }
body.menu-open { overflow: hidden; }
@media (max-width: 520px) {
  .nav__inner { gap: 10px; }
  .nav .brand__text { display: grid; font-size: 1rem; line-height: 1.02; }
  .nav .brand__mark { width: 36px; height: 27px; }
  .nav__cta .btn--sm { padding: 0 14px; }
}
@media (max-width: 520px) { .lg-only { display: none; } .sm-only { display: inline; } }
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { margin-left: 8px; }
  .nav__toggle, .mobile-menu { display: none !important; }
}

/* Sections */
.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tint { background: var(--tint); }
.section--flush { padding-top: 0; }
.section--flush-top { padding-top: 0; }
.section__head { max-width: 720px; margin-bottom: clamp(24px, 4vw, 40px); }
.section__head .lede { margin-bottom: 0; }

/* Hero */
.hero { padding-top: 28px; padding-bottom: clamp(40px, 7vw, 88px); }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__copy h1 { max-width: 12ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero__media { margin: 0; position: relative; }
.hero__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.badge { position: absolute; left: 12px; bottom: 12px; background: var(--dark); color: var(--on-dark); border-radius: 14px; padding: 10px 14px; display: grid; gap: 2px; box-shadow: 0 8px 24px rgb(0 0 0 / .2); }
.badge strong { font: 700 1rem/1.2 var(--display); }
.badge span { font-size: var(--fs-xs); color: var(--on-dark-2); letter-spacing: .04em; }
.open-now { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: var(--fs-sm); color: var(--ink-2); }
.open-now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #8a817d; flex: none; }
.open-now.is-open::before { background: #1f9d55; box-shadow: 0 0 0 4px rgb(31 157 85 / .18); }
.panel .open-now { margin: 0 0 12px; }
@media (max-width: 599px) {
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (min-width: 960px) {
  .hero { padding-top: 56px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero__media img { aspect-ratio: 5 / 4.4; }
  .badge { left: -20px; bottom: 28px; padding: 14px 18px; }
}

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip__grid { display: grid; gap: 0; }
.strip__item { padding-block: 18px; border-bottom: 1px solid var(--line); }
.strip__item:last-child { border-bottom: 0; }
.strip__k { font: 700 var(--fs-4)/1.2 var(--display); margin: 0 0 2px; color: var(--ink); }
.strip__v { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 760px) {
  .strip__grid { grid-template-columns: repeat(3, 1fr); }
  .strip__item { border-bottom: 0; border-left: 1px solid var(--line); padding: 26px 24px; }
  .strip__item:first-child { border-left: 0; padding-left: 0; }
}

/* Cards */
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card:hover { color: var(--ink); border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.card__ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--red-50); color: var(--red-700); margin-bottom: 12px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-2); font-size: var(--fs-sm); }
@media (min-width: 760px) { .cards { gap: 16px; } .card { padding: 24px 24px 10px; } }

/* Split / about */
.split { display: grid; gap: 28px; align-items: center; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.duo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.duo img:last-child { margin-top: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.1fr; gap: 64px; } .duo { gap: 16px; } .duo img:last-child { margin-top: 48px; } }

/* Award */
.award { display: grid; gap: 24px; align-items: center; }
.award__img { border-radius: var(--radius); width: 100%; max-width: 420px; }
@media (min-width: 860px) { .award { grid-template-columns: 380px 1fr; gap: 56px; } }

/* Visit / hours */
.visit { display: grid; gap: 24px; align-items: start; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 599px) { .visit__actions .btn { flex: 1 1 100%; } }
@media (min-width: 860px) { .visit { grid-template-columns: 1fr 1fr; gap: 56px; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
@media (min-width: 760px) { .panel { padding: 28px; } }
.hours-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.hours-table th, .hours-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 1rem; }
.hours-table td { text-align: right; color: var(--ink-2); white-space: nowrap; }
.hours-table th { font-weight: 700; padding-right: 12px; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--red-700); }
.hours-table tr.is-today th::after { content: " · today"; font-weight: 400; font-size: var(--fs-sm); }
.hours-table + .note { margin: 0; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: var(--fs-sm); }

/* Shop strip */
.shop { display: grid; gap: 8px; align-items: end; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; background: var(--surface); }
.shop p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .shop { grid-template-columns: 1fr auto; gap: 32px; padding: 36px 40px; } }

/* CTA band */
.cta { background: var(--dark); color: var(--on-dark); padding-block: clamp(44px, 7vw, 80px); }
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { color: var(--on-dark-2); }
.cta__inner { display: grid; gap: 20px; align-items: center; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 599px) { .cta__actions .btn { flex: 1 1 100%; } }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1fr auto; gap: 48px; } }

/* Page hero */
.page-hero { padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(28px, 5vw, 56px); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { max-width: 60ch; }
.page-hero--center { text-align: center; padding-bottom: clamp(64px, 10vw, 120px); }
.page-hero--center h1, .page-hero--center .lede { margin-inline: auto; }
.page-hero--center .hero__actions, .page-hero--center .jump { justify-content: center; }
.jump { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
.jump a:hover { border-color: var(--red); color: var(--red-700); }
@media (min-width: 900px) { .jump { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; } }

/* Service list */
.svc-list { display: grid; }
.svc { display: grid; gap: 4px; padding-block: 26px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.svc h2 { margin-bottom: .4em; }
.svc__body > :last-child { margin-bottom: 0; }
@media (min-width: 860px) { .svc { grid-template-columns: 340px 1fr; gap: 48px; padding-block: 40px; } }
.checks, .crosses, .facts { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.checks li, .crosses li, .facts li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%23c0241a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.crosses li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m7 7 6 6m0-6-6 6' fill='none' stroke='%23736a66' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.facts li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@media (min-width: 600px) { .checks--cols { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.price { font: 700 var(--fs-3)/1 var(--display); }
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); }

/* People */
.people { display: grid; gap: 20px; }
.person { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; scroll-margin-top: 80px; }
.person__photo { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-sm); }
.person__body { padding: 0 4px 6px; }
.person__body h2 { margin-bottom: .2em; }
.person__role { font-weight: 700; color: var(--red-700); margin-bottom: 1em; }
.person__body > :last-child { margin-bottom: 0; }
@media (min-width: 820px) {
  .person { grid-template-columns: 320px 1fr; gap: 40px; padding: 20px; }
  .person__photo { aspect-ratio: 4 / 5; }
  .person__body { padding: 16px 16px 16px 0; }
}
details { border-top: 1px solid var(--line); }
details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 12px 0; font-weight: 700; color: var(--ink); }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--red-700); flex: none; }
details[open] summary::after { content: "−"; }
details > p { color: var(--ink-2); }

/* Insurance */
.ins { display: grid; gap: 16px; }
.ins > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 6px; }
@media (min-width: 900px) { .ins { grid-template-columns: 2fr 1fr; } .ins > div { padding: 28px 28px 12px; } }
.two-col { display: grid; gap: 20px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.4fr; gap: 64px; } }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.policy { max-width: 60ch; padding-left: 1.2em; display: grid; gap: 12px; color: var(--ink-2); }
.policy li::marker { color: var(--red); }

/* Contact */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.contact-list { margin: 0 0 12px; display: grid; }
.contact-list div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 700; color: var(--muted); font-size: var(--fs-sm); padding-top: 2px; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.map-photo { margin: 0; }
.map-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; }
.map-photo figcaption { margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); }

/* Footer */
.footer { background: var(--dark); color: var(--on-dark-2); padding-top: 48px; font-size: var(--fs-sm); }
.footer__grid { display: grid; gap: 28px; padding-bottom: 32px; }
.footer p { margin: 0 0 8px; }
.footer__grid a:not(.brand) { white-space: nowrap; display: flex; align-items: center; min-height: 36px; color: var(--on-dark); text-decoration: none; }
.footer__grid a:not(.brand):hover { text-decoration: underline; }
.footer__h { font: 700 var(--fs-xs)/1.3 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin: 0 0 10px; }
.brand--light, .brand--light:hover { color: #fff; margin-bottom: 14px; }
.brand--light .brand__mark { color: #fff; }
.brand--light .brand__text b { color: #ff7a6b; }
.footer .hours li { padding: 4px 0; font-size: var(--fs-sm); }
.footer .hours li span:last-child { color: var(--on-dark); }
.footer__base { border-top: 1px solid rgb(255 255 255 / .12); padding-block: 18px 28px; display: grid; gap: 8px; }
.footer__base nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__base a { color: var(--on-dark); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr; gap: 40px; } .footer__base { grid-template-columns: 1fr auto; align-items: center; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
