/* ============================================================
   VATAN ONE RESTAURANT · Mill Basin, Brooklyn
   Dark lacquer + brass. Single dark theme, locked.
   Type: Cinzel (display, latin) > Cormorant Garamond (cyrillic
   fallback + quotes) > Manrope (UI/body).
   Shape rule: everything sharp (radius 0); photos may arch
   (arch-frame); buttons rectangular.
   ============================================================ */

:root {
  --bg: #0D0B08;
  --bg-2: #131009;
  --surface: #191509;
  --ink: #F2EAD9;
  --muted: #B0A48D;
  --gold: #C6A15B;
  --gold-bright: #E5CE93;
  --gold-deep: #8C7340;
  --line: rgba(198, 161, 91, 0.28);
  --line-faint: rgba(198, 161, 91, 0.14);
  --font-display: "Cinzel", "Cormorant Garamond", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --nav-h: 72px;
  --pad-x: clamp(20px, 5vw, 64px);
  --max-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

html, body { overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: var(--ink); }

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

::selection { background: var(--gold-deep); color: var(--bg); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: var(--bg);
  padding: 10px 18px;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- type ---------- */

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold);
  color: #191002;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #191002;
}

.btn-line {
  background: rgba(13, 11, 8, 0.45);
  color: var(--ink);
  border-color: var(--line);
}
.btn-line:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 var(--pad-x);
  background: transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(13, 11, 8, 0.92);
  border-bottom-color: var(--line-faint);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.nav-crest { border-radius: 50%; }
.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 26px;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
}
.nav-links a:hover { color: var(--gold-bright); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
}
.lang-btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lang-btn.is-active {
  background: var(--gold);
  color: #191002;
}
.lang-btn:not(.is-active):hover { color: var(--gold-bright); }

.nav-cta { padding: 11px 20px; }

.nav-burger {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold-bright);
  transition: transform 0.25s ease;
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu[hidden] { display: none; }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: rgba(13, 11, 8, 0.98);
  border-bottom: 1px solid var(--line-faint);
  padding: 18px var(--pad-x) 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - var(--nav-h));
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
}
.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line-faint);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 14px; text-align: center; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: center 30%;
  transform-origin: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(13, 11, 8, 0.96) 0%, rgba(13, 11, 8, 0.55) 34%, rgba(13, 11, 8, 0.18) 60%, rgba(13, 11, 8, 0.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(56px, 9vh, 110px);
}

.hero-eyebrow { margin-bottom: 18px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0.015em;
  max-width: 14ch;
  text-wrap: balance;
}

.hero-sub {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  color: var(--ink);
  opacity: 0.88;
}

.hero-ctas {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- sections shared ---------- */

section { position: relative; }

.story, .menu, .visit {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(88px, 12vw, 150px) var(--pad-x);
}

/* ---------- story ---------- */

.story-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.story-text .h2 { margin-bottom: 26px; }
.story-text p {
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.story-facts {
  list-style: none;
  margin-top: 34px;
  border-top: 1px solid var(--line-faint);
}
.story-facts li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-faint);
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--gold-bright);
}

.arch-frame {
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--bg-2);
}
.arch-frame img {
  border-radius: 992px 992px 0 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- menu ---------- */

.menu-head {
  text-align: center;
  margin-bottom: 46px;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
}
.menu-tab {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-faint);
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 22px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.menu-tab:hover { color: var(--gold-bright); border-color: var(--line); }
.menu-tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #191002;
}

.menu-panel[hidden] { display: none; }

.menu-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(48px, 7vw, 110px);
}
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
}
.dish {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--ink);
}
.menu-list li::after {
  content: "";
  order: 1;
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
}
.price {
  order: 2;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
}

.menu-note {
  margin-top: 44px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- atmosphere ---------- */

.atmosphere {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
}

.atmosphere-media {
  position: absolute;
  inset: -12% 0;
  opacity: 0.24;
}
.atmosphere-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.atmosphere-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(96px, 13vw, 170px) var(--pad-x);
  text-align: center;
}

.atmosphere-lede {
  margin: 22px auto 0;
  max-width: 52ch;
  color: var(--ink);
  opacity: 0.85;
  font-size: 1.05rem;
}

.rating-row {
  margin-top: 44px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
}
.rating-score {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--gold-bright);
  line-height: 1;
}
.rating-meta {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 20ch;
  text-align: left;
  line-height: 1.4;
}

.quotes {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  text-align: left;
}
.quotes blockquote {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.quotes p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink);
}
.quotes cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- catering ---------- */

.catering {
  background: var(--bg);
}
.catering-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(88px, 11vw, 140px) var(--pad-x);
  text-align: center;
}
.catering-inner p {
  margin: 20px auto 32px;
  color: var(--muted);
  max-width: 50ch;
}

/* ---------- visit ---------- */

.visit-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.visit-info .h2 { margin-bottom: 34px; }

.visit-block {
  padding: 16px 0;
  border-top: 1px solid var(--line-faint);
  font-style: normal;
}
.visit-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.visit-block a, .visit-block p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}
.visit-block a:hover { color: var(--gold-bright); }

.visit-map {
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--bg-2);
}
.visit-map iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(0.35) contrast(1.02);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line-faint);
  padding: 64px var(--pad-x) 48px;
  text-align: center;
}
.footer-crest img {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.footer-line {
  font-size: 0.95rem;
  color: var(--muted);
}
.footer-line a { color: var(--ink); }
.footer-copy {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}

@media (max-width: 767px) {
  .nav { gap: 14px; }
  .nav-cta { display: none; }
}

@media (max-width: 519px) {
  .nav-wordmark { display: none; }
}

@media (max-width: 767px) {

  .story-grid,
  .visit-grid,
  .quotes {
    grid-template-columns: 1fr;
  }
  .story-media { order: -1; max-width: 420px; }
  .menu-list { grid-template-columns: 1fr; }
  .visit-map iframe { height: 340px; }
  .hero-ctas .btn { flex: 1 1 100%; text-align: center; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
}
