:root {
  color-scheme: dark;
  --ink: #111310;
  --surface: #1a1d18;
  --cream: #e9e1cd;
  --muted: #aaa99a;
  --gold: #c6ad7c;
  --line: rgba(218, 202, 160, 0.18);
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  background: var(--ink);
  color: var(--cream);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  background: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button {
  font-family: "Manrope", "Noto Sans JP", sans-serif;
}

html[lang=ja] body,
html[lang=ja] button {
  font-family: "Noto Sans JP", "Manrope", sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

button {
  background: none;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button:focus-visible,
a:focus-visible {
  outline: none;
}

button:disabled {
  cursor: default;
  opacity: 0.3;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 20px;
  background: var(--cream);
  color: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

.text-link {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.boot-pending #site-shell {
  visibility: hidden;
}

.noscript-note {
  padding: 80px 24px 0;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
#site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: linear-gradient(#000 0%, #000 42%, rgba(0, 0, 0, 0.82) 68%, var(--ink) 100%);
}

.site-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  transform: translate(-50%, -50%);
}

.site-logo .brand-logo {
  display: block;
  width: 100%;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 12px;
}

.nav-toggle span {
  height: 1px;
  width: 25px;
  background: var(--cream);
  display: block;
}

.nav-toggle span:last-child {
  width: 18px;
}

.language-toggle {
  min-height: 48px;
  padding: 10px 8px;
  letter-spacing: 0.15em;
  font-size: 10px;
  font-weight: 600;
  color: var(--cream);
}

.page-container {
  width: 100%;
  max-width: 600px;
  padding: 112px 22px 48px;
  margin: 0 auto;
  flex: 1;
}

.page-intro {
  padding-bottom: 40px;
}

.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.23em;
  margin-bottom: 20px;
}

h1 {
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  font-size: clamp(44px, 11vw, 68px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.intro-copy {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 30px;
  white-space: pre-line;
  max-width: 100%;
}

.intro-rule {
  display: block;
  margin-top: 30px;
  height: 1px;
  width: 42px;
  background: var(--gold);
  opacity: 0.6;
}

.site-footer {
  width: 100%;
  max-width: 1128px;
  margin: 0 auto;
  padding: 42px 22px 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.empty-state {
  padding: 40px 0 100px;
  color: var(--muted);
  font-size: 14px;
}

.generic-page article {
  margin-bottom: 50px;
}

.generic-page article h1 {
  font-size: 36px;
  margin-bottom: 24px;
}

.generic-page article p {
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .site-header {
    padding: 16px 36px;
    height: 90px;
  }
  .site-logo {
    width: 92px;
  }
  .language-toggle {
    font-size: 11px;
  }
  .page-container {
    max-width: 1128px;
    padding: 144px 24px 64px;
  }
  .page-intro {
    padding-bottom: 64px;
  }
  h1 {
    font-size: clamp(60px, 7.5vw, 86px);
    letter-spacing: 0.06em;
  }
  .intro-copy {
    font-size: 17px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .site-footer {
    padding: 64px 24px 32px;
  }
  .intro-rule {
    margin-top: 36px;
  }
}
body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar .overlay,
body.admin-bar .loading-screen {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar .overlay,
  body.admin-bar .loading-screen {
    top: 46px;
  }
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 22px;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s var(--ease);
  overscroll-behavior: contain;
  overflow-y: auto;
}

.overlay.is-open {
  background: rgba(0, 0, 0, 0.88);
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  font-family: "Manrope", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  z-index: 5;
  color: var(--cream);
}

.brand-logo {
  width: clamp(200px, 56vw, 320px);
  height: auto;
  object-fit: contain;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #000;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.loading-screen.is-visible {
  opacity: 1;
}

.loading-screen .brand-logo {
  width: clamp(230px, 66vw, 380px);
}

.language-overlay,
.navigation-overlay {
  background: #000;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.language-overlay {
  justify-content: center;
}

.language-overlay.is-open,
.navigation-overlay.is-open {
  opacity: 1;
  background: #000;
}

.language-dialog {
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 100%;
  padding: 54px 0;
}

.language-dialog .brand-logo {
  width: clamp(100px, 30vw, 160px);
}

.language-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 20px;
}

.language-options button {
  min-height: 40px;
  padding: 7px 25px;
  font-size: clamp(19px, 5vw, 26px);
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--cream);
}

.language-options button[aria-pressed=true] {
  color: var(--gold);
}

.language-overlay .brand-logo,
.language-options button,
.navigation-links > a {
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.is-open .brand-logo,
.is-open .language-options button,
.is-open .navigation-links > a {
  opacity: 1;
  transform: translateY(0);
}

.is-open .language-options button:nth-child(1) {
  transition-delay: 0.12s;
}

.is-open .language-options button:nth-child(2) {
  transition-delay: 0.2s;
}

.is-open .language-options button:nth-child(3) {
  transition-delay: 0.28s;
}

.navigation-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 80px 0;
}

.navigation-links > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-size: clamp(28px, 7.5vw, 58px);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-shadow: 0 0 25px rgba(208, 185, 133, 0.08);
}

.is-open .navigation-links > a:nth-child(1) {
  transition-delay: 0.1s;
}

.is-open .navigation-links > a:nth-child(2) {
  transition-delay: 0.18s;
}

.is-open .navigation-links > a:nth-child(3) {
  transition-delay: 0.26s;
}

.is-open .navigation-links > a:nth-child(4) {
  transition-delay: 0.34s;
}

.external-arrow {
  font-size: 0.42em;
  align-self: flex-start;
  margin-top: 12px;
  color: var(--gold);
}

.title-reveal .title-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
}

.content-ready .title-reveal .title-letter {
  animation: title-letter-in 1s var(--ease) var(--title-delay) both;
}

@keyframes title-letter-in {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: none;
  }
}
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #25291f, #1a1c17);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  padding: 12px;
  letter-spacing: 0.02em;
}

.content-ready .reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.content-ready .reveal:not(.in-view) {
  opacity: 0;
  transform: translateY(10px);
}

.content-ready .intro-copy {
  animation: copy-appear 1s var(--ease) both;
}

@keyframes copy-appear {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cats-page {
  position: relative;
  z-index: 1;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  min-width: 0;
  align-self: start;
}

.cat-photo {
  display: block;
  aspect-ratio: 4/5;
  width: 100%;
  overflow: hidden;
  background: var(--surface);
  border-radius: 10px;
}

.cat-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-name {
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.5;
  margin-top: 14px;
  overflow-wrap: anywhere;
}

.cat-short {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 5px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.cat-overlay {
  align-items: flex-start;
  padding: 20px 14px;
}

.cat-dialog {
  position: relative;
  background: var(--surface);
  width: 100%;
  max-width: 1080px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  overflow: hidden;
}

.is-open .cat-dialog {
  opacity: 1;
  transform: none;
  transition-delay: 0.16s;
  border-radius: 10px;
}

.cat-dialog .close-button {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(17, 19, 16, 0.76);
  border-radius: 50%;
}

.cat-gallery {
  min-width: 0;
  background: #141711;
}

.cat-gallery .photo-placeholder {
  min-height: 300px;
  aspect-ratio: 4/5;
}

.cat-gallery .splide__slide {
  aspect-ratio: 4/5;
}

.cat-gallery .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-profile {
  padding: 30px 24px 36px;
  min-width: 0;
}

.cat-profile .eyebrow {
  font-size: 14px;
  text-align: center;
  margin-bottom: 12px;
}

.cat-profile h2 {
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.cat-description {
  margin-top: 18px;
  color: var(--cream);
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.cat-profile dl {
  margin-top: 28px;
}

.profile-detail {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.profile-detail dt {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.profile-detail dd {
  font-size: 14px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.splide__arrows {
  position: absolute;
  inset: 50% 0 auto;
  z-index: 2;
}

.splide__arrow {
  position: absolute;
  top: -22px;
  width: 44px;
  height: 44px;
  background: rgba(17, 19, 16, 0.7);
  border: 1px solid rgba(230, 220, 195, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 14px;
}

.splide__arrow svg {
  width: 16px;
  height: 16px;
  fill: var(--cream);
}

.splide__arrow--prev {
  left: 12px;
}

.splide__arrow--prev svg {
  transform: rotate(180deg);
}

.splide__arrow--next {
  right: 12px;
}

.splide__pagination {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  gap: 0;
  z-index: 2;
}

.splide__pagination li {
  line-height: 1;
}

.splide__pagination__page {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
}

.splide__pagination__page::after {
  content: "";
  width: 5px;
  height: 5px;
  background: #a5a291;
  border-radius: 50%;
  transition: box-shadow 0.4s, background 0.4s;
}

.splide__pagination__page.is-active::after {
  background: var(--cream);
  box-shadow: 0 0 10px 3px rgba(213, 185, 129, 0.55);
}

@media (min-width: 768px) {
  .is-open .cat-dialog {
    border-radius: 20px;
  }
  .cats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 24px;
  }
  .cat-name {
    font-size: 20px;
    margin-top: 20px;
  }
  .cat-short {
    font-size: 13px;
  }
  .cat-overlay {
    padding: 40px 24px;
  }
  .cat-dialog {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .cat-profile {
    padding: clamp(28px, 4vw, 54px);
  }
  .cat-profile h2 {
    font-size: clamp(30px, 3vw, 42px);
  }
  .cat-gallery {
    align-self: start;
  }
  .cat-dialog .close-button {
    top: 12px;
    right: 12px;
  }
  .cat-profile .eyebrow {
    padding-right: 20px;
  }
  .cat-profile dl {
    margin-top: 30px;
  }
}
@media (max-width: 360px) {
  .cats-grid {
    gap: 26px 12px;
  }
  .cat-name {
    font-size: 15px;
  }
  .cat-short {
    font-size: 11px;
  }
  .page-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.cat-gender {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.cat-profile .cat-gender {
  margin-top: 8px;
  font-size: 12px;
}

@media (min-width: 768px) {
  .cat-profile h2 {
    font-size: 24px;
  }
  .cat-profile .eyebrow {
    font-size: 16px;
  }
  .cat-card .cat-gender {
    font-size: 14px;
  }
  .cat-profile .cat-gender {
    font-size: 14px;
  }
  .cat-short {
    font-size: 14px;
  }
  .cat-description {
    font-size: 16px;
  }
  .profile-detail dt {
    font-size: 14px;
  }
  .profile-detail dd {
    font-size: 14px;
  }
}
@media (min-width: 1080px) {
  .cat-name {
    font-size: 24px;
    margin-top: 20px;
  }
  .cat-profile h2 {
    font-size: 30px;
  }
  .cat-profile .eyebrow {
    font-size: 18px;
  }
  .cat-card .cat-gender {
    font-size: 16px;
  }
  .cat-short {
    font-size: 16px;
  }
  .cat-profile .cat-gender {
    font-size: 16px;
  }
  .cat-description {
    font-size: 18px;
  }
  .profile-detail dt {
    font-size: 16px;
  }
  .profile-detail dd {
    font-size: 16px;
  }
}
.menu-page .page-intro {
  padding-top: 4px;
}

.menu-intro-playing {
  overflow: hidden;
}

.menu-drink-intro {
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow: hidden;
  background: #080909;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.65s ease;
}

.menu-drink-intro.is-fading {
  opacity: 0;
}

.menu-drink-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.menu-drink-logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.22;
}

.menu-drink-logo .brand-logo {
  width: clamp(160px, 27vw, 280px);
  height: auto;
  filter: grayscale(1);
}

.content-ready.menu-intro-finished .menu-page {
  animation: menu-drink-reveal 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes menu-drink-reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-drink-intro {
    display: none;
  }
  .content-ready.menu-intro-finished .menu-page {
    animation: none;
  }
}
.menu-copy {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.025em;
}

.menu-category {
  margin-bottom: 52px;
}

.category-title {
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.13em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  overflow-wrap: anywhere;
}

.menu-items {
  display: flex;
  flex-direction: column;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(80px, 29%) minmax(0, 1fr);
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.menu-photo {
  aspect-ratio: 1;
  width: 100%;
  background: var(--surface);
  overflow: hidden;
}

.menu-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-info {
  min-width: 0;
}

.product-name {
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.product-description {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 7px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.product-price {
  font-size: 14px;
  letter-spacing: 0.025em;
  color: var(--gold);
  margin-top: 11px;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .menu-page .page-intro {
    padding-bottom: 60px;
  }
  .menu-categories {
    max-width: 840px;
  }
  .menu-category {
    margin-bottom: 72px;
  }
  .category-title {
    font-size: 15px;
    padding-bottom: 20px;
  }
  .menu-item {
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 36px;
    padding: 30px 0;
  }
  .product-name {
    font-size: 21px;
  }
  .product-description {
    font-size: 14px;
    max-width: 100%;
  }
  .product-price {
    font-size: 16px;
    margin-top: 18px;
  }
  .menu-copy {
    font-size: 18px;
  }
}
@media (max-width: 360px) {
  .menu-item {
    gap: 14px;
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .product-name {
    font-size: 14px;
  }
}
.product-temperature {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (min-width: 768px) {
  .product-temperature {
    font-size: 12px;
  }
}
.story-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 12%, rgba(153, 161, 164, 0.12), transparent 46%);
}

.story-mist {
  position: absolute;
  width: 120vw;
  height: 28vh;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(192, 198, 201, 0.2), rgba(192, 198, 201, 0));
  filter: blur(22px);
  opacity: calc(0.86 - var(--story-mist-clear, 0) * 0.36);
  transition: opacity 0.45s ease-out;
  animation: story-mist 20s ease-in-out infinite alternate;
}

.story-mist::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 86%;
  top: -18%;
  left: 48%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(192, 198, 201, 0.18), rgba(192, 198, 201, 0));
}

.story-mist-one {
  top: 13%;
  left: -38%;
}

.story-mist-two {
  top: 48%;
  right: -50%;
  animation-duration: 28s;
  animation-direction: alternate-reverse;
}

.story-mist-two::before {
  top: 16%;
  left: -30%;
}

.story-mist-three {
  bottom: 0;
  left: -20%;
  animation-duration: 23s;
}

.story-mist-three::before {
  top: -28%;
  left: -26%;
}

.our-story-page {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding-bottom: 64px;
}

.our-story {
  position: relative;
}

.story-opening,
.story-chapter,
.story-closing {
  position: relative;
}

.story-opening {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 40px;
}

.story-kicker {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.19em;
  margin-bottom: 28px;
}

.story-opening h1 {
  font-size: clamp(44px, 11vw, 68px);
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.story-opening-line {
  margin-top: 30px;
  color: var(--muted);
  font-size: 15px;
}

.story-chapter {
  padding: 14vh 0 0;
}

.story-opening + .story-chapter {
  padding-top: 2vh;
}

.story-chapter p,
.story-closing p {
  max-width: 32em;
  margin: 0 0 1.7em;
  font-size: clamp(15px, 3.8vw, 17px);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.story-emphasis {
  color: var(--gold);
  font-size: clamp(20px, 5vw, 26px) !important;
}

.story-chapter-dalat,
.story-chapter-cats,
.story-chapter-train {
  padding-top: 8vh;
}

.story-closing {
  padding: 8vh 0 3vh;
}

.story-closing p {
  margin-bottom: 1.5em;
}

.story-activities {
  margin: 5vh 0 9vh;
}

.story-activities p {
  margin-bottom: 1em;
}

.story-signature {
  margin-top: 16vh !important;
  color: var(--gold);
  font-size: clamp(22px, 5vw, 28px) !important;
  letter-spacing: 0.04em;
}

.story-last-line {
  color: var(--muted);
}

.story-editorial {
  margin-top: 14vh;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.story-editorial > * {
  margin: 0 0 1.5em;
}

.story-motion.content-ready [data-story-reveal] {
  transition: opacity 1.15s var(--ease), transform 1.15s var(--ease), filter 1.15s var(--ease);
  transition-delay: var(--story-delay, 0ms);
}

.story-motion.content-ready [data-story-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(5px);
}

.story-train {
  width: 100%;
  margin: 9vh 0 12vh;
  overflow: hidden;
}

.story-train svg {
  width: 170%;
  margin-left: -35%;
  display: block;
}

.story-train-rail {
  stroke: rgba(217, 196, 145, 0.25);
  stroke-width: 2;
}

.story-train-rail-back {
  stroke-width: 1;
  opacity: 0.6;
}

.story-train-glow {
  fill: rgba(226, 185, 91, 0.45);
  opacity: 0;
}

.story-train-carriages {
  fill: #473e32;
  stroke: rgba(231, 208, 146, 0.42);
  stroke-width: 2;
}

.story-train-windows {
  fill: #e9c56e;
  stroke: none;
}

.story-train-wheels {
  fill: #171814;
  stroke: rgba(231, 208, 146, 0.32);
}

.story-train-run {
  transform-box: view-box;
  transform-origin: center;
}

.story-train.is-visible .story-train-run {
  animation: story-train-pass 13s cubic-bezier(0.17, 0.64, 0.28, 1) both;
}

.story-train.is-visible .story-train-glow {
  animation: story-train-light 13s ease-out both;
}

.story-illustration {
  width: min(100%, 240px);
  margin: 8vh auto 0;
  color: rgba(222, 194, 128, 0.7);
}

.story-illustration-closing {
  margin-bottom: 8vh;
}

.story-illustration svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.story-paw-trail {
  position: fixed;
  z-index: 2;
  pointer-events: none;
}

.story-paw-trail {
  inset: 0;
}

.story-paw {
  position: absolute;
  top: var(--paw-y);
  left: var(--paw-x);
  width: 10px;
  height: 8px;
  border-radius: 50% 50% 46% 46%;
  overflow: visible;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: rotate(var(--paw-rotate)) scale(0.6);
  animation: story-paw-fade 1s var(--paw-delay) ease-out both;
}

.story-paw::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: -5px 3px 0 rgba(255, 255, 255, 0.26), 5px 3px 0 rgba(255, 255, 255, 0.26), 0 6px 0 rgba(255, 255, 255, 0.25);
}

.story-coffee-steam path,
.story-dalat-mist path,
.story-dalat-rain path,
.story-dalat-leaf,
.story-cat,
.story-cat-paws,
.story-closing-cup,
.story-closing-paw,
.story-closing-leaf,
.story-closing-line {
  opacity: 0;
}

.story-illustration-coffee.is-visible .story-coffee-steam path {
  animation: story-steam 2.8s ease-in-out infinite;
}

.story-illustration-coffee.is-visible .story-coffee-steam path:nth-child(2) {
  animation-delay: -0.8s;
}

.story-illustration-coffee.is-visible .story-coffee-steam path:nth-child(3) {
  animation-delay: -1.5s;
}

.story-illustration-coffee.is-visible .story-coffee-cup,
.story-illustration-coffee.is-visible .story-coffee-surface,
.story-illustration-coffee.is-visible .story-coffee-saucer {
  animation: story-ink-in 1.4s var(--ease) both;
}

.story-illustration-dalat.is-visible .story-dalat-mist path {
  animation: story-mist-line 4.6s ease-in-out infinite alternate;
}

.story-illustration-dalat.is-visible .story-dalat-mist path:nth-child(2) {
  animation-delay: -2.1s;
}

.story-illustration-dalat.is-visible .story-dalat-rain path {
  animation: story-rain 2.2s ease-in infinite;
}

.story-illustration-dalat.is-visible .story-dalat-rain path:nth-child(2n) {
  animation-delay: -0.8s;
}

.story-illustration-dalat.is-visible .story-dalat-leaf {
  animation: story-leaf 3.8s ease-in-out infinite alternate;
}

.story-illustration-cats.is-visible .story-cat {
  animation: story-cat-arrive 1.4s var(--ease) both;
}

.story-illustration-cats.is-visible .story-cat-two {
  animation-delay: 180ms;
}

.story-illustration-cats.is-visible .story-cat-tail {
  animation: story-tail 2.7s 1.5s ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: left center;
}

.story-illustration-cats.is-visible .story-cat-paws {
  animation: story-paws 1.5s 380ms var(--ease) both;
}

.story-illustration-closing.is-visible .story-closing-cup,
.story-illustration-closing.is-visible .story-closing-paw,
.story-illustration-closing.is-visible .story-closing-leaf,
.story-illustration-closing.is-visible .story-closing-line {
  animation: story-ink-in 1.2s var(--ease) both;
}

.story-illustration-closing.is-visible .story-closing-paw {
  animation-delay: 160ms;
}

.story-illustration-closing.is-visible .story-closing-leaf {
  animation-delay: 320ms;
}

.story-illustration-closing.is-visible .story-closing-line {
  animation-delay: 480ms;
}

@keyframes story-mist {
  from {
    transform: translate3d(-7%, -2%, 0) scale(0.95);
  }
  to {
    transform: translate3d(9%, 5%, 0) scale(1.1);
  }
}
@keyframes story-train-pass {
  from {
    transform: translateX(-115%);
  }
  to {
    transform: translateX(115%);
  }
}
@keyframes story-train-light {
  0%, 100% {
    opacity: 0;
  }
  12%, 82% {
    opacity: 1;
  }
}
@keyframes story-ink-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes story-steam {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  25%, 75% {
    opacity: 0.75;
  }
  100% {
    opacity: 0;
    transform: translateY(-11px);
  }
}
@keyframes story-mist-line {
  from {
    opacity: 0.28;
    transform: translateX(-8px);
  }
  to {
    opacity: 0.65;
    transform: translateX(8px);
  }
}
@keyframes story-rain {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  35% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}
@keyframes story-leaf {
  from {
    opacity: 0.45;
    transform: rotate(-3deg);
    transform-origin: 157px 166px;
  }
  to {
    opacity: 0.8;
    transform: rotate(4deg);
    transform-origin: 157px 166px;
  }
}
@keyframes story-cat-arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes story-tail {
  from {
    transform: rotate(-5deg);
  }
  to {
    transform: rotate(7deg);
  }
}
@keyframes story-paws {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}
@keyframes story-paw-fade {
  0% {
    opacity: 0;
    transform: rotate(var(--paw-rotate)) scale(0.5);
  }
  18% {
    opacity: 0.32;
    transform: rotate(var(--paw-rotate)) scale(1);
  }
  62% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--paw-rotate)) scale(0.82);
  }
}
@media (min-width: 768px) {
  .story-mist {
    width: clamp(260px, 28vw, 420px);
    height: clamp(180px, 18vw, 270px);
    filter: blur(30px);
  }
  .story-mist-one {
    top: 16%;
    left: 8vw;
  }
  .story-mist-two {
    top: 44%;
    right: 12vw;
  }
  .story-mist-three {
    bottom: 8%;
    left: 42vw;
  }
  .story-opening h1 {
    font-size: clamp(60px, 7.5vw, 86px);
  }
  .story-chapter p,
  .story-closing p {
    font-size: 17px;
  }
  .story-train svg {
    width: 140%;
    margin-left: -20%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-atmosphere {
    display: none;
  }
  .story-motion.content-ready [data-story-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .story-train.is-visible .story-train-run,
  .story-train.is-visible .story-train-glow,
  .story-illustration * {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .story-paw-trail {
    display: none;
  }
}