:root {
  --indigo: #232059;
  --indigo-2: #2f2b73;
  --indigo-d: #15133a;
  --mist: #eceaff;
  --mist-2: #dedbff;
  --paper: #fbfaff;
  --coral: #ff6f59;
  --coral-d: #d9442d;
  --ink: #1a1744;
  --muted: #55527a;
  --line: rgba(35, 32, 89, .16);
  --f-head: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--f-body); color: var(--ink); background: var(--paper); font-size: 1.05rem; line-height: 1.65; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: var(--indigo); }
a { color: var(--indigo-2); }
img { max-width: 100%; height: auto; }

/* ---------- utility bar + nav ---------- */
.utility { background: var(--indigo-d); color: #fff; font-size: .9rem; }
.utility .container { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: space-between; padding-top: .45rem; padding-bottom: .45rem; }
.utility a { color: #fff; text-decoration: none; font-weight: 600; }
.utility a:hover { color: var(--coral); }
.utility .u-hours { color: #cfcbff; }

.site-nav { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-nav .navbar-brand { display: flex; align-items: center; gap: .65rem; color: var(--indigo); font-family: var(--f-head); font-weight: 800; font-size: 1.25rem; line-height: 1.05; letter-spacing: -.02em; }
.site-nav .navbar-brand small { display: block; font-family: var(--f-body); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--indigo); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 17px; height: 28px; fill: var(--coral); }
.site-nav .nav-link { color: var(--indigo); font-weight: 600; font-size: .98rem; padding: .5rem .8rem; }
.site-nav .nav-link:hover { color: var(--coral-d); }
.btn-call { background: var(--coral); color: var(--ink); font-weight: 800; border-radius: 999px; padding: .55rem 1.2rem; border: 0; }
.btn-call:hover { background: var(--indigo); color: #fff; }
.navbar-toggler { border-color: var(--indigo); }

/* ---------- buttons ---------- */
.btn-coral { background: var(--coral); color: var(--ink); font-weight: 800; border-radius: 999px; padding: .85rem 1.7rem; border: 2px solid var(--coral); }
.btn-coral:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.btn-line { background: transparent; color: var(--indigo); font-weight: 800; border-radius: 999px; padding: .85rem 1.7rem; border: 2px solid var(--indigo); }
.btn-line:hover { background: var(--indigo); color: #fff; }
.on-dark .btn-line { color: #fff; border-color: #fff; }
.on-dark .btn-line:hover { background: #fff; color: var(--indigo); }

/* ---------- hero (typographic-forward) ---------- */
.hero { background: var(--mist); position: relative; overflow: hidden; padding: 4.5rem 0 5.5rem; }
.eyebrow { font-family: var(--f-body); font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-d); }
.hero h1 { font-size: clamp(3.2rem, 9.5vw, 7.4rem); margin: .6rem 0 1.2rem; }
.hero h1 em { font-style: normal; color: var(--coral-d); }
.hero .lede { font-size: 1.2rem; max-width: 34rem; color: var(--ink); }
.hero-arch { border-radius: 999px 999px 24px 24px; overflow: hidden; border: 6px solid var(--indigo); box-shadow: 14px 14px 0 var(--coral); background: var(--indigo); aspect-ratio: 4 / 5; }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; display: block; }
.hero-trail { position: absolute; inset: auto 0 0 0; height: 70px; opacity: .55; pointer-events: none; }

/* ---------- footprint trail (signature moment) ---------- */
.trail { display: block; width: 100%; height: 64px; overflow: hidden; }
.trail svg { height: 64px; width: 1400px; max-width: none; fill: var(--coral); display: block; margin: 0 auto; }
.trail-on-indigo svg { fill: var(--coral); }
.fp-l, .fp-r { fill: currentColor; }

/* ---------- ticker ---------- */
.ticker { background: var(--indigo); color: #fff; overflow: hidden; white-space: nowrap; padding: .9rem 0; border-block: 3px solid var(--coral); }
.ticker-track { display: inline-flex; gap: 2.5rem; padding-left: 2.5rem; animation: tick 60s linear infinite; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; }
.ticker-track span::after { content: "•"; color: var(--coral); margin-left: 2.5rem; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; white-space: normal; } html { scroll-behavior: auto; } }

/* ---------- sections ---------- */
section { padding: 5rem 0; }
.section-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.section-intro { max-width: 40rem; color: var(--muted); }
.bg-mist { background: var(--mist); }
.bg-indigo { background: var(--indigo); color: #e6e4ff; }
.bg-indigo h2, .bg-indigo h3 { color: #fff; }
.bg-indigo .eyebrow { color: var(--coral); }
.bg-indigo a { color: #fff; }

/* stat strip */
.stats { background: var(--paper); padding: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stat { padding: 2rem 1.25rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--f-head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--indigo); }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 767.98px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* hyprocure feature */
.feature-card { background: var(--paper); color: var(--ink); border-radius: 28px; padding: 2.5rem; border: 2px solid var(--coral); }
.feature-card h3 { color: var(--indigo); }
.feature-card a { color: var(--indigo-2); }

/* staff */
.portrait { border-radius: 999px 999px 20px 20px; overflow: hidden; border: 5px solid var(--indigo); box-shadow: 10px 10px 0 var(--coral); background: var(--indigo); aspect-ratio: 2 / 3; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 1.25rem 0 0; }
.tag-row li { background: var(--mist); border-radius: 999px; padding: .3rem .9rem; font-weight: 600; font-size: .92rem; color: var(--indigo); }

/* offices */
.office-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.75rem; height: 100%; }
.office-card.primary { border: 3px solid var(--indigo); box-shadow: 8px 8px 0 var(--coral); }
.office-card h3 { font-size: 1.5rem; }
.hours { list-style: none; padding: 0; margin: 1rem 0 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.hours li:last-child { border-bottom: 0; }
.hours span:first-child { font-weight: 700; }
.office-card .fax { color: var(--muted); font-size: .95rem; }

/* services index */
.svc-feature { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.6rem; height: 100%; border-top: 6px solid var(--indigo); }
.svc-feature.hot { border-top-color: var(--coral); }
.svc-feature h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.svc-feature p { color: var(--muted); margin: 0; font-size: 1rem; }
.svc-feature a.more { display: inline-block; margin-top: .6rem; font-weight: 700; }
.svc-index { columns: 3; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.svc-index li { break-inside: avoid; padding: .55rem 0; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-weight: 700; font-size: 1.12rem; color: var(--indigo); }
.svc-index li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: .7rem; vertical-align: middle; }
@media (max-width: 991.98px) { .svc-index { columns: 2; } }
@media (max-width: 575.98px) { .svc-index { columns: 1; } }

/* new patients */
.mission { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.2; color: #fff; max-width: 52rem; margin: 0 auto; }
.step-list { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step-list li { counter-increment: step; display: flex; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.step-list li::before { content: counter(step); flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--coral); color: var(--ink); font-weight: 800; display: grid; place-items: center; }

/* laser */
.laser-img { background: #fff; border-radius: 24px; padding: 1.5rem; border: 2px solid var(--indigo); display: grid; place-items: center; }
.laser-img img { width: 150px; height: auto; display: block; }
.big-stat { font-family: var(--f-head); font-weight: 800; font-size: clamp(4rem, 10vw, 7rem); line-height: .9; color: var(--coral-d); }

/* videos */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 3px solid var(--indigo); background: var(--indigo-d); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* contact */
.map-wrap { border-radius: 24px; overflow: hidden; border: 3px solid var(--indigo); box-shadow: 10px 10px 0 var(--coral); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
.contact-line { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1rem; }
.contact-line i { color: var(--coral-d); font-size: 1.3rem; line-height: 1.4; }
.big-phone { font-family: var(--f-head); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); color: var(--indigo); text-decoration: none; letter-spacing: -.02em; }
.big-phone:hover { color: var(--coral-d); }

/* footer */
footer { background: var(--indigo-d); color: #cfcbff; padding: 3.5rem 0 2rem; }
footer h4 { color: #fff; font-size: 1.1rem; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: var(--coral); }
footer .social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); margin-right: .4rem; font-size: 1.1rem; }
footer .social a:hover { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.powered { display: inline-block; margin-top: 1.5rem; padding: .45rem 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: .9rem; }
.powered strong { color: var(--coral); }

@media (max-width: 767.98px) {
  section { padding: 3.5rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .hero-arch { max-width: 320px; margin: 2rem auto 0; }
  .feature-card { padding: 1.5rem; }
  .utility .u-hours { display: none; }
}
