:root {
  color-scheme: dark;
  --ink: #f8efe0;
  --muted: #cdbf9f;
  --paper: #fff6e4;
  --charcoal: #0f0d0a;
  --panel: rgba(31, 24, 17, 0.82);
  --panel-strong: #201710;
  --line: rgba(248, 239, 224, 0.16);
  --gold: #d9aa54;
  --red: #b43d22;
  --green: #5f7d57;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 8%, rgba(180, 61, 34, 0.22), transparent 30rem),
    linear-gradient(180deg, #0f0d0a 0%, #18110c 48%, #100d0a 100%);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent 74%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand,
.language-switch,
.main-nav {
  border: 1px solid var(--line);
  background: rgba(15, 13, 10, 0.72);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 6px;
  border-radius: 999px;
}

.main-nav a,
.language-switch button {
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.main-nav a {
  padding: 9px 12px;
  font-size: 0.9rem;
}

.main-nav a:hover,
.language-switch button:hover,
.language-switch button.active {
  color: var(--ink);
  background: rgba(217, 170, 84, 0.14);
}

.language-switch {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 6px;
  border-radius: 999px;
}

.language-switch button {
  min-width: 38px;
  min-height: 36px;
  padding: 0 10px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 86svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 13, 10, 0.94) 0%, rgba(15, 13, 10, 0.72) 38%, rgba(15, 13, 10, 0.18) 76%),
    linear-gradient(180deg, rgba(15, 13, 10, 0.35), rgba(15, 13, 10, 0.88));
}

.hero-content,
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  padding: 96px 0 80px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-weight: 500;
  line-height: 1;
}

h1 {
  font-size: clamp(3.1rem, 9vw, 7.4rem);
}

h2 {
  font-size: clamp(2.2rem, 5.3vw, 5rem);
}

h3 {
  margin: 0;
  font-size: 1.16rem;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--paper);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #1a1009;
  background: var(--gold);
}

.button.secondary,
.button.ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  color: var(--muted);
}

.service-strip span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 13, 10, 0.55);
}

.section {
  padding: 88px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading.compact {
  display: block;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.philosophy-copy {
  min-height: 360px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(32, 23, 16, 0.84), rgba(32, 23, 16, 0.92)),
    url("/assets/logo.jpg") center / min(380px, 86%) no-repeat;
  box-shadow: var(--shadow);
}

.philosophy-copy p {
  max-width: 450px;
  margin: 0;
  color: var(--paper);
  font-size: 1.08rem;
  line-height: 1.8;
}

.principles,
.info-grid {
  display: grid;
  gap: 16px;
}

.principles article,
.info-grid article,
.booking-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(32, 23, 16, 0.76);
  box-shadow: var(--shadow);
}

.principles article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 18px;
  padding: 26px;
}

.principles span,
.info-grid span,
.menu-number {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.principles p,
.info-grid p,
.reservation-intro p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.principles p {
  grid-column: 2;
  margin: 0;
}

.menu-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: 28px;
  align-items: stretch;
}

.menu-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(32, 23, 16, 0.76);
  box-shadow: var(--shadow);
}

.menu-summary > p {
  max-width: 500px;
  margin: 0;
  color: var(--paper);
  font-size: 1.12rem;
  line-height: 1.8;
}

.menu-category-list {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 28px 0 30px;
  color: var(--muted);
}

.menu-category-list span {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.menu-category-list span::before {
  margin-right: 10px;
  color: var(--gold);
  content: "◇";
}

.menu-preview {
  position: relative;
  display: block;
  min-height: 440px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f2e9;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.menu-preview::after {
  position: absolute;
  inset: auto 18px 18px auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #1a1009;
  background: var(--gold);
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
}

.menu-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  transition: transform 220ms ease;
}

.menu-preview:hover img {
  transform: scale(1.015);
}

body.dialog-open {
  overflow: hidden;
}

.menu-dialog {
  width: min(1040px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #17110d;
  color: var(--ink);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.7);
}

.menu-dialog::backdrop {
  background: rgba(7, 5, 3, 0.86);
  backdrop-filter: blur(8px);
}

.menu-dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100dvh - 24px);
}

.menu-dialog-bar,
.menu-dialog-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #17110d;
}

.menu-dialog-bar {
  border-bottom: 1px solid var(--line);
}

.menu-dialog-bar .eyebrow {
  margin-bottom: 5px;
}

.menu-dialog-bar h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.icon-button {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
}

.menu-dialog-scroller {
  overflow: auto;
  overscroll-behavior: contain;
  background: #ddd6c9;
}

.menu-dialog-scroller img {
  display: block;
  width: 100%;
  min-width: 720px;
  height: auto;
}

.menu-dialog-actions {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
}

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

.info-grid article {
  padding: 26px;
}

.info-grid h3 {
  margin-top: 34px;
}

.reservation-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: start;
}

.reservation-intro {
  position: sticky;
  top: 110px;
}

.reservation-intro p {
  max-width: 480px;
  font-size: 1.05rem;
}

.booking-form {
  padding: 28px;
  background: rgba(255, 246, 228, 0.95);
  color: #21160e;
}

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

label {
  display: grid;
  gap: 7px;
  color: #5b4935;
  font-size: 0.92rem;
  font-weight: 700;
}

label.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(33, 22, 14, 0.18);
  border-radius: var(--radius);
  background: #fffdf7;
  color: #21160e;
  padding: 11px 12px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(180, 61, 34, 0.13);
}

.booking-form input[type="date"] {
  min-height: 52px;
  cursor: pointer;
}

.booking-form input[type="date"]::-webkit-calendar-picker-indicator {
  width: 26px;
  height: 26px;
  margin-left: 8px;
  padding: 5px;
  border: 1px solid rgba(180, 61, 34, 0.42);
  border-radius: 6px;
  background-color: #f2dfbd;
  cursor: pointer;
  opacity: 1;
}

.booking-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
  border-color: var(--red);
  background-color: #ead0a3;
}

.reservation-unavailable {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 16px 0 0;
  padding: 13px 15px;
  border: 1px solid rgba(157, 53, 37, 0.34);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: #fff4ed;
  color: #6e241a;
  line-height: 1.55;
}

.reservation-unavailable[hidden] {
  display: none;
}

.reservation-unavailable a {
  flex: 0 0 auto;
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-error {
  min-height: 24px;
  margin: 14px 0 0;
  color: #9f281d;
  font-weight: 700;
}

.booking-form .form-actions {
  margin-top: 18px;
}

.confirmation {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(95, 125, 87, 0.32);
  border-radius: var(--radius);
  background: rgba(95, 125, 87, 0.12);
}

.confirmation h3 {
  margin-bottom: 8px;
}

.confirmation p {
  margin: 6px 0;
  color: #463321;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(360px, 1.35fr) auto;
  gap: 34px;
  align-items: start;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.site-footer img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
}

.footer-brand > div {
  min-width: 0;
}

.footer-brand p {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(150px, 0.8fr);
  gap: 20px;
}

.footer-contact a {
  display: grid;
  gap: 5px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.footer-contact span,
.footer-contact small {
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-contact strong {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.5;
}

.footer-contact small,
.footer-cta {
  color: var(--gold);
  font-weight: 700;
}

.footer-cta {
  padding-top: 4px;
  white-space: nowrap;
}

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

  .main-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
  }

  .section-heading,
  .philosophy-grid,
  .menu-feature,
  .reservation-section {
    grid-template-columns: 1fr;
  }

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

  .reservation-intro {
    position: static;
  }

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

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 20px, 1180px);
    padding: 10px 0;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-content,
  .section {
    width: min(100% - 22px, 1180px);
  }

  .hero-content {
    padding: 76px 0 52px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .section {
    padding: 62px 0;
  }

  .principles article {
    grid-template-columns: 1fr;
  }

  .principles p {
    grid-column: 1;
  }

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

  .booking-form,
  .philosophy-copy,
  .menu-summary,
  .info-grid article,
  .principles article {
    padding: 22px;
  }

  .menu-preview {
    min-height: 340px;
  }

  .menu-dialog-scroller img {
    min-width: 620px;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }
}
