.floraspira-page { scroll-behavior: smooth; scroll-padding-top: clamp(56px, 7svh, 92px); }
.world-actions a[href="#world"]::after { transform: translateY(-2px) rotate(135deg); }
.world-actions a[href="#world"]:is(:hover, :focus-visible)::after { transform: translateY(1px) rotate(135deg); }
.world-introduction:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  .floraspira-page { scroll-behavior: auto; }
}
.world-folio, .comic-index {
  margin-inline: auto;
  color: #f4f1e9;
  font: 400 clamp(16px, 1.2vw, 20px)/1.5 "Portfolio Navigation", sans-serif;
}
.world-folio a, .comic-index a { color: inherit; text-underline-offset: .4em; }
.comic-index { min-height: 100svh; padding: 84px 6vw 44px; display: grid; place-content: center; text-align: center; }
.comic-index :is(h1,h2) { margin: 0; font-size: clamp(28px, 3.2vw, 52px); font-weight: 400; }
.comic-index p { margin: .7em 0 2em; color: #b4b1a9; }

/* Keep the existing cover, with the introduction following its two links. */
.floraspira-page .world-stage { min-height: 0; padding-bottom: 0; }
.world-folio {
  container-type: inline-size;
  background: #000;
  color: #b8b8b8;
}
.world-introduction {
  position: relative;
  z-index: 1;
  width: min(33em, 90%);
  margin-inline: auto;
  margin-top: clamp(26px, 4.5cqi, 94px);
  text-align: center;
  font: 400 clamp(16px, 1.275cqi, 28px)/1.26 "Portfolio Navigation", sans-serif;
}
.world-introduction p { margin: 0; }
.world-introduction p + p { margin-top: 1.25em; }

.world-awakening, .world-eruption {
  position: relative;
  width: calc(var(--world-cover-width) * var(--world-story-scale));
  margin: 0 auto;
}
.world-awakening { margin-top: -6.1cqi; }
.world-awakening img, .world-eruption img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: var(--art-fade);
  mask-image: var(--art-fade);
}
.world-awakening img {
  --art-fade: linear-gradient(to bottom, transparent 1.5%, black 32%, black 69.5%, transparent 94%);
}
.world-narration {
  margin: 0;
  font: 400 clamp(20px, 1.8cqi, 40px)/1.77 "Sketch Fine Serif", Georgia, serif;
  letter-spacing: -.045em;
}
.world-awakening figcaption {
  position: absolute;
  left: 8.5%;
  bottom: 12.8%;
}
.world-awakening figcaption span { display: block; }
.world-island {
  position: relative;
  margin-top: -6.1cqi;
  padding-bottom: 0;
}
.world-island-intro {
  position: relative;
  z-index: 1;
  width: min(36em, 90%);
  margin-inline: auto;
  text-align: center;
}
.world-eruption {
  margin-top: -1cqi;
  overflow: hidden;
}
.world-eruption img {
  --art-fade: linear-gradient(to bottom, transparent, black 15.5%, black 90.7%, transparent);
  /* The painted panels span columns 144 through 3135 of the 3255px original. */
  max-width: none;
  width: calc(100% * 3255 / 2992);
  margin-inline-start: calc(-100% * 144 / 2992);
}
.world-eruption figcaption {
  position: absolute;
  z-index: 1;
  top: 2.35%;
  inset-inline: 0;
  text-align: center;
}

@media (max-width: 700px) {
  .world-introduction { width: min(32em, 89%); line-height: 1.45; }
  .world-introduction p + p { margin-top: 1em; }
  .world-wide-break { display: none; }
  .world-awakening { margin-top: -2.2rem; }
  .world-narration { font-size: clamp(19px, 3.8vw, 23px); line-height: 1.5; }
  .world-awakening figcaption {
    position: relative;
    inset: auto;
    margin: -25% 0 0;
    padding-inline: 6%;
    text-wrap: balance;
  }
  .world-island { margin-top: 2.2rem; }
  .world-island-intro { text-wrap: balance; }
  .world-eruption { margin-top: .4rem; }
  .world-eruption figcaption { top: 2.3%; }
}

/* Each scene keeps the distinct lighting and overlap from the storyboard. */
.world-continuation {
  width: calc(var(--world-cover-width) * var(--world-story-scale));
  margin: 5cqi auto 0;
  padding-bottom: clamp(44px, 7cqi, 110px);
  container-type: inline-size;
}
.world-scene { position: relative; margin: 0; }
.world-scene img { display: block; width: 100%; height: auto; }
.world-continuation .world-narration { font-size: clamp(19px, 2cqi, 40px); line-height: 1.55; }
.world-scene figcaption { position: absolute; z-index: 2; }
.world-botanical > img {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #0009 9%, #000 30%, #000 77%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent, #0009 9%, #000 30%, #000 77%, transparent 100%);
}
.world-botanical figcaption { top: -.7em; inset-inline: 4%; text-align: center; }
.world-birds { margin-top: -1.5cqi; }
.world-birds figcaption { bottom: calc(100% + .3em); right: 4%; text-align: right; }
.world-bird-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%, #000 83%, #000c 100%);
  mask-image: linear-gradient(to bottom, transparent, #000 45%, #000 83%, #000c 100%);
}
.world-bird-detail { position: relative; aspect-ratio: 507 / 375; overflow: hidden; }
.world-bird-detail img { position: absolute; max-width: none; width: 330%; }
.world-bird-sky img { left: -230%; top: 0; }
.world-bird-travelers img { left: -150%; top: -26%; }
.world-bird-panorama { -webkit-mask-image: linear-gradient(to bottom, #000 30%, #000b 100%); }
.world-bird-panorama { mask-image: linear-gradient(to bottom, #000 30%, #000b 100%); }
.world-bird-question {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 1.6cqi 4% 4.4cqi;
  text-align: center;
}
.world-bush img { -webkit-mask-image: linear-gradient(to bottom, transparent, #0007 38%, #000 100%); }
.world-bush img { mask-image: linear-gradient(to bottom, transparent, #0007 38%, #000 100%); }
.world-branches img { -webkit-mask-image: linear-gradient(to bottom, #000 73%, transparent 100%); }
.world-branches img { mask-image: linear-gradient(to bottom, #000 73%, transparent 100%); }
.world-branches figcaption { top: 6.8%; left: 8.5%; max-width: 76%; }
.world-crouching { margin-top: -13.5cqi; z-index: 1; }
.world-crouching img {
  width: 80%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 68%, transparent 99%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 68%, transparent 99%);
}
.world-crouching figcaption { top: 64%; right: 4.5%; width: 27%; text-align: right; }
.world-dance { margin-top: -34cqi; }
.world-dance img {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #0006 18%, #000 40%, #000 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent, #0006 18%, #000 40%, #000 85%, transparent 100%);
}
.world-dance figcaption { left: 6.6%; bottom: 5%; max-width: 85%; }
.world-sarra { margin-top: -11cqi; }
.world-sarra img {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #0009 12%, #000 27%, #000 79%, #0005 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent, #0009 12%, #000 27%, #000 79%, #0005 94%, transparent 100%);
}
.world-sarra figcaption { right: 5.5%; bottom: 4%; text-align: right; }

@media (max-width: 700px) {
  .world-continuation { margin-top: 2.5rem; }
  .world-continuation .world-narration { font-size: clamp(17px, 4.4vw, 20px); }
  .world-botanical figcaption { top: -1.9em; }
  .world-birds { margin-top: 1.7rem; }
  .world-birds figcaption { bottom: calc(100% + .2em); }
  .world-bird-question { padding-block: 1.2rem 1.5rem; }
  .world-branches figcaption { top: 3%; left: 5%; max-width: 82%; }
  .world-crouching figcaption { top: 88%; right: 4%; width: 72%; }
  .world-dance figcaption { bottom: 3%; }
  .world-sarra figcaption { right: 4%; bottom: 1%; max-width: 88%; }
}

/* Art-led passages: finished paintings carry scale, studies keep their paper
   and sit in smaller, quieter groups. Existing story beats retain their order. */
.world-insert { position: relative; }
.world-art { position: relative; margin: 0; min-width: 0; }
.world-art img { display: block; width: 100%; height: auto; }
.world-art figcaption { position: relative; z-index: 2; margin-top: 1.6cqi; }
.world-pause { position: relative; z-index: 2; padding: 5cqi 6% 7cqi; text-align: center; }
.align-left { text-align: left; }
.align-right { text-align: right; }
.edge-fade img { -webkit-mask-image: var(--scene-fade); mask-image: var(--scene-fade); }
.world-village { margin: -1cqi 0 15cqi; }
.world-asymmetric { display: grid; grid-template-columns: 1.38fr 1fr; align-items: start; gap: 8%; padding-inline: 5%; }
.art-camp img { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.art-lane { margin-top: 36%; }
.art-lane figcaption { text-align: right; margin-top: 3cqi; }
.world-cabin { margin-top: 4cqi; }
.art-cabin-exterior { width: 86%; }
.art-cabin-exterior img { -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 85%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 85%, transparent); }
.art-cabin-interior { width: 69%; margin: 2cqi 0 0 auto; }
.art-cabin-interior figcaption { text-align: right; margin-top: 3cqi; }
.world-travel { padding: 0 0 11cqi; margin-top: -2cqi; }
.world-designs { display: grid; grid-template-columns: .8fr 1.65fr .85fr; gap: 3.5%; align-items: center; padding: 2cqi 5% 6cqi; }
.design-young { margin-top: -35%; }
.design-fox { margin-top: 44%; }
.world-companions { display: grid; grid-template-columns: 1.35fr 1fr; gap: 13%; align-items: start; padding: 8cqi 10% 5cqi; }
.art-help { margin-top: 55%; }
.art-sandwich figcaption { margin-top: 3cqi; }
.world-expansion { margin-top: 5cqi; }
.art-lava { --scene-fade: linear-gradient(transparent, #000 12%, #000 79%, transparent); }
.art-lava figcaption { text-align: right; padding-right: 6%; }
.world-ash-portraits { position: relative; margin-top: 6cqi; }
.art-ensemble { width: 68%; margin-left: 0; }
.art-couple { width: 28%; position: absolute; top: 37%; right: 0; }
.world-ash-portraits > .world-pause { position: absolute; right: 0; bottom: 7%; padding: 0; }
.world-render-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding: 0 13%; margin-top: -3cqi; }
.world-render-pair img { -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 83%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 83%, transparent); }
.art-sailor { margin-top: 35%; }
.world-character-studies { padding: 6cqi 0 9cqi; }
.art-sailor-design { width: 74%; margin: 0 auto; }
.art-fox-render { width: 66%; margin: 8cqi 0 0 auto; }
.art-fox-render figcaption { text-align: right; padding-right: 6%; }
.world-open-air { padding-top: 2cqi; }
.art-field { --scene-fade: linear-gradient(transparent, #000 16%, #000 83%, transparent); }
.world-garden-pair { display: grid; grid-template-columns: 1.15fr 1fr; gap: 5%; margin: 5cqi 4% 11cqi; align-items: start; }
.art-sapling { margin-top: 40%; }
.art-sapling figcaption { text-align: right; margin-top: 3cqi; }
.art-leaves { width: 78%; margin-left: 5%; overflow: hidden; }
.art-leaves img { clip-path: inset(10% 0 10% 0); margin-block: -7.5%; }
.art-clearing { margin-top: 5cqi; --scene-fade: linear-gradient(transparent, #000 25%, #000 80%, transparent); }
.art-clearing figcaption { text-align: center; margin-top: 3cqi; }
.world-night { padding-top: 9cqi; }
.world-streets { display: grid; grid-template-columns: .65fr 1.35fr; gap: 6%; align-items: start; margin-bottom: 15cqi; }
.art-blue-street { margin-top: 15%; }
.art-animal-stealer { margin-top: 24%; }
.art-animal-stealer figcaption { text-align: right; margin-top: 3cqi; }
.world-forest { position: relative; }
.art-heart { width: 82%; --scene-fade: linear-gradient(transparent, #000 15%, #000 82%, transparent); }
.art-heart figcaption { position: absolute; right: -15%; bottom: 8%; }
.art-adelaide { width: 88%; margin: 4cqi 0 0 auto; --scene-fade: linear-gradient(transparent, #000 13%, #000 80%, transparent); }
.art-adelaide figcaption { padding: 1cqi 6% 9cqi; text-align: center; }

@media (max-width: 700px) {
  .world-pause { padding-block: 2.5rem 3rem; }
  .world-art figcaption { font-size: 17px; overflow-wrap: anywhere; }
  .world-village { margin-bottom: 5.5rem; }
  .world-asymmetric { gap: 5%; padding-inline: 0; }
  .world-cabin { margin-top: 1.5rem; }
  .art-cabin-exterior { width: 100%; }
  .art-cabin-interior { width: 87%; margin-top: 1.5rem; }
  .world-travel { padding-bottom: 3.5rem; }
  .world-designs { grid-template-columns: 1fr 1.7fr; gap: 6%; padding-inline: 0; }
  .design-young { margin-top: 0; }
  .design-fox { width: 80%; margin: -8% 0 0 10%; }
  .world-companions { padding: 2rem 0; gap: 7%; }
  .world-expansion { margin-top: 2rem; }
  .art-ensemble { width: 75%; }
  .art-couple { width: 31%; top: 28%; }
  .world-ash-portraits > .world-pause { position: relative; padding: 0 0 2rem; }
  .world-render-pair { padding-inline: 3%; gap: 8%; }
  .art-sailor-design { width: 100%; }
  .art-fox-render { width: 85%; margin-top: 2rem; }
  .world-garden-pair { grid-template-columns: 1fr; gap: 0; margin-inline: 0; margin-bottom: 3rem; }
  .art-meadow { width: 90%; }
  .art-sapling { width: 78%; margin: 2.5rem 0 0 auto; }
  .art-leaves { width: 94%; margin-left: 0; }
  .world-streets { grid-template-columns: .65fr 1fr; gap: 6%; margin-bottom: 3.5rem; }
  .art-animal-stealer { margin-top: 42%; }
  .art-heart { width: 94%; }
  .art-heart figcaption { position: relative; right: auto; text-align: right; padding: .5rem 0 1.5rem; }
  .art-adelaide { width: 100%; margin-top: 2rem; }
}

/* Larger artwork, shared outer alignment, and short black transitions. */
.world-village { margin-bottom: 9cqi; }
.world-asymmetric { grid-template-columns: 1.35fr 1fr; gap: 4%; padding-inline: 0; }
.art-lane { margin-top: 26%; }
.art-lane img { -webkit-mask-image: linear-gradient(transparent, #000 7%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 7%, #000 90%, transparent); }
.art-cabin-exterior { width: 100%; }
.art-cabin-interior { width: 88%; }
.art-cabin-interior img { -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent); }
.world-designs { grid-template-columns: 1fr 1.45fr 1fr; gap: 3%; padding-inline: 0; }
.world-companions { grid-template-columns: 1.25fr 1fr; gap: 5%; padding: 6cqi 0 3cqi; }
.art-help { margin-top: 38%; }
.art-ensemble { width: 78%; }
.art-couple { width: 31%; top: 38%; }
.world-render-pair { padding-inline: 0; gap: 4%; }
.art-sailor { margin-top: 19%; }
.art-sailor-design { width: 100%; }
.art-fox-render { width: 88%; }
.world-garden-pair { grid-template-columns: 1fr; margin-inline: 0; margin-bottom: 6cqi; }
.art-meadow { width: 100%; }
.art-sapling { width: 87%; margin: 6cqi 0 0 auto; }
.art-meadow img, .art-sapling img { -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.art-leaves { width: 100%; margin-left: 0; }
.world-night { padding-top: 4cqi; }
.world-streets { grid-template-columns: .55fr 1.1fr; gap: 4%; margin-bottom: 9cqi; }
.art-animal-stealer { margin-top: 30%; }
.art-animal-stealer img { -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 89%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 89%, transparent); }
.art-heart, .art-adelaide { width: 100%; }
.art-heart figcaption { right: 5%; bottom: 6%; }
@media (max-width: 700px) {
  .world-asymmetric { grid-template-columns: 1fr; }
  .art-camp { width: 100%; }
  .art-lane { width: 88%; margin: 1.5rem 0 0 auto; }
  .world-village { margin-bottom: 4rem; }
  .world-designs { grid-template-columns: 1fr 1fr; gap: 5%; align-items: start; }
  .design-pair { grid-row: 1; grid-column: 1 / -1; }
  .design-young { grid-row: 2; margin: 1.5rem 0 0; }
  .design-fox { grid-row: 2; width: 100%; margin: 3rem 0 0; }
  .world-companions { grid-template-columns: 1fr; gap: 0; padding-block: 3rem 1rem; }
  .art-sandwich { width: 92%; }
  .art-help { width: 86%; margin: 2.5rem 0 0 auto; }
  .art-ensemble { width: 100%; }
  .art-couple { position: relative; top: auto; width: 75%; margin: -1rem 0 2rem auto; }
  .world-render-pair { grid-template-columns: 1fr; }
  .art-ina, .art-sailor { width: 85%; }
  .art-sailor { margin: -6cqi 0 0 auto; }
  .art-sapling { margin-top: 2.5rem; }
  .world-streets { grid-template-columns: 1fr; gap: 0; margin-bottom: 3rem; }
  .art-blue-street { width: 72%; margin-top: 0; }
  .art-animal-stealer { width: 100%; margin-top: 2.5rem; }
  .art-heart figcaption { right: auto; bottom: auto; }
}

/* Narrative order: childhood → separation → return → the cabin.
   Artwork collections and other characters are explicitly separate from it. */
.world-story-opening { width: calc(var(--world-cover-width) * var(--world-story-scale)); margin: 5cqi auto 0; container-type: inline-size; }
.world-chapter { position: relative; z-index: 2; padding: 7cqi 5% 5cqi; text-align: center; }
.world-chapter h2.world-narration { font-size: clamp(28px, 3.5cqi, 52px); line-height: 1.25; letter-spacing: -.045em; color: #dedbd4; }
.world-chapter p.world-narration { max-width: 36em; margin: 1.15em auto 0; font: 400 clamp(17px, 1.6cqi, 25px)/1.55 "Portfolio Navigation", sans-serif; letter-spacing: 0; color: #b8b8b8; text-wrap: balance; }
.world-story-opening .world-chapter { padding-block: 2cqi 6cqi; }
.world-story-opening + .world-awakening { margin-top: -5cqi; }
.world-childhood-art { padding-block: 3cqi 8cqi; }
.art-childhood-help { width: 74%; margin: 6cqi auto; }
.art-childhood-camp { width: 90%; margin: 8cqi auto 3cqi; --scene-fade: linear-gradient(transparent, #000 12%, #000 76%, transparent); }
.world-homecoming { padding-block: 2cqi 5cqi; }
.chapter-passage { padding-block: 8cqi 6cqi; }
.world-grown-designs { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 4%; margin: 2cqi 0 7cqi; }
.art-grown-ina { margin-top: 18%; }
.world-homecoming .world-render-pair { margin-top: 0; }
.world-homecoming .art-sailor-design { margin-block: 6cqi 9cqi; }
.world-homecoming .art-cabin-interior { margin-top: 4cqi; }
.world-ash-art { margin-top: 4cqi; }
.world-ash-art .art-ensemble { width: 84%; margin: -5cqi auto 0; }
.world-ash-art .art-fox-render { margin: 0 0 7cqi auto; }
.world-ash-art .art-leaves { margin-bottom: 6cqi; }
.world-ash-art .art-lava { margin-block: 7cqi 10cqi; }
.world-ash-art .art-heart { width: 100%; margin: 0; }
.chapter-divider { padding-block: 9cqi 6cqi; border-top: 1px solid #ffffff18; margin-top: 6cqi; }
#world-sarra-intro { padding-top: 1cqi; padding-bottom: 5cqi; }
.world-elsewhere { margin-top: 5cqi; }
.world-elsewhere .world-chapter { padding-block: 8cqi; }
.world-elsewhere .art-meadow { -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.world-elsewhere .art-sapling { margin-top: 7cqi; }
.world-elsewhere .art-clearing { margin-top: 8cqi; }
.world-elsewhere .art-lane { width: 82%; margin: 7cqi auto 9cqi; }
@media (max-width: 700px) {
  .world-story-opening { margin-top: 2.5rem; }
  .world-chapter { padding: 3rem 3% 2.5rem; }
  .world-chapter h2.world-narration { font-size: clamp(27px, 7vw, 35px); }
  .world-chapter p.world-narration { font-size: 17px; }
  .world-story-opening + .world-awakening { margin-top: -1rem; }
  .world-childhood-art { padding-block: 1rem 5rem; }
  .art-childhood-help { width: 94%; margin-block: 2.5rem; }
  .art-childhood-camp { width: 100%; margin-block: 3rem 0; }
  .chapter-passage { padding-block: 3rem; }
  .world-grown-designs { grid-template-columns: 1fr; gap: 0; margin-bottom: 3rem; }
  .art-grown-ina { width: 90%; margin: 2.5rem 0 0 auto; }
  .world-homecoming .art-sailor-design { margin-block: 2.5rem; }
  .world-ash-art .art-ensemble { width: 100%; margin-top: -2rem; }
  .chapter-divider { padding-block: 3rem 2rem; margin-top: 3rem; }
  #world-sarra-intro { padding-bottom: 2rem; }
  .world-elsewhere .art-lane { width: 90%; }
}

/* Removed editorial headings and their reserved spacing. */
.world-homecoming { padding-block: 0; }
.world-grown-designs { margin-top: 0; }
.world-homecoming .art-cabin-exterior { margin-top: 0; }
.world-ash-art { margin-top: 0; }
.world-ash-art .art-ensemble { margin-top: 0; }
.world-elsewhere { margin-top: 0; }
.world-elsewhere .world-open-air { padding-top: 0; }
