/* Archivo and IBM Plex Sans (SIL OFL), served from the site: the Google Fonts latin files, one variable font each. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/uploads/fonts/archivo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/uploads/fonts/ibm-plex-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Local stand-ins scaled to each web font's width and line metrics, so text keeps its place when the web font arrives; same character range as the web fonts, so other characters (→) still come from the system font. */
@font-face { font-family: 'Archivo Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Roboto'), local('Roboto-Regular'); size-adjust: 101.89%; ascent-override: 86.18%; descent-override: 20.61%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Roboto'), local('Roboto-Regular'); size-adjust: 101.23%; ascent-override: 101.25%; descent-override: 27.17%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --font-display: 'Archivo', 'Archivo Fallback', sans-serif;
  --font-body: 'IBM Plex Sans', 'IBM Plex Sans Fallback', system-ui, sans-serif;
  --ink: #0B1116; --cream: #F3F1EA; --sand: #2BA9E0; --sand-ink: #0E3350;
  --card1: #2A93BE; --card2: #1E6F95; --card3: #15547A; --card4: #0E3A5C;
  --muted: #4C535A; --faint: #6B6A62; --rule: #C6BFB1; --label: #72695A;
  --line: #E4DFD4; --surface: #FBFAF6; --ph1: #E8E4D9; --ph2: #E0DBCE;
  --link-hover: #2BA9E0; --layer-r: 40px; --paper: #EFEBE1; --accent-deep: #166A94;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--cream); }
body { color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--link-hover); }
::selection { background: var(--sand); color: var(--ink); }
img { max-width: 100%; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

/* Header + nav (from index.html / our-team.html) */
header.site { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--ink) 72%, transparent); backdrop-filter: blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--cream) 9%, transparent); }
header.site, header.site .brand, header.site nav.top a, header.site nav.top details.menu summary, header.site .nav-toggle { transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease; }
header.site.overlay { position: fixed; left: 0; right: 0; background: color-mix(in srgb, var(--ink) 60%, transparent); }
header.site.light { background: color-mix(in srgb, var(--cream) 88%, transparent); border-bottom: 1px solid var(--line); }
header.site.light .brand, header.site.light .brand:hover { color: var(--ink); }
header.site.light nav.top a, header.site.light nav.top details.menu summary { color: var(--muted); }
header.site.light nav.top a:hover, header.site.light nav.top a[aria-current="page"], header.site.light nav.top details.menu[open] summary, header.site.light nav.top details.menu summary:hover { color: var(--ink); }
header.site.light nav.top a.cta { background: var(--ink); color: var(--cream); }
header.site.light nav.top a.cta:hover { background: var(--card4); color: var(--cream); }
header.site.light nav.top a.cta.ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
header.site.light nav.top a.cta.ghost:hover { border-color: var(--ink); }
header.site.light .nav-toggle { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
header.site.light .nav-toggle:hover { border-color: var(--ink); }
header.site .bar { max-width: 1320px; margin: 0 auto; padding: 8px 40px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--cream); white-space: nowrap; }
.brand:hover { color: var(--cream); }
.brand .mark { width: auto; height: 60px; display: block; }
/* Dark header: invert + hue-rotate turns the logo's navy type cream while the blue emblem stays blue. */
header.site:not(.light) .brand .mark { filter: invert(1) hue-rotate(180deg) saturate(1.15) brightness(1.05); }
nav.top { display: flex; align-items: center; gap: 18px; font-size: 14px; white-space: nowrap; flex-wrap: wrap; justify-content: flex-end; }
nav.top a { color: color-mix(in srgb, var(--cream) 72%, transparent); }
nav.top a:hover, nav.top a[aria-current="page"] { color: var(--cream); }
nav.top a.cta { background: var(--cream); color: var(--ink); padding: 10px 20px; border-radius: 999px; font-weight: 600; }
nav.top a.cta:hover { background: var(--surface); }
nav.top a.cta.ghost { background: transparent; color: var(--cream); border: 1px solid color-mix(in srgb, var(--cream) 45%, transparent); font-weight: 500; }
nav.top a.cta.ghost:hover { border-color: var(--cream); }
nav.top details.menu { position: relative; }
nav.top details.menu summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; color: color-mix(in srgb, var(--cream) 72%, transparent); }
nav.top details.menu summary::-webkit-details-marker { display: none; }
nav.top details.menu summary a { color: inherit; }
nav.top details.menu[open] summary, nav.top details.menu summary:hover { color: var(--cream); }
nav.top .caret { font-size: 9px; }
nav.top .menu-panel { position: absolute; top: 100%; left: -14px; min-width: 240px; margin-top: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 12px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 18%, transparent); z-index: 120; }
nav.top .menu-panel a { color: var(--ink); padding: 10px 14px; border-radius: 14px; font-size: 14px; white-space: nowrap; }
nav.top .menu-panel a:hover { background: var(--paper); color: var(--ink); }
.nav-toggle { display: none; align-items: center; gap: 9px; background: transparent; color: var(--cream); border: 1px solid color-mix(in srgb, var(--cream) 45%, transparent); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.nav-toggle:hover { border-color: var(--cream); }
.nav-toggle-icon { position: relative; width: 16px; height: 12px; display: block; }
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; }
.nav-toggle-icon::before { top: 0; box-shadow: 0 5px 0 currentColor; }
.nav-toggle-icon::after { bottom: 0; }
header.site.nav-open .nav-toggle-icon::before { top: 5px; box-shadow: none; transform: rotate(45deg); }
header.site.nav-open .nav-toggle-icon::after { bottom: 5px; transform: rotate(-45deg); }

/* Page hero (our-team.html) */
.hero { padding: 88px 0 56px; text-align: center; }
.hero .kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 18px; }
.hero .kicker .sep { opacity: 0.45; margin: 0 8px; }
.hero .kicker a { color: var(--accent-deep); }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 4.6vw, 64px); line-height: 0.98; letter-spacing: -0.05em; margin: 0 auto 22px; max-width: 13em; }
.hero p { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 0 auto; max-width: 40em; }
.hero .cta-row { margin-top: 30px; }
.hero-media { margin: 40px auto 0; max-width: 1240px; aspect-ratio: 2.4/1; border-radius: 24px; overflow: hidden; background: var(--line); box-shadow: 0 30px 70px color-mix(in srgb, var(--ink) 16%, transparent); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media.natural { aspect-ratio: auto; }
.hero-media.natural img { height: auto; }
/* Hero with the text on the left and an uncropped 4:3 photo on the right (about.html, new-clients.html). */
.hero.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; text-align: left; }
.hero-split h1, .hero-split p { margin-left: 0; }
.hero-split .hero-media { margin: 0; aspect-ratio: 4 / 3; }
/* Hero with its photo behind the title (new-client-form.html): a rounded panel, an ink wash for legible cream type. */
.hero.hero-photo { position: relative; isolation: isolate; overflow: hidden; max-width: 1240px; min-height: clamp(380px, 40vw, 520px); margin: 40px auto 56px; padding: 96px 40px; border-radius: 24px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 30px 70px color-mix(in srgb, var(--ink) 16%, transparent); }
.hero-photo-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 58%, transparent) 0%, color-mix(in srgb, var(--ink) 48%, transparent) 50%, color-mix(in srgb, var(--ink) 66%, transparent) 100%); }
.hero.hero-photo .kicker { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.hero.hero-photo h1 { color: var(--cream); text-shadow: 0 4px 40px color-mix(in srgb, var(--ink) 50%, transparent); }
.hero.hero-photo p { color: color-mix(in srgb, var(--cream) 88%, transparent); text-wrap: balance; }

/* Sections + typography */
.section { padding: 0 0 96px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 18px; }
.section > h2, .prose h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 28px; }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.03em; margin: 40px 0 14px; }
.prose h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); margin: 32px 0 10px; }
.prose p { font-size: 18px; line-height: 1.68; color: var(--muted); margin: 0 0 18px; max-width: 42em; text-wrap: pretty; }
.prose p.lead { font-size: 21px; color: var(--ink); }
.prose ul { list-style: none; padding: 0; margin: 0 0 22px; max-width: 42em; }
.prose ul li { position: relative; padding-left: 26px; font-size: 18px; line-height: 1.6; color: var(--muted); margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: var(--sand); }
.prose a:not(.btn-primary):not(.btn-ghost):not(.yt) { color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.prose a:not(.btn-primary):not(.btn-ghost):not(.yt):hover { color: var(--sand); }
.prose .cta-row { justify-content: flex-start; margin: 34px 0 0; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start; }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 42em; }
.note strong { color: var(--ink); }

/* Cards (index.html announcement/listen cards, our-team cards) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 42px; display: flex; flex-direction: column; }
.card .eyebrow { margin-bottom: 16px; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 14px; }
.card p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0 0 22px; }
.card a.more { margin-top: auto; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 3px; align-self: flex-start; }
.card a.more:hover { color: var(--sand); }
.card .photo { aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; background: var(--line); margin: -16px -16px 22px; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* People (our-team.html) */
.doctors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.doctor { display: grid; grid-template-columns: 190px 1fr; gap: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 26px; }
.photo { aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 8%, transparent) 0 12px, color-mix(in srgb, var(--ink) 5%, transparent) 12px 24px); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doctor .who .nm { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.03em; }
.doctor .who .role { font-size: 14px; color: var(--accent-deep); margin-top: 6px; }
.doctor .who .bio { font-size: 15.5px; line-height: 1.62; color: var(--muted); margin-top: 15px; text-wrap: pretty; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px 20px; }
.person .photo { border-radius: 24px; }
.person .nm { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.025em; margin-top: 17px; }
.person .role { font-size: 15px; color: var(--muted); margin-top: 4px; }
.specialists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.spec .photo { aspect-ratio: 1/1; border-radius: 14px; margin-bottom: 14px; max-width: 108px; }
.spec .nm { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.025em; }
.spec .role { font-size: 13.5px; color: var(--accent-deep); }
.spec .bio { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-top: 8px; }
.spec a.more { margin-top: 12px; font-size: 14px; border-bottom: 1px solid color-mix(in srgb, var(--accent-deep) 40%, transparent); padding-bottom: 3px; align-self: flex-start; }

/* Buttons + CTA band (index.html / our-team.html) */
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--ink); color: var(--cream); padding: 17px 34px; border-radius: 999px; font-weight: 600; font-size: 16px; display: inline-block; }
.btn-primary:hover { background: var(--card4); color: var(--cream); }
.btn-ghost { border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); color: var(--ink); padding: 17px 34px; border-radius: 999px; font-weight: 500; font-size: 16px; display: inline-block; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.cta-band { background: var(--paper); border-top: 1px solid var(--line); padding: 110px 0; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 5.4vw, 78px); line-height: 0.98; letter-spacing: -0.05em; margin: 0 auto 30px; max-width: 12em; }

/* Hours + contact (index.html visit block) */
.hours { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; max-width: 34em; }
.hours .label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); margin-bottom: 18px; }
.hours .row { display: flex; justify-content: space-between; gap: 20px; font-size: 17px; padding: 6px 0; }
.hours .row span:first-child { color: var(--muted); }
.hours .row.closed { color: var(--faint); }
.hours .fine { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 44px; margin-bottom: 36px; }
.contact-grid .label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); margin-bottom: 12px; }
.contact-grid .val { font-size: 17px; line-height: 1.7; }
.contact-grid .val a { color: var(--ink); }
.contact-grid .val a:hover { color: var(--sand); }

/* Embeds + placeholders */
.embed { border-radius: 24px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); padding: 8px; }
.embed iframe { border-radius: 16px; }
.embed iframe { display: block; width: 100%; border: 0; }
.embed.video { aspect-ratio: 16/9; }
.yt { position: relative; display: block; aspect-ratio: 16/9; max-width: 42em; margin: 8px 0 26px; border-radius: 24px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 70px color-mix(in srgb, var(--ink) 18%, transparent); }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 60%, transparent); border: 1px solid color-mix(in srgb, var(--cream) 40%, transparent); transition: transform 0.2s ease; }
.yt .play::before { content: ""; position: absolute; left: 27px; top: 23px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--cream); }
.yt:hover .play { transform: scale(1.06); }
.map-card { display: block; position: relative; border-radius: 24px; overflow: hidden; background: var(--line); min-height: 320px; box-shadow: 0 30px 70px color-mix(in srgb, var(--ink) 16%, transparent); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; filter: grayscale(1) sepia(0.14) brightness(1.03) contrast(0.96); transition: filter 0.35s ease; }
.map-card:hover iframe { filter: grayscale(0.6) sepia(0.06) brightness(1.02); }
.map-card .tag { position: absolute; left: 20px; bottom: 20px; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--surface); padding: 9px 14px; border-radius: 999px; box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 18%, transparent); transition: transform 0.2s ease; }
.map-card:hover .tag { transform: translateY(-2px); }
.placeholder { border-radius: 24px; background: repeating-linear-gradient(135deg, var(--ph1) 0 12px, var(--ph2) 12px 24px); display: flex; align-items: flex-end; padding: 20px; min-height: 240px; position: relative; overflow: hidden; }
.placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.placeholder .tag { position: relative; font-size: 11px; font-family: ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.1em; color: var(--label); background: var(--cream); padding: 7px 11px; border-radius: 8px; }

/* Footer (our-team.html) */
footer.site { background: var(--ink); color: var(--cream); border-top: 1px solid color-mix(in srgb, var(--cream) 10%, transparent); }
footer.site .cols { max-width: 1320px; margin: 0 auto; padding: 56px 40px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; }
footer .flabel { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.03em; }
footer .fnote { font-size: 14px; line-height: 1.55; color: color-mix(in srgb, var(--cream) 50%, transparent); margin-top: 11px; max-width: 24em; }
footer .fhead { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 50%, transparent); margin-bottom: 4px; }
footer .flinks { display: grid; gap: 11px; font-size: 15px; align-content: start; }
footer .flinks a { color: color-mix(in srgb, var(--cream) 72%, transparent); }
footer .flinks a:hover { color: var(--cream); }
footer .fhours { font-size: 13px; line-height: 1.5; color: color-mix(in srgb, var(--cream) 50%, transparent); }
footer .legal { border-top: 1px solid color-mix(in srgb, var(--cream) 8%, transparent); padding: 20px 40px 40px; max-width: 1320px; margin: 0 auto; font-size: 13px; color: color-mix(in srgb, var(--cream) 50%, transparent); }
footer .legal a { color: inherit; }
footer .legal a:hover { color: var(--cream); }

@media (max-width: 900px) {
  header.site .bar { flex-wrap: wrap; gap: 12px; padding: 12px 20px; }
  .brand .mark { height: 46px; }
  .nav-toggle { display: inline-flex; padding: 8px 14px; }
  nav.top { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 6px; white-space: normal; }
  header.site.nav-open nav.top { display: flex; }
  nav.top > a, nav.top details.menu summary { padding: 11px 6px; font-size: 16px; border-top: 1px solid color-mix(in srgb, var(--cream) 10%, transparent); }
  nav.top details.menu summary { justify-content: space-between; }
  nav.top details.menu summary .caret { font-size: 14px; padding: 4px 10px; }
  nav.top .menu-panel { position: static; min-width: 0; margin: 0 0 6px 10px; padding: 6px 0; background: transparent; border: 0; box-shadow: none; }
  nav.top .menu-panel a { color: color-mix(in srgb, var(--cream) 78%, transparent); padding: 9px 12px; font-size: 15px; white-space: normal; }
  nav.top .menu-panel a:hover { background: color-mix(in srgb, var(--cream) 10%, transparent); color: var(--cream); }
  nav.top a.cta, nav.top a.cta.ghost { text-align: center; margin-top: 8px; border-top: 0; }
  header.site.light nav.top > a, header.site.light nav.top details.menu summary { border-top-color: var(--line); }
  header.site.light nav.top .menu-panel a { color: var(--muted); }
  header.site.light nav.top .menu-panel a:hover { background: var(--paper); color: var(--ink); }
  .wrap { padding: 0 22px; }
  .hero { padding: 72px 0 48px; }
  .hero-media { aspect-ratio: 16/10; }
  .hero.hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero.hero-photo { min-height: 340px; margin: 24px auto 40px; padding: 72px 22px; }
}
@media (max-width: 560px) {
  .doctor { grid-template-columns: 1fr; }
  .doctor .photo { max-width: 200px; }
}

/* New-client form: the platform embed (/_pp/forms/embed.js) in a card, its parts in the site's type and palette. */
.form-card { max-width: 920px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 42px; }
.form-card-head { margin: 0 0 32px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.form-card-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.035em; margin: 0 0 8px; }
.form-card-head p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }
.form-card > .pp-form { --pp-accent: var(--accent-deep); margin: 0; max-width: none; }
.form-card .pp-form-status:empty { margin: 0; min-height: 0; }
/* Two columns on a 6-track grid: fields pair up at half width; the address lines, the long questions,
   uploads, consent and signature take the full row; City / State / Zip share one row. One column on phones. */
.pp-form-cols .pp-form-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 24px; }
.pp-form-cols .pp-field { grid-column: span 3; min-width: 0; }
.pp-form-cols .pp-field:has(textarea, .pp-attachments, .pp-dropzone),
.pp-form-cols .pp-field:has([name="address_line_1"], [name="address_line_2"], [name="pet_health_insuarance_provider"], [name="interested_trial"], [name="receive_text_and_email_reminder"], [name="grant_consent"]) { grid-column: 1 / -1; }
.pp-form-cols .pp-field:has([name="city"], [name="state"], [name="zip_code"]) { grid-column: span 2; }
.pp-form-cols .pp-field:has([name="interested_trial"], [name="receive_text_and_email_reminder"], [name="grant_consent"]) .pp-field-control { max-width: calc(50% - 12px); }
@media (max-width: 700px) {
  .pp-form-cols .pp-field, .pp-form-cols .pp-field:has([name="city"], [name="state"], [name="zip_code"]) { grid-column: 1 / -1; }
  .pp-form-cols .pp-field:has([name="interested_trial"], [name="receive_text_and_email_reminder"], [name="grant_consent"]) .pp-field-control { max-width: none; }
}
.pp-field-label, .pp-attachments legend { font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.pp-field-control { padding: 13px 16px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; font: 400 16px/1.5 var(--font-body); color: var(--ink); }
select.pp-field-control { appearance: none; -webkit-appearance: none; padding-right: 48px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C535A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px 18px; cursor: pointer; }
.pp-field-control:focus { outline: 2px solid var(--accent-deep); outline-offset: 1px; border-color: transparent; }
/* Holds the form's place until the embed draws it, so the text below does not jump. */
.pp-form:empty { min-height: 100vh; }
.pp-form-note { font-size: 14px; line-height: 1.6; color: var(--muted); opacity: 1; }
.pp-form-submit { background: var(--ink); color: var(--cream); border: 0; border-radius: 999px; padding: 17px 34px; font: 600 16px/1 var(--font-body); cursor: pointer; }
.pp-form-submit:hover:not(:disabled) { background: var(--card4); }
.pp-form-button { border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 999px; color: var(--ink); padding: 16px 30px; font: 500 16px/1 var(--font-body); }
.pp-form-button:hover:not(:disabled) { border-color: var(--ink); }
.pp-form-success { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; font-size: 17px; color: var(--ink); }
.form-foot { max-width: 920px; margin: 22px auto 0; text-align: center; font-size: 15px; line-height: 1.7; color: var(--muted); }
.form-foot a { color: var(--ink); border-bottom: 1px solid var(--rule); }
@media (max-width: 600px) { .form-card { padding: 24px 18px; border-radius: 20px; } }

/* Vetstoria online booking (appointment.html): the clinic's own widget, centred on the page grid. */
.booking-widget { max-width: 1040px; margin: 0 auto; min-height: 480px; }
