:root {
  --shell: #f6c2a6;
  --panel: #f4bfa8;
  --ink: #b52517;
  --accent: #d53b1d;
  --about-shift: 0;
  color: var(--ink);
  background: var(--shell);
  font-family: "Inter", sans-serif;
  line-height: 1.2;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  overflow: hidden;
  background: var(--shell);
  transition: background 700ms ease, color 700ms ease;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

.app {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 30%),
    radial-gradient(circle at 80% 90%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 35%),
    var(--shell);
  transition: background 700ms ease;
}

.grain,
.wash {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grain {
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.08) 0,
      rgba(0, 0, 0, 0.08) 1px,
      transparent 1px,
      transparent 4px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 3px
    );
  animation: grainShift 9s steps(8) infinite;
}

.wash {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.05), transparent 25%);
}

.topbar {
  position: absolute;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem 0;
}

.nav-cluster,
.nav-cluster--right {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-cluster--right {
  justify-content: flex-end;
  align-self: start;
  padding-top: 0.35rem;
}

.nav-link,
.brand-lockup,
.utility-link {
  text-decoration: none;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-link {
  display: grid;
  gap: 0.05rem;
  padding: 0;
  text-align: left;
  font-weight: 700;
}

.nav-link span:first-child,
.utility-link,
.brand-lockup span:first-child {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.7rem);
}

.nav-link span:last-child,
.brand-lockup span:last-child {
  font-size: clamp(0.85rem, 0.8vw + 0.35rem, 1.2rem);
  font-family: "Noto Serif JP", serif;
}

.nav-link.is-active {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.brand-lockup {
  justify-self: center;
  display: grid;
  gap: 0.1rem;
  text-align: center;
  padding: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.utility-link {
  padding: 0;
}

.page-shell {
  position: relative;
  z-index: 2;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: clamp(7.6rem, 9.5vh, 8.9rem) 1.5rem 2rem;
}

.hero-band {
  max-width: 52rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.hero-band p {
  margin: 0;
}

.hero-band p:first-child {
  margin-bottom: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-band h1 {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 0.96;
  font-weight: 700;
}

.hero-subcopy {
  max-width: 42rem;
  margin: 0.8rem auto 0;
  font-size: clamp(1rem, 1vw + 0.6rem, 1.35rem);
  line-height: 1.35;
}

.page-view {
  width: min(100%, 1500px);
  margin: 0 auto;
  border-radius: 1.8rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--panel) 95%, white 5%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08),
    0 30px 90px rgba(0, 0, 0, 0.12);
  view-transition-name: poster;
}

.page-view--home {
  min-height: 56rem;
}

.page-home .hero-band {
  max-width: 43rem;
  margin-bottom: 1rem;
}

.page-home .hero-band p:first-child {
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
}

.page-home .hero-band h1 {
  font-size: clamp(1.95rem, 4.7vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.page-home .hero-subcopy {
  max-width: 34rem;
  margin-top: 0.5rem;
  font-size: clamp(0.95rem, 0.65vw + 0.78rem, 1.15rem);
  line-height: 1.28;
}

.sky-panel {
  position: relative;
  min-height: 39rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f7c9b3 0%, #6d9fe1 42%, #86bc78 70%, #2d7544 100%);
}

.sun-disc {
  position: absolute;
  top: 4rem;
  left: 50%;
  width: min(40vw, 28rem);
  height: min(40vw, 28rem);
  border-radius: 999px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 239, 204, 0.85), transparent 35%),
    radial-gradient(circle, rgba(255, 132, 80, 0.85), rgba(214, 58, 34, 0.75));
  filter: blur(10px);
  opacity: 0.6;
}

.ink-dots span,
.petals span,
.grassline span {
  position: absolute;
  display: block;
}

.ink-dots span {
  top: -2rem;
  left: var(--left);
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: rgba(7, 16, 44, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 226, 210, 0.15);
  animation: driftDown var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.petals span {
  top: -4rem;
  left: var(--left);
  width: 8rem;
  height: 4rem;
  border-radius: 80% 20% 70% 30%;
  background: rgba(255, 211, 220, 0.72);
  filter: blur(1px);
  transform: scale(var(--scale));
  animation: petalFall var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.home-title {
  position: absolute;
  inset: auto 6% 18% 6%;
  text-align: center;
}

.home-title__eyebrow,
.home-title__kanji {
  margin: 0;
}

.home-title__eyebrow {
  margin-bottom: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.home-title h2 {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(3.3rem, 9vw, 8.6rem);
  line-height: 0.88;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 0 rgba(255, 236, 217, 0.25);
}

.home-title__kanji {
  margin-top: 0.5rem;
  font-size: clamp(1rem, 1.6vw, 1.65rem);
  font-family: "Noto Serif JP", serif;
}

.grassline {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
}

.grassline span {
  bottom: -2rem;
  left: var(--left);
  width: 2px;
  height: var(--height);
  background: linear-gradient(180deg, rgba(184, 255, 182, 0), rgba(101, 181, 90, 0.95));
  transform-origin: bottom center;
  animation: sway 4s ease-in-out infinite;
  animation-delay: var(--delay);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.info-grid article {
  padding: 1.5rem;
  background: rgba(255, 248, 238, 0.28);
}

.info-grid p {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.info-grid h3 {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.4rem, 2.2vw, 2.4rem);
  line-height: 1.05;
}

.page-view--menu {
  padding: clamp(1.4rem, 2vw, 2.5rem) clamp(1.25rem, 3vw, 3rem) 3rem;
}

.page-menu .hero-band {
  max-width: 46rem;
  margin-bottom: 1rem;
}

.page-menu .hero-band p:first-child {
  margin-bottom: 0.3rem;
  font-size: 0.68rem;
}

.page-menu .hero-band h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.35rem, 2vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-menu .hero-subcopy {
  max-width: 38rem;
  margin-top: 0.45rem;
  font-size: clamp(0.95rem, 0.75vw + 0.7rem, 1.18rem);
}

.page-about .hero-band {
  max-width: 40rem;
  margin-bottom: 1rem;
}

.page-about .hero-band p:first-child {
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
}

.page-about .hero-band h1 {
  font-size: clamp(1.8rem, 2.8vw, 3.4rem);
  line-height: 1;
}

.page-about .hero-subcopy {
  max-width: 36rem;
  margin-top: 0.45rem;
  font-size: clamp(0.95rem, 0.75vw + 0.72rem, 1.12rem);
}

.menu-marquee {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(4.7rem, 15vw, 12rem);
  line-height: 0.78;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.menu-marquee span:nth-child(2) {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.menu-tabs {
  display: flex;
  gap: clamp(0.35rem, 1.2vw, 1rem);
  flex-wrap: wrap;
  margin: 0.4rem 0 1.65rem;
}

.menu-tabs button {
  border: 1px solid rgba(3, 14, 31, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.22rem 0.8rem 0.32rem;
  cursor: pointer;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.9rem, 3.2vw, 3.9rem);
  line-height: 1;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.menu-tabs button:hover {
  transform: translateY(-2px);
  border-color: rgba(3, 14, 31, 0.45);
}

.menu-tabs .is-current {
  background: rgba(10, 22, 35, 0.08);
  border-color: rgba(3, 14, 31, 0.62);
  box-shadow: inset 0 -0.12em 0 rgba(0, 0, 0, 0.55);
}

.menu-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15.5rem, 20rem);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
}

.menu-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.menu-column {
  min-width: 0;
  min-height: 26rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(3, 14, 31, 0.28);
}

.menu-column header {
  margin-bottom: 1rem;
}

.menu-column header p {
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.menu-column header h3 {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.85rem, 2.8vw, 3rem);
  line-height: 0.98;
  max-width: 9ch;
}

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

.menu-column li {
  padding: 0;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(8rem, auto) minmax(1rem, 1fr) auto;
  align-items: end;
  gap: 0.65rem;
  width: 100%;
  border: 0;
  border-radius: 0.8rem;
  background: transparent;
  padding: 0.62rem 0.55rem;
  cursor: pointer;
  text-align: left;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.95rem, 0.55vw + 0.78rem, 1.1rem);
  line-height: 1.1;
  transition:
    background 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.menu-item:hover,
.menu-item.is-selected {
  background: rgba(218, 255, 238, 0.18);
  transform: translateX(0.2rem);
  box-shadow: inset 0 0 0 1px rgba(3, 14, 31, 0.12);
}

.menu-item i {
  height: 0.4rem;
  border-bottom: 4px dotted rgba(0, 0, 0, 0.75);
}

.menu-item strong {
  font-size: 1.1em;
}

.menu-detail {
  position: sticky;
  top: 1rem;
  min-height: 18rem;
  padding: 1.1rem;
  border: 1px solid rgba(3, 14, 31, 0.34);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(11, 24, 38, 0.12), rgba(59, 224, 193, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.menu-detail__eyebrow {
  margin: 0 0 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
}

.menu-detail h3 {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.75rem, 2.4vw, 2.8rem);
  line-height: 0.98;
}

.menu-detail__copy {
  margin: 0.85rem 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.menu-detail strong {
  display: block;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.9;
}

.page-view--about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  min-height: 84rem;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  isolation: isolate;
  background:
    linear-gradient(
      180deg,
      #f14837 0%,
      color-mix(in srgb, #f14837 62%, #f6b29a 38%) calc(30% + var(--about-shift) * 15%),
      color-mix(in srgb, #304793 72%, #43d8bd 28%) calc(65% + var(--about-shift) * 10%),
      #08131f 100%
    );
  transition: background 400ms linear;
}

.page-view--about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 233, 224, 0.1), rgba(255, 233, 224, 0.02) 48%, transparent 72%),
    linear-gradient(180deg, rgba(255, 248, 242, 0.04), transparent 30%);
  pointer-events: none;
}

.page-view--about::before {
  content: "物語";
  position: absolute;
  left: clamp(1.2rem, 3vw, 2.5rem);
  bottom: clamp(0.5rem, 1vw, 1rem);
  z-index: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(8rem, 24vw, 22rem);
  line-height: 0.8;
  color: rgba(0, 0, 0, 0.16);
  pointer-events: none;
}

.page-view--about > * {
  position: relative;
  z-index: 1;
}

.about-copy {
  position: sticky;
  top: 1.5rem;
  max-width: none;
  padding: clamp(2.4rem, 5vh, 4.1rem) clamp(1rem, 2vw, 1.55rem) 1.25rem;
  border: 1px solid rgba(255, 241, 234, 0.12);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255, 237, 229, 0.12), rgba(255, 237, 229, 0.03)),
    rgba(20, 7, 7, 0.03);
  backdrop-filter: blur(4px);
}

.about-shadow {
  margin: 0;
  opacity: 1;
  color: rgba(89, 20, 15, 0.18);
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.35rem, 3.3vw, 3.25rem);
  line-height: 0.95;
  max-width: 11ch;
}

.about-copy h2 {
  margin: -0.5rem 0 1rem;
  font-family: "Bodoni Moda", serif;
  color: #68140e;
  font-size: clamp(2.55rem, 4.9vw, 5.45rem);
  line-height: 0.92;
  max-width: 10ch;
  text-shadow: 0 1px 0 rgba(255, 234, 226, 0.16);
}

.about-body {
  max-width: 33rem;
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 242, 236, 0.12);
  border-radius: 1rem;
  background: rgba(255, 239, 232, 0.12);
  color: rgba(59, 14, 12, 0.92);
  font-size: clamp(1rem, 1vw + 0.75rem, 1.35rem);
  line-height: 1.45;
}

.press-list {
  display: grid;
  gap: 0.85rem;
  width: auto;
  margin: clamp(10rem, 16vh, 14rem) 0 0;
  align-self: start;
}

.press-list article {
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(255, 244, 238, 0.26);
  background: rgba(255, 242, 236, 0.16);
  backdrop-filter: blur(6px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(34, 7, 7, 0.08);
}

.press-list p {
  margin: 0;
  color: rgba(73, 19, 16, 0.92);
  font-size: clamp(1rem, 0.8vw + 0.8rem, 1.25rem);
  line-height: 1.35;
}

.floating-card {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: min(18rem, calc(100vw - 2.5rem));
  padding: 0.7rem;
  border-radius: 1.45rem;
  border: 3px solid #ffd534;
  background: rgba(83, 21, 17, 0.66);
  color: #ffe16d;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.floating-card__image {
  width: 4.3rem;
  height: 4.3rem;
  flex: 0 0 auto;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 236, 214, 0.8), transparent 24%),
    linear-gradient(180deg, #f2996c, #8e2815);
}

.floating-card__label {
  margin: 0 0 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 700;
}

.floating-card h3 {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-size: 1.5rem;
}

@keyframes grainShift {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-1%, 1%);
  }
  50% {
    transform: translate(1%, -1%);
  }
  75% {
    transform: translate(1%, 1%);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes driftDown {
  from {
    transform: translate3d(0, -5vh, 0);
  }
  to {
    transform: translate3d(2rem, 108vh, 0);
  }
}

@keyframes petalFall {
  from {
    transform: translate3d(0, -5vh, 0) rotate(0deg) scale(var(--scale));
  }
  to {
    transform: translate3d(-8rem, 112vh, 0) rotate(320deg) scale(var(--scale));
  }
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(6deg);
  }
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .brand-lockup {
    justify-self: start;
    text-align: left;
  }

  .nav-cluster--right {
    justify-content: flex-start;
    padding-top: 0;
  }

  .menu-board,
  .menu-columns,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .page-view--about {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .menu-detail {
    position: relative;
    top: 0;
    min-height: auto;
  }

  .about-copy {
    position: relative;
    top: 0;
    padding-top: 0;
  }

  .press-list {
    margin-top: 1.5rem;
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
    align-items: start;
    gap: 0.7rem;
    padding: calc(env(safe-area-inset-top, 0px) + 0.85rem) 1rem 0;
  }

  .brand-lockup {
    justify-self: start;
    text-align: left;
    order: 1;
    padding-top: 0;
  }

  .nav-cluster {
    order: 2;
    gap: 1rem;
    width: 100%;
  }

  .nav-cluster--right {
    display: none;
  }

  .page-shell {
    padding: 10rem 1rem 1rem;
  }

  .page-view {
    border-radius: 1.3rem;
  }

  .home-title {
    inset: auto 8% 15% 8%;
  }

  .page-home .hero-band {
    max-width: 24rem;
  }

  .page-home .hero-band h1 {
    font-size: clamp(1.7rem, 10.4vw, 3rem);
  }

  .page-home .hero-subcopy {
    max-width: 23rem;
    font-size: 0.98rem;
  }

  .nav-link span:first-child {
    font-size: 1.1rem;
  }

  .nav-link span:last-child,
  .brand-lockup span:last-child {
    font-size: 0.82rem;
  }

  .brand-lockup span:first-child {
    font-size: 1.85rem;
  }

  .menu-marquee {
    font-size: clamp(3.4rem, 21vw, 7rem);
  }

  .menu-tabs button {
    font-size: clamp(1.55rem, 8vw, 2.6rem);
  }

  .menu-item {
    grid-template-columns: minmax(7rem, auto) minmax(1rem, 1fr) auto;
    padding-inline: 0.2rem;
  }

  .about-copy {
    top: 0;
  }

  .about-copy h2 {
    max-width: 11ch;
  }

  .floating-card {
    width: auto;
    left: 0.85rem;
    right: 0.85rem;
  }
}
