/* Service 02: the customer question becomes a prepared team handoff. */
.services-page #iris { display: block; }
.services-page #iris > .product-detail-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.services-page #iris > .product-detail-copy > * { grid-area: auto; }
.iris-story { --iris-purple: #66518a; --iris-navy: #172348; --iris-muted: #606779; --iris-header: 104px; color: var(--iris-navy); padding-bottom: 40px; }
.iris-story *, .iris-story *::before, .iris-story *::after { box-sizing: border-box; }
.iris-story .iris-stage { padding-top: 24px; }
.services-page #iris .iris-title { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 24px; color: var(--iris-navy); }
.iris-story .iris-scene { position: relative; height: 610px; isolation: isolate; border-radius: 20px; background: #f0edf5; overflow: hidden; container-type: inline-size; }
.iris-story .iris-photo { position: absolute; inset: 0 auto 0 0; width: 43%; overflow: hidden; border-radius: 20px; }
.iris-story .iris-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 43% 50%; }
.iris-story .iris-photo::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #17234835); pointer-events: none; }
.iris-story .iris-console { position: absolute; left: 47%; top: 6%; width: 49%; height: 88%; padding: 24px; background: #fff; border: 1px solid #fff; border-radius: 16px; box-shadow: 0 16px 36px #34234412; }
.iris-story .iris-console-header { display: flex; align-items: center; gap: 12px; height: 36px; border-bottom: 1px solid #eeebf2; padding-bottom: 16px; box-sizing: content-box; }
.iris-story .iris-assistant-icon { width: 28px; height: 28px; object-fit: contain; }
.iris-story .iris-console-header strong { font-size: 17px; line-height: 1.2; }
.iris-story .iris-console-header > span { margin-left: auto; color: var(--iris-purple); font-size: 11px; }
.iris-story .iris-waiting { display: none; position: absolute; left: 24px; right: 24px; top: 45%; text-align: center; }
.iris-story .iris-waiting strong { display: block; color: var(--iris-navy); font-size: 26px; letter-spacing: -.03em; }
.iris-story .iris-waiting span { display: block; margin-top: 12px; color: var(--iris-muted); font-size: 13px; }
.iris-story.is-active .iris-waiting { display: block; }
.iris-story .iris-message { position: absolute; z-index: 3; left: 5%; top: 64%; width: 34%; padding: 18px 20px; background: #fff; border: 1px solid #e3ddea; border-radius: 16px 16px 16px 4px; box-shadow: 0 12px 28px #2417361f; transform-origin: 50% 50%; }
.iris-story .iris-message small { display: block; color: var(--iris-purple); font-size: 10px; font-weight: 700; letter-spacing: .08em; margin-bottom: 8px; }
.services-page #iris .iris-message p { margin: 0; font-size: clamp(14px, 1.45cqw, 18px); line-height: 1.35; color: var(--iris-navy); }
.iris-story .iris-context { position: absolute; top: calc(20% + 102px); left: 24px; right: 24px; }
.iris-story .iris-label { display: block; font-size: 10px; letter-spacing: .09em; font-weight: 700; color: var(--iris-purple); }
.iris-story .iris-source { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid #eeebf2; gap: 16px; }
.iris-story .iris-source > span { font-size: 14px; color: var(--iris-navy); }
.iris-story .iris-check { display: flex; align-items: center; gap: 6px; color: var(--iris-purple); font-size: 11px; font-weight: 700; }
.iris-story .iris-check svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.iris-story .iris-draft { position: absolute; left: 24px; right: 24px; top: calc(20% + 246px); }
.services-page #iris .iris-draft p { margin: 10px 0 0; color: var(--iris-navy); font-size: clamp(13px, 1.25cqw, 16px); line-height: 1.5; max-width: 45ch; }
.iris-story .iris-draft-line { display: block; }
.iris-story .iris-handoff { position: absolute; z-index: 4; left: 5%; bottom: 6%; width: 34%; background: var(--iris-navy); color: white; border-radius: 14px; padding: 22px; box-shadow: 0 16px 32px #17234826; }
.iris-story .iris-handoff .iris-label { color: #d5c6ef; }
.iris-story .iris-handoff strong { display: block; font-size: clamp(16px, 1.7cqw, 21px); line-height: 1.25; margin: 10px 0 12px; }
.iris-story .iris-handoff > span:last-child { color: #eee8f7; font-size: 12px; }
.iris-story .iris-routes { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.iris-story .iris-routes path { fill: none; stroke: #8770ad; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.iris-story .iris-routes circle { fill: #66518a; stroke: #f0edf5; stroke-width: 3; }
.iris-story .iris-caption { display: flex; justify-content: space-between; gap: 20px; margin: 0; padding: 14px 0 0; font-size: 11px; line-height: 1.5; color: var(--iris-muted); }
.iris-story.is-active .iris-track { height: 240svh; }
.iris-story.is-active .iris-stage { position: sticky; top: var(--iris-header); height: calc(100svh - var(--iris-header)); display: flex; flex-direction: column; }
.iris-story.is-active .iris-title { flex: 0 0 auto; }
.iris-story.is-active .iris-scene { flex: 1; min-height: 0; height: auto; }
.iris-story.is-active .iris-caption { flex: 0 0 auto; padding-bottom: 14px; }
.iris-story:not(.is-active) .iris-message { left: 51%; top: 20%; box-shadow: none; }
.iris-story:not(.is-active) .iris-routes { display: none; }
.iris-story.is-photo-unavailable .iris-photo { background: #e5deef; }
.iris-story.is-photo-unavailable .iris-photo img { visibility: hidden; }
@media(max-width:959px) {
 .services-page #iris > .product-detail-copy { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
 .iris-story .iris-stage { padding-top: 0; }
 .iris-story .iris-scene { height: auto; padding: 0 20px 24px; overflow: hidden; display: flex; flex-direction: column; }
 .iris-story .iris-photo { position: relative; width: calc(100% + 40px); height: 320px; margin: 0 -20px; border-radius: 16px 16px 0 0; }
 .iris-story .iris-photo img { object-position: 43% 38%; }
 .iris-story:not(.is-active) .iris-message { position: relative; inset: auto; width: 100%; margin-top: -52px; box-shadow: 0 8px 20px #24173612; }
 .iris-story .iris-console { position: relative; inset: auto; width: 100%; height: auto; margin-top: 20px; padding: 20px; border: 0; box-shadow: none; }
 .iris-story .iris-context, .iris-story .iris-draft { position: static; margin-top: 24px; }
 .iris-story .iris-console-header { gap: 9px; }
 .iris-story .iris-console-header strong { font-size: 15px; }
 .iris-story .iris-console-header > span { display: none; }
 .iris-story .iris-source > span { font-size: 13px; }
 .iris-story .iris-handoff { position: relative; inset: auto; width: 100%; margin-top: 20px; padding: 20px; box-shadow: none; }
 .services-page #iris .iris-message p { font-size: 17px; }
 .services-page #iris .iris-draft p { font-size: 14px; }
 .iris-story .iris-draft-line { display: inline; }
 .iris-story .iris-caption { flex-direction: column; gap: 2px; }
}
@media(max-width:359px) {
 .iris-story .iris-scene { padding-inline: 14px; }
 .iris-story .iris-photo { width: calc(100% + 28px); margin-inline: -14px; height: 270px; }
 .iris-story .iris-console, .iris-story .iris-message, .iris-story .iris-handoff { padding: 16px; }
 .iris-story .iris-source { gap: 8px; }
}

/* Both expressions share one transform so the scroll crossfade stays aligned. */
.iris-story .iris-photo-motion, .iris-story .iris-photo picture { display: block; width: 100%; height: 100%; }
.iris-story .iris-photo-motion { position: relative; }
.iris-story .iris-photo .iris-smile { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.iris-story.is-smile-ready:not(.is-active) .iris-photo .iris-smile { opacity: 1; }

/* In-flow anchors keep their geometry while their children reveal on scroll. */
@media(max-width:959px) {
 .iris-story.is-mobile-motion .iris-handoff > span { display: block; }
}
