@font-face{font-family:Source Sans;src:url("./assets/source-sans-3-regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Source Sans;src:url("./assets/source-sans-3-bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Instrument Serif;src:url("./assets/instrument-serif-regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Instrument Serif;src:url("./assets/instrument-serif-italic.woff2") format("woff2");font-style:italic;font-weight:400;font-display:swap}

:root {
  --paper: #faf8f2;
  --ink: #153031;
  --body: #384e4c;
  --green: #186852;
  --night: #102b2c;
  --mist: #dce9df;
  --apricot: #ffbd91;
  --rule: #c6d1c7;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Source Sans", "Segoe UI", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1.12rem; line-height: 1.53; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd, ol, blockquote { margin: 0; }
h1, h2, .story-copy h3, .route-panel h3, .ops-stories h3 { font: 400 1em/1.02 var(--serif); letter-spacing: -.025em; }
h2 { font-size: clamp(3.1rem, 5.2vw, 5.15rem); }
a { color: inherit; }
button, input { font: inherit; }
button, label[for], summary { -webkit-tap-highlight-color: transparent; }
button, summary, label[for] { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { color: var(--night); background: #ffcea7; }
:is(a, button, summary, input):focus-visible { outline: 3px solid #cf6a26; outline-offset: 4px; }
.sr-only { width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); position: absolute; white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 20; top: .5rem; left: 1rem; background: white; color: var(--ink); padding: .5rem 1rem; transform: translateY(-180%); }
.skip:focus { transform: none; }
.wrap { width: min(76rem, calc(100% - clamp(3rem, 10vw, 10rem))); margin-inline: auto; }
.section-space { padding-block: clamp(3.9rem, 6.4vw, 6.6rem); }
[id] { scroll-margin-top: 6.5rem; }
.eyebrow, .route-tag, .sheet-kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; line-height: 1.42; text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--green); }
.keyline { display: inline-block; width: 1.8rem; height: 2px; background: currentColor; }
.eyebrow + :is(h1,h2) { margin-top: .9rem; }
.text-link, .contact-link, .hero-resume { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .26em; }
.text-link { color: var(--green); }
:is(.text-link,.contact-link,.hero-resume):hover { text-decoration-thickness: 2px; }
.text-link small, .hero-resume span, .header-resume span { margin-left: .23em; font: 700 .68rem/1 var(--sans); letter-spacing: .06em; }

.masthead { position: sticky; top: 0; z-index: 10; color: #fbf9ef; background: var(--night); border-bottom: 1px solid #395357; }
.masthead-inner { display: flex; align-items: center; gap: 2.2rem; min-height: 4.35rem; }
.signature { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; color: #fff9e9; text-decoration: none; font-weight: 700; letter-spacing: -.02em; font-size: 1.15rem; white-space: nowrap; }
.monogram { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border: 1px solid #8da99b; border-radius: 50%; font: italic 1.45rem/.85 var(--serif); padding: 0 .09rem .17rem 0; color: var(--apricot); }
.masthead nav { display: flex; gap: clamp(1rem, 2.3vw, 2.2rem); }
.masthead nav a { display: inline-flex; align-items: center; min-height: 2.7rem; color: #d9e5da; text-decoration: none; font-size: .98rem; }
.masthead nav a:hover, .masthead nav a[aria-current] { color: white; text-decoration: underline; text-underline-offset: .32rem; }
.header-resume { border: 1px solid #88a497; border-radius: 2rem; padding: .47rem 1rem; font-size: .95rem; text-decoration: none; color: #f7f6ed; }
.header-resume:hover { background: #244346; }
.reading-line { position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--apricot); transform: scaleX(var(--page-progress,0)); transform-origin: left; pointer-events: none; }

.hero { position: relative; overflow: hidden; isolation: isolate; color: #f7f5e9; background: radial-gradient(ellipse at 82% 45%,#214441 0%,var(--night) 59%); }
.hero-map { position: absolute; z-index: -1; pointer-events: none; inset: -12% -8% -8% 22%; background: url("./assets/camelback-contours.webp") right 46% / min(82vw,77rem) auto no-repeat; opacity: .55; mask-image: linear-gradient(100deg,transparent 5%,#0009 34%,#000 70%); transform: translateY(var(--map-shift,0px)); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.43fr) minmax(0,.87fr); gap: clamp(2rem,7vw,7.5rem); align-items: center; padding-block: clamp(3.3rem,5.25vw,5.3rem) clamp(2.8rem,4.3vw,4.5rem); }
.hero .eyebrow, .ops-intro .eyebrow, .contact .eyebrow { color: var(--apricot); }
.hero h1 { max-width: 44rem; font-size: clamp(4.25rem,7.5vw,7.5rem); line-height: .94; }
.hero h1 em { display: block; color: var(--apricot); font-weight: 400; }
.intro { max-width: 38rem; margin-top: 1.25rem; color: #d4e2d7; font-size: clamp(1.18rem,1.45vw,1.4rem); line-height: 1.44; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.55rem; margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; min-height: 2.9rem; padding: .55rem 1.4rem; border-radius: 2rem; font-weight: 700; text-decoration: none; }
.primary { color: #12332d; background: #cbe6b9; }
.primary:hover { background: #e2f3cc; }
.hero-resume { display: inline-flex; align-items: baseline; min-height: 2.6rem; padding-block: .45rem; color: #f2f3e7; }
.portrait { position: relative; justify-self: center; width: min(100%,22rem); }
.portrait-frame { position: relative; isolation: isolate; margin: .7rem 1rem 0 .45rem; }
.portrait-frame::before { content: ""; position: absolute; z-index: -1; inset: -.65rem -.65rem .72rem .65rem; border: 1px solid #acb79a; border-radius: 50% 50% .13rem .13rem / 31% 31% .13rem .13rem; }
.portrait-frame img { width: 100%; aspect-ratio: .84; height: auto; object-fit: cover; object-position: 49% 45%; border-radius: 50% 50% .13rem .13rem / 31% 31% .13rem .13rem; }
.portrait figcaption { display: flex; align-items: center; justify-content: center; gap: .55rem; margin-top: .8rem; color: #e7eddc; font-size: .96rem; }
.location-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--apricot); box-shadow: 0 0 0 3px #ffbd9120; }
.hero-foot { display: flex; gap: 2.1rem; align-items: end; justify-content: space-between; border-top: 1px solid #49625f; padding-block: 1.25rem 1.6rem; }
.hero-facts { display: flex; gap: clamp(1rem,4vw,4.7rem); }
.hero-facts div { display: flex; flex-direction: column-reverse; }
.hero-facts dt { color: #ceddd0; font-size: .96rem; }
.hero-facts dd { font: 400 clamp(2.25rem,3.3vw,3.4rem)/1.06 var(--serif); letter-spacing: -.025em; }
.map-credit { color: #bdcdbf; font-size: .82rem; text-decoration-color: #8aa18f; text-underline-offset: .2em; }
.map-credit:hover { color: white; }

.markets { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.2fr); gap: clamp(2.6rem,6vw,6.6rem); align-items: center; }
.section-lead > p:last-child, .experience-lead > p:not(.eyebrow) { margin-top: 1rem; max-width: 31rem; color: var(--body); font-size: 1.2rem; line-height: 1.48; }
.route-choice { min-width: 0; margin: 0; padding: 0; border: none; }
.route-switch { display: inline-flex; max-width: 100%; border: 1px solid #aebcad; background: #edf0e7; border-radius: 2rem; padding: .22rem; margin-bottom: .85rem; }
.route-switch label { display: inline-flex; justify-content: center; align-items: center; padding: .45rem .95rem; border-radius: 2rem; color: #385447; font-size: .98rem; font-weight: 700; text-align: center; }
#route-partners:checked ~ .route-switch label[for="route-partners"], #route-clinicians:checked ~ .route-switch label[for="route-clinicians"] { background: var(--ink); color: white; }
#route-partners:focus-visible ~ .route-switch label[for="route-partners"], #route-clinicians:focus-visible ~ .route-switch label[for="route-clinicians"] { outline: 3px solid #c26126; outline-offset: 1px; }
#route-partners:checked ~ .route-panels .clinicians, #route-clinicians:checked ~ .route-panels .partners { display: none; }
.route-panel { padding: clamp(1.2rem,2.2vw,2rem); border: 1px solid #bccdc0; border-radius: .4rem; background: #e8f0e5; }
.route-panel.clinicians { background: #e4eff0; border-color: #bbced0; }
.route-tag { color: #3c6654; font-size: .75rem; }
.route-panel h3 { margin: .55rem 0 .5rem; font-size: clamp(1.95rem,2.75vw,2.7rem); }
.route-panel > p:not(.route-tag) { color: #334f44; font-size: 1.04rem; line-height: 1.46; }
.route-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; margin-top: 1.4rem; list-style: none; }
.route-flow li { position: relative; min-width: 0; padding: 1.1rem .6rem 0 0; }
.route-flow li:not(:last-child)::before { content: ""; position: absolute; top: .28rem; left: .3rem; width: 100%; height: 2px; background: #789c80; transform-origin: left center; }
.route-node { position: absolute; z-index: 1; top: 0; left: 0; width: .72rem; height: .72rem; border: 2px solid #21624b; border-radius: 50%; background: #f3f8ec; }
.route-flow li:last-child .route-node { background: var(--green); }
.route-flow strong, .route-flow span { display: block; }
.route-flow strong { font-size: 1rem; line-height: 1.2; }
.route-flow span { margin-top: .22rem; color: #4a655c; font-size: .88rem; line-height: 1.25; }

.work-section { background: #f0eee5; border-block: 1px solid #dddcd0; }
.work-heading { display: flex; align-items: end; gap: 2rem; justify-content: space-between; padding-bottom: 2rem; border-bottom: 1px solid #bcc7ba; }
.work-heading > p { color: var(--body); max-width: 24rem; padding-bottom: .15rem; font-size: 1.15rem; }
.case-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: start; gap: clamp(2.8rem,7vw,7.2rem); padding-top: 2.1rem; }
.case-aside { min-width: 0; }
.case-stage:empty { display: none; }
.case-index { display: flex; flex-wrap: wrap; gap: .25rem 1.15rem; margin-top: .6rem; }
.case-index a { border-bottom: 2px solid transparent; padding: .45rem 0 .3rem; color: #51635b; font-size: .93rem; font-weight: 700; text-decoration: none; }
.case-index a:hover, .case-index a[aria-current] { color: #155442; border-color: #217457; }
.story { scroll-margin-top: 7rem; }
.story + .story { border-top: 1px solid #c3cabd; }
.story-copy { padding-block: 1.1rem 2.1rem; }
.story-copy h3 { font-size: clamp(2.4rem,4.1vw,4.2rem); margin: .6rem 0 1rem; }
.story-copy > p:not(.eyebrow) { color: var(--body); margin-top: .7rem; }
.story-copy > .text-link { display: inline-block; margin-top: 1rem; padding-block: .2rem; }
.review-example { padding-inline: 0; border: 0; background: transparent; text-decoration: underline; }
.story-copy .project-credit { color: var(--ink); font-weight: 700; }
.case-art { display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; isolation: isolate; min-height: clamp(19.5rem,28vw,24.5rem); overflow: hidden; border: 1px solid transparent; border-radius: .42rem; padding: 1.55rem 1.3rem 3.1rem; }
.case-art figcaption { position: absolute; left: 1.2rem; right: 1.2rem; bottom: .8rem; font-size: .86rem; line-height: 1.25; text-align: center; }
.checker-art { color: #49271c; background-color: #edb796; background-image: repeating-linear-gradient(132deg,#713a2410 0 1px,transparent 1px 17px); border-color: #ddb094; }
.checker-sheets { position: relative; width: min(100%,23rem); height: 15.5rem; }
.source-sheet, .product-sheet { position: absolute; border-radius: .28rem; }
.source-sheet { top: .65rem; left: 4%; width: 59%; height: 9.2rem; padding: .95rem 1.1rem; background: #884a37; color: #fff0db; border: 1px solid #6c3829; transform: rotate(-8deg); box-shadow: .18rem .3rem 0 #693e342c; }
.sheet-kicker { font-size: .76rem; }
.source-sheet b { display: block; font: 400 1.75rem/1.15 var(--serif); }
.fields { width: 60%; display: grid; gap: .36rem; margin-top: .8rem; }
.fields i { height: 1px; background: #dab099; }
.product-sheet { bottom: .25rem; right: 1%; width: 76%; padding: 1.05rem 1.1rem .95rem; color: #382e21; background: #fff6df; border: 1px solid #b68e6e; box-shadow: .26rem .35rem 0 #6d47322b; transform: rotate(3deg); }
.paper-bar { display: flex; justify-content: space-between; gap: .4rem; align-items: center; padding-bottom: .52rem; margin-bottom: .67rem; border-bottom: 1px solid #bfa98e; font-size: .85rem; font-weight: 700; }
.paper-bar i { width: .78rem; height: .78rem; border: 1px solid #a5613a; border-radius: 50%; }
.product-sheet b { display: block; font: 400 clamp(1.65rem,2.65vw,2.35rem)/.99 var(--serif); }
.product-sheet b em { color: #805038; }
.paper-fields { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .8rem; }
.paper-fields span { padding: .08rem .4rem; border-radius: .15rem; border: 1px solid #d4bfa0; font-size: .77rem; }
.ehr-art { color: #ebf7dc; background-color: #173f3c; background-image: radial-gradient(#8dbab34a 1px,transparent 1.4px); background-size: 15px 15px; }
.ehr-graphic { width: min(92%,19rem); }
.ehr-row { display: flex; align-items: center; gap: .85rem; padding: .55rem 1rem; border: 1px solid #829d86; background: #244d45; border-radius: .28rem; }
.ehr-middle { margin-left: 1.7rem; margin-right: -.3rem; background: #dbeccb; color: #163e32; border-color: #b3ccb2; }
.ehr-row small, .ehr-row b { display: block; }
.ehr-row small { font-size: .78rem; }
.ehr-row b { font-size: 1.18rem; line-height: 1.1; }
.ehr-link { height: 1.15rem; width: 2rem; margin-left: 2rem; border-left: 2px solid #a2c0a5; }
.stack-icon, .screen-icon, .code-symbol { width: 1.45rem; flex: none; }
.stack-icon { height: 1.2rem; border-block: 2px solid currentColor; background: linear-gradient(to bottom,transparent 43%,currentColor 43% 56%,transparent 56%); }
.screen-icon { height: 1.05rem; border: 2px solid currentColor; border-radius: .15rem; }
.code-symbol { font: 700 .95rem/1 monospace; white-space: nowrap; }
.ehr-art figcaption { color: #dae8d6; }
.addison-art { color: #183e53; background-color: #cee4f0; background-image: radial-gradient(ellipse at 85% 10%,#edfafc,transparent 58%), linear-gradient(155deg,transparent 0 60%,#a5d1e077 60.2% 64%,transparent 64.3% 66%,#a5d1e077 66.4% 67%,transparent 67.5%); border-color: #b7d4df; }
.sample-app { width: min(100%,18.5rem); background: #fcfefe; color: #183a45; border: 1px solid #8fb2bf; border-radius: .9rem; box-shadow: .22rem .32rem 0 #7fa6af55; padding: .85rem 1.05rem .9rem; }
.sample-brand { display: flex; align-items: center; gap: .6rem; border-bottom: 1px solid #d7e5e7; padding-bottom: .6rem; }
.sample-brand img { height: 2.2rem; width: 2.2rem; border-radius: .52rem; }
.sample-brand strong, .sample-brand span { display: block; line-height: 1.15; }
.sample-brand span, .sample-data > span { font-size: .86rem; color: #466471; }
.sample-data { margin-top: .6rem; }
.sample-data strong { display: block; font-size: 2.25rem; line-height: 1.02; letter-spacing: -.04em; }
.sample-data small { font-size: 1.08rem; }
.source-note summary, .tech-details summary, .education summary { width: fit-content; padding-block: .35rem; color: var(--green); font-weight: 700; text-underline-offset: .2em; }
.source-note summary { color: #175b70; font-size: .97rem; }
.source-note blockquote { padding: .26rem 0 .35rem .6rem; border-left: 2px solid #75a9ba; font-size: .94rem; }
.source-note cite { display: block; margin-top: .15rem; font-size: .79rem; font-style: normal; color: #486371; }
.sample-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .55rem; margin-top: .35rem; }
.sample-actions button { border: 0; border-radius: .28rem; padding: .34rem .62rem; font-size: .86rem; font-weight: 700; color: white; background: #185e73; }
.sample-actions button:disabled { background: #e1e9e9; color: #546970; cursor: default; }
.sample-actions .reset-fact { background: transparent; color: #185e73; padding-inline: 0; text-decoration: underline; }
.sample-status { font-size: .84rem; color: #365a40; font-weight: 700; }
.tech-details { margin-top: .85rem; }
.tech-details p, .education p { margin: .25rem 0 .65rem; color: var(--body); font-size: 1.02rem; }
.case-layout:not(.enhanced) { display: block; }
.case-layout:not(.enhanced) .case-index { margin: 0 0 1.15rem; }
.case-layout:not(.enhanced) .story { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; padding: 1.5rem 0; }
.case-layout.enhanced .case-aside { position: sticky; top: 6.6rem; }
.case-layout.enhanced .story { min-height: clamp(23rem,54vh,30rem); display: flex; align-items: center; padding: 1.3rem 0; }
.case-layout.enhanced .story:first-child { align-items: flex-start; padding-top: .4rem; }
.case-layout.enhanced .figure-slot { display: none; }
.case-layout.enhanced .story-copy { padding-block: .65rem; }

.operations { color: #f7f5e9; background: #173c38; }
.ops-wrap { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.45fr); gap: clamp(2.2rem,5vw,5rem); align-items: start; }
.ops-intro h2 { max-width: 12ch; }
.ops-stories { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,3vw,3rem); }
.ops-stories article { border-top: 1px solid #819d8a; padding-top: 1rem; }
.ops-number { color: var(--apricot); font: 400 clamp(3.7rem,6vw,6rem)/.98 var(--serif); letter-spacing: -.03em; }
.ops-number span { font-size: .65em; }
.ops-stories h3 { margin: .6rem 0 .5rem; font-size: clamp(1.8rem,2.7vw,2.6rem); }
.ops-stories article > p:last-child, .contact-inner > div > p:not(.eyebrow) { color: #d7e4d8; }
.experience { display: grid; grid-template-columns: .95fr 1.07fr; align-items: start; gap: clamp(3rem,7vw,7rem); }
.experience-lead .text-link { display: inline-block; padding-block: .35rem; margin-top: .75rem; }
.career > h3 { margin-bottom: .6rem; font: 700 1.1rem/1.4 var(--sans); }
.timeline { list-style: none; padding: 0; }
.timeline li { display: grid; grid-template-columns: 6rem 1fr; align-items: baseline; gap: .8rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.timeline .dates { white-space: nowrap; color: var(--green); font-size: .94rem; font-variant-numeric: tabular-nums; }
.timeline strong { display: block; line-height: 1.2; }
.timeline p { margin-top: .3rem; color: var(--body); font-size: 1.02rem; line-height: 1.37; }
.education { border-top: 1px solid var(--rule); padding-top: .55rem; }
.contact { background: var(--night); color: #f8f5e7; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 2.4rem; padding-block: clamp(3.5rem,6vw,6rem); }
.contact-inner > div > p:not(.eyebrow) { max-width: 30rem; margin-top: .75rem; }
.contact-options { display: flex; flex-direction: column; align-items: start; gap: .7rem; }
.contact-email { font: 400 clamp(1.85rem,3.8vw,3.6rem)/1.2 var(--serif); text-decoration-thickness: 1px; text-underline-offset: .16em; letter-spacing: -.015em; }
.contact-link { color: #cee5bc; }
.contact-email:hover { color: var(--apricot); }

@media (min-width: 90rem) { .hero-map { background-position: 65% 46%; } }
@media (max-width: 58rem) {
  .hero-grid { gap: 2rem; }
  .markets, .experience { gap: 2.5rem; }
  .case-layout:not(.enhanced) .story { gap: 1.75rem; }
  .ops-wrap { grid-template-columns: .72fr 1.45fr; gap: 1.75rem; }
}
@media (max-width: 48rem) {
  .wrap { width: calc(100% - 3rem); }
  .masthead-inner { gap: 1.1rem; }
  .hero-grid { grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: 1.25rem; }
  .hero h1 { font-size: clamp(3.55rem,8.25vw,4.7rem); }
  .hero-foot { align-items: start; flex-direction: column; gap: .9rem; }
  .hero-facts { width: 100%; justify-content: space-between; gap: .8rem; }
  .markets, .experience, .ops-wrap { grid-template-columns: 1fr; }
  .markets, .experience { gap: 1.8rem; }
  .section-lead, .experience-lead { max-width: 39rem; }
  .section-lead > p:last-child, .experience-lead > p:not(.eyebrow) { max-width: 38rem; }
  .work-heading { align-items: start; flex-direction: column; gap: .8rem; }
  .work-heading > p { max-width: 36rem; }
  .case-layout:not(.enhanced) .story { display: block; padding: 1.65rem 0 .7rem; }
  .case-layout:not(.enhanced) .story:first-child { padding-top: .55rem; }
  .case-layout:not(.enhanced) .story-copy { padding-block: 1.25rem 1.4rem; }
  .case-art { min-height: 19rem; }
  .ops-intro h2 { max-width: none; }
  .contact-inner { align-items: start; flex-direction: column; gap: 1.5rem; }
}
@media (max-width: 38rem) {
  .masthead-inner { display: grid; grid-template-columns: 1fr auto; column-gap: .6rem; row-gap: 0; padding: .47rem 0 .18rem; }
  .signature { font-size: 1.06rem; }
  .monogram { width: 1.8rem; height: 1.8rem; font-size: 1.28rem; }
  .header-resume { grid-row: 1; grid-column: 2; padding: .34rem .7rem; }
  .masthead nav { grid-column: 1 / -1; gap: 1.4rem; }
  .masthead nav a { min-height: 2rem; font-size: .94rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.9rem; padding-block: 2.35rem 1.5rem; }
  .hero h1 { font-size: clamp(2.85rem,13.25vw,4.95rem); max-width: 31rem; }
  .hero .intro { font-size: 1.14rem; margin-top: 1rem; }
  .actions { margin-top: 1.25rem; gap: .6rem 1.1rem; }
  .hero-map { inset: 20% -25% -3% 2%; background-size: auto 92%; mask-image: linear-gradient(155deg,transparent,#000 55%); }
  .portrait { width: min(65%,16rem); }
  .portrait-frame img { aspect-ratio: .99; }
  .portrait figcaption { margin-top: .5rem; font-size: .87rem; }
  .hero-foot { padding-block: 1rem 1.15rem; }
  .hero-facts dt { font-size: .86rem; }
  .hero-facts dd { font-size: clamp(2.1rem,8vw,2.7rem); }
  .map-credit { font-size: .76rem; }
  .ops-stories { gap: 1.45rem; }
}
@media (max-width: 29rem) {
  .wrap { width: calc(100% - 2.2rem); }
  .route-switch { display: flex; }
  .route-switch label { flex: 1; padding: .42rem .45rem; font-size: .88rem; }
  .route-panel { padding: 1.05rem; }
  .route-flow { column-gap: .15rem; }
  .route-flow li { padding-right: .2rem; }
  .route-flow strong { font-size: .92rem; }
  .route-flow span { font-size: .8rem; }
  .case-index { gap: .2rem .85rem; }
  .case-index a { font-size: .85rem; }
  .case-art { min-height: 17.5rem; padding-inline: .8rem; }
  .checker-sheets { height: 13rem; }
  .source-sheet { height: 7rem; }
  .ops-stories { grid-template-columns: 1fr; }
  .ops-stories article { display: grid; grid-template-columns: 5.05rem 1fr; gap: .2rem 1.1rem; }
  .ops-number { grid-row: 1 / 3; font-size: 3.15rem; }
  .ops-stories h3 { margin: 0; }
  .ops-stories article > p:last-child { grid-column: 2; font-size: 1rem; }
  .timeline li { grid-template-columns: 5.35rem 1fr; gap: .5rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .route-flow li::before { animation: connect .52s ease-out both; }
  .route-flow li:nth-child(2)::before { animation-delay: .12s; }
  .case-stage .case-art:not([hidden]) { animation: develop .28s ease-out; }
  .button, .header-resume, .route-switch label { transition: background .18s, color .18s; }
  @keyframes connect { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes develop { from { transform: translateY(5px); } to { transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) { .hero-map { transform: none; } .reading-line { display: none; } }
