:root {
  --background: #030303;
  --foreground: #f5f1e8;
  --muted: #9f9a91;
  --soft: #d8d2c7;
  --gold: #b8a070;
  --gold-soft: #c8b58c;
  --line: rgba(245, 241, 232, 0.2);
  --field: rgba(255, 255, 255, 0.045);
  --field-strong: rgba(255, 255, 255, 0.075);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", Georgia, serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  padding: 38px clamp(20px, 5vw, 54px) 72px;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 8%, rgba(255, 255, 255, 0.045), transparent 24%),
    linear-gradient(110deg, #030303 0%, #050505 52%, #070604 100%);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: start;
  gap: clamp(16px, 3vh, 28px);
  max-width: 960px;
  min-height: clamp(250px, 38svh, 360px);
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(26px, 4.5vh, 46px) clamp(18px, 4vw, 42px) clamp(20px, 3.5vh, 34px);
  border-radius: var(--radius);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  z-index: -2;
  background-image: url("assets/lamp-bar-interior.jpg");
  background-position: 42% center;
  background-size: cover;
  filter: saturate(0.86) brightness(0.78);
  transform: scale(1.02);
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.42), rgba(3, 3, 3, 0.62) 64%, #030303 100%),
    linear-gradient(90deg, rgba(3, 3, 3, 0.52), rgba(3, 3, 3, 0.2), rgba(3, 3, 3, 0.52));
}

.brand-lockup {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--foreground);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.28em;
  text-align: center;
}

.brand-lockup span {
  font-size: clamp(1.8rem, 7vw, 3rem);
  font-weight: 500;
}

.brand-lockup small {
  color: var(--soft);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.brand-tagline {
  font-size: 0.92rem !important;
  letter-spacing: 0.08em !important;
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 24px;
  max-width: 660px;
  margin: 0 auto;
  padding-top: clamp(12px, 3vh, 28px);
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.28rem, 5.2vw, 2rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.14em;
}

.hero p {
  margin: 0;
  color: var(--soft);
  font-size: clamp(1rem, 3.9vw, 1.35rem);
  line-height: 2;
  overflow-wrap: anywhere;
}

.reservation-form {
  display: grid;
  gap: 28px;
  width: min(100%, 680px);
  min-width: 0;
  margin: 0 auto;
  padding-top: 16px;
}

.form-intro {
  display: grid;
  gap: 18px;
  min-width: 0;
  color: var(--soft);
  text-align: center;
  font-size: clamp(0.98rem, 3.8vw, 1.08rem);
  line-height: 2;
  overflow-wrap: anywhere;
}

.form-intro[hidden],
#hero-event-details[hidden],
#reservation-summary[hidden],
.booking-fields[hidden] {
  display: none;
}

.form-intro p {
  max-width: 100%;
  margin: 0;
  white-space: normal;
  line-break: strict;
  text-wrap: balance;
  word-break: normal;
}

.mobile-break {
  display: none;
}

.field-group {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin: 0;
  color: var(--foreground);
  font-size: clamp(1.04rem, 4vw, 1.22rem);
  font-weight: 600;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-all;
}

#reservation-title {
  justify-content: center;
  text-align: center;
}

.event-selector {
  display: grid;
  gap: 12px;
}

.event-selector[hidden] {
  display: none;
}

.no-events {
  margin: 8px 0 18px;
  color: var(--soft);
  text-align: center;
  font-size: 1rem;
  line-height: 2;
}

.no-events[hidden] {
  display: none;
}

.event-selector .field-label {
  justify-content: center;
  text-align: center;
}

.event-options {
  display: grid;
  gap: 10px;
}

.event-option {
  display: grid;
  grid-template-columns: minmax(92px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  min-height: 78px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--foreground);
  background: linear-gradient(90deg, var(--field), var(--field-strong));
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 220ms ease,
    background 220ms ease;
}

.event-option:hover,
.event-option:focus-visible {
  border-color: rgba(184, 160, 112, 0.72);
  outline: none;
}

.event-option.is-selected {
  border-color: var(--gold);
  background: rgba(184, 160, 112, 0.1);
}

.event-option-date {
  color: var(--gold-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.event-option-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.event-option-copy strong {
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.event-option-copy small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.detail-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--field), var(--field-strong));
}

.detail-row {
  display: grid;
  grid-template-columns: minmax(64px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
  min-height: 58px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.11);
}

.detail-row > * {
  min-width: 0;
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-row span {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.detail-row strong {
  color: var(--foreground);
  font-size: clamp(1rem, 3.8vw, 1.16rem);
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.booking-fields {
  display: grid;
  gap: 24px;
}

.booking-fields input,
.booking-fields select {
  width: 100%;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--foreground);
  background: linear-gradient(90deg, var(--field), var(--field-strong));
  padding: 14px 18px;
  font: inherit;
  font-size: clamp(1rem, 3.9vw, 1.12rem);
  line-height: 1.5;
  transition:
    border-color 220ms ease,
    background 220ms ease;
}

.booking-fields select {
  color-scheme: dark;
}

.booking-fields input:focus,
.booking-fields select:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.075);
  outline: none;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
  margin-top: 8px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--foreground);
  background: rgba(3, 3, 3, 0.52);
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: clamp(1.04rem, 4.4vw, 1.35rem);
  line-height: 1.5;
  transition:
    border-color 240ms ease,
    background 240ms ease,
    transform 240ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  border-color: rgba(245, 241, 232, 0.58);
  background: rgba(255, 255, 255, 0.055);
  outline: none;
  transform: translateY(-1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.method-note {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.form-status {
  min-height: 1.5em;
  margin: -10px 0 0;
  color: var(--gold-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.form-status.is-success {
  color: #c8d8c4;
}

.form-status.is-error {
  color: #d8aaa3;
}

.site-footer {
  width: min(100%, 680px);
  margin: 42px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--gold-soft);
  text-align: center;
  letter-spacing: 0.28em;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 680px) {
  .page-shell {
    padding: 28px 20px 56px;
  }

  .hero {
    gap: 28px;
    padding-bottom: 48px;
  }

  .hero-copy {
    padding-top: 38px;
  }

  .form-intro {
    font-size: 0.95rem;
    line-height: 1.95;
  }

  .mobile-break {
    display: initial;
  }

  .submit-button {
    min-height: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
