.ayana-case-study{--ay-stone:#eeece6;--ay-accent:#716044}
.ayana-case-study .page-header{gap:12px}
.ayana-case-study .page-meta{font-size:12px}
.ayana-case-study .page-body>section{margin-bottom:80px}
.ayana-case-study .page-body>section>h2:first-child{margin-top:0}
.ay-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.ayana-case-study .ay-wide{width:100%;max-width:100%;margin-inline:0;transform:none}
.ay-overview-plate{margin:0 0 48px}
.ay-overview-plate img,.ay-paper img{display:block;width:100%;height:auto}
.ay-paper{background:white;overflow:hidden;border-radius:8px}
.ayana-case-study .ay-paper,.ayana-case-study .ay-film{margin-top:32px}
.ay-offer-composition{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;margin-top:32px}
.ay-offer-composition .ay-paper{margin:0}
.ay-offer-composition video{width:100%;height:auto;display:block;border-radius:8px}
.ay-cart-film{margin-top:24px;display:grid;place-items:center;background:#e8e5de;border-radius:8px;overflow:hidden}
.ay-cart-film video{display:block;width:100%;max-height:740px;object-fit:contain}
.ayana-case-study .ay-live-demo{margin-top:32px;margin-bottom:48px}
.ay-film video{width:100%;height:auto;display:block;border-radius:6px;background:#e8e5de}
.ayana-case-study .ay-hero-film{margin:0 0 24px}
.ay-prototype-link{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 32px}
.ay-prototype-link a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:var(--text);text-decoration:underline!important;text-decoration-color:var(--muted)!important}
.ay-prototype-link>span{font-size:11px;color:var(--muted)}
.ay-research-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:32px 0;padding:24px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.ay-research-strip strong{display:block;font-size:28px;line-height:36px;font-weight:500;color:var(--text)}
.ay-research-strip span{font-size:12px;line-height:20px;display:block}
.ay-strategy-line{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--text)}
.ay-film-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px!important}
.ay-film-pair video{display:block;width:100%;height:100%;max-height:640px;object-fit:contain;background:#eeece6;border-radius:6px}
.ay-source-links{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:12px}
.ay-source-links a{display:inline-flex;align-items:center;min-height:44px}
[data-theme=dark] .ayana-case-study{--ay-stone:#2e2c27;--ay-accent:#c9b68d}
@media(max-width:760px){.ayana-case-study .ay-wide{width:100%;margin-left:0;transform:none}}
@media(max-width:540px){.ayana-case-study .page-body>section{margin-bottom:64px}.ay-prototype-link{align-items:flex-start;flex-direction:column;gap:0}.ay-research-strip{gap:12px}.ay-research-strip span{font-size:11px}.ay-strategy-line{gap:12px;font-size:11px}.ay-film-pair,.ay-offer-composition{grid-template-columns:1fr}.ay-source-links{display:grid;gap:0}.ay-overview-plate{margin-bottom:32px}}

ayana-showcase{display:block;min-width:0}
.ay-showcase-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}
.ay-showcase-toolbar .ay-spectrum-tabs{margin:0}
.ay-showcase-actions{display:flex;align-items:center;gap:14px;font-size:11px;line-height:20px}
.ay-showcase-actions button{border:0;background:none;padding:10px 0;color:var(--muted);font:inherit;cursor:pointer}
.ay-showcase-actions a{white-space:nowrap}
.ay-scene-switcher{display:flex;justify-content:center;margin-top:24px}
.ay-showcase-stage{min-width:0;padding-bottom:12px}
.ay-device-holder{width:100%;display:grid;justify-items:center}
.ay-device{position:relative;min-width:0;animation:ay-device-enter .22s ease-out}
.ay-device[hidden]{display:none}
.ay-device-screen{position:relative;overflow:hidden;background:white;isolation:isolate}
.ay-device-screen iframe{display:block;border:0;max-width:none;transform-origin:top left;background:#fff}
.ay-device--desktop{width:94%;padding:11px 7px 7px;border:1px solid #5a5a5a;border-radius:12px 12px 4px 4px;background:#252525;box-shadow:inset 0 0 0 1px #111}
.ay-device--desktop .ay-device-screen{border-radius:4px}
.ay-laptop-camera{position:absolute;top:4px;left:50%;width:3px;height:3px;border-radius:50%;background:#090909;box-shadow:0 0 0 1px #414141}
.ay-laptop-base{position:absolute;top:100%;left:-3.25%;width:106.5%;height:12px;border:1px solid #989898;border-top:0;border-radius:0 0 55% 55%/0 0 85% 85%;background:#b5b5b5;box-shadow:inset 0 -3px 2px #737373}
.ay-laptop-base>span{display:block;width:15%;height:4px;margin:auto;background:#777;border-radius:0 0 5px 5px}
.ay-device--mobile{width:min(304px,100%);padding:8px;border:1px solid #717171;border-radius:43px;background:#191919;box-shadow:inset 0 0 0 2px #343434}
.ay-device--mobile .ay-device-screen{border-radius:0}
.ay-phone-status{position:relative;display:flex;align-items:center;justify-content:space-between;height:36px;padding:0 22px;border-radius:34px 34px 0 0;background:white;color:#171717;font:600 10px/1 Inter,sans-serif}
.ay-phone-island{position:absolute;left:50%;top:4px;width:76px;height:21px;transform:translateX(-50%);border-radius:20px;background:#161616}
.ay-phone-signal{display:flex;gap:4px;align-items:center;font-size:8px;letter-spacing:-2px}
.ay-phone-signal i{width:14px;height:7px;border:1px solid #777;border-radius:2px;background:#222;box-shadow:inset 0 0 0 1px white}
.ay-phone-home{height:22px;display:grid;place-items:center;border-radius:0 0 34px 34px;background:white}
.ay-phone-home span{display:block;width:35%;height:3px;background:#222;border-radius:3px}
.ay-laptop-film{position:relative;margin-bottom:12px;padding:10px 6px 6px;border:1px solid #5a5a5a;border-radius:12px 12px 4px 4px;background:#252525}
.ay-laptop-film video{border-radius:4px}
.ay-laptop-film .ay-laptop-base{left:-1px;width:calc(100% + 2px)}
.ayana-case-study .ay-overview-devices{position:relative;padding:36px 24px 60px;background:#eeece6;border-radius:8px;isolation:isolate}
.ay-overview-devices .ay-device--desktop{width:94%;animation:none;margin-bottom:10%}
.ay-overview-devices .ay-device--desktop .ay-device-screen{aspect-ratio:1440/1000}
.ay-overview-devices .ay-device-screen img{width:100%;height:100%;object-fit:cover;object-position:top}
.ay-overview-devices .ay-device--mobile{position:absolute;right:24px;bottom:24px;width:27%;padding:4px;border-radius:24px;animation:none}
.ay-overview-devices .ay-device--mobile .ay-device-screen{border-radius:19px;overflow:hidden}
.ay-overview-devices .ay-device--mobile img{display:block;height:auto}
@keyframes ay-device-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:420px){.ay-showcase-toolbar{flex-direction:column;gap:8px}.ay-showcase-toolbar .ay-spectrum-tabs{margin-inline:auto}.ay-showcase-actions{gap:20px}.ay-device--desktop{padding:8px 4px 4px;border-radius:8px 8px 3px 3px}.ay-laptop-camera{top:3px;width:2px;height:2px}.ay-laptop-base{height:8px}.ay-spectrum-tabs button{font-size:12px;padding-inline:14px}}
@media(prefers-reduced-motion:reduce){.ay-device{animation:none}.ay-spectrum-tabs .honda-tabs__thumb{transition:none}}

/* Shared showcase owns the card, centered selector and stage spacing. */
.ayana-case-study .ay-live-demo{margin-top:28px;margin-bottom:0}
.ayana-case-study .ay-live-demo+*{margin-top:0}
.ay-device-screen video{display:block;width:100%;height:auto;background:white}
.ay-device--desktop .ay-device-screen video{aspect-ratio:1440/900}
.ay-device--mobile .ay-device-screen video{aspect-ratio:376/812}
.ayana-case-study #ayana-promos{margin-top:96px}
@media(max-width:420px){.ayana-case-study #ayana-promos{margin-top:80px}}

/* Chapters follow the booking decision; subsections keep related evidence together. */
.ayana-case-study .page-body{display:flex;flex-direction:column;gap:112px}
.ayana-case-study .page-body>section{margin:0;min-width:0}
.ayana-case-study .ay-chapter{display:grid;gap:28px;scroll-margin-top:40px}
.ayana-case-study .ay-section-intro{display:grid;gap:14px}
.ayana-case-study .ay-section-intro>h2{margin:0;font-size:16px;line-height:24px;font-weight:550;color:var(--text)}
.ayana-case-study .ay-section-intro>h3{margin:0;font-size:14px;line-height:22px;font-weight:550;color:var(--text)}
.ayana-case-study .ay-section-intro>p{margin:0;line-height:27px}
.ayana-case-study .ay-chapter .ay-paper,.ayana-case-study .ay-chapter .ay-live-demo,.ayana-case-study .ay-research-strip{margin:0}
.ayana-case-study .ay-overview-plate{margin:0}
.ayana-case-study #ayana-overview{display:grid;gap:32px}
.ayana-case-study .ay-subsection{display:grid;gap:24px;margin-top:28px;padding-top:32px;border-top:1px solid var(--border);scroll-margin-top:40px;min-width:0}
.ayana-case-study #ayana-promos{margin-top:28px}
.ayana-case-study .ay-research-strip{padding-block:24px}
.ayana-case-study .ay-chapter>.ay-research-strip+.ay-paper{margin-top:4px}
@media(max-width:540px){.ayana-case-study .page-body{gap:80px}.ayana-case-study #ayana-overview{gap:28px}.ayana-case-study .ay-chapter{gap:24px}.ayana-case-study .ay-section-intro{gap:12px}.ayana-case-study .ay-section-intro>p{line-height:26px}.ayana-case-study .ay-subsection{gap:20px;margin-top:20px;padding-top:28px}.ayana-case-study #ayana-promos{margin-top:20px}}
