/* Aoi: the work, its intent, and the public page in one case study. */
.horizontal-hero .aoi-hero .hero-landscape{object-fit:contain;background:#f8eed3;height:83%;transform:rotate(-1deg)}
.horizontal-hero .aoi-hero .hero-device{width:27%;top:32%;right:0!important}
.aoi-cover{margin:48px 0 64px}.aoi-cover img{width:100%;height:auto;border-radius:12px}
.aoi-intent{max-width:720px;margin:0 0 80px}.aoi-case h3{font-size:clamp(24px,3vw,36px);line-height:1.65;margin:16px 0 24px}.aoi-case p{overflow-wrap:anywhere}.aoi-case .aoi-scope{font-size:12px;margin-top:24px;opacity:.75;line-height:2}
.aoi-made{display:grid;gap:88px}.aoi-content-item{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px}.aoi-content-item p{line-height:2.2}.aoi-content-item figure{margin:0;min-width:0}.aoi-film video{width:100%;max-height:520px;display:block;background:#faf4e2;border-radius:18px}.aoi-case figcaption{font-size:11px;line-height:1.9;opacity:.7;margin-top:14px}.aoi-process{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 10px}.aoi-process>div{min-width:0;text-align:center;font-size:10px}.aoi-process-art{display:block;aspect-ratio:1;background:url('assets/aoi/journey.webp') var(--x) var(--y)/300% 300% no-repeat}.aoi-screen-shot{text-align:center}.aoi-screen-shot img{width:min(100%,260px);height:auto;border-radius:16px;box-shadow:0 12px 32px #40301a16}
.aoi-live{margin-top:100px}.aoi-live-window{margin:28px 0 24px;border:1px solid #66503933;border-radius:14px;overflow:hidden;background:#f7efdd}.aoi-window-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;font-size:11px}.aoi-window-bar>span{color:#ae694f;letter-spacing:4px;font-size:8px}.aoi-window-bar a{text-decoration:none}.aoi-live iframe{display:block;width:100%;height:680px;border:0;background:#f7efdd}.aoi-case>.caption{margin-top:40px}
@media(max-width:760px){.horizontal-hero .aoi-hero .hero-landscape{height:89%;object-fit:cover;object-position:66% center}.horizontal-hero .aoi-hero .hero-device{width:27%!important;top:35%!important;max-width:115px!important}.aoi-cover{margin:32px 0 40px}.aoi-intent{margin-bottom:48px}.aoi-content-item{grid-template-columns:1fr;gap:24px}.aoi-made{gap:56px}.aoi-case h3{font-size:25px;margin:12px 0 18px}.aoi-film video{max-height:450px}.aoi-process{gap:18px 8px}.aoi-process>div{font-size:9px}.aoi-live{margin-top:64px}.aoi-live iframe{height:620px}.aoi-window-bar{padding:12px;font-size:10px}.horizontal-hero .slide-dots{gap:4px}.horizontal-hero .slide-dots button{min-width:28px}}

.horizontal-hero .aoi-hero .hero-landscape{position:absolute;inset:0;width:100%}
.horizontal-hero .slide-dots{grid-template-columns:repeat(7,minmax(0,1fr));width:min(280px,calc(100vw - 120px))}
@media(max-width:760px){.horizontal-hero .aoi-hero .hero-landscape{object-position:center top}.horizontal-hero .slide-dots button{min-width:24px}}

/* The hero uses a filled square artwork, with the real loading-to-home recording. */
.horizontal-hero .aoi-hero .hero-gallery{aspect-ratio:1;top:12%;height:auto;width:min(50%,620px);left:45%}
.horizontal-hero .aoi-hero .hero-landscape{height:100%;object-fit:cover;background:transparent;transform:rotate(-.5deg)}
.horizontal-hero .aoi-hero .hero-device{width:29%;top:34%;right:-1%!important}
.horizontal-hero .aoi-hero .device-screen>video{aspect-ratio:780/1688;width:100%;height:auto;object-fit:cover;background:#fff1cd}
@media(min-width:761px) and (max-height:760px){.horizontal-hero .aoi-hero .hero-gallery{width:min(45%,490px);left:49%;top:14%}}
@media(max-width:760px){.horizontal-hero .aoi-hero .hero-gallery{left:0;width:100%;height:var(--mobile-photo-h);top:var(--mobile-photo-top);aspect-ratio:auto}.horizontal-hero .aoi-hero .hero-landscape{height:100%;object-fit:cover;object-position:center}.horizontal-hero .aoi-hero .hero-device{width:30%!important;max-width:min(30vw,calc(var(--mobile-photo-h)*.3),130px)!important;top:32%!important;right:2%!important}}
