/* Amer's Deli — black / red / gold */
:root {
  --bg: #0a0707;
  --bg-2: #120c0c;
  --panel: #151010;
  --panel-2: #1c1414;
  --white: #ffffff;
  --text: #ece6e1;
  --muted: #b3aaa4;
  --muted-2: #8d837d;
  --red: #d0102f;
  --red-bright: #e8213f;
  --red-glow: rgba(208, 16, 47, 0.55);
  --gold: #d9ad3a;
  --gold-bright: #ebc355;
  --gold-line: rgba(217, 173, 58, 0.35);
  --line: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --max: 1120px;
  --header-h: 7.4rem; /* ~96px logo + nav padding + border */
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: Georgia, "Times New Roman", "Palatino Linotype", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
.container { width: min(100% - 7.25rem, var(--max)); margin-inline: auto; }
@media (max-width: 900px) { .container { width: min(100% - 2.5rem, var(--max)); } }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: #000;
  padding: .5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 3, 3, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 173, 58, 0.28);
}
.site-header .nav { position: relative; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: .9rem; padding: .68rem 0;
}
.brand { display: flex; align-items: center; gap: .76rem; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-mark {
  height: 96px;
  width: auto;
  max-width: none; /* override global img max-width so logo isn't squeezed */
  max-height: none;
  object-fit: contain;
  background: transparent;
  display: block;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--display);
  font-size: 1.52rem;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}
.brand-text strong em { font-style: normal; color: var(--red-bright); }
.brand-text small {
  color: var(--gold);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: .22rem;
  font-weight: 600;
}

.nav-links {
  display: flex; align-items: center; gap: .35rem 1.35rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a { color: #d6cfca; font-size: .95rem; font-weight: 600; }
.nav-links a:hover { color: var(--white); }
.nav-links .btn { margin-left: .5rem; }

.nav-end {
  display: none;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.nav-order { display: none; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: transparent;
  border: 1px solid var(--gold-line);
  color: var(--white);
  border-radius: 8px;
  padding: .55rem .85rem;
  min-height: 44px;
  min-width: 44px;
  font: inherit;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
}
.nav-toggle-bars {
  display: inline-block;
  width: 16px; height: 12px;
  background:
    linear-gradient(var(--white), var(--white)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--white), var(--white)) 0 5px / 100% 2px no-repeat,
    linear-gradient(var(--white), var(--white)) 0 10px / 100% 2px no-repeat;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: #fff !important;
  box-shadow: 0 6px 22px var(--red-glow), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(232, 33, 63, .7); color: #fff !important; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1206 !important;
  box-shadow: 0 6px 20px rgba(217, 173, 58, .25);
}
.btn-gold:hover { background: var(--gold-bright); color: #1a1206 !important; }
.btn-outline,
.btn-ghost {
  background: transparent;
  color: var(--gold-bright) !important;
  border-color: var(--gold);
}
.btn-outline:hover,
.btn-ghost:hover { background: rgba(217, 173, 58, .1); color: var(--gold-bright) !important; }
.btn-lg { padding: .82rem 1.35rem; font-size: .97rem; }

/* Hero */
.hero {
  position: relative;
  /* Fill remaining viewport under sticky header so next section is below the fold */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 2.25rem 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 65% 0%, rgba(150, 10, 30, .38), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 100%, rgba(217, 173, 58, .08), transparent 70%),
    linear-gradient(180deg, #0d0808 0%, #0a0707 100%);
  border-bottom: 1px solid rgba(217, 173, 58, .35);
}
.hero > .container {
  width: min(100% - 7.25rem, var(--max));
  margin-inline: auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
}
.hero-content { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  margin: 0 0 1rem;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.eyebrow-line { display: inline-block; width: 18px; height: 2px; background: var(--gold); }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.25rem, 4.4vw, 3.1rem);
  line-height: 1.16;
  margin: 0 0 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.hero h1 .accent { color: var(--red-bright); }
.hero-lead {
  margin: 0 0 1.75rem;
  font-size: .98rem;
  color: var(--muted);
  max-width: 34rem;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 1.6rem;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .4rem 1.1rem;
  margin: 0;
  font-size: .84rem;
  color: var(--muted);
}
.hero-meta strong { color: var(--white); }
.stars { color: var(--gold); letter-spacing: .04em; }
.hero-logo {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.hero-logo::before {
  content: "";
  position: absolute;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 16, 47, .32) 0%, rgba(217, 173, 58, .10) 45%, transparent 70%);
  filter: blur(10px);
}
.hero-logo img {
  position: relative;
  width: min(100%, 420px);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .65)) drop-shadow(0 0 18px rgba(208, 16, 47, .22));
}

/* Sections */
section { padding: 4.5rem 0; }
section.hero {
  /* keep viewport-fill padding (overrides generic section padding) */
  padding: 2.25rem 0;
}
.section-head { text-align: center; margin-bottom: 2.25rem; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 .5rem;
  color: var(--white);
}
.section-sub { margin: 0 auto; max-width: 36rem; color: var(--muted); font-size: .98rem; }

/* Menu */
.menu-section {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(150, 10, 30, .18), transparent 70%),
    var(--bg);
}
.price-pills {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .6rem; margin-bottom: 2rem;
}
.pill {
  background: var(--panel);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .9rem;
  color: var(--text);
}
.pill strong { color: var(--gold-bright); margin-left: .35rem; }

.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.menu-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.menu-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--white);
  display: flex; align-items: center; gap: .5rem;
}
.menu-card h3.subhead { margin-top: 1.4rem; }
.badge {
  font-family: var(--font);
  font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(217, 173, 58, .14);
  color: var(--gold);
  border-radius: 999px;
  padding: .2rem .55rem;
}
.item-list { list-style: none; margin: 0; padding: 0; }
.item-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
  font-size: .96rem;
}
.item-list li:last-child { border-bottom: 0; }
.item-list.plain li { display: list-item; list-style: disc; margin-left: 1.1rem; border: 0; padding: .22rem 0; color: var(--muted); }
.item-list.plain li::marker { color: var(--red-bright); }
.price { color: var(--gold-bright); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.item-note { margin: .9rem 0 0; font-size: .88rem; color: var(--muted-2); }
.item-note strong { color: var(--text); }
.item-note.tight { margin-top: .35rem; color: var(--muted); }
.item-price { margin: .5rem 0 0; font-size: 1.25rem; font-weight: 800; color: var(--gold-bright); }
.toppings { display: grid; gap: 1rem; }
.toppings h4 {
  margin: 0 0 .4rem;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-bright);
}
.toppings ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
.extras { display: flex; flex-direction: column; gap: .35rem; margin-top: .8rem; }
.extras span {
  display: inline-block;
  background: rgba(217, 173, 58, .08);
  border: 1px solid rgba(217, 173, 58, .2);
  border-radius: 8px;
  padding: .35rem .65rem;
  font-size: .83rem;
  color: var(--text);
}

.menu-board { margin: 2.5rem 0 0; text-align: center; }
.menu-board img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--gold-line);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .55), 0 0 40px rgba(208, 16, 47, .12);
}
.menu-board figcaption { margin-top: .7rem; font-size: .82rem; color: var(--muted-2); }

/* Catering */
.catering { padding-top: 1rem; }
.catering-panel {
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(208, 16, 47, .28), transparent 70%),
    linear-gradient(135deg, #1a1010 0%, #0f0a0a 100%);
  border: 1px solid var(--gold-line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.6rem 2.4rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .45);
}
.catering-panel h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 .75rem;
  color: var(--white);
}
.catering-panel > div > p { color: var(--muted); margin: 0 0 1.25rem; max-width: 36rem; }
.catering-price {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-bright) !important;
  margin: 0 0 1.4rem !important;
}
.catering-price span {
  display: block;
  font-family: var(--font);
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-bright);
  font-weight: 700;
  margin-bottom: .25rem;
}

/* Order */
.order-section { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-box {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(208, 16, 47, .3), transparent 70%),
    #0d0909;
  border: 1px solid var(--gold-line);
  border-radius: calc(var(--radius) + 4px);
  padding: 3rem 1.75rem;
}
.order-box .eyebrow { justify-content: center; width: 100%; }
.order-box h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin: 0 0 .75rem;
  color: var(--white);
}
.order-box > p { margin: 0 auto 1.6rem; max-width: 34rem; color: var(--muted); }
.order-actions {
  display: flex; flex-wrap: wrap; gap: .6rem;
  justify-content: center;
  margin: 0;
}
.order-box strong { color: var(--gold-bright); }
.order-note { margin: 1.2rem 0 0 !important; font-size: .86rem; color: var(--muted-2) !important; }
.order-note a { color: var(--gold); }

/* Visit */
.visit-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.15rem; }
.info-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.info-card h3 { font-family: var(--display); font-size: 1.25rem; margin: 0 0 1rem; color: var(--white); }
.info-card dl { margin: 0; }
.info-card dt {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
  margin-top: .95rem;
}
.info-card dt:first-child { margin-top: 0; }
.info-card dd { margin: .25rem 0 0; color: var(--text); }
.info-card dd strong { color: var(--white); }
.accent-card {
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(208, 16, 47, .3), transparent 70%),
    #140d0d;
  border-color: var(--gold-line);
}
.accent-card p { color: var(--muted); margin: 0 0 1.3rem; }

/* Reviews */
.reviews-section { padding-top: 1rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review-card {
  margin: 0;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
}
.review-card p { margin: .65rem 0; color: var(--text); font-size: .95rem; }
.review-card footer { font-size: .78rem; color: var(--muted-2); }
.reviews-disclaimer { text-align: center; font-size: .8rem; color: var(--muted-2); margin: 1.3rem 0 0; }

/* Footer */
.site-footer {
  background: #050303;
  color: var(--muted);
  padding: 2.75rem 0 2rem;
  border-top: 1px solid var(--gold-line);
}
.footer-inner { text-align: center; }
.footer-brand {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  margin-bottom: 1.25rem;
}
.footer-logo { width: 96px; height: auto; background: transparent; }
.footer-brand p { margin: 0; font-size: .9rem; line-height: 1.5; }
.footer-brand a { color: var(--gold); }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem 1.4rem;
  margin-bottom: 1.25rem;
}
.footer-links a { color: var(--muted); font-size: .88rem; }
.footer-links a:hover { color: var(--white); }
.copyright { margin: 0; font-size: .78rem; color: var(--muted-2); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-logo { order: 2; }
  .hero-content { order: 1; }
  .hero-logo img { width: min(58%, 260px); margin-inline: auto; }
  .hero > .container { width: min(100% - 2.5rem, var(--max)); }
  .menu-grid, .visit-grid, .reviews { grid-template-columns: 1fr; }
  .hero-ctas .btn,
  .order-actions .btn,
  .catering-panel .hero-ctas .btn,
  .accent-card .hero-ctas .btn {
    flex: 1 1 100%;
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }
  .hero-ctas, .order-actions { flex-direction: column; align-items: stretch; }
  .price-pills { gap: .5rem; }
  .pill { font-size: .85rem; padding: .45rem .9rem; }
}

@media (max-width: 760px) {
  :root { --header-h: 4.6rem; }
  .container { width: min(100% - 1.75rem, var(--max)); }
  .hero > .container { width: min(100% - 1.75rem, var(--max)); }

  .nav { padding: .45rem 0; gap: .5rem; }
  .brand { gap: .4rem; min-width: 0; flex: 1 1 auto; overflow: hidden; }
  .brand-mark { height: 52px; width: auto; }
  .brand-text { min-width: 0; overflow: hidden; }
  .brand-text strong { font-size: .95rem; white-space: nowrap; }
  .brand-text small { display: none; } /* frees space for Order Online */

  .nav-end { display: inline-flex; }
  .nav-order {
    display: inline-flex;
    padding: .55rem .9rem;
    min-height: 44px;
    font-size: .82rem;
    white-space: nowrap;
  }
  .nav-toggle { display: inline-flex; }
  .nav-order-dup { display: none; } /* Order Online already visible in header */

  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #070404;
    flex-direction: column;
    align-items: stretch;
    padding: .75rem 1.1rem 1.1rem;
    border-bottom: 1px solid var(--gold-line);
    gap: .1rem;
    z-index: 60;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: .85rem .35rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 1rem;
  }
  .nav-links .btn { margin: .45rem 0 0; text-align: center; justify-content: center; }

  section.hero, .hero {
    min-height: 0; /* let content dictate height on phones */
    align-items: flex-start;
    padding: 1.6rem 0 2rem;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 7.2vw, 2.35rem);
    line-height: 1.18;
    margin-bottom: .85rem;
  }
  .hero-lead { font-size: .92rem; margin-bottom: 1.25rem; }
  .hero-logo { margin-top: .5rem; }
  .hero-logo img { width: min(72%, 220px); }
  .hero-meta {
    flex-direction: column;
    gap: .35rem;
    font-size: .8rem;
  }

  section { padding: 3.25rem 0; }
  .section-head { margin-bottom: 1.6rem; }
  .menu-card { padding: 1.2rem 1.15rem; }
  .item-list li {
    gap: .5rem .75rem;
    font-size: .92rem;
  }
  .price { font-size: .9rem; }
  .menu-photo { margin-top: 1.5rem; }
  .catering-panel { padding: 1.5rem 1.15rem; }
  .catering-price { font-size: clamp(2rem, 8vw, 2.6rem); }

  .info-card { padding: 1.25rem 1.15rem; }
  .info-card dd a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .25rem 0;
  }
  .accent-card .hero-ctas { margin-top: 1rem; }

  .order-box { padding: 1.75rem 1.15rem; }
  .order-actions .btn { width: 100%; }

  .reviews { gap: 1rem; }
  .review-card { padding: 1.15rem 1.1rem; }

  .footer-links {
    gap: .15rem;
    flex-direction: column;
    align-items: stretch;
  }
  .footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .35rem .5rem;
    font-size: .95rem;
  }
  .footer-logo { width: 84px; }
  .site-footer { padding: 2.25rem 0 1.75rem; }
}

/* Very narrow phones */
@media (max-width: 400px) {
  .brand-text { display: none; } /* logo mark only — avoids clipped "AMER'S DELI" */
  .brand-mark { height: 48px; }
  .nav-order { padding: .5rem .7rem; font-size: .78rem; }
  .nav-toggle {
    padding: .5rem .6rem;
    font-size: 0; /* icon-only; aria-label remains */
    gap: 0;
    min-width: 44px;
  }
  .nav-toggle-bars { margin: 0; }
  .hero-logo img { width: min(68%, 190px); }
}

/* Short desktop viewports — keep hero content inside the fold */
@media (min-width: 761px) and (max-height: 820px) {
  .hero { padding: 1.5rem 0; }
  .hero-logo img { width: min(100%, 340px); }
  .hero h1 { font-size: clamp(2rem, 3.6vw, 2.6rem); margin-bottom: .85rem; }
  .hero-lead { margin-bottom: 1.25rem; font-size: .92rem; }
  .hero-ctas { margin-bottom: 1.15rem; }
}
@media (min-width: 761px) and (max-height: 700px) {
  .hero-logo img { width: min(100%, 280px); }
  .hero h1 { font-size: clamp(1.85rem, 3.2vw, 2.3rem); }
}
