:root {
  color-scheme: light;
  --ink: #201713;
  --muted: #725d50;
  --paper: #fff6e8;
  --paper-strong: #fffdf6;
  --tomato: #a6291f;
  --tomato-dark: #74170f;
  --basil: #2f5f3a;
  --gold: #d99b35;
  --dough: #f3d096;
  --shadow: 0 24px 70px rgba(59, 32, 21, .18);
  --radius-xl: 34px;
  --radius: 20px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 6%, rgba(217, 155, 53, .28), transparent 28rem),
    radial-gradient(circle at 90% 8%, rgba(166, 41, 31, .18), transparent 30rem),
    linear-gradient(135deg, #fff9ed 0%, #f8ead3 45%, #fffdf6 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(30deg, rgba(116,23,15,.06) 12%, transparent 12.5%, transparent 87%, rgba(116,23,15,.06) 87.5%, rgba(116,23,15,.06)),
    linear-gradient(150deg, rgba(116,23,15,.06) 12%, transparent 12.5%, transparent 87%, rgba(116,23,15,.06) 87.5%, rgba(116,23,15,.06));
  background-size: 52px 90px;
  z-index: -1;
}

img, svg { max-width: 100%; }

a { color: inherit; }

.preview-bar {
  padding: .72rem 1.2rem;
  text-align: center;
  background: var(--ink);
  color: #fff9ee;
  letter-spacing: .01em;
  font-size: .92rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: .72rem .82rem;
  border: 1px solid rgba(32, 23, 19, .12);
  border-radius: 999px;
  background: rgba(255, 253, 246, .84);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 38px rgba(64, 38, 21, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: conic-gradient(from 20deg, var(--tomato), var(--gold), var(--basil), var(--tomato));
  color: white;
  font: 900 1.45rem/1 var(--font-display);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.48);
}

.brand strong,
.brand em {
  display: block;
}

.brand strong {
  font: 900 1.05rem/1 var(--font-display);
  letter-spacing: -.02em;
}

.brand em {
  color: var(--muted);
  font-size: .75rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .1em;
}

nav {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  padding: .72rem .9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 900;
  text-decoration: none;
}

nav a:hover { background: rgba(166, 41, 31, .08); color: var(--tomato-dark); }

.nav-cta {
  background: var(--tomato);
  color: white;
}

.nav-cta:hover { background: var(--tomato-dark); color: white; }

.section,
.section-grid,
.hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section { padding: 5.4rem 0; }

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, .78fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}

.hero { padding: clamp(4rem, 8vw, 7.4rem) 0 3.2rem; }

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--tomato);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: .94;
  letter-spacing: -.055em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4.1rem, 11vw, 8.8rem);
}

h2 { font-size: clamp(2.35rem, 5vw, 4.6rem); }
h3 { font-size: clamp(1.55rem, 3vw, 2.35rem); }

.lede,
.section-heading p,
.catering p,
.edit-demo p,
footer p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.72;
}

.lede { max-width: 62ch; }

.hero-actions,
.card-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions { margin-top: 1.8rem; }

.button,
.card-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .85rem 1.1rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover,
.card-actions a:hover { transform: translateY(-2px); }

.primary {
  background: var(--tomato);
  color: white;
  box-shadow: 0 16px 34px rgba(166, 41, 31, .22);
}

.primary:hover { background: var(--tomato-dark); }

.secondary {
  background: var(--paper-strong);
  color: var(--tomato-dark);
  border: 1px solid rgba(166, 41, 31, .18);
}

.ghost {
  color: var(--basil);
  background: rgba(47, 95, 58, .08);
}

.quick-proof {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.quick-proof span {
  padding: .58rem .75rem;
  border: 1px solid rgba(32, 23, 19, .11);
  border-radius: 999px;
  background: rgba(255, 253, 246, .56);
  color: #5f4c41;
  font-size: .86rem;
  font-weight: 900;
}

.hero-art {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.86), transparent 16rem),
    linear-gradient(145deg, #3c2118, #8e2d20 48%, #dfa445);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.hero-art::before {
  width: 430px;
  height: 430px;
  left: -120px;
  top: -80px;
  background: repeating-conic-gradient(from 20deg, #eecb83 0 8deg, #9e2d22 8deg 16deg, #f7e5ba 16deg 24deg);
  opacity: .9;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.18));
}

.hero-art::after {
  width: 320px;
  height: 320px;
  right: -90px;
  bottom: -70px;
  border: 28px solid rgba(255, 246, 232, .74);
  background: radial-gradient(circle, #a6291f 0 34%, #f7c466 35% 54%, #fff3d5 55% 100%);
}

.plate {
  position: absolute;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #fff7e9;
  box-shadow: 0 22px 45px rgba(0,0,0,.19), inset 0 0 0 15px rgba(47,95,58,.08);
}

.plate span {
  width: 115px;
  height: 115px;
  border-radius: 47% 53% 46% 54%;
  background: radial-gradient(circle at 35% 35%, #f6c771 0 20%, #b93d2a 21% 58%, #5f833d 59% 65%, #f3d096 66% 100%);
}

.plate-one { right: 9%; top: 14%; transform: rotate(-12deg); }
.plate-two { left: 17%; bottom: 15%; transform: rotate(17deg) scale(.82); }

.sauce-ribbon {
  position: absolute;
  inset: 48% auto auto 12%;
  width: 88%;
  height: 78px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,246,232,.85), rgba(166,41,31,.88), rgba(217,155,53,.92));
  transform: rotate(-18deg);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.ticket-card {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: min(300px, calc(100% - 2.4rem));
  padding: 1.2rem;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 24px;
  background: rgba(255, 253, 246, .9);
  box-shadow: 0 22px 60px rgba(0,0,0,.15);
}

.ticket-card small {
  color: var(--tomato);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.ticket-card strong {
  display: block;
  margin-top: .35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.announcement {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  width: min(1180px, calc(100% - 2rem));
  margin: 1.5rem auto 0;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(47, 95, 58, .18);
  border-radius: 999px;
  background: rgba(47, 95, 58, .1);
}

.announcement span {
  padding: .4rem .7rem;
  border-radius: 999px;
  background: var(--basil);
  color: white;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.announcement p { margin: 0; color: #294c31; font-weight: 900; }

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.location-card,
.menu-board article,
.catering-card,
.edit-demo {
  border: 1px solid rgba(32, 23, 19, .12);
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 246, .78);
  box-shadow: 0 20px 55px rgba(64, 38, 21, .08);
}

.location-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(1.2rem, 3vw, 1.7rem);
}

.location-card.featured {
  background:
    linear-gradient(145deg, rgba(166, 41, 31, .09), rgba(255,253,246,.9)),
    var(--paper-strong);
  border-color: rgba(166, 41, 31, .28);
}

.tag {
  align-self: flex-start;
  margin: 0 0 1rem;
  padding: .42rem .62rem;
  border-radius: 999px;
  background: rgba(217, 155, 53, .17);
  color: #8a5113;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.location-card h3 { margin-bottom: .85rem; color: var(--tomato-dark); }
.location-card p { color: var(--muted); line-height: 1.58; }
.location-card .hours { color: var(--ink); font-weight: 900; }
.location-card small { display: block; margin-top: auto; color: var(--muted); word-break: break-word; }

.card-actions { margin: 1rem 0; }
.card-actions a { min-height: 2.5rem; padding: .62rem .82rem; background: rgba(166, 41, 31, .08); color: var(--tomato-dark); }
.card-actions a:first-child { background: var(--tomato); color: white; }

.menu-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.menu-board article {
  position: relative;
  min-height: 270px;
  padding: 1.4rem;
  overflow: hidden;
}

.menu-board article::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166,41,31,.2), rgba(217,155,53,.15));
}

.menu-board span {
  color: rgba(166, 41, 31, .32);
  font: 900 3rem/1 var(--font-display);
}

.menu-board h3 { margin: 1rem 0 .75rem; font-size: 1.8rem; }
.menu-board p { color: var(--muted); line-height: 1.65; }

.catering {
  padding-top: 2rem;
}

.catering-card {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: linear-gradient(145deg, var(--tomato-dark), #351812);
  color: #fff5e6;
}

.catering-card p { color: rgba(255, 245, 230, .78); }
.catering-card .primary { background: var(--gold); color: #2a180f; box-shadow: none; }

.edit-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(120deg, rgba(47,95,58,.1), rgba(255,253,246,.88));
}

.edit-copy { max-width: 760px; }

footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(32, 23, 19, .12);
}

.config-body {
  background:
    radial-gradient(circle at top left, rgba(47,95,58,.16), transparent 35rem),
    linear-gradient(145deg, #fff9ed, #fae8ce);
}

.config-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 4rem;
}

.panel {
  border: 1px solid rgba(32, 23, 19, .12);
  border-radius: var(--radius-xl);
  background: rgba(255,253,246,.82);
  box-shadow: 0 24px 60px rgba(64, 38, 21, .1);
  padding: clamp(1.2rem, 3vw, 2rem);
}

textarea,
pre {
  width: 100%;
  border: 1px solid rgba(32, 23, 19, .14);
  border-radius: 18px;
  background: #fffdfa;
  color: var(--ink);
  font: 700 1rem/1.55 var(--font-body);
}

textarea {
  min-height: 190px;
  padding: 1rem;
  resize: vertical;
}

pre {
  min-height: 560px;
  overflow: auto;
  padding: 1rem;
  white-space: pre-wrap;
}

.command-examples {
  display: grid;
  gap: .6rem;
  margin: 1rem 0;
}

.command-examples button {
  text-align: left;
  border: 1px solid rgba(166,41,31,.16);
  border-radius: 16px;
  background: rgba(166,41,31,.06);
  padding: .8rem .9rem;
  color: var(--tomato-dark);
  font-weight: 900;
  cursor: pointer;
}

.status {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: var(--basil);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header { align-items: flex-start; border-radius: 30px; flex-direction: column; }
  nav { justify-content: flex-start; }
  .section-grid,
  .config-shell { grid-template-columns: 1fr; }
  .hero-art { min-height: 430px; }
  .location-grid,
  .menu-board { grid-template-columns: 1fr; }
  .section-heading.split,
  .edit-demo { align-items: flex-start; flex-direction: column; }
  .announcement { grid-template-columns: 1fr; border-radius: 26px; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(3.25rem, 20vw, 4.5rem); }
  .site-header,
  .section,
  .section-grid,
  .hero,
  .announcement,
  footer,
  .config-shell { width: min(100% - 1rem, 1180px); }
  nav a { padding: .55rem .65rem; }
  .hero-actions .button { width: 100%; }
  .hero-art::before { width: 300px; height: 300px; }
  .plate-one { right: 4%; }
  .plate-two { left: 6%; }
}
