/* New Jersey Acupuncture & Wellness Center — njacupuncturewellness.com */

:root {
    --ink: #14211d;
    --jade: #1f3f36;
    --jade-2: #2c5a4c;
    --jade-soft: #e6eee9;
    --gold: #b38f58;
    --gold-light: #d7bd8f;
    --seal: #9a3a2c;
    --cream: #f5efe3;
    --paper: #fbf8f2;
    --white: #ffffff;
    --text: #2a3531;
    --muted: #5c6a64;
    --line: rgba(20, 33, 29, 0.12);
    --radius: 14px;
    --shadow: 0 18px 50px -24px rgba(20, 33, 29, 0.35);
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
    --transition: all 0.3s ease;
    /* footer template variables */
    --primary-color: var(--jade);
    --dark-color: var(--ink);
    --accent-color: var(--gold-light);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jade-2); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--seal); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
strong { color: var(--ink); font-weight: 600; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 0.55em;
    letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.1vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }

.skip-link:focus { left: 12px !important; top: 12px; z-index: 999; background: var(--white); padding: 8px 14px; }

/* ---------- utility bar ---------- */
.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    letter-spacing: 0.02em;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: var(--gold-light); }
.topbar a:hover { color: var(--white); }
.topbar span + span::before { content: "·"; margin: 0 10px; opacity: 0.5; }

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 248, 242, 0.94);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(20, 33, 29, 0.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }

.logo a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo a:hover { opacity: 0.8; color: var(--primary-color); }
.logo svg { width: 46px; height: 46px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; color: var(--ink); }
.logo-sub { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
    font: 500 14.5px/1 var(--sans);
    color: var(--ink);
    padding: 12px 12px;
    border: 0;
    background: none;
    cursor: pointer;
    border-radius: 8px;
    letter-spacing: 0.01em;
}
.nav > a:hover, .nav .dd > button:hover, .nav > a.active, .nav .dd.active > button { color: var(--seal); }
.nav .dd { position: relative; }
.nav .dd > button::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.dd-menu {
    position: absolute;
    top: 100%;
    left: -12px;
    min-width: 270px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 14.5px; line-height: 1.4; }
.dd-menu a:hover { background: var(--jade-soft); color: var(--jade); }
.nav .btn { margin-left: 10px; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 12px; width: 20px; height: 1.6px; background: var(--ink); content: ""; transition: var(--transition); }
.menu-toggle span { top: 22px; }
.menu-toggle span::before { top: -6px; left: 0; }
.menu-toggle span::after { top: 6px; left: 0; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    background: var(--jade);
    color: var(--white) !important;
    font: 600 14.5px/1 var(--sans);
    letter-spacing: 0.03em;
    border: 1px solid var(--jade);
    cursor: pointer;
    transition: var(--transition);
}
.btn:hover { background: var(--seal); border-color: var(--seal); transform: translateY(-1px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--white) !important; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn-line { background: transparent; color: var(--jade) !important; border-color: var(--jade); }
.btn-line:hover { background: var(--jade); color: var(--white) !important; border-color: var(--jade); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- hero ---------- */
.hero, .page-hero {
    position: relative;
    color: var(--white);
    background-color: var(--ink);
    background-size: cover;
    background-position: center;
    isolation: isolate;
}
.hero::before, .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(14, 26, 22, 0.92) 0%, rgba(14, 26, 22, 0.72) 45%, rgba(14, 26, 22, 0.28) 100%);
}
.hero { min-height: min(86vh, 820px); display: flex; align-items: center; padding: 110px 0 120px; }
.page-hero { padding: 92px 0 96px; }
.hero h1, .page-hero h1 { color: var(--white); max-width: 15ch; }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 600px; color: rgba(255, 255, 255, 0.86); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font: 600 12.5px/1 var(--sans);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hero .eyebrow, .page-hero .eyebrow, .dark .eyebrow { color: var(--gold-light); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.18); max-width: 640px; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.hero-meta strong { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--gold-light); line-height: 1.1; }

.crumbs { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); margin-bottom: 22px; }
.crumbs a { color: rgba(255, 255, 255, 0.85); }
.crumbs a:hover { color: var(--gold-light); }
.crumbs span { margin: 0 8px; opacity: 0.5; }

/* ---------- sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section.tight { padding: clamp(50px, 6vw, 80px) 0; }
.section.alt { background: var(--cream); }
.section.jade { background: var(--jade-soft); }
.section.dark { background: var(--jade); color: rgba(255, 255, 255, 0.84); }
.dark h2, .dark h3, .dark h4, .dark strong { color: var(--white); }
.dark a:not(.btn) { color: var(--gold-light); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.dark .section-head p { color: rgba(255, 255, 255, 0.75); }
.lead { font-size: 1.15rem; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.wide-text { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse > :first-child { order: 2; }
.media { position: relative; }
.media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.media.tall img { aspect-ratio: 4 / 5; }
.media.wide img { aspect-ratio: 4 / 3; }
.media .badge {
    position: absolute;
    left: -22px;
    bottom: 34px;
    background: var(--white);
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: var(--shadow);
    max-width: 240px;
    font-size: 14px;
    line-height: 1.5;
}
.media .badge strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--seal); }
.media-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-stack img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.media-stack img:last-child { margin-top: 48px; }

/* ---------- cards ---------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 0.4em; }
.card-body p { color: var(--muted); font-size: 15.5px; }
.card-link { margin-top: auto; font-weight: 600; font-size: 14px; letter-spacing: 0.04em; color: var(--jade-2); }
.card-link::after { content: " →"; }
a.card { color: inherit; }

.tile {
    padding: 30px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: var(--transition);
}
.tile:hover { border-color: var(--gold); }
.tile .num { font-family: var(--serif); font-size: 2.1rem; color: var(--gold); line-height: 1; margin-bottom: 14px; display: block; }
.tile h3 { font-size: 1.45rem; }
.tile p { color: var(--muted); font-size: 15.5px; margin-bottom: 0; }
.dark .tile { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }
.dark .tile p { color: rgba(255, 255, 255, 0.72); }

/* ---------- lists ---------- */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 0.7em; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) translateY(-4px); }
.cols-2 { columns: 2; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.pills li, .pills a { margin: 0; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14.5px; color: var(--text); }
.pills a:hover { border-color: var(--jade-2); color: var(--jade); }
.dark .pills li { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.86); }

/* ---------- key facts (GEO answer box) ---------- */
.keyfacts {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 30px 34px;
    box-shadow: 0 10px 40px -30px rgba(20, 33, 29, 0.5);
}
.keyfacts h2 { font-size: 1.7rem; margin-bottom: 0.6em; }
.keyfacts dl { display: grid; grid-template-columns: 190px 1fr; gap: 12px 24px; margin: 0; }
.keyfacts dt { font-weight: 600; color: var(--ink); font-size: 15px; }
.keyfacts dd { margin: 0; color: var(--muted); font-size: 15.5px; }

.answer-lede { font-size: 1.12rem; padding: 22px 26px; background: var(--jade-soft); border-radius: 12px; color: var(--ink); }

/* ---------- prose ---------- */
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 500; color: var(--gold-light); line-height: 1.1; }
.stat span { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- testimonials ---------- */
.quote {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 32px 30px;
    position: relative;
    break-inside: avoid;
    margin-bottom: 26px;
}
.quote::before { content: "\201C"; position: absolute; top: 6px; right: 24px; font-family: var(--serif); font-size: 5.5rem; line-height: 1; color: var(--gold-light); opacity: 0.6; }
.quote .tag { display: inline-block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--seal); font-weight: 600; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 18px; font-size: 16px; color: var(--text); }
.quote cite { font-style: normal; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.quote cite small { display: block; font-weight: 400; color: var(--muted); }
.masonry { columns: 3; column-gap: 26px; }
.quote.feature { padding: 46px 48px; }
.quote.feature blockquote { font-family: var(--serif); font-size: 1.55rem; line-height: 1.45; color: var(--ink); }
.dark .quote { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.dark .quote blockquote { color: rgba(255, 255, 255, 0.9); }
.dark .quote cite { color: var(--white); }
.dark .quote cite small { color: rgba(255, 255, 255, 0.65); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-bar button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: 500 14px var(--sans); cursor: pointer; color: var(--text); }
.filter-bar button.on, .filter-bar button:hover { background: var(--jade); border-color: var(--jade); color: var(--white); }

/* ---------- practitioner ---------- */
.doctor { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.doctor-photo { position: sticky; top: 110px; }
.doctor-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; box-shadow: var(--shadow); }
.doctor-photo .creds { margin-top: 20px; font-size: 14px; color: var(--muted); }
.doctor .role { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ---------- locations ---------- */
.loc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.loc-card h3 { margin-bottom: 0.3em; }
.loc-card .town { font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--seal); font-weight: 600; }
.loc-card dl { margin: 20px 0 24px; display: grid; grid-template-columns: 82px 1fr; gap: 8px 14px; font-size: 15.5px; }
.loc-card dt { font-weight: 600; color: var(--ink); }
.loc-card dd { margin: 0; color: var(--muted); }
.map-frame { border: 0; width: 100%; height: 340px; border-radius: var(--radius); filter: grayscale(0.25); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 46px 22px 0;
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--ink);
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--sans); font-weight: 300; font-size: 1.8rem; color: var(--gold); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--muted); }
.faq-group h2 { font-size: 1.9rem; margin: 56px 0 10px; }
.faq-group h2:first-child { margin-top: 0; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    background: var(--ink) center/cover no-repeat;
    color: rgba(255, 255, 255, 0.84);
    padding: clamp(70px, 9vw, 110px) 0;
    isolation: isolate;
    text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(14, 26, 22, 0.8); z-index: -1; }
.cta-band h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta-band p { max-width: 640px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- related ---------- */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.related a { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; }
.related a small { display: block; font-family: var(--sans); font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.related a:hover { border-color: var(--gold); transform: translateY(-2px); }

.notice { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 30px; }

/* ---------- contact form ---------- */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.05em; color: var(--ink); margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: 400 16px var(--sans);
    background: var(--white);
    color: var(--text);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold-light); border-color: var(--gold); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.form-panel { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- footer (standard template) ---------- */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4.5rem 0 1rem;
    margin-top: 0;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.4rem;
    margin-bottom: 2rem;
}
.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.35rem;
}
.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 15px;
}
.footer-section p { margin-bottom: 0.8em; }
.footer-section a:hover { color: var(--accent-color); }
.footer-brand svg { width: 52px; height: 52px; margin-bottom: 14px; color: var(--gold-light); }
.social { display: flex; gap: 12px; margin-top: 14px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}
.footer-bottom p { margin-bottom: 0.5rem; }
.footer-disclaimer { max-width: 860px; margin: 0 auto 1rem; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.footer-partner {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.footer-partner a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}
.footer-partner a:hover { color: var(--white); }

.mobile-bar { display: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
    .nav > a, .nav .dd > button { padding: 12px 8px; font-size: 14px; }
    .logo-name { font-size: 1.15rem; }
}
@media (max-width: 1180px) {
    .menu-toggle { display: block; }
    .nav {
        position: fixed;
        inset: 82px 0 0 0;
        background: var(--paper);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 24px 120px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        gap: 0;
    }
    .menu-open .nav { transform: none; }
    .nav > a, .nav .dd > button { padding: 15px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; text-align: left; width: 100%; }
    .nav .dd > button::after { float: right; margin-top: 4px; }
    .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; display: none; min-width: 0; background: transparent; }
    .dd.open .dd-menu { display: block; }
    .nav .btn { margin: 22px 0 0; justify-content: center; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .masonry { columns: 2; }
    .split, .split.wide-text { grid-template-columns: 1fr; }
    .split.reverse > :first-child { order: 0; }
    .doctor { grid-template-columns: 1fr; gap: 30px; }
    .doctor-photo { position: static; max-width: 300px; }
    .media .badge { left: 16px; }
}
@media (max-width: 680px) {
    body { font-size: 16px; padding-bottom: 64px; }
    .topbar .container { justify-content: center; text-align: center; }
    .topbar .hide-sm { display: none; }
    .header-inner { min-height: 72px; }
    .nav { inset: 72px 0 0 0; }
    .logo svg { width: 38px; height: 38px; }
    .logo-name { font-size: 1.02rem; }
    .logo-sub { font-size: 9.5px; letter-spacing: 0.16em; }
    .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
    .masonry { columns: 1; }
    .cols-2 { columns: 1; }
    .hero { min-height: 0; padding: 80px 0 90px; }
    .page-hero { padding: 64px 0 70px; }
    .keyfacts { padding: 24px 22px; }
    .keyfacts dl { grid-template-columns: 1fr; gap: 2px; }
    .keyfacts dd { margin-bottom: 12px; }
    .contact-form { grid-template-columns: 1fr; }
    .media-stack img:last-child { margin-top: 24px; }
    .quote.feature { padding: 34px 26px; }
    .quote.feature blockquote { font-size: 1.3rem; }
    .mobile-bar {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 120;
        background: var(--ink);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    .mobile-bar a { color: var(--white); text-align: center; padding: 16px 6px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.03em; }
    .mobile-bar a + a { border-left: 1px solid rgba(255, 255, 255, 0.12); }
    .mobile-bar a:last-child { background: var(--gold); color: var(--ink); }
}

/* ---------- misc ---------- */
img.portrait { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; box-shadow: var(--shadow); }
.tile h3 a { color: var(--ink); }
.tile h3 a:hover { color: var(--seal); }
.dark .tile h3 a { color: var(--white); }
.nav > a.btn { background: var(--jade); color: var(--white); padding: 13px 22px; border-radius: 999px; }
.nav > a.btn:hover { background: var(--seal); color: var(--white); }
@media (max-width: 1180px) { .nav > a.btn { border-bottom: 0; border-radius: 999px; padding: 16px 22px; } }
.pills li:has(> a) { padding: 0; border: 0; background: none; }
.pills a { display: inline-block; }
footer strong { color: var(--white); font-weight: 600; }
.quote .tag { padding-right: 48px; }
