/* AI 探索：沿用全站字体、配色和圆角。 */
.exploration-page { color: var(--k-ink); font-family: var(--font-sans); }
.explore-shell { width: min(1080px, calc(100% - 64px)); margin: 0 auto; padding: 150px 0 88px; }
.explore-intro { margin-bottom: 48px; }
.explore-intro h1 { margin: 0 0 18px; font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 700; line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
.explore-intro > p { max-width: 56ch; color: var(--k-muted); font-size: var(--fs-lead); line-height: 1.8; }
.explore-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.explore-card { min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--k-card); }
.explore-link { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.explore-image { overflow: hidden; aspect-ratio: 16 / 10; background: var(--k-surface); }
.explore-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.explore-image-rail { display: grid; align-items: center; background: #f5f5f0; }
.explore-image-rail img { height: auto; object-fit: contain; }
.explore-image-tarot { position: relative; display: flex; align-items: center; justify-content: center; gap: 5%; background: #e9e2d6; }
.explore-image-tarot::before { position: absolute; inset: 0; content: ''; background: url('assets/ai-exploration/tarot/paper-ivory.png') center / 512px; opacity: .12; }
.explore-image-tarot img { position: relative; width: 28%; height: 78%; object-fit: contain; filter: drop-shadow(5px 12px 7px #43352324); }
.explore-image-tarot img:first-child { transform: rotate(-9deg) translateY(3%); }
.explore-image-tarot img:last-child { transform: rotate(9deg) translateY(-3%); }
.explore-link:hover .explore-image-tarot img:first-child { transform: rotate(-7deg) translateY(3%); }
.explore-link:hover .explore-image-tarot img:last-child { transform: rotate(7deg) translateY(-3%); }
.explore-copy { flex: 1; padding: 25px 28px 29px; }
.explore-meta { margin: 0 0 12px; color: #656565; font-size: var(--fs-small); line-height: 1.5; }
.explore-copy h2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px; margin: 0 0 12px; font-family: var(--font-display); font-size: var(--fs-title); font-weight: 600; letter-spacing: -.025em; line-height: 1.45; text-wrap: balance; }
.explore-copy h2 .iconfont { flex: 0 0 auto; font-size: 18px; transition: transform .2s; }
.explore-copy > p:last-child { margin: 0; color: var(--k-muted); font-size: var(--fs-body); line-height: 1.8; }
.explore-link:hover .explore-image img { transform: scale(1.025); }
.explore-link:hover h2 .iconfont { transform: translateX(3px); }
.explore-link:focus-visible { outline: 3px solid var(--k-ink); outline-offset: -3px; border-radius: var(--radius); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--k-ink); font-size: var(--fs-body); text-decoration: underline; text-underline-offset: 5px; }
.text-link:focus-visible, .case-button:focus-visible, .chapter-links a:focus-visible { outline: 2px solid var(--k-ink); outline-offset: 5px; }
.case-shell { width: min(var(--detail-width), calc(100% - 64px)); }
.case-intro { margin-bottom: 32px; }
.case-intro .text-link { margin-bottom: 26px; text-decoration: none; }
.case-intro h1 { max-width: 17ch; }
.tarot-case .case-intro h1 { max-width: none; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; color: #656565; font-size: var(--fs-small); }
.demo-wrap { border-radius: var(--radius); overflow: hidden; background: #f5f5f0; }
.demo-wrap iframe { display: block; width: 100%; height: 560px; border: 0; background: #f5f5f0; }
.demo-caption { display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding: 18px 0; }
.demo-caption p { color: var(--k-muted); font-size: var(--fs-small); line-height: 1.7; margin: 0; }
.tarot-demo iframe { height: 700px; background: #e9e2d6; }
.tarot-demo + .demo-caption { justify-content: space-between; }
.case-button { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--k-border); border-radius: var(--radius-pill); background: #fff; color: var(--k-ink); font-size: var(--fs-body); text-decoration: none; transition: background-color .2s; }
.case-button:hover { background: var(--k-surface); }
.chapter-links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 24px; padding: 22px 0; border-top: 1px solid var(--k-border); border-bottom: 1px solid var(--k-border); }
.chapter-links a { color: var(--k-muted); font-size: var(--fs-body); text-decoration: none; }
.chapter-links a:hover { color: var(--k-ink); text-decoration: underline; text-underline-offset: 5px; }
.case-section { padding-top: 84px; scroll-margin-top: 100px; }
.case-section h2, .method-note h2 { margin: 0 0 20px; font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 600; line-height: 1.3; letter-spacing: -.03em; text-wrap: balance; }
.section-lead { max-width: 68ch; margin: 0 0 32px; font-size: var(--fs-lead); color: var(--k-muted); line-height: 1.9; }
.interaction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.interaction-grid figure { margin: 0; min-width: 0; }
.interaction-grid img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
.interaction-grid h3 { margin: 18px 0 8px; font-size: var(--fs-card-title); font-weight: 600; }
.interaction-grid p { margin: 0; font-size: var(--fs-body); color: var(--k-muted); line-height: 1.8; }
.workflow-step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; padding: 30px 0; border-top: 1px solid var(--k-border); }
.workflow-number { font-size: var(--fs-small); color: var(--k-muted); font-variant-numeric: tabular-nums; padding-top: 5px; }
.workflow-step h3, .tech-copy h3 { margin: 0 0 12px; font-size: var(--fs-title); font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.workflow-step p, .tech-copy p, .method-note > p:not(.section-lead) { margin: 0 0 14px; max-width: 70ch; color: var(--k-muted); font-size: var(--fs-lead); line-height: 1.9; }
.workflow-step p:last-child, .tech-copy p:last-child { margin-bottom: 0; }
.workflow-step strong, .tech-copy strong { color: var(--k-ink); font-weight: 500; }
.workflow-example { margin: 20px 0 0; padding: 20px 24px; background: #e5eae3; border-radius: var(--radius-sm); }
.workflow-example span { display: block; margin-bottom: 8px; color: #475248; font-size: var(--fs-small); }
.workflow-example p { color: #343e35; font-size: var(--fs-body); }
.tech-row { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; padding: 36px 0; border-top: 1px solid var(--k-border); }
.tech-visual { display: flex; position: relative; justify-content: center; align-items: center; min-height: 300px; overflow: hidden; border-radius: var(--radius); background: #e5eae3; }
.tech-visual img { display: block; width: 46%; height: 280px; object-fit: contain; }
.tech-visual .asset-label { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: space-around; color: #475248; font-size: var(--fs-small); }
.tech-diagram { width: 100%; height: auto; }
.tarot-faces, .tarot-materials, .tarot-motion { background: #e9e2d6; }
.tarot-faces { gap: 20px; padding: 24px 24px 48px; }
.tarot-faces img { width: 40%; height: 260px; }
.tarot-faces .asset-label { color: #655a48; }
.tarot-materials { gap: 36px; padding: 28px; }
.tarot-materials figure { min-width: 0; margin: 0; text-align: center; }
.tarot-materials img { width: 100%; }
.tarot-materials .tarot-mask { height: 232px; }
.tarot-materials .tarot-foil { width: 128px; height: 128px; border-radius: var(--radius-sm); }
.tarot-materials figcaption { margin-top: 14px; color: #655a48; font-size: var(--fs-small); }
.tarot-motion { color: #766141; }
.technical-note { margin: 32px 0 0; color: var(--k-muted); font-size: var(--fs-body); line-height: 1.8; max-width: 70ch; }
.case-end { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--k-border); }
.exploration-page .site-rail { --rail-accent: #232323; --rail-muted: #707070; }
.note-shell { max-width: 780px; }
.method-note { padding: 64px 0; border-top: 1px solid var(--k-border); scroll-margin-top: 100px; }
.method-figure { width: 100%; height: auto; display: block; margin: 0 0 30px; border-radius: var(--radius); }
.method-note .text-link { margin-top: 18px; }
.exploration-page ::selection { background: #d9e2d5; color: #232323; }
@media (max-width: 767px) {
 .explore-shell { width: calc(100% - 32px); padding: 112px 0 60px; }
 .explore-intro { margin-bottom: 32px; }
 .explore-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
 .explore-copy { padding: 22px 24px 26px; }
 .explore-copy h2 { font-size: 22px; text-wrap: wrap; }
 .case-intro h1 { max-width: none; }
 .demo-wrap iframe { height: 530px; }
 .tarot-demo iframe { height: 620px; }
 .demo-caption { flex-direction: column; align-items: flex-start; gap: 14px; }
 .case-section { padding-top: 56px; }
 .interaction-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
 .interaction-grid h3 { margin-top: 14px; }
 .workflow-step { gap: 12px; grid-template-columns: 30px minmax(0, 1fr); padding: 24px 0; }
 .workflow-step h3, .tech-copy h3 { font-size: 22px; }
 .workflow-example { padding: 18px; }
 .tech-row { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 0; }
 .method-note { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) { .explore-image img, .explore-copy h2 .iconfont, .case-button { transition: none; } }
