/* Royal West Medical Clinic */

@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/sourcesans3-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/sourcesans3-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/sourcesans3-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Marcellus"; src: url("assets/fonts/marcellus-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --navy: #0E2B36;
  --navy-2: #143845;
  --navy-line: #1F4A59;
  --crimson: #A81E3B;
  --crimson-dark: #7C1229;
  --rose: #F6E4E8;
  --gold: #FFC857;
  --mist: #EDF2F1;
  --line: #C9D6D4;
  --ink-2: #26434D;
  --ink-3: #46626B;
  --on-dark: #D3E0DE;
  --white: #FFFFFF;
  --display: "Marcellus", "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --pad-y: clamp(56px, 8vw, 104px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 19px; line-height: 1.6; color: var(--navy); background: var(--mist); }
img, svg { display: block; max-width: 100%; }
a { color: var(--crimson); }
a:hover { color: var(--crimson-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 7px var(--white); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.display { font-family: var(--display); font-weight: 400; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; text-wrap: balance; }
.h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.2; }
.lede { max-width: 38em; color: var(--ink-2); }
.dark { background: var(--navy); color: var(--white); }
.dark .lede, .dark .muted { color: var(--on-dark); }
.white { background: var(--white); }
.mist { background: var(--mist); }
.stack { display: flex; flex-direction: column; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 4px; font-weight: 700; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 4px; font-weight: 600; font-size: 19px; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { flex: none; }
.btn-primary { background: var(--crimson); color: var(--white); }
.btn-primary:hover { background: var(--crimson-dark); color: var(--white); }
.btn-ghost { color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--gold); color: var(--navy); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--navy); color: var(--white); transition: box-shadow .2s; }
.topbar.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand img { width: 37px; height: 48px; }
.brand-name { display: flex; flex-direction: column; font-family: var(--display); font-size: 23px; line-height: 1.05; letter-spacing: .02em; }
.brand-name small { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); margin-top: 4px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); text-decoration: none; font-size: 17px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--white); border-bottom-color: var(--gold); }
.nav-tools { display: none; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 0; background: transparent; color: var(--white); cursor: pointer; }
.call-btn { background: var(--crimson); }
.call-btn:hover { background: var(--crimson-dark); color: var(--white); }
.menu-btn svg path { transition: transform .2s, opacity .2s; transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .m1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .m2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .m3 { transform: translateY(-5px) rotate(-45deg); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; padding-top: 40px; padding-bottom: 72px; }
.hero-copy { flex: 999 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }
.hero-lede { max-width: 32em; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--on-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { flex: 1 1 500px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; gap: 20px; }
.ecg-box { background: var(--navy-2); border-radius: 6px; padding: 10px 14px; }
.steps-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 24px; }
.steps-mini li { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.45; color: var(--on-dark); }
.steps-mini strong { display: flex; align-items: center; gap: 8px; color: var(--white); }
.num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--white); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }

/* Info strip */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 48px; padding-top: 20px; padding-bottom: 20px; }
.strip .grow { flex: 2 1 280px; min-width: 0; }
.label { font-size: 15px; color: var(--ink-3); }
.strip a.phone { color: var(--navy); text-decoration: none; }
.emergency { background: var(--crimson); color: var(--white); }
.emergency .wrap { padding-top: 18px; padding-bottom: 18px; font-size: 17px; line-height: 1.5; }

/* Tests */
.tests-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.tests-grid .test { grid-column: span 2; }
.tests-grid .test:nth-child(n+4) { grid-column: span 3; }
.tests-grid .test:nth-child(n+4) .test-art svg { max-height: 150px; margin: 0 auto; }
@media (max-width: 960px) { .tests-grid { grid-template-columns: 1fr 1fr; } .tests-grid .test, .tests-grid .test:nth-child(n+4) { grid-column: auto; } .tests-grid .test:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .tests-grid { grid-template-columns: 1fr; } }
.test { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.test-art { background: var(--mist); padding: 12px; }
.test-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.test-body p { font-size: 17px; color: var(--ink-2); }
.pill { align-self: flex-start; white-space: nowrap; background: var(--rose); color: var(--crimson-dark); font-size: 15px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }

/* Rhythm */
.rhythm-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.rhythm-buttons button { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--white); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; background: transparent; color: var(--white); }
.rhythm-buttons button:hover { background: rgba(255,255,255,.12); }
.rhythm-buttons button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.monitor { background: var(--navy-2); border-radius: 6px; overflow: hidden; }
.monitor > svg { width: 100%; height: clamp(120px, 16vw, 200px); }
.readout { padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; border-top: 1px solid var(--navy-line); }
.readout-head { flex: 1 1 260px; min-width: 0; display: flex; align-items: center; gap: 16px; }
.readout-head svg { flex: none; width: 48px; height: 48px; }
.readout-rate { color: var(--gold); font-weight: 700; }
.readout p { flex: 2 1 340px; min-width: 0; max-width: 36em; color: var(--on-dark); }
.fine { font-size: 16px; color: var(--on-dark); }

/* People */
.doctor { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 72px; }
.portrait { flex: 1 1 300px; min-width: 0; max-width: 420px; margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: #D5E1DF; border-radius: 6px; }
.doctor-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.role { font-size: 20px; color: var(--crimson); font-weight: 700; }
.big-stat { display: flex; align-items: center; gap: 18px; }
.big-stat .n { font-family: var(--display); font-size: clamp(3.4rem, 7vw, 5.5rem); line-height: 1; color: var(--crimson); }
.big-stat .t { max-width: 14em; line-height: 1.35; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--white); border: 1px solid #B9C9C7; padding: 6px 16px; border-radius: 999px; font-size: 17px; }
.chips li.on { background: var(--crimson); border-color: var(--crimson); color: var(--white); font-weight: 700; }
.timeline, .visit-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.timeline { gap: 28px 0; }
.timeline li, .visit-steps li { flex: 1 1 230px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.track { display: flex; align-items: center; }
.track .dot { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--crimson); }
.track .bar { flex: 1 1 auto; height: 2px; background: var(--crimson); }
.track .bar.fade { background: #B9C9C7; }
.timeline .when { font-family: var(--display); font-size: 28px; line-height: 1.2; }
.timeline .what, .visit-steps p { color: var(--ink-2); padding-right: 24px; }
.team-card { background: var(--white); border-radius: 6px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; }
.team-card figure { flex: 1 1 320px; max-width: 400px; margin: 0; min-width: 0; }
.team-card img { width: 100%; height: 100%; min-height: 280px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 35% 20%; }
.team-copy { flex: 999 1 380px; min-width: 0; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.team-copy p { max-width: 36em; color: var(--ink-2); }

/* Visit */
.visit-steps { gap: 36px 0; }
.visit-steps li { gap: 14px; }
.big-num { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 26px; }
.big-num.last { background: var(--crimson); }
.track .bar.navy { background: var(--navy); }
.visit-steps h3 { font-size: 20px; line-height: 1.3; }
.visit-steps .txt { padding-right: 28px; display: flex; flex-direction: column; gap: 6px; }

/* Referral */
.referral { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.referral-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.referral-list { margin: 0; padding: 0 0 0 1.2em; color: var(--on-dark); display: flex; flex-direction: column; gap: 6px; }
.form-preview { flex: 1 1 300px; min-width: 0; max-width: 400px; margin: 0; display: block; transform: rotate(1.5deg); transition: transform .2s; }
.form-preview img { width: 100%; height: auto; border-radius: 3px; box-shadow: 0 22px 48px rgba(0,0,0,.35); }
.form-preview:hover { transform: rotate(0deg) translateY(-4px); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1.35fr 1fr; gap: 36px 48px; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid > div { border-top: 2px solid var(--navy); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.contact-grid h3 { font-size: 16px; font-weight: 400; color: var(--ink-3); }
.contact-grid .tel { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-size: 30px; line-height: 1.2; color: var(--navy); text-decoration: none; }
.contact-grid .link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; overflow-wrap: anywhere; }
.contact-grid .email { white-space: nowrap; }
.map { margin-top: 8px; border: 0; width: 100%; height: 360px; border-radius: 6px; background: var(--line); }

/* Footer */
footer { background: var(--navy); color: var(--on-dark); font-size: 16px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding-top: 44px; padding-bottom: 44px; }
footer img { width: 120px; height: auto; }
footer .note { max-width: 36em; }
footer a { color: var(--white); }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 20; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 16px 0 13px; border-radius: 999px; background: var(--crimson); color: var(--white); font-weight: 600; font-size: 16px; text-decoration: none; box-shadow: 0 8px 24px rgba(14,43,54,.28); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s, background-color .15s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--crimson-dark); color: var(--white); }
.to-top[hidden] { display: none; }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 16px; padding: 0 13px; } .to-top span { display: none; } }
@media print { .to-top { display: none; } }

/* Animation */
.rw-a { transform-box: fill-box; transform-origin: center; animation-duration: 2.2s; animation-timing-function: linear; animation-iteration-count: infinite; }
.rw-sig { stroke-dasharray: .2 1; }
.rw-sa { animation-name: rw-sa; }
.rw-av { animation-name: rw-av; }
.rw-sig-a { animation-name: rw-sig-a; }
.rw-sig-v { animation-name: rw-sig-v; }
.rw-atria { animation-name: rw-atria; }
.rw-vent { animation-name: rw-vent; }
.rw-lub { animation-name: rw-lub; }
.rw-ring { animation-name: rw-ring; }
.rw-ring2 { animation-name: rw-ring; animation-delay: .35s; }
.rw-sweep { animation: rw-sweep 2.2s linear infinite; }
.rw-draw { stroke-dasharray: 1; animation: rw-draw 3.2s ease-in-out infinite; }
.rw-fill { stroke-dasharray: 1; animation: rw-fill 6s linear infinite; }
.rw-scan { transform-origin: 120px 16px; animation: rw-scan 2.4s ease-in-out infinite alternate; }
.rw-pulse { transform-box: fill-box; transform-origin: center; animation: rw-pulse 1.1s ease-in-out infinite; }
.rw-scroll { animation: rw-scroll 7s linear infinite; }
@keyframes rw-sa { 0% { transform: scale(1); opacity: .65 } 3% { transform: scale(1.9); opacity: 1 } 12% { transform: scale(1); opacity: .65 } 100% { transform: scale(1); opacity: .65 } }
@keyframes rw-av { 0%, 18% { transform: scale(1); opacity: .65 } 22% { transform: scale(1.9); opacity: 1 } 30% { transform: scale(1); opacity: .65 } 100% { transform: scale(1); opacity: .65 } }
@keyframes rw-sig-a { 0% { stroke-dashoffset: .2; opacity: 0 } 2% { stroke-dashoffset: .2; opacity: 1 } 18% { stroke-dashoffset: -1; opacity: 1 } 19%, 100% { stroke-dashoffset: -1; opacity: 0 } }
@keyframes rw-sig-v { 0%, 25% { stroke-dashoffset: .2; opacity: 0 } 26% { stroke-dashoffset: .2; opacity: 1 } 46% { stroke-dashoffset: -1; opacity: 1 } 47%, 100% { stroke-dashoffset: -1; opacity: 0 } }
@keyframes rw-atria { 0%, 4% { opacity: 0 } 12% { opacity: .24 } 24%, 100% { opacity: 0 } }
@keyframes rw-vent { 0%, 32% { opacity: 0 } 40% { opacity: .24 } 56%, 100% { opacity: 0 } }
@keyframes rw-lub { 0%, 30% { transform: scale(1) } 38% { transform: scale(1.045) } 48% { transform: scale(.99) } 56% { transform: scale(1.015) } 66%, 100% { transform: scale(1) } }
@keyframes rw-ring { 0%, 34% { transform: scale(.72); opacity: 0 } 38% { opacity: .55 } 100% { transform: scale(1.3); opacity: 0 } }
@keyframes rw-sweep { from { transform: translateX(0) } to { transform: translateX(400px) } }
@keyframes rw-draw { 0% { stroke-dashoffset: 1; opacity: 1 } 65% { stroke-dashoffset: 0; opacity: 1 } 90% { stroke-dashoffset: 0; opacity: 1 } 100% { stroke-dashoffset: 0; opacity: 0 } }
@keyframes rw-fill { from { stroke-dashoffset: 1 } to { stroke-dashoffset: 0 } }
@keyframes rw-scan { from { transform: rotate(-34deg) } to { transform: rotate(34deg) } }
@keyframes rw-pulse { 0%, 100% { transform: scale(1) } 30% { transform: scale(1.18) } 60% { transform: scale(.97) } }
@keyframes rw-scroll { from { transform: translateX(0) } to { transform: translateX(-800px) } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rw-a, .rw-draw, .rw-fill, .rw-scan, .rw-pulse, .rw-scroll { animation: none; }
  .rw-sig { opacity: 0; }
  .rw-sweep { display: none; }
  .rw-draw, .rw-fill { stroke-dasharray: none; }
}

/* Tablet and down: menu button, centred hero art */
@media (max-width: 900px) {
  html { scroll-padding-top: 76px; }
  .nav { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .nav-tools { display: flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--navy); border-top: 1px solid var(--navy-line); box-shadow: 0 16px 30px rgba(0,0,0,.3); }
  .nav-links.open { display: flex; }
  .nav-links a { display: flex; min-height: 54px; font-size: 19px; border-bottom: 1px solid var(--navy-line); }
  .nav-links li:last-child a { border-bottom: 0; }
  .hero { padding-top: 28px; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .referral { justify-content: center; }
}

/* Phones */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  :root { --pad-y: 52px; }
  .brand { gap: 10px; }
  .brand img { width: 31px; height: 40px; }
  .brand-name { font-size: 21px; }
  .brand-name small { font-size: 11px; }
  .hero { gap: 32px; padding-top: 20px; padding-bottom: 44px; }
  .hero-copy { gap: 20px; }
  .hero h1 { font-size: 2.15rem; }
  .hero-lede { font-size: 1.05rem; }
  .actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-art > svg { max-width: 270px; margin: 0 auto; }
  .steps-mini { flex-direction: column; gap: 12px; }
  .steps-mini li { flex: none; padding-left: 34px; }
  .steps-mini li strong { margin-left: -34px; }

  .strip .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .strip .grow { grid-column: 1 / -1; }
  .strip .wrap > a { grid-column: 1 / -1; }
  .emergency .wrap { font-size: 16px; }

  .tests-grid { gap: 14px; }
  .test-art { height: 112px; padding: 8px; display: flex; justify-content: center; }
  .test-art svg, .tests-grid .test:nth-child(n+4) .test-art svg { width: auto !important; height: 100% !important; max-height: none; margin: 0; }
  .test-body { padding: 16px; gap: 6px; }
  .test-body .h3 { font-size: 22px; }
  .test-body p { font-size: 16px; line-height: 1.5; }
  .pill { font-size: 13px; padding: 2px 10px; white-space: normal; }

  .rhythm-buttons { display: grid; grid-template-columns: 1fr 1fr; }
  .readout { padding: 18px; }
  .readout-head svg { width: 40px; height: 40px; }

  .doctor { gap: 28px; }
  .portrait { max-width: none; }
  .portrait img { aspect-ratio: 1 / 1; object-position: center 25%; }
  .big-stat .n { font-size: 3.2rem; }
  .chips li { font-size: 15px; padding: 5px 13px; }

  .timeline, .visit-steps { flex-direction: column; gap: 0; }
  .timeline li, .visit-steps li { flex: none; display: grid; grid-template-columns: 16px 1fr; column-gap: 16px; row-gap: 4px; padding-bottom: 22px; position: relative; }
  .visit-steps li { grid-template-columns: 44px 1fr; column-gap: 14px; }
  .timeline li::before, .visit-steps li::before { content: ""; position: absolute; left: 7px; top: 20px; bottom: 0; width: 2px; background: var(--crimson); }
  .visit-steps li::before { left: 21px; top: 48px; bottom: 4px; background: var(--navy); }
  .timeline li:last-child::before, .visit-steps li:last-child::before { display: none; }
  .track { grid-row: span 2; align-self: start; padding-top: 4px; }
  .visit-steps .track { padding-top: 0; }
  .track .bar { display: none; }
  .timeline .when { font-size: 24px; line-height: 1.1; }
  .timeline .what, .visit-steps p { padding-right: 0; }
  .visit-steps .txt { padding-right: 0; padding-top: 9px; }
  .big-num { width: 44px; height: 44px; font-size: 22px; }

  .team-card figure { max-width: none; flex-basis: 100%; }
  .team-card img { aspect-ratio: 4 / 3; min-height: 0; object-position: 30% 22%; }

  .referral { gap: 36px; }
  .referral-copy { gap: 18px; }
  .form-preview { transform: none; max-width: 260px; margin: 0 auto; }

  .contact-grid { gap: 28px; }
  .contact-grid .email { white-space: normal; }
  .contact-grid .tel { font-size: 28px; }
  .map { height: 260px; }

  footer .wrap { flex-direction: column; text-align: center; gap: 18px; padding-bottom: 88px; }
  footer img { width: 96px; height: auto; }
}

@media print {
  .emergency, .hero-art, .rhythm, .map, .nav-links { display: none; }
  body { background: #fff; }
}
