/* Design tokens first: restyle the whole site from here. Every class is namespaced with the
   site prefix ("atd-" by default, see cssPrefix in site.config.mjs). Never use generic names
   like .hero or .card: ad-block cosmetic filters hide them. */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Jost:wght@400;500&display=swap");

:root {
  /* Brand: black and silver */
  --atd-black: #0e0e0f;
  --atd-charcoal: #1a1a1c;
  --atd-graphite: #4b4b50;
  --atd-silver: #c4c6cb;
  --atd-silver-light: #e7e8ea;
  --atd-mist: #f1f1f2;
  --atd-line: #d3d4d8;
  --atd-white: #ffffff;
  --atd-silver-btn: linear-gradient(180deg, #f2f3f4, #c9cbd0);
  --atd-silver-btn-edge: #c9cbd0;
  --atd-silver-btn-ink: #111111;
  /* Veterans band only */
  --atd-navy: #1b2a4a;
  --atd-red: #b22234;
  --atd-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --atd-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --atd-wrap: 1200px;
  --atd-gutter: clamp(20px, 4vw, 48px);
  --atd-section: clamp(72px, 9vw, 128px);
  /* Starter names, mapped onto the brand so every section block follows it */
  --color-bg: var(--atd-white);
  --color-surface: var(--atd-mist);
  --color-text: var(--atd-graphite);
  --color-heading: var(--atd-black);
  --color-muted: var(--atd-graphite);
  --color-brand: var(--atd-black);
  --color-brand-dark: var(--atd-charcoal);
  --color-brand-contrast: var(--atd-white);
  --color-border: var(--atd-line);
  --color-focus: var(--atd-black);
  --font-body: var(--atd-sans);
  --font-heading: var(--atd-serif);
  --radius: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --header-height: 4.5rem;
  /* Spacing standard, Comfortable scale: the values WordPress renders. Mobile first, desktop below. */
  --sfd-sect-y: 56px;
  --sfd-sect-x: 20px;
  --sfd-content-max: 1140px;
  --sfd-gap: 20px;
  --sfd-card-p: 26px;
  --sfd-card-r: 0;
  --sfd-btn-py: 12px;
  --sfd-btn-px: 24px;
  --sfd-btn-r: 0;
  --sfd-r-eyebrow: 16px;
  --sfd-r-head: 12px;
  --sfd-r-body: 14px;
  --sfd-r-secthead: 36px;
  --sfd-r-list: 10px;
  --max-width: var(--sfd-content-max);
}
@media (min-width: 48em) {
  :root { --sfd-sect-y: 48px; --sfd-sect-x: 48px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; font-weight: 400; line-height: 1.65; color: var(--color-text); background: var(--color-bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; line-height: 1.08; letter-spacing: 0.005em; margin: 0 0 var(--sfd-r-head); color: var(--color-heading); }
h1 { font-size: clamp(2.5rem, 4.2vw, 3.9rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
p { margin: 0 0 var(--sfd-r-body); }
a { color: inherit; text-underline-offset: 0.15em; }
a:hover { color: var(--atd-black); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

.atd-wrap { width: 100%; max-width: calc(var(--atd-wrap) + 2 * var(--atd-gutter)); margin: 0 auto; padding: 0 var(--atd-gutter); }
.atd-container { box-sizing: content-box; max-width: var(--sfd-content-max); margin-inline: auto; padding-inline: var(--sfd-sect-x); }
.atd-section { padding-block: var(--sfd-sect-y); }
.atd-prose { max-width: 44rem; }
.atd-container.atd-prose { margin-inline: auto; }
.atd-center { text-align: center; }
.atd-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.atd-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 10px 16px; background: var(--atd-black); color: #fff; text-decoration: none; }
.atd-skip:focus { left: 8px; }

/* Type */
.atd-eyebrow { display: inline-block; margin: 0 0 18px; font-family: var(--atd-sans); font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: 0.28em; text-transform: uppercase; color: var(--atd-graphite); }
.atd-h1, .atd-h2, .atd-h3 { font-family: var(--atd-serif); font-weight: 400; line-height: 1.08; letter-spacing: 0.005em; margin: 0; color: var(--atd-black); }
.atd-h1 { font-size: clamp(2.5rem, 4.2vw, 3.9rem); }
.atd-h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); }
.atd-h3 { display: block; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.atd-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--atd-graphite); margin: 20px 0 0; max-width: 34em; }
.atd-center .atd-lede { margin-left: auto; margin-right: auto; }
.atd-fine { margin: 28px 0 0; font-size: 13.5px; color: var(--atd-graphite); }

/* Launch flags: visible markers for copy, photos and links still to confirm */
.atd-flag { display: inline-block; margin: 0; padding: 3px 8px; border: 1px dashed currentColor; font-family: var(--atd-sans); font-size: 10.5px; font-weight: 500; font-style: normal; letter-spacing: 0.06em; line-height: 1.4; text-transform: none; color: var(--atd-graphite); vertical-align: middle; }
.atd-flag--light { color: rgb(255 255 255 / 0.9); }
.atd-flag--dark { color: var(--atd-silver); }
.atd-flag--photo { position: absolute; left: 12px; top: 12px; z-index: 2; max-width: calc(100% - 24px); background: rgb(255 255 255 / 0.94); color: var(--atd-black); }

/* Buttons */
.atd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: var(--sfd-btn-py) var(--sfd-btn-px); border: 1px solid var(--atd-black); border-radius: var(--sfd-btn-r); font-family: var(--atd-sans); font-size: 12.5px; font-weight: 500; line-height: 1.2; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.atd-btn--primary { background: var(--atd-black); color: #fff; }
.atd-btn--primary:hover { background: var(--atd-graphite); border-color: var(--atd-graphite); color: #fff; }
.atd-btn--outline { background: transparent; color: var(--atd-black); }
.atd-btn--outline:hover { background: var(--atd-black); color: #fff; }
.atd-btn--light { background: #fff; color: var(--atd-black); border-color: #fff; }
.atd-btn--light:hover { background: var(--atd-black); border-color: var(--atd-black); color: #fff; }
.atd-btn--silver { background: var(--atd-silver-btn); border-color: var(--atd-silver-btn-edge); color: var(--atd-silver-btn-ink); }
.atd-btn--silver:hover { background: #fff; border-color: #fff; color: var(--atd-silver-btn-ink); }
.atd-btn--red { background: var(--atd-red); border-color: var(--atd-red); color: #fff; }
.atd-btn--red:hover { background: #fff; border-color: #fff; color: var(--atd-red); }
.atd-btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.atd-btn--outline-light:hover { background: rgb(255 255 255 / 0.15); color: #fff; }
.atd-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.atd-btn-row[hidden], .atd-eyebrow[hidden] { display: none; }
.atd-center .atd-btn-row { justify-content: center; }

.atd-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--atd-black); font-size: 12.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--atd-black); }
.atd-link:hover { color: var(--atd-graphite); border-bottom-color: var(--atd-graphite); }
.atd-link::after { content: "\2192"; letter-spacing: 0; font-size: 14px; }

/* Header: utility bar, then phone, logo and Book Appointment, then the menu */
.atd-header { position: relative; z-index: 50; background: var(--atd-white); border-bottom: 1px solid var(--atd-line); }
.atd-utility { background: var(--atd-black); color: #fff; font-size: 12px; }
.atd-utility__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.atd-utility__va { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.atd-utility__va .atd-flag { font-size: 9.5px; letter-spacing: 0.06em; padding: 2px 7px; }
.atd-utility__list { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 0; padding: 0; list-style: none; }
.atd-utility__list li { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.atd-utility__label { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--atd-silver); }
.atd-utility__list a { color: #fff; text-decoration: none; border-bottom: 1px solid transparent; }
.atd-utility__list a:hover { color: #fff; border-bottom-color: #fff; }
.atd-utility :focus-visible, .atd-va-band :focus-visible, .atd-home-hero--brand :focus-visible, .atd-footer :focus-visible, .atd-hero :focus-visible { outline-color: #fff; }
.atd-utility__toggle { padding: 4px 10px; border: 1px solid var(--atd-silver); background: transparent; color: #fff; font: inherit; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.atd-utility__toggle::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.atd-utility__toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }

.atd-header__grid { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "phone logo actions" "nav nav nav"; align-items: center; column-gap: 24px; padding-top: 22px; }
.atd-logo { grid-area: logo; display: block; line-height: 0; }
.atd-logo img { width: 250px; }
.atd-header__phone { grid-area: phone; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--atd-graphite); }
.atd-header__phone a { color: var(--atd-black); text-decoration: none; white-space: nowrap; }
.atd-header__phone a:hover { color: var(--atd-graphite); }
.atd-header__phone span { display: inline-block; margin-right: 10px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--atd-graphite); }
.atd-header__hours { max-width: 34em; margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--atd-graphite); }
.atd-header__actions { grid-area: actions; display: flex; justify-content: flex-end; gap: 10px; }
.atd-header__actions .atd-btn { min-height: 42px; padding: 10px 18px; font-size: 11.5px; }

/* Navigation. Without JavaScript the desktop dropdowns open on hover and focus; site.js adds the buttons' behavior. */
.atd-nav { grid-area: nav; margin-top: 20px; border-top: 1px solid var(--atd-line); }
.atd-nav__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(24px, 4vw, 56px); margin: 0; padding: 0; list-style: none; }
.atd-nav__list > li { position: relative; }
.atd-nav__link { display: block; color: var(--atd-black); text-decoration: none; }
.atd-nav__list > li > .atd-nav__link { padding: 16px 0; border-bottom: 1px solid transparent; font-size: 12.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
.atd-nav__list > li > .atd-nav__link:hover { color: var(--atd-graphite); border-bottom-color: var(--atd-black); }
.atd-nav__link[aria-current="page"] { color: var(--atd-black); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
.atd-nav__list > li > .atd-nav__link[aria-current="page"] { text-decoration: none; border-bottom-color: var(--atd-black); }
.atd-nav__toggle { grid-area: toggle; display: none; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--atd-black); background: none; color: var(--atd-black); font-family: var(--atd-sans); font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }

/* Dropdowns: a button opens the submenu list it controls. */
.atd-nav__drop { border: 0; background: none; font: inherit; color: var(--atd-black); cursor: pointer; }
.atd-nav__drop::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.atd-nav__drop[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.atd-nav__item--current > .atd-nav__top { border-bottom-color: var(--atd-black); }
.atd-nav__sub { margin: 0; padding: 0; list-style: none; }
.atd-js .atd-nav__sub:not([data-open]) { display: none; }
/* A dropdown whose label is a link: the link, then a small button that opens the submenu. */
.atd-nav__item--split { display: flex; flex-wrap: wrap; align-items: center; }
.atd-nav__item--split > .atd-nav__sub { flex-basis: 100%; }
.atd-nav__drop--split { display: none; align-items: center; justify-content: center; min-width: 1.75rem; min-height: 2.75rem; padding: 0; }
.atd-js .atd-nav__drop--split { display: inline-flex; }
.atd-nav__drop--split::after { margin-left: 0; }

@media (max-width: 47.99em) {
  .atd-js .atd-nav__list { display: none; flex-direction: column; flex-wrap: nowrap; gap: 0; padding-bottom: var(--space-3); }
  .atd-js .atd-nav__list[data-open] { display: flex; }
  .atd-nav__list { flex-direction: column; gap: 0; }
  .atd-nav__list > li { border-bottom: 1px solid var(--atd-line); }
  .atd-nav__list > li > .atd-nav__link { padding: 14px 0; }
  .atd-nav__top { flex: 1; }
  .atd-nav__drop--split { min-width: 2.75rem; min-height: 2.75rem; }
  .atd-nav__drop:not(.atd-nav__drop--split) { width: 100%; text-align: left; }
  .atd-nav__sub { padding: 0 0 12px 16px; }
  .atd-nav__sub .atd-nav__link { padding: 7px 0; font-size: 15px; }
}
@media (min-width: 48em) {
  .atd-nav__toggle { display: none; }
  .atd-nav__item--drop { position: relative; }
  .atd-nav__item--split { flex-wrap: nowrap; }
  .atd-nav__drop--split { min-width: 16px; margin-left: 8px; }
  .atd-utility__toggle { display: none; }
  .atd-nav__sub { position: absolute; top: 100%; left: -24px; z-index: 60; min-width: 260px; padding: 12px 0; background: var(--atd-white); border: 1px solid var(--atd-line); border-top: 2px solid var(--atd-black); box-shadow: 0 16px 32px rgb(0 0 0 / 0.08); }
  html:not(.atd-js) .atd-nav__item--drop:not(:hover):not(:focus-within) > .atd-nav__sub { display: none; }
  .atd-js .atd-nav__item--drop:hover > .atd-nav__sub { display: block; }
  .atd-nav__sub .atd-nav__link { padding: 8px 24px; font-size: 15px; line-height: 1.35; white-space: nowrap; }
  .atd-nav__sub .atd-nav__link:hover { color: var(--atd-black); background: var(--atd-mist); }
}

/* Homepage hero */
.atd-home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(520px, 46vw, 680px); }
.atd-home-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 80px) clamp(48px, 6vw, 96px) max(var(--atd-gutter), calc((100vw - var(--atd-wrap)) / 2)); background: var(--atd-mist); }
.atd-home-hero__media { position: relative; overflow: hidden; background: var(--atd-silver-light); }
.atd-home-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 35%; }
.atd-home-hero__rule { width: 56px; height: 1px; margin: 0 0 28px; border: 0; background: var(--atd-black); }
.atd-home-hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 26px 0 0; font-size: 14px; color: var(--atd-graphite); }

/* Home hero, brand version: black copy panel, the practice name as the headline, silver text */
.atd-home-hero--brand .atd-home-hero__copy { background: var(--atd-black); color: var(--atd-silver); }
.atd-home-hero--brand .atd-eyebrow { color: var(--atd-silver); }
.atd-home-hero__title { margin: 0; font-family: var(--atd-serif); font-weight: 400; color: #fff; }
.atd-home-hero__brand { display: block; font-size: clamp(3.3rem, 6.2vw, 5.8rem); font-weight: 500; line-height: 0.95; letter-spacing: 0.12em; text-transform: uppercase; }
.atd-home-hero__lines { display: block; margin-top: 14px; font-size: clamp(1.6rem, 2.6vw, 2.45rem); font-style: italic; line-height: 1.15; letter-spacing: 0.01em; }
.atd-home-hero--brand .atd-home-hero__rule { margin: 30px 0 24px; background: var(--atd-silver); }
.atd-home-hero--brand .atd-lede { margin-top: 0; color: var(--atd-silver); }
.atd-home-hero--brand .atd-home-hero__trust { color: var(--atd-silver); }
.atd-home-hero--brand .atd-home-hero__copy .atd-flag { color: var(--atd-silver); }
.atd-home-hero--brand .atd-home-hero__media img { object-position: 80% 20%; }
/* Home hero photos rotate (site.js, data-hero-slides); without JavaScript the first slide stays */
.atd-hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.atd-hero-slide[data-active] { opacity: 1; }
/* Focal point for photos whose subjects sit left of center, so faces stay in frame at every crop */
.atd-home-hero__media img.atd-pos-left { object-position: 30% 35%; }
.atd-home-hero--brand .atd-home-hero__media img.atd-pos-left { object-position: 30% 20%; }
.atd-hero-slides__pause { position: absolute; left: 12px; bottom: 12px; z-index: 3; min-height: 40px; padding: 8px 16px; border: 1px solid rgb(255 255 255 / 0.6); background: rgb(14 14 15 / 0.72); color: #fff; font-family: var(--atd-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.atd-hero-slides__pause:hover { background: var(--atd-black); }
.atd-hero-slides__pause:focus-visible { outline: 2px solid var(--atd-black); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }

/* Three paths */
.atd-intro { padding: var(--atd-section) 0 calc(var(--atd-section) * 0.7); }
.atd-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 56px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--atd-line); }
.atd-paths li { padding: 32px 32px 8px; border-left: 1px solid var(--atd-line); }
.atd-paths li:first-child { padding-left: 0; border-left: 0; }
.atd-paths a { display: block; color: var(--atd-black); text-decoration: none; }
.atd-paths__num { display: block; margin-bottom: 8px; font-family: var(--atd-serif); font-size: 1.1rem; color: var(--atd-graphite); }
.atd-paths .atd-h3 { transition: color .2s ease; }
.atd-paths a:hover .atd-h3 { color: var(--atd-graphite); }
.atd-paths__text { display: block; margin-top: 10px; font-size: 15.5px; color: var(--atd-graphite); }

/* Service lines */
.atd-service { padding: var(--atd-section) 0; }
.atd-band-mist { background: var(--atd-mist); }
.atd-band-silver { background: var(--atd-silver-light); }
.atd-service__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.atd-service__grid--flip .atd-service__media { order: 2; }
.atd-service__media { position: relative; }
.atd-service__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.atd-service__media--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.atd-service__media--pair img { aspect-ratio: 3 / 4; }
.atd-service__media--pair img:nth-child(2) { margin-top: 56px; }
.atd-service__copy .atd-lede { margin-top: 18px; }
.atd-bullets { margin: 28px 0 28px; padding: 0; list-style: none; border-top: 1px solid var(--atd-line); }
.atd-bullets li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--atd-line); font-size: 16px; }
.atd-bullets li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 8px; height: 8px; margin-top: -4px; border: 1px solid var(--atd-graphite); border-radius: 50%; }
.atd-bullets .atd-flag { margin-left: 6px; }
.atd-service__note { margin: -8px 0 28px; padding: 12px 16px; border-left: 3px solid var(--atd-black); background: var(--atd-white); font-size: 15.5px; color: var(--atd-graphite); }
.atd-service__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* VA band: navy, red and white, a striped top edge and the flag */
.atd-va-band { position: relative; padding: clamp(64px, 7vw, 96px) 0 clamp(52px, 6vw, 84px); background: var(--atd-navy); color: #fff; }
.atd-va-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 15px; background: repeating-linear-gradient(180deg, var(--atd-red) 0 5px, #fff 5px 10px); }
.atd-va-band__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px clamp(36px, 5vw, 80px); align-items: center; }
.atd-va-band__flag { display: block; width: clamp(160px, 16vw, 232px); height: auto; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.6), 0 12px 28px rgb(0 0 0 / 0.35); }
.atd-va-band .atd-eyebrow { margin-bottom: 14px; color: #fff; }
.atd-va-band .atd-h2 { color: #fff; }
.atd-va-band .atd-lede { max-width: 38em; margin-top: 16px; color: #fff; }
.atd-va-band .atd-lede a, .atd-va-band .atd-lede a:hover { color: #fff; white-space: nowrap; }
.atd-va-band__preferred { max-width: 30em; margin: 16px 0 0; font-family: var(--atd-serif); font-size: clamp(1.3rem, 2vw, 1.6rem); font-style: italic; line-height: 1.3; color: #fff; }
.atd-va-band__preferred + .atd-lede { margin-top: 12px; }
.atd-va-band__flags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.atd-va-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

/* Assessment teaser */
.atd-assess { padding: calc(var(--atd-section) * 0.85) 0; }
.atd-assess__inner { max-width: 760px; margin: 0 auto; }
.atd-assess__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: atd-assess; font-size: 15px; color: var(--atd-black); }
.atd-assess__steps li { counter-increment: atd-assess; }
.atd-assess__steps li::before { content: counter(atd-assess, decimal-leading-zero); margin-right: 10px; font-family: var(--atd-serif); font-size: 1.15rem; color: var(--atd-graphite); }

/* Before and after */
.atd-ba { padding: var(--atd-section) 0; }
.atd-notice { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 8px 16px; border: 1px dashed var(--atd-graphite); background: var(--atd-white); font-size: 13px; letter-spacing: 0.04em; color: var(--atd-graphite); }
.atd-notice .atd-flag { border: 0; padding: 0; }
.atd-ba__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: 56px; }
.atd-ba__pair { margin: 0; }
@media (min-width: 48em) { .atd-ba__grid > .atd-ba__pair:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(12px, 2vw, 28px)); } }
.atd-ba__images { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; overflow: hidden; }
.atd-ba__images figure { position: relative; margin: 0; overflow: hidden; }
.atd-ba__images img { width: 100%; aspect-ratio: 368 / 540; object-fit: cover; }
.atd-ba__tag { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; background: rgb(255 255 255 / 0.92); color: var(--atd-black); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.atd-ba__pair figcaption { margin-top: 14px; font-size: 14px; color: var(--atd-graphite); }
.atd-ba__name { margin: 0; font-weight: 500; color: var(--atd-black); }
.atd-ba__name + .atd-fine { margin-top: 4px; }

/* Provider feature */
.atd-providers { padding: var(--atd-section) 0; }
.atd-provider { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 104px); align-items: center; max-width: 1000px; margin: 0 auto; }
.atd-provider__photo { position: relative; margin: 0; }
.atd-provider__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; background: #fff; }
.atd-provider__role { margin: 12px 0 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--atd-graphite); }
.atd-provider__copy .atd-lede { max-width: 26em; margin-top: 18px; }
.atd-provider__copy .atd-lede + p { margin-top: 12px; }
.atd-provider__quote { max-width: 24em; margin: 22px 0 30px; font-family: var(--atd-serif); font-size: 1.45rem; font-style: italic; line-height: 1.35; color: var(--atd-black); }
/* Provider quote with its byline */
.atd-provider__voice { margin: 26px 0 30px; }
.atd-provider__voice .atd-provider__quote { margin-top: 0; margin-bottom: 0; }
.atd-provider__quote > p { margin: 0; }
.atd-provider__by { margin-top: 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--atd-graphite); }
/* Experience highlights */
.atd-creds { margin: 30px 0 28px; }
.atd-creds__title { display: block; margin: 0 0 14px; }
.atd-creds__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--atd-line); border-left: 1px solid var(--atd-line); }
.atd-creds__list li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-right: 1px solid var(--atd-line); border-bottom: 1px solid var(--atd-line); background: var(--atd-white); }
.atd-creds__fig { font-family: var(--atd-serif); font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; color: var(--atd-black); font-variant-numeric: lining-nums; }
.atd-creds__text { font-size: 14.5px; line-height: 1.4; color: var(--atd-graphite); }

/* Memberships */
.atd-members { padding: var(--atd-section) 0; }
.atd-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.atd-tier { padding: 40px 32px 36px; border: 1px solid var(--atd-line); background: var(--atd-white); text-align: center; }
.atd-tier--gold { border-top: 3px solid var(--atd-black); }
.atd-tier .atd-eyebrow { display: block; margin: 0 0 10px; }
.atd-tier__price { margin: 6px 0 4px; font-family: var(--atd-serif); font-size: 3.2rem; line-height: 1; color: var(--atd-black); }
.atd-tier__price small { font-family: var(--atd-sans); font-size: 13px; letter-spacing: 0.08em; color: var(--atd-graphite); }
.atd-tier ul { margin: 26px 0 0; padding: 0; list-style: none; text-align: left; border-top: 1px solid var(--atd-line); }
.atd-tier li { padding: 10px 0; border-bottom: 1px solid var(--atd-line); font-size: 15px; }

/* Insurance line */
.atd-insurance { padding: 44px 0; border-top: 1px solid var(--atd-line); border-bottom: 1px solid var(--atd-line); }
.atd-insurance__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.atd-insurance__row > div { flex: 1 1 32em; }
.atd-insurance__lead { margin: 0; font-family: var(--atd-serif); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.3; color: var(--atd-black); }
.atd-insurance__note { margin: 10px 0 0; font-size: 15px; color: var(--atd-graphite); }

/* Location */
.atd-visit { padding: var(--atd-section) 0; }
.atd-visit__card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 64px); max-width: 920px; margin: 56px auto 0; padding: clamp(32px, 4vw, 52px); background: var(--atd-white); }
.atd-visit__name { margin-bottom: 22px; }
.atd-visit__facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 0; font-size: 15.5px; }
.atd-visit__facts dt { padding-top: 3px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--atd-graphite); }
.atd-visit__facts dd { margin: 0; }
.atd-visit__facts a { text-decoration: none; }
.atd-visit__dept { display: block; margin-top: 10px; font-size: 13px; color: var(--atd-graphite); }
.atd-visit__dept:first-child { margin-top: 0; }
.atd-visit__card .atd-btn-row { margin-top: 30px; }
.atd-visit__hours { padding-left: clamp(32px, 5vw, 64px); border-left: 1px solid var(--atd-line); }
.atd-visit__hours-head { margin: 8px 0 16px; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--atd-graphite); }
.atd-visit__hours-text { margin: 0; font-size: 17px; text-wrap: pretty; }
.atd-visit__hours .atd-fine { margin-top: 22px; }
.atd-visit__flag { margin: 24px 0 0; }
.atd-visit__book { margin-top: 40px; }

/* Closing call to action (cta-b) */
.atd-cta { padding: calc(var(--atd-section) * 0.85) 0; background: var(--atd-silver-light); text-align: center; }
.atd-cta__inner > :last-child { margin-bottom: 0; }
.atd-cta .atd-lede { margin-left: auto; margin-right: auto; }
.atd-cta .atd-btn-row { justify-content: center; }
.atd-cta__call { margin: 22px 0 0; font-size: 15px; color: var(--atd-graphite); }
.atd-cta__call a { color: var(--atd-black); }

/* Starter hero-b */
.atd-hero { background: var(--color-brand-dark); color: #fff; padding-block: var(--sfd-sect-y); }
.atd-hero h1, .atd-hero h2 { color: #fff; }
.atd-hero__inner { max-width: var(--max-width); }
.atd-hero__title { max-width: 18ch; }
.atd-hero__lead { max-width: 40rem; font-size: 1.25rem; }
.atd-hero .atd-btn { margin: 0 var(--space-2) var(--space-2) 0; }
.atd-hero__inner > :last-child { margin-bottom: 0; }
.atd-hero .atd-eyebrow { color: var(--color-brand-contrast); }

/* Cards and grids */
.atd-grid { display: grid; gap: var(--sfd-gap); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: var(--space-4); }
.atd-card { padding: var(--sfd-card-p); border: 1px solid var(--color-border); border-radius: var(--sfd-card-r); background: var(--color-bg); }
.atd-card > :last-child { margin-bottom: 0; }

/* Section blocks (tools/sections): every block's CSS ships on every site */
.atd-section__head { max-width: 44rem; margin-bottom: var(--sfd-r-secthead); }
.atd-section__head > p { font-size: 1.125rem; color: var(--color-muted); }
.atd-section__head > :last-child { margin-bottom: 0; }
.atd-section__head + .atd-grid { margin-top: 0; }
.atd-checklist { display: grid; gap: var(--sfd-r-list); margin: 0; padding: 0; list-style: none; }
.atd-checklist li { position: relative; padding-left: 1.75rem; }
.atd-checklist li::before { content: ""; position: absolute; left: 0.3rem; top: 0.3em; width: 0.45rem; height: 0.8rem; border: solid var(--color-brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.atd-checklist strong { display: block; }

/* hero-b */
.atd-hero--center { text-align: center; }
.atd-hero__actions { margin-top: var(--space-4); }
.atd-hero--center .atd-hero__title, .atd-hero--center .atd-hero__lead { margin-inline: auto; }
.atd-hero--center .atd-btn { margin-inline: var(--space-1); }

/* services-a */
.atd-card .atd-eyebrow { margin-bottom: var(--sfd-r-head); font-size: 0.8125rem; }
.atd-card .atd-checklist { margin-top: var(--sfd-r-body); padding-top: var(--sfd-r-body); border-top: 1px solid var(--color-border); }

/* process-a */
.atd-steps { display: grid; gap: var(--sfd-gap); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: atd-step; }
.atd-steps__item { counter-increment: atd-step; }
.atd-steps__item::before { content: counter(atd-step); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: var(--sfd-r-head); border-radius: 50%; background: var(--color-brand); color: var(--color-brand-contrast); font-size: 1.125rem; font-weight: 500; }
.atd-steps__item > :last-child { margin-bottom: 0; }

/* why-a */
.atd-why { display: grid; gap: var(--sfd-r-secthead); }
@media (min-width: 48em) { .atd-why { grid-template-columns: 3fr 2fr; align-items: center; } }
.atd-quote { margin: 0; padding: var(--sfd-card-p); border-radius: var(--sfd-card-r); background: var(--color-brand-dark); color: var(--color-brand-contrast); }
.atd-quote blockquote { margin: 0 0 var(--sfd-r-body); font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.4; }
.atd-quote blockquote > :last-child { margin-bottom: 0; }
.atd-quote figcaption { font-weight: 500; }

/* faq-a */
.atd-faq { max-width: 48rem; border-top: 1px solid var(--color-border); }
.atd-faq__item { border-bottom: 1px solid var(--color-border); }
.atd-faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-3); font-weight: 500; cursor: pointer; list-style: none; }
.atd-faq__q::-webkit-details-marker { display: none; }
.atd-faq__q::after { content: ""; flex: none; width: 0.6rem; height: 0.6rem; margin-top: -0.3rem; border: solid var(--color-brand); border-width: 0 1px 1px 0; transform: rotate(45deg); }
.atd-faq__item[open] > .atd-faq__q::after { margin-top: 0.3rem; transform: rotate(-135deg); }
.atd-faq__a { padding-bottom: var(--space-3); }
.atd-faq__a > :last-child { margin-bottom: 0; }

/* Contact page */
.atd-two-col { display: grid; gap: var(--space-5); }
@media (min-width: 52em) { .atd-two-col { grid-template-columns: 3fr 2fr; align-items: start; } }
.atd-panel { padding: var(--space-4); border-radius: var(--radius); background: var(--color-surface); }
.atd-contact-details { font-style: normal; }
.atd-contact-details > :last-child { margin-bottom: 0; }

/* Forms */
.atd-form { margin-top: var(--space-4); }
.atd-field { margin-bottom: var(--space-3); }
.atd-field label { display: block; margin-bottom: var(--space-1); font-weight: 500; }
.atd-field input, .atd-field textarea { width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--atd-graphite); border-radius: var(--radius); font: inherit; color: inherit; background: #fff; }
.atd-honeypot { display: none; }

/* Footer */
.atd-footer { padding: 88px 0 72px; background: var(--atd-charcoal); color: var(--atd-silver); font-size: 15px; }
.atd-footer a { color: #fff; text-decoration: none; }
.atd-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.atd-footer__grid { display: grid; grid-template-columns: 1.2fr 2fr 1.1fr; gap: 40px; }
.atd-footer__logo img { width: 220px; filter: invert(1); }
.atd-footer__va { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 22px 0 0; font-size: 14px; color: var(--atd-silver); }
.atd-footer__social { margin: 16px 0 0; }
.atd-footer__heading { margin: 0 0 16px; font-family: var(--atd-sans); font-size: 11.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--atd-silver); }
.atd-footer__address { margin-bottom: 16px; font-style: normal; color: var(--atd-silver); }
.atd-footer__hours { margin: 0; color: var(--atd-silver); text-wrap: pretty; }
.atd-footer__hours strong { display: block; font-weight: 500; color: #fff; }
.atd-social { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.atd-footer__list { margin: 0; padding: 0; list-style: none; }
.atd-footer__list li { padding: 4px 0; }
.atd-footer__nav--groups { display: grid; gap: 32px var(--space-4); grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.atd-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgb(196 198 203 / 0.3); font-size: 13.5px; color: var(--atd-silver); }
.atd-footer__legal { margin: 0; }
.atd-footer__legal-nav { font-size: 13.5px; }
.atd-footer__legal-list { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); margin: 0; padding: 0; list-style: none; }

/* Persistent booking: side tab on desktop, bottom bar on phones */
.atd-sidetab { position: fixed; right: 0; top: 50%; z-index: 90; padding: 24px 13px; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; background: var(--atd-black); color: #fff; text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--atd-silver), 0 6px 24px rgb(0 0 0 / 0.18); transition: background-color .2s ease, padding .2s ease; }
.atd-sidetab:hover { background: var(--atd-graphite); color: #fff; padding-right: 17px; }
/* Focus ring inside the tab, so it shows on any background */
.atd-sidetab:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.atd-mobilebar { display: none; }

/* Booking chooser: modal dialog opened by every Book Appointment button; without JavaScript they link to /book/ */
.atd-chooser { width: min(760px, calc(100% - 40px)); max-width: 760px; max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 0; background: transparent; color: var(--atd-graphite); overflow: visible; }
.atd-chooser::backdrop { background: rgb(14 14 15 / 0.6); }
.atd-chooser__panel { position: relative; max-height: calc(100dvh - 40px); overflow: auto; padding: clamp(28px, 4vw, 48px); background: var(--atd-white); box-shadow: 0 24px 60px rgb(0 0 0 / 0.25); }
.atd-chooser__panel .atd-eyebrow { margin-bottom: 10px; }
.atd-chooser__close { position: sticky; top: 0; float: right; z-index: 1; margin: 0 0 12px 16px; padding: 8px 12px; border: 1px solid var(--atd-line); background: var(--atd-white); color: var(--atd-black); font-family: var(--atd-sans); font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }
.atd-chooser__close:hover { border-color: var(--atd-black); }
.atd-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.atd-choices a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 22px 20px; border: 1px solid var(--atd-line); color: var(--atd-black); text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.atd-choices a:hover { border-color: var(--atd-black); background: var(--atd-mist); color: var(--atd-black); }
.atd-choices .atd-h3 { font-size: 1.6rem; }
.atd-choice__text { font-size: 15px; line-height: 1.5; color: var(--atd-graphite); }
.atd-choice__go { margin-top: auto; padding-top: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--atd-black); }
.atd-choice__go::after { content: " \2192"; letter-spacing: 0; }
.atd-chooser .atd-fine { margin-top: 22px; }
.atd-chooser .atd-fine a { color: var(--atd-black); }
.atd-book-open { overflow: hidden; }

/* Inner pages: page hero, page head, breadcrumb, section rhythm */
.atd-section { padding-block: calc(var(--atd-section) * 0.75); }
.atd-section--tight { padding-block: calc(var(--atd-section) * 0.4); }
.atd-home-hero--page { min-height: clamp(440px, 38vw, 560px); }
.atd-home-hero--page .atd-h1 { font-size: clamp(2.3rem, 3.8vw, 3.5rem); }
.atd-page-head { padding: clamp(56px, 6vw, 88px) 0 clamp(52px, 5.5vw, 80px); background: var(--atd-mist); }
.atd-page-head__copy { max-width: 46rem; }
.atd-page-head__copy > :last-child { margin-bottom: 0; }
.atd-page-head .atd-fine .atd-flag { margin-left: 4px; }
.atd-crumbs { margin: 0 0 18px; }
.atd-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: 0.22em; text-transform: uppercase; color: var(--atd-graphite); }
.atd-crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--atd-graphite); }
.atd-crumbs a { color: var(--atd-black); text-decoration: none; border-bottom: 1px solid var(--atd-line); }
.atd-crumbs a:hover { border-bottom-color: currentColor; }
.atd-center .atd-crumbs ol { justify-content: center; }
.atd-section__head h2 + p, .atd-section__head .atd-h2 + p { margin-top: 14px; }
.atd-prose h3 { margin-top: 44px; }
.atd-prose h2 { margin-top: 48px; }
.atd-prose .atd-section__head h2, .atd-prose > h2:first-child, .atd-prose > h3:first-child { margin-top: 0; }
.atd-prose ul:not([class]), .atd-prose ol:not([class]) { padding-left: 1.25rem; }
.atd-prose li { margin-bottom: 6px; }
.atd-legal > h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.atd-prose > .atd-lede:first-child { margin-top: 0; }
.atd-prose > .atd-lede + p { margin-top: 18px; }
.atd-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.atd-visit__hours-head--more { margin-top: 30px; }
.atd-visit__hours .atd-bullets { margin-top: 0; }
.atd-section .atd-service__grid { align-items: start; }

/* Photo slots waiting for a real photo */
.atd-photo-slot { position: relative; aspect-ratio: 4 / 5; background: var(--atd-mist); }
.atd-band-mist .atd-photo-slot { background: var(--atd-silver-light); }

/* Cards: a set of five sits on one row, six and nine in rows of three */
.atd-card h3, .atd-card .atd-h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); }
.atd-card .atd-link { margin-top: 6px; }
/* Concern cards: tighter link tracking on narrow desktops so long labels stay on one line */
@media (min-width: 64em) and (max-width: 75em) {
  #by-concern .atd-card { padding-inline: 20px; }
  #by-concern .atd-card .atd-link { letter-spacing: 0.1em; gap: 8px; }
}
/* Card subheads: a merged card with two groups */
.atd-card__subhead { margin: 0 0 var(--sfd-r-head); font-family: var(--atd-serif); font-size: 1.125rem; font-weight: 400; line-height: 1.2; color: var(--atd-black); }
.atd-card p + .atd-card__subhead { margin-top: 24px; }
.atd-card > .atd-btn-row:last-child { margin-top: 20px; }
@media (min-width: 64em) {
  .atd-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .atd-grid:has(> :nth-child(6):last-child), .atd-grid:has(> :nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .atd-grid:has(> :nth-child(5):last-child) .atd-card { padding: 22px; }
}
.atd-facts { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.atd-facts .atd-card { padding: 22px 24px; }
.atd-facts .atd-eyebrow { margin-bottom: 8px; }
.atd-facts p:last-child { font-size: 15.5px; }
.atd-az { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 10px 24px; }
@media (min-width: 64em) { .atd-az { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.atd-tiles .atd-h2 { margin-bottom: 10px; line-height: 1; }
.atd-bullets--cols { columns: 2; column-gap: 28px; border-top: 0; }
.atd-bullets--cols li { break-inside: avoid; }
@media (min-width: 48em) { .atd-bullets--cols { columns: 3; column-gap: 40px; } }
.atd-btn-row .atd-link { align-self: center; }
.atd-products .atd-card { display: flex; flex-direction: column; gap: 4px; }
.atd-products .atd-btn { align-self: flex-start; margin-top: auto; }

/* Filters (gallery, blog) */
.atd-filter[aria-pressed="true"] { background: var(--atd-black); border-color: var(--atd-black); color: #fff; }
[data-ba-filters], [data-blog-filters] { margin-top: 0; align-items: center; }

/* Forms: selects and the consent checkbox */
.atd-field select { width: 100%; min-height: 48px; padding: 0.7rem 2.4rem 0.7rem 0.8rem; border: 1px solid var(--atd-graphite); border-radius: var(--radius); font: inherit; color: inherit; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234b4b50' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.9rem center; appearance: none; }
.atd-field input:focus, .atd-field select:focus, .atd-field textarea:focus { border-color: var(--atd-black); outline: 2px solid var(--atd-black); outline-offset: 0; }
.atd-field label:has(> input[type="checkbox"]) { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; cursor: pointer; }
.atd-field input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 3px 0 0; padding: 0; accent-color: var(--atd-black); }
.atd-field__error { margin: 6px 0 0; font-size: 14px; color: #8a2f22; }
.atd-form .atd-btn { margin-top: 12px; }

/* Assessment form: steps and the team choice */
.atd-step { min-width: 0; margin: 0 0 52px; padding: 0; border: 0; }
.atd-step__legend { display: block; width: 100%; margin: 0 0 22px; padding: 0; }
.atd-step__legend .atd-eyebrow { display: block; margin-bottom: 12px; }
.atd-step__legend .atd-h2 { display: block; }
.atd-step__intro { margin: -8px 0 20px; color: var(--atd-graphite); }
.atd-routes { display: grid; gap: 14px; }
.atd-step > .atd-field__error { margin: -6px 0 14px; }
.atd-route { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 22px 24px; border: 1px solid var(--atd-line); background: var(--atd-white); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.atd-route:hover { border-color: var(--atd-black); }
.atd-route:has(input:checked) { border-color: var(--atd-black); background: var(--atd-mist); box-shadow: inset 3px 0 0 var(--atd-black); }
.atd-route input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--atd-black); }
.atd-route input:focus-visible { outline: 2px solid var(--atd-black); outline-offset: 3px; }
.atd-route__team { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--atd-graphite); }
.atd-route__title { display: block; font-family: var(--atd-serif); font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.15; color: var(--atd-black); }
.atd-route__q { display: block; margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--atd-graphite); }
.atd-field__opt { font-weight: 400; color: var(--atd-graphite); }
.atd-step .atd-fine { margin-top: 4px; }
.atd-callnote { margin: 0 0 40px; padding: 26px 28px; border-left: 3px solid var(--atd-black); background: var(--atd-mist); }
.atd-callnote .atd-callnote__title { display: block; margin: 0 0 6px; }
.atd-callnote .atd-bullets { margin: 12px 0 0; }
.atd-callnote .atd-bullets li { padding-top: 10px; padding-bottom: 10px; font-size: 15.5px; }

/* Price lists */
.atd-prices .atd-card h3 { margin-bottom: 4px; }
.atd-prices .atd-bullets { margin: 16px 0 0; }
.atd-prices .atd-fine { margin-top: 14px; }
.atd-prices__members { margin-top: 64px; }

/* Booking chooser: the choice that fits the page is marked */
.atd-choices a[data-suggested] { border-color: var(--atd-black); background: var(--atd-mist); }

/* Responsive */
@media (max-width: 1180px) {
  .atd-header__grid { grid-template-columns: auto 1fr auto; grid-template-areas: "logo phone actions" "nav nav nav"; padding-top: 18px; }
  .atd-logo img { width: 210px; }
  .atd-header__phone { align-items: flex-end; text-align: right; }
  .atd-header__hours { display: none; }
  .atd-nav { margin-top: 18px; }
  .atd-nav__list { gap: 0 22px; }
  .atd-nav__list > li > .atd-nav__link { font-size: 12px; letter-spacing: 0.16em; }
  .atd-footer__grid { grid-template-columns: 1fr 1fr; }
  .atd-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .atd-paths { grid-template-columns: 1fr; }
  .atd-paths li, .atd-paths li:first-child { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--atd-line); }
  .atd-service__grid { grid-template-columns: 1fr; }
  .atd-service__grid--flip .atd-service__media { order: 0; }
  .atd-tiers { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .atd-visit__card { grid-template-columns: 1fr; max-width: 560px; }
  .atd-visit__hours { padding-left: 0; padding-top: 28px; border-left: 0; border-top: 1px solid var(--atd-line); }
  .atd-va-band__grid { grid-template-columns: 1fr; }
  .atd-va-band__flag { width: 150px; }
}

@media (min-width: 48em) and (max-width: 63.99em) {
  .atd-home-hero--brand { grid-template-columns: 1fr; min-height: 0; }
  .atd-home-hero--brand .atd-home-hero__media { order: -1; aspect-ratio: 16 / 9; }
  .atd-home-hero--brand .atd-home-hero__copy { padding: 56px calc(var(--atd-gutter) + 48px) 64px var(--atd-gutter); }
}

/* Tablet: keep content clear of the side tab */
@media (min-width: 48em) and (max-width: 72em) {
  .atd-wrap { padding-right: calc(var(--atd-gutter) + 48px); }
}
@media (min-width: 48em) {
  .atd-home-hero__media .atd-flag--photo { max-width: calc(100% - 72px); }
}

@media (max-width: 47.99em) {
  body { font-size: 16px; padding-bottom: 72px; }
  .atd-utility__inner { justify-content: center; min-height: 0; text-align: center; }
  .atd-utility__va { justify-content: center; font-size: 11px; letter-spacing: 0.16em; }
  .atd-js .atd-utility__list:not([data-open]) { display: none; }
  .atd-utility__nav { flex-basis: 100%; }
  .atd-utility__list { flex-direction: column; align-items: center; gap: 6px; padding: 4px 0 6px; }
  .atd-header__grid { grid-template-columns: 1fr auto; grid-template-areas: "logo toggle" "nav nav"; padding-top: 14px; padding-bottom: 14px; }
  .atd-logo img { width: 168px; }
  .atd-nav__toggle { display: inline-flex; }
  .atd-header__actions, .atd-header__phone { display: none; }
  .atd-nav { margin-top: 14px; border-top: 0; }
  .atd-js .atd-nav { margin-top: 0; }
  .atd-js .atd-nav__list[data-open] { margin-top: 14px; border-top: 1px solid var(--atd-line); }

  .atd-home-hero { grid-template-columns: 1fr; min-height: 0; }
  .atd-home-hero__media { order: -1; aspect-ratio: 4 / 3; }
  .atd-home-hero--page .atd-home-hero__media { aspect-ratio: 16 / 9; min-height: 180px; }
  .atd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .atd-facts .atd-card { padding: 16px; }
  .atd-photo-slot { aspect-ratio: 4 / 3; }
  .atd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .atd-tiles .atd-card { padding: 16px; }
  .atd-home-hero__copy { padding: 44px var(--atd-gutter) 52px; }

  .atd-ba__grid { grid-template-columns: 1fr; }
  .atd-provider { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .atd-provider__photo { width: 100%; max-width: 340px; margin: 0 auto; }
  .atd-provider__copy .atd-lede, .atd-provider__quote { margin-left: auto; margin-right: auto; }
  .atd-insurance__row { flex-direction: column; align-items: flex-start; }
  .atd-insurance__row > div { flex-basis: auto; }
  .atd-visit__facts { grid-template-columns: 1fr; gap: 2px; }
  .atd-visit__facts dd { margin-bottom: 10px; }
  .atd-footer { padding-bottom: 64px; }
  .atd-footer__grid { grid-template-columns: 1fr; }
  .atd-footer__base { flex-direction: column; align-items: flex-start; }

  .atd-choices { grid-template-columns: 1fr; gap: 10px; }
  .atd-choices a { padding: 16px 18px; }
  .atd-choices .atd-h3 { font-size: 1.4rem; }

  .atd-sidetab { display: none; }
  .atd-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 0.97); border-top: 1px solid var(--atd-line); box-shadow: 0 -6px 20px rgb(0 0 0 / 0.06); }
  .atd-mobilebar .atd-btn { padding: 10px 14px; font-size: 12px; letter-spacing: 0.14em; white-space: normal; line-height: 1.25; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* page: blog posts */
.atd-post > h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.atd-post > h3 { margin-top: 32px; font-size: clamp(1.35rem, 2vw, 1.6rem); }
.atd-post > h4 { margin: 28px 0 var(--sfd-r-head); font-family: var(--atd-serif); font-size: clamp(1.15rem, 1.6vw, 1.3rem); font-weight: 400; line-height: 1.2; color: var(--atd-black); }

/* component: in-section photos, one or a pair */
.atd-section-photos { max-width: 560px; margin: 28px 0 36px; }
.atd-section-photos:last-child { margin-bottom: 0; }
.atd-section-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.atd-section-photos--4x5 img { aspect-ratio: 4 / 5; }
.atd-section-photos--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; }
@media (max-width: 23.5em) { .atd-section-photos--pair { grid-template-columns: 1fr; max-width: 560px; } }

/* component: cookie notice */
.atd-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 18px var(--atd-gutter) calc(18px + env(safe-area-inset-bottom)); background: var(--atd-white); border-top: 1px solid var(--atd-line); box-shadow: 0 -6px 20px rgb(0 0 0 / 0.08); }
.atd-consent__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; max-width: var(--atd-wrap); margin: 0 auto; }
.atd-consent__text { flex: 1 1 420px; margin: 0; max-width: 68ch; font-size: 14.5px; line-height: 1.55; color: var(--atd-graphite); }
.atd-consent__text a { color: var(--atd-black); text-decoration: underline; }
.atd-consent__actions { display: flex; gap: 10px; }
html[data-consent-open] body { padding-bottom: var(--atd-consent-space, 0px); }
.atd-link-btn { padding: 0; border: 0; background: none; font: inherit; color: var(--atd-black); text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; }
@media (max-width: 30em) { .atd-consent__actions { flex: 1 1 100%; } .atd-consent__actions .atd-btn { flex: 1; } }

/* utility: a button with the hidden attribute stays hidden */
.atd-btn[hidden] { display: none; }
