/* URGUT TABLE · urguteats.com
   Dark heritage-photographic language. One accent: saffron gold (both restaurant
   marks are gold). Shape rule: surfaces and images 14px, interactive pills. */

:root {
  --ink: #16130f;
  --ink-2: #1d1915;
  --ink-3: #241f18;
  --line: rgba(227, 176, 75, 0.16);
  --line-soft: rgba(243, 237, 226, 0.08);
  --text: #f3ede2;
  --text-dim: #b6ab96;
  --gold: #e3b04b;
  --gold-deep: #8a6a2d;
  --radius: 14px;
  --shell: 1240px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Avenir Next", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: inherit; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

::selection { background: rgba(227, 176, 75, 0.28); }

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

/* ---------- header ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(22, 19, 15, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.site-head__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.brand small {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.site-head nav {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-head nav a {
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.2s;
}
.site-head nav a:hover { color: var(--text); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 999px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease-out), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--gold { background: var(--gold); color: #191307; }
.btn--gold:hover { background: #edc06a; }
.btn--line { border-color: var(--line); color: var(--text); background: transparent; }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--small { padding: 10px 20px; font-size: 0.88rem; }
.btn svg { flex: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.text-link:hover { border-bottom-color: var(--gold); }

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

.hero {
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 48px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero__sub {
  color: var(--text-dim);
  max-width: 46ch;
  margin-bottom: 34px;
  font-size: 1.06rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(227, 176, 75, 0.22);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}
.frame img, .frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.hero .frame { max-width: 560px; justify-self: end; width: 100%; }

/* ---------- section scaffolding ---------- */

.section { padding-block: clamp(72px, 10vw, 128px); }
.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.section__head p { color: var(--text-dim); }

/* ---------- locations ---------- */

.loc-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(36px, 5vw, 56px);
}
.loc-row + .loc-row { border-top: 1px solid var(--line-soft); }
.loc-row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.loc-row--flip .loc-row__media { order: 2; }
.loc-row__media .frame img, .loc-row__media .frame video { aspect-ratio: 4 / 3; }
.loc-row__media .frame--mark {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(227, 176, 75, 0.1), transparent 60%),
    var(--ink-2);
}
.loc-row__media .frame--mark img {
  width: min(58%, 260px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
}
.loc-row h3 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 6px;
}
.loc-row__street {
  color: var(--text-dim);
  font-size: 0.98rem;
  margin-bottom: 18px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 22px;
  color: var(--text-dim);
}
.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7f7668;
}
.status.open { color: var(--text); border-color: var(--line); }
.status.open i { background: #79c06b; }
.loc-row__facts {
  display: grid;
  gap: 6px;
  margin-bottom: 26px;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.loc-row__facts strong { color: var(--text); font-weight: 500; }
.loc-row__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- food bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}
.bento__cell {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
}
.bento__cell .bento__media { flex: 1; overflow: hidden; }
.bento__cell img, .bento__cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.bento__cell:hover img, .bento__cell:hover video { transform: scale(1.035); }
.bento__cell figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  border-top: 1px solid var(--line-soft);
}
.bento__cell--w7 { grid-column: span 7; }
.bento__cell--w5 { grid-column: span 5; }
.bento__cell--w6 { grid-column: span 6; }
.bento__cell--w7 .bento__media, .bento__cell--w6 .bento__media { aspect-ratio: 3 / 2; }
.bento__cell--w5 .bento__media { aspect-ratio: 1 / 1.04; }
.food__note {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ---------- heritage ---------- */

.heritage {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  display: grid;
  align-items: end;
}
.heritage__bg {
  position: absolute;
  inset: -18% 0;
  z-index: 0;
}
.heritage__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.68) brightness(0.82);
}
.heritage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(90% 120% at 22% 60%, rgba(22, 19, 15, 0.82) 0%, rgba(22, 19, 15, 0.45) 45%, rgba(22, 19, 15, 0.12) 75%),
    linear-gradient(180deg, var(--ink) 0%, rgba(22, 19, 15, 0.25) 30%, rgba(22, 19, 15, 0.35) 65%, var(--ink) 100%);
}
.heritage__copy {
  position: relative;
  z-index: 2;
  padding-block: clamp(80px, 12vw, 150px);
  max-width: 620px;
}
.heritage__copy p { text-shadow: 0 1px 18px rgba(0, 0, 0, 0.65); }
.heritage__copy h2 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); }
.heritage__copy h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 16px; }
.heritage__copy p { color: #d8cfbd; font-size: 1.05rem; text-wrap: pretty; }

/* ---------- location page ---------- */

.loc-hero { padding-top: clamp(120px, 16vh, 170px); padding-bottom: clamp(48px, 7vw, 88px); }
.loc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.loc-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); margin-bottom: 10px; }
.loc-hero__street { color: var(--text-dim); font-size: 1.02rem; margin-bottom: 20px; }
.loc-hero__facts {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--text-dim);
  font-size: 0.98rem;
}
.loc-hero__facts strong { color: var(--text); font-weight: 500; }
.loc-hero__facts a { color: var(--text); }
.crossband {
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(48px, 7vw, 80px);
}
.crossband__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.crossband h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.crossband p { color: var(--text-dim); margin-top: 4px; }

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

.site-foot { border-top: 1px solid var(--line-soft); padding-block: clamp(48px, 7vw, 72px) 36px; }
.site-foot__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: clamp(24px, 3.4vw, 48px);
  margin-bottom: 44px;
}
@media (max-width: 1100px) and (min-width: 961px) {
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
}
.site-foot h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.site-foot__brandline { color: var(--text-dim); font-size: 0.95rem; max-width: 30ch; }
.site-foot address {
  font-style: normal;
  color: var(--text-dim);
  font-size: 0.92rem;
  display: grid;
  gap: 5px;
}
.site-foot address a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.site-foot address a:hover { color: var(--gold); }
.site-foot__meta {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: #857b68;
  font-size: 0.82rem;
}

/* ---------- location gate (Sharq-style chooser) ---------- */

.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(227, 176, 75, 0.07), transparent 55%),
    rgba(16, 13, 10, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 1;
  transition: opacity 0.45s var(--ease-out);
}
.gate[hidden] { display: none; }
.gate.closing { opacity: 0; pointer-events: none; }
.gate__inner { max-width: 1060px; width: 100%; text-align: center; }
.gate__kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.gate__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  margin-bottom: 10px;
}
.gate__sub { color: var(--text-dim); margin-bottom: 34px; }
.gate__choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.gate-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 4px;
  padding: 0 0 18px;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.gate-card:hover, .gate-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.gate-card:active { transform: translateY(-1px) scale(0.99); }
.gate-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--ink-3);
}
.gate-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gate-card__media--mark { display: grid; place-items: center; }
.gate-card__media--mark img { width: 42%; height: auto; object-fit: contain; border-radius: 8px; }
.gate-card__body { display: grid; gap: 4px; }
.gate-card__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  padding-inline: 18px;
}
.gate-card__street { color: var(--text-dim); font-size: 0.88rem; padding-inline: 18px; }
.gate-card .status { margin: 10px 18px 0; }
.gate-card__line {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.gate-card.chosen .gate-card__line { transform: scaleX(1); transition: transform 0.5s var(--ease-out); }
.gate__skip {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.92rem;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 999px;
}
.gate__skip:hover { color: var(--text); }

.head-chip {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 9px 16px;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.head-chip.on { display: inline-flex; }
.head-chip:hover { border-color: var(--gold); color: var(--gold); }
.head-chip svg { flex: none; }

.loc-row.flash .frame, .loc-row.flash .frame--mark {
  animation: locflash 1.6s var(--ease-out);
}
@keyframes locflash {
  0% { box-shadow: 0 0 0 0 rgba(227, 176, 75, 0.55); }
  100% { box-shadow: 0 0 0 26px rgba(227, 176, 75, 0); }
}

/* ---------- wide third location row ---------- */

.loc-row--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.media-duo {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 14px;
  align-items: end;
}
.media-duo .frame img, .media-duo .frame video { aspect-ratio: 4 / 3; }
.media-duo .frame--tile img { aspect-ratio: 1 / 1; object-fit: contain; background: #f6efe2; }
.media-duo .frame:last-child { margin-bottom: 28px; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(12, 10, 8, 0.93);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  max-width: min(1040px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.lightbox img, .lightbox video {
  max-width: 100%;
  max-height: calc(100dvh - 160px);
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox figcaption {
  padding-top: 14px;
  color: var(--text-dim);
  font-size: 0.92rem;
  text-align: center;
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: rgba(29, 25, 21, 0.8);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lightbox__btn:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__btn--close { top: 20px; right: 20px; }
.lightbox__btn--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 16px; top: 50%; transform: translateY(-50%); }
.bento__cell { cursor: zoom-in; }

/* ---------- nav active state ---------- */

.site-head nav a.active { color: var(--gold); }

/* ---------- reveal defaults (JS enhances) ---------- */

[data-reveal] { will-change: transform, opacity; }

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

@media (max-width: 960px) {
  .site-head nav { display: none; }
  .hero__grid, .loc-hero__grid { grid-template-columns: 1fr; }
  .hero .frame { justify-self: stretch; max-width: none; }
  .hero { padding-top: 108px; }
  .loc-row, .loc-row--flip, .loc-row--wide { grid-template-columns: 1fr; }
  .loc-row--flip .loc-row__media { order: 0; }
  .site-foot__grid { grid-template-columns: 1fr; }
  .gate__choices { grid-template-columns: 1fr; gap: 12px; }
  .gate { overflow-y: auto; align-items: start; }
  .gate__inner { padding-block: 32px; }
  .gate-card { flex-direction: row; align-items: center; padding: 12px 14px; gap: 14px; text-align: left; }
  .gate-card__media { width: 92px; aspect-ratio: 1 / 1; border-radius: 10px; margin-bottom: 0; flex: none; }
  .gate-card__media--mark img { width: 64%; }
  .gate-card__body { display: grid; gap: 3px; }
  .gate-card__name { padding-inline: 0; font-size: 1.2rem; }
  .gate-card__street { padding-inline: 0; }
  .gate-card .status { margin: 6px 0 0; }
  .gate-card__line { left: 14px; right: 14px; }
  .media-duo { grid-template-columns: 1fr; }
  .media-duo .frame:last-child { margin-bottom: 0; }
  .head-chip span { display: none; }
  .head-chip { padding: 9px 11px; }
}

@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__cell--w7, .bento__cell--w5 { grid-column: span 2; }
  .bento__cell--w5 .bento__media { aspect-ratio: 4 / 3; }
  .bento__cell--w6 { grid-column: span 1; }
  .bento__cell--w6 .bento__media { aspect-ratio: 1 / 1.1; }
  .hero__cta .btn { flex: 1 1 auto; }
}

@media (max-width: 560px) {
  .brand small { display: none; }
  .brand { font-size: 1.2rem; }
  .site-head__row { gap: 12px; }
  .btn--small { padding: 9px 14px; font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bento__cell img, .bento__cell video { transition: none; }
  .btn { transition: none; }
}
