/* RADS Dental — responsive design layer | 30 October 2026 */
:root {
  --navy: #163b51;
  --navy-d: #0d293a;
  --ink: #18313f;
  --sky: #eef7f8;
  --sky-d: #d9ecec;
  --line: #dce7e8;
  --mute: #59717a;
  --wa: #137e52;
  --teal: #1a8892;
  --pearl: #f8faf8;
  --sand: #f4f2ed;
  --w: 1240px;
  --r: 11px;
  --rl: 22px;
}
html { scroll-padding-top: 92px; }
body { font-size: 1rem; line-height: 1.68; overflow-x: clip; background: #fff; }
main { min-width:0; }
.wrap, section .wrap, .hdr .wrap, .ftr .wrap, .ql .wrap {
  width: min(100%, calc(var(--w) + 48px));
  max-width: calc(var(--w) + 48px);
  padding-inline: 24px;
  margin-inline: auto;
}
section .wrap { margin-left: auto; margin-right: auto; }
h1,h2,h3,h4 { letter-spacing: -.035em; color: var(--ink); }
h1 { font-size: clamp(2.7rem, 5.2vw, 5.2rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.12; }
h3 { font-size: clamp(1.18rem, 1.6vw, 1.45rem); }
p { max-width: 72ch; }
section { min-width:0; }
/* Scroll-triggered entrance animations for sections (enhanced by JS). */
.js section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}
.js section.is-visible,
.js section.hero {
  opacity: 1;
  transform: translateY(0);
}
.sec { padding-block: clamp(56px, 6.7vw, 100px); }
.sec.sky, .ql { background:var(--pearl); }
.sec.navy { background:var(--navy-d); }
.lead { font-size: clamp(1.065rem, 1.4vw, 1.23rem); line-height:1.75; }
.eyebrow { display:block; font-size: .73rem; letter-spacing:.17em; text-transform:uppercase; font-weight:800; color:var(--teal); line-height:1.7; margin-bottom: 20px; }
.btn { border-radius:999px; padding:.91rem 1.46rem; font-size:.945rem; font-weight:700; transition:background .2s ease,transform .2s ease,border-color .2s ease; min-height:48px; justify-content:center; }
.btn:hover { transform:translateY(-2px); }
.btn.ghost { background:#fff; }
.btn.ghost:hover { background: var(--navy); }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline:3px solid #1b929f; outline-offset:3px; }
.btns { align-items:center; gap:.7rem; }
.text-link { color:var(--navy); text-decoration:none; font-size:.95rem; font-weight:800; display:inline-flex; align-items:center; gap:.6rem; border-bottom:1px solid rgba(22,59,81,.35); padding-bottom:4px; }
.text-link:hover { color:var(--teal); border-color:var(--teal); }
.text-link span { font-size:1.25rem; line-height:1; }
/* Consistent, compact header */
.hdr { background:rgba(255,255,255,.97); border-color:var(--line); box-shadow:0 5px 30px rgba(22,59,81,.04); backdrop-filter: blur(16px); }
.hdr .wrap { min-height:82px; max-width:calc(var(--w) + 48px); padding-inline:24px; }
.brand { display:inline-flex; align-items:center; flex:none; }
.brand img { width:auto; height:48px; max-width:158px; object-fit:contain; }
.nav { gap: .45rem; }
.nav>ul { gap:0; }
.nav a.nl, .dd-btn { font-size:.87rem; font-weight:700; padding:.65rem .6rem; border-radius:10px; }
.nav a.nl:hover,.dd-btn:hover,.nav a.nl[aria-current=page] { background:#eaf3f4; }
.hdr-cta { gap:.4rem; margin-left:.4rem; }
.hdr .btn.sm { padding:.68rem 1rem; min-height:42px; font-size:.85rem; }
.nav .dd { max-height:min(70vh,550px); overflow:auto; min-width:275px; border-radius:16px; box-shadow:0 18px 70px rgba(9,37,51,.14); }
.nav .dd a { font-size:.9rem; }
/* Hero — image-first editorial composition */
.new-home-hero { background:linear-gradient(135deg,#f7fbfa 0%,#f5f8f5 64%,#eef6f6 100%); padding:clamp(55px,6vw,88px) 0; }
.new-home-hero .hero-layout { display:grid; grid-template-columns: minmax(0,1fr) minmax(0,.98fr); gap:clamp(38px,6vw,92px); align-items:center; }
.hero-copy { position:relative; z-index:1; }
.hero-copy h1 { font-family:var(--serif); max-width: 680px; margin-bottom:22px; }
.hero-copy h1 em { font-style:normal; color:var(--teal); }
.hero-copy .lead { max-width:520px; margin:0 0 30px; color:#4f6871; }
.hero-assurance { margin-top:35px; display:flex; flex-wrap:wrap; gap:12px 20px; font-size:.83rem; font-weight:650; color:#4d6872; }
.hero-assurance div { display:flex; align-items:center; gap:7px; }
.hero-assurance span { color:var(--teal); font-size:1.1rem; }
.hero-visual { position:relative; height: 540px; border-radius: 24px 145px 24px 24px; overflow:visible; }
.hero-visual>img { width:100%; height:100%; object-fit:cover; object-position:center; border-radius:inherit; box-shadow:0 20px 50px rgba(6,42,60,.08); }
.hero-visual-note { position:absolute; left:-38px; bottom:26px; display:flex; align-items:center; gap:14px; background:#fff; border:1px solid var(--line); box-shadow:0 10px 36px rgba(20,53,68,.1); border-radius:16px; padding:18px 21px; min-width:300px; }
.hero-visual-note strong,.hero-visual-note small { display:block; }
.hero-visual-note strong { color:var(--navy); font-size:.94rem; }
.hero-visual-note small { color:var(--mute); font-size:.77rem; }
.note-icon { color:#fff; display:grid; place-items:center; border-radius:50%; background:var(--teal); width:40px; height:40px; font-size:1.3rem; flex:none; }
.intro-strip { padding:75px 0; background:#fff; border-bottom:1px solid var(--line); }
.intro-grid { display:grid; grid-template-columns:1.1fr .7fr; gap:clamp(25px,5vw,85px); align-items:center; }
.intro-grid h2 { max-width:620px; margin:0; }
.intro-grid p { color:var(--mute); font-size:1.1rem; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:35px; }
.section-heading>div { max-width:740px; }
.section-heading h2 { margin-bottom:12px; }
.section-heading p { color:var(--mute); margin:0; font-size:1.07rem; }
.section-heading>.text-link { flex:none; margin-bottom:9px; }
/* Treatment cards */
.home-services { background:#f6f9f8; }
.service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.service-card { display:block; position:relative; min-width:0; border-radius:19px; overflow:hidden; background:#fff; border:1px solid #e1e8e7; text-decoration:none; color:var(--ink); box-shadow:0 4px 16px rgba(14,39,50,.025); transition:transform .22s,box-shadow .22s,border-color .22s; }
.service-card:hover { transform:translateY(-5px); box-shadow:0 20px 35px rgba(14,39,50,.09); border-color:#c5d9da; }
.service-image { display:block; aspect-ratio: 1.55; overflow:hidden; background:#edf4f5; }
.service-image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.service-card:hover .service-image img { transform:scale(1.035); }
.service-text { display:block; position:relative; padding:24px 47px 26px 23px; min-height:123px; }
.service-text strong { display:block; font-family:var(--serif); font-size:1.38rem; line-height:1.25; font-weight:600; margin-bottom:5px; }
.service-text>span:not(.service-arrow) { display:block; color:var(--mute); font-size:.9rem; line-height:1.5; }
.service-arrow { position:absolute; right:20px; top:21px; font-size:1.45rem; color:var(--teal); }
.service-grid-all { margin-top:0; }
/* Clinic visual */
.clinic-story { background:#fff; }
.clinic-story-grid { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:clamp(32px,6vw,90px); }
.clinic-story-visual { position:relative; }
.clinic-story-visual img { width:100%; aspect-ratio:1.08; object-fit:cover; border-radius:110px 22px 22px 22px; }
.image-label { position:absolute; right:-16px; bottom:22px; background:var(--navy); color:#fff; padding:11px 18px; border-radius:8px; font-size:.85rem; }
.clinic-story h2 { max-width:570px; margin-bottom:25px; }
.clinic-story p { color:var(--mute); }
.feature-list { list-style:none; padding:0; margin:24px 0 32px; }
.feature-list li { padding:10px 0 10px 32px; position:relative; border-bottom:1px solid var(--line); color:#355566; font-weight:600; }
.feature-list li::before { content:'✓'; position:absolute; left:0; font-weight:800; color:var(--teal); }
/* Team cards use untouched, lightly colour-corrected source portraits */
.section-team { background:var(--pearl); }
.doctor-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:23px; }
#our-team .doctor-grid {
  margin-top: 60px;
}
.doctor-card { min-width:0; border:1px solid #e0e8e7; background:#fff; border-radius:20px; overflow:hidden; display:flex; flex-direction:column; transition:transform .2s,box-shadow .2s; }
.doctor-card:hover { transform:translateY(-3px); box-shadow:0 15px 32px rgba(10,40,54,.08); }
.doctor-photo { display:block; overflow:hidden; background:#e4ecee; aspect-ratio: 1.23; }
.doctor-photo img { width:100%; height:100%; object-fit:cover; object-position:50% 22%; transition:transform .28s; }
.doctor-card:hover .doctor-photo img { transform:scale(1.025); }
.doctor-copy { padding:25px 25px 28px; display:flex; flex-direction:column; align-items:start; flex:1; }
.doctor-role { color:var(--teal); font-size:.69rem; font-weight:800; text-transform:uppercase; letter-spacing:.13em; margin-bottom:8px; line-height:1.5; }
.doctor-copy h3 { font-size:1.57rem; margin-bottom:6px; }
.doctor-copy h3 a { color:var(--ink); text-decoration:none; }
.doctor-copy h3 a:hover { color:var(--teal); }
.doctor-qual { font-size:.84rem; color:var(--mute); line-height:1.6; margin:0 0 16px; }
.doctor-badge { border:1px solid #a9d6d6; border-radius:60px; padding:4px 10px; color:#106777; background:#ecf8f7; font-size:.76rem; font-weight:700; margin-bottom:14px; }
.doctor-intro { font-size:.91rem; color:var(--mute); margin:0 0 17px; }
.doctor-copy .text-link { margin-top:auto; font-size:.85rem; }
/* Listing the team in full, with deeper profiles */
.people-head { min-height: 0; background:linear-gradient(130deg,#f6faf9,#edf6f6); padding-block:73px 87px; }
.people-head h1,.about-head h1 { max-width:880px; }
.people-head .lead,.about-head .lead { max-width:740px; }
.team-detail-section { background:#f1f8f8; }
.detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.doctor-detail { background:#fff; padding:30px; border:1px solid var(--line); border-radius:17px; display:grid; gap:12px; }
.doctor-detail .eyebrow { margin-bottom:8px; font-size:.68rem; }
.doctor-detail h3 { font-size:1.6rem; }
.doctor-detail p { margin:0; color:var(--mute); font-size:.95rem; }
.doctor-detail ul { display:flex; flex-wrap:wrap; gap:7px; list-style:none; padding:0; margin:0; }
.doctor-detail li { background:#eef5f5; border:1px solid #e0ebeb; color:#43616b; padding:5px 10px; font-size:.8rem; border-radius:99px; margin:0; }
.cta-dark { background:var(--navy-d); }
.cta-dark h2,.cta-dark .eyebrow { color:#fff; }
.cta-dark p { color:#d2e5e9; margin:0; }
.cta-layout { display:grid; grid-template-columns:1fr auto; gap:36px; align-items:center; }
.cta-layout .btns { justify-content:flex-end; }
.doctor-spotlight { background:#f6faf9; }
.spotlight-grid { display:grid; grid-template-columns:260px 1fr; align-items:center; gap:56px; max-width:950px; margin:0 auto; }
.spotlight-photo img { width:100%; aspect-ratio:.8; object-fit:cover; border-radius:20px; }
.spotlight-grid h2 { margin-bottom:6px; }
.spotlight-grid p { color:var(--mute); }
.spotlight-grid .spotlight-role { font-weight:700; color:var(--teal); }
.spotlight-pair { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start; max-width:1100px; margin:0 auto; }
.spotlight-card { display:flex; flex-direction:column; gap:1rem; background:#fff; border:1px solid #e8eef0; border-radius:20px; padding:1.5rem; transition:transform .25s ease,box-shadow .25s ease; }
.spotlight-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,.06); }
.spotlight-card .spotlight-photo { width:100%; max-width:260px; border-radius:16px; overflow:hidden; }
.spotlight-card .spotlight-photo img { width:100%; height:auto; aspect-ratio:.8; object-fit:cover; display:block; }
.spotlight-card h2 { margin:0 0 .5rem 0; font-size:1.5rem; }
.spotlight-card .spotlight-role { margin:0 0 .75rem 0; font-weight:700; color:var(--teal); }
.spotlight-card p { color:var(--mute); margin:0 0 1rem 0; font-size:.95rem; line-height:1.55; }
.spotlight-card .btns { display:flex; gap:.75rem; margin-top:auto; }
.spotlight-card .btns .btn { flex:1; text-align:center; padding:.6rem 1rem; font-size:.9rem; }
@media (max-width:768px) { .spotlight-pair { grid-template-columns:1fr; gap:2rem; } .spotlight-card .spotlight-photo { max-width:none; } }
/* Original page components — bring the rest of the site into one system */
.phead { background:linear-gradient(120deg,#f4f9f9,#eaf4f4); min-height:0; padding-block:65px; }
.phead:has(.bg-placeholder) { background:#eff7f7; isolation:isolate; }
.phead .bg-placeholder { opacity:.09; z-index:-1; filter:saturate(.7); }
.phead h1 { font-size:clamp(2.55rem,4.5vw,4.3rem); max-width:850px; }
.phead .lead { max-width:720px; color:#4b6772; }
.phead .split { grid-template-columns:minmax(0,1fr) minmax(0,.85fr); gap:60px; }
.phead .ph { border-radius:20px; overflow:hidden; background:#e7f1f1; box-shadow:0 10px 36px rgba(6,33,48,.08); }
.phead .ph img { aspect-ratio: 1.38; width:100%; height:100%; object-fit:cover; border:0; border-radius:0; }
.crumbs { margin-bottom:21px; }
.crumbs a { font-weight:700; text-decoration:none; }
.crumbs li { color:#5a737c; }
.cols { gap:clamp(32px,5vw,72px); }
.prose { min-width:0; max-width:850px; }
.prose h2 { font-size:clamp(1.65rem,2.5vw,2.4rem); }
.prose p,.prose li { color:#425a65; }
.prose-section { margin-bottom:33px; }
.aside { min-width:0; }
.card { border-radius:17px; box-shadow:0 7px 24px rgba(22,59,81,.04); }
.inline-cta,.callout { border-radius:10px; }
.inline-cta { align-items:center; gap:18px; }
.tlist a { border-bottom:1px solid var(--line); }
.tlist a:hover { background:#edf5f5; }
.pt { border-color:var(--teal); }
.gallery { gap:18px; }
.gallery img { aspect-ratio:4/3; object-fit:cover; border:0; border-radius:17px; }
.gallery figcaption { color:var(--mute); font-weight:600; }
.f input,.f select,.f textarea { min-height:47px; border-radius:10px; background:#fff; }
.f textarea { min-height:120px; }
.f .btn { border-radius:12px; }
.map { border-radius:20px; min-height:380px; }
.loc { gap:42px; }
.faq summary { font-family:var(--sans); font-size:1.05rem; font-weight:700; }
/* A review rail controlled by the visitor, never perpetual movement */
.reviews-slider-container { width:100%; margin:0; background:transparent; overflow:hidden; padding:14px 0 25px; }
.reviews-slider-container .slider-track { width:100%; padding:0 0 15px; overflow-x:auto; gap:17px; scroll-snap-type:x mandatory; scroll-behavior:smooth; transform:none!important; -webkit-overflow-scrolling:touch; }
.reviews-slider-container .review-card { scroll-snap-align:start; flex:0 0 min(335px,88vw); min-width:0; border:1px solid var(--line); padding:23px; border-radius:17px; box-shadow:none; }
.reviews-slider-container .review-card p { font-size:.9rem; overflow-wrap:anywhere; }
/* Make quick links and footer readable without overwhelming the page */
.ql { border-top:1px solid var(--line); padding-block:60px; }
.ql h2 { font-size:1.35rem; margin-bottom:22px; }
.qg { grid-template-columns:1.2fr 1.15fr .8fr; gap:45px; }
.ql a { font-size:.9rem; line-height:1.6; }
.ftr { background:#112f41; padding-top:70px; }
.ftr .fg { gap:35px; }
.ftr .logo { height:49px; }
.ftr p { max-width:430px; }
.ftr h3 { color:#fff; }
.ftr .disc { color:#bdd3da; }
/* Ensure no clipped overflow from legacy full-bleed sections */
.banner .btn-directions { left: 24px; bottom:24px; }
.banner-sec { overflow:hidden; }
.posts,.ogrid,.ba-grid { min-width:0; }
/* --------------------------------------------------------------
   About gallery — card swap layout (images left, copy right)
   -------------------------------------------------------------- */
.about-gallery .gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-gallery .gallery-stage {
  position: relative;
  width: calc(100% + 48px);
  margin-left: -24px;
}
.about-gallery .card-track {
  position: relative;
  border-radius: var(--rl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-width: 960px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  min-height: 320px;
  background: var(--pearl);
  box-shadow: 0 24px 60px rgba(13, 49, 66, 0.12);
}
.about-gallery .card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
  z-index: 1;
  margin: 0;
}
.about-gallery .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-gallery .card figcaption {
  margin: 0;
  position: absolute;
  inset: 0 0 0 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.55));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  align-items: flex-end;
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.about-gallery .card.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}
.about-gallery .card.active figcaption { opacity: 1; }
/* Incoming card stages outside the visible frame, then swaps in */
.about-gallery .card.incoming-next { transform: translateX(26px) scale(0.96); opacity: 1; }
.about-gallery .card.incoming-prev { transform: translateX(-26px) scale(0.96); opacity: 1; }
.about-gallery .card.outgoing-next { transform: translateX(-26px) scale(0.96); opacity: 0; }
.about-gallery .card.outgoing-prev { transform: translateX(26px) scale(0.96); opacity: 0; }
.about-gallery .gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  font-size: 1.25rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.about-gallery .gallery-prev { left: 14px; }
.about-gallery .gallery-next { right: 14px; }
.about-gallery .gallery-prev:hover { transform: translateY(-50%) translateX(-3px); }
.about-gallery .gallery-next:hover { transform: translateY(-50%) translateX(3px); }
.about-gallery .gallery-btn:focus-visible { outline: 3px solid #1b929f; outline-offset: 3px; }
.about-gallery .gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.about-gallery .dot {
  width: 26px;
  height: 6px;
  border: 0;
  border-radius: 3px;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: width 0.4s ease, background 0.4s ease, transform 0.3s ease;
}
.about-gallery .dot:hover { background: var(--mute); }
.about-gallery .dot.active { background: var(--navy); width: 34px; }
.about-gallery .dot:focus-visible { outline: 3px solid #1b929f; outline-offset: 2px; }
.about-gallery .gallery-copy p { margin-bottom: 0.9rem; }
.about-gallery .gallery-view {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.about-gallery .gallery-view-label { color: var(--ink); }

@media (max-width: 960px) {
  .about-gallery .gallery-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-gallery .gallery-stage { width: 100%; margin-left: 0; }
  .about-gallery .gallery-btn { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* Viewport adaptability */
@media (max-width:1200px) {
  .menu-btn { display:inline-flex; min-height:45px; min-width:45px; justify-content:center; align-items:center; }
  .hdr .wrap { min-height:73px; }
  .nav { display:none; position:absolute; left:0; right:0; top:100%; background:#fff; max-height:calc(100dvh - 73px); overflow-y:auto; padding:14px max(20px,calc((100vw - 1100px)/2)) 28px; border-top:1px solid var(--line); box-shadow:0 14px 35px rgba(20,52,67,.1); flex-direction:column; align-items:stretch; }
  .nav.open { display:flex; }
  .nav>ul { flex-direction:column; align-items:stretch; }
  .nav a.nl,.dd-btn { width:100%; padding:12px 14px; font-size:.98rem; justify-content:space-between; }
  .nav .dd { position:static; border:0; border-left:2px solid #d5e7e8; box-shadow:none; max-height:none; margin:4px 0 12px 15px; border-radius:0; display:none; }
  .nav .has-dd:hover .dd { display:none; }
  .nav .has-dd.open .dd { display:block; }
  .nav .dd a { font-size:.94rem; }
  .nav .hdr-cta { margin:12px 0 0; }
  .nav .tel { display:flex; }
  .nav .tel span { display:inline; }
  .service-text { padding:18px 44px 20px 19px; }
  .service-text strong { font-size:1.24rem; }
  .hero-visual { height:470px; }
}
@media (max-width:960px) {
  .new-home-hero .hero-layout { gap:35px; grid-template-columns:1fr 1fr; }
  .hero-copy h1 { font-size:clamp(2.5rem,5vw,3.7rem); }
  .hero-visual { height:420px; border-top-right-radius:90px; }
  .hero-visual-note { left:-14px; padding:12px 14px; min-width:0; }
  .intro-grid { grid-template-columns:1fr 1fr; }
  .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .doctor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .clinic-story-grid { gap:30px; }
  .phead .split { grid-template-columns:1fr 1fr; gap:27px; }
  .detail-grid { grid-template-columns:1fr 1fr; }
  .gallery { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .qg { gap:30px; }
}
@media (max-width:760px) {
  .wrap,section .wrap,.hdr .wrap,.ftr .wrap,.ql .wrap { padding-inline:20px; }
  .new-home-hero { padding:52px 0 62px; }
  .new-home-hero .hero-layout,.intro-grid,.clinic-story-grid { grid-template-columns:1fr; }
  .hero-copy h1 { font-size:clamp(2.6rem, 9vw, 4.4rem); }
  .hero-visual { height: min(480px, 77vw); margin-top:12px; border-radius:24px 95px 24px 24px; }
  .hero-visual-note { left:10px; bottom:15px; }
  .intro-strip { padding:55px 0; }
  .section-heading { align-items:start; flex-direction:column; gap:19px; }
  .section-heading>.text-link { margin:0; }
  .clinic-story-visual img { aspect-ratio:1.45; border-top-left-radius:75px; }
  .image-label { right:5px; }
  .phead,.people-head { padding-block:48px; }
  .phead .split { grid-template-columns:1fr; }
  .phead .ph img { max-height:350px; }
  .loc,.offer,.cta-layout { grid-template-columns:1fr; }
  .cta-layout .btns { justify-content:flex-start; }
  .spotlight-grid { grid-template-columns:190px 1fr; gap:24px; }
  .detail-grid { grid-template-columns:1fr; }
  .qg { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tlist { grid-template-columns:1fr; }
  .pts,.steps,.ogrid,.posts,.ba-grid { grid-template-columns:1fr; }
  .fg { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px) {
  .wrap,section .wrap,.hdr .wrap,.ftr .wrap,.ql .wrap { padding-inline:18px; }
  body { padding-bottom:72px; }
  .hdr .wrap { min-height:67px; }
  .brand img { height:42px; }
  .nav { max-height:calc(100dvh - 67px); }
  .new-home-hero { padding:43px 0 62px; }
  .hero-copy h1 { font-size:clamp(2.48rem,11vw,3.65rem); }
  .hero-copy .lead { font-size:1.05rem; }
  .hero-copy .btns { align-items:stretch; }
  .hero-assurance { margin-top:25px; gap:10px; display:grid; grid-template-columns:1fr 1fr; font-size:.78rem; }
  .hero-assurance div:last-child { grid-column:span 2; }
  .hero-visual { height:315px; }
  .hero-visual-note { padding:11px 13px; right:10px; bottom:-22px; font-size:.83rem; }
  .hero-visual-note small { font-size:.71rem; }
  .note-icon { width:34px; height:34px; }
  .intro-strip { padding-top:68px; }
  .eyebrow { font-size:.69rem; letter-spacing:.14em; margin-bottom:13px; }
  h2 { font-size:clamp(2rem,8vw,2.65rem); }
  .sec { padding-block:60px; }
  .service-grid { grid-template-columns:1fr; gap:16px; }
  .service-image { aspect-ratio:1.75; }
  .about-gallery .card-track { min-height: 220px; }
  .service-text { padding:18px 40px 19px 18px; min-height:0; }
  .doctor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
  .doctor-photo { aspect-ratio:.85; }
  .doctor-copy { padding:14px 12px 17px; }
  .doctor-role { font-size:.59rem; letter-spacing:.07em; }
  .doctor-copy h3 { font-size:1.1rem; line-height:1.2; }
  .doctor-qual { font-size:.69rem; line-height:1.5; }
  .doctor-badge { font-size:.64rem; }
  .doctor-intro { display:none; }
  .doctor-copy .text-link { font-size:.72rem; }
  .doctor-detail { padding:23px; }
  .doctor-detail h3 { font-size:1.4rem; }
  .spotlight-grid { grid-template-columns:200px 1fr; align-items:start; gap:15px; }
  .spotlight-grid h2 { font-size:1.65rem; }
  .spotlight-grid .eyebrow { margin-bottom:6px; }
  .spotlight-grid .btns { grid-column:1/-1; }
  .spotlight-photo img { border-radius:12px; }
  .btns { gap:10px; }
  .btn { width:100%; }
  .inline-cta .btn { width:auto; }
  .phead h1 { font-size:clamp(2.3rem,9vw,3.35rem); }
  .phead .lead { font-size:1rem; }
  .f.two { grid-template-columns:1fr; }
  .map { min-height:285px; }
  .qg { grid-template-columns:1fr; gap:25px; }
  .ql { padding-block:43px; }
  .fg { grid-template-columns:1fr; }
  .ftr { padding-top:52px; }
  .bar { display:grid; grid-template-columns:repeat(3,1fr); position:fixed; left:0; right:0; bottom:0; padding-bottom:env(safe-area-inset-bottom); z-index:120; background:#fff; border-top:1px solid var(--line); box-shadow:0 -10px 35px rgba(13,49,66,.09); }
  .bar a { padding:9px 4px; min-height:61px; gap:2px; font-size:.77rem; }
  .bar a.bk { background:var(--navy); }
  .bar .ico { width:1.5em; height:1.5em; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition:none!important; animation:none!important; }
  .js section { transition:none!important; opacity:1!important; transform:none!important; }
}
/* Neutralize previous JS scroll animation if a legacy cached script is served. */
.animate-on-scroll { opacity:1!important; transform:none!important; }
