/* 7 Spices Grill, one page. Tokens first, then layout, then components. */

:root {
  --ink: #0B0A08;
  --ink-2: #17130E;
  --ink-3: #221C14;
  --gold: #C9962B;
  --gold-hi: #E7C266;
  --gold-lo: #7A5A1C;
  --cream: #F6EEDF;
  --cream-2: #EFE4D0;
  --cream-ink: #2A2118;
  --cream-muted: #6B5B49;
  --text: #F2E7D3;
  --text-dim: #B9AC95;

  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--gold-lo); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
address { font-style: normal; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; }

/* --------------------------------------------------------------- type */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .94;
  letter-spacing: .01em;
  text-wrap: balance;
}
.display--xl { font-size: clamp(56px, 9vw, 128px); }
.display--l  { font-size: clamp(44px, 6vw, 80px); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--font-body); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 0 0 0 rgba(201,150,43,0); }
.btn--gold:hover { background: var(--gold-hi); box-shadow: 0 8px 28px -10px rgba(231,194,102,.55); }
.btn--ghost { color: var(--text); border-color: rgba(242,231,211,.35); background: rgba(11,10,8,.25); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--ink-3); color: var(--gold-hi); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-solid { background: rgba(11,10,8,.88); border-bottom-color: rgba(201,150,43,.35); backdrop-filter: blur(10px); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-display); font-size: 24px; letter-spacing: .04em; color: var(--text); }
.nav__brand img { width: 44px; height: 44px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text-dim); transition: color .18s; }
.nav__links a:hover { color: var(--gold-hi); }
.nav .btn { margin-left: 4px; }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 72px; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: -8% 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,10,8,.94) 0%, rgba(11,10,8,.86) 38%, rgba(11,10,8,.55) 62%, rgba(11,10,8,.22) 100%),
    linear-gradient(180deg, rgba(11,10,8,.5) 0%, rgba(11,10,8,0) 30%, rgba(11,10,8,0) 60%, rgba(11,10,8,.7) 100%);
}
.hero__in { display: grid; grid-template-columns: 1fr minmax(260px, 440px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__sign { order: 2; justify-self: end; }
.hero__sign { position: relative; width: min(100%, 440px); aspect-ratio: 1; display: grid; place-items: center; }
.hero__glow {
  position: absolute; inset: -18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(231,194,102,.42), rgba(201,150,43,.18) 45%, rgba(201,150,43,0) 72%);
  filter: blur(6px);
  opacity: 1; /* GSAP animates from 0; without JS the sign is simply lit */
}
.hero__emblem { position: relative; width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.6)); }
.hero__copy { max-width: 620px; }
.hero__copy .display { color: var(--cream); }
.hero__lede { margin-top: 22px; font-size: clamp(17px, 1.4vw, 20px); color: var(--text); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: 14px; color: var(--text-dim); }
.hero__meta a { color: var(--text-dim); }

/* --------------------------------------------------------------- menu */
.menu { background: var(--cream); color: var(--cream-ink); padding: clamp(72px, 9vw, 128px) 0; }
.menu .display { color: var(--ink); }
.section-head { max-width: 720px; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--cream-muted); max-width: 58ch; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-bottom: 18px; border-bottom: 1px solid rgba(42,33,24,.14); }
.tab {
  appearance: none; border: 1.5px solid transparent; background: transparent;
  color: var(--cream-muted); font: 600 15px/1 var(--font-body);
  padding: 12px 18px; border-radius: 999px; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.tab:hover { color: var(--ink); border-color: rgba(42,33,24,.2); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--gold-hi); }

.grid { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px 22px; }
.card { display: block; text-decoration: none; color: inherit; border-radius: var(--r-lg); outline-offset: 6px; }
.card__img { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--cream-2); box-shadow: 0 1px 0 rgba(42,33,24,.06), 0 14px 32px -22px rgba(42,33,24,.5); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__img img { transform: scale(1.03); }
.card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; }
.card__name { font-weight: 700; font-size: 17px; letter-spacing: -.005em; }
.card__price { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.card__blurb { margin-top: 5px; font-size: 14.5px; line-height: 1.45; color: var(--cream-muted); }
.card:hover .card__name { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.menu__cta { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 32px; border-top: 1px solid rgba(42,33,24,.14); }
.menu__cta p { color: var(--cream-muted); max-width: 46ch; }

/* ---------------------------------------------------------- how to order */
.how { padding: clamp(72px, 9vw, 128px) 0; background: var(--ink); position: relative; overflow: hidden; }
.how__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.how .display { color: var(--cream); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 26px; counter-reset: step; max-width: 520px; }
.steps li { position: relative; padding-left: 56px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 2px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--gold-lo); color: var(--gold-hi);
  font: 400 20px/1 var(--font-display);
}
.steps h3 { font-size: 19px; font-weight: 700; color: var(--cream); }
.steps p { margin-top: 4px; color: var(--text-dim); }
.how__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.how__art { justify-self: center; width: min(100%, 460px); position: relative; }
.how__art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 60px 40px var(--ink); pointer-events: none; }
.how__art img { width: 100%; height: auto; }

/* ------------------------------------------------------------- find us */
.visit { padding: clamp(72px, 9vw, 128px) 0; background: var(--ink-2); border-top: 1px solid rgba(201,150,43,.18); }
.visit__in { display: grid; grid-template-columns: minmax(300px, 1fr) 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.visit .display { color: var(--cream); }
.visit__block { display: grid; grid-template-columns: 24px 1fr; gap: 16px; margin-top: 32px; color: var(--text-dim); }
.visit__block strong { color: var(--cream); font-weight: 700; }
.visit__block a { color: var(--text); }
.visit__block .ic { width: 22px; height: 22px; margin-top: 3px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--gold); }
.hours { border-collapse: collapse; margin-top: 8px; }
.hours th { text-align: left; font-weight: 500; padding: 3px 24px 3px 0; color: var(--text-dim); }
.hours td { padding: 3px 0; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.social { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }
.visit__map { position: sticky; top: calc(var(--nav-h) + 24px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(201,150,43,.25); background: var(--ink-3); }
.visit__map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; filter: saturate(.85) contrast(1.02); }

/* -------------------------------------------------------------- footer */
.foot { background: var(--ink); border-top: 1px solid rgba(201,150,43,.18); padding: 44px 0 calc(44px + 72px); }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__brand strong { color: var(--cream); }
.foot__brand span { color: var(--text-dim); font-size: 14px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__links a { text-decoration: none; font-size: 14px; color: var(--text-dim); }
.foot__links a:hover { color: var(--gold-hi); }
.foot__copy { grid-column: 1 / -1; color: var(--text-dim); font-size: 13px; }

/* -------------------------------------------------- sticky order bar (mobile) */
.orderbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(11,10,8,0), rgba(11,10,8,.92) 40%);
  transform: translateY(110%); transition: transform .35s var(--ease);
  display: none;
}
.orderbar .btn { width: 100%; }
.orderbar.is-on { transform: none; }

/* ---------------------------------------------------------- responsive */
@media (min-width: 720px) { .foot { padding-bottom: 44px; } }

@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; justify-items: start; }
  .hero__sign { order: 0; justify-self: start; width: min(68vw, 360px); }
  .how__in, .visit__in { grid-template-columns: 1fr; }
  .how__art { order: -1; width: min(70vw, 360px); }
  .visit__map { position: static; }
}

@media (max-width: 719px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__brand span { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 56px; }
  .hero__sign { width: min(62vw, 300px); }
  .hero__actions .btn { flex: 1 1 auto; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .card__blurb { display: none; }
  .card__row { flex-direction: column; gap: 2px; }
  .card__name { font-size: 15px; }
  .menu__cta .btn { width: 100%; }
  .orderbar { display: block; }
  .foot__in { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .card:hover .card__img img { transform: none; }
}
