/* Eat at Joe's — demonstration storefront for Current Situation stream sharing.
   All artwork here is CSS and inline SVG; nothing is a raster asset. */

:root {
  --ink:      #14151a;
  --ink-2:    #1d1f27;
  --cream:    #f7f3e8;
  --cream-2:  #efe8d6;
  --red:      #d7263d;
  --red-dark: #a81a2d;
  --cyan:     #37d0e0;
  --mustard:  #f0a202;
  --chrome-1: #ffffff;
  --chrome-2: #c9ced6;
  --chrome-3: #8d949e;
  --shadow:   0 10px 30px rgba(0,0,0,.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); }

/* ---------- structure ---------- */
.wrap { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
section { padding: 72px 0; }
.section-tight { padding: 44px 0; }

h1, h2, h3, .display {
  font-family: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.03;
  margin: 0 0 .35em;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h3 { font-size: 1.5rem; }

.eyebrow {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: .22em;
  font-size: .82rem;
  color: var(--mustard);
  text-transform: uppercase;
  margin-bottom: .6em;
}

p { margin: 0 0 1em; }
.lede { font-size: 1.12rem; color: #ded6c4; }
.muted { color: #a7a294; }

/* ---------- checkerboard ---------- */
.checker {
  height: 18px;
  background-image:
    linear-gradient(45deg, var(--cream) 25%, transparent 25%, transparent 75%, var(--cream) 75%),
    linear-gradient(45deg, var(--cream) 25%, transparent 25%, transparent 75%, var(--cream) 75%);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
  background-color: var(--ink);
}

/* ---------- nav ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(20,21,26,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .wrap { display: flex; align-items: center; gap: 24px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--cream); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.45rem; letter-spacing: .04em; line-height: 1; }
.brand-text small { display: block; font-family: "DM Sans", sans-serif; font-size: .6rem; letter-spacing: .2em; color: var(--mustard); }

nav.links { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
nav.links a {
  color: #cfc9ba; text-decoration: none; padding: 8px 13px; border-radius: 6px;
  font-size: .93rem; white-space: nowrap;
}
nav.links a:hover { background: rgba(255,255,255,.07); color: #fff; }
nav.links a.active { background: var(--red); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 460px at 78% -8%, rgba(55,208,224,.17), transparent 62%),
    radial-gradient(760px 420px at 12% 8%, rgba(215,38,61,.22), transparent 60%),
    var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 3px);
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 46px; grid-template-columns: 1fr; padding-block: 66px; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: 1fr 1fr; align-items: center; } }

.neon-sign { max-width: 430px; margin-bottom: 22px; filter: drop-shadow(0 0 16px rgba(55,208,224,.42)); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.16rem; letter-spacing: .06em;
  text-decoration: none; transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(215,38,61,.42); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(215,38,61,.5); }
.btn-ghost { background: transparent; color: var(--cream); border: 2px solid rgba(247,243,232,.3); }
.btn-ghost:hover { border-color: var(--cream); transform: translateY(-2px); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- the live player frame ---------- */
.cam {
  background: linear-gradient(160deg, var(--chrome-1), var(--chrome-2) 40%, var(--chrome-3));
  padding: 12px; border-radius: 16px; box-shadow: var(--shadow);
}
.cam-inner { background: #000; border-radius: 9px; overflow: hidden; position: relative; }
.cam iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.cam-bar {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 13px 3px; color: var(--ink); font-size: .82rem; font-weight: 600;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.82); } }

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.card {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 26px; transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(55,208,224,.4); }
.card .icon { width: 52px; height: 52px; margin-bottom: 14px; }
.card h3 { color: var(--cream); }
.card p { color: #b3aea1; font-size: .96rem; margin: 0; }

/* ---------- menu ---------- */
.menu-board { background: var(--ink-2); border-radius: 16px; padding: 34px; border: 1px solid rgba(255,255,255,.08); }
.menu-item { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.menu-item:last-child { border-bottom: 0; }
.menu-item .name { font-weight: 600; }
.menu-item .dots { flex: 1; border-bottom: 1px dotted rgba(255,255,255,.22); transform: translateY(-4px); }
.menu-item .price { font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.22rem; color: var(--mustard); }
.menu-item .desc { display: block; font-size: .87rem; color: #a7a294; font-weight: 400; }

/* ---------- callout ---------- */
.callout {
  background: linear-gradient(135deg, rgba(215,38,61,.14), rgba(55,208,224,.1));
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 26px;
}
.callout.demo { background: rgba(55,208,224,.08); border-color: rgba(55,208,224,.28); }
.callout h3 { color: var(--cyan); }

/* ---------- code ---------- */
pre, code { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; }
pre {
  background: #0d0e12; border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
  padding: 16px; overflow-x: auto; font-size: .8rem; color: #cfe9ee; margin: 0;
}
code.inline { background: rgba(255,255,255,.1); padding: 2px 6px; border-radius: 4px; font-size: .88em; }

/* ---------- footer ---------- */
footer { background: #0d0e12; border-top: 1px solid rgba(255,255,255,.08); padding: 46px 0 30px; }
footer .cols { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
footer h4 { font-family: "Bebas Neue", Impact, sans-serif; letter-spacing: .1em; color: var(--mustard); margin: 0 0 10px; font-weight: 400; }
footer a { color: #b3aea1; text-decoration: none; display: block; padding: 3px 0; font-size: .93rem; }
footer a:hover { color: var(--cyan); }
.fineprint {
  margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8rem; color: #6f6c66; display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
.demo-badge {
  display: inline-block; background: rgba(55,208,224,.14); border: 1px solid rgba(55,208,224,.4);
  color: var(--cyan); border-radius: 999px; padding: 3px 11px; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
}
