/* Dr Edward Jonsson & Associates
   Palette: pine (primary), stone (neutral), ochre (accent). Type: Bricolage Grotesque + Figtree. */

:root {
  --pine-975: oklch(0.165 0.026 172);
  --pine-950: oklch(0.19 0.03 172);
  --pine-900: oklch(0.235 0.036 172);
  --pine-800: oklch(0.29 0.042 172);
  --pine-700: oklch(0.36 0.05 172);
  --pine-600: oklch(0.45 0.06 172);
  --sage-300: oklch(0.80 0.045 168);
  --sage-200: oklch(0.87 0.035 168);
  --mint-100: oklch(0.94 0.03 168);
  --stone-50: oklch(0.975 0.007 85);
  --stone-100: oklch(0.955 0.011 85);
  --stone-200: oklch(0.915 0.016 85);
  --stone-300: oklch(0.86 0.02 85);
  --sand-200: oklch(0.925 0.03 78);
  --sand-300: oklch(0.89 0.04 76);
  --ink-900: oklch(0.23 0.025 172);
  --ink-700: oklch(0.36 0.024 172);
  --ink-600: oklch(0.43 0.022 172);
  --ochre-300: oklch(0.86 0.11 80);
  --ochre-400: oklch(0.80 0.135 75);
  --ochre-500: oklch(0.74 0.14 70);
  --ochre-700: oklch(0.50 0.10 60);
  --open: oklch(0.80 0.13 150);

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(88px, 12vw, 168px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--stone-50); color: var(--ink-900); font: 400 1.0625rem/1.62 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ochre-400); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ochre-400); color: var(--pine-950); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.eyebrow { font: 650 .78rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-600); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .8em; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--ink-700); max-width: 58ch; }
.fine { font-size: .875rem; color: var(--ink-600); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2, .care-intro h2, .sports-head h2, .faq-intro h2, .visit-info h2 {
  font-size: clamp(2.25rem, 5vw, 4.25rem); line-height: .98; font-weight: 700; letter-spacing: -.025em;
  font-variation-settings: "wdth" 86, "opsz" 96; margin-bottom: .45em; max-width: 16ch;
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .8em 1.35em; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out); white-space: nowrap; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ochre-400); color: var(--pine-975); }
.btn-primary:hover { background: var(--ochre-300); }
.btn-ghost { color: var(--stone-50); border-color: oklch(0.94 0.03 168 / .32); }
.btn-ghost:hover { border-color: oklch(0.94 0.03 168 / .7); background: oklch(0.94 0.03 168 / .06); }
.btn-dark { background: var(--pine-900); color: var(--stone-50); }
.btn-dark:hover { background: var(--pine-800); }
.btn-outline { color: var(--pine-900); border-color: var(--stone-300); }
.btn-outline:hover { border-color: var(--pine-900); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 1.2rem; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .9rem; line-height: 1.2; padding: .5em .9em; border-radius: 999px; border: 1px solid oklch(0.94 0.03 168 / .22); color: var(--sage-200); }
.tags-dark li { border-color: var(--stone-300); color: var(--ink-700); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; gap: 24px; padding-inline: var(--gutter); color: var(--stone-50); transition: background-color .35s, color .35s, box-shadow .35s; }
.site-header[data-tone="light"] { background: oklch(0.975 0.007 85 / .9); color: var(--ink-900); box-shadow: 0 1px 0 var(--stone-200); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand { --mark-line: var(--pine-900); --mark-sun: oklch(0.68 0.14 62); }
.site-header[data-tone="light"] .brand { --mark-line: var(--stone-50); --mark-sun: var(--ochre-400); }
.site-header[data-tone="light"] .brand-mark { color: var(--pine-900); }
.site-header .brand { transform-origin: 0 50%; }
.site-header.is-ready .brand { transition: transform .5s var(--ease-out); }
.site-header.is-top .brand { transform: scale(var(--brand-top, 1)); }
.brand-word { display: grid; gap: 3px; }
.brand-word b { font: 650 1.2rem/1 var(--display); font-variation-settings: "wdth" 90, "opsz" 36; letter-spacing: -.01em; }
.brand-word small { font: 650 .66rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; opacity: .72; }
.site-nav { margin-inline: auto; }
.site-nav ul { display: flex; gap: clamp(16px, 2vw, 30px); }
.site-nav a { font-size: .95rem; font-weight: 500; text-decoration: none; opacity: .86; padding: 6px 0; white-space: nowrap; }
.site-nav a:hover { opacity: 1; text-decoration: underline; }
.nav-status { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.btn-call { min-height: 42px; padding: .6em 1.1em; background: var(--ochre-400); color: var(--pine-975); }
.btn-call:hover { background: var(--ochre-300); }
.status { display: inline-flex; align-items: center; gap: .55em; font-size: .85rem; font-weight: 500; opacity: .9; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--stone-300); flex: none; }
[data-open="true"] .status-dot { background: var(--open); box-shadow: 0 0 0 4px oklch(0.80 0.13 150 / .2); }
[data-open="false"] .status-dot { background: var(--ochre-400); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid currentColor; border-color: oklch(from currentColor l c h / .3); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; position: relative; }
.menu-lines, .menu-lines::before { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; top: 18px; transition: transform .3s var(--ease-out); }
.menu-lines::before { content: ""; left: 0; right: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-lines { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(-6px) rotate(-90deg); }

@media (max-width: 1400px) {
  .status:not(.status-lg) { display: none; }
}
@media (max-width: 1020px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto; background: var(--pine-950); color: var(--stone-50); padding: 24px var(--gutter) 32px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease-out), visibility 0s .3s; box-shadow: 0 24px 40px oklch(0.165 0.026 172 / .35); }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .3s, transform .3s var(--ease-out); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; font: 600 1.6rem/1.2 var(--display); padding: 12px 0; border-bottom: 1px solid oklch(0.94 0.03 168 / .12); opacity: 1; }
  .nav-status { display: block; margin: 20px 0 0; font-size: .95rem; opacity: .75; }
  .btn-call span { display: none; }
  .btn-call { width: 44px; height: 44px; min-height: 0; padding: 0; }
}
@media (max-width: 420px) {
  .brand-word b { font-size: 1.05rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions { gap: 10px; }
}

/* ---------- body tour ---------- */
.tour { position: relative; background: var(--pine-975); color: var(--stone-50); --step: 92svh; height: calc((var(--stops) - 1) * var(--step) + 100svh); }
.tour-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.tour-stage::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(52% 70% at 64% 44%, oklch(0.33 0.052 172) 0%, oklch(0.24 0.038 172) 48%, var(--pine-975) 100%); }
.tour-stage::after { content: ""; position: absolute; inset: -10% -20% -10% 30%; z-index: -1; background: url(../img/contours-light.svg) center / cover no-repeat; opacity: .07; }
.tour-skip { position: absolute; left: -9999px; top: calc(var(--header-h) + 8px); z-index: 30; background: var(--ochre-400); color: var(--pine-975); padding: 8px 14px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.tour-skip:focus { position: fixed; left: 16px; }

.tour-figure { position: absolute; inset: 0; }
.tour-figure::after { content: ""; position: absolute; inset: 0 0 auto; height: calc(var(--header-h) + 56px); background: linear-gradient(var(--pine-975) 20%, oklch(0.165 0.026 172 / 0)); pointer-events: none; }
.tour-figure .anatomy { width: 100%; height: 100%; }
.tour-pins { position: absolute; inset: 0; pointer-events: none; }

.tour-copy { position: absolute; z-index: 5; left: var(--gutter); top: calc(var(--header-h) + 24px); bottom: 24px; width: min(34rem, 40vw); display: grid; align-items: center; }
.tour-copy::before { content: ""; position: absolute; z-index: -1; inset: -40vh -12vw -40vh calc(-1 * var(--gutter)); background: linear-gradient(90deg, var(--pine-975) 0%, oklch(0.165 0.026 172 / .86) 45%, oklch(0.165 0.026 172 / 0) 100%); pointer-events: none; }
.stop { grid-area: 1 / 1; }
.js .stop { opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
.js .stop.is-active { opacity: 1; pointer-events: auto; transform: none; transition: opacity .6s var(--ease-out) .08s, transform .8s var(--ease-out) .08s; }
.stop .eyebrow { color: var(--sage-300); }
.stop .eyebrow .num { color: var(--ochre-400); font-variant-numeric: tabular-nums; }
.stop h1 { font-size: clamp(3rem, 6.2vw, 6.25rem); line-height: .92; font-weight: 700; letter-spacing: -.035em; font-variation-settings: "wdth" 84, "opsz" 96; margin-bottom: .35em; }
.stop h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1; font-weight: 700; letter-spacing: -.025em; font-variation-settings: "wdth" 86, "opsz" 96; margin-bottom: .5em; }
.stop p { color: var(--sage-200); font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.6; max-width: 46ch; }
.stop .lead { color: var(--sage-200); }
.stop .fine { color: var(--sage-300); opacity: .85; }
.stop .tags { margin-top: 1.4rem; }
.stop .note { margin-top: 1.4rem; font-size: .92rem; color: var(--ochre-300); }

.tour-rail { position: absolute; z-index: 6; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; gap: 14px; }
.tour-rail::before { content: ""; position: absolute; z-index: -1; inset: -50vh calc(-1 * var(--gutter)) -50vh -120px; background: linear-gradient(270deg, oklch(0.165 0.026 172 / .78), oklch(0.165 0.026 172 / 0)); pointer-events: none; }
.tour-rail ol { display: grid; gap: 2px; text-align: right; }
.tour-rail a { display: block; font-size: .8rem; line-height: 1; padding: 6px 0; color: var(--sage-300); opacity: .55; text-decoration: none; transition: opacity .3s, color .3s; }
.tour-rail a:hover { opacity: 1; }
.tour-rail a.is-active { opacity: 1; color: var(--ochre-300); }
.rail-track { width: 2px; border-radius: 2px; background: oklch(0.94 0.03 168 / .14); position: relative; overflow: hidden; }
.rail-fill { position: absolute; inset: 0 0 auto; height: 100%; background: var(--ochre-400); transform-origin: top; transform: scaleY(var(--p, 0)); }

.tour-progress { display: none; }
.tour-hint { position: absolute; left: 50%; bottom: 22px; z-index: 6; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-300); transition: opacity .4s; }
.tour-hint i { width: 1px; height: 36px; background: linear-gradient(var(--sage-300), transparent); animation: hint 2.2s var(--ease-out) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.tour[data-progress="moving"] .tour-hint { opacity: 0; }

/* pins */
.pin { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity .4s var(--ease-out); will-change: transform; }
.pin.is-shown { opacity: 1; transition-delay: .25s; }
.pin-dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ochre-400); box-shadow: 0 0 0 4px oklch(0.80 0.135 75 / .22); display: block; }
.pin-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ochre-400); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.pin-label { position: absolute; left: 14px; top: 0; transform: translateY(-50%); font-size: .82rem; font-weight: 600; line-height: 1; padding: .55em .85em; border-radius: 999px; background: oklch(0.165 0.026 172 / .82); border: 1px solid oklch(0.80 0.135 75 / .45); color: var(--stone-50); white-space: nowrap; }
.pin.is-left .pin-label { left: auto; right: 14px; }
.pin-overview { pointer-events: none; }
.pin-overview.is-shown { pointer-events: auto; }
.pin-overview .pin-dot { width: 10px; height: 10px; left: -5px; top: -5px; background: var(--sage-200); box-shadow: 0 0 0 4px oklch(0.87 0.035 168 / .16); cursor: pointer; }
.pin-overview .pin-dot::after { border-color: var(--sage-200); animation-duration: 3.2s; }
.pin-overview .pin-label { opacity: 0; transform: translate(-4px, -50%); transition: opacity .25s, transform .25s var(--ease-out); pointer-events: none; }
.pin-overview:hover .pin-label { opacity: 1; transform: translate(0, -50%); }
.pin-overview { background: none; border: 0; padding: 0; overflow: visible; color: inherit; font: inherit; cursor: pointer; }
.pin-overview::before { content: ""; position: absolute; inset: -16px; border-radius: 50%; }

/* anatomy figure */
.anatomy { --mint: #bfe6da; --mint-hi: #e4f6f0; --teal: #5fa898; --hot: #f2c46a; --bone: #e9f4ef; color: var(--mint); overflow: visible; }
.anatomy .outline { fill: none; stroke: var(--mint-hi); stroke-opacity: .55; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.anatomy .rim use { fill: none; stroke: var(--mint-hi); stroke-linejoin: round; }
.anatomy .vessels path { fill: none; stroke-linecap: round; }
.anatomy .artery { stroke: var(--mint); stroke-opacity: .26; stroke-width: 2.2; }
.anatomy .vein { stroke: var(--teal); stroke-opacity: .3; stroke-width: 2; }
.anatomy .bones .b-line { fill: none; stroke: var(--bone); stroke-opacity: .26; stroke-width: 1; vector-effect: non-scaling-stroke; }
.anatomy .bones .b-line.fine { stroke-opacity: .18; }
.anatomy .bones .b-fill, .anatomy .bones .b-fill * { fill: var(--bone); fill-opacity: .07; stroke: var(--bone); stroke-opacity: .28; stroke-width: 1; vector-effect: non-scaling-stroke; }
.anatomy .bones .b-orbit { fill: #0d2723; fill-opacity: .2; stroke: var(--bone); stroke-opacity: .28; vector-effect: non-scaling-stroke; }
.anatomy .bones .b-rib { fill: none; stroke: var(--bone); stroke-opacity: .15; stroke-width: 2.6; stroke-linecap: round; }
.anatomy .bones .b-back { stroke-opacity: .06; stroke-width: 2.2; }
.anatomy .bones .b-clav { stroke-width: 4.2; stroke-opacity: .2; }
.anatomy .surface path { fill: none; stroke: var(--mint-hi); stroke-opacity: .08; stroke-width: 1; vector-effect: non-scaling-stroke; }
.anatomy .teeth rect { fill: var(--bone); fill-opacity: .28; }
.anatomy .part { color: var(--mint); transition: color .7s var(--ease-out), opacity .7s var(--ease-out); }
.anatomy .part .o { fill: currentColor; fill-opacity: .18; stroke: currentColor; stroke-opacity: .66; stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill-opacity .7s, stroke-opacity .7s; }
.anatomy .part .o.soft { fill-opacity: .12; stroke-opacity: .45; }
.anatomy .part .o.faint { fill-opacity: .09; stroke-opacity: .38; }
.anatomy .part .o.ghost { fill-opacity: .04; stroke-opacity: .16; }
.anatomy .part .o.solid { fill-opacity: .7; stroke: none; }
.anatomy .part .o.joint { fill-opacity: 0; stroke-dasharray: 2 3; }
.anatomy .part .ol { fill: none; stroke: currentColor; stroke-opacity: .48; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.anatomy .part .ol.fine { stroke-opacity: .28; }
.anatomy .part .vertebrae > * { fill: var(--bone); fill-opacity: .06; stroke: var(--bone); stroke-opacity: .2; stroke-width: 1; vector-effect: non-scaling-stroke; }
.anatomy.is-focused .part { opacity: .42; }
.anatomy .part.is-on { color: var(--hot); opacity: 1; filter: url(#glow); }
.anatomy .part.is-on .o { fill-opacity: .36; stroke-opacity: .95; }
.anatomy .part.is-on .o.ghost { fill-opacity: .14; stroke-opacity: .7; }
.anatomy .part.is-on .o.joint { fill-opacity: .06; stroke-opacity: .9; }
.anatomy .part.is-on .vertebrae > * { fill: var(--hot); fill-opacity: .3; stroke: var(--hot); stroke-opacity: .9; }
.anatomy .scan-band { opacity: 0; transform-box: view-box; }
/* ECG rhythm strip. The sweep crosses the strip's three complexes (252 units) in three beats at 72 bpm, and the
   heartbeat and pulse are offset to land on each R wave (34 of every 84 units, see tools/body.mjs). */
.anatomy { --beat: .8333s; --r-wave: calc(var(--beat) * 34 / 84 - var(--beat)); }
.anatomy .ekg { opacity: 0; transition: opacity .6s var(--ease-out); pointer-events: none; }
.anatomy .ekg-grid path { fill: none; stroke: var(--hot); stroke-width: 1; vector-effect: non-scaling-stroke; }
.anatomy .ekg-grid .minor { stroke-opacity: .14; }
.anatomy .ekg-grid .major { stroke-opacity: .34; }
.anatomy .ekg-trace path { fill: none; stroke: var(--hot); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.anatomy .ekg-trail { stroke-width: 2.2; }
.anatomy .ekg-head { stroke: #fff3d8; stroke-width: 3.2; }
.anatomy .ekg-dot circle { fill: #fff3d8; }
.anatomy .ekg-dot .ekg-blip { fill: url(#gPulse); }
.anatomy .heart-pulse { opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.anatomy[data-parts~="heart"] .ekg { opacity: 1; transition-delay: .3s; }
.anatomy[data-parts~="heart"] :is(.ekg-clock, .ekg-dot-x) { animation: ekg-sweep calc(var(--beat) * 3) linear infinite; }
.anatomy[data-parts~="heart"] .ekg-dot { animation: ekg-dot var(--beat) linear infinite; }
.anatomy[data-parts~="heart"] .ekg-grid { animation: ekg-grid var(--beat) var(--ease-out) var(--r-wave) infinite; }
.anatomy[data-parts~="heart"] .heart-pulse { animation: heart-pulse var(--beat) var(--ease-out) var(--r-wave) infinite; }
.anatomy[data-parts~="heart"] .part[data-part="heart"] { transform-box: fill-box; transform-origin: 50% 60%; animation: beat var(--beat) var(--ease-out) var(--r-wave) infinite; }
@keyframes ekg-sweep { to { transform: translateX(252px); } }
@keyframes ekg-dot {
  0%, 11.9%, 23.81%, 32.14%, 48.81%, 58.33%, 77.38%, 100% { transform: none; }
  14.88%, 20.83% { transform: translateY(-2.6px); } 17.86% { transform: translateY(-3.5px); }
  35.71% { transform: translateY(4px); } 40.48% { transform: translateY(-36px); } 45.24% { transform: translateY(13px); }
  63.1%, 72.62% { transform: translateY(-4.5px); } 67.86% { transform: translateY(-6px); }
}
@keyframes ekg-grid { 0%, 100% { opacity: .75; } 8% { opacity: 1; } }
@keyframes heart-pulse { 0% { opacity: 0; transform: scale(.7); } 8% { opacity: 1; } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 10% { transform: scale(1.03); } 22% { transform: scale(1.012); } }

/* no-JS: the tour becomes a simple stacked list beside a static figure */
html:not(.js) .tour { height: auto; }
html:not(.js) .tour-stage { position: relative; height: auto; overflow: visible; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
html:not(.js) .tour-figure { position: sticky; top: 0; height: 100vh; float: right; width: 45%; }
html:not(.js) .tour-copy { position: static; width: auto; max-width: 34rem; display: grid; gap: 64px; }
html:not(.js) .tour-rail, html:not(.js) .tour-hint { display: none; }

@media (max-width: 959px) {
  .tour { --step: 78svh; }
  .tour-stage::after { inset: 0; }
  .tour-copy { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 46%; padding: 28px var(--gutter) calc(20px + env(safe-area-inset-bottom)); align-items: start; }
  .tour-copy::before { inset: -30% 0 0; background: linear-gradient(180deg, oklch(0.165 0.026 172 / 0) 0%, oklch(0.165 0.026 172 / .92) 24%, var(--pine-975) 40%); }
  .stop h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .stop h2 { font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .stop p { font-size: 1rem; line-height: 1.5; }
  .stop .eyebrow { margin-bottom: .7rem; }
  .stop .tags { margin-top: 1rem; gap: 6px; }
  .stop .tags li { font-size: .8rem; }
  .stop-intro .lead { font-size: 1rem; }
  .stop-intro .cta-row { margin: 1.1rem 0 .6rem; }
  .stop-intro .fine { display: none; }
  .stop .note { margin-top: .9rem; font-size: .85rem; }
  .tour-rail { display: none; }
  .tour-hint { display: none; }
  .tour-progress { position: absolute; z-index: 6; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 10px); display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; font-size: .78rem; color: var(--sage-200); opacity: 0; transition: opacity .4s; }
  .tour[data-region] .tour-progress { opacity: 1; }
  .tp-count { color: var(--ochre-300); font-variant-numeric: tabular-nums; }
  .tp-bar { grid-column: 1 / -1; height: 2px; background: oklch(0.94 0.03 168 / .14); border-radius: 2px; overflow: hidden; }
  .tp-bar span { display: block; height: 100%; background: var(--ochre-400); transform-origin: left; transform: scaleX(var(--p, 0)); }
}
@media (max-width: 959px) and (max-height: 700px) {
  .stop .tags li:nth-child(n+5) { display: none; }
}

/* ---------- everyday care ---------- */
.care { padding-block: var(--section-y); }
.care-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.care-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.care-intro .lead { margin-bottom: 2rem; }
.service-list { counter-reset: s; border-top: 1px solid var(--stone-300); }
.service-list li { display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 12px; padding: 26px 0 24px; border-bottom: 1px solid var(--stone-300); }
.service-list .n { grid-row: span 2; font: 600 .85rem/1.9 var(--body); color: var(--ochre-700); font-variant-numeric: tabular-nums; }
.service-list h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 650; letter-spacing: -.01em; font-variation-settings: "wdth" 92; margin-bottom: .3em; }
.service-list h3 a { text-decoration: none; background: linear-gradient(var(--ochre-400), var(--ochre-400)) 0 100% / 100% 2px no-repeat; }
.service-list p { margin: 0; color: var(--ink-700); max-width: 56ch; }

/* ---------- services (flip cards) ---------- */
.services { padding-block: var(--section-y); background: var(--stone-100); }
.services-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 64px; align-items: end; }
.services-head .eyebrow { grid-column: 1 / -1; }
.services-head h2 { margin: 0; }
.services-head .lead { margin: 0 0 .4em; }
.flip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.flip { perspective: 1600px; }
.flip-inner { display: grid; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease-out); }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { grid-area: 1 / 1; min-height: 400px; display: flex; flex-direction: column; border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-front { position: relative; background: var(--stone-50); border: 1px solid var(--stone-200); transition: border-color .3s, box-shadow .4s var(--ease-out); }
.flip-front:hover { border-color: var(--stone-300); box-shadow: 0 18px 40px -24px oklch(0.235 0.036 172 / .35); }
.flip-n { font: 600 .85rem/1 var(--body); color: var(--ochre-700); font-variant-numeric: tabular-nums; margin-bottom: 28px; }
.flip h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.02; font-weight: 700; letter-spacing: -.02em; font-variation-settings: "wdth" 88; }
.flip-sub { margin: .45em 0 1em; font: 650 .74rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-600); }
.flip-front > p:not(.flip-sub) { color: var(--ink-700); max-width: 30ch; }
.flip-art { width: 100%; height: 60px; margin: auto 0 22px; overflow: visible; }
.flip-art path { fill: none; stroke: var(--ochre-700); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.flip-art .art-dash { stroke-dasharray: 6 7; }
.flip-art .art-dot { fill: var(--ochre-400); }
.flip-front:hover .flip-art path { stroke: var(--pine-900); }
.flip-open { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0 0; border: 0; border-top: 1px solid var(--stone-300); background: none; color: inherit; font: 600 .95rem/1 var(--body); cursor: pointer; }
.flip-open::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.flip-open svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--pine-900); color: var(--stone-50); transition: transform .4s var(--ease-out); }
.flip-front:hover .flip-open svg { transform: rotate(90deg); }
.flip-open:focus-visible { outline: none; }
.flip-open:focus-visible::after { outline: 2px solid var(--ochre-500); outline-offset: 3px; }
.flip-back { background: var(--pine-900); color: var(--stone-50); transform: rotateY(180deg); }
.flip-back:focus { outline: none; }
.flip-back h3 { margin-bottom: .55em; }
.flip-back > p { color: var(--sage-200); font-size: .98rem; line-height: 1.5; }
.flip-back ul { display: grid; margin-bottom: 1rem; }
.flip-back li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid oklch(0.94 0.03 168 / .12); font-size: .95rem; line-height: 1.35; }
.flip-back li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; background:
  linear-gradient(var(--ochre-400), var(--ochre-400)) center / 100% 2px no-repeat,
  linear-gradient(var(--ochre-400), var(--ochre-400)) center / 2px 100% no-repeat; }
.flip-back > .flip-note { font-size: .88rem; color: var(--ochre-300); }
.flip-note a { color: inherit; font-weight: 600; }
.flip-actions { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flip-actions .btn { min-height: 44px; padding: .7em 1.1em; font-size: .95rem; }
.flip-close { background: none; border: 1px solid oklch(0.94 0.03 168 / .3); color: var(--stone-50); border-radius: 999px; min-height: 44px; padding: 0 1.1em; font: 600 .95rem/1 var(--body); cursor: pointer; }
.flip-close:hover { border-color: oklch(0.94 0.03 168 / .7); }
html:not(.js) .flip-inner { gap: 12px; }
html:not(.js) .flip-face { grid-area: auto; backface-visibility: visible; transform: none; }
html:not(.js) .flip-open, html:not(.js) .flip-close { display: none; }

/* portraits (an initials placeholder stands in until a photo is supplied) */
.portrait { margin: 0; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--stone-200); }
.portrait-art { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: radial-gradient(90% 70% at 70% 20%, var(--pine-700), var(--pine-900) 70%); display: grid; place-items: end start; padding: 20px; }
.portrait-art::before { content: ""; position: absolute; inset: 0; background: url(../img/contours-light.svg) 30% 40% / 260% auto no-repeat; opacity: .14; }
.portrait-art span { position: relative; font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); font-variation-settings: "wdth" 84; letter-spacing: -.03em; color: var(--sage-200); }

/* ---------- sports ---------- */
.sports { position: relative; padding-block: var(--section-y); background: var(--pine-900); color: var(--stone-50); overflow: hidden; isolation: isolate; }
.sports::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-light.svg) 80% 20% / 1600px auto no-repeat; opacity: .08; }
.sports .eyebrow { color: var(--ochre-300); }
.sports-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.sports-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.sports-head h2 { margin: 0; max-width: 13ch; }
.sports-copy p { color: var(--sage-200); }
.sports-copy p:last-child { margin: 0; }
.profile { position: relative; margin: clamp(48px, 7vw, 88px) 0 0; height: clamp(140px, 18vw, 220px); }
.profile svg { width: 100%; height: 100%; }
.profile-line { stroke: var(--sage-300); stroke-width: 1.5; }
.profile-marks path { stroke: var(--ochre-400); stroke-width: 1; stroke-dasharray: 3 4; fill: none; }
.flag { position: absolute; left: var(--x); top: var(--y); width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--ochre-400); box-shadow: 0 0 0 6px oklch(0.80 0.135 75 / .2); }
.events { position: relative; height: 3.6em; margin: 16px 0 clamp(48px, 6vw, 72px); }
.events li { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); display: grid; gap: 2px; text-align: center; white-space: nowrap; }
.events li:first-child { transform: translateX(-20%); text-align: left; }
.events li:last-child { transform: translateX(-80%); text-align: right; }
.events b { font: 650 1.1rem/1.2 var(--display); }
.events span { font-size: .85rem; color: var(--sage-300); }
.tags-light li { color: var(--stone-50); border-color: oklch(0.94 0.03 168 / .28); font-size: .95rem; }

/* ---------- triage ---------- */
.triage { padding-block: var(--section-y); }
.triage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.triage-col { border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.triage-col h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.015em; font-variation-settings: "wdth" 90; margin-bottom: 1.2rem; }
.triage-col ul { display: grid; margin-bottom: 1.8rem; }
.triage-col li { padding: 12px 0; border-bottom: 1px solid; font-size: 1.05rem; }
.triage-gp { background: var(--stone-100); border: 1px solid var(--stone-200); }
.triage-gp li { border-color: var(--stone-300); }
.triage-er { background: oklch(0.93 0.06 75); }
.triage-er h3 { color: oklch(0.42 0.11 50); }
.triage-er li { border-color: oklch(0.50 0.10 60 / .3); }
.triage-er ul { margin-bottom: 0; }
.emergency { margin-top: 16px; border-radius: var(--radius); background: var(--pine-900); color: var(--stone-50); padding: 24px clamp(24px, 4vw, 48px); display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; }
.emergency-label { margin: 0; font: 650 .78rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-300); }
.emergency ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.emergency a { display: grid; gap: 2px; text-decoration: none; }
.emergency b { font: 700 clamp(1.4rem, 2.4vw, 1.9rem)/1.1 var(--display); font-variation-settings: "wdth" 88; letter-spacing: -.01em; }
.emergency span { font-size: .85rem; color: var(--sage-300); }
.emergency a:hover b { color: var(--ochre-300); }

/* ---------- doctors ---------- */
.doctors { padding-block: var(--section-y); background: var(--stone-100); }
.lead-doc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.lead-doc h3 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -.025em; font-variation-settings: "wdth" 88; }
.quals { margin: .4em 0 1.4em; font-weight: 600; color: var(--ochre-700); font-size: .95rem; }
.lead-doc-copy p:not(.quals) { color: var(--ink-700); max-width: 60ch; }
.lead-doc .tags { margin-top: 1.6rem; }
.portrait-lg .portrait-art span { font-size: clamp(4rem, 9vw, 7rem); }
.assoc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--stone-300); }
.assoc-doc { display: grid; grid-template-columns: minmax(110px, 2fr) 5fr; gap: 24px; align-items: start; }
.assoc-doc h3 { font-size: 1.5rem; font-weight: 650; }
.assoc-doc .quals { margin: .3em 0 .8em; }
.assoc-doc p:not(.quals) { color: var(--ink-700); margin: 0; }
.assoc-doc .portrait-art { padding: 14px; }
.assoc-doc .portrait-art span { font-size: 2rem; }
.assoc-doc .tags { margin-top: 1rem; }
.assoc-doc .tags li { font-size: .82rem; }
.team { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--stone-300); }
.team-intro h3 { font-size: 1.5rem; font-weight: 650; }
.team-intro p { color: var(--ink-700); margin: .6em 0 1.4em; max-width: 34ch; }
.team-list { display: grid; grid-template-columns: repeat(2, minmax(0, 170px)); gap: clamp(24px, 4vw, 56px); }
.team-member h4 { font-size: 1.2rem; font-weight: 650; margin-top: 16px; }
.team-member .quals { margin: .25em 0 0; }
.team-member .portrait-art { padding: 14px; }
.team-member .portrait-art span { font-size: 2rem; }

/* ---------- journal ---------- */
.journal { padding-block: var(--section-y); }
.posts { border-top: 1px solid var(--stone-300); }
.post { border-bottom: 1px solid var(--stone-300); }
.post summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) 48px; grid-template-areas: "meta title toggle" "meta excerpt toggle"; gap: 6px 32px; padding: 32px 0; }
.post summary::-webkit-details-marker { display: none; }
.post-meta { grid-area: meta; display: grid; gap: 4px; align-content: start; font-size: .85rem; color: var(--ink-600); padding-top: .4em; }
.post-meta span:first-child { font-weight: 650; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; color: var(--ochre-700); }
.post-title { grid-area: title; font: 650 clamp(1.4rem, 2.4vw, 2rem)/1.15 var(--display); letter-spacing: -.015em; font-variation-settings: "wdth" 92; text-wrap: balance; }
.post-excerpt { grid-area: excerpt; color: var(--ink-700); max-width: 60ch; }
.post-toggle { grid-area: toggle; align-self: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--stone-300); display: grid; place-items: center; transition: transform .4s var(--ease-out), background-color .3s, border-color .3s; }
.post-toggle svg { width: 20px; height: 20px; }
.post summary:hover .post-toggle { border-color: var(--pine-900); }
.post[open] .post-toggle { transform: rotate(45deg); background: var(--pine-900); border-color: var(--pine-900); color: var(--stone-50); }
.post-body { margin-left: calc((100% - 48px - 64px) * 3 / 11 + 32px); max-width: 68ch; padding-bottom: 48px; }
.post-body h4 { font-size: 1.2rem; font-weight: 650; margin: 1.8em 0 .6em; }
.post-body ul { display: grid; gap: .5em; margin-bottom: 1em; }
.post-body li { position: relative; padding-left: 1.4em; }
.post-body li::before { content: ""; position: absolute; left: 0; top: .72em; width: .55em; height: 2px; background: var(--ochre-500); }
.post-body a { font-weight: 600; }
details.post::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
details.post[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- faq ---------- */
.faq { padding-block: var(--section-y); background: var(--stone-100); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-list { border-top: 1px solid var(--stone-300); }
.faq-list details { border-bottom: 1px solid var(--stone-300); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 600 clamp(1.1rem, 1.6vw, 1.3rem)/1.3 var(--display); font-variation-settings: "wdth" 94; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background:
  linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
  linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform .35s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-700); max-width: 60ch; padding-bottom: 8px; }

/* ---------- visit ---------- */
.visit { padding-block: var(--section-y); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.visit-info h2 { max-width: 12ch; }
.status-lg { display: inline-flex; font-size: 1rem; padding: .55em 1em; border-radius: 999px; background: var(--stone-100); border: 1px solid var(--stone-200); margin-bottom: 1.6rem; opacity: 1; }
.visit address { font-size: 1.15rem; line-height: 1.5; margin-bottom: 1.2rem; }
.phone-big { display: inline-block; font: 700 clamp(2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.02em; font-variation-settings: "wdth" 86; text-decoration: none; margin-bottom: 1.6rem; }
.phone-big:hover { color: var(--pine-600); }
.hours { border-collapse: collapse; width: 100%; max-width: 26rem; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--stone-300); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th::after { content: "Today"; margin-left: .7em; font: 650 .68rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: .35em .6em; border-radius: 999px; background: var(--ochre-400); color: var(--pine-975); vertical-align: .15em; }
.visit-map { min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--stone-200); }
.visit-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.55) sepia(.12) contrast(1.02); }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--pine-975); color: var(--sage-200); padding: clamp(64px, 8vw, 104px) 0 32px; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/contours-light.svg) 10% 60% / 1500px auto no-repeat; opacity: .06; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: var(--stone-50); margin-bottom: 1rem; }
.footer-h { font: 650 .75rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ochre-300); margin-bottom: 1.1rem; }
.site-footer p { font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--stone-50); }
.footer-links { display: grid; gap: .5em; font-size: .95rem; }
.footer-legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid oklch(0.94 0.03 168 / .12); display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: start; justify-content: space-between; font-size: .85rem; color: var(--sage-300); }
.footer-legal p { margin: 0; max-width: 60ch; font-size: .85rem; }
.privacy summary { cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.privacy p { margin-top: .8em; }

/* ---------- responsive ---------- */
@media (max-width: 959px) {
  .care-grid, .faq-grid, .visit-grid, .lead-doc { grid-template-columns: 1fr; }
  .care-intro, .faq-intro { position: static; }
  .sports-head, .services-head { grid-template-columns: 1fr; }
  .services-head .lead { margin-top: 1rem; }
  .triage-grid { grid-template-columns: 1fr; }
  .emergency { grid-template-columns: 1fr; }
  .emergency ul { grid-template-columns: 1fr 1fr; }
  .assoc { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .flip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .lead-doc .portrait-lg { max-width: 360px; }
  .post summary { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "meta toggle" "title toggle" "excerpt toggle"; column-gap: 16px; padding: 26px 0; }
  .post-meta { display: flex; gap: 12px; padding: 0; }
  .post-toggle { width: 44px; height: 44px; align-self: start; }
  .post-body { margin-left: 0; }
  .events { height: auto; display: grid; gap: 14px; margin-top: 24px; }
  .events li, .events li:first-child, .events li:last-child { position: static; transform: none; text-align: left; display: flex; align-items: baseline; gap: 10px; white-space: normal; flex-wrap: wrap; }
  .events li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ochre-400); flex: none; transform: translateY(-1px); }
  .visit-map, .visit-map iframe { min-height: 320px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .flip-grid { grid-template-columns: 1fr; }
  .flip-face { min-height: 0; }
  .flip-art { margin-top: 12px; }
  .assoc-doc { grid-template-columns: 96px 1fr; gap: 16px; }
  .assoc-doc .portrait-art span { font-size: 1.5rem; }
  .team-list { grid-template-columns: 1fr; gap: 20px; }
  .team-member { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-content: center; }
  .team-member .portrait { grid-row: span 2; }
  .team-member h4 { margin-top: 0; align-self: end; }
  .team-member .quals { align-self: start; }
  .team-member .portrait-art span { font-size: 1.5rem; }
  .hours tr.is-today th::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
