/* Worldeli — black & gold, editorial luxury */

:root {
  --black: #070707;
  --black-2: #101010;
  --black-3: #181818;
  --gold: #c9a24b;
  --gold-soft: #d4b56a;
  --gold-deep: #a4843a;
  --ivory: #f3ead8;
  --ivory-dim: rgba(243, 234, 216, 0.72);
  --line: rgba(201, 162, 75, 0.28);
  --header-h: 84px;
  --font-serif: "Cormorant Garamond", "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --font-sans: "Outfit", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ivory);
  background: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--gold);
  color: var(--black);
  padding: 8px 14px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--ivory);
  background: linear-gradient(to bottom, rgba(7, 7, 7, 0.82), rgba(7, 7, 7, 0));
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(7, 7, 7, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1280px, calc(100% - 36px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo-mark {
  height: 46px;
  width: auto;
  flex: 0 0 auto;
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }

.logo-word {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.logo-sub {
  margin-top: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.nav a:hover { color: var(--gold); }

.lang {
  display: flex;
  gap: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lang a {
  text-decoration: none;
  padding: 0 8px;
  color: var(--ivory-dim);
  text-transform: none;
  letter-spacing: 0.06em;
  border-right: 1px solid rgba(243, 234, 216, 0.2);
}

.lang a:last-child { border-right: 0; padding-right: 0; }
.lang a:first-child { padding-left: 0; }

.lang a[aria-current="page"] { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-gold:hover { background: var(--gold-soft); }

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.nav .btn { padding: 10px 16px; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 10px;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  height: 1px;
  width: 22px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.site-header.menu-open .menu-toggle span { background: transparent; }
.site-header.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero: full-bleed cover ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--black);
  color: var(--ivory);
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111;
}

.hero-visual img,
.hero-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-visual video { opacity: 0; transition: opacity 0.6s ease; }
.hero-visual video.is-on { opacity: 1; }

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7, 7, 7, 0.88) 0%, rgba(7, 7, 7, 0.46) 42%, rgba(7, 7, 7, 0.18) 64%, rgba(7, 7, 7, 0.5) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: calc(var(--header-h) + 24px) 8vw 80px;
  box-sizing: border-box;
}

.kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  line-height: 0.95;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  max-width: 22em;
  margin: 0 0 28px;
  color: var(--ivory-dim);
}

.hero-facts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--ivory-dim);
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-facts li::before {
  content: "";
  width: 6px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

.hero-wordmark {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: 0.12em;
  color: var(--gold);
  line-height: 1;
  pointer-events: none;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }

.section-head { margin-bottom: 48px; max-width: 36rem; }

.section h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  margin: 10px 0 16px;
}

.section-head p { color: var(--ivory-dim); margin: 0; }

.intro {
  display: grid;
  gap: 48px;
  align-items: center;
}

.intro-photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }

.intro-copy p { margin: 0 0 1.1em; color: var(--ivory-dim); }
.intro-copy p:last-child { margin-bottom: 0; }
.intro-copy h2 { margin-top: 0; }

.tag {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 12px;
  margin: 8px 8px 0 0;
}

/* Cuisine cards */
.cards {
  display: grid;
  gap: 14px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  color: var(--ivory);
  isolation: isolate;
}
.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 0.7s ease;
}
.card:hover img { transform: scale(1.04); }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,7,0.05) 20%, rgba(7,7,7,0.82) 100%);
  z-index: 0;
}
.card-body {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
}
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  margin: 0;
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

/* Hours + rates */
.tone { background: var(--black-2); }

.rate-grid,
.panel-grid {
  display: grid;
  gap: 18px;
}

.rate-card,
.panel {
  border: 1px solid var(--line);
  background: var(--black);
  padding: 36px 28px;
}

.rate-card h3,
.panel h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin: 0 0 8px;
  font-weight: 600;
}

.rate-time {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--gold);
  margin: 0 0 10px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.rate-card p,
.panel p,
.panel li { color: var(--ivory-dim); }

.rate-card .btn { margin-top: 18px; }

.panel ul { margin: 0; padding-left: 1.1em; }

/* Gallery */
.gallery {
  display: grid;
  gap: 12px;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Contact + map */
.contact-grid {
  display: grid;
  gap: 36px;
}

.contact-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.contact-list li { margin: 0 0 20px; }

.contact-list a { color: var(--gold); font-weight: 500; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.email-note {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--gold);
}


.label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 4px;
}

.map-wrap {
  overflow: hidden;
  min-height: 340px;
  border: 1px solid var(--line);
  background: var(--black-3);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: grayscale(0.35) contrast(0.95);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 120px;
  color: var(--ivory-dim);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img { height: 52px; width: auto; }
.site-footer strong {
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  display: block;
}
.site-footer p { margin: 6px 0 0; font-size: 0.9rem; }
.site-footer a { color: var(--gold); text-decoration: none; }

.reserve-bar { display: none; }

/* ---------- Responsive ---------- */
@media (min-width: 860px) and (max-width: 1099px) {
  .logo-sub { display: none; }
  .nav { gap: 16px; }
  .nav a { letter-spacing: 0.1em; font-size: 0.68rem; }
}
@media (min-width: 860px) {
  .intro { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .rate-grid,
  .panel-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .gallery figure:first-child img { aspect-ratio: 16 / 8; }
  .contact-grid { grid-template-columns: 0.8fr 1.2fr; }
  .site-footer { padding-bottom: 56px; }
}

@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .card, .card-body { min-height: 320px; }
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gallery figure:first-child { grid-column: span 4; grid-row: span 2; }
  .gallery figure:nth-child(2),
  .gallery figure:nth-child(3) { grid-column: span 2; }
  .gallery figure:nth-child(n+4) { grid-column: span 2; }
  .gallery figure:first-child img { aspect-ratio: auto; height: 100%; min-height: 440px; }
  .section { padding: 120px 0; }
}

@media (max-width: 859px) {
  .menu-toggle { display: block; }
  .nav .btn-reserve-desktop { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 24px 28px;
    background: rgba(7, 7, 7, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .site-header.menu-open .nav { display: flex; }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(201, 162, 75, 0.12);
    font-size: 0.8rem;
  }
  .lang {
    margin-top: 12px;
    padding-top: 12px;
    border-bottom: 0;
  }
  .nav .lang a {
    padding: 12px 12px 12px 0;
    border-bottom: 0;
    border-right: 1px solid rgba(243, 234, 216, 0.25);
    letter-spacing: 0.08em;
  }
  .nav .lang a:last-child { border-right: 0; padding-right: 0; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .hero-lead { margin-bottom: 16px; font-size: 1.15rem; }
  .hero-facts { margin-bottom: 22px; }
  .hero-copy { padding: calc(var(--header-h) + 16px) 24px calc(36px + env(safe-area-inset-bottom)); }
  .section { padding: 80px 0 120px; }
  .reserve-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 7, 7, 0.96);
    border-top: 1px solid var(--line);
    gap: 10px;
    transform: translateY(110%);
    transition: transform 0.28s ease;
  }
  .reserve-bar.is-visible { transform: translateY(0); }
  .reserve-bar .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .card:hover img { transform: none; }
}

/* ---------- Reservation modal ---------- */
.reserve-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(7, 7, 7, 0.78);
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.reserve-modal.is-open,
.reserve-modal:target { display: flex; }

@media (min-width: 700px) {
  .reserve-modal { align-items: center; padding: 40px 24px; }
}

@media (max-width: 699px) {
  .reserve-modal {
    align-items: flex-end;
    padding: 0;
  }
  .reserve-dialog {
    width: 100%;
    max-height: 100svh;
    padding: 16px 18px 20px;
    border: 0;
    overflow: auto;
  }
  .reserve-dialog h2 { font-size: 1.85rem; }
  .reserve-lead { margin-bottom: 12px; font-size: 0.92rem; }
  .reserve-form { gap: 11px; }
  .reserve-form textarea { min-height: 62px; }
}

.reserve-dialog {
  width: min(520px, 100%);
  background: var(--black-2);
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: 28px 24px 24px;
  position: relative;
  max-height: min(92svh, 820px);
  overflow: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.reserve-dialog h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 10px;
}

.reserve-lead {
  margin: 0 0 22px;
  color: var(--ivory-dim);
  font-size: 0.95rem;
}

.reserve-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ivory);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.reserve-close:hover { color: var(--gold); }

.reserve-form { display: grid; gap: 16px; }
.reserve-row { display: grid; gap: 16px; }
.reserve-row-2 { grid-template-columns: 1fr 1fr; }

.reserve-field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 7px;
}

.reserve-form { color-scheme: dark; }
.reserve-form input,
.reserve-form select,
.reserve-form textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: 12px 14px;
  border-radius: 2px;
  font: inherit;
  font-size: 1rem;
  appearance: none;
  box-sizing: border-box;
}

.reserve-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.reserve-form input:focus,
.reserve-form select:focus,
.reserve-form textarea:focus {
  outline: 1px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.reserve-form textarea { resize: vertical; min-height: 84px; }

.reserve-form .is-invalid {
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 1px var(--gold);
}

.reserve-error {
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.9rem;
}

.reserve-submit { width: 100%; padding: 14px 22px; cursor: pointer; border: 0; }

body.reserve-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .reserve-bar { transition: none; }
}
