/* ==========================================================
   Optimal Performance Rehab
   Tokens: brand red sampled from OPR graphics (#E6211A).
   Display: Teko (from current site). Body: Titillium Web (from current site).
   Signature: the forward "slash" — the logo's lean, used for type, buttons and the conditions band.
   ========================================================== */

:root {
  --ink: #0D0E10;
  --graphite: #17191C;
  --graphite-2: #23262A;
  --steel: #8B9097;
  --concrete: #ECEDEE;
  --paper: #F7F7F8;
  --white: #FFFFFF;
  --red: #E6211A;
  --red-deep: #B8181A;
  /* small red TEXT must hit WCAG AA 4.5:1 — lighter on dark, deeper on light. Large type and fills keep --red. */
  --red-text: #FF4A3D;

  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(13, 14, 16, .12);

  --f-display: "Teko", "Arial Narrow", sans-serif;
  --f-body: "Titillium Web", system-ui, -apple-system, "Segoe UI", sans-serif;

  --slant: -9deg;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
address { font-style: normal; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--red); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.slant { display: inline-block; transform: skewX(var(--slant)); transform-origin: left bottom; }
.red { color: var(--red); }

.eyebrow {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red-text);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 3px; background: currentColor;
  transform: skewX(var(--slant));
}
.eyebrow--light { color: var(--white); }

.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: .88;
  letter-spacing: .005em;
}
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; font-weight: 600; }

/* ---------- Buttons: parallelograms ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px;
  font-family: var(--f-body); font-weight: 700; font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: color .3s var(--ease);
}
.btn::before, .btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: skewX(var(--slant));
}
.btn::after { transform: skewX(var(--slant)) scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover::after, .btn:focus-visible::after { transform: skewX(var(--slant)) scaleX(1); transform-origin: left; }
.btn--red::before { background: var(--red); }
.btn--red::after { background: var(--white); }
.btn--red:hover, .btn--red:focus-visible { color: var(--ink); }
.btn--ghost::before { border: 2px solid currentColor; }
.btn--ghost::after { background: var(--white); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); }
.light .btn--ghost::after { background: var(--ink); }
.light .btn--ghost:hover, .light .btn--ghost:focus-visible { color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13px; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--white);
}
.link::after { content: "→"; color: var(--red); transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(6px); }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 150; pointer-events: none; overflow: hidden; }
.intro__shard {
  position: absolute; left: -30%; width: 160%; height: 34%;
  transform: rotate(-24deg) translateX(0);
  animation: shard 1s var(--ease) forwards;
}
.intro__shard--1 { top: -10%; background: var(--red); animation-delay: .05s; }
.intro__shard--2 { top: 30%; background: var(--ink); animation-delay: .15s; }
.intro__shard--3 { top: 70%; background: var(--red-deep); animation-delay: .25s; }
@keyframes shard { to { transform: rotate(-24deg) translateX(110%); } }
.intro.is-done { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(13, 14, 16, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-dark); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a, .nav__phone {
  font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0) skewX(var(--slant)); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1) skewX(var(--slant)); }
.nav__actions { display: flex; align-items: center; gap: 22px; }
.nav__phone { color: rgba(255,255,255,.8); }
.nav__phone:hover { color: var(--white); }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .35s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; left: 16px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { left: 10px; transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-family: var(--f-display); font-weight: 600; font-size: 56px; line-height: 1; text-transform: uppercase;
  text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-dark);
  transform: skewX(var(--slant)); transform-origin: left;
}
.menu nav a:hover { color: var(--red); }
.menu__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.menu__phone { font-weight: 700; letter-spacing: .1em; text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroIn 2.2s var(--ease) .3s forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,14,16,.86) 0%, rgba(13,14,16,.45) 48%, rgba(13,14,16,.1) 100%),
    linear-gradient(0deg, rgba(13,14,16,.95) 0%, rgba(13,14,16,0) 55%);
}
.hero__content { position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 32px; }
.hero__eyebrow { color: var(--white); }
.hero__eyebrow::before { background: var(--red); }
.hero__title {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(84px, min(15.5vw, 21svh), 248px); line-height: .78; letter-spacing: -.005em;
  margin-bottom: 32px;
}
.hero__title .line { display: block; overflow: hidden; padding: .06em .12em 0 0; margin-bottom: -.06em; }
.hero__title .slant { transform: translateY(105%) skewX(var(--slant)); animation: rise 1s var(--ease) forwards; }
.hero__title .line:nth-child(1) .slant { animation-delay: .55s; }
.hero__title .line:nth-child(2) .slant { animation-delay: .65s; }
.hero__title .line:nth-child(3) .slant { animation-delay: .75s; }
@keyframes rise { to { transform: translateY(0) skewX(var(--slant)); } }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; opacity: 0; animation: fade .8s var(--ease) 1.1s forwards; }
.hero__lede { max-width: 470px; font-size: 18px; color: rgba(255,255,255,.86); }
.hero__cta { display: flex; gap: 18px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero__status { position: relative; display: flex; justify-content: space-between; align-items: center; padding-bottom: 96px; opacity: 0; animation: fade .8s var(--ease) 1.3s forwards; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--steel); }
.status.is-open .status__dot { background: #3DDC84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.hero__pause { width: 40px; height: 40px; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .3s; }
.hero__pause:hover { background: rgba(255,255,255,.1); }
.hero__pause svg { width: 14px; height: 14px; fill: var(--white); }
.hero__pause[aria-pressed="true"] svg { display: none; }
.hero__pause[aria-pressed="true"]::before { content: ""; border-left: 12px solid var(--white); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* ---------- Signature: slash band ---------- */
.slash-wrap { position: relative; z-index: 5; overflow-x: clip; overflow-y: visible; }
.slash {
  position: relative; z-index: 5;
  width: 112vw; margin: -64px 0 -30px -6vw;
  background: var(--red);
  transform: rotate(-3.2deg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.slash__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.slash:hover .slash__track { animation-play-state: paused; }
.slash__list { display: flex; flex-shrink: 0; }
.slash__list li {
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(28px, 3.2vw, 46px); line-height: 1; letter-spacing: .02em;
  padding: 22px 0 16px; white-space: nowrap; display: flex; align-items: center;
}
.slash__list li::after {
  content: ""; width: 18px; height: 34px; margin: 0 28px;
  background: var(--ink); transform: skewX(var(--slant)) translateY(-3px);
  clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.light { background: var(--concrete); color: var(--ink); }
.light, .doc-body, .intake, .ins__card { --red-text: var(--red-deep); }
.doc-fact--cta { --red-text: #FF4A3D; }
.dark { background: var(--ink); color: var(--white); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }

/* Approach */
.approach { padding: clamp(110px, 14vw, 190px) 0 clamp(80px, 10vw, 140px); }
.approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.approach__text .h2 { margin-bottom: 32px; }
.approach__text .lead { margin-bottom: 20px; }
.approach__text p:not(.lead):not(.eyebrow) { color: #4A4E54; max-width: 520px; }
.approach__media { position: relative; }
.approach__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
.approach__media figcaption {
  position: absolute; left: 0; bottom: -18px;
  background: var(--ink); color: var(--white);
  padding: 14px 22px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.approach__media figcaption span { color: var(--red-text); margin-right: 10px; }

/* Services */
.services { padding: clamp(90px, 12vw, 160px) 0; }
.svc { border-top: 1px solid var(--line-dark); }
.svc__item {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line-dark);
  cursor: default;
}
.svc__item::before {
  content: ""; position: absolute; inset: 0 -24px; z-index: -1;
  background: var(--red);
  transform: skewX(var(--slant)) scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.svc__item:hover::before { transform: skewX(var(--slant)) scaleX(1); }
.svc__name {
  font-family: var(--f-display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(34px, 4.2vw, 60px); line-height: .95; padding-top: .1em;
  transition: transform .5s var(--ease);
}
.svc__item:hover .svc__name { transform: translateX(16px) skewX(var(--slant)); }
.svc__desc { color: rgba(255,255,255,.68); max-width: 460px; transition: color .3s; }
.svc__item:hover .svc__desc { color: var(--white); }

/* Steps */
.visit-steps { padding: clamp(90px, 12vw, 160px) 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--line-light); }
.steps::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red);
  transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform .2s linear;
}
.step { padding: 36px 28px 0 0; }
.step__num { display: block; font-family: var(--f-display); font-weight: 600; font-size: 22px; color: var(--red-text); letter-spacing: .06em; margin-bottom: 6px; }
.step__title { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(40px, 4vw, 56px); line-height: .9; margin-bottom: 14px; transform: skewX(var(--slant)); transform-origin: left; }
.step p { color: #4A4E54; max-width: 280px; }

/* Doctors */
.doctors { padding: clamp(90px, 12vw, 160px) 0; }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); }
.doc { background: var(--graphite); display: flex; flex-direction: column; }
.doc__photo { position: relative; overflow: hidden; aspect-ratio: 1080 / 700; }
.doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .9s var(--ease); }
.doc__photo::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 22%;
  background: var(--graphite); transform: skewY(-4deg); transform-origin: right bottom;
}
.doc:hover .doc__photo img { transform: scale(1.04); }
.doc__body { padding: 8px clamp(22px, 3vw, 40px) clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.doc__role { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red-text); }
.doc__name { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(36px, 3.4vw, 50px); line-height: .9; margin-top: -6px; }
.doc__body > p:not(.doc__role) { color: rgba(255,255,255,.72); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--line-dark); }
.doc .link { margin-top: auto; padding-top: 8px; }

/* Clinic gallery */
.clinic { background: var(--ink); padding: 0 0 clamp(90px, 12vw, 150px); }
.clinic__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.clinic__nav { display: flex; gap: 10px; margin-bottom: clamp(40px, 6vw, 72px); }
.arrow { width: 54px; height: 54px; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.arrow:hover { background: var(--red); border-color: var(--red); }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2; }
.gal {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 8px; scrollbar-width: none; cursor: grab;
  scroll-padding-inline: var(--gutter);
}
@media (min-width: 1432px) { .gal { padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.gal::-webkit-scrollbar { display: none; }
.gal.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gal__item { position: relative; flex: 0 0 auto; width: min(36vw, 480px); height: clamp(320px, 42vw, 560px); scroll-snap-align: start; overflow: hidden; }
.gal__item--wide { width: min(62vw, 860px); }
.gal__item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .9s var(--ease); }
.gal__item:hover img { transform: scale(1.04); }
.gal__link { display: block; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.gal__item:has(.gal__link) figcaption { pointer-events: none; transition: background .3s var(--ease); }
.gal__item:has(.gal__link:hover) figcaption, .gal__item:has(.gal__link:focus-visible) figcaption { background: var(--red); }
.gal__link:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }
.gal__link:focus-visible img { transform: scale(1.04); }
.gal__item figcaption {
  position: absolute; left: 16px; bottom: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  background: var(--ink); padding: 8px 14px;
}

/* Reviews */
.reviews { background: var(--red); padding: clamp(90px, 11vw, 150px) 0; overflow: hidden; }
.reviews .eyebrow::before { background: var(--white); }
.quotes { display: grid; min-height: 1px; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(40px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; position: relative; z-index: 2; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; }
.quote blockquote p {
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(44px, 6.6vw, 104px); line-height: .9; max-width: 13em;
  transform: skewX(var(--slant)); transform-origin: left bottom;
}
.quote blockquote p::before { content: "“"; color: var(--ink); }
.quote blockquote p::after { content: "”"; color: var(--ink); }
.quote figcaption { margin-top: 32px; font-size: 15px; letter-spacing: .06em; }
.quote figcaption strong { display: block; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.quotes__ctrl { display: flex; gap: 10px; margin-top: 40px; position: relative; z-index: 2; }
.qdot { width: 44px; height: 24px; position: relative; }
.qdot::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; background: rgba(13,14,16,.3); transform: skewX(var(--slant)); transition: background .3s; }
.qdot.is-active::before, .qdot:hover::before { background: var(--ink); }
.reviews__mark { position: absolute; right: -6%; top: 50%; width: min(58vw, 760px); transform: translateY(-50%); opacity: .14; pointer-events: none; z-index: 1; }

/* Insurance */
.insurance { padding: clamp(90px, 12vw, 160px) 0; }
.carriers { margin-bottom: clamp(36px, 4vw, 56px); }
.carriers__label { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #4A4E54; margin-bottom: 14px; }
.carriers__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-light); border: 2px solid var(--line-light); }
.carrier { background: var(--white); min-height: 110px; display: grid; place-items: center; padding: 20px; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); line-height: .95; text-transform: uppercase; color: var(--ink); }
.carrier img { display: block; max-width: min(100%, 220px); max-height: 52px; width: auto; height: auto; }
.carriers__oon { margin-top: 18px; padding: 16px 20px; border-left: 4px solid var(--red); background: var(--white); max-width: 760px; }
.ins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-light); border: 2px solid var(--line-light); }
.ins__card { background: var(--paper); padding: clamp(28px, 3vw, 44px); transition: background .4s var(--ease), color .4s var(--ease); }
.ins__card h3 { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(32px, 3vw, 44px); line-height: .9; margin-bottom: 16px; transform: skewX(var(--slant)); transform-origin: left; }
.ins__card p { color: #4A4E54; transition: color .4s; }
.ins__card:hover { background: var(--ink); color: var(--white); }
.ins__card:hover p { color: rgba(255,255,255,.72); }
.ins__note { margin-top: 32px; font-weight: 600; font-size: 18px; }
.ins__note a { color: var(--red-text); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Visit */
.visit { padding: clamp(90px, 12vw, 160px) 0; }
.visit__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.visit__info .h2 { margin-bottom: 28px; }
.visit__info address { font-size: 20px; font-weight: 600; margin-bottom: 28px; }
.status--block { margin-bottom: 18px; }
.hours { width: 100%; max-width: 440px; border-collapse: collapse; margin-bottom: 36px; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-weight: 400; }
.hours td { text-align: right; color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--white); font-weight: 700; }
.hours tr.is-today th { position: relative; padding-left: 18px; }
.hours tr.is-today th::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 16px; margin-top: -8px; background: var(--red); transform: skewX(var(--slant)); }
.visit__cta { display: flex; gap: 18px; flex-wrap: wrap; }
.visit__media { position: relative; padding-bottom: 80px; }
.visit__map { aspect-ratio: 4 / 3.2; background: var(--graphite); overflow: hidden; }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.visit__building { position: absolute; left: -48px; bottom: 0; width: 46%; aspect-ratio: 3 / 2; object-fit: cover; border: 6px solid var(--ink); }

/* Footer */
.foot { background: var(--ink); border-top: 1px solid var(--line-dark); padding: clamp(70px, 9vw, 120px) 0 40px; }
.foot__tag { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(52px, 8.6vw, 140px); line-height: .85; margin-bottom: 22px; }
.foot__sub { max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: rgba(255,255,255,.82); margin-bottom: clamp(50px, 7vw, 90px); }
.foot__grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr minmax(350px, 1.4fr); gap: 32px; align-items: start; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.foot__logo { width: min(260px, 100%); height: auto; }
.foot__label { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.foot__grid a { font-weight: 600; text-decoration: none; }
.foot__grid a:hover { color: var(--red); }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.social a:hover { background: var(--red); border-color: var(--red); }
.social svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 1.8; }
.social svg .fill { fill: var(--white); stroke: none; }
.foot__legal { margin-top: 28px; font-size: 13px; color: var(--steel); }

/* ---------- Hall of Fame page ---------- */
.hof-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(60px, 9vw, 120px)) 0 clamp(110px, 12vw, 170px); background: radial-gradient(120% 80% at 85% 10%, var(--graphite-2), var(--ink) 60%); }
.hof-hero__mark { position: absolute; right: -4%; top: 50%; width: min(52vw, 680px); transform: translateY(-50%); opacity: .07; pointer-events: none; }
.hof-hero .wrap { position: relative; }
.hof-hero__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(92px, 15vw, 230px); line-height: .8; margin: 18px 0 30px; }
.hof-hero__lede { max-width: 560px; color: rgba(255,255,255,.78); font-weight: 400; }
.hof-stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px); margin-top: clamp(36px, 5vw, 56px); }
.hof-stats div { border-left: 3px solid var(--red); padding-left: 16px; }
.hof-stats dt { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); }
.hof-stats dd { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(48px, 5vw, 72px); line-height: 1; }

.hof { background: var(--ink); padding: clamp(90px, 10vw, 130px) 0 clamp(80px, 10vw, 140px); }
.hof__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; isolation: isolate; border: 0; background: none; color: var(--white); font: 700 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: 13px 20px; min-height: 44px; cursor: pointer; }
.chip::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid var(--line-dark); transform: skewX(var(--slant)); transition: background .25s, border-color .25s; }
.chip span { color: var(--steel); margin-left: 4px; }
.chip:hover::before { border-color: rgba(255,255,255,.5); }
.chip.is-on::before { background: var(--red); border-color: var(--red); }
.chip.is-on span { color: rgba(255,255,255,.8); }
.hof__count { color: var(--steel); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }

.hof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.hof__card[hidden] { display: none; }
.hof__card:first-child:not(.is-filtered) { grid-column: span 2; grid-row: span 2; }
.hof__btn { position: relative; display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--graphite); overflow: hidden; cursor: zoom-in; color: inherit; text-align: left; }
.hof__btn img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .7s var(--ease), filter .5s; filter: saturate(.85); }
.hof__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(13,14,16,.92)); pointer-events: none; }
.hof__btn:hover img, .hof__btn:focus-visible img { transform: scale(1.05); filter: none; }
.hof__btn:focus-visible { outline-offset: -3px; }
.hof__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hof__league { display: inline-block; background: var(--red); color: var(--white); font: 700 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; transform: skewX(var(--slant)); }
.hof__name { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(24px, 2vw, 32px); line-height: .95; transform: skewX(var(--slant)); transform-origin: left bottom; }
.hof__card:first-child:not(.is-filtered) .hof__name { font-size: clamp(36px, 4vw, 64px); }
.hof__btn::before { content: ""; position: absolute; left: 0; bottom: 0; z-index: 2; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.hof__btn:hover::before, .hof__btn:focus-visible::before { transform: scaleX(1); }

.hof-cta { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line-dark); }
.hof-cta__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hof-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; color: var(--white); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 24px; }
.lightbox::backdrop { background: rgba(8, 9, 10, .94); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; height: 100%; justify-content: center; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; }
.lightbox figcaption { display: flex; align-items: center; gap: 14px; }
.lightbox figcaption .hof__name { font-size: clamp(28px, 3vw, 40px); }
.lightbox__close, .lightbox__arrow { border: 0; background: none; color: var(--white); cursor: pointer; font-size: 30px; line-height: 1; width: 52px; height: 52px; position: relative; isolation: isolate; }
.lightbox__arrow::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1px solid var(--line-dark); transform: skewX(var(--slant)); transition: background .25s; }
.lightbox__arrow:hover::before { background: var(--red); border-color: var(--red); }
.lightbox__close { position: absolute; top: 14px; right: 14px; font-size: 40px; }
.lightbox__close:hover { color: var(--red); }

@media (max-width: 1060px) { .hof__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .hof__grid { grid-template-columns: repeat(2, 1fr); }
  .hof__meta { padding: 12px; }
  .hof__name { font-size: 22px; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 60px 12px 16px; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__arrow--prev { grid-row: 2; justify-self: end; }
  .lightbox__arrow--next { grid-row: 2; justify-self: start; }
}
@media (max-width: 560px) { .hof-hero__title { font-size: clamp(84px, 27vw, 140px); } .hof-hero__mark { width: 90vw; right: -30%; opacity: .05; } }

/* ---------- Hall of Fame load-in ----------
   0.00s  red slash cuts across the screen
   0.35s  eyebrow, 0.45s/0.58s title lines rise
   0.85s  lede, mark drifts in
   1.00s  stats count up, ticker band wipes in
   cards  slanted wipe-up, staggered by column (on load and on scroll) */
.hof-intro { position: fixed; inset: 0; z-index: 150; pointer-events: none; overflow: hidden; }
.hof-intro span {
  position: absolute; top: -50%; left: -60%; width: 220%; height: 200%;
  background: var(--red);
  transform: skewX(-24deg) translateX(0);
  animation: hofCut .9s cubic-bezier(.7, 0, .2, 1) .05s forwards;
}
.hof-intro span::after { content: ""; position: absolute; inset: 0 auto 0 -14%; width: 14%; background: var(--ink); }
@keyframes hofCut { to { transform: skewX(-24deg) translateX(105%); } }
.hof-intro.is-done { display: none; }

.hof-hero__eyebrow { opacity: 0; animation: fade .7s var(--ease) .35s forwards; }
.hof-hero__title .line { display: block; overflow: hidden; padding: .08em .14em 0 0; margin-bottom: -.08em; }
.hof-hero__title .slant { transform: translateY(108%) skewX(var(--slant)); animation: rise 1s var(--ease) forwards; }
.hof-hero__title .line:nth-child(1) .slant { animation-delay: .45s; }
.hof-hero__title .line:nth-child(2) .slant { animation-delay: .58s; }
.hof-hero__lede { opacity: 0; animation: fade .8s var(--ease) .85s forwards; }
.hof-hero__mark { opacity: 0; animation: hofMark 1.6s var(--ease) .7s forwards; }
@keyframes hofMark { from { opacity: 0; transform: translate(10%, -50%); } to { opacity: .07; transform: translate(0, -50%); } }
.hof-stats div { opacity: 0; animation: fade .7s var(--ease) forwards; animation-delay: calc(1s + var(--s, 0) * 90ms); border-left: 0; position: relative; }
.hof-stats div::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; animation: hofBar .6s var(--ease) forwards; animation-delay: calc(1.05s + var(--s, 0) * 90ms); }
.hof-stats div:nth-child(2) { --s: 1; } .hof-stats div:nth-child(3) { --s: 2; } .hof-stats div:nth-child(4) { --s: 3; } .hof-stats div:nth-child(5) { --s: 4; }
@keyframes hofBar { to { transform: scaleY(1); } }
.page-hof .slash-wrap { clip-path: inset(-120px 100% -120px 0); animation: hofWipe 1s cubic-bezier(.7, 0, .2, 1) 1s forwards; }
@keyframes hofWipe { to { clip-path: inset(-120px 0 -120px 0); } }

/* clip lives on the button, not the observed <li>: a fully clipped target never reports as intersecting */
.hof__card.reveal {
  opacity: 1; transform: translateY(36px);
  transition: transform .9s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * 80ms);
}
.hof__card.reveal .hof__btn {
  clip-path: polygon(0 115%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path .9s cubic-bezier(.7, 0, .2, 1);
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * 80ms);
}
.hof__card.reveal.is-in { transform: none; }
.hof__card.reveal.is-in .hof__btn { clip-path: polygon(0 0, 100% -15%, 100% 100%, 0 100%); }
.hof__card.reveal:not(.is-in) img { transform: scale(1.18); }

/* ---------- Intake page ---------- */
.intake-hero { padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); background: radial-gradient(110% 90% at 90% 0%, var(--graphite-2), var(--ink) 60%); border-bottom: 1px solid var(--line-dark); }
.intake-hero__eyebrow { opacity: 0; animation: fade .7s var(--ease) .1s forwards; }
.intake-hero__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(80px, 12vw, 180px); line-height: .8; margin: 16px 0 28px; }
.intake-hero__title .line { display: block; overflow: hidden; padding: .08em .14em 0 0; margin-bottom: -.08em; }
.intake-hero__title .slant { transform: translateY(108%) skewX(var(--slant)); animation: rise 1s var(--ease) forwards; }
.intake-hero__title .line:nth-child(1) .slant { animation-delay: .15s; }
.intake-hero__title .line:nth-child(2) .slant { animation-delay: .27s; }
.intake-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; opacity: 0; animation: fade .8s var(--ease) .55s forwards; }
.intake-hero__lede { max-width: 520px; color: rgba(255,255,255,.8); font-weight: 400; }
.intake-facts { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.intake-facts li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 3px solid var(--red); }
.intake-facts b { font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.intake-facts span { font-size: 14px; color: var(--steel); }

.intake { background: var(--white); color: var(--ink); padding: clamp(40px, 6vw, 72px) 0 clamp(80px, 10vw, 140px); }
.intake__wrap { display: grid; grid-template-columns: minmax(0, 760px) minmax(200px, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.intake__frame { position: relative; min-height: 600px; }
.intake__frame iframe { display: block; width: 100%; border: 0; }
.intake__help { position: sticky; top: calc(var(--nav-h) + 24px); padding-top: 20px; border-top: 3px solid var(--red); color: #33373C; font-size: 17px; line-height: 1.6; }
.intake__help .foot__label { color: #4A4F55; }
.intake__help a { color: var(--ink); font-weight: 700; }

.steps-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(48px, 6vw, 72px); padding: 26px 30px; background: var(--ink); color: var(--white); }
.steps-cta p { font-size: 18px; max-width: 560px; }
.steps-cta b { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 30px; line-height: 1; display: block; margin-bottom: 4px; letter-spacing: .01em; }

@media (max-width: 860px) {
  .intake__wrap { grid-template-columns: 1fr; }
  .intake__help { position: static; }
}

/* ---------- Doctor profile pages ---------- */
.doc-hero { padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 clamp(56px, 7vw, 96px); background: radial-gradient(110% 90% at 90% 0%, var(--graphite-2), var(--ink) 60%); }
.doc-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.doc-hero__eyebrow a { color: inherit; text-decoration: none; }
.doc-hero__eyebrow a:hover { color: var(--white); }
.doc-hero__eyebrow { opacity: 0; animation: fade .7s var(--ease) .1s forwards; }
.doc-hero__title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(64px, 8.4vw, 132px); line-height: .82; margin: 16px 0 22px; }
/* Long names shrink to fit their column: --fit = widest line in ems (+ room for the slant), set per page */
.doc-hero__text { container-type: inline-size; }
@supports (width: 1cqi) {
  .doc-hero__title { font-size: min(clamp(40px, 8.4vw, 132px), calc(100cqi / var(--fit, 4))); }
}
.doc-hero__title .line { display: block; overflow: hidden; padding: .08em .14em 0 0; margin-bottom: -.08em; }
.doc-hero__title .slant { transform: translateY(108%) skewX(var(--slant)); animation: rise 1s var(--ease) forwards; }
.doc-hero__title .line:nth-child(1) .slant { animation-delay: .15s; }
.doc-hero__title .line:nth-child(2) .slant { animation-delay: .27s; }
.doc-hero__role, .doc-hero__lede, .doc-hero__cta { opacity: 0; animation: fade .8s var(--ease) .5s forwards; }
.doc-hero__role { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-text); margin-bottom: 16px; }
.doc-hero__lede { max-width: 520px; color: rgba(255,255,255,.85); font-weight: 400; margin-bottom: 32px; }
.doc-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.doc-hero__photo { margin: 0; position: relative; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); opacity: 0; animation: fade 1s var(--ease) .35s forwards; }
.doc-hero__photo img { width: 100%; aspect-ratio: 1080 / 690; object-fit: cover; }
.doc-hero__photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 8px; background: var(--red); transform: skewX(var(--slant)); transform-origin: left bottom; }

.doc-body { background: var(--white); color: var(--ink); padding: clamp(64px, 8vw, 120px) 0; }
.doc-body__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.doc-body__h { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(38px, 4vw, 56px); line-height: .9; margin-bottom: 28px; }
.doc-body__bio p { font-size: 19px; line-height: 1.7; color: #22252A; margin-bottom: 1.1em; max-width: 680px; }
.doc-body__sub { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 40px 0 14px; }
.doc-body__facts { display: grid; gap: 22px; position: sticky; top: calc(var(--nav-h) + 24px); }
.doc-fact { background: var(--concrete); padding: 26px 26px 22px; border-top: 4px solid var(--red); }
.doc-fact h3 { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; color: var(--ink); }
.doc-fact li { position: relative; padding: 10px 0 10px 20px; border-top: 1px solid rgba(13,14,16,.12); font-size: 17px; line-height: 1.45; color: #22252A; }
.doc-fact li:first-child { border-top: 0; padding-top: 0; }
.doc-fact li::before { content: ""; position: absolute; left: 0; top: calc(10px + .55em); width: 8px; height: 3px; background: var(--red); transform: skewX(var(--slant)); }
.doc-fact li:first-child::before { top: .55em; }

.doc-next { padding: clamp(56px, 7vw, 96px) 0; }
.doc-next__card { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; text-decoration: none; color: var(--white); border: 1px solid var(--line-dark); padding: 16px; transition: border-color .3s; }
.doc-next__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.doc-next__card:hover { border-color: var(--red); }
.doc-next__text { display: flex; flex-direction: column; gap: 10px; }
.doc-next__name { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(34px, 4vw, 56px); line-height: .9; }

@media (max-width: 860px) {
  .doc-hero__grid, .doc-body__grid { grid-template-columns: 1fr; }
  .doc-hero__photo { order: -1; }
  .doc-body__facts { position: static; }
  .doc-next__card { grid-template-columns: 1fr; }
}

/* ---------- Footer: Google rating beside the social icons ---------- */
.foot__social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.g-rating { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 6px; border: 1px solid var(--line-dark); color: var(--white); text-decoration: none; transition: border-color .3s, background .3s; }
.g-rating:hover { border-color: var(--red); background: rgba(230,33,26,.08); }
.foot__grid a.g-rating:hover { color: var(--white); }
.g-rating__g { width: 30px; height: 30px; display: grid; place-items: center; background: var(--white); color: #4285F4; font: 700 18px/1 Arial, sans-serif; border-radius: 50%; }
.g-rating__body { display: flex; flex-direction: column; line-height: 1.1; }
.g-rating__top { display: flex; align-items: center; gap: 6px; }
.g-rating__top b { font-size: 16px; }
.g-rating__stars { color: #FBBC04; font-size: 13px; letter-spacing: 1px; }
.g-rating__count { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.72); }

/* ---------- Service pages ---------- */
.crumbs { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); opacity: 0; animation: fade .7s var(--ease) .1s forwards; }
.crumbs a { color: var(--red-text); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.page-svc .doc-hero__lede { margin-top: 8px; }
.svc-list { margin: 4px 0 8px; border-top: 1px solid rgba(13,14,16,.14); max-width: 680px; }
.svc-list li { padding: 16px 0; border-bottom: 1px solid rgba(13,14,16,.14); display: grid; gap: 4px; }
.svc-list b { font-size: 19px; color: var(--ink); }
.svc-list span { font-size: 17px; line-height: 1.55; color: #33373C; }
.doc-fact a { color: var(--ink); font-weight: 700; }
.doc-fact--cta { background: var(--ink); color: var(--white); border-top-color: var(--red); }
.doc-fact--cta h3 { color: var(--white); }
.doc-fact--cta p { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.doc-fact--cta .doc-fact__call { margin: 16px 0 0; }
.doc-fact--cta .doc-fact__call a { color: var(--white); }
.svc-related { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc-related .doc-next__card { grid-template-columns: 160px 1fr; }
.svc-related .doc-next__name { font-size: clamp(30px, 3vw, 44px); }
.svc__name a { color: inherit; text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 3px no-repeat; transition: background-size .35s var(--ease); }
.svc__name a:hover { background-size: 100% 3px; }
@media (max-width: 860px) { .svc-related { grid-template-columns: 1fr; } .svc-related .doc-next__card { grid-template-columns: 1fr; } }
.doc-next__text { min-width: 0; }
.doc-next__text .eyebrow { white-space: normal; }

/* ---------- Pause controls for moving content (WCAG 2.2.2) ---------- */
.motion-toggle { width: 36px; height: 36px; display: grid; place-items: center; color: var(--white); background: var(--ink); border: 1px solid rgba(255,255,255,.4); cursor: pointer; transition: background .25s, border-color .25s; }
.motion-toggle:hover { border-color: var(--white); }
.motion-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.motion-toggle[aria-pressed="true"] svg { display: none; }
.motion-toggle[aria-pressed="true"]::before { content: ""; border-left: 11px solid currentColor; border-top: 6.5px solid transparent; border-bottom: 6.5px solid transparent; margin-left: 3px; }
.slash__pause { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 7; }
.slash-wrap.is-paused .slash__track { animation-play-state: paused; }
.qpause { margin-left: 10px; background: transparent; border-color: rgba(13,14,16,.45); color: var(--ink); width: 32px; height: 32px; }
.qpause:hover { border-color: var(--ink); }
.quotes__ctrl { display: flex; align-items: center; }

/* ---------- Legal pages (privacy policy, notice of privacy practices) ---------- */
.legal-hero { padding: calc(var(--nav-h) + clamp(36px, 5vw, 72px)) 0 clamp(40px, 5vw, 64px); background: radial-gradient(110% 90% at 90% 0%, var(--graphite-2), var(--ink) 60%); }
.legal-hero .doc-hero__text { max-width: var(--max); }
.legal-hero__title { font-size: min(clamp(40px, 6.4vw, 96px), calc(100cqi / var(--fit, 6))); }
.legal-hero__date { font-size: 15px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.75); }
.legal { background: var(--white); color: var(--ink); padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); --red-text: var(--red-deep); }
.legal__body { max-width: 760px; font-size: 18px; line-height: 1.7; color: #22252A; }
.legal__body h2 { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(28px, 3vw, 38px); line-height: 1; color: var(--ink); margin: 48px 0 14px; }
.legal__body p { margin-bottom: 1em; }
.legal__body ul { margin: 0 0 1.2em; padding-left: 0; }
.legal__body li { position: relative; padding: 0 0 .7em 22px; }
.legal__body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 3px; background: var(--red); transform: skewX(var(--slant)); }
.legal__body a { color: var(--red-deep); font-weight: 600; text-underline-offset: 3px; }
.legal__callout { font-weight: 700; color: var(--ink); background: var(--concrete); border-left: 4px solid var(--red); padding: 18px 22px; font-size: 16px; letter-spacing: .02em; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; }
.foot__links a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.82); text-decoration: underline; text-underline-offset: 3px; }
.foot__links a:hover { color: var(--white); }
.foot__links + .foot__legal { margin-top: 14px; }

/* ---------- Reviews: length-aware sizing, prev/next, Google link ---------- */
.quote--mid blockquote p { font-size: clamp(38px, 5.2vw, 82px); max-width: 15em; }
.quote--long blockquote p { font-size: clamp(30px, 4vw, 62px); line-height: .95; max-width: 19em; }
.qnav { background: transparent; border-color: rgba(13,14,16,.45); color: var(--ink); width: 40px; height: 40px; font-size: 18px; font-weight: 700; }
.qnav:hover { border-color: var(--ink); background: rgba(13,14,16,.08); }
.qcount { min-width: 0; text-align: left; font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--white); font-variant-numeric: tabular-nums; }
.quotes__ctrl .qpause { margin-left: 14px; }
.reviews__rating { position: relative; z-index: 2; margin-top: 22px; }
.reviews__rating a { color: var(--white); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 4px; }
.reviews__rating a:hover { color: var(--ink); }

@media (max-width: 860px) {
  /* the slant pushes upper lines right; leave room so long quotes never touch the edge */
  .quote blockquote p { padding-right: 1.1em; }
  .quote--long blockquote p { font-size: clamp(28px, 7.6vw, 44px); }
  .quote--mid blockquote p { font-size: clamp(32px, 9vw, 56px); }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.svc__item.reveal { transition-delay: calc(var(--i, 0) * 50ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: block; }
  .nav__actions { margin-left: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
  .step { border-top: 3px solid var(--red); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .approach__grid, .visit__grid, .docs { grid-template-columns: 1fr; }
  .svc__item { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .ins { grid-template-columns: 1fr; }
  .carriers__list { grid-template-columns: 1fr; }
  .carrier { min-height: 96px; }
  .gal__item { width: 74vw; height: 64vw; }
  .gal__item--wide { width: 86vw; }
  .visit__building { left: auto; right: 16px; width: 52%; }
  .reviews__mark { width: 90vw; right: -30%; }
}
@media (max-width: 560px) {
  :root { --nav-h: 64px; }
  .nav__logo img { height: 32px; }
  .nav .btn--sm { display: none; }
  .hero__title { font-size: clamp(64px, 21.5vw, 130px); }
  .eyebrow { letter-spacing: .2em; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__status { padding-bottom: 80px; }
  .steps { grid-template-columns: 1fr; }
  .slash { margin-top: -54px; }
  .clinic__nav { display: none; }
  .foot__grid { grid-template-columns: 1fr; }
  .menu nav a { font-size: 46px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .intro { display: none; }
  .slash__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .hof-intro { display: none; }
  .hof__card.reveal { transform: none; }
  .hof__card.reveal .hof__btn { clip-path: none; }
  .page-hof .slash-wrap { clip-path: none; }
}
