/* The wordmark's O as a window onto the hero's ten photographs (STOUR-246), for the pages that do not load /home's
 * site.css (STOUR-261, CJ round 2: "one menu on all the pages" and the same wordmark): the menu's top row and, below
 * 1024px, each page's bar wordmark. The rules are site.css's own O-window rules, copied with the images read from
 * /static/o-window/ (the same ten files, outside every gated folder, as /discovery's wordmark reads them);
 * tests/test_menu_tag.py fails when the two copies differ, so change site.css and this file together.
 * At 1024px and up a page bar keeps its coral O (the desktop is unchanged); the photographs show on a phone. */
:root{--step:7.5s;--cycle:75s;}
.owin .vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;}
.owin{ position:relative;display:inline-block;overflow:hidden; width:.72em;height:.72em;margin:0 -.045em;top:.01em; border-radius:50%; background:var(--coral) center/cover no-repeat; }
.owin-stack{ position:absolute;inset:0; animation:owin-intro 1.2s ease-in-out 1.5s 1 both; }
@keyframes owin-intro{ from{opacity:0} to {opacity:1} }
.ol{ position:absolute; background-position:center;background-size:cover;background-repeat:no-repeat; opacity:0; --o0:0; --oEnd:1; animation:owin-cycle var(--cycle) linear infinite both, owin-pan-x var(--cycle) linear infinite both; }
.ol:first-child{--o0:1;}
.ol:last-child {--oEnd:0;}
.ol.h{top:0;bottom:0;left:0;height:100%;width:var(--span);}
.ol.v{left:0;right:0;top:0;width:100%;height:var(--span); animation-name:owin-cycle,owin-pan-y;}
.ol.z{inset:0;animation-name:owin-cycle,owin-zoom;}
.ol:nth-child(1) {background-image:url('/static/o-window/o-01.jpg');animation-delay:calc(var(--step) * 0);--span:150%; --from:0%; --to:-22%;}
.ol:nth-child(2) {background-image:url('/static/o-window/o-02.jpg');animation-delay:calc(var(--step) * 1);--span:125%; --from:0%; --to:-19%;}
.ol:nth-child(3) {background-image:url('/static/o-window/o-03.jpg');animation-delay:calc(var(--step) * 2);--span:150.75%;--from:0%; --to:-31%;}
.ol:nth-child(4) {background-image:url('/static/o-window/o-04.jpg');animation-delay:calc(var(--step) * 3);--span:133.375%;--from:0%; --to:-20%;}
.ol:nth-child(5) {background-image:url('/static/o-window/o-05.jpg');animation-delay:calc(var(--step) * 4);--span:150%; --from:-28%;--to:-4%;}
.ol:nth-child(6) {background-image:url('/static/o-window/o-06.jpg');animation-delay:calc(var(--step) * 5);--z0:1;--z1:1.12;}
.ol:nth-child(7) {background-image:url('/static/o-window/o-07.jpg');animation-delay:calc(var(--step) * 6);--span:150%; --from:0%; --to:-31%;}
.ol:nth-child(8) {background-image:url('/static/o-window/o-08.jpg');animation-delay:calc(var(--step) * 7);--span:150%; --from:0%; --to:-18%;}
.ol:nth-child(9) {background-image:url('/static/o-window/o-09.jpg');animation-delay:calc(var(--step) * 8);--span:150%; --from:0%; --to:-19%;}
.ol:nth-child(10){background-image:url('/static/o-window/o-10.jpg');animation-delay:calc(var(--step) * 9);--span:177.75%;--from:0%; --to:-36.9%;}
@keyframes owin-cycle{ 0% {opacity:var(--o0)} 2.6667% {opacity:1} 10% {opacity:1} 12.6667% {opacity:var(--oEnd)} 12.68% {opacity:0} 100% {opacity:0} }
@keyframes owin-pan-x{ 0% {transform:translateX(var(--from))} 12.6667% {transform:translateX(var(--to))} 100% {transform:translateX(var(--to))} }
@keyframes owin-pan-y{ 0% {transform:translateY(var(--from))} 12.6667% {transform:translateY(var(--to))} 100% {transform:translateY(var(--to))} }
@keyframes owin-zoom{ 0% {transform:scale(var(--z0))} 12.6667% {transform:scale(var(--z1))} 100% {transform:scale(var(--z1))} }
@media (prefers-reduced-motion: reduce){ .ol,.ol.h,.ol.v,.ol.z{animation:none;} .owin-stack{animation:none;opacity:1;} .ol{opacity:0;} .ol:nth-child(1){opacity:1;} .ol.h{transform:translateX(var(--to));} .ol.v{transform:translateY(var(--to));} .ol.z{transform:scale(var(--z1));} }

@media (min-width:1024px){ [data-menu-mark] .owin-stack{display:none;} }
@media print{ .ol{display:none;} }
