:root {
  color-scheme: dark;
  --black: #070504;
  --night: #100c08;
  --panel: rgba(24, 18, 13, 0.58);
  --line: rgba(255, 221, 170, 0.16);
  --cream: #f7edde;
  --muted: #b9ad9d;
  --wood: #6f4528;
  --gold: #d9a45b;
  --gold-light: #ffdc9a;
  --green: #7c9273;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, #070504 0%, #120d09 48%, #070504 100%);
  color: var(--cream);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  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;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 20px;
  background: linear-gradient(180deg, #070504, #130e09 54%, #070504);
  transition: opacity 700ms ease, visibility 700ms ease;
  animation: loader-exit 700ms ease 1300ms forwards;
}

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

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

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

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

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

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

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

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

.header.is-scrolled {
  border-color: rgba(255, 229, 190, 0.14);
  background: rgba(7, 5, 4, 0.7);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-weight: 800;
}

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

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

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(247, 237, 222, 0.72);
  font-size: 14px;
  font-weight: 700;
  transition: color 220ms ease, background 220ms ease;
}

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

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

.nav-cta {
  padding: 0 16px;
  color: #140c05;
  background: linear-gradient(135deg, #ffe1a3, #c8883c);
  font-size: 14px;
}

.button {
  padding: 0 24px;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 229, 185, 0.58);
  box-shadow: 0 18px 48px rgba(217, 164, 91, 0.24);
}

.button--gold {
  color: #130c05;
  background: linear-gradient(135deg, #ffe3a8, #d59a4f 58%, #8e552b);
}

.button--glass {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

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

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

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

.hero__image {
  transform: scale(1.04) translate3d(0, var(--hero-y, 0), 0);
  filter: saturate(1.04) contrast(1.05);
}

.hero__shade {
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(7, 5, 4, 0.86) 0%, rgba(7, 5, 4, 0.48) 38%, rgba(7, 5, 4, 0.18) 68%, rgba(7, 5, 4, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 5, 4, 0.12) 0%, rgba(7, 5, 4, 0.08) 48%, #070504 100%);
}

.hero__light {
  z-index: -3;
  opacity: 0.42;
  background:
    linear-gradient(115deg, transparent 8%, rgba(255, 216, 155, 0.09) 28%, transparent 56%),
    linear-gradient(245deg, transparent 18%, rgba(217, 164, 91, 0.1) 42%, transparent 62%);
  filter: blur(18px);
  animation: soft-light 9s ease-in-out infinite alternate;
}

@keyframes soft-light {
  from {
    transform: translate3d(-1.5%, 1%, 0);
  }
  to {
    transform: translate3d(1.5%, -1%, 0);
  }
}

.hero__copy {
  position: relative;
  z-index: 6;
  width: min(660px, calc(100% - 44px));
  padding-top: max(136px, 17svh);
  margin-left: max(22px, calc((100vw - var(--max)) / 2));
}

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

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

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

h1 {
  margin-bottom: 20px;
  font-size: 88px;
}

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

h3 {
  margin-bottom: 8px;
  color: #fff3df;
  font-size: 20px;
  line-height: 1.26;
}

.hero__lead {
  max-width: 570px;
  color: rgba(247, 237, 222, 0.78);
  font-size: 18px;
}

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

.hero__cup-glow {
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 5;
  width: min(420px, 50vw);
  height: min(320px, 34vw);
  transform: translateX(-50%);
  pointer-events: none;
}

.steam {
  width: 100%;
  height: 100%;
}

.hero__note {
  position: absolute;
  right: max(22px, calc((100vw - var(--max)) / 2));
  bottom: 30px;
  z-index: 6;
  min-width: 168px;
  display: grid;
  gap: 3px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 229, 190, 0.16);
  border-radius: 8px;
  background: rgba(7, 5, 4, 0.46);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

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

.hero__note strong {
  color: #fff7ed;
  font-size: 18px;
}

.section {
  padding: 104px max(22px, calc((100vw - var(--max)) / 2));
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 70px;
  padding-top: 44px;
  background: linear-gradient(180deg, #070504, #110d09);
}

.section__intro {
  max-width: 760px;
}

.section__copy {
  max-width: 620px;
}

.section__intro p,
.section__copy p,
.about__body p,
.reservation__panel p {
  color: rgba(247, 237, 222, 0.72);
}

.about__body {
  font-size: 18px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.about__stats span {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
}

.about__stats strong {
  display: block;
  color: #fff5e8;
  font-size: 28px;
  line-height: 1;
}

.section--split {
  display: grid;
  grid-template-columns: minmax(300px, 470px) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  background: linear-gradient(180deg, #110d09, #080604);
}

.night.section--split {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 510px);
}

.media-card,
.wide-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 229, 190, 0.16);
  border-radius: 8px;
  background: #120d09;
  box-shadow: var(--shadow);
}

.media-card {
  aspect-ratio: 4 / 5;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.wide-photo {
  aspect-ratio: 16 / 7;
  width: 100%;
  margin: 42px 0 0;
}

.media-card::after,
.wide-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.34)),
    linear-gradient(90deg, rgba(217, 164, 91, 0.12), transparent 30%, transparent 70%, rgba(124, 146, 115, 0.08));
  pointer-events: none;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold-light);
  font-weight: 800;
}

.space {
  background: linear-gradient(180deg, #080604, #130e09 54%, #080604);
}

.menu {
  background: linear-gradient(180deg, #080604, #120d09);
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.menu-card {
  min-height: 230px;
  display: grid;
  align-content: end;
  padding: 22px;
  border: 1px solid rgba(255, 229, 190, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(12px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 229, 190, 0.34);
  background: linear-gradient(145deg, rgba(255, 221, 170, 0.1), rgba(255, 255, 255, 0.035));
}

.menu-card span {
  margin-bottom: 42px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
}

.menu-card p {
  margin-bottom: 0;
  color: rgba(247, 237, 222, 0.68);
  font-size: 14px;
}

.reservation {
  background:
    linear-gradient(180deg, rgba(7, 5, 4, 0.92), rgba(7, 5, 4, 0.76)),
    url("assets/images/interior-lounge.webp") center / cover fixed;
}

.reservation__panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 38px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgba(255, 229, 190, 0.16);
  border-radius: 8px;
  background: rgba(7, 5, 4, 0.52);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

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

.booking-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 229, 190, 0.17);
  border-radius: 8px;
  padding: 0 14px;
  color: #fff7ed;
  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, 164, 91, 0.14);
}

.booking-form input::placeholder {
  color: rgba(247, 237, 222, 0.34);
}

.booking-form button {
  grid-column: 1 / -1;
  border: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(22px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid rgba(255, 229, 190, 0.12);
  background: #070504;
  color: rgba(247, 237, 222, 0.72);
}

.footer strong {
  color: #fff4e4;
}

.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-light);
}

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

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

.delay-1 {
  transition-delay: 110ms;
}

.delay-2 {
  transition-delay: 210ms;
}

.delay-3 {
  transition-delay: 310ms;
}

@media (max-width: 1080px) {
  .menu__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .nav {
    display: none;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 38px;
  }

  .about,
  .section--split,
  .night.section--split,
  .reservation__panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .about {
    padding-top: 36px;
  }

  .menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ambient {
    opacity: 0.28;
  }

  .header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
    padding: 10px;
  }

  .logo strong {
    font-size: 14px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 84svh;
  }

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

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(7, 5, 4, 0.9), rgba(7, 5, 4, 0.36)),
      linear-gradient(180deg, rgba(7, 5, 4, 0.08), #070504 100%);
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 31px;
  }

  .hero__lead,
  .about__body {
    font-size: 16px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero__cup-glow {
    display: none;
  }

  .hero__note {
    right: 18px;
    bottom: 22px;
    min-width: 152px;
    padding: 12px 14px;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .about__stats,
  .menu__grid,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .menu-card {
    min-height: 168px;
  }

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

  .reservation {
    background-attachment: scroll;
  }

  .reservation__panel {
    padding: 20px;
  }

  .footer {
    flex-direction: column;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@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,
  .steam {
    display: none;
  }
}
