:root {
  --ink: #202222;
  --muted: #6d7271;
  --line: #d8dcd9;
  --paper: #fff;
  --wash: #f0f2ef;
  --accent: #a9402b;
  --green: #344940;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Arial, "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: inherit; font-weight: 500; letter-spacing: -.035em; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button { border-radius: 0; }
img { display: block; max-width: 100%; }
button:disabled { cursor: wait; opacity: .4; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.shell { width: min(1480px, 90%); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 5%; z-index: 30; padding: 14px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.masthead { height: 96px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; width: 174px; line-height: 1; }
.wordmark img { display: block; width: 100%; height: auto; }
.masthead .mission { font-size: 11px; letter-spacing: .08em; }
.masthead nav { display: flex; gap: 30px; align-items: center; margin-left: auto; font-size: 12px; }
.masthead nav a { padding-block: 17px; }
.masthead nav a:hover { color: var(--accent); }
.masthead nav a[aria-current=page] { border-bottom: 1px solid var(--ink); }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 10px; line-height: 1.7; letter-spacing: .13em; font-weight: 600; }
.kicker::before { content: ""; width: 5px; height: 5px; background: var(--accent); flex: none; }
.home-hero { display: grid; grid-template-columns: 33% minmax(0, 1fr); min-height: 760px; padding-block: 40px; gap: 4%; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding-block: 32px; align-items: flex-start; }
.hero-copy h1 { font-size: clamp(34px, 3.6vw, 57px); line-height: 1.5; margin-top: 36px; font-weight: 500; letter-spacing: -.045em; }
.hero-copy .statement { font-size: 13px; line-height: 2.2; margin-top: 25px; color: var(--muted); }
.hero-copy .hero-mission { font-size: 12px; letter-spacing: .09em; }
.hero-copy .text-link { margin-top: 33px; }
.hero-footnote { margin-top: auto; padding-top: 48px; font-size: 9px; letter-spacing: .15em; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 44px; border-bottom: 1px solid currentColor; font-size: 12px; }
.text-link span, .solid-link span { font-family: Arial, sans-serif; font-size: 18px; }
.text-link:hover { color: var(--accent); }
.solid-link { min-height: 51px; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 15px 21px; background: var(--ink); color: white; font-size: 12px; transition: background .2s; }
.solid-link:hover { background: #45544b; }
.model-stage { position: relative; min-width: 0; background: var(--wash); display: flex; flex-direction: column; overflow: hidden; }
.stage-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 27px 0; font-size: 9px; letter-spacing: .11em; color: #555c58; z-index: 1; }
.stage-top .stage-label { display: flex; align-items: center; gap: 8px; }
.live-dot { width: 5px; height: 5px; background: #526955; border-radius: 50%; }
model-viewer { width: 100%; display: block; flex: 1 1 auto; height: 465px; min-height: 320px; --poster-color: transparent; --progress-bar-color: var(--accent); --progress-bar-height: 2px; touch-action: pan-y; }
model-viewer:focus-visible { outline-offset: -3px; }
.model-placeholder { position: absolute; inset: 15% 20%; background: transparent; display: grid; place-items: center; pointer-events: none; color: var(--muted); font-size: 12px; }
.model-loading { position: absolute; bottom: 7px; left: 24px; font-size: 10px; color: var(--muted); letter-spacing: .02em; }
.model-error { position: absolute; inset: 75px 25px 110px; display: grid; place-content: center; gap: 16px; text-align: center; padding: 24px; background: var(--wash); z-index: 3; font-size: 13px; line-height: 1.9; }
.model-error button { justify-self: center; border: 1px solid var(--ink); background: transparent; padding: 12px 20px; }
.stage-caption { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 0 27px 20px; }
.stage-caption h2 { font-size: 20px; letter-spacing: .02em; line-height: 1.6; }
.stage-caption h2 small { font-size: 12px; padding-left: 9px; font-weight: 400; }
.stage-caption p { font-size: 10px; color: var(--muted); margin-top: 5px; }
.stage-caption .model-detail-link { font-size: 12px; min-height: 44px; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid #a6b0a8; }
.model-detail-link:hover { color: var(--accent); }
.stage-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 0 27px; padding: 15px 0 20px; border-top: 1px solid #d0d7cf; }
.model-status { font-size: 10px; color: var(--muted); }
.viewer-buttons { display: flex; align-items: center; gap: 6px; }
.viewer-buttons button { border: 1px solid #bac3ba; background: transparent; min-width: 44px; min-height: 44px; padding: 10px 12px; font-size: 11px; }
.viewer-buttons button:hover, .viewer-buttons button[aria-pressed=true] { background: var(--ink); color: white; border-color: var(--ink); }
.viewer-buttons .control-symbol { font-family: Arial, sans-serif; font-size: 17px; padding-right: 5px; }
.model-stage.is-expanded, .model-stage:fullscreen { position: fixed; inset: 0; z-index: 100; width: 100%; height: 100dvh; }
.model-stage.is-expanded model-viewer, .model-stage:fullscreen model-viewer { min-height: 0; height: auto; }
body.viewer-expanded { overflow: hidden; }
.section-block { border-top: 1px solid var(--line); padding-block: 64px; scroll-margin-top: 25px; }
.section-head { display: flex; align-items: start; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.section-title h2 { font-size: 37px; letter-spacing: -.045em; margin-top: 11px; }
.section-title .section-en { font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.section-head .section-note { font-size: 12px; line-height: 2; color: var(--muted); padding-top: 12px; max-width: 340px; }
.news-list { list-style: none; padding: 0; margin: 0 0 0 25%; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 95px 75px 1fr 20px; gap: 20px; align-items: center; padding: 25px 0; font-size: 13px; transition: color .15s; }
.news-list a:hover { color: var(--accent); }
.news-list time { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted); }
.news-category { font-size: 9px; letter-spacing: .06em; border: 1px solid var(--line); padding: 5px 8px; text-align: center; color: var(--muted); }
.news-title { line-height: 1.8; }
.news-arrow { text-align: right; font-size: 18px; }
.fieldwork-section { padding-top: 72px; }
.fieldwork-section .section-title h2 { font-size: clamp(42px, 4.7vw, 70px); margin-top: 0; line-height: 1.2; }
.fieldwork-section .section-head { align-items: end; margin-bottom: 32px; }
.fieldwork-section .section-en { display: block; margin-top: 15px; font-size: 12px; letter-spacing: .03em; }
.fieldwork-section .section-note { padding-bottom: 3px; }
.fieldwork-section .explore { border-radius: 0; border-color: var(--line); }
.fieldwork-section .map-panel { background: #f4f5f2; }
.fieldwork-section .region-card { background: white; }
.fieldwork-section .region-title h2 { font-family: inherit; }
.fieldwork-section .region-image-link { border-radius: 0; overflow: hidden; }
.fieldwork-section .region-image-link img { object-fit: cover; transform: scale(1.16); }
.fieldwork-section .primary-link { background: var(--ink); border-radius: 0; }
.fieldwork-section .eyebrow { color: var(--muted); }
.fieldwork-section .open-badge { background: #e9ede7; color: #3b5141; }
.fieldwork-section .map-viewport { min-height: 450px; }
.fieldwork-section .region-copy { font-size: 12px; }
.map-caption, .region-card { color: #535a53; }
.map-caption .legend { font-size: 10px; }
.site-footer { margin-top: 35px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 36px; }
.site-footer .wordmark, .portal-footer .wordmark { width: 136px; }
.site-footer p, .site-footer small { font-size: 10px; color: var(--muted); }
.site-footer .footer-links { display: flex; gap: 22px; font-size: 11px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; font-size: 10px; color: var(--muted); padding-block: 28px 0; line-height: 1.8; }
.breadcrumb a:hover { text-decoration: underline; }
.region-hero { display: grid; grid-template-columns: 31% minmax(0,1fr); gap: 6%; padding-block: 32px 55px; }
.region-heading { padding-top: 30px; }
.region-heading h1 { font-size: clamp(70px, 7.5vw, 112px); line-height: 1.2; margin-top: 25px; letter-spacing: -.06em; }
.region-heading .region-english { font-size: 14px; letter-spacing: .3em; display: block; margin: 17px 0 36px; }
.region-heading .region-description { font-size: 13px; line-height: 2.2; color: var(--muted); }
.region-heading .region-caption { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 19px; font-size: 10px; color: var(--muted); }
.region-heading .text-link { margin-top: 22px; }
.region-hero model-viewer { height: 500px; min-height: 300px; }
.timeline-intro { border-top: 1px solid var(--line); padding-top: 42px; }
.timeline-intro .section-head { align-items: end; margin-bottom: 26px; }
.era-index { position: sticky; top: 0; z-index: 5; background: #fffffff2; backdrop-filter: blur(12px); border-block: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; }
.era-index a { display: flex; flex: 1; gap: 14px; padding: 20px 18px; font-size: 14px; align-items: center; justify-content: center; }
.era-index a span { font-size: 9px; color: var(--muted); }
.era-index a:hover, .era-index a[aria-current=location] { background: var(--ink); color: white; }
.era-index a:hover span, .era-index a[aria-current=location] span { color: #c5cdc8; }
.timeline-era { display: grid; grid-template-columns: 29% minmax(0,1fr); gap: 8%; padding-block: 58px; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.era-label .era-number { font-size: 10px; color: var(--accent); }
.era-label h2 { margin-block: 17px 10px; font-size: 42px; letter-spacing: -.03em; }
.era-label .era-period { font-size: 10px; line-height: 1.9; color: var(--muted); }
.era-label .era-summary { font-size: 13px; line-height: 2.15; margin-top: 28px; color: #535a56; }
.record-card { display: block; scroll-margin-top: 82px; }
.record-image { position: relative; background: var(--wash); overflow: hidden; }
.record-image img { width: 100%; height: 360px; object-fit: cover; transition: transform .5s; }
.record-image .legacy-image { transform: scale(1.12); }
.record-card:hover .record-image img { transform: scale(1.04); }
.record-card:hover .record-image .legacy-image { transform: scale(1.16); }
.record-badge { position: absolute; top: 20px; left: 20px; background: #ffffffed; padding: 8px 12px; font-size: 10px; letter-spacing: .1em; }
.record-caption { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 22px; }
.record-caption h3 { font-size: 25px; letter-spacing: -.025em; }
.record-caption p { font-size: 10px; line-height: 1.9; color: var(--muted); margin-top: 7px; }
.record-caption .record-open { font-size: 11px; min-width: 85px; text-align: right; }
.record-caption .record-open span { display: block; font-size: 24px; margin-bottom: 8px; }
.record-card:hover .record-caption h3 { color: var(--accent); }
.history-detail { border-top: 1px solid var(--line); margin-top: 30px; }
.history-detail>summary { padding-block: 19px; font-size: 11px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.history-detail>summary::-webkit-details-marker { display: none; }
.history-detail>summary::after { content: "+"; font-size: 20px; }
.history-detail[open]>summary::after { content: "−"; }
.era-copy { font-size: 13px; color: #545b55; line-height: 2.15; padding-bottom: 15px; }
.era-copy p+p { margin-top: 15px; }
.era-events { font-size: 12px; line-height: 1.95; margin: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.era-events>div { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 20px; }
.era-events>div+div { margin-top: 22px; }
.era-events dt { font-size: 10px; color: var(--muted); }
.era-events dd { margin: 0; }
.era-events strong { display: block; margin-bottom: 5px; font-weight: 500; }
.era-sources { font-size: 11px; padding-block: 15px; border-top: 1px solid var(--line); }
.era-sources summary { min-height: 30px; }
.era-sources ul { padding-left: 20px; line-height: 2; }
.era-sources a { text-decoration: underline; text-underline-offset: 3px; }
.era-text-only { min-height: 0; }
.era-text-only .era-summary { margin-top: 0; font-size: 15px; line-height: 2; }
.era-text-only .catalog-note { font-size: 10px; color: var(--muted); margin-top: 16px; }
.era-text-only .history-detail { margin-top: 20px; }
.period-caption { margin-top: 25px; font-size: 10px; line-height: 1.9; color: var(--muted); }
.region-end { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 42px 0 15px; }
.region-end p { font-size: 12px; line-height: 2; color: var(--muted); }
.object-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding-block: 32px; }
.object-heading h1 { margin-top: 18px; font-size: 38px; }
.object-heading h1 span { display: block; font-size: 17px; padding: 10px 0 0; color: var(--muted); font-weight: 400; }
.object-heading>p { font-size: 11px; color: var(--muted); line-height: 2; }
.object-main { display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 40px; }
.object-stage model-viewer { height: 550px; }
.object-sidebar { display: flex; flex-direction: column; padding-top: 20px; }
.object-sidebar .kicker { margin-bottom: 25px; }
.object-meta { margin: 0; }
.object-meta>div { border-top: 1px solid var(--line); padding-block: 15px; }
.object-meta dt { font-size: 9px; letter-spacing: .03em; color: var(--muted); margin-bottom: 7px; }
.object-meta dd { font-size: 12px; margin: 0; line-height: 1.9; }
.quality-control { margin: 25px 0 0; padding: 0; border: 0; }
.quality-control legend { font-size: 10px; margin-bottom: 12px; }
.quality-size { font-size: 10px; color: var(--muted); line-height: 1.8; margin-top: 12px; }
.record-context-note { border-left: 2px solid var(--line); padding-left: 17px; font-size: 12px; }
.record-sources { padding-left: 18px; margin-top: 20px; }
.record-sources li { margin: 9px 0; }
.record-sources a { text-decoration: underline; text-underline-offset: 3px; }
.record-info details { margin-top: 18px; }
.record-info summary { cursor: pointer; }
.quality-options { display: flex; gap: 7px; }
.quality-options label { flex: 1; }
.quality-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quality-options label span { display: block; text-align: center; border: 1px solid var(--line); padding: 13px 8px; font-size: 11px; cursor: pointer; }
.quality-options input:checked+span { background: var(--ink); border-color: var(--ink); color: white; }
.quality-options input:focus-visible+span { outline: 2px solid var(--accent); outline-offset: 3px; }
.quality-options input:disabled+span { opacity: .4; cursor: wait; }
.object-sidebar .operation-help { font-size: 10px; line-height: 2; margin-top: 27px; color: var(--muted); }
.object-sidebar .text-link { margin-top: auto; padding-top: 24px; }
.object-about { display: grid; grid-template-columns: 29% minmax(0,1fr); gap: 8%; padding-block: 60px; border-bottom: 1px solid var(--line); }
.object-about h2 { font-size: 24px; }
.object-about .description { max-width: 750px; font-size: 14px; line-height: 2.2; color: #515752; }
.object-about .description p+p { margin-top: 17px; }
.object-about .description a { display: inline-block; font-size: 12px; margin-top: 22px; text-decoration: underline; text-underline-offset: 5px; }
.object-about .record-info { font-size: 11px; line-height: 2; color: var(--muted); }
.related-records { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.related-records .record-image img { height: 265px; }
.related-records .record-caption h3 { font-size: 20px; }
.no-script { padding: 25px 5%; font-size: 13px; background: #f7f7ed; }
@media (min-width:1800px) {
  .home-hero { min-height: 790px; }
  .home-hero model-viewer { height: 515px; }
}
@media (max-width:1100px) {
  .masthead .mission { display: none; }
  .masthead nav { gap: 23px; }
  .home-hero { grid-template-columns: 34% minmax(0,1fr); gap: 3%; min-height: 660px; }
  .hero-copy h1 { font-size: 35px; }
  .hero-copy .statement { font-size: 12px; }
  .hero-footnote { font-size: 8px; }
  .stage-caption { padding-inline: 20px; align-items: start; }
  .stage-caption h2 { font-size: 18px; }
  .stage-caption h2 small { display: block; padding: 3px 0 0; font-size: 11px; }
  .stage-controls { margin-inline: 20px; }
  .model-status { flex: 1 1 100%; }
  .news-list { margin-left: 15%; }
  .region-hero { grid-template-columns: 29% minmax(0,1fr); gap: 5%; }
  .region-heading h1 { font-size: 80px; }
  .region-heading .region-description { font-size: 12px; }
  .object-main { grid-template-columns: minmax(0,1fr) 210px; gap: 25px; }
  .record-image img { height: 300px; }
  .site-footer { flex-wrap: wrap; }
}
@media (max-width:760px) {
  .shell { width: 90%; }
  .masthead { height: 77px; gap: 14px; }
  .wordmark { width: 126px; }
  .masthead nav { gap: 18px; font-size: 10px; }
  .masthead .nav-about { display: none; }
  .home-hero { display: flex; flex-direction: column; padding-block: 28px 35px; gap: 27px; }
  .hero-copy { padding: 0; }
  .kicker { font-size: 9px; }
  .hero-copy h1 { font-size: clamp(30px,6.6vw,44px); line-height: 1.5; margin-top: 18px; }
  .hero-copy h1 br { display: none; }
  .hero-copy .statement { margin-top: 13px; font-size: 12px; line-height: 1.95; max-width: 35em; }
  .hero-copy .statement br { display: none; }
  .hero-copy .text-link, .hero-footnote { display: none; }
  .stage-top { padding: 18px 18px 0; font-size: 8px; gap: 10px; }
  model-viewer { height: 370px; min-height: 300px; flex: auto; }
  .stage-caption { padding: 0 18px 17px; gap: 12px; }
  .stage-caption h2 { font-size: 19px; }
  .stage-caption h2 small { display: inline; padding-left: 7px; }
  .stage-caption p { font-size: 9px; line-height: 1.7; }
  .stage-caption .model-detail-link { font-size: 10px; gap: 14px; white-space: nowrap; }
  .stage-controls { margin-inline: 18px; padding-block: 12px 16px; gap: 8px; }
  .model-status { flex: auto; font-size: 9px; }
  .viewer-buttons { gap: 5px; }
  .viewer-buttons button { font-size: 10px; padding: 10px; }
  .viewer-buttons .control-symbol { font-size: 15px; }
  .model-stage.is-expanded model-viewer, .model-stage:fullscreen model-viewer { flex: 1; }
  .section-block { padding-block: 38px; }
  .section-head { display: block; margin-bottom: 25px; }
  .section-title h2 { font-size: 26px; margin-top: 10px; }
  .section-title .section-en { font-size: 9px; }
  .section-head .section-note { font-size: 11px; line-height: 1.9; padding-top: 16px; }
  .news-list { margin-left: 0; }
  .news-list a { grid-template-columns: 83px 70px 1fr 15px; gap: 12px; padding-block: 20px; }
  .news-list time { font-size: 10px; }
  .news-category { font-size: 8px; }
  .news-title { grid-column: 1/4; grid-row: 2; font-size: 13px; }
  .news-arrow { grid-column: 4; grid-row: 1/3; }
  .fieldwork-section .section-head { display: block; }
  .fieldwork-section .section-title h2 { font-size: 44px; }
  .fieldwork-section .section-en { font-size: 11px; margin-top: 10px; }
  .fieldwork-section .section-note { max-width: none; }
  .fieldwork-section .map-viewport { min-height: 290px; }
  .fieldwork-section .explore { display: block; }
  .site-footer { margin-top: 25px; gap: 20px; padding-block: 28px; }
  .site-footer .wordmark, .portal-footer .wordmark { width: 116px; }
  .site-footer .footer-links { font-size: 10px; }
  .site-footer p { flex: 1 1 100%; order: 3; }
  .site-footer small { margin-left: auto; font-size: 9px; }
  .breadcrumb { padding-top: 20px; font-size: 9px; }
  .region-hero { display: block; padding-block: 18px 30px; }
  .region-heading { padding: 0 0 26px; }
  .region-heading h1 { display: inline-block; font-size: 70px; margin-top: 12px; }
  .region-heading .region-english { display: inline-block; font-size: 11px; margin: 0 0 0 18px; }
  .region-heading .region-description { margin-top: 16px; font-size: 12px; max-width: 38em; }
  .region-heading .region-caption, .region-heading .text-link { display: none; }
  .region-hero model-viewer { height: 365px; }
  .timeline-intro { padding-top: 30px; }
  .era-index { gap: 0; }
  .era-index a { font-size: 12px; padding: 17px 5px; flex-direction: column; gap: 5px; }
  .era-index a span { font-size: 8px; }
  .timeline-era { display: block; padding-block: 33px; scroll-margin-top: 68px; }
  .era-label h2 { font-size: 32px; margin-block: 9px 8px; }
  .era-label .era-period { font-size: 10px; }
  .era-label .era-summary { margin-top: 18px; font-size: 12px; line-height: 2; }
  .era-records { margin-top: 23px; }
  .record-image img { height: 260px; }
  .record-badge { top: 15px; left: 15px; padding: 7px 9px; font-size: 9px; }
  .record-caption { padding-top: 17px; gap: 15px; }
  .record-caption h3 { font-size: 22px; line-height: 1.5; }
  .record-caption p { font-size: 9px; }
  .record-caption .record-open { font-size: 10px; min-width: 72px; }
  .record-caption .record-open span { font-size: 20px; margin-bottom: 4px; }
  .history-detail { margin-top: 22px; }
  .era-copy { font-size: 12px; }
  .era-events>div { grid-template-columns: 77px minmax(0,1fr); gap: 13px; }
  .era-events { font-size: 11px; }
  .era-text-only .era-summary { font-size: 13px; }
  .period-caption { font-size: 9px; }
  .region-end { display: block; padding-top: 30px; }
  .region-end p { font-size: 11px; margin-bottom: 15px; }
  .object-heading { display: block; padding-block: 26px; }
  .object-heading h1 { font-size: 31px; margin-top: 12px; }
  .object-heading h1 span { font-size: 16px; padding-left: 10px; }
  .object-heading>p { font-size: 10px; margin-top: 13px; }
  .object-main { display: flex; flex-direction: column; gap: 25px; }
  .object-stage model-viewer { height: 405px; }
  .object-sidebar { padding-top: 0; display: block; }
  .object-sidebar>.kicker { display: none; }
  .object-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
  .object-meta dd { font-size: 11px; }
  .quality-control { margin-top: 13px; max-width: 250px; }
  .object-sidebar .operation-help { margin-top: 18px; }
  .object-sidebar .text-link { margin-top: 12px; padding-top: 0; }
  .object-about { display: block; padding-block: 34px; margin-top: 10px; border-top: 1px solid var(--line); }
  .object-about h2 { font-size: 22px; margin-bottom: 22px; }
  .object-about .description { font-size: 13px; }
  .related-records { grid-template-columns: 1fr; gap: 30px; }
  .related-records .record-image img { height: 240px; }
}
@media (max-width:380px) {
  .wordmark { width: 116px; }
  .masthead nav { gap: 12px; font-size: 9px; }
  .masthead .nav-updates { display: none; }
  .hero-copy h1 { font-size: 30px; }
  .stage-caption h2 small { display: block; padding-left: 0; }
  .model-status { flex: 1 1 100%; }
  .viewer-buttons { width: 100%; }
  .viewer-buttons button { flex: 1; }
  .fieldwork-section .section-title h2 { font-size: 39px; }
}
@media (prefers-reduced-motion:reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Portal entry and connected records */
main { animation: portal-enter .36s cubic-bezier(.2,.7,.3,1) both; }
.portal-leaving main { animation: none; opacity: 0; transform: translateY(-8px); transition: opacity .16s, transform .16s; }
@keyframes portal-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-explore { margin-top: 33px; }
.hero-explore-note { font-size: 10px; color: var(--muted); margin-top: 12px; }
.fieldwork-invitation { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 9%; padding-block: 75px 35px; }
.home-page .invitation-heading { position: relative; isolation: isolate; }
.home-page .invitation-heading::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: -52px; right: -90px; width: 112%; height: calc(100% + 90px); background: url("./assets/japan-digital-network.svg") center / contain no-repeat; opacity: .8; }
.invitation-heading h2 { font-size: clamp(55px,6vw,88px); line-height: .97; letter-spacing: -.06em; margin-top: 23px; }
.invitation-heading h2>span { display: block; font-size: 17px; letter-spacing: .02em; line-height: 1.9; margin-top: 23px; }
.invitation-copy { padding-top: 43px; }
.invitation-copy>p:first-child { color: var(--muted); font-size: 13px; line-height: 2.2; }
.invitation-copy .solid-link { min-width: 260px; margin-top: 26px; }
.invitation-note { font-size: 10px; color: var(--muted); margin-top: 12px; }
.concept-notes { grid-column: 1/-1; padding-top: 20px; }
.concept-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; margin-bottom: 25px; }
.concept-heading h3 { font-size: 17px; letter-spacing: .035em; }
.concept-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5%; }
.concept-item { padding-top: 22px; border-top: 1px solid var(--line); }
.concept-item h4 { margin: 0 0 17px; font-size: 24px; font-weight: 500; }
.concept-item h4 span { display: block; font-size: 9px; letter-spacing: .12em; color: var(--muted); margin-bottom: 13px; }
.concept-item>p { font-size: 12px; line-height: 2.1; color: #535953; }
.concept-keywords { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 0; margin: 23px 0 0; font-size: 10px; line-height: 1.9; color: #646d64; }
.concept-keywords li { white-space: nowrap; }
.invitation-visual { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; position: relative; margin-top: 12px; }
.invitation-image { height: 280px; overflow: hidden; position: relative; background: #e9ede5; }
.invitation-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.13); transition: transform .85s cubic-bezier(.2,.7,.3,1); }
.invitation-image:nth-child(2) img { transition-delay: .06s; }
.invitation-image:nth-child(3) img { transition-delay: .12s; }
.invitation-visual:hover img { transform: scale(1.23); }
.invitation-image>span { position: absolute; top: 19px; left: 19px; background: #ffffffec; padding: 7px 10px; font-size: 9px; letter-spacing: .08em; }
.invitation-arrow { position: absolute; right: 22px; bottom: 22px; height: 56px; width: 56px; display: grid; place-items: center; background: white; border-radius: 50%; font-size: 26px; transition: transform .3s; }
.invitation-visual:hover .invitation-arrow { transform: rotate(45deg); }
.reveal-ready { opacity: 0; transform: translateY(20px); transition: opacity .65s, transform .75s cubic-bezier(.2,.7,.3,1); }
.reveal-ready.is-revealed { opacity: 1; transform: none; }
.region-collection { padding-top: 18px; min-width: 0; }
.region-collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 24px; margin: 22px 0 20px; }
.region-collection-grid a { display: flex; flex-direction: column; gap: 12px; }
.collection-image { display: block; aspect-ratio: 1.65; background: #e9ede5; overflow: hidden; }
.collection-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.13); transition: transform .6s; }
.region-collection-grid a:hover img { transform: scale(1.22); }
.region-collection-grid a>span:last-child { display: flex; justify-content: space-between; font-size: 12px; }
.region-collection-grid b { font-weight: 400; }
.collection-stones .collection-image { display: flex; align-items: center; justify-content: center; gap: 20px; font-family: "Yu Mincho",serif; font-size: 65px; color: #697b60; }
.collection-stones small { font-family: Arial,sans-serif; font-size: 9px; letter-spacing: .1em; }
.record-image .scan-poster, .collection-image .scan-poster { object-fit: contain; background: #f1f1ef; transform: none; }
.record-card:hover .record-image .scan-poster, .region-collection-grid a:hover .scan-poster { transform: scale(1.035); }
.record-navigation { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); margin-top: 28px; }
.record-navigation a { display: flex; align-items: center; gap: 22px; padding: 23px 0; font-size: 14px; }
.record-navigation a:last-child { border-left: 1px solid var(--line); justify-content: end; }
.record-navigation a>span:not(:has(small)) { font-size: 22px; }
.record-navigation small { display: block; font-size: 9px; color: var(--muted); margin-bottom: 8px; }
.record-navigation a:hover { color: var(--accent); }
.object-main>.record-navigation { grid-column: 1; grid-row: 2; margin-top: -15px; }
.object-main>.object-sidebar { grid-column: 2; grid-row: 1/3; }
.embedded-stage { position: relative; min-width: 0; height: 620px; background: var(--wash); overflow: hidden; display: flex; flex-direction: column; }
.embedded-launch { border: 0; padding: 0; background: var(--wash); width: 100%; flex: 1; overflow: hidden; position: relative; }
.embedded-launch>img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: brightness(.72); transition: transform .7s; }
.embedded-launch:hover>img { transform: scale(1.19); }
.embedded-action { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: white; font-size: 23px; text-shadow: 0 1px 8px #2228; }
.embedded-action>span { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid #ffffffae; border-radius: 50%; font-size: 30px; }
.embedded-action small { font-size: 12px; }
.embedded-stage iframe { order: -1; width: 100%; flex: 1; min-height: 0; border: 0; }
.embedded-status { padding: 16px 22px; font-size: 10px; line-height: 1.9; color: var(--muted); }
.embedded-stones { display: grid; place-items: center; height: 100%; font-family: "Yu Mincho",serif; font-size: 260px; color: #8f9e83; background: #344335; }
#seven-stones { scroll-margin-top: 82px; }
@media (max-width:760px) {
  .hero-explore { display: flex; margin-top: 22px; min-height: 46px; padding: 12px 16px; font-size: 11px; }
  .hero-explore-note { font-size: 9px; margin-top: 9px; }
  .fieldwork-invitation { display: block; padding-top: 40px; }
  .concept-notes { padding-top: 34px; }
  .concept-heading { display: block; margin-bottom: 22px; }
  .concept-heading h3 { font-size: 17px; margin-top: 12px; }
  .concept-grid { grid-template-columns: 1fr; gap: 27px; }
  .concept-item { padding-top: 21px; }
  .concept-item h4 { font-size: 23px; margin-bottom: 13px; }
  .concept-item h4 span { display: inline-block; font-size: 8px; margin: 0 20px 0 0; vertical-align: middle; }
  .concept-keywords { margin-top: 15px; }
  .invitation-heading h2 { font-size: 63px; }
  .home-page .invitation-heading::before { top: -24px; right: -10px; width: 104%; height: calc(100% + 24px); opacity: .6; }
  .invitation-heading h2>span { font-size: 14px; margin-top: 18px; }
  .invitation-copy { padding-top: 22px; }
  .invitation-copy>p:first-child { font-size: 12px; }
  .invitation-copy .solid-link { min-width: 240px; }
  .invitation-visual { margin-top: 30px; gap: 7px; }
  .invitation-image { height: 190px; }
  .invitation-image>span { top: 9px; left: 7px; font-size: 7px; padding: 5px; }
  .invitation-arrow { right: 10px; bottom: 10px; width: 35px; height: 35px; font-size: 20px; }
  .region-collection { padding-top: 4px; }
  .region-collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px 15px; margin-top: 17px; }
  .collection-image { aspect-ratio: 1.17; }
  .region-collection-grid a>span:last-child { font-size: 11px; }
  .collection-stones .collection-image { font-size: 56px; flex-direction: column; gap: 4px; }
  .collection-stones small { font-size: 7px; }
  .record-navigation { margin-top: 22px; }
  .object-main>.record-navigation { margin-top: 0; width: 100%; }
  .record-navigation a { gap: 13px; padding: 20px 0; font-size: 11px; }
  .record-navigation a:last-child { padding-left: 15px; }
  .record-navigation small { font-size: 8px; }
  .embedded-stage { height: 470px; }
  .embedded-status { padding: 12px 16px; font-size: 9px; }
  .embedded-action { font-size: 20px; }
}
@media (prefers-reduced-motion:reduce) {
  .reveal-ready { opacity: 1; transform: none; }
  main { animation: none; }
  .portal-leaving main { opacity: 1; transform: none; }
}
