/* rc3-base.css */
/* ==========================================================================
   RC v3 — Base: reset, typography, links, buttons, sections, utilities
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Sticky header clearance for in-page anchors */
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--pink);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

/* Scroll-progress hairline (mockup). Decorative only. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 100;
  background: linear-gradient(90deg, var(--yellow) var(--scroll, 0%), transparent 0);
  pointer-events: none;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

/* --- Typography ----------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 900; }

h1 {
  font-family: var(--font-display);
  font-size: var(--h1-sub);
  line-height: var(--leading-display);
  letter-spacing: var(--track-display);
  max-width: 18ch;
}

h2 {
  font-family: var(--font-display);
  font-size: var(--h2-sm);
  line-height: 1;
  letter-spacing: -.05em;
}

h3 {
  font-family: var(--font-serif);
  font-size: var(--h4);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: var(--track-tight);
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 800; }

.lead,
.text-body-lg,
.hub-hero__lead,
.condition-lead,
.proc-hero__lede,
.editorial-hero__intro {
  max-width: 62ch;
  font-size: var(--lead);
  line-height: 1.42;
}

.text-small, small { font-size: 14px; line-height: 1.5; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::after {
  content: "";
  flex: none;
  width: 32px;
  height: 3px;
  background: var(--yellow);
}

/* --- Links ---------------------------------------------------------------- */

a { color: inherit; }

/* Body links: underlined, yellow-shifted on hover. */
main p a:not(.btn):not(.text-link):not(.reading-link),
main li a:not(.btn):not(.text-link):not(.reading-link),
main dd a:not(.btn), main address a:not(.btn), main td a:not(.btn) {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast) ease, text-decoration-color var(--t-fast) ease;
}
main p a:not(.btn):not(.text-link):hover,
main li a:not(.btn):not(.text-link):hover,
main dd a:not(.btn):hover, main address a:not(.btn):hover, main td a:not(.btn):hover {
  color: var(--navy);
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
}

/* Standalone action link with the mockup's yellow rule */
.text-link,
.reading-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--yellow);
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  transition: gap var(--t-fast) var(--ease-out), border-color var(--t-fast) ease;
}
.text-link:hover, .reading-link:hover { gap: 20px; border-bottom-color: var(--navy); }
.text-link span[aria-hidden], .reading-link span[aria-hidden] { transition: transform var(--t-fast) var(--ease-out); }
.text-link:hover span[aria-hidden], .reading-link:hover span[aria-hidden] { transform: translate(3px, -3px); }

/* --- Buttons -------------------------------------------------------------- */

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: var(--ink);
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--t-fast) ease, background var(--t-fast) ease,
              border-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}
.btn--primary:hover { color: var(--white); background: var(--green); border-color: var(--green); }

.btn--secondary { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn--secondary:hover { color: var(--white); background: var(--navy); }

/* On dark surfaces the outline inverts. */
.on-dark .btn--secondary,
.btn--on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, .8);
  background: transparent;
}
.on-dark .btn--secondary:hover,
.btn--on-dark:hover { color: var(--navy); background: var(--white); border-color: var(--white); }

/* --- Layout scaffolding --------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.container-narrow {
  width: 100%;
  max-width: calc(var(--max-narrow) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.container .container-narrow { padding-inline: 0; }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--mint); }

/* Alternating bands never collide: two adjacent alt sections share one rule. */
.section--alt + .section--alt { padding-top: 0; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  align-items: end;
  gap: clamp(28px, 4vw, 60px);
  margin-bottom: clamp(38px, 4.5vw, 62px);
}
.section-heading h2 {
  margin: 0;
  font-size: var(--h2);
  line-height: .98;
  letter-spacing: var(--track-display);
  max-width: 16ch;
}
.section-heading > p { margin: 0 0 4px; max-width: 46ch; font-size: 18px; }
.section-heading .text-link { margin-bottom: 8px; }

.section-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 42px;
  margin-top: clamp(32px, 4vw, 54px);
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}

.split-columns,
.split-editorial {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: clamp(28px, 4vw, 64px);
}

/* --- Accessibility -------------------------------------------------------- */

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
/* On dark or navy surfaces the focus ring flips to yellow for contrast. */
.on-dark :focus-visible,
.site-footer :focus-visible,
.credential-strip :focus-visible,
.cta-block :focus-visible,
.rc-service-grid :focus-visible {
  outline-color: var(--yellow);
}

.visually-hidden,
.skip-link:not(:focus):not(:active) {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.anchor-target { scroll-margin-top: 130px; }

/* --- Photography grade ---------------------------------------------------- */
/* One consistent, restrained grade across editorial photography so owner
   photographs and licensed stock read as one set. Clinical, diagnostic,
   device and logo images are explicitly excluded — never altered. */
.v2-natural-image {
  filter: saturate(.86) contrast(1.02);
}
.clinical-figure img, .anatomy-figure img, .proc-figure img,
.clinical-instrument img, .rc-product-image, .rc-product-grid img,
.pnn-device-figure img, .rc-brand-logo, .rc-brand-logo img,
.award-inline img, img[src*="logo"], img[src*="diagram"],
img[src*="illustration"], img[src*="-ct."], img[src*="device"] {
  filter: none;
}

figure { margin: 0; }

figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.4;
}

/* rc3-chrome.css */
/* ==========================================================================
   RC v3 — Site chrome: header, primary navigation, breadcrumbs, footer
   Markup is unchanged from RC2; only the presentation is new.
   Desktop/mobile navigation breakpoint stays at 1361px to match site.js.
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper-blur);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.site-header__bar {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px); /* tighter than before so the larger logo and the full menu fit on one line from 1361px up */
}

.site-header__logo {
  flex: none;
  display: block;
  margin-right: auto;
  line-height: 0;
}
.site-header__logo img {
  width: auto;
  height: clamp(64px, 6.4vw, 92px);
  filter: none;
}

/* --- Desktop navigation --------------------------------------------------- */

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.6vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item { position: relative; }

.site-nav__link,
.site-nav__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap; /* never wrap menu labels such as "Patient Resources" */
  cursor: pointer;
}
.site-nav__toggle svg { flex-shrink: 0; } /* keep the dropdown arrows visible */

.site-nav__link::after,
.site-nav__toggle::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) ease;
}
.site-nav__link:hover::after,
.site-nav__toggle:hover::after,
.site-nav__item:hover > .site-nav__link::after,
.site-nav__item:hover > .site-nav__toggle::after,
.site-nav__link:focus-visible::after,
.site-nav__toggle:focus-visible::after,
.site-nav__item.is-open .site-nav__toggle::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--navy); }

.site-nav__toggle svg { transition: transform var(--t-fast) ease; }
.site-nav__item.is-open .site-nav__toggle svg { transform: rotate(180deg); }

.site-nav__submenu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 268px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 rgba(12, 44, 71, .1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-fast) ease, transform var(--t-fast) var(--ease-out), visibility var(--t-fast);
}
.site-nav__item.is-open > .site-nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.site-nav__submenu a {
  display: block;
  padding: 11px 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast) ease, background var(--t-fast) ease, padding-left var(--t-fast) ease;
}
.site-nav__submenu a:hover,
.site-nav__submenu a[aria-current="page"] {
  color: var(--white);
  background: var(--navy);
  padding-left: 28px;
}

/* --- Header actions ------------------------------------------------------- */

.site-header__actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
}

.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast) ease;
}
.site-header__phone:hover { color: var(--green); }
.site-header__phone .phone-icon { flex: none; width: 19px; height: 19px; }

.site-header .btn { min-height: 48px; padding-inline: 20px; white-space: nowrap; }

.site-header__burger {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: color var(--t-fast) ease, background var(--t-fast) ease;
}
.site-header__burger:hover { color: var(--white); background: var(--navy); }

/* --- Navigation below 1361px --------------------------------------------- */

@media (max-width: 1360px) {
  .site-header__burger { display: grid; }
  .site-header__phone span { display: none; }
  .site-header__phone .phone-icon { width: 22px; height: 22px; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--navy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--t-fast) ease, transform var(--t-fast) var(--ease-out), visibility var(--t-fast);
  }
  .site-header.is-nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 26px;
  }
  .site-nav__item { border-bottom: 1px solid var(--rule); }
  .site-nav__link,
  .site-nav__toggle {
    width: 100%;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 17px;
  }
  .site-nav__link::after, .site-nav__toggle::after { inset: auto 0 0; }

  .site-nav__submenu {
    position: static;
    min-width: 0;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
    background: transparent;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__item.is-open > .site-nav__submenu { display: block; }
  .site-nav__submenu a { padding: 11px 0 11px 18px; border-left: 2px solid var(--yellow); }
  .site-nav__submenu a:hover, .site-nav__submenu a[aria-current="page"] { padding-left: 24px; }
}

@media (max-width: 620px) {
  .site-header__bar { min-height: 92px; gap: 12px; }
  .site-header__logo img { height: clamp(58px, 18.5vw, 74px); }
  .site-header .btn { display: none; }
  .site-nav { max-height: calc(100vh - 92px); }
}

/* --- Breadcrumbs ---------------------------------------------------------- */

.breadcrumb,
.breadcrumbs {
  padding-top: clamp(20px, 2.6vw, 34px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before,
.breadcrumbs span[aria-hidden] { content: "/"; color: var(--yellow); font-weight: 800; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.breadcrumb a,
.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.breadcrumb a:hover,
.breadcrumbs a:hover { color: var(--navy); border-bottom-color: var(--yellow); }
.breadcrumb [aria-current="page"],
.breadcrumbs [aria-current="page"] { color: var(--navy); }

/* --- Medical review line -------------------------------------------------- */

.medical-review {
  margin-block: clamp(48px, 6vw, 84px) 0;
  padding-bottom: clamp(48px, 6vw, 84px);
}
.medical-review__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  padding: 20px 24px;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--yellow);
  background: color-mix(in srgb, var(--mint) 55%, transparent);
  font-size: 14px;
  font-weight: 600;
}
.medical-review__inner p { margin: 0; }

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  margin-top: auto;
  padding-block: clamp(56px, 7vw, 92px) 34px;
  background: var(--green);
  color: var(--mint);
  font-size: 15px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(30px, 4vw, 54px);
}
.site-footer__logo {
  margin-bottom: 18px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1;
  letter-spacing: -.05em;
}
.site-footer h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
}
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer p { margin-bottom: .8em; line-height: 1.6; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  padding-bottom: 1px;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.site-footer a:hover { color: var(--white); border-bottom-color: var(--yellow); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 34px;
  margin-top: clamp(40px, 5vw, 62px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.site-footer__bottom li { margin: 0; }

@media (max-width: 980px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* rc3-components.css */
/* ==========================================================================
   RC v3 — Components: heroes, colour bands, cards and grids
   ========================================================================== */

/* ==========================================================================
   1. Heroes
   ========================================================================== */

/* --- Homepage hero: split copy / full-height photograph (mockup) ---------- */

.home-hero {
  padding: 0;
  background: var(--pink);
  color: var(--ink);
  overflow: hidden;
}
.home-hero.on-dark { background: var(--pink); color: var(--ink); }

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  align-items: stretch;
  gap: 0;
  max-width: none;
  padding: 0;
  min-height: min(760px, calc(100vh - 140px));
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 116px) var(--pad);
  padding-left: max(var(--pad), calc((100vw - var(--max)) / 2));
}

.home-hero h1 {
  max-width: 17ch;
  margin-bottom: 20px;
  /* The approved headline is longer than the mockup's, so the display size is
     tuned to keep "ENT and sinus care" on one line at desktop widths. */
  font-size: clamp(42px, 5.1vw, 78px);
  letter-spacing: -.062em;
}

/* The tagline carries the mockup's serif counter-voice. */
.home-hero__tagline {
  max-width: 20ch;
  margin-bottom: 26px;
  color: var(--green);
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.home-hero__intro {
  max-width: 54ch;
  margin-bottom: 32px;
  font-size: var(--lead);
  line-height: 1.43;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* On the light hero the "on dark" secondary button becomes an ink outline. */
.home-hero .btn--on-dark,
.home-hero .btn--secondary {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}
.home-hero .btn--on-dark:hover,
.home-hero .btn--secondary:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }

.home-hero__footnote {
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.home-hero__figure {
  position: relative;
  min-height: 520px;
  background: var(--aqua);
  overflow: hidden;
}
/* Yellow spine against the copy column — the mockup's signature edge. */
.home-hero__figure::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: clamp(12px, 2vw, 32px);
  background: var(--yellow);
}
.home-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 38%;
  transform: scale(1.04);
  transition: transform 1.3s var(--ease-out);
}
.home-hero__figure:hover img { transform: scale(1); }

.home-hero__figure figcaption {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  max-width: 390px;
  margin: 0;
  padding: 20px 26px;
  color: var(--white);
  background: var(--green);
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.25;
}

/* --- Interior editorial heroes ------------------------------------------- */

.page-hero,
.about-hero,
.team-hero,
.blog-hero,
.services-hero,
.editorial-hero,
.proc-hero,
.article-hero {
  padding-block: clamp(42px, 5.5vw, 86px) clamp(38px, 4.5vw, 68px);
}

.page-hero h1,
.about-hero h1,
.team-hero h1,
.blog-hero h1,
.services-hero h1,
.editorial-hero h1,
.proc-hero h1,
.article-hero h1,
.hub-hero h1,
.procedure-hero h1 {
  max-width: 17ch;
  margin-bottom: 22px;
  font-size: var(--h1-sub);
  line-height: var(--leading-display);
  letter-spacing: var(--track-display);
}

.page-hero > p,
.about-hero > p,
.team-hero > p,
.blog-hero > p,
.services-hero > p,
.article-hero > p {
  max-width: 62ch;
  font-size: var(--lead);
  line-height: 1.42;
}

/* Two-column editorial hero */
.editorial-hero__grid,
.procedure-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: end;
  gap: clamp(30px, 4vw, 70px);
}

/* Hub hero: copy + framed photograph, mirroring the homepage split */
.hub-hero {
  padding-block: clamp(36px, 4.5vw, 64px) clamp(46px, 6vw, 96px);
}
.hub-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}
.hub-hero figure,
.hub-hero__photo {
  position: relative;
  margin: 0;
}
.hub-hero figure img,
.hub-hero__photo img {
  width: 100%;
  border-radius: var(--radius);
}
.hub-hero figure::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 -1px;
  width: clamp(10px, 1.4vw, 20px);
  background: var(--yellow);
}
.hub-hero figcaption,
.hub-hero__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 78%;
  margin: 0;
  padding: 14px 20px;
  color: var(--white);
  background: var(--green);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.3;
}

.hub-hero__support { margin-top: 20px; }

/* Article hero meta */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 18px;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* 404 */
.error-page { padding-block: clamp(70px, 10vw, 150px); text-align: left; }
.error-page__code {
  display: block;
  margin-bottom: 8px;
  /* navy, not yellow: this is real text, and yellow on paper fails AA */
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(76px, 13vw, 190px);
  line-height: .85;
  letter-spacing: var(--track-display);
}
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.error-page__links { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); }

/* ==========================================================================
   2. Full-width colour bands
   ========================================================================== */

/* Credential strip → the mockup's navy proof bar */
.credential-strip {
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.credential-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2));
}
.credential-strip .container > * {
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 22px clamp(16px, 2.4vw, 36px);
  border-right: 1px solid rgba(255, 255, 255, .18);
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}
.credential-strip .container > *:first-child { padding-left: 0; }
.credential-strip .container > *:last-child { border-right: 0; }
.credential-strip a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--t-fast) ease, gap var(--t-fast) ease;
  gap: 8px;
}
.credential-strip a:hover { color: var(--yellow); }
.credential-strip a span[aria-hidden] { display: inline-block; transition: transform var(--t-fast) var(--ease-out); }
.credential-strip a:hover span[aria-hidden] { transform: translate(4px, -4px); }

/* Second-opinion band → the mockup's yellow band */
.second-opinion-band {
  padding-block: clamp(62px, 8vw, 120px);
  background: var(--yellow);
  color: var(--navy);
}
.second-opinion-band.on-dark { background: var(--yellow); color: var(--navy); }
.second-opinion-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  align-items: end;
  gap: clamp(30px, 5vw, 86px);
}
.second-opinion-band h2 {
  max-width: 18ch;
  margin: 0;
  font-size: var(--h2);
  line-height: .98;
  letter-spacing: var(--track-display);
}
.second-opinion-band .eyebrow::after { background: var(--navy); }
.second-opinion-band p { margin-bottom: 24px; font-size: 18px; }
/* Buttons on yellow: solid navy reads best. */
.second-opinion-band .btn,
.second-opinion-band .btn--on-dark,
.second-opinion-band .btn--secondary {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}
.second-opinion-band .btn:hover { color: var(--navy); background: transparent; border-color: var(--navy); }
.second-opinion-band :focus-visible { outline-color: var(--navy); }

/* ==========================================================================
   3. Symptom paths — bordered card grid with alternating fills
   ========================================================================== */

.symptom-paths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--navy);
  border-left: 1px solid var(--navy);
}
.symptom-paths--three { grid-template-columns: repeat(3, 1fr); }

.symptom-path {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  border-right: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  color: inherit;
  text-decoration: none;
  background: transparent;
  transition: color var(--t-mid) ease, background var(--t-mid) ease, transform var(--t-mid) var(--ease-out);
}
/* Four fills on a four-step cycle. The cycle length is coprime with the 3-column
   layout and equal to the 4-column one, which is a single row, so no two cards
   that touch — across or down — ever share a colour at any breakpoint. */
.symptom-paths > .symptom-path:nth-child(4n+1) { background: color-mix(in srgb, var(--pink) 55%, var(--white)); }
.symptom-paths > .symptom-path:nth-child(4n+2) { background: var(--aqua); }
.symptom-paths > .symptom-path:nth-child(4n+3) { background: var(--mint); }
.symptom-paths > .symptom-path:nth-child(4n+4) { background: var(--yellow); }

.symptom-path:hover {
  position: relative;
  z-index: 2;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-7px);
}

.path-index {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
}
.symptom-path h3 {
  margin: clamp(32px, 4vw, 54px) 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: var(--track-tight);
}
.symptom-path p { margin-bottom: 28px; font-size: 16px; }
.path-action {
  margin-top: auto;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}
.path-action span[aria-hidden] { display: inline-block; margin-left: 6px; transition: transform var(--t-fast) var(--ease-out); }
.symptom-path:hover .path-action span[aria-hidden] { transform: translate(5px, -4px); }

/* ==========================================================================
   4. Service grid → numbered rows on green (mockup services section)
   ========================================================================== */

.rc-service-grid {
  counter-reset: service;
  padding: clamp(30px, 4vw, 58px) clamp(24px, 3.4vw, 54px);
  background: var(--green);
  color: var(--white);
}
.rc-service-card {
  counter-increment: service;
  display: grid;
  grid-template-columns: 62px minmax(180px, .85fr) minmax(0, 1.15fr) minmax(190px, auto);
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  min-height: 116px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .4);
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) ease, background var(--t-fast) ease, padding var(--t-fast) ease;
}
.rc-service-card:last-child { border-bottom: 1px solid rgba(255, 255, 255, .4); }
.rc-service-card::before {
  content: counter(service, decimal-leading-zero);
  color: var(--aqua);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}
.rc-service-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.7vw, 40px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.03em;
}
.rc-service-card p { margin: 0; color: var(--mint); font-size: 16px; }
.rc-service-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}
.rc-service-card__link span[aria-hidden] {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  font-size: 19px;
  transition: transform var(--t-fast) var(--ease-out);
}
.rc-service-card:hover {
  color: var(--navy);
  background: var(--aqua);
  padding-inline: 20px;
}
.rc-service-card:hover p { color: var(--navy); }
.rc-service-card:hover::before { color: var(--navy); }
.rc-service-card:hover .rc-service-card__link span[aria-hidden] { transform: translateX(5px); }

/* ==========================================================================
   5. Physician feature — split photograph and editorial column
   ========================================================================== */

.physician-feature {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  align-items: stretch;
  gap: clamp(30px, 5vw, 78px);
}
.physician-feature > figure {
  position: relative;
  align-self: start;
  background: var(--yellow);
}
.physician-feature > figure img {
  width: 100%;
  border-radius: var(--radius);
}
.physician-feature > figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: min(78%, 360px);
  margin: 0;
  padding: 20px 24px;
  color: var(--white);
  background: var(--navy);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.physician-feature > div { display: flex; flex-direction: column; justify-content: center; }
.physician-feature h2 {
  max-width: 20ch;
  margin-bottom: 26px;
  font-size: var(--h2-sm);
  line-height: 1;
  letter-spacing: var(--track-display);
}
.physician-feature p { max-width: 60ch; font-size: 17px; }

.award-inline {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}
.award-inline img { width: clamp(84px, 9vw, 122px); height: auto; }
.award-inline p { margin: 0; font-size: 14px; line-height: 1.45; }
.award-inline strong { color: var(--navy); }

/* ==========================================================================
   6. Care steps → numbered process row
   ========================================================================== */

.care-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-strong);
}
.care-steps li {
  position: relative;
  min-height: 290px;
  padding: 26px clamp(22px, 3vw, 40px) 40px 0;
  border-right: 1px solid var(--rule-strong);
}
.care-steps li::before {
  content: "";
  position: absolute;
  inset: -1px auto auto 0;
  width: 52px;
  height: 3px;
  background: var(--yellow);
}
.care-steps li + li { padding-left: clamp(22px, 3vw, 40px); }
.care-steps li + li::before { left: clamp(22px, 3vw, 40px); }
.care-steps li:last-child { border-right: 0; }
.care-steps li > span {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(46px, 5vw, 66px);
  line-height: 1;
  letter-spacing: var(--track-display);
}
.care-steps h3 {
  margin: clamp(30px, 4vw, 54px) 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.05;
}
.care-steps p { margin: 0; }

/* ==========================================================================
   7. CTA block — the closing panel
   ========================================================================== */

.cta-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(26px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 92px);
  padding: clamp(38px, 5vw, 68px) clamp(28px, 4vw, 60px);
  background: var(--navy);
  color: var(--white);
}
.cta-block.on-dark { background: var(--navy); color: var(--white); }
.cta-block > h2, .cta-block > h3 { grid-column: 1; }
.cta-block > p { grid-column: 1; }
.cta-block__actions,
.cta-block > .btn {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
}
.cta-block h2 {
  max-width: 18ch;
  margin: 0 0 12px;
  font-size: var(--h2-sm);
  line-height: .98;
  letter-spacing: var(--track-display);
}
.cta-block p { margin: 0; max-width: 54ch; color: var(--mint); font-size: 17px; }
.cta-block__actions { display: flex; flex-direction: column; gap: 10px; }
.cta-block .btn--primary {
  color: var(--navy);
  background: var(--yellow);
  border-color: var(--yellow);
}
.cta-block .btn--primary:hover { color: var(--navy); background: var(--aqua); border-color: var(--aqua); }

/* ==========================================================================
   8. Card family — one square-cornered baseline
   ========================================================================== */

.card,
.condition-card,
.procedure-card,
.diagnostic-card,
.type-card,
.pediatric-condition-card,
.location-card,
.blog-card,
.team-card,
.testimonial-card,
.guide-option,
.anesthesia-block__card,
.candidacy__col,
.voice-feature,
.choice-panel,
.rc-resource-panel,
.differentiator,
.age-split__col,
.pnn-video-card {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: var(--white);
}

/* Cards that are themselves links get the lift + fill treatment. */
a.card,
a.condition-card,
a.procedure-card,
a.diagnostic-card,
a.type-card,
a.pediatric-condition-card,
a.blog-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: color var(--t-mid) ease, background var(--t-mid) ease,
              border-color var(--t-mid) ease, transform var(--t-mid) var(--ease-out);
}
a.card:hover,
a.condition-card:hover,
a.procedure-card:hover,
a.diagnostic-card:hover,
a.type-card:hover,
a.pediatric-condition-card:hover,
a.blog-card:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-6px);
}
a.card:hover p, a.condition-card:hover p, a.procedure-card:hover p,
a.diagnostic-card:hover p, a.type-card:hover p,
a.pediatric-condition-card:hover p, a.blog-card:hover p { color: var(--mint); }

.card h2, .card h3,
.condition-card h2, .condition-card h3,
.procedure-card h3, .diagnostic-card h3, .type-card h3,
.pediatric-condition-card h3, .location-card h2, .blog-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: var(--track-tight);
}

.condition-card__label,
.condition-secondary-label,
.procedure-card__meta,
.blog-card__category,
.blog-card__date,
.clinical-instrument__label,
.team-card__role,
.blog-featured__category,
.blog-featured__date,
.testimonial-card__source,
.location-card__hours-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink-faint);
}
a.card:hover .condition-card__label,
a.condition-card:hover .condition-card__label,
a.procedure-card:hover .procedure-card__meta,
a.blog-card:hover .blog-card__category,
a.blog-card:hover .blog-card__date { color: var(--aqua); }

.procedure-card__link,
.pediatric-condition-card__link,
.rc-service-card__link,
.card-action {
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 800;
}
.procedure-card__link span[aria-hidden],
.pediatric-condition-card__link span[aria-hidden] {
  display: inline-block;
  margin-left: 6px;
  transition: transform var(--t-fast) var(--ease-out);
}
a.procedure-card:hover .procedure-card__link span[aria-hidden],
a.pediatric-condition-card:hover .pediatric-condition-card__link span[aria-hidden] { transform: translate(5px, -4px); }

/* --- Grids ---------------------------------------------------------------- */

.card-grid,
.condition-grid,
.diagnostic-grid,
.type-grid,
.related-grid,
.procedure-list,
.locations-grid,
.team-grid,
.testimonial-grid,
.credential-grid,
.rc-product-grid,
.guide-options,
.family-gallery,
.pnn-media-grid,
.tldr__grid,
.age-split,
.candidacy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(clamp(250px, 26vw, 320px), 100%), 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}
.locations-grid,
.age-split,
.candidacy,
.tldr__grid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

/* ==========================================================================
   9. Team, testimonials, locations
   ========================================================================== */

.team-card { display: flex; flex-direction: column; }
.team-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 450 / 510;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 22px;
  background: var(--mint);
}
body[data-page="team"] main .team-card .team-portrait-frame img.team-card__photo.v2-natural-image {
  position: absolute;
  width: 133.333333%;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  left: -16.666667%;
  top: -6.862745%;
  margin: 0;
  object-fit: contain;
}
.team-card__photo { width: 100%; border-radius: var(--radius); }
.team-card h2, .team-card h3 {
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: var(--track-tight);
}
.team-card__role { display: block; margin-bottom: 16px; }
.team-card__bio p { font-size: 16px; }
.team-card__training { margin-top: 16px; font-size: 15px; }

.testimonial-card { display: flex; flex-direction: column; gap: 14px; background: var(--mint); }
.testimonial-card__stars { color: var(--yellow); font-size: 19px; letter-spacing: .12em; }
.testimonial-card__quote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 500;
  line-height: 1.32;
}
.testimonial-card__name { margin: 0; font-weight: 800; font-size: 15px; }
.testimonial-card__source { margin: 0; }

.location-card__hours { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.location-card__hours dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 22px;
  margin: 10px 0 0;
  font-size: 15px;
}
.location-card__hours dt { font-weight: 800; }
.location-card__hours dd { margin: 0; }
.location-card address { font-style: normal; line-height: 1.7; }
.location-card__note { margin-top: 20px; font-size: 15px; }

.insurance-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: clamp(28px, 3.4vw, 46px);
  padding: 26px clamp(22px, 3vw, 34px);
  background: var(--mint);
}
.insurance-link-row p { margin: 0; font-size: 17px; font-weight: 600; }

/* ==========================================================================
   9b. Anatomy line-art marks — nose & ear
   Single-weight navy line with a yellow inner accent, set beside a hero's
   lead paragraph (nose: homepage + Nose & Sinus; ear: Ears & Hearing +
   Audiology). Inline SVG so the strokes follow the palette tokens; master
   artwork lives in assets/rc3/anatomy-line-*.svg.
   ========================================================================== */

.anatomy-lede {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(18px, 2.2vw, 32px);
  margin-bottom: 26px;
}
.anatomy-lede > p { margin: 0; }
.home-hero .anatomy-lede { margin-bottom: 32px; }

.anatomy-mark {
  display: block;
  width: auto;
  height: clamp(76px, 8.6vw, 132px);
  overflow: visible;
}
.anatomy-mark--ear { height: clamp(68px, 7.6vw, 116px); }
.anatomy-mark__line { stroke: var(--navy); }
.anatomy-mark__accent { stroke: var(--yellow); }
.anatomy-mark__line circle { fill: var(--navy); stroke: none; }
.anatomy-mark__accent circle { fill: var(--yellow); stroke: none; }

/* Phones: the mark floats like a drop initial so the paragraph keeps the
   full column width once it clears the artwork. */
@media (max-width: 620px) {
  .anatomy-lede { display: flow-root; }
  .anatomy-mark { float: left; height: 80px; margin: 4px 18px 6px 0; }
  .anatomy-mark--ear { height: 70px; }
}

/* The line draws itself once, when the hero copy is revealed (motion.js).
   Without JS, or with reduced motion, the artwork is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .js .anatomy-lede.is-visible .anatomy-mark path {
    stroke-dasharray: 1 1.1;
    animation: anatomy-draw 1.6s var(--ease-out) .15s both;
  }
  .js .anatomy-lede.is-visible .anatomy-mark__accent path { animation-delay: .7s; }
  .js .anatomy-lede.is-visible .anatomy-mark circle { animation: anatomy-dot .2s ease-out .15s both; }
  .js .anatomy-lede.is-visible .anatomy-mark__accent circle { animation-delay: .7s; }
}
@keyframes anatomy-draw { from { stroke-dashoffset: 1.02; } to { stroke-dashoffset: 0; } }
@keyframes anatomy-dot { from { opacity: 0; } }

/* ==========================================================================
   10. Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .symptom-paths { grid-template-columns: repeat(2, 1fr); }
  .symptom-paths--three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .home-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .home-hero__copy { padding-inline: var(--pad); }
  .home-hero__figure { min-height: 440px; }
  .credential-strip .container { grid-template-columns: repeat(2, 1fr); }
  .credential-strip .container > *:first-child { padding-left: clamp(16px, 2.4vw, 36px); }
  .credential-strip .container > *:nth-child(2) { border-right: 0; }
  .credential-strip .container > *:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .section-heading,
  .second-opinion-band .container,
  .editorial-hero__grid,
  .procedure-hero__grid,
  .hub-hero .container,
  .physician-feature { grid-template-columns: 1fr; gap: clamp(26px, 4vw, 40px); }
  .physician-feature > figure { max-width: 520px; }
  .rc-service-card { grid-template-columns: 48px 1fr auto; }
  .rc-service-card p { display: none; }
  .care-steps { grid-template-columns: 1fr; border-top: 0; }
  .care-steps li,
  .care-steps li + li {
    min-height: 0;
    padding: 26px 0 34px;
    border-right: 0;
    border-top: 1px solid var(--rule-strong);
  }
  .cta-block { grid-template-columns: 1fr; }
  /* the actions were pinned to column 2 on desktop — return them to the flow */
  .cta-block__actions,
  .cta-block > .btn { grid-column: 1; grid-row: auto; }
  .cta-block__actions { flex-direction: row; flex-wrap: wrap; }
}

/* Some approved pages set grid columns inline; those declarations can only be
   answered with !important, which is why this narrow exception exists. */
@media (max-width: 900px) {
  .card-grid[style*="grid-template-columns"],
  .condition-grid[style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
  .card-grid[style*="grid-template-columns"],
  .condition-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* Narrow phones: every multi-column grid collapses to a single column. */
@media (max-width: 560px) {
  .card-grid, .condition-grid, .diagnostic-grid, .type-grid, .related-grid,
  .procedure-list, .locations-grid, .team-grid, .testimonial-grid,
  .credential-grid, .rc-product-grid, .guide-options, .family-gallery,
  .pnn-media-grid, .tldr__grid, .age-split, .candidacy,
  .split-columns, .split-editorial, .anesthesia-block, .principle-list,
  .rc-sitemap-columns { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .symptom-paths,
  .symptom-paths--three { grid-template-columns: 1fr; }

  .symptom-path { min-height: 0; }
  .credential-strip .container { grid-template-columns: 1fr; }
  .credential-strip .container > * {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    padding-left: 0;
  }
  .credential-strip .container > *:first-child { padding-left: 0; }
  .home-hero__figure { min-height: 360px; }
  .home-hero__figure::before { width: 9px; }
  .home-hero__figure figcaption { max-width: 88%; padding: 15px 18px; }
  .cta-block__actions { flex-direction: column; }
  .rc-service-grid { padding-inline: 20px; }
  .rc-service-card { grid-template-columns: 34px 1fr auto; gap: 14px; }
  .rc-service-card h3 { font-size: 24px; }
  .rc-service-card__link { font-size: 0; gap: 0; }
  .rc-service-card__link span[aria-hidden] { width: 40px; height: 40px; font-size: 18px; }
  .award-inline { flex-direction: column; align-items: flex-start; gap: 14px; }
}


/* ==========================================================================
   Request a Callback form (Contact page)
   ========================================================================== */

.callback-form-wrap {
  display: grid;
  gap: var(--gap);
  max-width: var(--max-narrow);
}
.callback-form-intro h2 { margin-bottom: 10px; }
.callback-form-intro p { max-width: 60ch; }
.callback-form {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}
.callback-form__row { display: grid; gap: 6px; }
.callback-form__row label {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}
.callback-form__row input,
.callback-form__row textarea {
  border: 2px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
}
.callback-form__row input:focus-visible,
.callback-form__row textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 1px;
  border-color: var(--navy);
}
.callback-form__row textarea { resize: vertical; min-height: 100px; }
/* Honeypot: present in the DOM for bots to fill, hidden from sighted and
   screen-reader visitors alike so it never confuses a real submitter. */
.callback-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.callback-form__consent { color: var(--ink-soft); }
.callback-form__success {
  padding: 24px;
  background: var(--green);
  color: var(--white);
}
.callback-form__success h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin-bottom: 6px;
}
/* The grid display above would otherwise override the hidden attribute,
   leaving the form on screen under the thank-you message. */
.callback-form[hidden],
.callback-form__success[hidden] { display: none; }
.callback-form .btn { justify-self: start; }
@media (max-width: 620px) { .callback-form .btn { justify-self: stretch; } }

/* Rebrand: "Expert ENT and Sinus Care" is longer than the old name; balance the
   footer name over two even lines instead of leaving "Care" alone. */
.site-footer__logo { text-wrap: balance; max-width: 12ch; }

/* Testimonials: nine attributed Google-review excerpts in a 3 x 3 grid.
   Small stars; name and source pinned to the bottom so rows stay even. */
.testimonial-grid--nine { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .testimonial-grid--nine { grid-template-columns: 1fr; max-width: 68ch; } }
.testimonial-grid--nine .testimonial-card { margin: 0; }
.testimonial-grid--nine .testimonial-card__stars { font-size: 14px; letter-spacing: .14em; line-height: 1; }
.testimonial-grid--nine .testimonial-card__quote { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.4; }
.testimonial-grid--nine .testimonial-card__quote p { margin: 0; }
.testimonial-card__byline { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 6px; }
.testimonial-grid--nine .testimonial-card__name { font-style: normal; }
.testimonial-grid--nine .testimonial-card__source { font-size: 13px; font-weight: 500; letter-spacing: normal; text-transform: none; }

/* Full-width photo hub hero (Allergies): the photo fills the section and the
   headline sits on its quiet left side over a fade into the page colour.
   On phones the photo sits above the headline instead of behind it. */
.hub-hero--photo { position: relative; padding: 0; overflow: hidden; }
.hub-hero--photo .container { display: block; position: static; min-height: clamp(560px, 46vw, 680px); padding-block: clamp(56px, 6vw, 88px); }
.hub-hero--photo .container > div { position: relative; z-index: 2; max-width: 540px; }
.hub-hero--photo figure { position: absolute; inset: 0; margin: 0; }
.hub-hero--photo figure::before { display: none; }
.hub-hero--photo figure img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hub-hero--photo figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--pink) 96%, transparent) 0%,
    color-mix(in srgb, var(--pink) 92%, transparent) 38%,
    color-mix(in srgb, var(--pink) 60%, transparent) 48%,
    transparent 60%);
}
@media (max-width: 980px) {
  .hub-hero--photo .container { display: flex; flex-direction: column-reverse; min-height: 0; max-width: none; padding: 0 0 clamp(40px, 8vw, 64px); gap: 28px; }
  .hub-hero--photo .container > div { align-self: stretch; max-width: none; padding-inline: var(--pad); }
  .hub-hero--photo figure { position: relative; inset: auto; align-self: stretch; width: 100%; height: clamp(260px, 62vw, 420px); }
  .hub-hero--photo figure img { object-position: 76% 35%; }
  .hub-hero--photo figure::after { display: none; }
}

/* Contact: team photo in the header (standard split hub hero). */
.hub-hero--contact h1 { margin-bottom: var(--space-4, 20px); }
.hub-hero--contact + .section { padding-top: clamp(8px, 2vw, 24px); }

/* Contact: street maps (OpenStreetMap data, served with the site - no third-party requests)
   that open the office in Google Maps. */
.rc3-building.location-map { position: relative; display: block; aspect-ratio: 3 / 2; height: auto; text-decoration: none; }
.rc3-building.location-map img { width: 100%; height: 100%; object-fit: cover; transform: none; transition: filter .3s ease; }
.location-map:hover img, .location-map:focus-visible img { filter: brightness(1.05) saturate(1.05); }
.location-map__label {
  position: absolute; left: 22px; bottom: 12px; display: inline-flex; align-items: center; gap: .35em;
  padding: .55em .9em; background: var(--navy); color: var(--white);
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
}
.location-map:hover .location-map__label, .location-map:focus-visible .location-map__label { background: var(--green); }
.location-card .location-map + h2 { margin-top: 20px; }

/* Team: wide group photo sits full width under the introduction. */
[data-page="team"] .staff-group.staff-group--wide { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 3vw, 44px); }
[data-page="team"] .staff-group--wide .staff-group__photo { aspect-ratio: 2000 / 1025; height: auto; }
