:root {
  --blue: #234c88;
  --blue-dk: #193967;
  --navy: #172c46;
  --cream: #f4f1e8;
  --cream-dk: #e3dfd3;
  --accent: #d5e69b;
  --display: 'Instrument Serif', Georgia, serif;
}

[hidden] { display: none !important; }
body { position: relative; isolation: isolate; }
.medical-art {
  position: absolute; inset: 0 0 auto; width: 100%; z-index: 4;
  display: block; overflow: hidden; pointer-events: none; user-select: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.medical-art path, .medical-art circle { vector-effect: non-scaling-stroke; }
.medical-art .art-thread { opacity: .42; }
.medical-art .art-echo { opacity: .17; stroke-width: 1; }
.medical-art .art-sketch { opacity: .58; }
.medical-art .art-wash { fill: currentColor; stroke: none; opacity: .07; }
.medical-art .art-signal { fill: currentColor; stroke: none; animation: synapse 6s ease-in-out infinite; }
.medical-art .art-signal:nth-child(even) { animation-delay: -3s; }
.motion-paused .medical-art .art-signal { animation: none; opacity: .55; }
.expertise::after { display: none; }
@keyframes synapse { 0%, 100% { opacity: .3; } 50% { opacity: .85; } }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .35; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #729744;
  outline-offset: 6px;
}
section[id] { scroll-margin-top: 92px; }
::selection { background: var(--accent); color: var(--navy); }
.skip-link {
  position: fixed; top: 12px; left: 16px; z-index: 120;
  padding: 14px 20px; background: var(--accent); color: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.reading-progress {
  position: fixed; top: 0; left: 0; z-index: 110; width: 100%; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
}
nav { height: 80px; padding: 0 5vw; border-bottom: 1px solid #ffffff24; }
.nav-name { font-size: 29px; letter-spacing: -.08em; text-decoration: none; }
.brand-dot { color: var(--accent); }
.nav-links { gap: 28px; }
.nav-links a { font-size: 11px; position: relative; color: #ffffffe0; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -8px; left: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover::after, .nav-links a[aria-current="location"]::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: 16px; }
.motion-toggle, .menu-toggle { border: 1px solid #ffffff60; background: none; color: white; padding: 8px 12px; font-size: 10px; letter-spacing: .08em; }
.motion-toggle span { color: var(--accent); }
.menu-toggle { display: none; }
.hero { padding-top: 80px; grid-template-columns: 53% 47%; min-height: 900px; }
.hero-left { padding: 85px 4vw 62px 7vw; justify-content: center; }
.hero-left::after { display: none; }
.hero-tag { color: #ffffffd0; font-size: 10px; letter-spacing: .13em; display: flex; align-items: center; gap: 12px; }
.small-star { color: var(--accent); font-size: 26px; animation: turn 24s linear infinite; }
.hero-divider { background: var(--accent); width: 70px; margin-bottom: 28px; }
.hero-label { color: #ffffffb5; font-size: 10px; }
.hero-name { font-family: var(--display); font-weight: 400; font-size: clamp(86px, 9.7vw, 160px); letter-spacing: -.045em; line-height: .87; margin: 16px 0 28px; }
.hero-name em { font-weight: 400; padding-left: .18em; }
.name-period { color: var(--accent); }
.hero-role { max-width: 300px; font-size: 12px; line-height: 1.8; margin-bottom: 30px; color: #ffffffe0; }
.hero-contact { font-size: 11px; color: #ffffffb5; }
.hero-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 32px; }
.hero-cta { margin-top: 0; background: var(--accent); color: var(--navy); border: none; padding: 19px 24px; font-size: 10px; transition: transform .25s, background .25s; }
.hero-cta:hover { background: #e0edb8; transform: translateY(-3px); }
.hero-cta span { margin-left: 16px; font-size: 21px; }
.hero-secondary { font-size: 12px; color: white; text-underline-offset: 5px; }
.hero-footnote { margin-top: 55px; font-size: 10px; color: #ffffffa8; letter-spacing: .04em; }
.hero-right { padding: 80px 6vw 70px 5vw; background: var(--cream); overflow: hidden; }
.hero-right > div { width: 100%; max-width: 440px; }
.hero-photo-wrap { width: 83%; margin: 14px auto 45px; transform: rotate(-5deg); transition: transform .5s; }
.hero-photo { aspect-ratio: 4 / 5; object-position: center 18%; border: 9px solid #fffefa; box-shadow: 12px 18px 0 #dedbcf; }
.portrait-orbit { position: absolute; width: 140%; height: 140%; left: -20%; top: -20%; z-index: 1; pointer-events: none; animation: turn 70s linear infinite; fill: var(--blue); font: 12px 'DM Sans', sans-serif; letter-spacing: 5px; }
.portrait-note { position: absolute; left: -30px; bottom: 30px; z-index: 2; padding: 14px 20px; background: var(--accent); font-size: 13px; line-height: 1.4; transform: rotate(9deg); }
.portrait-note em { font: italic 25px var(--display); }
.hero-badge { bottom: -18px; right: -22px; width: 90px; height: 90px; border-radius: 50%; z-index: 2; transform: rotate(5deg); background: var(--navy); }
.hero-badge-num { font-family: var(--display); font-weight: 400; font-size: 32px; }
.hero-badge-txt { font-size: 8px; }
.hero-intro { margin-top: 60px; position: relative; }
.hero-intro-headline { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3vw, 43px); line-height: 1.1; }
.hero-intro-sub { font-size: 12px; line-height: 1.85; }
.hero-pills { margin-top: 22px; }
.pill { font-size: 10px; padding: 6px 12px; border-width: 1px; }
.idea-strip { overflow: hidden; background: var(--accent); padding: 22px 0; border-bottom: 1px solid #172c4620; }
.idea-track { display: flex; width: max-content; animation: drift 38s linear infinite; }
.idea-track span { flex-shrink: 0; font-family: var(--display); font-size: clamp(26px, 3vw, 40px); white-space: nowrap; }
.idea-track i { font-style: normal; font-size: 26px; margin: 0 40px; }
.stat-item, .case-card, .expertise-item, .testi-card { opacity: 1; transform: none; }
.reveal-pending { opacity: 0; transform: translateY(24px); }
.reveal-pending.visible { opacity: 1; transform: none; }
.stats-bar { padding: 66px 7vw; }
.stat-num { font-family: var(--display); font-size: clamp(42px, 5vw, 70px); font-weight: 400; font-variant-numeric: tabular-nums; }
.stat-label { color: #ffffffc2; font-size: 10px; line-height: 1.5; }
.stat-source { color: #ffffff99; font-size: 10px; }
.cases, .expertise, .testimonials { padding: 115px 7vw; }
.section-label { display: flex; align-items: center; gap: 12px; font-size: 10px; }
.section-label::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.section-title { font-family: var(--display); font-size: clamp(48px, 6vw, 82px); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.section-divider { display: none; }
.cases-header { margin-bottom: 40px; max-width: 660px; }
.section-intro { max-width: 430px; font-size: 13px; line-height: 1.8; color: #556070; }
.work-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.work-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { border: 1px solid #234c8840; border-radius: 30px; padding: 11px 18px; color: var(--blue); background: transparent; font-size: 11px; transition: background .2s, color .2s; }
.filter-button span { margin-left: 9px; font-size: 9px; }
.filter-button:hover { background: #234c8810; }
.filter-button[aria-pressed="true"] { background: var(--blue); color: white; border-color: var(--blue); }
.work-count { font-size: 10px; color: #556070; white-space: nowrap; }
.case-grid { grid-template-columns: 1.12fr 1fr; gap: 26px; align-items: start; }
.case-card { padding: 42px 32px; border: 1px solid #234c881a; background: #fffdf6; transition-delay: 0s !important; }
.case-card:nth-child(2) { margin-top: 76px; background: #e8edf0; }
.case-card.full { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; background: #e8eadc; margin-top: 0; }
.case-card.full .case-index, .case-card.full .case-client, .case-card.full .case-title, .case-card.full .case-desc { grid-column: 1; }
.case-card.full .case-tags { grid-column: 2; grid-row: 2 / 4; align-self: start; }
.case-card.full .case-metrics { grid-column: 2; grid-row: 4 / 6; align-self: start; }
.case-card.full .case-challenge { grid-column: 1 / -1; }
.case-grid.is-filtered { grid-template-columns: 1fr; }
.case-grid.is-filtered .case-card { margin-top: 0; }
.case-index { color: #567299; font-size: 10px; }
.case-client { font-size: 10px; line-height: 1.65; }
.case-title { font-family: var(--display); font-weight: 400; font-size: 33px; line-height: 1.1; }
.case-desc { font-size: 12px; }
.case-tag { border-color: #234c8830; color: #43546a; font-size: 10px; }
.case-metrics { gap: 24px; flex-wrap: wrap; border-top-color: #234c8830; }
.case-metric-num { font-family: var(--display); font-size: 35px; font-weight: 400; }
.case-metric-label { font-size: 9px; color: #556070; }
.case-challenge { background: transparent; border-left: none; border-top: 1px solid #234c8830; padding: 20px 0 0; margin-top: 28px; }
.case-challenge-label { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; margin: 0; padding: 3px 0; }
.case-challenge-label::-webkit-details-marker { display: none; }
.case-challenge-label span { font-size: 20px; font-weight: 400; transition: transform .2s; }
.case-challenge[open] .case-challenge-label span { transform: rotate(45deg); }
.case-challenge-text { padding-top: 18px; }
.expertise { position: relative; overflow: hidden; }
.expertise::after { content: '✳'; position: absolute; top: 45px; right: 7vw; color: #ffffff14; font-size: 260px; line-height: 1; pointer-events: none; }
.expertise .section-label { color: var(--accent); }
.expertise .section-title { position: relative; z-index: 1; }
.expertise-intro { font-size: 14px; color: #ffffffc2; }
.expertise-intro em { font-family: var(--display); font-size: 26px; color: var(--accent); }
.expertise-grid { grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 48px; }
.expertise-item { border-top: 1px solid #ffffff40; padding: 32px 0; background: none; display: grid; grid-template-columns: 35px 1fr; gap: 0 12px; }
.expertise-num { grid-row: 1 / 3; color: var(--accent); font-size: 10px; padding-top: 6px; }
.expertise-name { font-family: var(--display); font-weight: 400; font-size: 28px; transition: transform .25s; }
.expertise-item:hover .expertise-name { transform: translateX(8px); }
.expertise-desc { grid-column: 2; color: #ffffffc2; font-size: 12px; }
.testimonial-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; }
.testimonial-controls p { color: #556070; font-size: 13px; }
.carousel-buttons { display: flex; gap: 8px; }
.carousel-button { width: 44px; height: 44px; border: 1px solid #234c8850; border-radius: 50%; background: none; color: var(--blue); font-size: 22px; transition: background .2s; }
.carousel-button:not(:disabled):hover { background: var(--accent); }
.testimonials-grid { display: flex; overflow-x: auto; gap: 24px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-top: 30px; padding: 8px 4px 24px; scrollbar-color: var(--blue) var(--cream-dk); scrollbar-width: thin; }
.testi-card { flex: 0 0 43%; scroll-snap-align: start; border-top: 1px solid #234c8850; background: #fffdf6; padding: 38px 32px; display: flex; flex-direction: column; transition-delay: 0s !important; }
.testi-quote { font-family: var(--display); font-size: 23px; line-height: 1.45; color: var(--navy); flex-grow: 1; }
.testi-quote::before { display: block; font-size: 64px; line-height: .7; margin: 14px 0 24px; }
.testi-name { font-size: 12px; }
.testi-role { line-height: 1.6; color: #556070; }
.cta { padding: 110px 7vw; gap: 7vw; position: relative; }
.cta-title { font-family: var(--display); font-weight: 400; font-size: clamp(50px, 6vw, 88px); letter-spacing: -.035em; line-height: .98; }
.cta-sub { color: #ffffffc2; font-size: 13px; }
.cta-link { padding: 24px 0; background: none; border: none; border-bottom: 1px solid #ffffff40; gap: 20px; }
.cta-link:hover { background: none; border-color: var(--accent); }
.cta-link-label { color: #ffffffb5; }
.cta-link-val { font-size: clamp(12px, 1.25vw, 17px); overflow-wrap: anywhere; }
.cta-arrow { color: var(--accent); font-size: 28px; }
.copy-contact { display: flex; flex-direction: column; gap: 12px; }
.copy-email { color: var(--accent); background: none; border: none; text-align: left; font-size: 11px; padding: 8px 0; align-self: start; }
.copy-email span { margin-left: 14px; }
.copy-status { color: #ffffffe0; min-height: 16px; font-size: 11px; }
footer { padding: 28px 7vw; gap: 24px; }
.footer-note { color: #ffffffb5; font-size: 10px; }
.footer-name { color: #ffffffe0; font-size: 11px; }
.back-top { color: white; font-size: 11px; text-decoration: none; white-space: nowrap; }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translateX(-50%); } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; transition: none !important; }
html.motion-paused { scroll-behavior: auto; }

@media (min-width: 1600px) {
  .hero { min-height: 1050px; }
  .hero-right > div { max-width: 490px; }
}
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: 800px; }
  .hero-left { padding: 64px 4vw 48px 5vw; }
  .hero-name { font-size: clamp(72px, 10vw, 110px); }
  .hero-right { padding: 68px 5vw 48px; }
  .hero-photo-wrap { width: 84%; }
  .hero-tag { font-size: 9px; letter-spacing: .07em; }
  .hero-actions { gap: 20px; }
  .stats-bar { gap: 36px; padding: 48px 5vw; }
  .cases, .expertise, .testimonials, .cta { padding: 80px 5vw; }
  .case-grid { gap: 20px; }
  .case-card { padding: 32px 24px; }
  .case-title { font-size: 29px; }
  .case-metrics { gap: 20px; }
  .case-metric-num { font-size: 30px; }
  .work-toolbar { align-items: start; flex-direction: column; gap: 16px; }
  .cta { grid-template-columns: 1fr 1fr; gap: 6vw; }
}
@media (max-width: 740px) {
  nav { height: 72px; padding: 0 24px; }
  section[id] { scroll-margin-top: 88px; }
  .nav-tools { gap: 10px; }
  .menu-toggle:not([hidden]) { display: inline-flex; gap: 12px; align-items: center; }
  .menu-toggle span { font-size: 17px; }
  .nav-links { display: flex; flex-wrap: wrap; gap: 14px 20px; max-width: 70%; justify-content: flex-end; }
  .nav-enhanced .nav-links { display: none; }
  .nav-enhanced .nav-links.is-open { position: absolute; top: 72px; left: 0; right: 0; max-width: none; display: flex; flex-direction: column; background: var(--blue-dk); padding: 30px 24px; gap: 28px; border-bottom: 1px solid #ffffff40; }
  .hero { padding-top: 72px; grid-template-columns: 1fr; }
  .hero-left { padding: 60px 24px 40px; }
  .hero-name { font-size: clamp(90px, 20vw, 140px); }
  .hero-role { max-width: 100%; }
  .hero-footnote { margin-top: 34px; }
  .hero-right { padding: 68px 32px 52px; }
  .hero-right > div { max-width: 380px; }
  .hero-photo-wrap { max-width: 275px; }
  .hero-intro { margin-top: 60px; }
  .hero-intro-headline { font-size: 37px; }
  .hero-intro-sub { font-size: 13px; }
  .stats-bar { padding: 44px 24px; gap: 32px 20px; }
  .stat-num { font-size: 49px; }
  .cases, .expertise, .testimonials, .cta { padding: 68px 24px; }
  .section-title { font-size: 54px; }
  .case-grid, .case-card.full { display: grid; grid-template-columns: 1fr; }
  .case-card:nth-child(2) { margin-top: 0; }
  .case-card.full > * { grid-column: auto !important; grid-row: auto !important; }
  .case-card { padding: 32px 24px; }
  .case-title { font-size: 32px; }
  .filter-button { font-size: 10px; padding: 10px 14px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise::after { top: 40px; right: -40px; font-size: 200px; }
  .expertise-name { font-size: 29px; }
  .testi-card { flex-basis: 89%; padding: 34px 24px; }
  .testi-quote { font-size: 23px; }
  .testimonial-controls p { max-width: 190px; line-height: 1.7; }
  .cta { grid-template-columns: 1fr; gap: 32px; }
  .cta-title { font-size: 62px; }
  .cta-link-val { font-size: 14px; }
  footer { flex-direction: column; text-align: center; gap: 12px; padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}

/* A tactile invitation to the complete work archive. */
.archive-invitation { display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;padding:72px max(5vw,24px) 96px;background:var(--cream-dk);overflow:hidden; }
.archive-invitation h2 { font-family:var(--display);font-weight:400;font-size:clamp(48px,6vw,80px);line-height:.95;margin:20px 0; }
.archive-invitation-copy > p:last-of-type { max-width:42ch;line-height:1.7;font-size:15px; }
.archive-invitation-copy > a { display:inline-flex;gap:32px;align-items:center;margin-top:28px;padding-bottom:10px;border-bottom:1px solid currentColor;color:var(--blue);text-decoration:none;font-size:13px;font-weight:600; }
.archive-invitation-copy > a span { transition:transform .2s; }
.archive-invitation-copy > a:hover span { transform:translate(3px,-3px); }
.archive-preview { position:relative;display:block;min-height:280px;color:var(--cream);text-decoration:none;isolation:isolate; }
.preview-folder { position:absolute;inset:40px 0 0;display:block;border-radius:4px 16px 16px 16px;padding:24px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 12px 28px #172c461a;transition:transform .35s ease; }
.preview-folder::before { content:'';position:absolute;top:-20px;left:0;width:46%;height:22px;background:inherit;border-radius:10px 10px 0 0; }
.preview-folder-back { background:#abc5d9;color:var(--navy);transform:translate(12px,-28px) rotate(5deg); }
.preview-folder-middle { background:#d1bc95;color:var(--navy);transform:translate(4px,-12px) rotate(-3deg); }
.preview-folder-front { background:var(--blue);transform:rotate(2deg); }
.preview-folder-front > span { display:block;margin-top:32px;font-family:var(--display);font-size:clamp(26px,3vw,40px);letter-spacing:0;line-height:1.1;text-transform:none; }
.preview-folder-front b { position:absolute;right:24px;bottom:18px;font-size:30px;font-weight:400; }
.archive-preview:hover .preview-folder-front,.archive-preview:focus-visible .preview-folder-front { transform:translateY(10px) rotate(0); }
.archive-preview:hover .preview-folder-back,.archive-preview:focus-visible .preview-folder-back { transform:translate(12px,-40px) rotate(8deg); }
@media(max-width:740px) {
  .archive-invitation { grid-template-columns:1fr;gap:48px;padding:56px 24px 64px; }
  .archive-preview { min-height:260px;margin-right:14px; }
}
