/* ==========================================================
   Urban Spoons Restaurant
   Layout: dark, full-bleed parallax bands alternate with calm
   reading sections; the logo's triple gold line is the motif.
   ========================================================== */

:root {
  --ink: #0e0d0b;          /* page ground, warm black */
  --char: #191713;         /* raised dark surface */
  --line: #2c2820;         /* hairlines on dark */
  --gold: #e7a62d;         /* brand gold, sampled from the logo */
  --gold-soft: #f2c46b;
  --bone: #efebe3;         /* menu paper */
  --bone-ink: #1b1915;
  --muted: #a39b8c;        /* secondary text on dark */
  --muted-dark: #6b6458;   /* secondary text on bone */

  --f-display: "Jost", "Futura", "Avenir Next", "Century Gothic", sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-accent: "Newsreader", "Iowan Old Style", Georgia, serif;

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: #ece6da;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 60;
  height: env(safe-area-inset-top, 0px); background: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: 90%; margin-inline: auto;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-display); font-weight: 500; font-size: .78rem;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 9px; flex: none;
  background: repeating-linear-gradient(to bottom, currentColor 0 1.5px, transparent 1.5px 3.75px); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: .02em; text-transform: uppercase; }
h2 em, h1 em { font-family: var(--f-accent); font-style: italic; text-transform: none; letter-spacing: 0; color: var(--gold-soft); font-weight: 400; }
.lede { font-size: 1.12rem; color: #d6cfc1; max-width: 58ch; }
p { margin: 0 0 1em; }

/* the logo's triple line, as a divider */
.triple { height: 11px; width: 100%;
  background: repeating-linear-gradient(to bottom, var(--gold) 0 2px, transparent 2px 4.5px); opacity: .9; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 0;
  font-family: var(--f-display); font-weight: 500; font-size: .82rem;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--gold); color: var(--ink); background: var(--gold);
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn.ghost { background: transparent; color: #f4efe5; border-color: rgba(244, 239, 229, .45); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- photo slots ----------
   Each .photo shows a designed placeholder until a real image
   exists at the path in its <img src>. Drop your photo in
   images/photos/ with that filename and it appears. */
.photo {
  position: relative; overflow: hidden; background-color: var(--char);
  background-image:
    radial-gradient(120% 80% at 30% 20%, rgba(231, 166, 45, .16), transparent 60%),
    radial-gradient(90% 70% at 80% 90%, rgba(120, 60, 20, .35), transparent 70%),
    repeating-linear-gradient(135deg, rgba(231, 166, 45, .06) 0 2px, transparent 2px 14px);
}
.photo::after {
  content: "Photo · " attr(data-file);
  position: absolute; left: 14px; bottom: 12px; z-index: 0;
  font: 500 .68rem/1.3 var(--f-display); letter-spacing: .16em; text-transform: uppercase;
  color: rgba(242, 196, 107, .75); padding: 6px 9px; border: 1px dashed rgba(242, 196, 107, .4);
  max-width: calc(100% - 28px);
}
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.solid { background: rgba(14, 13, 11, .92); backdrop-filter: blur(10px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.nav .brand img { height: 46px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.nav ul a {
  text-decoration: none; font-family: var(--f-display); font-size: .8rem;
  letter-spacing: .24em; text-transform: uppercase; color: #e9e3d6; position: relative; padding: 6px 0;
}
.nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.nav ul a:hover::after { right: 0; }
.nav .btn { min-height: 42px; padding: 0 20px; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: #fff; }
.burger span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(94svh, 900px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero .bg { position: absolute; inset: -12% 0; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,13,11,.55) 0%, rgba(14,13,11,.15) 40%, rgba(14,13,11,.92) 100%); }
.hero .bg.photo::after { bottom: auto; top: calc(9.7% + 96px); left: auto; right: var(--gutter-r); }
.hero-mark { position: absolute; right: -6%; top: 12%; width: min(46vw, 560px); opacity: .14; z-index: -1; pointer-events: none; }
.hero-inner { padding-block: 160px 72px; width: 80%; }
.hero h1 { font-size: clamp(2.6rem, 7.2vw, 6.2rem); line-height: .98; text-transform: uppercase; letter-spacing: .03em; max-width: 12ch; }
.hero h1 em { display: block; font-size: .8em; }
.hero .lede { margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 10px 40px; margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  font-family: var(--f-display); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hero-foot b { color: var(--gold); font-weight: 500; }

/* ---------- story ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); }
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story > div { min-width: 0; }
.story .stack { position: relative; aspect-ratio: 4 / 5; max-width: 100%; }
.story .stack .photo { position: absolute; }
.story .stack .a { inset: 0 22% 14% 0; }
.story .stack .b { inset: 46% 0 0 40%; border: 8px solid var(--ink); }
.story .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.story .facts strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 2.1rem; color: var(--gold); line-height: 1.1; }
.story .facts span { font-size: .84rem; color: var(--muted); }

/* ---------- signatures ---------- */
.signatures { background: var(--char); }
.sig-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 54px; }
.sig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sig { min-width: 0; }
.sig .photo { aspect-ratio: 4 / 3; transition: transform .6s var(--ease); }
.sig:hover .photo { transform: translateY(-6px); }
.sig h3 { font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 22px; }
.sig p { color: var(--muted); font-size: .95rem; margin: 8px 0 0; }
.sig .price { font-family: var(--f-display); color: var(--gold); letter-spacing: .1em; font-size: .9rem; margin-top: 12px; display: block; }
.sig:nth-child(2) { transform: translateY(48px); }

/* ---------- parallax bands ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; min-height: 72svh; display: grid; place-items: center; text-align: center; }
.band .bg { position: absolute; inset: -22% 0; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14, 13, 11, .6); }
.band .photo::after { left: 50%; transform: translateX(-50%); bottom: 26%; }
.band-inner { padding-block: 120px; max-width: 900px; }
.band blockquote { margin: 0; font-family: var(--f-accent); font-style: italic; font-size: clamp(1.8rem, 4.2vw, 3.3rem); line-height: 1.2; color: #f6f0e4; text-wrap: balance; }
.band cite { display: block; margin-top: 26px; font-style: normal; font-family: var(--f-display); letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; color: var(--gold); }
.band .triple { width: 90px; margin: 0 auto 34px; }
.band h2 + p { margin: 22px auto 34px; max-width: 54ch; color: #ddd5c6; }

/* ---------- menu ---------- */
.menu { background: var(--bone); color: var(--bone-ink); }
.menu .eyebrow { color: #b17a12; }
.menu h2 em { color: #b17a12; }
.menu-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; margin-bottom: 44px; }
.menu-head p { color: var(--muted-dark); margin: 16px 0 0; max-width: 52ch; }
.sample-flag { font: 500 .7rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: #8a5d0c; border: 1px solid #d9b26a; padding: 9px 12px; }
.tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid #d6d0c4; margin-bottom: 40px; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); padding-right: 40px; }
.tab {
  flex: none; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  padding: 14px 16px; font-family: var(--f-display); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); white-space: nowrap;
}
.tab:hover { color: var(--bone-ink); }
.tab[aria-selected="true"] { color: var(--bone-ink); border-color: var(--gold); }
.panel-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.panel-num { font-family: var(--f-display); font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.group-head { margin: 34px 0 4px; padding-top: 6px; }
.group-head h3 { font-size: .86rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: #9a6a10; }
.group-head p { margin: 6px 0 0; font-size: .9rem; color: var(--muted-dark); }
.panel-note { font-family: var(--f-accent); font-style: italic; font-size: 1.3rem; color: #9a6a10; margin: 0; }
.dishes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 64px; }
.dish { padding: 18px 0; border-bottom: 1px solid #ddd7cb; min-width: 0; }
.dish-top { display: flex; align-items: baseline; gap: 12px; }
.dish h4 { margin: 0; font-family: var(--f-display); font-size: 1.02rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.dish .leader { flex: 1; border-bottom: 1px dotted #b9b1a2; transform: translateY(-4px); min-width: 20px; }
.dish .p { text-align: right; font-family: var(--f-display); font-variant-numeric: tabular-nums; font-weight: 500; color: #9a6a10; white-space: nowrap; }
.dish p { margin: 6px 0 0; color: var(--muted-dark); font-size: .93rem; }
.dish p.opts { font: 500 .72rem/1.5 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: #8a7a5c; }
.tag { font: 600 .6rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: 4px 6px; border: 1px solid currentColor; color: #8a5d0c; white-space: nowrap; transform: translateY(-2px); }
.tag.v, .tag.vg { color: #4d7a3a; }
.menu-foot { margin-top: 40px; font-size: .85rem; color: var(--muted-dark); }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 20vw, 260px); gap: 12px; margin-top: 50px; }
.gallery-grid a { display: block; position: relative; text-decoration: none; }
.gallery-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid a:nth-child(6) { grid-column: span 2; }
.gallery-grid .photo { width: 100%; height: 100%; }
.gallery-grid a::before { content: "View on Instagram"; position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  background: rgba(14,13,11,.7); color: var(--gold); font: 500 .74rem var(--f-display); letter-spacing: .24em; text-transform: uppercase; opacity: 0; transition: opacity .35s; }
.gallery-grid a:hover::before, .gallery-grid a:focus-visible::before { opacity: 1; }
.gallery-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* ---------- visit / reserve ---------- */
.visit { background: var(--char); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 100px); }
.visit-grid > div { min-width: 0; }
.info { display: grid; gap: 30px; margin-top: 36px; }
.info h3 { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 10px; }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 6px 30px; font-variant-numeric: tabular-nums; }
.hours span:nth-child(odd) { color: var(--muted); }
.info a { text-decoration-color: rgba(231,166,45,.5); text-underline-offset: 4px; }
.reserve { background: var(--ink); border: 1px solid var(--line); padding: clamp(26px, 4vw, 48px); }
.reserve h3 { font-size: 1.6rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.reserve > p { color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 .7rem var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: #f2ece1; border: 0; border-bottom: 1px solid #4a4336;
  padding: 10px 0; font: inherit; border-radius: 0; transition: border-color .3s;
}
.field select option { background: var(--char); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form .btn { grid-column: 1 / -1; margin-top: 8px; }
.form-msg { grid-column: 1 / -1; margin: 0; font-size: .92rem; color: var(--gold-soft); min-height: 1.4em; }

/* ---------- footer ---------- */
.site-footer { padding-block: 70px 40px; border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.foot img { height: 60px; width: auto; }
.foot nav { display: flex; gap: 26px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; font-family: var(--f-display); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.foot nav a:hover { color: var(--gold); }
.legal { margin-top: 40px; font-size: .8rem; color: #6f685c; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav ul, .nav .btn.desk { display: none; }
  .burger { display: block; }
  .nav.open ul {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 78px; left: 0; right: 0;
    background: rgba(14,13,11,.97); padding: 20px var(--gutter-r) 30px var(--gutter); border-bottom: 1px solid var(--line);
  }
  .nav.open ul a { display: block; padding: 14px 0; font-size: .9rem; }
  .story, .visit-grid { grid-template-columns: 1fr; }
  .sig-grid { grid-template-columns: 1fr 1fr; }
  .sig:nth-child(2) { transform: none; }
  .sig:nth-child(3) { grid-column: 1 / -1; }
  .sig:nth-child(3) .photo { aspect-ratio: 16 / 9; }
  .dishes { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid a:nth-child(6) { grid-column: span 1; }
}
@media (max-width: 600px) {
  .nav .brand img { height: 38px; }
  .hero-inner { padding-block: 130px 48px; }
  .hero-mark { width: 80vw; right: -30%; top: 18%; }
  .sig-grid { grid-template-columns: 1fr; }
  .sig:nth-child(3) .photo { aspect-ratio: 4 / 3; }
  .menu-head { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .story .facts strong { font-size: 1.6rem; }
  .tab { padding: 12px 10px; letter-spacing: .14em; }
}
/* ---------- floating call & WhatsApp ---------- */
.float-cta { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .25s var(--ease); }
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab svg { width: 28px; height: 28px; }
.fab.wa { background: #25d366; color: #fff; }
.fab.call { background: var(--gold); color: var(--ink); }
@media (max-width: 600px) { .fab { width: 50px; height: 50px; } .fab svg { width: 24px; height: 24px; } }

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