/*
  Designed and developed by Wave Agency
  Version 3-1-1
*/

/* ============================================================
   Destination Dental  |  Hauppauge, NY
   Classy black-and-white dental brand. Patient first.
   ------------------------------------------------------------
   1. Fonts         6. Buttons       11. Doctor
   2. Tokens        7. Header        12. Benefits
   3. Base          8. Hero          13. Safety / comfort
   4. Type          9. Trust bar     14. Quote / CTA
   5. Layout        10. Services     15. Forms / footer / resp.
   ============================================================ */

/* 1. Fonts --------------------------------------------------- */
@font-face { font-family:"Fraunces"; src:url("../../fonts/fraunces-400.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Fraunces"; src:url("../../fonts/fraunces-400-italic.woff2") format("woff2"); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:"Fraunces"; src:url("../../fonts/fraunces-600.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Hanken Grotesk"; src:url("../../fonts/hanken-400.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Hanken Grotesk"; src:url("../../fonts/hanken-500.woff2") format("woff2"); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:"Hanken Grotesk"; src:url("../../fonts/hanken-600.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Hanken Grotesk"; src:url("../../fonts/hanken-700.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }

/* 2. Tokens -------------------------------------------------- */
:root {
  --ink: #101010;
  --ink-soft: #2c2c2c;
  --paper: #ffffff;
  --paper-2: #f7f6f3;
  --paper-3: #efeee9;
  --grey: #6c6c6c;
  --grey-2: #9a9a96;
  --line: #e6e5e0;
  --line-dark: rgba(255,255,255,0.14);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --step--1: clamp(0.84rem, 0.81rem + 0.14vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.55rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(2.1rem, 1.6rem + 2vw, 3.1rem);
  --step-4:  clamp(2.7rem, 1.9rem + 3.4vw, 4.5rem);
  --step-5:  clamp(3.1rem, 2rem + 4.6vw, 5.6rem);

  --wrap: 1200px;
  --wrap-narrow: 760px;
  --gut: clamp(1.2rem, 0.6rem + 2.6vw, 2.75rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 3. Base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

/* 4. Type ---------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--step-5); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: var(--step-4); font-weight: 400; letter-spacing: -0.018em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { text-wrap: pretty; }
em, .italic { font-style: italic; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-body); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow.is-plain::before { display: none; }
.eyebrow.is-light { color: var(--grey-2); }
.eyebrow.is-center { justify-content: center; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); font-weight: 400; }
.muted { color: var(--grey); }
.serif { font-family: var(--font-display); }

/* 5. Layout -------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: clamp(3.5rem, 2.2rem + 5.5vw, 8rem); }
.section--tight { padding-block: clamp(2.4rem, 1.8rem + 3vw, 4.5rem); }
.bg-soft { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--paper); }
.section-head { max-width: 60ch; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 + p { margin-top: 1.2rem; }
.section-head p { max-width: 56ch; color: var(--grey); }
.section-head.is-center p { margin-inline: auto; }
.divider { height: 1px; background: var(--line); border: 0; }

/* 6. Buttons ------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; font-family: var(--font-body); font-weight: 600; font-size: 0.94rem; letter-spacing: 0.01em; padding: 1rem 1.9rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--invert { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--invert:hover { background: transparent; color: var(--paper); }
.btn--on-dark { background: transparent; color: var(--paper); border-color: var(--line-dark); }
.btn--on-dark:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.tlink { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.95rem; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: gap 0.25s var(--ease); }
.tlink svg { width: 0.95em; height: 0.95em; transition: transform 0.25s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* image placeholder (elegant) */
.ph { position: relative; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; }
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--landscape { aspect-ratio: 3 / 2; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--tall { aspect-ratio: 5 / 7; }
.ph__inner { text-align: center; padding: 1.2rem; }
.ph__icon { width: 30px; height: 30px; margin: 0 auto 0.7rem; color: var(--grey-2); }
.ph__label { display: block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.ph__meta { display: block; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--grey-2); margin-top: 0.4rem; }
.ph.alt { background: var(--paper); }
.ph.on-ink { background: #1b1b1b; border-color: var(--line-dark); }
.ph.on-ink .ph__label, .ph.on-ink .ph__meta, .ph.on-ink .ph__icon { color: var(--grey-2); }

/* 7. Header -------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.88); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__mark { width: 28px; height: 28px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.01em; color: var(--ink); }
.brand__tag { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-2); margin-top: 0.3rem; }
.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav a { font-size: 0.95rem; font-weight: 500; color: var(--grey); padding: 0.55rem 0.95rem; transition: color 0.2s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-phone { font-weight: 600; font-size: 0.95rem; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 1rem; height: 1rem; display: inline-block; vertical-align: -2px; margin-right: 0.35rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--ink); background: transparent; cursor: pointer; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 1.5px; margin-inline: auto; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4.5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-1.5px) rotate(-45deg); }

/* 8. Hero ---------------------------------------------------- */
.hero { border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(1.8rem, 1rem + 3vw, 4rem); align-items: center; padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.hero__copy { max-width: 36ch; }
.hero h1 { margin-top: 1.4rem; }
.hero h1 em { font-style: italic; }
.hero__sub { margin-top: 1.6rem; font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.hero__cta { margin-top: 2.2rem; }
.hero__trust { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.86rem; color: var(--grey); }
.hero__trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__trust span::before { content: ""; width: 5px; height: 5px; background: var(--ink); border-radius: 50%; }
.hero__media .ph { min-height: 460px; }

/* 9. Trust bar ----------------------------------------------- */
.trustbar { border-bottom: 1px solid var(--line); }
.trustbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem; }
.trustbar__item { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; color: var(--ink-soft); }
.trustbar__item svg { width: 1.2rem; height: 1.2rem; color: var(--ink); flex: none; }

/* 10. Services ----------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 0.6rem + 1.6vw, 2rem); margin-top: clamp(2.2rem, 1.6rem + 2vw, 3.5rem); }
.svc { display: flex; flex-direction: column; }
.svc__media { margin-bottom: 1.2rem; overflow: hidden; }
.svc__media .ph { transition: transform 0.5s var(--ease); }
.svc:hover .svc__media .ph { transform: scale(1.03); }
.svc h3 { font-size: var(--step-1); }
.svc p { margin-top: 0.5rem; font-size: 0.96rem; color: var(--grey); }
.svc .tlink { margin-top: 1rem; align-self: flex-start; }

/* 11. Doctor ------------------------------------------------- */
.doctor { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.8rem, 1rem + 4vw, 4.5rem); align-items: center; }
.doctor__media .ph { min-height: 480px; }
.doctor__copy { max-width: 52ch; }
.doctor h2 { margin-top: 1.1rem; }
.doctor__sub { margin-top: 1.3rem; }
.doctor__points { margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.doctor__points li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.doctor__points svg { width: 1.4rem; height: 1.4rem; color: var(--ink); margin-top: 0.15rem; }
.doctor__points strong { font-weight: 600; }
.doctor__points span.t { display: block; color: var(--grey); font-size: 0.94rem; margin-top: 0.1rem; }
.doctor .btn-row { margin-top: 2rem; }

/* 12. Benefits ----------------------------------------------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 0.8rem + 2vw, 3rem); margin-top: clamp(2.4rem, 1.6rem + 2vw, 3.5rem); }
.benefit { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.benefit__icon { width: 2rem; height: 2rem; color: var(--ink); margin-bottom: 1.1rem; }
.benefit h3 { font-size: var(--step-1); }
.benefit p { margin-top: 0.6rem; color: var(--grey); font-size: 0.96rem; }
.bg-ink .benefit { border-top-color: var(--paper); }
.bg-ink .benefit__icon { color: var(--paper); }
.bg-ink .benefit p { color: var(--grey-2); }

/* 13. Safety / comfort --------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 1rem + 4vw, 4.5rem); align-items: center; }
.split--flip .split__media { order: -1; }
.split__media .ph { min-height: 420px; }
.feature-list { margin-top: 1.8rem; display: grid; gap: 1.3rem; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.feature-list svg { width: 1.5rem; height: 1.5rem; color: var(--ink); margin-top: 0.1rem; }
.feature-list strong { display: block; font-weight: 600; font-size: 1.04rem; }
.feature-list span.t { color: var(--grey); font-size: 0.94rem; }

/* 14. Quote / CTA -------------------------------------------- */
.quote { max-width: 760px; margin-inline: auto; text-align: center; }
.quote blockquote { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: var(--step-3); line-height: 1.25; letter-spacing: -0.01em; max-width: none; }
.quote .mark { font-family: var(--font-display); font-size: 4rem; line-height: 0.5; color: var(--ink); display: block; margin-bottom: 1rem; }
.bg-ink .quote blockquote, .bg-ink .quote .mark { color: var(--paper); }
.quote__by { margin-top: 1.8rem; font-size: 0.9rem; letter-spacing: 0.04em; }
.quote__by strong { display: block; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; }
.quote__by span { color: var(--grey); }
.bg-ink .quote__by span { color: var(--grey-2); }

.cta-band { text-align: center; max-width: 40ch; margin-inline: auto; }
.cta-band h2 { margin-top: 1rem; }
.cta-band p { margin-top: 1.1rem; color: var(--grey-2); }
.cta-band .btn-row { margin-top: 2rem; justify-content: center; }
.cta-band .fineprint { margin-top: 1.5rem; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--grey-2); }

/* 15a. Prose / page hero ------------------------------------- */
.page-hero { border-bottom: 1px solid var(--line); padding-block: clamp(2.6rem, 2rem + 3vw, 4.5rem); }
.page-hero .crumb { margin-bottom: 1.4rem; }
.page-hero h1 { font-size: var(--step-4); max-width: 18ch; }
.page-hero p { margin-top: 1.3rem; max-width: 56ch; font-size: var(--step-1); color: var(--ink-soft); }
.crumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.84rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }
.crumb a:hover { color: var(--ink); }
.crumb span { color: var(--grey-2); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; font-size: var(--step-1); }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul.bullets li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; padding: 0.3rem 0; }
.prose ul.bullets svg { width: 1.15rem; height: 1.15rem; min-width: 1.15rem; color: var(--ink); margin-top: 0.3rem; }

/* campus list (de-emphasized, used on inner pages only) */
.campus-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.campus-list li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.campus-list .n { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.campus-list .d { display: block; color: var(--grey); font-size: 0.92rem; margin-top: 0.2rem; }
.campus-list .s { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-2); white-space: nowrap; }

/* 15b. Forms ------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.8rem, 1rem + 4vw, 4rem); align-items: start; }
.info-list { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.info-item { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.info-item dt { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); font-weight: 600; }
.info-item dd { font-family: var(--font-display); font-size: 1.3rem; }
.info-item dd small { display: block; font-family: var(--font-body); font-size: 0.9rem; color: var(--grey); margin-top: 0.25rem; }
.form-card { border: 1px solid var(--ink); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.form-card h3 { font-size: var(--step-2); }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-bottom: 0.45rem; }
.field input, .field select, .field textarea { width: 100%; background: var(--paper); border: 1px solid var(--line); padding: 0.85rem 0.9rem; font-size: 0.98rem; color: var(--ink); transition: border-color 0.2s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: var(--grey-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.78rem; color: var(--grey); margin-top: 0.5rem; }
.form-status { font-size: 0.95rem; margin-top: 0.9rem; font-weight: 600; }
.map-embed { border: 1px solid var(--line); width: 100%; aspect-ratio: 16 / 10; filter: grayscale(1) contrast(1.04); margin-top: 1.8rem; }

/* 15c. Footer ------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 2rem; padding-bottom: 2.6rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand__name { color: var(--paper); }
.footer-brand .brand__tag { color: var(--grey-2); }
.footer-brand p { margin-top: 1.1rem; font-size: 0.92rem; color: var(--grey-2); max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 1.1rem; }
.footer-col li + li { margin-top: 0.6rem; }
.footer-col a, .footer-col p { font-size: 0.94rem; color: var(--paper); }
.footer-col a:hover { color: var(--grey-2); }
.footer-col p { color: var(--grey-2); }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.3rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--paper); transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.footer-social a:hover { background: var(--paper); color: var(--ink); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between; font-size: 0.82rem; color: var(--grey-2); }
.footer-bottom a:hover { color: var(--paper); }

.brand__logo { height: 22px; width: auto; display: block; }

/* appointments (new + existing patients) */
.appt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.1rem, 0.6rem + 1.6vw, 1.8rem); margin-top: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); }
.appt-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); display: flex; flex-direction: column; }
.appt-tag { display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); background: var(--ink); padding: 0.4rem 0.8rem; margin-bottom: 1.2rem; }
.appt-card h3 { font-size: var(--step-2); }
.appt-card p { margin-top: 0.7rem; color: var(--grey); flex: 1; }
.appt-card .btn { margin-top: 1.6rem; align-self: flex-start; }
.appt-call { text-align: center; margin-top: 1.8rem; color: var(--grey); }
.appt-call a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--ink); }

/* helpers */
.reveal { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; }
.skip-link { position: absolute; left: 0.7rem; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; transition: top 0.2s var(--ease); }
.skip-link:focus { top: 0.7rem; }

/* responsive */
@media (max-width: 1000px) {
  .hero__grid, .doctor, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media .ph, .doctor__media .ph { min-height: 0; aspect-ratio: 16 / 10; }
  .split--flip .split__media { order: 0; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr; gap: 0; }
  .benefit { border-top: 1px solid var(--line); padding-block: 1.6rem; }
  .benefit:first-child { border-top: 2px solid var(--ink); }
  .bg-ink .benefit { border-top-color: var(--line-dark); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .site-header.is-open .nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.4rem var(--gut) 1rem; }
  .site-header.is-open .nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .svc-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .trustbar__inner { justify-content: flex-start; }
  .appt-grid { grid-template-columns: 1fr; }
  .brand__logo { height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ===== Home refinements (3-1-3) ===== */
/* Two-row header: nav links sit under the logo */
.header-grid { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand actions" "nav nav"; align-items: center; column-gap: 1rem; row-gap: 0.55rem; padding-block: 0.9rem; }
.header-grid > .brand { grid-area: brand; }
.header-grid > .header-actions { grid-area: actions; justify-self: end; }
.header-grid > .nav { grid-area: nav; justify-content: flex-start; gap: 0; margin-left: -0.95rem; }
.header-grid .nav a { padding: 0.35rem 0.95rem; }

/* Striped services showcase: alternating white / light-grey bands */
#services .section-head { padding-bottom: 0; }
.svc-band { padding-block: clamp(2.4rem, 1.8rem + 2.5vw, 4.2rem); }
.svc-band.bg-soft { background: var(--paper-2); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 1rem + 3vw, 4rem); align-items: center; }
.svc-row--flip .svc-row__media { order: 2; }
.svc-row__media .ph { aspect-ratio: 3 / 2; }
.svc-row__num { display: inline-block; font-family: var(--font-display); font-size: 1.1rem; color: var(--grey-2); margin-bottom: 0.6rem; }
.svc-row__copy h3 { font-size: var(--step-3); }
.svc-row__copy p { margin-top: 0.9rem; color: var(--grey); max-width: 46ch; font-size: 1.02rem; }
.svc-row__copy .tlink { margin-top: 1.4rem; }

@media (max-width: 1000px) {
  .svc-row { grid-template-columns: 1fr; gap: 1.4rem; }
  .svc-row--flip .svc-row__media, .svc-row__media { order: -1; }
  .svc-row__media .ph { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .header-grid { grid-template-areas: "brand actions"; }
}
