@font-face {
  font-family: "Sketch Fine Serif";
  src: url("../assets/sketch-fine-serif.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.floraspira-page main {
  --head: clamp(56px, 7svh, 92px);
  --foot: clamp(20px, 4svh, 52px);
  --actions: 52px;
  --world-cover-width: min(100%, calc((100svh - var(--head) - var(--foot) - var(--actions)) * 2.06350));
  --world-story-scale: .84;
}
@media (max-width: 960px) {
  .floraspira-page main {
    --world-cover-width: 100%;
    --world-story-scale: .9;
  }
}
/* Fit the complete four-panel plate above the entrance links. */
.world-stage {
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--head) 0 var(--foot);
  color: #f4f1e9;
  font-family: "Portfolio Navigation", sans-serif;
}
.world-frame {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  flex: none;
  width: 100%;
  width: var(--world-cover-width);
  aspect-ratio: 1459 / 707.05;
  container-type: inline-size;
  transform-origin: top left;
}
.world-frame:focus-visible {
  outline: 1px solid #f4f1e9;
  outline-offset: 3px;
}
#floraspira.gallery-window { scroll-margin-block-start: clamp(60px, 10svh, 112px); }
.row-floraspira { isolation: isolate; }
.row-floraspira .floraspira-panels { z-index: 0; transform-origin: top left; background: transparent; }
.row-floraspira > [data-flow] { z-index: 1; }
.world-home-return .row-floraspira .art-column { animation: none; opacity: 1; }
/* During the fallback flight the live plate can leave the gallery crop. */
.world-home-flight .gallery-window { overflow: visible; }
.world-home-flight .gallery-canvas > .region-body { overflow: visible !important; }
.world-home-flight .row-floraspira { z-index: 1; }
.world-frame .floraspira-panels {
  inset: 0;
  width: 100%;
  height: 100%;
  padding-inline: 1.21549cqw;
  column-gap: 1.21549cqw;
}
.static-plate .art-column, .static-plate .illustrated-panel { opacity: 1; }
.world-title {
  position: absolute;
  inset-inline: 0;
  bottom: 3.4%;
  z-index: 1;
  margin: 0;
  color: #fff;
  font: 400 clamp(8.4cqw, 2.75rem, 14cqw)/1 "Sketch Fine Serif", Georgia, serif;
  letter-spacing: -.09em;
  /* Compensate for the negative tracking after the final a when centering. */
  padding-inline-end: .09em;
  text-align: center;
  white-space: nowrap;
}
.world-actions {
  height: var(--actions);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 6vw, 114px);
}
.world-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .55em;
  color: inherit;
  text-decoration: none;
  font-size: clamp(16px, 1.45vw, 26px);
  white-space: nowrap;
}
.world-actions a::after {
  content: "";
  width: .38em;
  height: .38em;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  opacity: .65;
  transform: rotate(45deg);
  transition: transform .25s ease, opacity .25s ease;
}
.world-actions a:is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: translateX(3px) rotate(45deg);
}
.world-actions a:focus-visible, .world-folio a:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
/* The browser carries the real home frame into the new document. */
@view-transition { navigation: auto; }
.world-shared .floraspira-panels { view-transition-name: world-art; }
.world-shared .row-floraspira > [data-flow="title"] { view-transition-name: home-world-title; }
.world-shared .row-floraspira > [data-flow="caption"] { view-transition-name: home-world-caption; }
.world-shared .world-title { view-transition-name: world-title; }
.world-shared .home-header { view-transition-name: world-header; }
::view-transition { pointer-events: none; }
::view-transition-group(world-art) {
  z-index: 1;
  animation-duration: 820ms;
  animation-timing-function: cubic-bezier(.30,.04,.19,1);
}
::view-transition-old(world-art), ::view-transition-new(world-art) {
  width: 100%;
  height: 100%;
  object-fit: fill;
  animation-duration: 690ms;
  animation-timing-function: ease-in-out;
}
::view-transition-group(world-title), ::view-transition-group(home-world-title),
::view-transition-group(home-world-caption) { z-index: 2; }
::view-transition-new(home-world-title), ::view-transition-new(home-world-caption) { animation: none; }
::view-transition-group(world-header) { z-index: 3; }
::view-transition-group(root), ::view-transition-group(world-header) {
  animation-duration: 560ms;
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .world-actions a::after { transition: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .world-enter:not(.world-enter-ready) :is(.static-plate .art-column, .world-title, .world-actions) { opacity: 0; }
  .world-enter-ready .static-plate .art-column {
    animation: intro-enter 740ms cubic-bezier(.22,.64,.3,1) calc(var(--column) * 85ms) backwards;
  }
  .world-enter-ready .world-title {
    animation: intro-enter 540ms ease-out 240ms backwards;
  }
  ::view-transition-new(world-title) {
    animation: intro-enter 540ms ease-out 240ms backwards;
  }
  .world-enter-ready .world-actions {
    animation: intro-enter 540ms ease-out 330ms backwards;
  }
}
