/* Tiburon Family Dental. Their brand carried forward: Libre Baskerville headings in the logo's sea teal,
   DM Sans body, ocean-blue buttons with 10px corners, pale aqua panels, the cream reviews band; plus the
   slate-teal of their waiting-room wall. Tokens per theme on <html data-theme>. */

@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/libre-baskerville-400.woff2') format('woff2'); }
@font-face { font-family: 'Libre Baskerville'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/libre-baskerville-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/libre-baskerville-700.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url('../fonts/dm-sans-100-1000.woff2') format('woff2'); }

:root, [data-theme="brand"] {
  --sea: #47959f;        /* the logo's fin: large headings, the wave */
  --sea-ink: #2a6c75;    /* the same teal, deep enough for small text and links */
  --sea-pale: #9fd0d6;
  --ocean: #016ca5;      /* their buttons */
  --ocean-hover: #01578a;
  --slate: #2b4a55;      /* the waiting-room wall */
  --slate-2: #345966;
  --paper: #ffffff;
  --aqua: #f2f8f8;       /* their #F5FBFB panels */
  --foam: #e0eeee;
  --cream: #fcf8ee;      /* their reviews band */
  --cream-line: #eee3c8;
  --ink: #282222;        /* their body text */
  --ink-2: #5a5454;
  --line: #d6e5e5;
  --line-2: #b7d1d3;
  --star: #e9a319;
  --fig-line: var(--sea-ink);
  --fig-fill: var(--sea);
  --fig-trace: var(--sea-ink);
  --fig-axis: var(--line-2);
  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gut: 16px;
  --wrap: 1180px;
  --r: 10px;
  --r-lg: 16px;
}
@media (min-width: 760px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.62 var(--sans); font-optical-sizing: auto; }
@media (min-width: 760px) { body { font-size: 1.125rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea-ink); text-underline-offset: 3px; }
a:hover { color: var(--ocean); }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; max-width: 64ch; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
cite { font-style: italic; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; z-index: 60; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--ink-2); font-size: .95rem; }
.nowrap { white-space: nowrap; }

/* ---- type ---------------------------------------------------------------------------------- */
.display { font: 400 clamp(2.45rem, 1.35rem + 3.7vw, 4.3rem)/1.06 var(--serif); letter-spacing: -.02em; color: var(--sea); }
.display--sv { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.5rem); line-height: 1.1; }
.h2 { font: 400 clamp(1.85rem, 1.35rem + 1.7vw, 2.7rem)/1.15 var(--serif); letter-spacing: -.015em; color: var(--sea); margin-bottom: .45em; }
.h3 { font: 700 1.3rem/1.3 var(--serif); color: var(--sea-ink); margin-bottom: .6em; }
.sub { font: 400 italic 1.2rem/1.45 var(--serif); color: var(--slate); margin: .6em 0 1em; }
.lede { font-size: 1.15rem; color: var(--ink-2); }
.more { font-weight: 650; color: var(--sea-ink); text-decoration: underline; text-decoration-color: var(--sea); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.more:hover { color: var(--ocean); text-decoration-color: var(--ocean); }

/* ---- buttons -------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px;
  border: 0; border-radius: var(--r); background: var(--ocean); color: #fff; font: 650 1.05rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease; }
.btn:hover { background: var(--ocean-hover); color: #fff; }
.btn .ico { width: 22px; height: 22px; flex: none; }
.btn--sm { min-height: 44px; padding: 9px 18px; font-size: .98rem; }
.btn--light { background: #fff; color: var(--slate); }
.btn--light:hover { background: var(--foam); color: var(--slate); }
.ico { width: 24px; height: 24px; flex: none; }
.fill { fill: currentColor; fill-opacity: .18; }

/* ---- the mock bar and build notes (mock copy only) --------------------------------------------- */
.mockbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 8px var(--gut); background: #000; color: #fff; font-size: .85rem; }
.mockbar p { margin: 0; flex: 1 1 auto; }
.mockbar a { color: #fff; font-weight: 700; }
.mockbar__notes { background: none; border: 1px solid #777; color: #fff; border-radius: 999px; padding: 3px 12px; cursor: pointer; font: inherit; }
.mockbar__notes[aria-pressed="true"] { background: #ffd400; color: #000; border-color: #ffd400; }
.note { display: none; }
.show-notes .note { display: inline-flex; gap: 6px; align-items: baseline; margin: 4px 6px; padding: 2px 8px; background: #ffd400; color: #000;
  font: 600 .78rem/1.4 var(--sans); border-radius: 4px; vertical-align: middle; font-style: normal; letter-spacing: 0; }
.note__n { color: #000; font-weight: 800; }

/* ---- the strip and the header ------------------------------------------------------------------- */
.strip { background: var(--slate); color: #e3eeee; font-size: .88rem; }
.strip__in { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 38px; flex-wrap: wrap; padding-top: 5px; padding-bottom: 5px; }
.strip p { margin: 0; }
.strip a { color: #fff; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; text-decoration: none; }
.strip a:hover { text-decoration: underline; color: #fff; }
.strip .ico { width: 18px; height: 18px; }
@media (max-width: 559px) { .strip p { font-size: .85rem; } .strip__hours { display: none; } }

.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand img { height: 52px; width: auto; }
@media (min-width: 1100px) { .brand img { height: 60px; } .top__in { min-height: 88px; } }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line-2);
  background: #fff; border-radius: var(--r); font: 650 1rem var(--sans); color: var(--ink); cursor: pointer; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ''; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; } .menu-btn__bars::after { top: 6px; }
.nav { list-style: none; }
.nav a, .mega summary { display: block; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; cursor: pointer; }
.nav a:hover, .mega summary:hover { color: var(--sea-ink); }
.nav [aria-current="page"] { color: var(--sea-ink); text-decoration: underline; text-decoration-color: var(--sea); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.mega summary { list-style: none; }
.mega summary::-webkit-details-marker { display: none; }
.mega summary::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); transition: transform .15s; }
.mega[open] summary::after { transform: translateY(0) rotate(-135deg); }
.mega__h { margin: 0 0 6px; font-weight: 700; font-size: .9rem; color: var(--sea-ink); }
.mega__group ul { list-style: none; }
.mega__group a { padding: 5px 0; font-weight: 500; }
.mega__all { margin: 0; }
.mega__all a { font-weight: 650; color: var(--sea-ink); }
.top__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.top__phone .ico { color: var(--sea-ink); width: 20px; height: 20px; }

@media (max-width: 1099px) {
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(43, 74, 85, .5); padding: 8px var(--gut) 20px; max-height: calc(100vh - 120px); overflow: auto; }
  .menu.is-open { display: block; }
  .nav > li { border-bottom: 1px solid var(--line); }
  .nav > li > a, .mega summary { padding: 14px 2px; font-size: 1.1rem; }
  .mega__panel { display: grid; gap: 14px; padding: 0 0 16px 12px; }
  .menu__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-top: 18px; }
}
@media (min-width: 1100px) {
  .menu-btn { display: none; }
  .menu { display: flex; align-items: center; gap: 28px; flex: 1; }
  .nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
  .has-mega { position: relative; }
  .mega__panel { position: absolute; top: calc(100% + 22px); left: -24px; width: min(860px, 90vw); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 22px;
    padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(43, 74, 85, .45); }
  .mega__all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; }
  .menu__actions { display: flex; align-items: center; gap: 20px; }
}

/* ---- the fin (from the logo) ------------------------------------------------------------------ */
.fin { display: block; width: min(420px, 92%); height: auto; aspect-ratio: 600 / 64; margin: 18px 0 20px; }
.fin__wave { stroke: var(--sea); stroke-width: 3; stroke-linecap: round; }
.fin__fin { fill: var(--sea); }

/* ---- the appointment card ------------------------------------------------------------------- */
.card { background: #fff; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), 0 30px 50px -32px rgba(31, 66, 76, .6); overflow: hidden; }
.card__top { margin: 0; padding: 14px 20px 13px; background: var(--slate); color: #fff; }
.card__title { font: 400 1.35rem/1.2 var(--serif); max-width: none; }
.card__body { display: grid; gap: 14px; padding: 18px 20px 20px; }
.card__lead { margin: 0; }
.card .btn--book { width: 100%; font-size: 1.1rem; min-height: 56px; }
.card__call { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 4px 0; }
.card__call strong { color: var(--sea-ink); white-space: nowrap; }
.card__call:hover strong { color: var(--ocean); text-decoration: underline; }
.card__call .ico, .card__est .ico { width: 20px; height: 20px; color: var(--sea-ink); }
.card__est { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-weight: 600; }

/* the team at their door, cropped to the people (the building's old sign stays out of frame) */
.crop-team { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--foam); }
/* The team photo (2026-11-16, with Dr. Harris): the whole group, filled to the frame */
.crop-team.crop-team img { position: absolute; inset: 0; max-width: none; width: 100%; height: 100%; border-radius: 0; object-fit: cover; object-position: 50% 30%; aspect-ratio: auto; }

/* ---- home hero ------------------------------------------------------------------------------ */
.hero { padding: clamp(24px, 4vw, 56px) 0 clamp(44px, 6vw, 80px); }
.hero__in { display: grid; gap: 28px; }
.hero__sub { font-size: 1.15rem; color: var(--ink-2); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 6px 0 14px; }
.hero__cta .btn { min-height: 56px; padding: 14px 28px; font-size: 1.1rem; }
.hero__call { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.hero__call strong { color: var(--sea-ink); white-space: nowrap; }
.hero__call:hover strong { color: var(--ocean); text-decoration: underline; }
.hero__call .ico { width: 22px; height: 22px; color: var(--sea-ink); }
.hero__new { font-size: .97rem; color: var(--ink-2); margin-bottom: 14px; }
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--ink); text-decoration: none; font-size: .98rem; }
.rating strong { font-weight: 750; }
.rating:hover span { text-decoration: underline; }
.stars { display: inline-flex; gap: 1px; }
.star { width: 18px; height: 18px; fill: var(--star); }
.hero__photo { border-radius: var(--r-lg); overflow: hidden; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cpath d='M0 0h400v276c-30 6-60-8-100 0s-70 12-110 2-70-10-110-2-60 8-80 4z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cpath d='M0 0h400v276c-30 6-60-8-100 0s-70 12-110 2-70-10-110-2-60 8-80 4z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
@media (min-width: 980px) {
  .hero__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
  .hero__photo .crop-team { aspect-ratio: 4 / 3; }
  .hero__photo .crop-team.crop-team img { object-position: 50% 32%; }
}

/* ---- sections ------------------------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.aqua { background: var(--aqua); }
.cream { background: var(--cream); }
.section__head { max-width: 46rem; margin-bottom: clamp(26px, 4vw, 44px); }
.section__head p:last-child { margin-bottom: 0; }
.section__more { margin: 30px 0 0; }

/* the 53-year patient */
.loyal { padding-bottom: clamp(40px, 6vw, 72px); }
.loyal__in > * { max-width: 62rem; }
.review { margin: 0; }
.review blockquote { margin: 10px 0 12px; }
.review blockquote p { margin: 0; max-width: none; }
.review figcaption { font-size: .92rem; color: var(--ink-2); font-weight: 600; }
.review--big blockquote p { font: 400 italic 1.15rem/1.55 var(--serif); color: var(--ink-2); }
.review__lead { display: block; font: 400 italic clamp(2.1rem, 1.2rem + 3.6vw, 4rem)/1.08 var(--serif); color: var(--slate); letter-spacing: -.015em; margin-bottom: .35em; }
.review__lead::before { content: '\201C'; color: var(--sea); }
.review__lead::after { content: '\201D'; color: var(--sea); }
.loyal__note { margin-top: 26px; font-size: 1.1rem; }

/* care for every age */
.ages { border-top: 2px solid var(--slate); }
.ages__row { display: grid; gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ages__who { display: flex; align-items: center; gap: 14px; }
.ages__who .ico { width: 40px; height: 40px; color: var(--sea); }
.ages__who h3 { font: 400 1.6rem/1.2 var(--serif); color: var(--slate); }
.ages__text { margin: 0; }
.ages__links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ages__links a { font-weight: 600; }
@media (min-width: 860px) {
  .ages__row { grid-template-columns: 220px minmax(0, 1.1fr) minmax(0, 1fr); align-items: baseline; padding: 26px 0; }
  .ages__who { align-self: center; }
}

/* steps (a real sequence) */
.steps { list-style: none; display: grid; gap: 26px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.steps--compact { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; }
.steps__item { border-top: 2px solid var(--line-2); padding-top: 16px; }
.steps__n { display: block; font: 400 2.6rem/1 var(--serif); color: var(--sea); margin-bottom: 10px; }
.steps__item h3 { font: 700 1.1rem/1.3 var(--sans); color: var(--ink); margin-bottom: 6px; }
.steps__item p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* reason for your visit */
.reasons { display: grid; gap: 34px 48px; }
@media (min-width: 860px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.reasons__h { font: 700 .98rem/1.3 var(--sans); color: var(--sea-ink); padding-bottom: 10px; border-bottom: 2px solid var(--slate); }
.reasons__list { list-style: none; }
.reasons__list--three { display: grid; gap: 0 32px; }
@media (min-width: 860px) { .reasons__list--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reason { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 8px 14px 0;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .12s; }
.reason .ico { grid-row: span 2; width: 52px; height: 52px; padding: 11px; border-radius: 50%; background: var(--foam); color: var(--sea-ink); }
.reason__name { font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.reason__line { font-size: .95rem; color: var(--ink-2); line-height: 1.45; }
.reason:hover { background: var(--aqua); color: var(--ink); }
.reason:hover .reason__name { color: var(--ocean); }
.aqua .reason:hover { background: #fff; }

/* sleep */
.sleep { background: var(--slate); color: #e6f0f0; --fig-trace: #bfe3e7; --fig-axis: rgba(255, 255, 255, .25); }
.sleep .h2 { color: #fff; }
.sleep a.more { color: #fff; text-decoration-color: var(--sea-pale); }
.sleep__in { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .sleep__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.pair-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.sleep__fig { margin: 0; }
.sleep__fig figcaption { margin-top: 10px; font-size: .9rem; opacity: .85; }
.diagram { width: 100%; height: auto; display: block; }
.dg-axis { stroke: var(--fig-axis); stroke-width: 2; fill: none; }
.dg-trace { stroke: var(--fig-trace); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dg-stop { stroke: var(--star); stroke-width: 4; fill: none; stroke-linecap: round; }
.dg-bracket { stroke: currentColor; stroke-opacity: .45; stroke-width: 1.5; fill: none; }
.dg-stoplabel { font: 700 16px var(--sans); fill: currentColor; }
.dg-small { font: 600 13px var(--sans); fill: currentColor; opacity: .8; }
.dg-bone { fill: #efe6d6; }
.dg-gum { fill: #e7b5b0; }
.dg-tooth { fill: #fff; stroke: var(--fig-line); stroke-width: 2.5; }
.dg-shine { stroke: var(--fig-line); stroke-width: 2.5; fill: none; stroke-linecap: round; opacity: .5; }
.dg-metal { fill: #c9d6da; stroke: var(--slate); stroke-width: 2; }
.dg-thread { stroke: var(--slate); stroke-width: 2; opacity: .6; }
.dg-label path { stroke: var(--fig-line); stroke-width: 1.5; fill: none; }
.dg-label circle { fill: var(--fig-line); }
.dg-label text { font: 600 15px var(--sans); fill: var(--ink); }
.dg-tab { stroke: #cdbf9f; stroke-width: 1.2; }
.dg-tray { fill: none; stroke: var(--sea); stroke-width: 3; stroke-opacity: .8; }

/* dentists */
.docs-wrap { display: grid; gap: 30px; }
.elite { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 26px; padding: 16px; background: var(--aqua); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; font-size: .98rem; }
.elite img { width: 96px; border-radius: 10px; }
.elite strong { color: var(--slate); }
.elite:hover strong { color: var(--ocean); }
@media (min-width: 900px) { .docs-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 56px; align-items: start; } }
.docs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.doc a { display: block; color: var(--ink); text-decoration: none; }
.doc__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-lg); background: var(--foam); box-shadow: 0 0 0 1px var(--line); }
.doc__name { display: block; margin-top: 12px; font: 400 1.3rem/1.25 var(--serif); color: var(--slate); }
.doc__cred { color: var(--ink-2); font-size: .95rem; font-family: var(--sans); }
.doc a:hover .doc__name { color: var(--ocean); }
.doc p { margin: 6px 0 0; font-size: .97rem; color: var(--ink-2); }

/* reviews */
.reviews__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 28px; }
.reviews__head .h2 { margin: 0; }
.reviews__grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
.reviews__grid .review, .sv-sec .review, .np-quote .review, .bio .review { padding: 22px 24px; background: #fff; border: 1px solid var(--cream-line); border-radius: var(--r-lg); }
.reviews__grid .review blockquote p { font-size: 1.02rem; }

/* office */
.office__in { display: grid; gap: 30px; }
@media (min-width: 900px) { .office__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; } }
.office .h2 { font-size: clamp(2.3rem, 1.4rem + 3vw, 3.6rem); font-style: italic; color: var(--slate); }
.office__photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.25fr 1fr; gap: 12px; height: clamp(340px, 44vw, 540px); }
.office__photos > div { border-radius: var(--r-lg); overflow: hidden; background: var(--foam); }
.office__photos img { width: 100%; height: 100%; object-fit: cover; }
.office__a { grid-column: span 2; }

/* costs */
.cost__in { display: grid; gap: 28px; }
@media (min-width: 900px) { .cost__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; } }
.cost__list { list-style: none; }

/* come see us: the back of the card */
.visit { background: var(--slate); color: #e6f0f0; padding: clamp(52px, 7vw, 88px) 0; }
.visit__in { display: grid; gap: 36px; }
@media (min-width: 900px) { .visit__in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: center; } }
.visit__h { color: #fff; }
.visit__lead { font-size: 1.12rem; }
.visit__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin: 24px 0 20px; }
.visit__call { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.visit__call:hover { color: #fff; text-decoration: underline; }
.visit__call .ico { color: var(--sea-pale); }
.visit__addr { display: flex; align-items: center; gap: 10px; margin: 0; }
.visit__addr a { color: #fff; }
.visit__addr .ico { color: var(--sea-pale); }
.visit__hours { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-lg); padding: 22px 24px; }
.visit__hh { display: flex; align-items: center; gap: 10px; font: 400 1.3rem var(--serif); color: #fff; margin-bottom: 12px; }
.visit__hh .ico { color: var(--sea-pale); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid currentColor; border-bottom-color: rgba(127, 127, 127, .25); font-weight: 400; }
.hours th { font-weight: 650; padding-right: 16px; }
.hours td { text-align: right; }
.hours .closed { opacity: .82; }

/* footer */
.foot { background: var(--aqua); border-top: 1px solid var(--line); padding: 52px 0 calc(28px + 64px); font-size: .97rem; }
@media (min-width: 760px) { .foot { padding-bottom: 32px; } }
.foot__brand img { height: 64px; width: auto; }
.foot__brand p { margin: 14px 0 0; max-width: 24rem; color: var(--ink-2); }
.foot__brand .fin { width: 220px; margin: 16px 0 0; }
.foot__cols { display: grid; gap: 26px 32px; margin: 34px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.8fr); column-gap: 48px; } .foot__cols { grid-template-columns: 1fr 1fr .8fr 1.35fr; margin-top: 0; } .foot__legal { grid-column: 1 / -1; } }
.foot__h { margin: 0 0 10px; font-weight: 700; color: var(--slate); }
.foot ul { list-style: none; display: grid; gap: 6px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--ocean); text-decoration: underline; }
.foot__contact { grid-column: 1 / -1; }
.foot__contact p { margin: 0 0 10px; overflow-wrap: anywhere; }
@media (min-width: 900px) { .foot__contact p { overflow-wrap: normal; } }
@media (min-width: 900px) { .foot__contact { grid-column: auto; } }
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; }
.foot__legal p { margin: 0; }
.foot__legal a { color: var(--ink-2); margin-right: 14px; text-decoration: underline; }

/* phone action bar */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.3fr 1fr; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(43, 74, 85, .5); padding-bottom: env(safe-area-inset-bottom); }
.actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: var(--slate); font-weight: 650; font-size: .85rem; text-decoration: none; }
.actionbar .ico { width: 22px; height: 22px; }
.actionbar__book { background: var(--ocean); color: #fff !important; }
@media (min-width: 760px) { .actionbar { display: none; } }
/* mock only: leave room for HQ's Feedback button, which sits bottom right */
.is-mock .actionbar { padding-right: 128px; }

/* ---- service pages ---------------------------------------------------------------------------- */
.sv-hero { background: var(--aqua); padding: clamp(28px, 5vw, 56px) 0 clamp(32px, 5vw, 56px); }
.sv-hero__in { display: grid; gap: 30px; }
@media (min-width: 980px) { .sv-hero__in { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.sv-main { display: grid; gap: 28px; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); }
.sv-main > * { min-width: 0; }
@media (min-width: 980px) {
  .sv-main { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "intro aside" "rest aside"; column-gap: 72px; row-gap: 12px; align-items: start; }
  .sv-intro { grid-area: intro; } .sv-rest { grid-area: rest; } .sv-aside { grid-area: aside; position: sticky; top: 112px; margin-top: -120px; }
}
.sv-intro, .sv-rest { max-width: 820px; }
.crumbs { font-size: .9rem; color: var(--ink-2); margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); }
.sv-intro p { font-size: 1.1rem; }
.sv-fig { margin: 0 0 44px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--slate); }
.sv-fig .diagram { max-width: 480px; margin: 0 auto; }
.sv-fig figcaption { margin-top: 14px; font-size: .95rem; color: var(--ink-2); text-align: center; }
.sv-sec { margin-bottom: 44px; }
.sv-sec:last-child { margin-bottom: 0; }
.sv-sec .h3 { font-size: 1.55rem; font-weight: 400; color: var(--sea-ink); }
.defs { margin: 0; border-top: 2px solid var(--slate); }
.defs__row { display: grid; gap: 4px 28px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.defs dt { font-weight: 700; display: flex; align-items: center; gap: 10px; }
.defs dt .ico { width: 22px; height: 22px; color: var(--sea-ink); }
.defs dd { margin: 0; color: var(--ink-2); }
@media (min-width: 700px) { .defs__row { grid-template-columns: 220px minmax(0, 1fr); } }
.defs--tight { border-top-width: 1px; border-top-color: var(--line-2); }
.defs--two { border: 0; display: grid; gap: 0 48px; }
@media (min-width: 860px) { .defs--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .defs--two .defs__row { grid-template-columns: 1fr; } }
.defs--two .defs__row { border-top: 2px solid var(--slate); border-bottom: 0; padding: 16px 0 26px; }
.defs--two dt { font: 400 1.35rem/1.3 var(--serif); color: var(--slate); }
.ticks { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border: solid var(--sea); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.reasons__list--one { border-top: 1px solid var(--line); }
.related__list { list-style: none; display: grid; gap: 0 32px; border-top: 2px solid var(--slate); }
@media (min-width: 860px) { .related__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .related__list--one { grid-template-columns: 1fr; } }
.related__list a { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; }
.related__name { font-weight: 700; font-size: 1.08rem; }
.related__line { font-size: .95rem; color: var(--ink-2); }
.related__list a:hover .related__name { color: var(--ocean); text-decoration: underline; }
.cost .btn { margin-top: 6px; }
.badge { display: grid; gap: 22px; align-items: start; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
@media (min-width: 640px) { .badge { grid-template-columns: 135px minmax(0, 1fr); } }
.badge__img { width: 135px; border-radius: 10px; }
.badge p:last-child { margin-bottom: 0; }
.badge .ticks { margin-bottom: 16px; }

/* symptom checklist */
.check__groups { display: grid; gap: 18px 36px; margin: 18px 0; }
@media (min-width: 700px) { .check__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.check__group legend { padding: 0; margin-bottom: 8px; font-weight: 700; color: var(--slate); }
.check__item { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: 8px; cursor: pointer; background: #fff; }
.check__item input { width: 20px; height: 20px; accent-color: var(--sea-ink); flex: none; }
.check__item:has(input:checked) { border-color: var(--sea); background: var(--aqua); }
.check__out { padding: 16px 18px; background: var(--aqua); border-left: 4px solid var(--sea); border-radius: 0 var(--r) var(--r) 0; }
.check__out p { margin: 0; }
.check__count { font-weight: 700; color: var(--slate); margin-bottom: 4px !important; }

/* estimators */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; }
.quiz__frame { display: block; width: 100%; height: 720px; border: 0; border-radius: 10px; }
.quiz__fallback { margin: 10px 8px 4px; font-size: .9rem; color: var(--ink-2); }
.inline-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: -8px; }

/* new patients, family, about, office, contact */
.np-quote { margin-top: 26px; }
.np-grid, .fam-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .np-grid, .fam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; } .fam-grid { align-items: center; } }
.fam-grid .sleep__fig { color: var(--slate); }
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { position: relative; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.08rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font: 400 1.7rem/1 var(--serif); color: var(--sea); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }
.team-fig { margin: 0; }
.team-fig img { border-radius: var(--r-lg); width: 100%; }
.team-fig figcaption, .gallery figcaption { margin-top: 8px; font-size: .9rem; color: var(--ink-2); }
.bio { display: grid; gap: 30px; }
@media (min-width: 900px) { .bio { grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; } .bio--flip { grid-template-columns: minmax(0, 1fr) 360px; } .bio--flip .bio__photo { order: 2; } }
.bio__photo img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; background: var(--foam); box-shadow: 0 0 0 1px var(--line); }
.bio .h2 { color: var(--slate); }
.bio .review { margin-top: 26px; }
.bio .defs { margin-top: 22px; }
.bio__h { margin: 28px 0 0; }
/* No photo yet (Dr. Harris, FACTS #19): a quiet panel with her initials, never a stand-in face */
.bio__none, .doc__img--none { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--foam); box-shadow: 0 0 0 1px var(--line); color: var(--sea); font: 400 clamp(3rem, 2rem + 4vw, 5.5rem)/1 var(--serif); letter-spacing: .04em; }
.doc__img--none { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); }
.team-list { max-width: 46rem; }
/* "Good to know": the answers new families look for first (home, New patients) */
.know { list-style: none; display: grid; gap: 22px 40px; }
@media (min-width: 760px) { .know { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.know__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; padding-top: 18px; border-top: 2px solid var(--line-2); }
.know__item .ico { width: 52px; height: 52px; padding: 11px; border-radius: 50%; background: var(--aqua); color: var(--sea-ink); }
.aqua .know__item .ico { background: #fff; }
.know__h { font: 700 1.1rem/1.3 var(--sans); color: var(--ink); margin: 2px 0 4px; }
.know__item p { margin: 0; color: var(--ink-2); }
.card__soon { margin: -4px 0 0; font-size: .92rem; color: var(--ink-2); text-align: center; }
.after-hours { margin-top: 18px; padding: 12px 16px; background: #fff; border-left: 4px solid var(--sea); border-radius: 0 8px 8px 0; }
.foot__social a { margin-right: 14px; font-weight: 600; }
.gallery { display: grid; gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
@media (min-width: 860px) {
  .gallery { grid-template-columns: 1.3fr 1fr; }
  .gallery__a { grid-row: span 2; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
  .gallery__b img { aspect-ratio: 3 / 2; }
}
.gallery .crop-team { border-radius: var(--r-lg); }
.team-fig .crop-team { border-radius: var(--r-lg); }
.contact-defs { margin-top: 18px; }
.msg { display: grid; gap: 14px; }
.msg .h2 { margin-bottom: 0; }
.msg__row { display: grid; gap: 14px; }
@media (min-width: 560px) { .msg__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; }
.field span { font-weight: 650; font-size: .95rem; }
.field input, .field textarea { width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--ink); border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 11px 13px; min-height: 48px; background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sea-ink); box-shadow: 0 0 0 3px rgba(42, 108, 117, .2); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.msg__err { margin: 0; color: #b3261e; font-weight: 600; min-height: 0; }
.msg__err:empty { display: none; }
.msg .btn { justify-self: start; }
.msg__how { margin: 0; }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--foam); margin-bottom: 12px; }
.map iframe { position: relative; display: block; width: 100%; height: 320px; border: 0; }
.map__fallback { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; max-width: none; font-weight: 600; color: var(--slate); }
.legal__in { max-width: 820px; }
.legal ul { margin: 0 0 1em 1.2em; }

/* /review/ (mock only) */
.confirm { list-style: none; display: grid; gap: 14px; max-width: 54rem; }
.confirm li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.confirm__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--slate); color: #fff; font-weight: 700; align-self: start; }
.confirm p { margin: 0; }
.confirm__body { min-width: 0; }
.confirm li.has-answer .confirm__n { background: var(--sea); }
.confirm .is-done { color: var(--ink-2); }
.confirm__done { color: #1d6b2f; }
.answer-who { display: flex; flex-wrap: wrap; align-items: end; gap: 4px 28px; max-width: 54rem; margin: 0 0 22px; padding: 18px 20px 4px; background: #fff; border-top: 5px solid var(--slate); box-shadow: 0 0 0 1px var(--line); }
.answer-who .field { flex: 1 1 260px; margin-bottom: 18px; }
.answer-who .field input[aria-invalid="true"] { border-color: #b3261e; }
.answer-who__status { flex: 1 1 260px; margin: 0 0 18px !important; font-weight: 600; color: var(--slate); }
.answer { margin-top: 12px; }
.answer textarea { width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--ink); border: 1.5px solid var(--line-2); border-radius: 8px; padding: 10px 12px; background: #fff; resize: vertical; }
.answer textarea:focus { outline: none; border-color: var(--sea-ink); box-shadow: 0 0 0 3px rgba(42, 108, 117, .2); }
.answer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; }
.answer__msg { font-size: .92rem; color: var(--ink-2); }
.reply { margin-top: 12px; padding: 10px 14px; background: var(--aqua); border-left: 4px solid var(--sea); border-radius: 0 6px 6px 0; }
.reply p { margin: 0; }
.reply__head { font-size: .88rem; color: var(--ink-2); }
.reply__head strong { color: var(--slate); }
.reply__status { display: inline-block; margin-left: 10px; padding: 1px 8px; border-radius: 999px; font-size: .76rem; font-weight: 600; color: #fff; background: var(--sea-ink); }
.reply__status--done, .reply__status--answered { background: #1d6b2f; }
.reply__text { margin-top: 4px !important; white-space: pre-wrap; }
.reply__ours { margin-top: 8px !important; padding-top: 8px; border-top: 1px dashed #c8c8c8; }

/* The Google Ads plan: the banner on every page and /campaign/ (mock only; the banner comes off at launch) */
.campbar { background: var(--ocean); color: #fff; }
.campbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 10px; padding-bottom: 10px; }
.campbar p { margin: 0; max-width: none; }
.campbar__go { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 18px; border-radius: 999px; background: #fff; color: var(--ocean); font-weight: 700; text-decoration: none; white-space: nowrap; }
.campbar__go::after { content: '\2192'; margin-left: 8px; }
.campbar__go:hover { background: var(--foam); color: var(--ocean-hover); }
.page-campaign .campbar { display: none; }
.camp-hero { padding-bottom: clamp(36px, 5vw, 64px); }
.camp-kicker { margin: 0 0 14px; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sea-ink); }
.camp-after { margin-top: 28px; }
.page-campaign .defs--two .defs__row { align-content: start; }
.camp-list { list-style: none; }
.camp-list li { position: relative; padding: 6px 0 6px 22px; border-bottom: 1px solid var(--line); }
.camp-list li::before { content: ''; position: absolute; left: 2px; top: 1.05em; width: 9px; height: 9px; border-radius: 50%; background: var(--sea); }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: .95rem; }
.towns .is-home { background: var(--slate); border-color: var(--slate); color: #fff; }
.towns__note { margin: 10px 0 0; }
.gads { display: grid; gap: 34px; }
@media (min-width: 900px) { .gads { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 36px; } }
.gad { margin: 0; min-width: 0; }
.gad__q { margin: 0 0 8px; font-size: .95rem; color: var(--ink-2); }
.gad__q strong { color: var(--ink); font-weight: 650; }
.gad__card { background: #fff; border: 1px solid #dadce0; border-radius: 12px; padding: 14px 16px 16px; font-family: Arial, Helvetica, sans-serif; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.gad__spon { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: #202124; }
.gad__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.gad__site { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gad__fav { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid #dadce0; background: var(--aqua); }
.gad__name { display: block; font-size: 14px; line-height: 1.3; color: #202124; }
.gad__url { display: block; font-size: 12px; line-height: 1.3; color: #4d5156; }
.gad__h { margin: 0 0 4px; font: 400 19px/1.3 Arial, Helvetica, sans-serif; color: #1a0dab; }
.gad__d { margin: 0; max-width: none; font-size: 14px; line-height: 1.55; color: #4d5156; }
.gad__pic { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }
.gad__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gad__links li { padding: 4px 12px; border: 1px solid #dadce0; border-radius: 999px; font-size: 13px; color: #1a0dab; }
.gad__foot { margin: 10px 0 0; font-size: .97rem; }
.gad__note { display: inline-block; margin: 8px 0 0; padding: 3px 10px; border-radius: 6px; background: #fff3cd; color: #5c4400; font-size: .9rem; }
.gad details { margin-top: 8px; font-size: .97rem; }
.gad summary { cursor: pointer; font-weight: 650; color: var(--sea-ink); }
.gad__lines { margin: 8px 0 0 1.2em; color: var(--ink-2); }
@media (max-width: 420px) { .gad__pic { width: 72px; height: 72px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print { .strip, .top, .actionbar, .campbar, .mockbar, .visit, .foot__cols { display: none; } }
