/* The garden threshold: one camera, one held-pose world, ordinary scroll out. */
.garden-page {
  --garden-paper: #e8e4d5;
}
.garden-page .world {
  height: 390svh;
}
.garden-page .scene-arrival .opening-copy {
  left: 5.4%;
  top: 35%;
  max-width: 34%;
}
.garden-page .scene-arrival .opening-copy h1 {
  font-size: clamp(44px, 4.6vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.entrance-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 20px;
  border-radius: 5px;
  background: var(--moss);
  color: var(--paper);
  font:
    500 17px/1.4 Source,
    sans-serif;
  text-decoration: none;
}
.entrance-link:hover {
  color: var(--paper);
  background: #384b35;
}
.garden-page .scene > img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.garden-page .scene .journey-copy {
  inset: 0;
  color: var(--ink);
  text-shadow: none;
}
.garden-page .wall-plane {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
}
.garden-page .scene .journey-copy .journey-thought {
  top: 36%;
  left: 7%;
  width: 36%;
  max-width: 570px;
  color: #26352b;
  font:
    500 clamp(38px, 4.1vw, 64px)/1.08 Caveat,
    cursive;
  letter-spacing: -0.015em;
  transform: none;
  text-shadow: 0 1px 14px #f4f0e6;
}
.garden-page .scene:not(.scene-arrival)::after {
  display: block;
  inset: 18% 45% 23% 0;
  background: radial-gradient(
    ellipse at 36% 44%,
    #eee6d2e8,
    #eee6d299 42%,
    transparent 72%
  );
  z-index: 2;
  pointer-events: none;
}
.garden-page .garden-bottom {
  display: none;
}
/* A single garden scene: the image leads into a sheltered, legible reading area. */
.haru-presence {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  background: #29382e;
  color: #f4f0e6;
  isolation: isolate;
}
.presence-art {
  grid-column: 1 / 9;
  grid-row: 1;
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #29382e;
}
.presence-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 62%, #29382e 100%);
  pointer-events: none;
}
.presence-art picture {
  position: absolute;
  inset: 0;
  display: block;
}
.presence-art img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.presence-words {
  grid-column: 8 / 13;
  grid-row: 1;
  z-index: 1;
  padding: 56px clamp(32px, 5.5vw, 96px) 56px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 620px;
}
.presence-words h2 {
  font:
    400 clamp(35px, 3.35vw, 54px)/1.15 Lora,
    serif;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
}
.presence-words > p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 36ch;
  margin: 0 0 20px;
}
.presence-words > .hand {
  font:
    400 clamp(30px, 3vw, 41px)/1.2 Caveat,
    cursive;
  margin: 8px 0 32px;
  color: #e4d9b9;
}
.garden-page .presence-words .primary-link {
  margin-top: auto;
  background: #f4f0e6;
  color: #29382e;
}
.garden-page .presence-words .primary-link:hover {
  background: #e4d9b9;
}
.presence-words a:focus-visible {
  outline: 3px solid #f4f0e6;
  outline-offset: 5px;
}
.garden-page .primary-link {
  border-radius: 5px;
  padding: 13px 23px;
  min-height: 50px;
  font-weight: 600;
}
.garden-page .keepsake {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
  height: auto;
  background: #e7dfcf;
}
.garden-page .keepsake-stage {
  position: relative;
  min-height: 660px;
  height: auto;
  padding: 90px 10%;
  background: #e7dfcf url("/assets/optimized/keepsake-paper.webp") center/cover;
}
.garden-page .paper-intro h2 {
  font:
    400 clamp(38px, 4.2vw, 60px)/1.14 Lora,
    serif;
}
.garden-page .card-float {
  width: min(100%, 280px);
  transform: rotate(-5deg);
}
.garden-page #card-hint {
  margin-top: 26px;
  font-size: 15px;
  color: #303b34;
}
.landscape-questions {
  padding: 90px 8%;
  background: #e4e6d8;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 9%;
}
.landscape-questions h2 {
  font:
    400 clamp(36px, 4vw, 54px)/1.14 Lora,
    serif;
  letter-spacing: -0.03em;
  max-width: 12ch;
  margin: 0;
}
.questions-body details {
  padding: 0 0 18px;
}
.questions-body summary {
  font-size: 20px;
  line-height: 1.4;
  min-height: 48px;
  padding: 8px 0;
  cursor: pointer;
}
.questions-body p {
  font-size: 18px;
  line-height: 1.6;
  margin: 12px 0;
  max-width: 58ch;
}
.garden-page .scene.media-failed {
  background: #e8e4d5;
  background-image: var(--scene-fallback, none);
  background-size: cover;
  background-position: 60% center;
}
.garden-page .scene.media-failed img {
  visibility: hidden;
}
.garden-page .scene.media-failed::after {
  display: none;
}
.garden-page .scene.media-failed .journey-thought {
  color: #303b34;
}
.arrival-art {
  display: contents;
}
.garden-page .scene-arrival .arrival-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.garden-page.still .world,
.garden-page:not(.motion-ready) .world {
  height: auto;
}
.garden-page.still .scene,
.garden-page:not(.motion-ready) .scene {
  min-height: 650px;
}
.garden-page.still .journey-thought,
.garden-page:not(.motion-ready) .journey-thought {
  opacity: 1 !important;
  visibility: visible !important;
}
@media (max-width: 1000px) and (min-width: 701px) {
  .presence-art img {
    object-position: left center;
  }
  .presence-art::after {
    background: linear-gradient(90deg, transparent 62%, #29382e 80%);
  }
  .presence-words {
    padding: 40px 24px;
    grid-column: 7 / 13;
    min-height: 580px;
  }
  .presence-words h2 {
    font-size: 38px;
  }
  .garden-page .scene-arrival .opening-copy h1 {
    font-size: 42px;
  }
}
@media (max-width: 700px) {
  /* Copy determines its own height. Architecture occupies the next grid row. */
  .garden-page .scene-arrival {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(240px, 1fr);
    padding-top: 68px;
  }
  .garden-page .world {
    height: 370svh;
  }
  .garden-page .scene-arrival .opening-copy {
    position: relative;
    grid-area: 1 / 1;
    inset: auto;
    padding: 24px 8% 8px;
    max-width: none;
  }
  .garden-page .scene-arrival .opening-copy h1 {
    font-size: clamp(34px, 9vw, 50px);
    margin-bottom: 14px;
  }
  .garden-page .entrance-link {
    font-size: 16px;
    min-height: 46px;
    padding: 10px 20px;
    border-radius: 5px;
    background: var(--moss);
    color: var(--paper);
  }
  .garden-page .entrance-link:hover {
    background: #384b35;
  }
  .garden-page .scene {
    background: var(--garden-paper) !important;
  }
  .garden-page .scene > img,
  .garden-page .scene-arrival .arrival-image {
    top: 30%;
    bottom: 0;
    height: 70%;
    object-position: 96% center;
  }
  .garden-page .scene-arrival .arrival-image {
    inset: 0;
    top: 32px;
    height: calc(100% - 32px);
    min-height: 420px;
    object-position: 96% center;
  }
  .garden-page .scene-arrival .arrival-art {
    display: block;
    position: relative;
    grid-area: 2 / 1;
    min-height: 0;
    overflow: hidden;
  }
  .garden-page .scene .journey-copy .journey-thought {
    top: 15%;
    left: 8%;
    width: 84%;
    max-width: none;
    font-size: clamp(34px, 8.8vw, 46px);
    color: #26352b;
    text-shadow: none;
  }
  .garden-page .scene:not(.scene-arrival)::after {
    inset: 29% 0 auto;
    height: 13%;
    background: linear-gradient(var(--garden-paper), transparent);
  }
  .haru-presence {
    grid-template-columns: 1fr;
  }
  .presence-art {
    display: none;
  }
  .presence-words {
    grid-column: 1;
    grid-row: 1;
    padding: 8px 8% 48px;
    min-height: 0;
  }
  .presence-words h2 {
    font-size: 38px;
  }
  .presence-words h2 br:last-child {
    display: none;
  }
  .presence-words p {
    max-width: none;
  }
  .garden-page .keepsake-stage {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 64px 8% 70px;
    gap: 42px;
  }
  .garden-page .paper-intro h2 {
    font-size: 40px;
  }
  .garden-page .card-space {
    width: 260px;
    max-width: 85%;
    margin: auto;
  }
  .garden-page .card-float {
    width: 100%;
  }
  .landscape-questions {
    padding: 65px 8%;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .landscape-questions h2 {
    font-size: 36px;
    max-width: none;
  }
  .questions-body summary {
    font-size: 19px;
  }
}
@media (max-height: 600px) and (min-width: 701px) {
  .garden-page .scene-arrival .opening-copy {
    top: 27%;
  }
  .garden-page .scene-arrival .opening-copy h1 {
    font-size: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .garden-page *,
  .garden-page *::before,
  .garden-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Haru introduction: the portrait leads; name, account and action have distinct roles. */
.haru-presence .presence-words {
  min-height: 620px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.haru-presence .presence-words h2 {
  font-size: clamp(44px, 4.6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
  text-wrap: balance;
}
.haru-account {
  max-width: 32ch;
  font-size: 20px;
  line-height: 1.6;
}
.haru-account p {
  margin: 0 0 24px;
}
.haru-presence .presence-words > .hand {
  font-size: clamp(32px, 3vw, 44px);
  margin: 4px 0 40px;
}
.haru-presence .presence-words .primary-link {
  min-width: 184px;
  justify-content: center;
}
@media (min-width: 701px) and (max-width: 1000px) {
  .haru-presence .presence-words {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .haru-account {
    font-size: 18px;
  }
}
@media (max-width: 700px) {
  .haru-presence .presence-words {
    min-height: 0;
    padding: 12px 8% 48px;
  }
  .haru-presence .presence-words h2 {
    font-size: clamp(38px, 10vw, 56px);
    margin-bottom: 24px;
  }
  .haru-account {
    max-width: 36ch;
    font-size: 18px;
  }
  .haru-presence .presence-words > .hand {
    margin-bottom: 32px;
  }
}

/* Curved threshold: architecture owns the frame; HTML owns every word. */
.garden-threshold {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #e8decb;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 76px;
}
.threshold-art {
  position: absolute;
  inset: 76px 0 0;
  z-index: -1;
}
.threshold-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.threshold-copy {
  width: 43%;
  padding: 76px 0 0 6.5%;
  color: #303b34;
}
.threshold-copy h1 {
  font:
    400 clamp(44px, 4.3vw, 68px)/1.13 Lora,
    serif;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
}
.threshold-copy p {
  font:
    400 20px/1.55 Source,
    sans-serif;
  margin: 0 0 28px;
  max-width: 28ch;
}
.threshold-copy .entrance-link {
  position: relative;
  justify-content: center;
  min-width: 204px;
  min-height: 64px;
  padding: 19px 30px 15px;
  border-radius: 50% 50% 10px 10px / 20px 20px 8px 8px;
  background: #46583f;
  color: #f4f0e6;
  font:
    400 17px/1.4 Lora,
    serif;
}
.threshold-copy .entrance-link::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #f4f0e64d;
  border-radius: inherit;
  pointer-events: none;
}
.threshold-copy .entrance-link:hover {
  background: #34472f;
}
.threshold-copy .entrance-link:active {
  background: #293b25;
}
@media (prefers-reduced-motion: no-preference) {
  .threshold-copy .entrance-link {
    transition: background-color 180ms ease-out;
  }
}

.threshold-copy a:focus-visible {
  outline: 3px solid #303b34;
  outline-offset: 5px;
}
.garden-page .scene-arrival .opening-copy {
  max-width: 36%;
}
.garden-page .scene-arrival .opening-copy > .hand {
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: 1.15;
}
@media (max-width: 700px) {
  .garden-threshold {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-top: 68px;
    scroll-margin-top: 68px;
    background: #eee5d5;
  }
  .threshold-copy {
    width: 100%;
    padding: 28px 7% 26px;
    order: -1;
    text-align: center;
  }
  .threshold-copy h1 {
    font-size: clamp(34px, 9.4vw, 52px);
    margin-bottom: 16px;
  }
  .threshold-copy p {
    font-size: 17px;
    line-height: 1.45;
    margin: 0 auto 22px;
  }
  .threshold-art {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 0.82;
    z-index: 0;
    overflow: hidden;
  }
  .threshold-art img {
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: initial;
  }
  .garden-page .scene-arrival {
    display: block;
    padding-top: 0;
  }
  .garden-page .scene-arrival .arrival-art {
    display: contents;
  }
  .garden-page .scene-arrival .arrival-image {
    top: 30%;
    height: 70%;
    min-height: 0;
    object-position: 96% center;
  }
  .garden-page .scene-arrival .opening-copy {
    position: absolute;
    grid-area: auto;
    left: 8%;
    top: 15%;
    padding: 0;
    max-width: 84%;
  }
  .garden-page .scene-arrival .opening-copy > .hand {
    font-size: clamp(34px, 8.8vw, 46px);
  }
}
@media (max-height: 649px) and (min-width: 701px) {
  .garden-threshold {
    min-height: max(680px, calc(56vw + 76px));
  }
}
/* Portrait tablets need the same text/art separation as phones. */
@media (min-width: 701px) and (max-width: 1000px) and (orientation: portrait) {
  .garden-threshold {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-top: 76px;
    background: #eee5d5;
  }
  .threshold-copy {
    order: -1;
    width: 100%;
    padding: 42px 8% 32px;
    text-align: center;
  }
  .threshold-copy h1 {
    font-size: 56px;
  }
  .threshold-copy p {
    margin-inline: auto;
  }
  .threshold-art {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 0.95;
    z-index: 0;
    overflow: hidden;
  }
  .threshold-art img {
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: initial;
  }
}

/* Each chapter has a full reading screen, while longer content can still grow. */
.haru-presence {
  min-height: calc(100svh - 76px);
}
.haru-presence .presence-words {
  justify-content: center;
  min-height: calc(100svh - 76px);
  padding-block: clamp(48px, 8svh, 96px);
}
.haru-presence .presence-words .primary-link {
  margin-top: 0;
}
.keepsake-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f4f0e6;
  margin-top: 16px;
  text-underline-offset: 5px;
}
.garden-page .keepsake-stage {
  min-height: calc(100svh - 76px);
}
.landscape-questions {
  min-height: calc(100svh - 76px);
  align-content: center;
}
@media (max-width: 700px) {
  .haru-presence {
    min-height: calc(100svh - 68px);
    grid-template-rows: 1fr;
  }
  .haru-presence .presence-words {
    min-height: 0;
    padding: 20px 8% 40px;
  }
  .haru-presence .presence-words h2 {
    margin-bottom: 22px;
  }
  .haru-account p {
    margin-bottom: 18px;
  }
  .haru-presence .presence-words > .hand {
    margin-bottom: 24px;
  }
  .garden-page .keepsake-stage {
    min-height: calc(100svh - 68px);
  }
  .landscape-questions {
    min-height: calc(100svh - 68px);
  }
}

/* One landscape per scene: an extensible sequence, without product boxes. */
.landscape-sequence {
  background: #302c22;
  color: #f4f0e6;
}
.landscape-scene {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
}
.landscape-scene-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.landscape-scene::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    #241f19ed 0%,
    #241f19d9 27%,
    #241f1966 40%,
    transparent 57%
  );
}
.landscape-scene-copy {
  width: 35%;
  padding: 100px 0 72px 6%;
}
.landscape-reading-surface {
  display: none;
  opacity: 0;
}
.landscape-reading-surface.is-ready {
  opacity: 1;
}
.landscape-scene h3 {
  font:
    400 clamp(44px, 4.7vw, 68px)/1.1 Lora,
    serif;
  margin: 0 0 12px;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.landscape-scene .hand {
  font-size: 31px;
  margin: 0 0 32px;
}
.landscape-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 31ch;
  margin: 0 0 28px;
}
.landscape-price {
  font-size: 23px;
  font-variant-numeric: tabular-nums;
  margin: 0 0 18px;
}
.landscape-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.landscape-actions .primary-link {
  background: #f4f0e6;
  color: #303b34;
  margin: 0;
}
.landscape-actions .primary-link:hover {
  background: #dce0d0;
}
.landscape-care {
  color: #f4f0e6;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  text-underline-offset: 5px;
}
.landscape-actions a:focus-visible {
  outline: 3px solid #f4f0e6;
  outline-offset: 5px;
}
@media (min-width: 1001px), (min-width: 701px) and (orientation: landscape) {
  .threshold-art {
    inset: 0;
  }
  .threshold-copy {
    width: 46%;
    padding: 24px 0 0 13%;
  }
  .threshold-copy h1 {
    font-size: clamp(42px, 3.9vw, 62px);
  }
}
@media (max-width: 1000px) and (min-width: 701px) {
  .landscape-scene-copy {
    width: 40%;
    padding-left: 5%;
  }
  .landscape-description {
    font-size: 17px;
  }
}
@media (max-width: 700px) {
  .garden-threshold {
    padding-top: 88px;
  }
}
@media (max-width: 700px),
  (min-width: 701px) and (max-width: 1000px) and (orientation: portrait) {
  .landscape-scene {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100svh;
  }
  .landscape-scene-image {
    position: relative;
    inset: auto;
    z-index: 0;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 75% center;
  }
  .landscape-scene::before {
    display: none;
  }
  .landscape-scene-copy {
    position: relative;
    isolation: isolate;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(40px, 5.5svh, 56px) 7% 44px;
    background: #30261e;
  }
  .landscape-reading-surface {
    display: block;
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    pointer-events: none;
  }
  .landscape-scene-copy::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, transparent, #21180f66 80px);
    pointer-events: none;
  }
  .landscape-scene h3 {
    font-size: 43px;
    margin-bottom: 7px;
  }
  .landscape-scene .hand {
    font-size: 27px;
    margin-bottom: 19px;
  }
  .landscape-description {
    max-width: 43ch;
    font-size: 17px;
    margin-bottom: 18px;
  }
  .landscape-price {
    font-size: 21px;
    margin-bottom: 15px;
  }
}
.landscape-sequence,
.landscape-scene {
  scroll-margin-top: 0;
}
@media (min-width: 1001px), (min-width: 701px) and (orientation: landscape) {
  .threshold-copy {
    width: 48%;
    padding-left: 16%;
    transform: translateY(-44px);
  }
}
/* Every thought gets the same feathered atmosphere, including the first. */
@media (min-width: 701px) {
  .garden-page .scene-arrival::after,
  .garden-page .scene:not(.scene-arrival)::after {
    display: none;
  }
  .garden-page .scene-arrival .opening-copy {
    inset: auto;
    left: 12%;
    top: 30%;
    width: max-content;
    max-width: min(35%, 560px);
    isolation: isolate;
    z-index: 3;
    text-shadow: none;
  }
  .garden-page .scene-arrival .opening-copy > .hand {
    margin: 0;
  }
  .garden-page .scene .journey-copy .journey-thought {
    left: 12%;
    top: 30%;
    width: max-content;
    max-width: min(35%, 560px);
    isolation: isolate;
    text-shadow: none;
  }
  .garden-page .scene-arrival .opening-copy::before,
  .garden-page .scene .journey-thought::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -165px -110px -145px;
    opacity: 0.82;
    background-image:
      url("/assets/optimized/story-mist/mist-960.webp"),
      url("/assets/optimized/story-mist/mist-960.webp");
    background-position:
      center top,
      center bottom;
    background-size: 100% 80%;
    background-repeat: no-repeat;
    mask-image: linear-gradient(
      90deg,
      transparent,
      #000 12%,
      #000 88%,
      transparent
    );
    pointer-events: none;
  }
}
/* Make room around Haru, and let the text use its allotted right-hand space. */
@media (min-width: 701px) {
  .haru-presence .presence-art {
    grid-column: 1 / 10;
  }
  .haru-presence .presence-art img {
    object-position: 75% center;
  }
  .haru-presence .presence-art::after {
    background: linear-gradient(90deg, transparent 73%, #29382e 100%);
  }
  .haru-presence .presence-words {
    grid-column: 9 / 13;
    padding-left: 0;
    padding-right: clamp(32px, 5vw, 96px);
  }
  .haru-presence .haru-account {
    max-width: 42ch;
  }
  .haru-presence .haru-account p {
    max-width: none;
  }
}
@media (max-width: 700px) {
  /* Replace the straight paper-to-image seam with a feathered image edge. */
  .garden-page .scene > img,
  .garden-page .scene-arrival .arrival-image {
    mask-image: linear-gradient(180deg, transparent, #000 13%, #000);
  }
  .garden-page .scene-arrival::after,
  .garden-page .scene:not(.scene-arrival)::after {
    display: none;
  }
}

/* Full chapters share the viewport and a protected text column. */
.haru-presence,
.garden-page .keepsake-stage {
  min-height: 100svh;
}
@media (min-width: 1001px) {
  .haru-presence .presence-words {
    min-height: 100svh;
    padding-left: 24px;
    padding-top: 120px;
    padding-bottom: 64px;
  }
}

/* Scene rhythm: one composition per viewport, with natural content overflow. */
.garden-page .keepsake {
  height: auto;
  min-height: 100svh;
}
.garden-page .keepsake-stage {
  height: auto;
  min-height: 100svh;
}
@media (min-width: 1001px) and (min-height: 650px) {
  .garden-threshold {
    min-height: 100svh;
  }
  .landscape-scene-copy {
    padding-block: 108px 48px;
  }
}

.garden-threshold {
  min-height: 100svh;
}

@media (min-width: 701px) and (max-width: 1000px) and (orientation: portrait) {
  .garden-page .scene {
    background: var(--garden-paper);
  }
  .garden-page .scene > img,
  .garden-page .scene-arrival .arrival-image {
    inset: 30% 0 0;
    height: 70%;
    object-position: 96% center;
    mask-image: linear-gradient(180deg, transparent, #000 13%, #000);
  }
  .garden-page .scene-arrival .opening-copy,
  .garden-page .scene .journey-copy .journey-thought {
    top: 15%;
    left: 8%;
    width: 84%;
    max-width: none;
  }
  .garden-page .scene-arrival .opening-copy .hand,
  .garden-page .scene .journey-copy .journey-thought {
    font-size: clamp(40px, 5.7vw, 58px);
  }
  .garden-page .scene-arrival .opening-copy::before,
  .garden-page .scene .journey-thought::before {
    display: none;
  }
  /* Reserve a complete art frame below the tablet copy, including Haru's feet. */
  .garden-threshold {
    height: 100svh;
    min-height: max(100svh, calc(450px + max(45svh, 50vw)));
  }
  .threshold-copy {
    flex: none;
    padding: 26px 8% 24px;
  }
  .threshold-copy h1 {
    font-size: clamp(44px, 6vw, 56px);
  }
  .threshold-art {
    flex: 1;
    min-height: max(45svh, 50vw);
    aspect-ratio: auto;
  }
  .haru-presence {
    display: flex;
    flex-direction: column;
  }
  .haru-presence .presence-art {
    display: none;
  }
  .haru-presence .presence-words {
    min-height: 0;
    padding: 32px 8% 48px;
    width: 100%;
  }
  .haru-presence .haru-account {
    max-width: 56ch;
  }
}

/* Mobile arrival is one continuous paper-and-garden composition. */
@media (max-width: 700px) {
  .garden-threshold {
    padding-top: 76px;
    background: #eee5d5;
  }
  .threshold-copy {
    position: relative;
    z-index: 1;
    padding: 20px 7% 22px;
  }
  .threshold-copy h1 {
    font-size: clamp(34px, 8.4vw, 46px);
    margin-bottom: 14px;
  }
  .threshold-copy p {
    margin-bottom: 18px;
  }
  .threshold-art {
    flex: 1;
    min-height: 100vw;
    aspect-ratio: auto;
    margin-top: -12px;
    mask-image: linear-gradient(to bottom, transparent, #000 64px);
  }
  .threshold-art img {
    right: -4%;
  }
}

@media (min-width: 1001px) and (max-height: 760px) {
  .haru-presence .presence-words {
    padding-top: 96px;
    padding-bottom: 24px;
  }
  .haru-presence .presence-words h2 {
    font-size: clamp(40px, 4vw, 54px);
    margin-bottom: 20px;
  }
  .haru-presence .haru-account {
    font-size: 18px;
    line-height: 1.5;
  }
  .haru-presence .haru-account p {
    margin-bottom: 16px;
  }
  .haru-presence .presence-words > .hand {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .haru-presence .keepsake-link {
    margin-top: 8px;
  }
}

/* Enlarged browser text and short landscape windows keep clear of navigation. */
@media (min-width: 701px) and (max-height: 600px) {
  .garden-threshold {
    padding-block: 96px 36px;
  }
  .threshold-copy {
    padding-top: 0;
  }
}
