/* Zenith Cardiology — design system
   Palette: brand navy #143146 (sampled from the ZC mark), deep navy, clinical
   paper white, monitor teal reserved for the ECG signal. Type: Newsreader
   (display), Public Sans (body), IBM Plex Mono (clinical codes and numbers). */

:root {
  --navy: #143146;
  --navy-deep: #0c2233;
  --navy-soft: #1d4258;
  --ink: #16293a;
  --slate: #52677a;
  --paper: #f7f9fa;
  --paper-deep: #e8eef2;
  --white: #ffffff;
  --line: #dce4ea;
  --line-dark: #2a4b61;
  --pulse: #46c3b2;
  --pulse-ink: #177e6f;
  --display: 'Newsreader', Georgia, serif;
  --body: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --w: 1140px;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pulse-ink); }

:focus-visible { outline: 2px solid var(--pulse-ink); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { left: 1rem; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- type ---------- */

h1, h2, h3 { font-weight: inherit; }

.display {
  font-family: var(--display);
  font-weight: 320;
  font-size: clamp(2.5rem, 5.6vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.display em { font-style: italic; font-weight: 340; color: var(--pulse); }

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: 24ch;
}
.h2 em { font-style: italic; color: var(--pulse-ink); }

.h3 {
  font-family: var(--body);
  font-weight: 650;
  font-size: 1.125rem;
  line-height: 1.35;
  color: var(--navy);
}

.lede { font-size: 1.17rem; line-height: 1.6; color: var(--slate); max-width: 60ch; }
.muted { color: var(--slate); }
.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: 0.01em; }
.small { font-size: 0.9rem; }

/* ---------- header ---------- */

.topbar { background: var(--navy-deep); color: #c5d4de; font-size: 0.83rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 2.2rem; gap: 1rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--pulse); }
.topbar .tb-note { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.site-head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.site-head .wrap { display: flex; align-items: center; gap: 2rem; min-height: 4.4rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy); flex: none; }
.brand img { width: 34px; height: auto; }
.brand b { font-family: var(--display); font-weight: 500; font-size: 1.28rem; letter-spacing: 0.005em; white-space: nowrap; }

.nav { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
/* Every primary link is an identical block box. Plain links are flex items
   (blockified), but a dropdown's link sits inside .nav-item and would
   otherwise stay inline: its padding and underline then hang outside the
   line box, so its text and underline land a few pixels lower than its
   neighbours (round 3, 2026-08-23). display:block + a fixed line-height
   gives all six links the same height, baseline and underline position. */
.nav > a, .nav-item > a {
  display: block; line-height: 1.5;
  text-decoration: none; color: var(--ink); font-size: 0.95rem; font-weight: 500;
  padding: 0.35rem 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav > a:hover, .nav-item > a:hover { color: var(--navy); border-bottom-color: var(--pulse); }
.nav > a[aria-current="page"], .nav-item > a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }

/* nav dropdown (desktop: hover/focus reveal; mobile: always-open sub-list) */
.nav-item.has-sub { position: relative; }
.nav-sub { display: flex; flex-direction: column; }
@media (min-width: 1201px) {
  .nav-sub {
    position: absolute; top: 100%; left: 0; min-width: 13rem; margin-top: 0.5rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(12, 34, 51, 0.12); padding: 0.4rem;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  }
  .nav-item.has-sub:hover .nav-sub,
  .nav-item.has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
  .nav-sub a { padding: 0.55rem 0.7rem; border-radius: 4px; font-size: 0.92rem; border-bottom: none !important; }
  .nav-sub a:hover { background: var(--paper); }
}
@media (max-width: 1200px) {
  .nav-item.has-sub { display: contents; }
  .nav-sub { padding-left: 1rem; }
  .nav-sub a { padding: 0.55rem 0 !important; border-bottom: 1px solid var(--line) !important; font-size: 0.9rem; color: var(--slate); }
}

.head-cta { display: flex; align-items: center; gap: 1.1rem; flex: none; }
.head-phone { font-family: var(--mono); font-size: 0.9rem; color: var(--slate); text-decoration: none; white-space: nowrap; }
.head-phone:hover { color: var(--navy); }

.btn {
  display: inline-block; font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  padding: 0.62rem 1.25rem; border-radius: var(--radius); text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--paper-deep); color: var(--navy-deep); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); }
.on-navy .btn-ghost { border-color: var(--line-dark); color: #fff; }
.on-navy .btn-ghost:hover { border-color: var(--pulse); color: var(--pulse); }

.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.45rem 0.7rem; font: inherit; color: var(--navy); cursor: pointer; }

@media (max-width: 1400px) { .head-phone { display: none; } }
@media (max-width: 1200px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.5rem 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }
  .menu-btn { display: block; }
  .head-cta .head-ghost { display: none; }
  .site-head .wrap { gap: 1rem; }
}
@media (max-width: 960px) {
  .head-cta .btn { display: none; }
}
@media (max-width: 560px) {
  .head-phone { display: none; }
  .head-cta { display: none; }
  .topbar .tb-note { display: none; }
  .topbar .wrap { justify-content: center; }
}

/* ---------- hero ---------- */

.hero { background: linear-gradient(168deg, var(--navy) 0%, var(--navy-deep) 82%); color: #fff; position: relative; overflow: hidden; }
.hero-film {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center;
  mix-blend-mode: screen; opacity: 0.5; z-index: 0;
  filter: blur(3px) saturate(1.05); transform: scale(1.04);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(92deg, rgba(16, 39, 56, 0.94) 30%, rgba(16, 39, 56, 0.45) 62%, rgba(16, 39, 56, 0.1) 100%);
}
@media (prefers-reduced-motion: reduce) { .hero-film { display: none; } }
@media (max-width: 700px) { .hero-film { object-position: 60% center; opacity: 0.4; } }

.inline-film { border-radius: var(--radius); width: 100%; display: block; }
.hero .wrap { padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(7rem, 14vw, 10.5rem); position: relative; z-index: 2; }
.hero .display { max-width: 17ch; color: #fff; }
.hero .lede { color: #b9cad6; margin: 1.5rem 0 2.3rem; }
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-trace { position: absolute; inset: auto 0 4%; z-index: 1; pointer-events: none; opacity: 0.9; }
.hero-trace svg { width: 100%; height: auto; display: block; }
.hero-trace path {
  fill: none; stroke: var(--pulse); stroke-width: 1.6; vector-effect: non-scaling-stroke;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-trace path { stroke-dasharray: 3200; stroke-dashoffset: 3200; animation: trace-draw 3s cubic-bezier(0.45, 0, 0.2, 1) 0.3s forwards; }
  @keyframes trace-draw { to { stroke-dashoffset: 0; } }
}

.hero-stats { border-top: 1px solid var(--line-dark); background: var(--navy-deep); }
.hero-stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.hero-stat { font-size: 0.9rem; color: #b9cad6; }
.hero-stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.55rem; color: #fff; letter-spacing: -0.01em; }
@media (max-width: 700px) { .hero-stats .wrap { grid-template-columns: 1fr; gap: 0.9rem; } }

/* page hero (interior pages) */
.page-hero { background: linear-gradient(168deg, var(--navy) 0%, var(--navy-deep) 88%); color: #fff; }
.page-hero .wrap { padding-top: clamp(3rem, 6vw, 4.6rem); padding-bottom: clamp(3rem, 6vw, 4.8rem); }
.page-hero .display { font-size: clamp(2.2rem, 4.6vw, 3.4rem); color: #fff; max-width: 20ch; }
.page-hero .lede { color: #b9cad6; margin-top: 1.2rem; }
.crumb { font-size: 0.85rem; color: #8fa7b6; margin-bottom: 1.4rem; }
.crumb a { color: #c5d4de; text-decoration: none; }
.crumb a:hover { color: var(--pulse); }

/* ---------- sections ---------- */

.section { padding: clamp(2.5rem, 4.9vw, 3.9rem) 0; }
.section-white { background: var(--white); }
.section-navy { background: linear-gradient(168deg, var(--navy) 0%, var(--navy-deep) 92%); color: #fff; }
.section-navy .h2 { color: #fff; }
.section-navy .lede, .section-navy .muted { color: #b9cad6; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .lede { margin-top: 1rem; }

/* two-column feature blocks */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split-media img { border-radius: var(--radius); width: 100%; object-fit: cover; }
/* cardiologist portraits: cap display size below source resolution so they never upscale/soften, and stay uniform */
.split-media-portrait { display: flex; justify-content: center; }
.split-media-portrait img { max-width: 22rem; aspect-ratio: 1 / 1; object-fit: cover; }
.split-body .h2 { margin-bottom: 1rem; }
.split-body p + p { margin-top: 0.9rem; }
.split-body .btn { margin-top: 1.6rem; }
@media (max-width: 860px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .split-media { order: -1; }
}

/* card grids */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid-5 { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; display: flex; flex-direction: column; gap: 0.7rem;
  transition: border-color 0.18s, transform 0.18s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--navy); transform: translateY(-2px); color: inherit; }
.card p { color: var(--slate); font-size: 0.97rem; }
.card .card-go { margin-top: auto; padding-top: 0.7rem; font-weight: 600; font-size: 0.92rem; color: var(--navy); }
a.card:hover .card-go { color: var(--pulse-ink); }

.section-navy .card { background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); }
.section-navy .card .h3 { color: #fff; }
.section-navy .card p { color: #b9cad6; }

/* checklist */
.checks { list-style: none; display: grid; gap: 0.85rem; }
.checks li { padding-left: 1.9rem; position: relative; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 0.42em; width: 1.05rem; height: 0.55rem;
  border-left: 2px solid var(--pulse-ink); border-bottom: 2px solid var(--pulse-ink);
  transform: rotate(-48deg); border-radius: 1px;
}
.on-navy .checks li::before, .section-navy .checks li::before { border-color: var(--pulse); }

/* definition rows (tests, billing) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row b { font-weight: 600; color: var(--navy); }
.row .tag { font-family: var(--mono); font-size: 0.82rem; color: var(--pulse-ink); text-align: right; white-space: nowrap; }
.row .tag.private { color: var(--slate); }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; gap: 0.15rem; } .row .tag { text-align: left; } }

/* team */
.person { text-align: left; }
.person img { border-radius: var(--radius); width: 100%; background: var(--paper-deep); }
.person .h3 { margin-top: 1rem; }
.person .role { color: var(--slate); font-size: 0.94rem; margin-top: 0.15rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; font-weight: 600; color: var(--navy); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 1.2rem; color: var(--slate); flex: none; }
.faq details[open] summary::after { content: '\2212'; }
.faq .faq-a { padding: 0 0 1.3rem; color: var(--slate); max-width: 65ch; }

/* CTA band */
.cta-band { background: linear-gradient(168deg, var(--navy) 0%, var(--navy-deep) 92%); color: #fff; }
.cta-band .wrap { padding-top: clamp(3.4rem, 6vw, 5rem); padding-bottom: clamp(3.4rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2.5rem; align-items: center; }
.cta-band .h2 { color: #fff; }
.cta-band p { color: #b9cad6; margin-top: 0.9rem; max-width: 50ch; }
.cta-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* contact detail block */
.contact-lines { display: grid; gap: 0.9rem; }
.contact-lines .cl { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; }
.contact-lines .cl span:first-child { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); }
.contact-lines a { text-decoration: none; }
.contact-lines .mono { font-size: 1rem; }
@media (max-width: 480px) { .contact-lines .cl { grid-template-columns: 1fr; gap: 0.1rem; } }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label.field { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 0.62rem 0.75rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--pulse-ink); outline-offset: 1px; border-color: var(--pulse-ink); }
.field textarea { min-height: 8.5rem; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--slate); margin-top: 0.9rem; max-width: 60ch; }

/* download tiles */
.dl { display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: border-color 0.18s; }
.dl:hover { border-color: var(--navy); }
.dl .dl-icon { flex: none; width: 2.4rem; height: 2.9rem; border: 1.5px solid var(--navy); border-radius: 3px; position: relative; }
.dl .dl-icon::after { content: 'PDF'; position: absolute; inset: auto 0 0.25rem; text-align: center; font-family: var(--mono); font-size: 0.6rem; font-weight: 500; color: var(--navy); }
.dl .dl-icon.rtf::after { content: 'RTF'; }

/* fee tables */
.table-scroll { overflow-x: auto; margin-top: 1.4rem; }
.fee-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 660px; }
.fee-table th { font-weight: 600; color: var(--navy); text-align: left; padding: 0.7rem 0.9rem 0.55rem; border-bottom: 2px solid var(--navy); vertical-align: bottom; line-height: 1.3; }
.fee-table td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table th.num, .fee-table td.num { text-align: right; }
.fee-table td.num { font-family: var(--mono); font-size: 0.88rem; white-space: nowrap; }
.fee-table td .td-sub { display: block; color: var(--slate); font-size: 0.86rem; margin-top: 0.15rem; }
.fee-note { font-size: 0.85rem; color: var(--slate); max-width: 70ch; margin-top: 1rem; }
.note-body { font-size: 1rem; color: var(--slate); max-width: 70ch; margin-top: 1rem; line-height: 1.6; }

/* the two out-of-pocket columns are what a patient actually needs to see first */
.fee-table th.emph, .fee-table td.emph { background: var(--paper-deep); border-left: 1px solid var(--line); }
.fee-table th.emph { color: var(--navy); }
.fee-table td.emph { font-weight: 700; color: var(--navy); }
.fee-table th.emph + th.emph, .fee-table td.emph + td.emph { border-left-color: rgba(20, 49, 70, 0.12); }
.dl b { display: block; color: var(--navy); font-size: 0.98rem; }
.dl span { color: var(--slate); font-size: 0.85rem; }

/* location chips */
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; list-style: none; }
.chips li { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 0; font-size: 0.93rem; color: var(--ink); }
.chips li a { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.7rem 1rem; color: inherit; text-decoration: none; }
.chips li a:hover, .chips li a:focus-visible { color: var(--pulse-ink); }
.chips li:has(a):hover { border-color: var(--pulse-ink); }
@media (max-width: 900px) { .chips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .chips { grid-template-columns: 1fr; } }

/* footer */
.site-foot { background: var(--navy-deep); color: #a9bdc9; font-size: 0.93rem; }
.site-foot .wrap { padding-top: 3.6rem; padding-bottom: 2.4rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 2.4rem; padding-bottom: 2.6rem; border-bottom: 1px solid var(--line-dark); }
.foot-brand img { width: 44px; margin-bottom: 1rem; }
.foot-brand p { max-width: 34ch; }
.site-foot .foot-h { font-family: var(--body); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 0.9rem; }
.site-foot ul { list-style: none; display: grid; gap: 0.55rem; }
.site-foot a { color: #c5d4de; text-decoration: none; }
.site-foot a:hover { color: var(--pulse); }
.foot-meta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-top: 1.6rem; flex-wrap: wrap; }
.foot-meta .legal { display: flex; gap: 1.4rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* prose (legal pages) */
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; color: var(--navy); margin: 2.4rem 0 0.8rem; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.08rem; font-weight: 650; color: var(--navy); margin: 1.7rem 0 0.5rem; }
.prose p { margin: 0.8rem 0; }
.prose ul { margin: 0.8rem 0 0.8rem 1.3rem; }
.prose li { margin: 0.35rem 0; }
.prose .updated { font-family: var(--mono); font-size: 0.85rem; color: var(--slate); margin-bottom: 2rem; }

/* utility */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
.center .h2, .center .lede { margin-left: auto; margin-right: auto; }

.cta-band p a, .page-hero .lede a, .section-navy p a { color: #fff; }
.cta-band p a:hover, .page-hero .lede a:hover, .section-navy p a:hover { color: var(--pulse); }
.media-center { display: flex; justify-content: center; }
.img-badge { max-width: 220px; }
.measure { max-width: 68ch; }
.will-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.65s ease, transform 0.65s ease; }
.will-reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .will-reveal { opacity: 1; transform: none; } }

@media (max-width: 700px) {
  .hero .wrap { padding-bottom: 5.5rem; }
  .site-head .wrap { min-height: 3.8rem; }
  .brand b { font-size: 1.12rem; }
  .wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
  .display { font-size: clamp(2.1rem, 9vw, 2.5rem); }
  .page-hero .display { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .split-body .h2 { max-width: none; }
}
@media print { .will-reveal { opacity: 1; transform: none; } }

/* cardiologist profiles: one repeated layout, uniform portrait size and alignment */
.profile { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(1.6rem, 3.5vw, 2.8rem); align-items: start; }
.profile + .profile { margin-top: clamp(2rem, 4vw, 2.8rem); padding-top: clamp(2rem, 4vw, 2.8rem); border-top: 1px solid var(--line); }
.profile-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); display: block; }
@media (max-width: 700px) {
  .profile { grid-template-columns: minmax(0, 1fr); }
  .profile-media img { max-width: 15rem; }
}

/* embedded mobile-coverage map */
.coverage-map { width: 100%; height: clamp(24rem, 55vh, 34rem); border-radius: var(--radius); border: 1px solid var(--line); z-index: 0; }
.coverage-map a { border-bottom: none; }
.map-note { margin-top: 0.9rem; }

/* Women's heart health: Heart Foundation pull quote */
.pull-quote { max-width: 46rem; margin: 0 auto; padding-left: 1.6rem; border-left: 3px solid #143146; }
.pull-quote p { font-family: "Newsreader", Georgia, serif; font-size: 1.18rem; line-height: 1.65; font-style: italic; color: #1d2b38; }
.pull-quote footer { margin-top: 0.9rem; font-weight: 600; color: #143146; }

/* Black Shard build + ICT credit (matches the Fox Valuations footer pattern):
   shard tile, credit line, then the CyberCert Gold badge as its own element.
   nowrap on the text so the line never breaks mid-lockup; the whole row wraps
   as units on narrow screens instead. */
.foot-bs { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1.4rem; padding-top: 1.3rem; }
.foot-bs-link { display: inline-flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; color: #c5d4de; text-decoration: none; font-size: 0.86rem; }
.foot-bs-link:hover .foot-bs-tx b { text-decoration: underline; text-underline-offset: 3px; }
.foot-bs-mark { width: 30px; height: 30px; border-radius: 7px; flex: none; display: block; }
.foot-bs-badge { width: 30px; height: 30px; border-radius: 7px; flex: none; display: block; }
.foot-bs-tx { white-space: nowrap; }
.foot-bs-tx b { color: #fff; font-weight: 700; }
.foot-bs-site { font-family: var(--mono, ui-monospace, monospace); font-size: 0.78rem; color: #a9bdc9; }
@media (max-width: 700px) {
  .foot-bs-site { display: none; }
  .foot-bs-tx { white-space: normal; }
}
