@font-face {
  font-family: 'Caveat';
  src: url('assets/type/caveat-latin.woff2') format('woff2');
  font-style: normal; font-weight: 400 700; font-display: swap;
}
.scene.spring .spring-greeting {
  width: fit-content; max-width: 100%; margin-top: .32em;
  color: rgb(101 82 72 / 86%); font: 400 clamp(28px,3.2vw,56px)/1.14 'Caveat',cursive;
  letter-spacing: -.015em; text-wrap: pretty;
}
.js:not(.is-still) .spring-greeting {animation: greeting-ink 1s cubic-bezier(.2,.6,.3,1) both;}
@keyframes greeting-ink {
  from { opacity:0; clip-path:inset(-20% 100% -20% -5%); }
  to { opacity:1; clip-path:inset(-20% -5% -20% -5%); }
}
@media(prefers-reduced-motion:reduce){.js:not(.is-still) .spring-greeting{animation:none}}
.scene h2 > .heading-words,.summer h2 > .heading-words { color:inherit; }
footer { padding-bottom:max(14px,env(safe-area-inset-bottom,0px)); }
/* The untouched source picture holds the entire character in every scene. */
.scene-air { position: absolute; z-index: -1; display: block; pointer-events: none; user-select: none; }
:root.is-still .scene-air { display: none; }
main { background: #eee0c9; }
.scene { --out: #e9dcc3; --in: #b6af94; }
.scene.autumn { --in: #c39468; --out: #f2ddbc; }
.scene.walk { --in: #ced0a7; --out: #ede9ce; }
.scene.summer { --in: #303651; --out: #39334a; }
.scene.spring { --out: #e7c69d; }
.scene.rain { --in: #adae96; }
@media (min-aspect-ratio: 7/5) and (max-aspect-ratio: 21/10) {
  .scene { min-height: max(calc(100svh - var(--mast)), 56.28vw); }
}
@media (min-width: 561px) and (max-aspect-ratio: 5/6) {
  .scene { min-height: max(calc(100svh - var(--mast)), 136vw); align-items: start; }
  .scene::before, .scene .art::after { content: none; }
  .scene .art { inset: 0; width: 100%; }
  .scene .art img { object-position: 50% 88%; }
  .scene .scene-copy { align-self: start; width: 85%; margin: 0 auto; padding: clamp(35px,6vw,70px) 0 0; }
  .scene .chapter-lead h2, .summer h2 { font-size: clamp(32px,5.4vw,57px); }
}
.scene.spring {
  min-height: calc(100svh - var(--mast));
  width: 100%; --left: clamp(24px,8vw,164px); --width: 39%;
  background: #efcea6;
}
.scene.spring::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(110deg,#fff0d051 0%,#f4d8b040 40%,#deb58333),url("assets/film/spring-phone.webp") 50% 0 / 100% 475%;
}
.scene.spring .art {
  inset: 0 auto 0 32%; height: 100%; width: auto; aspect-ratio: 1672/941;
  mask-image: linear-gradient(90deg, transparent 0%, #00000010 2.5%, #00000048 6%, #0009 10%, #000e 16%, black 21%);
}
.scene.spring .art::after { content: none; }
.scene.spring .art img { object-fit: contain; object-position: 50% 50%; }
.scene.spring .scene-copy {
  align-self: center; margin: 0 0 3svh var(--left); width: var(--width); padding: 26px 0;
}
.scene.spring h1 { font-size: clamp(52px,min(7vw,12svh),126px); }
.scene.spring h1 br { display: block; }
.scene.spring h1 .hello { font-size: .69em; }
.scene.spring .intro { max-width: 20em; }
.spring .intro span { display: inline-block; }
@media (min-aspect-ratio: 2/1) {
  .scene.spring .art {
    left: 32%; right: auto; width: auto; aspect-ratio: 1672/941;
    mask-image: linear-gradient(to right,transparent,black 20%,black 86%,transparent);
  }
  .scene.spring .scene-copy { padding-block: 10px; }
  .scene.spring h1 { font-size: clamp(40px,10svh,75px); }
}
@media (max-aspect-ratio: 6/5) and (min-aspect-ratio: 5/6) {
  .scene.spring { --left: 6%; --width: 42%; }
  .scene.spring .art { left: auto; right: 0; width: 57%; aspect-ratio: auto; }
  .scene.spring .art img { object-fit: cover; object-position: 50% 98%; }
  .scene.spring .art { mask-image: linear-gradient(to right,transparent,#0005 5%,#000b 10%,black 17%); }
}
@media (max-aspect-ratio: 5/6) {
  .scene.spring { align-items: start; }
  .scene.spring::before { content: none; }
  .scene.spring .art {
    inset: auto 0 0; width: 100%; height: 112%; aspect-ratio: auto; mask-image: none;
  }
  .scene.spring .art img { object-fit: cover; object-position: 50% 100%; }
  .scene.spring .scene-copy {
    width: min(86%,700px); margin: 0 auto; align-self: start;
    padding: clamp(17px,3.3svh,40px) 0 0;
  }
  .scene.spring h1 { font-size: clamp(43px,10.2vw,86px); }
  .scene.spring h1 .hello { font-size: .58em; margin-right: .07em; }
  .scene.spring h1 br { display: none; }
  .scene.spring .intro { margin-top: .48em; max-width: 23em; }
  .scene.spring:has(.about-fold[open]) { min-height: calc(100svh - var(--mast) + 102px); }
  .scene.spring:has(.about-fold[open]) .art { height: calc((100svh - var(--mast))*1.12); }
  .scene.spring:has(.about-fold[open])::before { content: ""; background-color: #f4d3a9; }
  .scene.spring:has(.about-fold[open]) .art { mask-image: linear-gradient(to bottom,transparent,black 11%); }
}
@media (max-width: 560px) and (max-height: 690px) and (orientation: portrait) {
  .scene.spring .scene-copy { padding-top: 13px; }
  .scene.spring .scene-label { margin-bottom: 4px; }
  .spring .about-fold:not([open]) { display: inline-block; }
  .spring .about-fold:not([open]) + .stroll { margin-left: 9px; }
}
@media (min-width: 561px) and (min-aspect-ratio: 5/6) and (max-aspect-ratio: 7/5) {
  .scene:not(.spring) .art::after { content: none; }
  .scene:not(.spring) .art {
    mask-image: linear-gradient(to right,transparent,#0004 3%,#000c 8%,black 13%);
  }
}
@media (min-aspect-ratio:21/10) {
  /* Retain whole figures and continue the paint into the outer margins. */
  .scene:not(.spring) { width: 100%; }
  .scene:not(.spring) .art { left: 50%; width: min(100%,calc((100svh - var(--mast))*1.78)); transform: translateX(-50%); }
  .scene:not(.spring) .art { mask-image: linear-gradient(to right,transparent,black 8%,black 92%,transparent); }
  .scene:not(.spring) .scene-copy { margin-left: max(var(--left),calc(50% - 75svh + 2vw)); }
  .scene.autumn .scene-copy { margin-left: 59%; }
}
