/* Gallery 01: source objects and clearly identified contemporary anatomical studies. */
.anatomy-gallery { --an-ink: #302722; --an-paper: #f2ead9; --an-rule: #b5a58b; }
.anatomy-arrival { min-height: 0; padding: clamp(40px,5vw,72px); gap: 40px; }
.anatomy-arrival h1 { font-size: clamp(3rem,5.4vw,5.4rem); max-width: 12ch; line-height: 1.03; }
.anatomy-arrival .lede { max-width: 39ch; }
.an-arrival-note { font-size: .85rem; color: #e3d5bf; margin-top: 32px; }
.an-entry { max-width: 340px; align-self: end; }
.an-entry .button { margin: 12px 0; width: 100%; white-space: normal; }
.an-entry .text-action { font-size: .7rem; }
.an-room { padding: clamp(38px,5vw,76px); color: var(--an-ink); border-bottom: 1px solid var(--an-rule); scroll-margin-top: 24px; }
.an-room > header { max-width: 850px; margin-bottom: 32px; }
.an-room h2 { margin: 12px 0 20px; font: 400 clamp(2rem,3.7vw,3.4rem)/1.1 var(--serif); letter-spacing: -.025em; }
.an-room h3 { margin: 20px 0 12px; font: 400 1.5rem/1.2 var(--serif); }
.an-room p { font-size: 1rem; line-height: 1.65; }
.an-room .an-deck { max-width: 65ch; font: 1.2rem/1.55 var(--serif); }
.an-room .an-marker, .an-marker { display: block; font: 700 .69rem/1.5 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.an-paper { background: #f2ead9; }
.an-parchment { background: #e6dcc6; }
.an-maroon { background: #35131b; color: #f2ead9; --an-rule: #927969; }
.an-conditioning-stage { position: relative; display: block; }
.an-conditioning-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.an-conditioning-halo { stroke: #fff8e8; stroke-width: 14; opacity: .8; }
.an-conditioning-nasal { stroke: #235e5b; stroke-width: 7; }
.an-conditioning-neck, .an-conditioning-neck-arrow { stroke: #913f2d; stroke-width: 7; }
.an-conditioning-neck { stroke-dasharray: 16 10; }
.an-conditioning-key { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.an-conditioning-key strong { display: block; margin-bottom: 8px; font: 400 1.3rem/1.3 var(--serif); }
.an-lining-salon { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: clamp(24px,4vw,48px); align-items: center; margin: 44px 0 32px; }
.an-lining-note a, #room-function a { color: inherit; text-underline-offset: 4px; }
.an-lining-note > a { display: inline-block; padding-block: 12px; font-size: .875rem; }
.an-viewer-sheet .an-conditioning-stage { width: min(100%,97.5vh); margin: 0 auto; }
.an-viewer-sheet .an-conditioning-stage img { width: 100%; max-height: none; }
.an-plate-viewer.is-enlarged .an-conditioning-stage { width: 1536px; }
.an-plate-viewer.is-enlarged .an-conditioning-stage img { width: 100%; }
@media (max-width: 768px) { .an-lining-salon, .an-conditioning-key { grid-template-columns: 1fr; gap: 16px; } }
.an-salon { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(24px,3vw,44px); align-items: start; }
.an-tract-salon { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
.an-photo-context { margin: 0 0 16px; }
.an-fresh-pair { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(24px,4vw,52px); align-items: start; }
.an-fresh-companion { padding-top: clamp(24px,4vw,56px); }
.an-fresh-pair .an-credit { font-size: .875rem; }
.an-fresh-pair a { color: inherit; text-underline-offset: 3px; }
.an-fresh-boundary { max-width: 70ch; margin: 24px 0 32px; }
.an-established-tract .an-credit { font-size: .875rem; }
.an-established-tract .an-credit a { color: inherit; text-underline-offset: 3px; }
.an-closure-evidence { border-block: 1px solid var(--an-rule); margin: 20px 0; padding-bottom: 0; }
.an-closure-evidence > summary { padding: 12px 0; min-height: 44px; box-sizing: border-box; cursor: pointer; font: 600 .9rem/1.5 var(--sans); }
.an-closure-evidence[open] { padding-bottom: 16px; }
.an-closure-evidence > a { display: inline-block; padding-block: 8px; color: inherit; font-size: .875rem; text-underline-offset: 3px; }
.an-object.an-scar-comparison { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--an-rule); }
.an-scar-comparison figcaption { max-width: 76ch; }
.an-scar-comparison .an-credit { font-size: .875rem; }
.an-scar-comparison a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 900px) { .an-fresh-pair { grid-template-columns: 1fr; max-width: 560px; } .an-fresh-companion { padding-top: 0; } }
.an-object { margin: 0; min-width: 0; }
.an-plate-mount { display: block; padding: 12px; background: #fff8e8; border: 1px solid #927650; box-shadow: 0 7px 18px #160d0d18; cursor: zoom-in; }
.an-plate-mount img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.an-look-closer { display: flex; justify-content: space-between; align-items: center; min-height: 44px; color: inherit; font: 700 .8rem/1.5 var(--sans); text-underline-offset: 4px; }
.an-historical-plate { max-width: 680px; width: 100%; }
.an-historical-plate figcaption .an-credit { font-size: .875rem; }
.an-historical-plate .an-credit a { color: inherit; text-underline-offset: 3px; }
.an-plate-viewer { width: min(1060px,calc(100vw - 32px)); max-width: none; max-height: 90vh; padding: 20px; background: #f2ead9; color: #302722; border: 1px solid #927650; box-sizing: border-box; }
.an-plate-viewer::backdrop { background: #160d0de6; }
.an-viewer-controls { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.an-viewer-controls button { min-height: 44px; padding: 10px 16px; border: 1px solid #735b43; color: #302722; background: #fff8e8; cursor: pointer; font: 700 .875rem var(--sans); }
.an-viewer-sheet { max-height: 65vh; overflow: auto; background: #fff8e8; }
.an-viewer-sheet img { display: block; width: auto; max-width: 100%; height: auto; max-height: 65vh; margin: 0 auto; object-fit: contain; }
.an-plate-viewer.is-enlarged .an-viewer-sheet img { width: 1400px; max-width: none; max-height: none; }
.an-static-viewer.is-enlarged .an-viewer-sheet > img { width: var(--static-zoom-width,1400px); }
.an-plate-viewer figcaption { padding-top: 18px; font: 1rem/1.6 var(--sans); }
.an-plate-viewer figcaption h2, .an-plate-viewer figcaption h3 { margin: 10px 0; font: 1.7rem/1.2 var(--serif); }
.an-plate-viewer .an-credit { font-size: .875rem; }
.an-plate-viewer a { color: inherit; }
.an-plate-viewer :focus-visible { outline: 3px solid #aa6249; outline-offset: 3px; }
.an-airflow-stage { display: block; position: relative; }
.an-airflow-overlay { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.show-airflow .an-airflow-overlay { display: block; }
.an-airflow-halo { stroke: #fff6df; stroke-width: 15; opacity: .8; }
.an-airflow-oral { stroke-dasharray: 13 11; }
[data-route-segment="01"], [data-route-step="01"] { --route-color: #1f6263; }
[data-route-segment="02"], [data-route-step="02"] { --route-color: #93412d; }
[data-route-segment="03"], [data-route-step="03"] { --route-color: #354b7d; }
.an-airflow-path { stroke: var(--route-color); stroke-width: 8; }
.an-airflow-arrow { stroke: var(--route-color); stroke-width: 5; }
.an-route-marker path { fill: none; stroke: var(--route-color); stroke-width: 4; }
.an-route-marker circle { fill: var(--route-color); stroke: #fff8e8; stroke-width: 5; }
.an-route-marker text { fill: #fff8e8; text-anchor: middle; dominant-baseline: central; font: 700 44px var(--sans); }
.an-airflow-overlay .is-muted { opacity: .16; }
.an-airflow-overlay .is-selected .an-airflow-path { stroke-width: 12; }
.an-esophagus-layer { display: none; --route-color: #806014; }
.show-esophagus .an-esophagus-layer { display: inline; }
.an-esophagus-halo { stroke: #fff8e8; stroke-width: 18; }
.an-esophagus-path { stroke: #806014; stroke-width: 9; stroke-dasharray: 4 12; }
.show-esophagus [data-route-segment="01"], .show-esophagus [data-route-segment="02"] { opacity: .16; }
.show-esophagus [data-route-segment="03"] { opacity: .8; }
.show-esophagus .an-airflow-halo { opacity: .25; }
.an-esophagus-button { --route-color: #806014; margin: 12px 0; border-color: #b5a58b !important; }
.an-esophagus-button .an-route-badge { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; color: #fff8e8; background: var(--route-color); font: 700 .875rem/1 var(--sans); }
.an-esophagus-button .an-route-copy { display: block; }
.an-esophagus-button strong { display: block; color: var(--route-color); font: 400 1.2rem/1.3 var(--serif); margin-bottom: 6px; }
.an-esophagus-button .an-route-copy > span { display: block; font: .875rem/1.5 var(--sans); }
.an-esophagus-note[hidden] { display: none; }
.an-plate-viewer .an-esophagus-button { width: auto; min-height: 44px; font: 700 .875rem/1.4 var(--sans); color: #806014; padding: 8px 12px; }
.an-viewer-notes { padding-top: 12px; }
.an-route-list.an-route-interactive li { padding: 0; }
.an-route-list.an-route-interactive li::before { display: none; content: none; }
.an-route-button { width: 100%; display: flex; align-items: start; gap: 15px; padding: 17px 10px; text-align: left; background: transparent; border: 1px solid transparent; color: #302722; cursor: pointer; }
.an-route-button:hover, .an-route-button[aria-pressed="true"] { background: #fff8e8; border-color: var(--route-color); }
.an-route-list .an-route-badge { display: grid; place-items: center; flex: 0 0 36px; min-height: 36px; margin-top: 2px; border-radius: 50%; color: #fff8e8; background: var(--route-color); font: 700 .875rem/1 var(--sans); }
.an-route-list .an-route-copy strong { color: var(--route-color); }
.an-study-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.an-show-all { min-height: 44px; padding: 10px; background: transparent; color: #302722; border: 1px solid #927650; cursor: pointer; }
.an-show-all[hidden] { display: none; }
.an-modal-routes { display: flex; flex-wrap: wrap; gap: 8px; }
.an-modal-routes button { min-height: 44px; padding: 8px 12px; font: 700 .875rem/1.4 var(--sans); color: var(--route-color); background: #fff8e8; border: 1px solid var(--route-color); cursor: pointer; }
.an-modal-routes button[aria-pressed="true"] { background: var(--route-color); color: #fff8e8; }
.an-airflow-study { padding: 16px 0; border-block: 1px solid #b5a58b; margin: 8px 0; }
.an-airflow-toggle { min-height: 44px; padding: 10px 16px; background: #f9f1de; color: #302722; border: 1px solid #927650; font: 700 .875rem/1.4 var(--sans); cursor: pointer; }
.an-room .an-airflow-note, .an-plate-viewer .an-airflow-note { font: .875rem/1.55 var(--sans); margin: 8px 0; }
.an-viewer-sheet .an-airflow-stage { width: min(100%,49.557vh); margin: 0 auto; }
.an-viewer-sheet .an-airflow-stage img { width: 100%; max-height: none; }
.an-plate-viewer.is-enlarged .an-airflow-stage { width: 1400px; }
.an-plate-viewer.is-enlarged .an-airflow-stage img { width: 100%; }
.an-reservation { position: relative; background: #e3d7bf; color: #4b3930; border: 1px solid #927650; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; box-shadow: inset 0 0 0 7px #eee4d0, 0 7px 18px #160d0d18; }
.an-status { font: 700 .65rem/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; position: relative; z-index: 1; }
.an-plate-number { font: italic 2.3rem/1 var(--serif); color: #735b43; }
.an-placeholder-mark { border-top: 1px solid #9a8365; border-bottom: 1px solid #9a8365; height: 34px; width: 44%; margin: 12px 0; opacity: .65; }
.an-reservation > p { font: italic 1.15rem/1.3 var(--serif); margin: 0; }
.an-portrait .an-reservation { aspect-ratio: 4 / 5; }
.an-square .an-reservation { aspect-ratio: 1; }
.an-landscape .an-reservation { min-height: 230px; background: linear-gradient(90deg,#e3d7bf 49.8%,#a78e6e 49.8%,#a78e6e 50.2%,#e3d7bf 50.2%); }
.an-spread .an-reservation { min-height: 220px; background: linear-gradient(90deg,#e3d7bf 66%,#c7b99e 66%,#c7b99e 66.3%,#ede3ce 66.3%); }
.an-panorama .an-reservation { min-height: 185px; }
.an-object figcaption { padding: 20px 0 12px; border-bottom: 1px solid var(--an-rule); }
.an-object figcaption h3 { margin: 8px 0 10px; font-size: 1.4rem; }
.an-object figcaption p { margin: 8px 0; font-size: .91rem; }
.an-object figcaption .an-credit { font-size: .85rem; line-height: 1.55; opacity: 1; }
.an-route-list { list-style: none; padding: 0; counter-reset: route; margin: 20px 0 28px; }
.an-route-list li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--an-rule); counter-increment: route; }
.an-route-list li::before { content: counter(route,decimal-leading-zero); position: absolute; left: 0; top: 18px; font: .7rem var(--sans); color: #6f5040; }
.an-route-list strong { display: block; font: 400 1.3rem var(--serif); margin-bottom: 8px; }
.an-route-list span { display: block; font: .95rem/1.5 var(--sans); }
.an-room .an-small-note { font-size: .93rem; border-left: 2px solid #aa8461; padding-left: 18px; margin: 28px 0; }
.an-emphasis { font: italic 1.25rem/1.5 var(--serif) !important; }
.an-altered-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(24px,4vw,54px); align-items: start; }
.an-room .an-pair-label { margin: 0 0 14px; }
.ac-stage { display: block; position: relative; }
.ac-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ac-region { fill: #1f626326; stroke: #1f6263; stroke-width: 7; }
.ac-leader { fill: none; stroke: #1f6263; stroke-width: 5; }
.ac-absence { fill: none; stroke: #93412d; stroke-width: 7; stroke-dasharray: 13 10; }
.ac-label { fill: #1f6263; stroke: #fff8e8; stroke-width: 7; paint-order: stroke; font: 700 32px var(--sans); }
.ac-rust { fill: #93412d; }
.ac-gold { fill: #806014; stroke: #806014; }
.ac-label.ac-gold { stroke: #fff8e8; }
.ac-airway { fill: none; stroke: #1f6263; stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.ac-digestive { fill: none; stroke: #806014; stroke-width: 13; stroke-dasharray: 3 22; stroke-linecap: round; }
.ac-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-bottom: 14px; }
.ac-controls button { min-height: 44px; border: 1px solid #bda98e; padding: 8px; background: transparent; color: inherit; cursor: pointer; font: 700 .8rem/1.4 var(--sans); }
.ac-controls button[aria-pressed="true"] { background: #f2ead9; color: #35131b; box-shadow: inset 0 -3px #1f6263; }
.ac-controls button:focus-visible { outline: 3px solid #c59668; outline-offset: 3px; }
.an-room .ac-note, .an-plate-viewer .ac-note { font: .9rem/1.55 var(--sans); margin: 12px 0; min-height: 4.65em; }
.an-room .ac-study-credit { font: .82rem/1.55 var(--sans); max-width: 85ch; margin: 18px 0; }
.ac-shared-controls { grid-template-columns: repeat(4,minmax(0,1fr)); max-width: 720px; margin-bottom: 24px; }
.ac-local-controls { display: none; }
.an-plate-viewer .ac-controls { display: flex; flex-wrap: wrap; }
.an-plate-viewer .ac-controls button[aria-pressed="true"] { background: #1f6263; color: #fff8e8; }
.an-plate-viewer .ac-note { min-height: 0; }
.an-viewer-sheet .ac-stage { width: min(100%,43.333vh); margin-inline: auto; }
.an-viewer-sheet .ac-stage img { width: 100%; max-height: none; }
.an-plate-viewer.is-enlarged .ac-stage { width: 1400px; }
.an-plate-viewer.is-enlarged .ac-stage img { width: 100%; }
.an-altered-plate .an-credit a { color: inherit; text-underline-offset: 3px; }
.an-review-note { font: 700 .8rem/1.5 var(--sans) !important; }
@media (max-width: 900px) {
  .ac-shared-controls { display: none; }
  .ac-local-controls { display: grid; }
  .an-room .ac-note { min-height: 0; }
  .an-altered-layout { grid-template-columns: 1fr; }
  .an-altered-plate { width: 100%; max-width: 580px; margin-inline: auto; }
}
.an-depth-label { max-width: 85ch; margin-top: 24px; }
.an-depth-label .an-credit { font-size: .875rem; }
.an-function-bridge { max-width: 85ch; margin-top: 28px; }
.an-related-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.an-related-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
.tools-voice-note { max-width: 80ch; margin-block: 32px; padding-block: 24px; border-block: 1px solid var(--line); scroll-margin-top: 105px; }
.tools-voice-note h3 { font: 400 1.8rem/1.2 var(--serif); }
.tools-voice-note p { line-height: 1.65; }
.tools-voice-note a { color: inherit; }
.an-neck-collection { padding: 0; }
.an-landmark-controls { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.an-landmark-controls button { min-height: 44px; padding: 9px 13px; border: 1px solid #998569; border-radius: 2px; background: transparent; color: #332722; font: 500 .84rem/1.3 var(--sans); cursor: pointer; }
.an-landmark-controls button:hover { background: #e8deca; }
.an-landmark-controls button[aria-pressed="true"] { background: #315b59; color: #fff9ef; border-color: #315b59; }
.an-landmark-controls button:focus-visible { outline: 3px solid #23666b; outline-offset: 3px; }
.an-room .an-landmark-feedback, .an-plate-viewer .an-landmark-feedback { color: #40352c; font: .88rem/1.5 var(--sans); margin: 0 0 16px; max-width: 80ch; }
.an-landmark-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.an-landmark-mark { fill: none; stroke: #fff7e7; stroke-width: 2.4; filter: drop-shadow(0 1px 1px #1f2929); }
.an-landmark-badge circle { fill: #244e4d; stroke: #fff7e7; stroke-width: 1.3; }
.an-landmark-badge text { fill: #fff7e7; font: 600 11px var(--sans); }
@media (max-width: 520px) {
  .an-landmark-controls { display: grid; grid-template-columns: 1fr 1fr; }
  .an-landmark-controls button { padding: 9px 7px; }
}
.an-room .an-neck-notice { display: block; margin: 0 0 16px; font: .8rem/1.5 var(--sans); }
.an-neck-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px,3vw,40px); }
.an-neck-mount { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 12px; box-sizing: border-box; border: 1px solid #947a58; background: #291b18; box-shadow: inset 0 0 0 5px #493129,0 6px 14px #30272220; cursor: zoom-in; }
.an-neck-mount img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.an-neck-photo figcaption { padding-top: 22px; }
.an-neck-photo figcaption h3 { margin-top: 10px; }
.an-room .an-neck-photo .an-credit, .an-room .an-neck-source { font: .8rem/1.65 var(--sans); }
.an-neck-source { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #b5a58b; }
.an-neck-collection a, .an-neck-atlas a { color: inherit; text-underline-offset: 3px; }
.an-neck-collection :focus-visible, .an-neck-atlas :focus-visible { outline: 3px solid #23666b; outline-offset: 4px; }
.an-neck-atlas { margin: 30px 0; border-block: 1px solid #b5a58b; }
.an-neck-atlas > summary { padding: 18px 0; min-height: 44px; box-sizing: border-box; font: 600 1rem/1.5 var(--sans); cursor: pointer; }
.an-neck-atlas > figure { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: 30px; align-items: start; padding: 12px 0 28px; }
.an-neck-atlas .an-plate-mount { max-width: 340px; }
@media (max-width: 900px) { .an-neck-pair { grid-template-columns: 1fr; } .an-neck-photo { max-width: 560px; width: 100%; margin-inline: auto; } .an-neck-mount { aspect-ratio: auto; min-height: 0; padding: 16px; } .an-neck-mount img { max-height: none; } .an-neck-atlas > figure { grid-template-columns: 1fr; gap: 12px; } }
.an-upright-stage { display: block; position: relative; width: 100%; max-width: 300px; aspect-ratio: 300/470; margin-inline: auto; }
.an-neck-mount .an-upright-stage img, .an-viewer-sheet .an-upright-stage img { position: absolute; left: 50%; top: 50%; width: 156.666667%; max-width: none; height: auto; max-height: none; margin: 0; transform: translate(-50%,-50%) rotate(90deg); }
.an-neck-mount .an-upright-dissection img, .an-viewer-sheet .an-upright-dissection img { width: 156.333333%; }
.an-viewer-sheet .an-upright-stage { width: min(100%,41.48936vh); max-width: none; }
.an-plate-viewer.is-enlarged .an-upright-stage { width: 600px; }
.an-plate-viewer.is-enlarged .an-viewer-sheet .an-upright-stage img { width: 156.666667%; }
.an-plate-viewer.is-enlarged .an-viewer-sheet .an-upright-dissection img { width: 156.333333%; }
.an-landmark-guide { border-top: 1px solid #b5a58b; margin: 24px 0 0; padding-top: 16px; max-width: 85ch; }
.an-landmark-guide p { margin-bottom: 0; }
.an-room .an-landmark-guide h3, .an-plate-viewer .an-landmark-guide h3 { font: 600 .95rem/1.5 var(--sans); margin: 0 0 12px; }
.an-plate-viewer .an-landmark-guide { margin: 24px 0 0; }
@media (max-width: 650px) { .an-neck-photo { max-width: 380px; } }
.an-clinical-note { border-left: 3px solid #7c3b39; padding: 1px 0 1px 20px; margin-top: 28px; }
.an-visible-note { border-top: 1px solid var(--an-rule); padding-top: 10px; }
.an-references { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 22px; }
.an-references > span { font: 700 .7rem var(--sans); text-transform: uppercase; letter-spacing: .1em; }
.an-references a { display: inline-flex; align-items: center; min-height: 44px; font: .85rem/1.5 var(--sans); color: inherit; text-underline-offset: 4px; }
.an-room-exit { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--an-rule); }
.an-room-exit p { max-width: 48ch; margin: 0; font-size: .93rem; }
.an-room-exit a { min-height: 44px; padding: 10px 0; color: inherit; font: 700 .8rem/1.4 var(--sans); text-decoration: none; }
.an-final-note { margin-top: 40px; }
.foundation-rail [data-case-resume] { width: 100%; min-height: 44px; margin-top: 12px; padding: 10px; font-size: .7rem; line-height: 1.4; white-space: normal; background: #4f1725; color: #f2ead9; border: 1px solid #4f1725; }
.tools-gallery > .tools-arrival { padding: clamp(40px,6vw,80px); margin: 0; }
.tools-gallery .tools-arrival h1 { font: 400 clamp(2.8rem,4vw,4.8rem)/1.08 var(--serif); }
.anatomy-gallery :is(a,button,summary):focus-visible { outline: 3px solid #aa6249; outline-offset: 4px; }
.an-maroon :is(a,button,summary):focus-visible { outline-color: #f5d28b; }
@media (max-width: 900px) { .an-salon, .an-tract-salon { grid-template-columns: 1fr; } .an-historical-plate { margin-inline: auto; } .an-square { max-width: 420px; } .anatomy-arrival { grid-template-columns: 1fr; gap: 20px; } .an-entry { max-width: 600px; } }
.anatomy-rail #caseResume { width: auto; min-height: 44px; padding: 10px 0; margin-top: 12px; background: transparent; border: 0; color: #4f1725; font: 600 .8rem/1.4 var(--sans); text-transform: none; letter-spacing: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 820px) {
  .an-room { scroll-margin-top: 88px; }
  .view-gallery .anatomy-rail { grid-template-columns: 36px minmax(0,1fr) auto; gap: 8px; padding: 8px 12px; overflow: visible; }
  .anatomy-rail #caseResume { grid-column: auto; max-width: 82px; margin: 0; padding: 4px; font-size: .7rem; }
  .tools-gallery .foundation-rail [data-case-resume] { grid-column: 1 / -1; margin: 0; }
}
@media (max-width: 600px) {
  .an-room { padding: 38px 22px; }
  .anatomy-arrival { padding: 44px 24px; }
  .anatomy-arrival h1 { font-size: 3rem; }
  .an-room-exit { display: block; }
  .an-room-exit a { display: block; margin-top: 14px; }
  .an-reservation { padding: 20px; }
  .an-spread .an-reservation, .an-landscape .an-reservation { min-height: 190px; }
  .an-salon { gap: 24px; }
}
