.sc-case--respmed {
  --rm-ink: #102e4b;
  --rm-copy: #3b5066;
  --rm-rule: #cddce6;
  --rm-sky: #ecf4fa;
}
.rm-deck { max-inline-size:40ch; color:var(--rm-ink); font-size:clamp(1.16rem,.9rem + 1.2vw,2rem); line-height:1.32; text-wrap:balance; }
.sc-case--respmed .sc-case-heading-row { padding-bottom:8px; gap:12px 28px; }
.rm-story { --rm-space:clamp(48px,7.2vw,110px); color:var(--rm-ink); }
.rm-story section { margin-block-start:var(--rm-space); }
.rm-story h2 { margin:0; font-size:clamp(1.85rem,1.25rem + 2.1vw,3.5rem); font-weight:var(--weight-semibold); line-height:1.08; letter-spacing:var(--tracking-title); text-wrap:balance; }
.rm-story p,.rm-story dd { margin:0; color:var(--rm-copy); font-size:clamp(1rem,.95rem + .23vw,1.18rem); line-height:1.53; text-wrap:pretty; }
.rm-opening,.rm-pair,.rm-mobile,.rm-delivery,.rm-schedule { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:clamp(24px,6vw,98px); align-items:start; }
.rm-opening { padding-block:clamp(6px,1.35vw,22px); }
.rm-opening h2 { max-width:14ch; font-size:clamp(2.2rem,1.5rem + 2.6vw,4.15rem); line-height:1.04; }
.rm-opening small { display:block; margin-block-start:18px; color:var(--rm-copy); font-size:.85rem; line-height:1.5; }
.rm-schedule { padding:clamp(18px,3.2vw,48px); background:linear-gradient(125deg,#102e4b,#123f64); color:#fff; border-radius:18px; align-items:center; gap:clamp(20px,4vw,68px); }
.rm-schedule-intro p,.rm-text p,.rm-film p { margin-top:clamp(14px,1.25vw,22px); max-inline-size:46ch; }
.rm-schedule-intro p { color:#d8e7f0; }
.rm-schedule-switch { position:relative; min-inline-size:0; margin:0; padding:0; border:0; }
.rm-radio,.rm-sr { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.rm-schedule-switch label { display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin:0 4px 8px 0; padding:7px clamp(12px,1.4vw,23px); border:1px solid #7491aa; border-radius:999px; color:#eef6fa; font-size:clamp(.875rem,.79rem + .25vw,1.02rem); line-height:1.25; font-weight:var(--weight-semibold); cursor:pointer; }
.rm-schedule-switch label:hover { border-color:#e7f3fb; }
.rm-radio:checked + label { color:#123451; background:#fff; border-color:#fff; }
.rm-radio:focus-visible + label { outline:3px solid #79d6ff; outline-offset:2px; }
.rm-panes { margin-top:6px; touch-action:pan-y pinch-zoom; }
.rm-pane { display:none; }
.rm-chief:checked ~ .rm-panes .rm-pane-chief,.rm-specialist:checked ~ .rm-panes .rm-pane-specialist { display:block; }
.rm-shot { margin:0; min-width:0; }
.rm-shot-link { display:grid; grid-template-columns:minmax(0,1fr); background:var(--rm-sky); border:1px solid #cbdde8; border-radius:12px; padding:clamp(14px,2.1vw,34px); gap:12px; text-decoration:none; cursor:zoom-in; }
.rm-shot-link:focus-visible,.rm-viewer :is(button,a,.rm-viewer-stage):focus-visible { outline:3px solid #2082d0; outline-offset:3px; }
.rm-artboard { display:grid; place-items:center; min-inline-size:0; }
.rm-artboard img { display:block; max-width:100%; width:100%; height:auto; }
.rm-role-shot .rm-artboard { aspect-ratio:1.66; }
.rm-role-shot .rm-artboard img { width:auto; height:auto; max-height:100%; min-height:0; border-radius:6px; border:1px solid #d9e4ed; box-shadow:0 8px 24px #18364d15; }
.rm-enlarge { display:inline-flex; justify-self:end; gap:.45em; align-items:center; min-height:28px; color:#1a496b; font-size:.825rem; line-height:1.3; font-weight:var(--weight-semibold); }
.rm-enlarge .rm-icon { width:16px;height:16px; }
.rm-shot-link:hover .rm-enlarge { text-decoration:underline; text-underline-offset:.2em; }
.rm-icon { display:block; flex:none; width:20px; height:20px; }
.rm-story figcaption { margin-top:10px; color:var(--rm-copy); font-size:clamp(.875rem,.85rem + .1vw,.96rem); line-height:1.5; text-wrap:pretty; }
.rm-role-shot figcaption { color:#e5eef6; min-block-size:4.5em; }
.rm-pair { align-items:center; padding-top:clamp(22px,3.8vw,56px); border-top:1px solid var(--rm-rule); }
.rm-record { max-width:650px; width:100%; justify-self:end; }
.rm-record img { border-radius:6px; box-shadow:0 6px 22px #18364d13; }
.rm-film { background:#f1f5f9; border-radius:16px; padding:clamp(18px,3vw,46px); }
.rm-film > div { display:grid; grid-template-columns:1fr 1fr; gap:clamp(18px,5vw,72px); align-items:start; margin-bottom:clamp(20px,2.6vw,38px); }
.rm-film p { margin:0; }
.rm-film video { display:block; width:100%; height:auto; border-radius:8px; background:#e8eff4; aspect-ratio:1.6; }
.rm-film video::cue { background:#0e283de0; color:white; }
.rm-mobile { align-items:center; background:#eaf2f7; border-radius:16px; padding:clamp(18px,3.5vw,58px); }
.rm-handset { display:grid; justify-items:center; }
.rm-handset .rm-shot-link { padding:0; border:0; background:transparent; justify-items:center; }
.rm-handset .rm-artboard { width:min(100%,230px); padding:4px; background:#20384b; border-radius:23px; box-shadow:0 10px 24px #18364d20; }
.rm-handset img { border-radius:19px; }
.rm-handset .rm-enlarge { justify-self:center; }
.rm-handset figcaption { max-width:30ch; text-align:center; }
.rm-delivery { padding-top:clamp(24px,3.2vw,52px); border-top:1px solid var(--rm-rule); }
.rm-delivery dl { margin:0; }
.rm-delivery dl > div + div { padding-top:21px; margin-top:22px; border-top:1px solid var(--rm-rule); }
.rm-delivery dt { color:var(--rm-ink); font-size:clamp(1.125rem,1rem + .6vw,1.55rem); line-height:1.2; font-weight:var(--weight-semibold); }
.rm-delivery dd { margin:.5em 0 0; }
.rm-next { margin-block:var(--rm-space) 0; padding-block-start:clamp(24px,3.5vw,48px); border-block-start:1px solid var(--rm-rule); }
.rm-next h2 { max-width:22ch; }
.rm-next-project { display:inline-flex; gap:.5em; align-items:center; margin-block:22px 14px; color:var(--rm-ink); font-weight:var(--weight-semibold); font-size:1.12rem; }
.rm-next p { max-width:65ch; }
.rm-next a { text-decoration:underline; text-underline-offset:.2em; }
.rm-next a:hover { color:#164eaf; }

.rm-viewer { width:min(1220px,96vw); max-height:95dvh; max-width:96vw; margin:auto; padding:0; border:1px solid #b8cbd9; border-radius:12px; background:#f8fbff; color:var(--rm-ink); }
.rm-viewer[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; }
.rm-viewer:modal,.rm-viewer-stage { overscroll-behavior:contain; }
.rm-viewer::backdrop { background:#071827cf; overflow:hidden; overscroll-behavior:contain; }
.rm-viewer-bar { display:flex; align-items:center; gap:6px; padding:5px 8px; border-bottom:1px solid var(--rm-rule); }
.rm-viewer-bar button,.rm-viewer-bar a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:6px 10px; color:inherit; background:transparent; border:0; border-radius:5px; cursor:pointer; font:var(--weight-semibold) .94rem/1.3 var(--font-sans); text-decoration:none; }
.rm-viewer-bar button:hover,.rm-viewer-bar a:hover { background:#e3edf5; }
.rm-viewer-bar a { gap:5px; }
.rm-viewer-bar form { margin-inline-start:auto; }
.rm-viewer-bar form button { min-width:44px; }
.rm-viewer-stage { height:min(68vh,760px); height:min(68dvh,760px); min-height:0; overflow:auto; background:#e7eff6; }
.rm-viewer-stage img { display:block; width:100%; height:100%; object-fit:contain; }
.rm-viewer[data-zoomed] .rm-viewer-stage img { width:auto; height:auto; max-width:none; max-height:none; margin-inline:auto; }
.rm-story .rm-viewer-caption { padding:10px 16px; max-height:17dvh; overflow:auto; font-size:.9rem; line-height:1.45; }
@media(min-width:901px) {
  .rm-delivery h2 { position:sticky; top:calc(var(--head-room) + 24px); }
}
@media(max-width:800px) {
  .rm-opening,.rm-pair,.rm-mobile,.rm-delivery,.rm-schedule,.rm-film > div { grid-template-columns:minmax(0,1fr); gap:20px; }
  .rm-record,.rm-schedule .rm-schedule-switch { max-width:670px; width:100%; justify-self:start; }
  .rm-opening h2,.rm-schedule-intro h2 { max-width:24ch; }
  .rm-text p { max-width:56ch; }
  .rm-role-shot figcaption { min-block-size:0; }
}
@media(max-width:480px) {
  .rm-story h2 { font-size:clamp(1.8rem,7.7vw,2.35rem); }
  .rm-shot-link { padding:12px; gap:4px; }
  .rm-role-shot .rm-artboard { aspect-ratio:1.5; }
  .rm-role-shot .rm-artboard img { max-height:100%; object-fit:contain; }
  .rm-schedule,.rm-film,.rm-mobile { padding:17px 14px; border-radius:12px; }
  .rm-viewer { max-width:98vw; width:98vw; }
}
@media(prefers-reduced-motion:no-preference) {
  .rm-schedule-switch label { transition:color .2s,background-color .2s,border-color .2s; }
  .rm-chief:checked ~ .rm-panes .rm-pane-chief,.rm-specialist:checked ~ .rm-panes .rm-pane-specialist { animation:rm-screen-in .24s ease-out; }
  @keyframes rm-screen-in { from { opacity:.7; translate:0 3px; } }
}
@media(forced-colors:active) { .rm-radio:checked + label { border:3px solid Highlight; } }
