:root {
   --gahudc-time: 0.9s;
   --gahudc-ease: cubic-bezier(.65, 0, .15, 1);
}

@keyframes gahudc-open {
   to { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
}

:is([data-907250], [data-86bccb] > *, [data-b04d6d]) img {
   scale: var(--gahudc-rest, 1);
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
   html:not(.gahudc-off) :is([data-907250], [data-86bccb] > *):not(.gahudc-done) {

      -webkit-mask-image: linear-gradient(#000, #000);
      mask-image: linear-gradient(#000, #000);
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: 50% 100%;
      mask-position: 50% 100%;
      -webkit-mask-size: 100% 0%;
      mask-size: 100% 0%;
   }
   html:not(.gahudc-off) :is([data-907250], [data-86bccb] > *):not(.gahudc-in) {
      animation: gahudc-open 1ms linear 4.5s forwards;
   }
   html:not(.gahudc-off) :is([data-907250='fall'], [data-86bccb='fall'] > *):not(.gahudc-done) {
      -webkit-mask-position: 50% 0%;
      mask-position: 50% 0%;
   }
   html:not(.gahudc-off) :is([data-907250='left'], [data-86bccb='left'] > *):not(.gahudc-done) {
      -webkit-mask-position: 0% 50%;
      mask-position: 0% 50%;
      -webkit-mask-size: 0% 100%;
      mask-size: 0% 100%;
   }
   html:not(.gahudc-off) :is([data-907250='right'], [data-86bccb='right'] > *):not(.gahudc-done) {
      -webkit-mask-position: 100% 50%;
      mask-position: 100% 50%;
      -webkit-mask-size: 0% 100%;
      mask-size: 0% 100%;
   }
   html:not(.gahudc-off) :is([data-907250='split'], [data-86bccb='split'] > *):not(.gahudc-done) {
      -webkit-mask-position: 50% 50%;
      mask-position: 50% 50%;

      -webkit-mask-size: 0% 100%;
      mask-size: 0% 100%;
   }
   html:not(.gahudc-off) :is([data-907250='iris'], [data-86bccb='iris'] > *):not(.gahudc-done) {
      -webkit-mask-position: 50% 50%;
      mask-position: 50% 50%;
      -webkit-mask-size: 46% 46%;
      mask-size: 46% 46%;
   }
   html:not(.gahudc-off) :is([data-907250], [data-86bccb] > *).gahudc-set:not(.gahudc-in) {
      animation: none;
   }
   html:not(.gahudc-off) :is([data-907250], [data-86bccb] > *):not(.gahudc-in) img {
      scale: calc(var(--gahudc-rest, 1) * var(--gahudc-zoom, 1.14));
   }
   html:not(.gahudc-off) :is([data-907250], [data-86bccb] > *).gahudc-in:not(.gahudc-done) {
      -webkit-mask-size: 100% 100%;
      mask-size: 100% 100%;
      transition:
         -webkit-mask-size var(--gahudc-time, 1.1s) var(--gahudc-ease, cubic-bezier(.2, .7, .1, 1)),
         mask-size var(--gahudc-time, 1.1s) var(--gahudc-ease, cubic-bezier(.2, .7, .1, 1));
   }
   html:not(.gahudc-off) :is([data-907250], [data-86bccb] > *).gahudc-in img {
      transition: scale calc(var(--gahudc-time, 1.1s) * 1.5) var(--gahudc-ease, cubic-bezier(.2, .7, .1, 1));
   }
   /* Scrolled to in a hurry: it opens at once rather than making the
      visitor wait in front of an empty frame. */
   html:not(.gahudc-off) :is([data-907250], [data-86bccb] > *).gahudc-quick.gahudc-in:not(.gahudc-done) {
      transition-duration: .42s;
   }
   html:not(.gahudc-off) :is([data-907250], [data-86bccb] > *).gahudc-quick.gahudc-in img {
      transition-duration: .6s;
   }

   /* A picture that travels a little inside its frame as the page moves. */
   [data-b04d6d] { --gahudc-rest: 1.16; }
   [data-b04d6d] img {
      translate: 0 var(--gahudc-shift, 0px);
      will-change: translate;
   }
   [data-338d2e] > :nth-child(2) {
      translate: 0 var(--gahudc-shift, 0px);
   }
}

html.gahudc-rest :is([data-907250], [data-86bccb] > *),
html.gahudc-rest :is([data-907250], [data-86bccb] > *) img {
   transition: none !important;
}

[data-b04d6d] { overflow: hidden; }

[data-79e589] {
   clip-path: inset(
      calc((1 - var(--gahudc-open, 1)) * 5vh)
      calc((1 - var(--gahudc-open, 1)) * 7vw)
      round calc((1 - var(--gahudc-open, 1)) * 26px));
}

/* Two photographs, one laid over the corner of the other. */
[data-338d2e] {
   position: relative;
   display: grid;
   grid-template-columns: repeat(12, minmax(0, 1fr));
   align-items: end;
   padding-block-end: 10%;
   isolation: isolate;
}
[data-338d2e] > * {
   grid-row: 1;
   margin: 0;
   min-width: 0;
   overflow: hidden;
}
[data-338d2e] > :first-child {
   grid-column: 1 / span 9;
   align-self: start;
   aspect-ratio: 4 / 5;
}
[data-338d2e] > :nth-child(2) {
   grid-column: 7 / span 6;
   aspect-ratio: 1 / 1;
   z-index: 1;
   margin-block-end: -12%;
   box-sizing: border-box;
   border: clamp(6px, .9vw, 12px) solid var(--gahudc-ground, transparent);
}
[data-338d2e='left'] > :first-child { grid-column: 4 / span 9; }
[data-338d2e='left'] > :nth-child(2) { grid-column: 1 / span 6; }
[data-338d2e] > :nth-child(n + 3) {
   grid-row: 2;
   grid-column: 1 / -1;
   overflow: visible;
}
[data-338d2e] > :nth-child(-n + 2) :is(picture, img) {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
}

[data-92a1ff] { overflow: hidden; }
[data-92a1ff] :is(picture, img) {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
}
[data-92a1ff='arch'] { border-radius: 999px 999px 0 0; }
[data-92a1ff='leaf'] { border-radius: clamp(28px, 8vw, 120px) 0; }

/* A statement that takes its ink as it is read. */
@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red 50%, blue)) {
   @media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
      html:not(.gahudc-off) .gahudc-ink {
         background-image:
            linear-gradient(currentColor, currentColor),
            linear-gradient(color-mix(in srgb, currentColor 24%, transparent), color-mix(in srgb, currentColor 24%, transparent));
         background-repeat: no-repeat;
         background-size: calc(var(--gahudc-fill, 1) * 100%) 100%, 100% 100%;
         -webkit-background-clip: text;
         background-clip: text;
         -webkit-text-fill-color: transparent;
      }
   }

}

[data-5eccb0] { font-variant-numeric: lining-nums tabular-nums; }

@media print {
   :is([data-907250], [data-86bccb] > *) {
      -webkit-mask-image: none !important;
      mask-image: none !important;
      animation: none !important;
   }
   [data-79e589] { clip-path: none !important; }
   :is([data-907250], [data-86bccb] > *, [data-b04d6d]) img {
      scale: 1 !important;
      translate: none !important;
   }
   .gahudc-ink {
      background: none !important;
      -webkit-text-fill-color: currentColor !important;
   }
}
