/* IntoMines 0.13.1 — four chapters in the existing museum-ivory visual system.
   Geometry belongs to CSS anchors; a single JS renderer moves the specimen. */
.im-specimen-journey {
  --im-sj-paper: var(--im-home-ivory, #F9F5F1);
  --im-sj-ink: #071c30;
  --im-sj-blue: #0a5cad;
  --im-sj-muted: #56616a;
  --im-sj-gutter: clamp(24px, 4.1vw, 80px);
  position: relative;
  color: var(--im-sj-ink);
  background: var(--im-sj-paper);
}
.im-specimen-journey *, .im-specimen-journey *::before, .im-specimen-journey *::after { box-sizing: border-box; }
.im-specimen-journey [hidden] { display: none !important; }
.im-sj-stage { position: relative; width: 100%; isolation: isolate; background: var(--im-sj-paper); }
.im-sj-paper { position: absolute; inset: 0; background: var(--im-sj-paper); z-index: -1; }
.im-sj-scene { position: relative; min-height: 800px; }
.im-specimen-journey.is-enhanced { height: var(--im-sj-length, 560svh); }
.is-enhanced .im-sj-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.is-enhanced .im-sj-scene { position: absolute; inset: 0; min-height: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.is-enhanced .im-sj-scene.is-visible { visibility: visible; }
.is-enhanced .im-sj-scene.is-active { pointer-events: auto; }
.im-specimen-journey figure { margin: 0; }
.im-sj-index, .im-sj-heading__trail, .im-sj-scene-copy > small, .im-sj-choice__meta small,
.im-sj-choice__meta > span, .im-sj-choice__meta em, .im-sj-doc-label, .im-sj-record-number,
.im-sj-archive-index-heading, .im-sj-records small, .im-sj-archive-caption, .im-sj-progress,
.im-sj-change, .im-sj-identity-toggle {
  font-family: var(--im-font-functional); font-weight: 500; font-size: .75rem; letter-spacing: .09em;
}
.im-sj-index { color: var(--im-sj-blue); text-transform: uppercase; margin: 0 0 22px !important; line-height: 1.4; }
.im-sj-index::after { content: ''; display: block; width: 42px; height: 1px; background: var(--im-antique-brass); margin-top: 12px; }
.im-sj-heading, .im-sj-scene-copy { position: absolute; z-index: 4; left: var(--im-sj-gutter); top: 18%; width: 23%; max-width: 390px; }
.im-sj-heading h2, .im-sj-scene-copy h3 { font-family: var(--im-font-editorial); font-weight: 400; color: var(--im-sj-ink); letter-spacing: -.035em; line-height: 1; margin: 0; text-wrap: balance; }
.im-sj-heading h2 { font-size: clamp(3rem, 4.4vw, 5.5rem); max-width: 9ch; }
.im-sj-scene-copy h3 { font-size: clamp(2.65rem, 3.7vw, 4.8rem); }
.im-sj-heading > p:not(.im-sj-index), .im-sj-scene-copy > p:not(.im-sj-index) { margin: 20px 0 0; font-size: 1rem; line-height: 1.6; color: #294054; max-width: 32ch; }
.im-sj-heading__trail, .im-sj-scene-copy > small { display: block; text-transform: uppercase; line-height: 1.8; color: var(--im-sj-muted); margin-top: 22px; font-size: .75rem; }
.im-sj-heading { top: 25%; width: 21%; }
.im-sj-selector { position: absolute; left: 28%; right: 4%; top: 21%; bottom: 17%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.3%; }
.im-sj-choice { display: grid; grid-template-rows: minmax(0,1fr) 112px; gap: 24px; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--im-sj-ink); text-align: left; cursor: pointer; }
.im-sj-choice__media { position: relative; display: block; min-height: 0; }
.im-sj-choice__media img { display: block; position: absolute; width: 100%; height: 100%; object-fit: contain; max-width: none; filter: drop-shadow(0 12px 12px rgba(4,32,56,.075)); }
.is-enhanced .im-sj-choice.is-selected .im-sj-choice__media img { visibility: hidden; }
.im-sj-choice__meta { display: grid; grid-template-columns: 22px minmax(0,1fr); align-content: start; gap: 5px 9px; position: relative; border-top: 1px solid #cfc9bf; padding-top: 14px; }
.im-sj-choice.is-selected .im-sj-choice__meta { border-color: var(--im-choice-accent); }
.im-sj-choice__meta small { color: var(--im-choice-accent); grid-row: 1 / span 3; }
.im-sj-choice__meta strong { font-family: var(--im-font-editorial); font-size: clamp(1.55rem,1.9vw,2.4rem); font-weight: 500; line-height: 1.1; }
.im-sj-choice__meta > span, .im-sj-choice__meta em { grid-column: 2; letter-spacing: .03em; color: var(--im-sj-muted); line-height: 1.5; }
.im-sj-choice__meta em { margin-top: 8px; color: var(--im-sj-ink); font-style: normal; }
.im-sj-choice:hover .im-sj-choice__meta em { color: var(--im-choice-accent); }
.im-sj-choose-anchor, .im-sj-mobile-name { display: none; }
.im-sj-persistent { position: absolute; top: 0; left: 0; width: 1000px; z-index: 5; transform-origin: 0 0; pointer-events: none; visibility: hidden; will-change: transform; }
.is-enhanced .im-sj-persistent { visibility: visible; }
.im-sj-persistent img { display: block; width: 100%; max-width: none; height: auto; filter: drop-shadow(0 10px 10px rgba(4,32,56,.07)); }
.im-sj-object-anchor { position: absolute; pointer-events: none; }
.im-sj-object-anchor--identity { left: 29%; top: 32%; width: 29%; height: 42%; }
.im-sj-identity-media { position: absolute; right: 5%; top: 23%; width: 30%; height: 61%; transform: rotate(.65deg); }
.im-sj-media-fit { position: absolute; inset: 0; overflow: hidden; }
.im-sj-media-fit img { position: absolute; display: block; width: 100%; height: 100%; object-fit: contain; max-width: none; }
.im-sj-identity-toggle { position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%); border: 0; background: transparent; padding: 8px; white-space: nowrap; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.im-sj-doc-media { position: absolute; top: 27%; width: 30%; height: 52%; }
.im-sj-doc-media--history { left: 30%; }
.im-sj-doc-media--book { right: 4%; }
.im-sj-doc-label { position: absolute; top: -50px; left: 0; width: 100%; display: grid; gap: 7px; line-height: 1.4; text-align: left; }
.im-sj-doc-label b { font-weight: 600; color: var(--im-sj-blue); }
.im-sj-doc-label span { font-size: .75rem; color: var(--im-sj-muted); letter-spacing: .03em; }
.im-sj-doc-art { position: absolute; inset: 0; }
.im-sj-doc-media--history .im-sj-doc-art { transform: rotate(-1.25deg); }
.im-sj-doc-media--book .im-sj-doc-art { transform: rotate(.85deg); }
.im-sj-doc-arrow { position: absolute; top: 53%; left: 61%; font-family: var(--im-font-editorial); font-size: 2rem; color: var(--im-antique-brass); }
.im-sj-object-anchor--documentation { left: 5%; top: 57%; width: 20%; height: 22%; }
.im-sj-scene--archive .im-sj-scene-copy { width: 22%; top: 17%; max-width: 350px; }
.im-sj-scene--archive .im-sj-scene-copy h3 { font-size: clamp(2.55rem,3.25vw,4.25rem); max-width: 10ch; }
.im-sj-archive-body { margin-top: 22px !important; max-width: 29ch !important; }
.im-sj-scene--archive .im-sj-scene-copy > small { color: var(--im-sj-muted); letter-spacing: .08em; }

/* Step 04 focal composition: three archival cards behind the same travelling specimen. */
.im-sj-archive-focus { position: absolute; left: 27%; top: 17%; width: 34%; height: 72%; }
.im-sj-archive-cards { position: absolute; inset: 3% 0 39%; z-index: 1; opacity: 0; transform: translate3d(0,14px,0); }
.im-sj-archive-card { position: absolute; overflow: hidden; margin: 0; background: #f3ecdf; border: 1px solid rgba(7,28,48,.09); box-shadow: 0 11px 24px rgba(31,27,22,.075); }
.im-sj-archive-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.im-sj-archive-card--left { left: 1%; top: 17%; width: 36%; height: 55%; transform: rotate(-4deg); }
.im-sj-archive-card--center { left: 28%; top: 0; width: 43%; height: 71%; transform: rotate(.8deg); z-index: 2; }
.im-sj-archive-card--center img { object-fit: contain; background: #f8f5ef; }
.im-sj-archive-card--right { right: 1%; top: 17%; width: 36%; height: 55%; transform: rotate(4deg); }
.im-sj-object-anchor--archive { position: absolute; z-index: 4; left: 15%; top: 12%; width: 70%; height: 49%; }
.im-sj-record-caption { position: absolute; z-index: 6; left: 6%; right: 6%; top: 62%; text-align: center; }
.im-sj-record-number { position: static; display: block; margin-bottom: 7px; color: var(--im-sj-blue); font-size: .72rem; letter-spacing: .12em; }
.im-sj-record-caption h4 { margin: 0 0 7px; font-family: var(--im-font-editorial); font-size: clamp(1.45rem,1.65vw,2rem); font-weight: 500; line-height: 1.05; text-transform: uppercase; }
.im-sj-record-caption p { margin: 0; color: var(--im-sj-muted); font-size: .78rem; line-height: 1.45; }
.im-sj-record-caption small { display: block; margin-top: 12px; color: var(--im-sj-muted); font: 500 .68rem/1.4 var(--im-font-functional); letter-spacing: .08em; }
.im-sj-archive-center-note { position: absolute; z-index: 6; left: 6%; right: 6%; bottom: 9.5%; margin: 0; text-align: center; font: 400 clamp(1.2rem,1.5vw,1.75rem)/1.2 var(--im-font-editorial); }
.im-sj-archive-flow { position: absolute; z-index: 6; left: 6%; right: 6%; bottom: 3%; margin: 0; text-align: center; color: var(--im-sj-muted); font: 500 .67rem/1.3 var(--im-font-functional); letter-spacing: .12em; }
.im-sj-archive-credit { position: absolute; z-index: 6; right: 2%; bottom: 0; color: var(--im-sj-muted); font: 500 .62rem/1.3 var(--im-font-functional); letter-spacing: .05em; }

/* Private collection archive panel. Deliberately editorial, not dashboard-like. */
.im-sj-archive-index { position: absolute; left: 64%; right: 3.4%; top: 15%; bottom: 10%; display: flex; flex-direction: column; padding: 20px 20px 17px; border: 1px solid rgba(7,28,48,.105); border-radius: 7px; background: rgba(255,255,255,.42); box-shadow: 0 14px 34px rgba(7,28,48,.045); opacity: 0; transform: translate3d(18px,0,0); }
.im-sj-archive-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-bottom: 13px; border-bottom: 1px solid rgba(7,28,48,.11); }
.im-sj-archive-panel-head strong, .im-sj-archive-panel-head span { font-family: var(--im-font-functional); font-size: .64rem; line-height: 1.3; letter-spacing: .09em; }
.im-sj-archive-panel-head strong { color: var(--im-sj-ink); }
.im-sj-archive-panel-head span { color: var(--im-sj-muted); text-align: right; }
.im-sj-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 14px 0 12px; flex: 1 1 auto; min-height: 0; }
.im-sj-archive-grid-item { min-width: 0; padding: 6px; border: 1px solid rgba(7,28,48,.055); background: rgba(249,246,241,.35); opacity: 0; transform: translate3d(0,8px,0); }
.im-sj-archive-grid-item.is-selected { border-color: var(--im-sj-blue); }
.im-sj-archive-grid-item figure { display: grid; place-items: center; aspect-ratio: 1 / .82; overflow: hidden; margin: 0 0 5px; background: rgba(255,255,255,.35); }
.im-sj-archive-grid-item img { display: block; width: 100%; height: 100%; object-fit: contain; }
.im-sj-archive-grid-item small, .im-sj-archive-grid-item strong, .im-sj-archive-grid-item span { display: block; }
.im-sj-archive-grid-item small { color: var(--im-sj-blue); font: 600 .49rem/1.3 var(--im-font-functional); letter-spacing: .08em; }
.im-sj-archive-grid-item strong { margin-top: 2px; overflow: hidden; color: var(--im-sj-ink); font: 500 .69rem/1.15 var(--im-font-editorial); text-overflow: ellipsis; white-space: nowrap; }
.im-sj-archive-grid-item span { margin-top: 2px; overflow: hidden; color: var(--im-sj-muted); font: 400 .48rem/1.25 var(--im-font-functional); text-overflow: ellipsis; white-space: nowrap; }
.im-sj-archive-panel-foot { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px; padding-top: 11px; border-top: 1px solid rgba(7,28,48,.11); }
.im-sj-archive-panel-foot p { margin: 0; max-width: 30ch; color: var(--im-sj-muted); font-size: .68rem; line-height: 1.4; }
.im-sj-archive-panel-foot a { color: var(--im-sj-ink); font: 600 .58rem/1.3 var(--im-font-functional); letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.im-sj-archive-panel-foot a:hover { color: var(--im-sj-blue); }
.im-sj-change { position: absolute; z-index: 8; top: 13%; right: 4%; display: none; justify-items: end; gap: 4px; border: 0; background: none; cursor: pointer; padding: 4px; text-align: right; }
.is-enhanced .im-sj-change { display: grid; }
.im-sj-change > span { font-family: var(--im-font-editorial); font-size: 1.35rem; letter-spacing: 0; }
.im-sj-change em { font-style: normal; font-size: .75rem; letter-spacing: .02em; color: var(--im-sj-muted); }
.im-sj-progress { display: none; position: absolute; z-index: 9; left: 27%; right: 4%; bottom: 24px; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.is-enhanced .im-sj-progress { display: grid; }
.im-sj-progress button { display: grid; justify-items: center; gap: 4px; border: 0; background: transparent; color: var(--im-sj-muted); cursor: pointer; padding: 6px 4px; min-height: 44px; }
.im-sj-progress button b { font-size: 1rem; font-family: var(--im-font-editorial); font-weight: 500; }
.im-sj-progress button small { font-size: .75rem; letter-spacing: .06em; }
.im-sj-progress button[aria-current="step"] { color: var(--im-sj-blue); }
.im-sj-progress i { grid-column: 1 / -1; height: 1px; background: #d5cec2; margin-top: 8px; }
.im-sj-progress i b { display: block; height: 1px; background: var(--im-sj-blue); transform-origin: left center; }
.im-sj-announcement, .im-specimen-journey .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (min-width: 761px) and (max-width: 1100px) {
  .im-sj-heading, .im-sj-scene-copy { top: 16%; }
  .im-sj-heading h2 { font-size: 3rem; }
  .im-sj-scene-copy h3 { font-size: 2.7rem; }
  .im-sj-heading > p:not(.im-sj-index), .im-sj-scene-copy > p:not(.im-sj-index) { font-size: .9375rem; }
  .im-sj-selector { top: 29%; bottom: 15%; }
  .im-sj-scene--identity .im-sj-scene-copy { width: 33%; }
  .im-sj-object-anchor--identity { left: 4%; top: 48%; width: 34%; height: 29%; }
  .im-sj-identity-media { width: 43%; right: 9%; top: 23%; height: 62%; }
  .im-sj-scene--documentation .im-sj-scene-copy { width: 29%; }
  .im-sj-doc-media { top: 39%; width: 29%; height: 40%; }
  .im-sj-doc-media--history { left: 35%; }
  .im-sj-doc-media--book { right: 3%; }
  .im-sj-doc-arrow { left: 64%; top: 58%; }
  .im-sj-object-anchor--documentation { left: 5%; top: 58%; width: 25%; height: 21%; }
  .im-sj-scene--archive .im-sj-scene-copy { top: 14%; width: 29%; }
  .im-sj-scene--archive .im-sj-scene-copy h3 { font-size: 2.45rem; }
  .im-sj-scene--archive .im-sj-scene-copy > small { display: none; }
  .im-sj-archive-focus { left: 30%; top: 20%; width: 34%; height: 65%; }
  .im-sj-archive-index { left: 65%; right: 2.5%; top: 17%; bottom: 11%; padding: 15px; }
  .im-sj-archive-grid { gap: 7px; }
  .im-sj-archive-grid-item { padding: 4px; }
  .im-sj-archive-panel-head span { font-size: .55rem; }
  .im-sj-archive-panel-foot { grid-template-columns: 1fr; gap: 6px; }
  .im-sj-progress { left: 4%; }
}
@media (max-width: 760px) {
  .im-specimen-journey { --im-sj-gutter: 22px; }
  .im-sj-heading, .im-sj-scene-copy, .im-sj-scene--archive .im-sj-scene-copy { left:22px; right:22px; top:15%; width:auto; max-width:none; }
  .im-specimen-journey.is-enhanced { height: var(--im-sj-mobile-length,680svh); }
  .im-sj-index { margin-bottom: 12px !important; font-size: .75rem; }
  .im-sj-index::after { margin-top: 8px; width: 32px; }
  .im-sj-heading h2, .im-sj-scene-copy h3 { max-width: 15ch; font-size: clamp(2.25rem,10vw,3.4rem); line-height: .99; }
  .im-sj-heading > p:not(.im-sj-index), .im-sj-scene-copy > p:not(.im-sj-index) { margin-top: 12px; font-size: .9375rem; line-height: 1.45; max-width: 35ch; }
  .im-sj-heading__trail, .im-sj-scene-copy > small { margin-top: 12px; font-size: .75rem; letter-spacing: .035em; line-height: 1.5; }
  .im-sj-choose-anchor { position: absolute; display: block; left: 16%; top: 40%; width: 68%; height: 32%; }
  .im-sj-selector { left: 22px; right: 22px; top: auto; bottom: 68px; height: 72px; gap: 12px; }
  .im-sj-choice { display: block; padding: 0; }
  .im-sj-choice__media { display: none; }
  .im-sj-choice__meta { grid-template-columns: 1fr; gap: 5px; padding-top: 9px; }
  .im-sj-choice__meta small { grid-row: auto; font-size: .75rem; }
  .im-sj-choice__meta strong { font-size: 1.2rem; }
  .im-sj-choice__meta > span, .im-sj-choice__meta em { display: none; }
  .im-sj-mobile-name { display: block; position: absolute; bottom: 156px; left: 10%; width: 80%; margin: 0; font-size: 1.55rem; line-height: 1.1; text-align: center; font-family: var(--im-font-editorial); }
  .im-sj-mobile-name small { display: block; font: .8125rem/1.5 var(--im-font-functional); margin-top: 7px; color: var(--im-sj-muted); }
  .im-sj-object-anchor--identity { left: 22%; top: 39%; width: 56%; height: 17%; }
  .im-sj-identity-media { left: 7%; right: 7%; top: 57%; width: auto; height: 32%; transform: rotate(.5deg); }
  .im-sj-identity-toggle { bottom: -22px; padding: 4px; }
  .im-sj-doc-media--history, .im-sj-doc-media--book { top: 48%; left: 6%; right: 6%; width: auto; height: 31%; }
  .im-sj-doc-label { top: -48px; gap: 5px; }
  .im-sj-doc-label span { font-size: .75rem; }
  .im-sj-doc-arrow { left: 50%; top: 54%; transform: translateX(-50%) rotate(90deg); }
  .im-sj-object-anchor--documentation { left: 9%; top: 80%; width: 26%; height: 11%; }
  .im-sj-scene--archive .im-sj-scene-copy { top: 10%; }
  .im-sj-scene--archive .im-sj-scene-copy h3 { max-width: 14ch; font-size: clamp(2rem,8.2vw,2.7rem); }
  .im-sj-scene--archive .im-sj-scene-copy > small { margin-top: 10px; font-size: .65rem; }
  .im-sj-scene--archive .im-sj-scene-copy > p:not(.im-sj-index) { margin-top: 10px; font-size: .84rem; line-height: 1.38; }
  .im-sj-archive-focus { left: 6%; right: 6%; width: auto; top: 35%; height: 54%; }
  .im-sj-archive-cards { inset: 0 7% 42%; }
  .im-sj-archive-card--left { left: 0; top: 19%; width: 36%; height: 52%; }
  .im-sj-archive-card--center { left: 28%; width: 44%; height: 68%; }
  .im-sj-archive-card--right { right: 0; top: 19%; width: 36%; height: 52%; }
  .im-sj-object-anchor--archive { left: 20%; top: 7%; width: 60%; height: 43%; }
  .im-sj-record-caption { top: 58%; }
  .im-sj-record-caption h4 { font-size: 1.35rem; }
  .im-sj-record-caption p { font-size: .72rem; }
  .im-sj-record-caption small { margin-top: 7px; font-size: .56rem; }
  .im-sj-archive-center-note { bottom: 8%; font-size: 1.15rem; }
  .im-sj-archive-flow { bottom: 2%; font-size: .54rem; }
  .im-sj-archive-index { left: 5%; right: 5%; top: 18%; bottom: 9%; padding: 13px; border-radius: 6px; }
  .im-sj-archive-panel-head { padding-bottom: 9px; }
  .im-sj-archive-panel-head strong, .im-sj-archive-panel-head span { font-size: .53rem; }
  .im-sj-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 9px 0; overflow: hidden; }
  .im-sj-archive-grid-item { display: grid; grid-template-columns: 45px minmax(0,1fr); grid-template-rows: auto auto auto; column-gap: 7px; align-content: center; padding: 4px; min-height: 62px; }
  .im-sj-archive-grid-item figure { grid-row: 1 / span 3; width: 45px; height: 50px; aspect-ratio: auto; margin: 0; }
  .im-sj-archive-grid-item small { font-size: .43rem; }
  .im-sj-archive-grid-item strong { font-size: .64rem; }
  .im-sj-archive-grid-item span { font-size: .43rem; }
  .im-sj-archive-panel-foot { grid-template-columns: 1fr; gap: 6px; padding-top: 8px; }
  .im-sj-archive-panel-foot p { font-size: .57rem; }
  .im-sj-archive-panel-foot a { font-size: .51rem; }
  .im-sj-progress { left: 22px; right: 22px; bottom: max(12px,env(safe-area-inset-bottom)); }
  .im-sj-progress button { min-height: 44px; padding: 8px; }
  .im-sj-progress button b { font-family: var(--im-font-functional); font-size: .875rem; }
  .im-sj-progress button small { display: none; }
  .im-sj-progress i { margin-top: 0; }
  .im-sj-change { top: 77px; right: 22px; padding: 5px; }
  .im-sj-change > span { display: none; }
  .im-sj-change em { font-size: .75rem; }
}
@media (max-width: 760px) and (max-height: 740px) {
  .im-sj-heading h2, .im-sj-scene-copy h3 { font-size: 2.2rem; }
  .im-sj-heading__trail, .im-sj-scene-copy > small { display: none; }
  .im-sj-choose-anchor { top: 39%; height: 28%; }
  .im-sj-object-anchor--identity { top: 35%; height: 21%; }
  .im-sj-scene--archive .im-sj-scene-copy h3 { font-size: 1.75rem; max-width: 13ch; }
  .im-sj-scene--archive .im-sj-scene-copy > p:not(.im-sj-index) { display: none; }
  .im-sj-archive-focus { top: 31%; height: 61%; }
  .im-sj-archive-index { top: 14%; bottom: 7%; }
  .im-sj-archive-grid-item { min-height: 54px; }
}
/* A readable server-rendered journey remains available without JavaScript. */
.im-specimen-journey:not(.is-enhanced) .im-sj-scene { min-height: 100svh; }
.im-specimen-journey:not(.is-enhanced) .im-sj-scene--choose .im-sj-choice__media { display: block; }
.im-specimen-journey:not(.is-enhanced) .im-sj-selector { grid-template-rows: 1fr; }
.im-specimen-journey:not(.is-enhanced) .im-sj-mobile-name { display: none; }
@media (prefers-reduced-motion: reduce) { .im-specimen-journey * { transition: none !important; } }

/* Match the existing header offset for signed-in WordPress editors. */
body.admin-bar .is-enhanced .im-sj-stage { top: 32px; height: calc(100svh - 32px); }
@media (max-width: 782px) {
  body.admin-bar .is-enhanced .im-sj-stage { top: 46px; height: calc(100svh - 46px); }
}
@media (max-width: 760px) {
  .im-specimen-journey:not(.is-enhanced) .im-sj-scene { min-height: 100svh; padding: 110px 22px 60px; overflow: hidden; }
  .im-specimen-journey:not(.is-enhanced) .im-sj-heading,
  .im-specimen-journey:not(.is-enhanced) .im-sj-scene-copy { position: static; width: auto; }
  .im-specimen-journey:not(.is-enhanced) .im-sj-selector { position: relative; inset: auto; height: 230px; margin-top: 35px; }
  .im-specimen-journey:not(.is-enhanced) .im-sj-choice { display: grid; grid-template-rows: 140px auto; gap: 16px; }
  .im-specimen-journey:not(.is-enhanced) .im-sj-identity-media { position: relative; inset: auto; width: 100%; height: 500px; margin-top: 30px; }
  .im-specimen-journey:not(.is-enhanced) .im-sj-doc-media { position: relative; inset: auto; width: 100%; height: 330px; margin-top: 90px; }
  .im-specimen-journey:not(.is-enhanced) .im-sj-archive-focus { position: relative; inset: auto; width: 100%; height: 560px; margin-top: 30px; }
  .im-specimen-journey:not(.is-enhanced) .im-sj-archive-index { position: relative; inset: auto; min-height: 620px; margin-top: 30px; }
}
@media (min-width: 761px) and (max-width: 1100px) and (max-height: 850px) {
  .im-sj-archive-focus { top: 24%; height: 61%; }
  .im-sj-archive-index { top: 19%; bottom: 10%; }
}
@media (min-width: 761px) and (max-width: 900px) and (min-height: 800px) {
  .im-sj-scene--documentation .im-sj-scene-copy { top: 14%; width: 59%; max-width: 420px; }
  .im-sj-object-anchor--documentation { left: 72%; top: 19%; width: 23%; height: 23%; }
  .im-sj-doc-media { top: 48%; width: 43%; height: 36%; }
  .im-sj-doc-media--history { left: 5%; }
  .im-sj-doc-media--book { right: 5%; }
  .im-sj-doc-arrow { left: 49%; top: 66%; }
}

/* Shared header/admin-bar geometry; no chapter redesign. */
body .im-specimen-journey.is-enhanced .im-sj-stage{top:calc(var(--im-header-height) + var(--im-admin-offset));height:calc(100svh - var(--im-header-height) - var(--im-admin-offset))}
@media(prefers-reduced-motion:reduce){.im-specimen-journey.is-enhanced{height:400svh!important}}
