/* ==========================================================================
   APEX BURGER — visual world
   Charcoal + ember. Accent is earned, never scattered.
   ========================================================================== */

:root {
  /* Surfaces */
  --void:        #0A0908;
  --char:        #131110;
  --slate:       #1C1917;
  --ash:         #2A2624;

  /* Ink — tinted from the surface hue, never generic gray */
  --bone:        #F5F0E8;
  --smoke:       #A89F94;
  --ember-dim:   #8F7F70;

  /* Accent — one hue, one job: heat and action */
  --ember:       #FF5A1F;
  --ember-deep:  #C93A08;
  --sear:        #FFB067;

  /* Type */
  --display: "Archivo Black", "Helvetica Neue", Impact, sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Motion */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Space — 4-unit base */
  --s1: 0.25rem; --s2: 0.5rem;  --s3: 0.75rem; --s4: 1rem;
  --s6: 1.5rem;  --s8: 2rem;    --s12: 3rem;   --s16: 4rem;
  --s24: 6rem;   --s32: 8rem;   --s40: 10rem;

  --edge: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1360px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Browser surfaces: theme what you didn't draw ---------- */
::selection { background: var(--ember); color: var(--void); }
:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}
html { scrollbar-color: var(--ash) var(--void); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--ash); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--ember-dim); }
:root { caret-color: var(--ember); }

/* ---------- Type roles ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.eyebrow-free-heading { font-family: var(--display); }

.label {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smoke);
  font-weight: 600;
}

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--smoke);
  max-width: 46ch;
}

.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--edge);
}
section { position: relative; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: var(--s6);
  transition: background-color 300ms var(--ease-out),
              padding 300ms var(--ease-out),
              border-color 300ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10, 9, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: var(--s4);
  border-bottom-color: var(--ash);
}
.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s8);
}
.mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.mark__icon {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--ember);
  transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .mark:hover .mark__icon { transform: translateY(-2px); }
}
.mark:active .mark__icon { transform: scale(0.94); }
.mark__type {
  display: flex;
  align-items: baseline;
  gap: 0.5ch;
  font-family: var(--display);
  font-size: 1.1875rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.mark__a { color: var(--bone); }
.mark__b { color: var(--ember); }
.nav__links {
  display: flex;
  gap: var(--s8);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--smoke);
}
.nav__links a {
  position: relative;
  padding-block: var(--s1);
  transition: color 200ms var(--ease-out);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--bone); }
  .nav__links a:hover::after { transform: scaleX(1); }
}
@media (max-width: 860px) { .nav__links { display: none; } }

/* ---------- Button: the accent's only home ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6ch;
  padding: 0.9rem 1.6rem;
  background: var(--ember);
  color: var(--void);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: transform 160ms var(--ease-out),
              background-color 200ms ease,
              box-shadow 200ms ease;
  box-shadow: 0 2px 0 0 var(--ember-deep), 0 8px 24px -8px rgba(255, 90, 31, 0.5);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--sear); }
}
.btn:active { transform: scale(0.97) translateY(1px); box-shadow: 0 1px 0 0 var(--ember-deep); }

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--ash);
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { border-color: var(--ember-dim); background: var(--char); }
}
.btn--ghost:active { transform: scale(0.97); }

.btn--lg { padding: 1.05rem 2.1rem; font-size: 0.9375rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: var(--s32);
  padding-bottom: var(--s16);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: var(--s12);
  align-items: center;
}
.hero__copy > * + * { margin-top: var(--s6); }

.hero__title {
  font-size: clamp(3.2rem, 8.6vw, 8.5rem);
  color: var(--bone);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 900ms var(--ease-out);
}
.hero__title .hot { color: var(--ember); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s6);
  padding-top: var(--s2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); padding-top: var(--s2); }

.hero__shot {
  position: relative;
  justify-self: stretch;
  display: flex;
  justify-content: center;
}
.hero__shot img {
  width: 100%;
  max-width: 460px;
  max-height: 74svh;
  object-fit: cover;
  border-radius: 3px;
  /* Depth: real offset + soft blur, never a flat halo */
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9),
              0 0 120px -40px rgba(255, 90, 31, 0.35);
}
.hero__shot::after {
  content: "";
  position: absolute;
  inset: -12% -14% -6% -14%;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 90, 31, 0.16), transparent 68%);
  z-index: -1;
  pointer-events: none;
}

/* Entrance: one authored moment, from an already-visible default */
.hero__copy .fade,
.hero__shot { opacity: 0; transform: translateY(14px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.is-in .hero__title .line > span { transform: translateY(0); }
.is-in .hero__copy .fade,
.is-in .hero__shot { opacity: 1; transform: none; }
.is-in .hero__copy .fade:nth-of-type(1) { transition-delay: 340ms; }
.is-in .hero__copy .fade:nth-of-type(2) { transition-delay: 400ms; }
.is-in .hero__copy .fade:nth-of-type(3) { transition-delay: 460ms; }
.is-in .hero__shot { transition-delay: 180ms; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s12); }
  .hero__shot { order: -1; }
  .hero__shot img { width: min(78%, 340px); margin-inline: auto; }
}

/* ==========================================================================
   TICKER — the launch drumbeat
   ========================================================================== */
.ticker {
  border-block: 1px solid var(--ash);
  background: var(--char);
  padding-block: var(--s4);
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: var(--s12);
  animation: slide 38s linear infinite;
  will-change: transform;
}
.ticker__track span {
  font-family: var(--display);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ember-dim);
}
.ticker__track .dot { color: var(--ember); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ==========================================================================
   THE SEAR — process, full-bleed
   ========================================================================== */
.sear {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 82vh;
}
.sear__img { position: relative; overflow: hidden; }
.sear__img img { width: 100%; height: 100%; object-fit: cover; }
.sear__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--void) 100%);
}
.sear__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s6);
  padding: var(--s24) var(--edge);
  max-width: 640px;
}
.sear__title { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.sear__list { display: grid; gap: var(--s6); padding-top: var(--s2); }
.sear__item { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: start; }
.sear__num {
  font-family: var(--display);
  font-size: 0.8125rem;
  color: var(--ember);
  padding-top: 0.35em;
  font-variant-numeric: tabular-nums;
}
.sear__item h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: var(--s1); }
.sear__item p { color: var(--smoke); font-size: 0.9375rem; max-width: 46ch; }

@media (max-width: 900px) {
  .sear { grid-template-columns: 1fr; }
  .sear__img { height: 52vh; }
  .sear__img::after { background: linear-gradient(180deg, transparent 45%, var(--void) 100%); }
  .sear__copy { padding-block: var(--s16); }
}

/* ==========================================================================
   MENU
   ========================================================================== */
.menu { padding-block: var(--s32); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s8);
  flex-wrap: wrap;
  margin-bottom: var(--s16);
}
.section-head h2 { font-size: clamp(2.4rem, 6vw, 5rem); }

.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--ash);
}
.item {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: var(--s8) var(--s6) var(--s8) 0;
  border-bottom: 1px solid var(--ash);
  transition: background-color 260ms var(--ease-out);
}
.item + .item { padding-left: var(--s8); }
@media (max-width: 620px) {
  .item + .item { padding-left: 0; }
}
.item__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s2);
}
.item__name { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; }
.item__price {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ember);
  font-size: 1rem;
}
.item__desc { color: var(--smoke); font-size: 0.9375rem; max-width: 44ch; }
.item__tag {
  display: inline-block;
  margin-top: var(--s3);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--void);
  background: var(--sear);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .item:hover { background: var(--char); }
}

/* Menu feature strip */
.strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
  margin-top: var(--s16);
}
.strip figure { position: relative; overflow: hidden; border-radius: 3px; }
.strip img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 700ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .strip figure:hover img { transform: scale(1.04); }
}
.strip figcaption {
  position: absolute;
  left: var(--s6); bottom: var(--s6);
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.85);
}
@media (max-width: 760px) { .strip { grid-template-columns: 1fr; } }

/* ==========================================================================
   VISIT
   ========================================================================== */
.visit {
  background: var(--char);
  border-top: 1px solid var(--ash);
  padding-block: var(--s32);
}
.visit__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s16);
  align-items: start;
}
.visit__title { font-size: clamp(2.4rem, 6vw, 5rem); margin-bottom: var(--s8); }
.hours { border-top: 1px solid var(--ash); }
.hours__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s6);
  padding-block: var(--s4);
  border-bottom: 1px solid var(--ash);
  font-size: 0.9375rem;
}
.hours__row dt { color: var(--smoke); }
.hours__row dd { font-variant-numeric: tabular-nums; font-weight: 600; }
.hours__row.is-today dt { color: var(--bone); font-weight: 600; }
.hours__row.is-today dd { color: var(--ember); }

.addr { display: grid; gap: var(--s6); }
.addr__block p { color: var(--smoke); font-size: 0.9375rem; }
.addr__block strong { display: block; color: var(--bone); font-size: 1rem; margin-bottom: var(--s1); }
.addr__block--contact p { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }
.addr__block--contact a { color: var(--bone); }
.addr a { border-bottom: 1px solid var(--ember-dim); padding-bottom: 1px; transition: border-color 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .addr a:hover { border-color: var(--ember); color: var(--ember); } }

@media (max-width: 860px) { .visit__grid { grid-template-columns: 1fr; gap: var(--s12); } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot {
  border-top: 1px solid var(--ash);
  padding-block: var(--s16) var(--s8);
}
.foot__grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s8);
  flex-wrap: wrap;
  margin-bottom: var(--s12);
}
.foot__mark { font-size: clamp(3rem, 14vw, 11rem); line-height: 0.8; color: var(--ash); }
.foot__links { display: grid; gap: var(--s2); font-size: 0.9375rem; color: var(--smoke); }
.foot__links a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { color: var(--ember); } }
.foot__base {
  display: flex;
  justify-content: space-between;
  gap: var(--s6);
  flex-wrap: wrap;
  padding-top: var(--s6);
  border-top: 1px solid var(--ash);
  font-size: 0.8125rem;
  color: var(--ember-dim);
}

/* ==========================================================================
   REVEAL — shared scroll entrance
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   REDUCED MOTION — gentler, not zero
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .hero__title .line > span { transform: none !important; }
  .reveal, .hero__copy .fade, .hero__shot {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 200ms ease;
  }
  .strip figure:hover img { transform: none; }
}
