/* Initial font readiness is handled by appearance.js. Keep text visible on reflow. */
@font-face {
  font-family: "Gaegu";
  src: url("/_immutable/33e65bfc40c47156/assets/fonts/gaegu.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Kosefont-JP";
  src: url("/_immutable/05b821d4f53f1b72/assets/fonts/kosefont-jp.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Xiaolai";
  src: url("/_immutable/7f2e3ed9cef3b0a7/assets/fonts/xiaolai.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #fff;
  --ink: #171714;
  --quiet-ink: #666660;
  --flower-stem: #718345;
  --heading-font: "Gaegu", "Comic Sans MS", cursive;
  --control-font-size: 2rem;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 280px;
}

button { font: inherit; }

.text-phrase { white-space: nowrap; }

:lang(ko) .welcome-heading,
:lang(ko) .inside-heading,
:lang(ko) .inside-message { word-break: keep-all; }

:lang(ja) .inside,
:lang(zh-Hans) .inside,
:lang(ja) .welcome-heading,
:lang(zh-Hans) .welcome-heading { line-break: strict; }

:root:lang(ja) {
  --heading-font: "Kosefont-JP", "Hiragino Maru Gothic ProN", sans-serif;
  --control-font-size: 1.375rem;
}

:root:lang(zh-Hans) {
  --heading-font: "Xiaolai", "Kaiti SC", "STKaiti", sans-serif;
  --control-font-size: 1.625rem;
}

/* Reveal handwritten copy only after its font is ready; navigation stays usable. */
:root[data-page-pending] :is(.welcome-copy, .garden-welcome, .inside-section, .flower-dialog, .flower-tooltip) {
  visibility: hidden;
}

/* Keep the inside screen together until its entrance can begin. */
:root[data-page-pending] .inside-page { visibility: hidden; }

:root[data-font-fallback] {
  --heading-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
  padding: clamp(1rem, 2.4vw, 2.5rem) clamp(1.25rem, 4.5vw, 5rem);
}

.page-header--inside {
  position: fixed;
  z-index: 20;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 5.25rem;
  align-items: center;
  gap: 0;
  padding: max(.25rem, env(safe-area-inset-top)) clamp(.75rem, 2.6vw, 2.5rem) .375rem;
}

/* A separate glass surface leaves the navigation and its focus rings crisp. */
.page-header--inside::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  box-shadow: inset 0 -1px 0 rgb(23 23 20 / 5%);
  pointer-events: none;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .page-header--inside::before {
    background: rgb(255 255 255 / 72%);
    -webkit-backdrop-filter: blur(18px) saturate(110%);
    backdrop-filter: blur(18px) saturate(110%);
  }
}

.languages {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.75rem;
}

.languages::after {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--language-line-width, 0px);
  height: 1.5px;
  background: var(--flower-stem);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--language-line-x, 0px), var(--language-line-y, 0px), 0);
}

.languages[data-indicator-ready]::after { opacity: 1; }
.languages[data-indicator-moving]::after,
.section-nav[data-indicator-moving]::after {
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
              width 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.languages[data-indicator-ready] button::after { display: none; }

.languages button {
  position: relative;
  min-height: 44px;
  padding: 0.5rem 0.25rem;
  border: 0;
  background: transparent;
  color: var(--quiet-ink);
  font-size: 0.875rem;
  line-height: 1.4;
  cursor: pointer;
  touch-action: manipulation;
}

.languages button::after {
  position: absolute;
  right: 0.25rem;
  bottom: 0.4rem;
  left: 0.25rem;
  height: 1.5px;
  background: var(--flower-stem);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 150ms ease;
}

.languages button[aria-pressed="true"] { color: var(--ink); }
.languages button[aria-pressed="true"]::after { transform: scaleX(1); }
.languages button:active { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .languages button:hover { color: var(--ink); }
}
.languages button:focus-visible {
  outline: 2px solid var(--flower-stem);
  outline-offset: 4px;
  border-radius: 3px;
}

.language-picker { position: relative; width: 5.25rem; }
.languages .language-trigger {
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  width: 100%;
  padding: .5rem .25rem;
  font-size: .875rem;
  letter-spacing: normal;
}
.language-trigger svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--quiet-ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 140ms ease;
}
.language-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.language-picker button::after { display: none; }
.language-menu {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  display: grid;
  width: 10.5rem;
  max-width: calc(100vw - 1.5rem);
  padding: .375rem;
  border: 1px solid rgb(113 131 69 / 28%);
  border-radius: 10px 8px 12px 9px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgb(23 23 20 / 8%), 0 2px 6px rgb(23 23 20 / 4%);
  animation: language-menu-in 140ms ease-out;
}
.language-menu[hidden] { display: none; }
.language-menu button {
  padding: .375rem 2rem .375rem .75rem;
  border-radius: 5px 7px 6px 8px;
  font: 1.5rem/1.35 "Gaegu", "Comic Sans MS", cursive;
  text-align: left;
  white-space: nowrap;
}
.language-menu button:lang(ja) { font-family: "Kosefont-JP", "Hiragino Maru Gothic ProN", sans-serif; font-size: 1.0625rem; }
.language-menu button:lang(zh-Hans) { font-family: "Xiaolai", "Kaiti SC", "STKaiti", sans-serif; font-size: 1.1875rem; }
.language-menu button[aria-checked="true"] { color: var(--ink); background: rgb(113 131 69 / 9%); }
.language-menu button[aria-checked="true"]::before {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: .75rem;
  width: 9px;
  height: 5px;
  border-bottom: 1.5px solid var(--flower-stem);
  border-left: 1.5px solid var(--flower-stem);
  transform: rotate(-45deg);
}
.language-menu button:active,
.language-menu button:focus-visible { background: rgb(113 131 69 / 9%); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .language-menu button:hover { background: rgb(113 131 69 / 9%); color: var(--ink); }
}
.language-menu button:focus-visible { outline-offset: -2px; }
@keyframes language-menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-header--inside .back-link {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  justify-content: center;
  width: 44px;
  padding: 0;
}
.page-header--inside .back-icon { display: block; }
.page-header--inside .back-link-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header-thumbnail { grid-column: 2; grid-row: 1; justify-self: center; display: none; width: 44px; height: 44px; }
.header-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.page-header--inside .languages {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  flex-wrap: nowrap;
  gap: 0;
}
.page-header--inside .languages::after { display: none; }

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  grid-template-rows: auto auto;
  align-items: center;
  align-content: center;
  column-gap: clamp(1rem, 2.6vw, 3rem);
  width: min(86%, 1500px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 7rem 0;
}

.welcome-heading {
  margin: 0;
  max-width: 100%;
  font-family: var(--heading-font);
  font-size: clamp(2.6rem, 4.45vw, 4.75rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.045em;
  text-align: left;
  text-wrap: balance;
}

.welcome-heading > span { display: block; }
.welcome-heading > span:empty { display: none; }
.welcome-heading--english > :is([data-line="2"], [data-line="3"]) { display: inline; }

.welcome-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  min-width: 0;
  container-type: inline-size;
}
.welcome-actions { grid-row: 2; align-self: start; }

.portrait-name {
  position: relative;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  cursor: default;
  touch-action: manipulation;
  text-decoration: none;
}

.portrait-name:focus-visible, .country-hover:focus-visible {
  outline: 2px solid var(--flower-stem);
  outline-offset: 4px;
  border-radius: 3px;
}
.portrait-name, .country-hover, .enter-button { -webkit-tap-highlight-color: transparent; }

.name-portrait {
  --portrait-tilt: -7deg;
  --portrait-peek-tilt: -13deg;
  position: fixed;
  z-index: 30;
  width: clamp(77px, 8vw, 106px);
  aspect-ratio: 1;
  padding: 4px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.88) rotate(var(--portrait-tilt));
  transform-origin: 50% 85%;
  transition: opacity 170ms ease, transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 170ms;
}

.name-portrait[data-open] {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1) rotate(var(--portrait-tilt));
  animation: portrait-peek 380ms ease-out;
}
.name-portrait[data-side="right"] { --portrait-tilt: 7deg; --portrait-peek-tilt: 13deg; }
@keyframes portrait-peek {
  0% { opacity: 0; transform: translateY(10px) scale(0.84) rotate(var(--portrait-peek-tilt)); }
  60% { opacity: 1; transform: translateY(-2px) scale(1.04) rotate(var(--portrait-tilt)); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(var(--portrait-tilt)); }
}
.name-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgb(23 23 20 / 0.07));
}
.name-portrait img[hidden] { display: none; }

@media (max-width: 900px) {
  .name-portrait { width: clamp(42px, 11.2vw, 54px); padding: 2px; }
}

.welcome-details {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.1em 0.4em;
  margin: 1.5rem 0 0;
  font-family: var(--heading-font);
  font-size: clamp(1.25rem, 2.1vw, 1.875rem);
  line-height: 1.5;
  letter-spacing: 0.025em;
}

.welcome-details [data-copy="date"] { white-space: nowrap; }
.welcome-date-place { display: inline-flex; align-items: baseline; gap: 0.4em; white-space: nowrap; }

.country-hover {
  position: relative;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-decoration: none;
  cursor: default;
  touch-action: manipulation;
}
@media (pointer: coarse) {
  /* Extend the hit area without changing the heading or location's line boxes. */
  .portrait-name::before, .country-hover::before {
    position: absolute;
    inset-inline: -3px;
    top: 50%;
    min-height: 44px;
    height: 100%;
    content: '';
    transform: translateY(-50%);
  }
}
.baguette-bubbles {
  position: fixed;
  inset: 0;
  z-index: 31;
  overflow: hidden;
  pointer-events: none;
}
.baguette-bubble {
  position: absolute;
  display: block;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 26px;
  line-height: 1;
  opacity: 0;
  animation: baguette-float 720ms ease-out forwards;
}
@keyframes baguette-float {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.72) rotate(var(--baguette-tilt)); }
  12% { opacity: 1; }
  30% { opacity: 0.75; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--baguette-drift)), var(--baguette-rise)) scale(0.82) rotate(calc(var(--baguette-tilt) + 12deg));
  }
}

:lang(ja) .welcome-details,
:lang(zh-Hans) .welcome-details {
  font-size: clamp(1.125rem, 1.65vw, 1.5rem);
  letter-spacing: 0;
}

.enter-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 240px);
  min-height: 62px;
  margin-top: 2rem;
  padding: 0.6rem 2rem;
  color: var(--ink);
  background: var(--paper);
  border-radius: 18px 15px 17px 14px;
  font-family: var(--heading-font);
  font-size: var(--control-font-size);
  line-height: 1.2;
  text-decoration: none;
  transform: rotate(-0.8deg);
  transition: transform 180ms ease, background-color 180ms ease;
  touch-action: manipulation;
}

.enter-button::before {
  position: absolute;
  inset: 4px 6px;
  background: url("/_immutable/b0cffd0e58c41acc/assets/enter-scribble.svg") center / 100% 100% no-repeat;
  border-radius: inherit;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.enter-button [data-copy] { position: relative; z-index: 1; }

.button-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.button-outline path,
.enter-heart path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.enter-heart {
  position: absolute;
  top: -16px;
  right: 7px;
  z-index: 2;
  width: 19px;
  height: 19px;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  transform: translateY(2px) rotate(-7deg);
  transition: opacity 180ms ease, transform 350ms ease;
}

.enter-button:is(:focus-visible, :active) .enter-heart {
  opacity: 1;
  transform: translateY(0) rotate(-7deg);
  animation: enter-heart-wobble 560ms ease-out both;
}

@keyframes enter-heart-wobble {
  0% { transform: translateY(2px) rotate(-12deg); }
  45% { transform: translateY(0) rotate(2deg); }
  72% { transform: translateY(0) rotate(-10deg); }
  100% { transform: translateY(0) rotate(-7deg); }
}

.enter-button:focus-visible::before,
.enter-button:active::before { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .enter-button:hover { background: #fffdf3; transform: translateY(-2px) rotate(0.6deg); }
  .enter-button:hover::before { opacity: 1; }
  .enter-button:hover .enter-heart {
    opacity: 1;
    transform: translateY(0) rotate(-7deg);
    animation: enter-heart-wobble 560ms ease-out both;
  }
}

.enter-button:active { transform: translateY(1px) rotate(-0.4deg); }

.enter-button:focus-visible,
.back-link:focus-visible,
.header-thumbnail:focus-visible {
  outline: 2px solid var(--flower-stem);
  outline-offset: 6px;
}

.inside {
  font-family: var(--heading-font);
  text-align: center;
}

.inside-intro,
.inside-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 8rem clamp(10rem, 17vw, 18rem);
}

.inside-heading {
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 4.25rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  max-width: 100%;
  text-wrap: balance;
}

.inside-heading > span { display: block; }

:lang(ja) .inside-heading {
  font-size: clamp(1.75rem, 3.5vw, 3.5rem);
  line-height: 1.55;
  letter-spacing: 0.015em;
}

.inside-section-heading {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.4;
}

.inside-section:focus { outline: none; }

.inside-message {
  margin: 1rem 0 0;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  line-height: 1.6;
  max-width: 100%;
  text-wrap: balance;
}

.section-nav {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  min-width: 0;
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(.125rem, calc(10vw - 27px), 2rem);
  padding: 3px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-padding-inline: 18px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--section-fade-start, 0px), #000 calc(100% - var(--section-fade-end, 0px)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--section-fade-start, 0px), #000 calc(100% - var(--section-fade-end, 0px)), transparent);
}
.section-nav[data-overflow-start] { --section-fade-start: 14px; }
.section-nav[data-overflow-end] { --section-fade-end: 14px; }
.section-nav::-webkit-scrollbar { display: none; }

.section-nav::after {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--section-line-width, 0px);
  height: 1.5px;
  background: var(--flower-stem);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--section-line-x, 0px), var(--section-line-y, 0px), 0);
}
.section-nav[data-indicator-ready]::after {
  opacity: 1;
  animation: section-line-reveal 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.section-nav[data-indicator-ready] a::after { display: none; }

@keyframes section-line-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}

.section-nav a {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: .5rem 0;
  color: var(--quiet-ink);
  font-size: 0.875rem;
  line-height: 1.4;
  text-decoration: none;
  touch-action: manipulation;
  white-space: nowrap;
}

.section-nav a::after {
  position: absolute;
  right: 0.25rem;
  bottom: 0.35rem;
  left: 0.25rem;
  height: 1.5px;
  background: var(--flower-stem);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.section-nav a:active,
.section-nav a[aria-current="location"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .section-nav a:hover { color: var(--ink); }
}
.section-nav a[aria-current="location"]::after { transform: scaleX(1); }
.section-nav a:focus-visible {
  outline: 2px solid var(--flower-stem);
  outline-offset: 2px;
  border-radius: 3px;
}

html:has(.inside) { scroll-behavior: smooth; scroll-padding-top: calc(4rem + env(safe-area-inset-top)); }

.back-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.25rem;
  color: var(--quiet-ink);
  font-size: 0.875rem;
  line-height: 1.4;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  touch-action: manipulation;
}

.back-link:is(:active, :focus-visible) {
  color: var(--ink);
  text-decoration-line: underline;
}
@media (hover: hover) and (pointer: fine) {
  .back-link:hover { color: var(--ink); text-decoration-line: underline; }
}
.back-icon { display: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.illustration {
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  width: 100%;
  margin: 0;
}

.illustration-source {
  display: block;
  width: 100%;
  height: auto;
}

.illustration-breeze {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.illustration[data-breeze="running"] .illustration-breeze { display: block; }
.illustration[data-breeze="running"] .illustration-source { opacity: 0; }
:lang(ko) .welcome-heading {
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.4;
  letter-spacing: 0;
}

:lang(ja) .welcome-heading {
  font-size: clamp(2.1rem, 3.35vw, 3.5rem);
  line-height: 1.55;
  letter-spacing: 0.025em;
}

:lang(zh-Hans) .welcome-heading {
  font-size: clamp(2.2rem, 3.7vw, 4rem);
  line-height: 1.5;
  letter-spacing: 0.015em;
}

@media (max-width: 900px) {
  .page-header { padding: 1rem 1.25rem; }
  .page-header:not(.page-header--inside) .languages > button {
    font-size: .75rem;
    letter-spacing: .02em;
  }
  .page-header--inside { grid-template-columns: 5.25rem minmax(0, 1fr) 5.25rem; padding: max(.375rem, env(safe-area-inset-top)) .75rem .375rem; }
  .page-header--inside .section-nav { display: none; }
  .page-header--inside .header-thumbnail { display: block; }
  html:has(.inside) { scroll-padding-top: calc(3.5rem + env(safe-area-inset-top)); }
  .languages { gap: .15rem .65rem; }
  .inside-intro,
  .inside-section { padding: 7rem 1.25rem; }
  .inside-heading { font-size: clamp(1.75rem, 6.7vw, 2.75rem); }
  :lang(ja) .inside-heading,
  :lang(zh-Hans) .inside-heading { font-size: clamp(1.375rem, 5.5vw, 2.25rem); }
  .welcome {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-content: center;
    justify-items: center;
    gap: clamp(1.25rem, 5vw, 2.5rem);
    width: min(100% - 2rem, 560px);
    padding: 7rem 0 3.25rem;
  }
  .welcome-heading {
    font-size: clamp(2rem, 7vw, 3.3rem);
    line-height: 1.3;
    letter-spacing: 0.025em;
    text-align: center;
  }
  .welcome-heading--english > [data-line="1"] { display: inline; }
  .welcome-heading--english > [data-line="3"] { display: block; }
  .welcome-copy { grid-column: auto; grid-row: auto; align-self: auto; width: 100%; text-align: center; }
  .welcome-details { justify-content: center; margin-top: 1rem; }
  .enter-button { margin-top: 1.5rem; }
  .welcome-actions .enter-button { margin-top: 0; }
  .illustration { grid-column: auto; grid-row: auto; width: min(100%, 540px); }
  :lang(en) .welcome-heading { font-size: clamp(1.7rem, 8.5vw, 3.3rem); }
  :lang(ko) .welcome-heading { font-size: clamp(2rem, 7vw, 2.8rem); }
  :lang(ja) .welcome-heading { font-size: clamp(1.85rem, 6.1vw, 2.5rem); }
  :lang(zh-Hans) .welcome-heading { font-size: clamp(1.95rem, 6.5vw, 2.7rem); }
}

@media (prefers-reduced-transparency: reduce) {
  .page-header--inside::before {
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .baguette-bubble { animation: none; opacity: 1; transform: translateX(-50%); }
  .name-portrait { transition: none; }
  .name-portrait[data-open] { animation: none; }
  .name-portrait, .name-portrait[data-open] { transform: rotate(var(--portrait-tilt)); }
  html:has(.inside) { scroll-behavior: auto; }
  .section-nav a::after { transition: none; }
  .section-nav[data-indicator-ready]::after { animation: none; }
  .languages[data-indicator-moving]::after,
  .section-nav[data-indicator-moving]::after { transition: none; }
  .languages button::after { transition: none; }
  .language-trigger svg { transition: none; }
  .language-menu { animation: none; }
  .enter-button { transition: none; transform: none; }
  .enter-button::before { transition: none; }
  .enter-button:hover, .enter-button:active { transform: none; }
  .enter-heart { transition: none; }
  .enter-button:is(:hover, :focus-visible, :active) .enter-heart {
    animation: none;
    transform: rotate(-7deg);
  }
  .illustration[data-breeze="running"] .illustration-breeze { display: none; }
  .illustration[data-breeze="running"] .illustration-source { opacity: 1; }
}
