:root {
  color-scheme: dark;
  --ink: #080604;
  --ink-soft: #12100d;
  --charcoal: #1b1712;
  --wood: #5b3822;
  --wood-soft: #8b603e;
  --gold: #d9a85c;
  --gold-bright: #ffd48a;
  --cream: #f4ead8;
  --muted: #b8aa94;
  --line: rgba(255, 221, 164, 0.16);
  --glass: rgba(18, 13, 9, 0.48);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, #080604 0%, #11100d 44%, #080604 100%);
  color: var(--cream);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.is-loading {
  overflow: hidden;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input {
  font: inherit;
}

::selection {
  background: rgba(217, 168, 92, 0.34);
  color: #fff9ee;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 22px;
  background: linear-gradient(180deg, #080604, #120d08 52%, #080604);
  transition: opacity 700ms ease, visibility 700ms ease;
  animation: loader-autohide 700ms ease 1300ms forwards;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.loader__mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold-bright);
  font-family: "Noto Serif JP", serif;
  font-size: 34px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 40px rgba(217, 168, 92, 0.18);
}

.loader__bar {
  width: 180px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.loader__bar span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  animation: loading-line 1.4s ease-in-out infinite;
}

@keyframes loading-line {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(260%);
  }
}

@keyframes loader-autohide {
  to {
    visibility: hidden;
    opacity: 0;
  }
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.45;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 30;
  width: min(1180px, calc(100% - 32px));
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 12px 14px 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  transform: translateX(-50%);
  transition: background 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 229, 184, 0.12);
  background: rgba(8, 6, 4, 0.68);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #fff6e7;
  font-weight: 700;
}

.brand__jp {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold-bright);
  font-family: "Noto Serif JP", serif;
  background: rgba(255, 255, 255, 0.05);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  color: rgba(244, 234, 216, 0.74);
  font-size: 14px;
  font-weight: 600;
  transition: color 220ms ease, background 220ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff8ec;
  background: rgba(255, 255, 255, 0.07);
}

.header-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 223, 172, 0.24);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.header-cta {
  padding: 0 16px;
  color: #130d06;
  background: linear-gradient(135deg, #ffd994, #c4873f);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 38px rgba(217, 168, 92, 0.22);
}

.button {
  padding: 0 22px;
  color: var(--cream);
  font-weight: 700;
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 225, 178, 0.58);
  box-shadow: 0 18px 48px rgba(217, 168, 92, 0.22);
}

.button-primary {
  color: #120c05;
  background: linear-gradient(135deg, #ffe0a0, #c98b45 58%, #8c5427);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.section-dark {
  position: relative;
  background: #080604;
}

.hero {
  min-height: 86svh;
  isolation: isolate;
  overflow: hidden;
}

.hero picture,
.hero__image,
.hero__shade,
.hero__mist {
  position: absolute;
  inset: 0;
}

.hero picture {
  z-index: -4;
}

.hero__image {
  transform: scale(1.04) translate3d(0, var(--hero-shift, 0), 0);
  filter: saturate(1.04) contrast(1.05);
  transition: transform 120ms linear;
}

.hero__shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(8, 6, 4, 0.92) 0%, rgba(8, 6, 4, 0.52) 34%, rgba(8, 6, 4, 0.12) 64%, rgba(8, 6, 4, 0.74) 100%),
    linear-gradient(180deg, rgba(8, 6, 4, 0.3) 0%, rgba(8, 6, 4, 0.08) 46%, #080604 100%);
}

.hero__mist {
  z-index: -2;
  opacity: 0.5;
  background:
    linear-gradient(115deg, transparent 5%, rgba(255, 229, 192, 0.08) 24%, transparent 48%),
    linear-gradient(245deg, transparent 10%, rgba(217, 168, 92, 0.12) 34%, transparent 58%);
  filter: blur(22px);
  animation: mist-drift 10s ease-in-out infinite alternate;
}

@keyframes mist-drift {
  from {
    transform: translate3d(-2%, 1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, -1%, 0) scale(1.04);
  }
}

.hero__content {
  position: relative;
  z-index: 4;
  width: min(680px, calc(100% - 44px));
  padding-top: max(150px, 18svh);
  margin-left: max(22px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: #fff7e9;
  font-family: "Noto Serif JP", Georgia, serif;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  margin-bottom: 22px;
  font-size: 96px;
}

h2 {
  margin-bottom: 22px;
  font-size: 54px;
}

h3 {
  margin-bottom: 8px;
  color: #fff4e2;
  font-size: 19px;
  line-height: 1.25;
}

.hero__copy {
  max-width: 560px;
  color: rgba(244, 234, 216, 0.82);
  font-size: 19px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__status {
  position: absolute;
  right: max(22px, calc((100vw - 1180px) / 2));
  bottom: 36px;
  z-index: 4;
  display: grid;
  gap: 2px;
  min-width: 178px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 230, 188, 0.16);
  border-radius: 8px;
  background: rgba(8, 6, 4, 0.42);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero__status span {
  color: var(--muted);
  font-size: 13px;
}

.hero__status strong {
  color: #fff8ec;
  font-size: 18px;
}

.section-grid,
.section-split,
.space,
.menu,
.booking {
  padding: 112px max(22px, calc((100vw - 1180px) / 2));
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
  background: linear-gradient(180deg, rgba(8, 6, 4, 0.98), rgba(18, 14, 10, 0.98));
}

.story {
  padding-top: 44px;
}

.section-copy p,
.section-heading p,
.story__text p,
.booking__inner p {
  color: rgba(244, 234, 216, 0.74);
}

.story__text {
  color: rgba(244, 234, 216, 0.8);
  font-size: 18px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.metrics div {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.metrics strong {
  color: #fff4df;
  font-size: 32px;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-size: 13px;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(280px, 470px) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(91, 56, 34, 0.2), transparent 32%),
    #0d0a07;
}

.media-frame,
.wide-media,
.menu-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 225, 179, 0.16);
  border-radius: 8px;
  background: #110d09;
  box-shadow: var(--shadow);
}

.media-frame {
  aspect-ratio: 4 / 5;
}

.wide-media {
  aspect-ratio: 16 / 7;
  margin-top: 44px;
}

.menu-image {
  aspect-ratio: 16 / 11;
  width: 100%;
  min-width: 0;
}

.media-frame::after,
.wide-media::after,
.menu-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, 0.34)),
    linear-gradient(90deg, rgba(217, 168, 92, 0.12), transparent 28%, transparent 72%, rgba(255, 223, 172, 0.1));
  pointer-events: none;
}

.steam-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(244, 234, 216, 0.78);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(217, 168, 92, 0.45);
}

.space {
  overflow: hidden;
  background:
    linear-gradient(180deg, #080604 0%, rgba(23, 16, 10, 0.95) 52%, #080604 100%);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  max-width: 720px;
}

.section-heading p {
  max-width: 650px;
  font-size: 18px;
}

.menu {
  background: linear-gradient(180deg, #080604, #14100c 48%, #080604);
}

.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: start;
  margin-top: 44px;
}

.menu-list {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.menu-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 225, 179, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.menu-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 225, 179, 0.36);
  background: linear-gradient(135deg, rgba(255, 221, 164, 0.11), rgba(255, 255, 255, 0.035));
}

.menu-card p {
  margin-bottom: 0;
  color: rgba(244, 234, 216, 0.7);
}

.menu-card span {
  min-width: 62px;
  color: var(--gold-bright);
  font-weight: 800;
  text-align: right;
}

.booking {
  background:
    linear-gradient(180deg, rgba(8, 6, 4, 0.94), rgba(8, 6, 4, 0.74)),
    url("assets/images/interior-night.webp") center / cover fixed;
}

.booking__inner {
  width: min(780px, 100%);
}

.booking__inner p {
  max-width: 620px;
  font-size: 18px;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-top: 36px;
  padding: 18px;
  border: 1px solid rgba(255, 225, 179, 0.16);
  border-radius: 8px;
  background: rgba(8, 6, 4, 0.52);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.booking-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.booking-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.booking-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 225, 179, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  color: #fff7e9;
  background: rgba(255, 255, 255, 0.055);
  outline: none;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.booking-form input:focus {
  border-color: rgba(255, 220, 160, 0.62);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(217, 168, 92, 0.14);
}

.booking-form input::placeholder {
  color: rgba(244, 234, 216, 0.34);
}

.booking-form button {
  height: 48px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(22px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 225, 179, 0.12);
  background: #080604;
  color: rgba(244, 234, 216, 0.74);
}

.site-footer strong {
  color: #fff4df;
}

.site-footer p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--gold-bright);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-delay-1 {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

.reveal-delay-3 {
  transition-delay: 320ms;
}

@media (max-width: 980px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 40px;
  }

  .section-grid,
  .section-split,
  .menu-layout,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .section-grid,
  .section-split,
  .space,
  .menu,
  .booking {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .menu-layout {
    gap: 28px;
  }

  .booking-form {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px;
  }

  .brand {
    font-size: 14px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 12px;
  }

  .hero {
    min-height: 84svh;
  }

  .hero__content {
    width: calc(100% - 36px);
    padding-top: 128px;
    margin-left: 18px;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(8, 6, 4, 0.92), rgba(8, 6, 4, 0.36)),
      linear-gradient(180deg, rgba(8, 6, 4, 0.08), #080604 100%);
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .hero__copy,
  .section-heading p,
  .booking__inner p,
  .story__text {
    font-size: 16px;
  }

  .hero__actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero__status {
    right: 18px;
    bottom: 18px;
    min-width: 154px;
    padding: 12px 14px;
  }

  .section-grid,
  .section-split,
  .space,
  .menu,
  .booking {
    padding-left: 18px;
    padding-right: 18px;
  }

  .story {
    padding-top: 32px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .wide-media {
    aspect-ratio: 1 / 1;
  }

  .menu-card {
    grid-template-columns: 1fr;
  }

  .menu-card span {
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .ambient-canvas,
  .steam-canvas {
    display: none;
  }
}
