/* Exhibition photos stay in their own grid cells. Captions never overlay images. */
.robot-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,72px); align-items: center; }
.robot-feature-copy { min-width: 0; }
.home:not(.detail-site) .robot-work .profile-heading { font-size: clamp(2rem,3.6vw,3.5rem); line-height: 1.2; }
.robot-scope { margin: 18px 0; color: #acd6d8; font-size: .9375rem; line-height: 1.7; }
.robot-eventline { display: grid; gap: 5px; color: #b8c8d2; font-size: .875rem; line-height: 1.6; }
.robot-eventline span:first-child { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.robot-feature-photo { min-width: 0; margin: 0; }
.robot-feature-photo img { display: block; width: 100%; height: clamp(290px,43dvh,440px); object-fit: cover; object-position: 50% 32%; border: 1px solid #93abb447; }
.robot-feature-photo figcaption, .robot-portrait figcaption, .exhibition-gallery figcaption { margin-top: 10px; color: #b9ced7; font-size: .8125rem; line-height: 1.5; }
.secondary-project { display: grid; grid-template-columns: 126px 1fr auto; gap: 24px; align-items: center; margin-top: 26px; border-top: 1px solid #91a7b24d; padding-top: 18px; text-decoration: none; }
.secondary-project > img { display: block; width: 126px; height: 71px; object-fit: cover; border: 1px solid #8099a455; }
.secondary-kicker { font-size: .75rem; color: #abc8d3; margin: 0 0 7px; letter-spacing: .06em; }
.secondary-project h3 { margin: 0; font-size: 1.125rem; line-height: 1.5; font-weight: 600; }
.secondary-project h3 br { display: none; }
.secondary-summary { margin: 5px 0 0; max-width: 46em; font-size: .875rem; line-height: 1.5; color: #aebfcb; }
.secondary-action { display: flex; gap: 20px; align-items: center; font-size: .875rem; white-space: nowrap; }
.secondary-project:hover .secondary-action, .photo-open:hover + figcaption { color: #d2f2f3; }
.secondary-project:focus-visible,.photo-open:focus-visible { outline: 2px solid #c7ebee; outline-offset: 6px; }
.home.robot-detail .robot-page { display: block; padding-block: clamp(30px,5dvh,58px); }
.robot-topline { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: .875rem; line-height: 1.5; }
.home.robot-detail .back-link { font-size: .875rem; margin: 0; padding-bottom: 4px; }
.robot-cover-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(36px,5vw,80px); margin-top: 26px; }
.robot-detail h1,.robot-detail h2 { font-size: clamp(2.25rem,3.6vw,3.8rem); line-height: 1.18; letter-spacing: -.025em; margin: 18px 0 22px; }
.robot-detail .profile-intro { font-size: 1rem; line-height: 1.8; }
.robot-portrait { justify-self: center; margin: 0; width: min(100%,360px); }
.robot-portrait img { display: block; width: 100%; height: min(57dvh,490px); object-fit: contain; background: #101724; }
.photo-open { display: block; }
.robot-exhibition-info { margin-top: 24px; padding-top: 16px; border-top: 1px solid #94b5be55; }
.robot-exhibition-info strong { font-size: .875rem; font-weight: 550; letter-spacing: .07em; color: #bedcde; }
.robot-exhibition-info p { margin: 7px 0 0; color: #b5cad4; font-size: .875rem; line-height: 1.6; }
.robot-role-heading,.robot-gallery-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 54px; }
.integration-network { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; margin-top: 32px; }
.integration-module { position: relative; border-top: 1px solid #8ab5bb88; padding: 22px 0 0; }
.integration-module::before { content: ''; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #c9eeee; }
.story-panel.is-current .integration-module::before { animation: module-signal 6s ease-in-out infinite; }
.integration-module:nth-child(2)::before { animation-delay: 1.2s; }
.integration-module:nth-child(3)::before { animation-delay: 2.4s; }
.integration-number { font-size: .8125rem; color: #9fbbc9; }
.integration-module h3 { font-size: 1.25rem; line-height: 1.5; margin: 15px 0 12px; }
.integration-module p { font-size: 1rem; line-height: 1.8; color: #b8cbd5; margin: 0; }
.collaboration-credit { color: #9db4c2; font-size: .8125rem; line-height: 1.7; margin: 28px 0 0; }
.exhibition-gallery { display: grid; grid-template-columns: 1.6fr .8fr .8fr; gap: 20px; margin-top: 22px; }
.exhibition-gallery figure { margin: 0; min-width: 0; }
.exhibition-gallery img { display: block; width: 100%; height: clamp(220px,30dvh,360px); object-fit: contain; background: #101826; }
.exhibition-gallery figure:first-child img { object-fit: cover; }
.gallery-notes { display: flex; justify-content: space-between; gap: 32px; align-items: start; margin-top: 18px; }
.gallery-notes p { margin: 0; font-size: .8125rem; line-height: 1.7; color: #aac1ce; }
.gallery-notes .collaboration-credit { max-width: 41em; }
@keyframes module-signal { 0%,45%,100% { opacity: .4; box-shadow: 0 0 0 0 #a9e1e500; } 18% { opacity: 1; box-shadow: 0 0 10px 2px #a9e1e540; } }
@media (min-width: 651px) and (max-width: 950px) {
 .robot-feature-grid,.robot-cover-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
 .robot-feature-photo img { height: 340px; }
 .robot-feature-copy .profile-intro { font-size: 1rem; }
 .secondary-project { grid-template-columns: 92px 1fr; gap: 18px; }
 .secondary-project > img { width: 92px; height: 58px; }
 .secondary-action { grid-column: 2; }
 .robot-role-heading,.robot-gallery-heading { gap: 28px; }
 .integration-network { gap: 24px; }
 .exhibition-gallery { grid-template-columns: 1.5fr 1fr 1fr; gap: 12px; }
 .gallery-notes { display: block; }
 .gallery-notes p + p { margin-top: 12px; }
}
@media (max-width: 650px) {
 .robot-feature-grid,.robot-cover-grid,.robot-role-heading,.robot-gallery-heading { grid-template-columns: 1fr; gap: 26px; }
 .robot-work .robot-feature-photo { order: -1; }
 .robot-feature-photo img { height: 300px; object-position: 50% 32%; }
 .home:not(.detail-site) .robot-work .profile-heading { font-size: 2.125rem; margin-block: 15px; }
 .robot-scope { font-size: .875rem; }
 .secondary-project { grid-template-columns: 86px minmax(0,1fr); gap: 16px; margin-top: 32px; padding-top: 22px; }
 .secondary-project > img { width: 86px; height: 58px; }
 .secondary-summary { display: none; }
 .secondary-action { grid-column: 2; font-size: .8125rem; }
 .secondary-project h3 { font-size: 1rem; }
 .robot-detail h1,.robot-detail h2 { font-size: 2.125rem; margin-block: 16px 20px; }
 .home.robot-detail .robot-page { padding-block: 28px 36px; }
 .robot-topline { font-size: .8125rem; gap: 14px; align-items: start; }
 .robot-topline .back-link { flex-shrink: 0; font-size: .75rem; }
 .robot-portrait { width: min(100%,340px); }
 .robot-portrait img { height: auto; max-height: none; aspect-ratio: 3/4; }
 .robot-cover-grid { margin-top: 28px; }
 .robot-role-heading,.robot-gallery-heading { gap: 0; }
 .integration-network { grid-template-columns: 1fr; margin-top: 30px; gap: 28px; }
 .integration-module { padding-top: 18px; }
 .integration-module h3 { margin-top: 10px; font-size: 1.1875rem; }
 .exhibition-gallery { grid-template-columns: 1fr 1fr; gap: 22px 14px; margin-top: 28px; }
 .exhibition-gallery figure:first-child { grid-column: 1 / -1; }
 .exhibition-gallery figure:first-child img { height: auto; aspect-ratio: 3/2; }
 .exhibition-gallery img { height: auto; aspect-ratio: 3/4; }
 .gallery-notes { display: block; margin-top: 24px; }
 .gallery-notes p + p { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
 .story-panel.is-current .integration-module::before { animation: none; }
}
