@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700;9..40,900&display=swap');

:root {
  --charcoal: #140d0a;
  --charcoal-2: #25140f;
  --ember: #c43a24;
  --ember-bright: #f05a2a;
  --paper: #f7ead2;
  --paper-2: #fff6e6;
  --brass: #d8a84e;
  --smoke: #8d7b67;
  --ink: #23140e;
  --white: #fffaf1;
  --shadow-warm: 0 20px 60px rgba(11, 5, 2, .42), 0 2px 8px rgba(11, 5, 2, .25);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--charcoal);
}

body {
  margin: 0;
  color: var(--paper);
  font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(196, 58, 36, .22), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(216, 168, 78, .15), transparent 30rem),
    linear-gradient(135deg, #100806 0%, #1b0f0b 42%, #0b0705 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  z-index: 0;
}

a { color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

.preview-bar {
  position: relative;
  z-index: 3;
  background: #2b160f;
  color: #ffe3b1;
  border-bottom: 1px solid rgba(216, 168, 78, .28);
  font-size: .84rem;
  line-height: 1.35;
  padding: .62rem 1rem;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(20, 13, 10, .76);
  border-bottom: 1px solid rgba(247, 234, 210, .13);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #180b07;
  background: radial-gradient(circle at 32% 25%, #ffe6a9, var(--brass) 55%, #b76e22);
  box-shadow: 0 0 0 5px rgba(216, 168, 78, .13), 0 10px 25px rgba(0,0,0,.28);
  font-weight: 900;
  letter-spacing: -.08em;
}

.brand-text strong {
  display: block;
  font-size: .98rem;
  letter-spacing: -.02em;
}

.brand-text span {
  display: block;
  font-size: .72rem;
  color: rgba(247, 234, 210, .64);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(247, 234, 210, .76);
  padding: .68rem .78rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
}

.nav-links a:hover {
  background: rgba(247, 234, 210, .09);
  color: var(--paper-2);
}

.header-cta {
  text-decoration: none;
  border: 1px solid rgba(240, 90, 42, .7);
  background: linear-gradient(135deg, var(--ember), #8e2116);
  color: #fff7ea;
  padding: .75rem 1rem;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(196, 58, 36, .3);
}

main { position: relative; z-index: 2; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem);
}

.hero {
  max-width: calc(var(--max) + 80px);
  min-height: calc(100vh - 116px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-top: clamp(2rem, 5vw, 5rem);
}

.hero-copy {
  padding-left: clamp(0rem, 2vw, 1.2rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .48rem .72rem;
  border: 1px solid rgba(216, 168, 78, .45);
  border-radius: 999px;
  background: rgba(37, 20, 15, .7);
  color: #ffd890;
  font-weight: 900;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.kicker::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: var(--ember-bright);
  box-shadow: 0 0 18px rgba(240, 90, 42, .9);
}

h1, h2, h3 {
  margin: 0;
  color: var(--paper-2);
  letter-spacing: -.055em;
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  margin-top: 1.1rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(4rem, 9vw, 8.4rem);
  line-height: .83;
  font-weight: 900;
}

h1 .accent {
  color: #ff7145;
  text-shadow: 0 0 38px rgba(240, 90, 42, .24);
}

.lede {
  max-width: 690px;
  margin: 1.35rem 0 0;
  color: rgba(247, 234, 210, .78);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions, .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .78rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .88rem 1.08rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.015em;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--ember-bright), var(--ember));
  color: #fffaf3;
  box-shadow: 0 16px 34px rgba(196, 58, 36, .32);
}

.btn-dark {
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}

.btn-ghost {
  border-color: rgba(247, 234, 210, .22);
  color: var(--paper-2);
  background: rgba(247, 234, 210, .07);
}

.quick-card {
  margin-top: 2rem;
  width: min(100%, 720px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(247, 234, 210, .16);
  border-radius: var(--radius-lg);
  background: rgba(247, 234, 210, .09);
  box-shadow: var(--shadow-warm);
}

.quick-card div {
  padding: 1rem;
  border-right: 1px solid rgba(247, 234, 210, .12);
}

.quick-card div:last-child { border-right: 0; }

.quick-card span {
  display: block;
  color: rgba(247, 234, 210, .58);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 900;
}

.quick-card strong {
  display: block;
  margin-top: .28rem;
  color: var(--paper-2);
  font-size: .98rem;
  line-height: 1.24;
}

.hero-art {
  position: relative;
  min-height: 580px;
}

.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(247, 234, 210, .18);
  box-shadow: var(--shadow-warm);
  background: #1c0f0a;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.28)), radial-gradient(circle at 10% 90%, rgba(196,58,36,.48), transparent 38%);
}

.proof-chip {
  position: absolute;
  z-index: 2;
  left: -1rem;
  bottom: 3rem;
  width: min(320px, 72%);
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 246, 230, .96), rgba(247, 234, 210, .88));
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0,0,0,.38);
}

.proof-chip .label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 900;
  color: #8e2116;
}

.proof-chip strong {
  display: block;
  margin-top: .4rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.75rem;
  line-height: .98;
  letter-spacing: -.055em;
}

.proof-chip p {
  margin: .65rem 0 0;
  color: rgba(35,20,14,.72);
  line-height: 1.45;
}

.status-stamp {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 3;
  padding: .75rem .9rem;
  border-radius: 999px;
  background: rgba(20,13,10,.72);
  color: #ffe4ad;
  border: 1px solid rgba(255, 216, 144, .42);
  backdrop-filter: blur(12px);
  font-weight: 900;
  box-shadow: 0 10px 35px rgba(0,0,0,.32);
}

.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem) 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}

.band-item {
  min-height: 120px;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(247, 234, 210, .09);
  border: 1px solid rgba(247, 234, 210, .13);
}

.band-item span {
  display: block;
  color: var(--brass);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}

.band-item strong {
  display: block;
  margin-top: .42rem;
  color: var(--paper-2);
  font-size: 1.2rem;
  line-height: 1.1;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(260px, .45fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.section-heading h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: .9;
}

.section-heading p {
  margin: 0;
  color: rgba(247, 234, 210, .72);
  line-height: 1.55;
}

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

.menu-card, .catering-card, .location-card, .agent-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(247, 234, 210, .13);
  background: linear-gradient(180deg, rgba(255, 246, 230, .1), rgba(255, 246, 230, .055));
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.menu-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.menu-card::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -42px;
  top: -48px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(196, 58, 36, .34), transparent 65%);
}

.menu-card h3 {
  font-size: 1.35rem;
  letter-spacing: -.035em;
}

.menu-card p {
  color: rgba(247, 234, 210, .7);
  line-height: 1.48;
}

.price {
  align-self: flex-start;
  padding: .42rem .7rem;
  border-radius: 999px;
  background: rgba(216, 168, 78, .14);
  border: 1px solid rgba(216, 168, 78, .28);
  color: #ffdda2;
  font-weight: 900;
}

.catering-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1rem;
}

.catering-feature {
  border-radius: var(--radius-xl);
  padding: clamp(1.2rem, 4vw, 2rem);
  background:
    linear-gradient(135deg, rgba(196,58,36,.84), rgba(93,25,18,.92)),
    linear-gradient(45deg, rgba(216,168,78,.25), transparent);
  box-shadow: var(--shadow-warm);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.catering-feature h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .9;
}

.catering-feature p { color: rgba(255,250,241,.82); line-height: 1.55; }

.catering-list {
  display: grid;
  gap: 1rem;
}

.catering-card {
  padding: 1.1rem;
}

.catering-card h3 { font-size: 1.25rem; }
.catering-card p { margin-bottom: 0; color: rgba(247,234,210,.7); line-height: 1.48; }

.proof-wall {
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(180deg, rgba(255,246,230,.96), rgba(247,234,210,.9));
  color: var(--ink);
  box-shadow: var(--shadow-warm);
}

.proof-wall h2 {
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: .9;
}

.proof-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.proof-list li {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(35, 20, 14, .07);
  border: 1px solid rgba(35, 20, 14, .09);
  font-weight: 900;
  line-height: 1.25;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.location-card, .agent-card {
  padding: clamp(1.1rem, 3vw, 1.5rem);
}

.location-card h3, .agent-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.hours-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .8rem;
  border-radius: var(--radius-sm);
  background: rgba(247,234,210,.075);
}

.hours-list strong { color: #ffe4ad; }

.agent-preview {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.chat-bubble {
  padding: .85rem .95rem;
  border-radius: 18px;
  background: rgba(247,234,210,.095);
  border: 1px solid rgba(247,234,210,.12);
  color: rgba(247,234,210,.82);
}

.chat-bubble.owner {
  margin-left: 1.5rem;
  background: rgba(196,58,36,.2);
  border-color: rgba(240,90,42,.28);
  color: var(--paper-2);
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(247,234,210,.13);
  padding: 2rem clamp(1rem, 3vw, 2rem) 6.5rem;
  color: rgba(247,234,210,.58);
}

.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mobile-action-bar {
  position: fixed;
  left: .75rem;
  right: .75rem;
  bottom: .75rem;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: .45rem;
  padding: .45rem;
  border-radius: 20px;
  background: rgba(20,13,10,.9);
  border: 1px solid rgba(247,234,210,.16);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(16px);
}

.mobile-action-bar a {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 900;
  background: rgba(247,234,210,.08);
}

.mobile-action-bar a:first-child {
  background: linear-gradient(135deg, var(--ember-bright), var(--ember));
}

/* Configurator */
.config-body {
  background: linear-gradient(135deg, #0f0806, #20110d 55%, #0b0705);
}

.config-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
}

.config-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0 1.5rem;
}

.config-top a { color: #ffe0a0; }

.config-grid {
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(420px, 1.15fr);
  gap: 1rem;
}

.panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(247,234,210,.13);
  background: rgba(247,234,210,.07);
  box-shadow: var(--shadow-warm);
  overflow: hidden;
}

.panel-header {
  padding: 1.2rem;
  border-bottom: 1px solid rgba(247,234,210,.12);
}

.panel-header h1, .panel-header h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .9;
}

.panel-body { padding: 1.2rem; }

.command-box {
  width: 100%;
  min-height: 170px;
  border: 1px solid rgba(247,234,210,.18);
  border-radius: 20px;
  color: var(--paper-2);
  background: rgba(0,0,0,.2);
  padding: 1rem;
  resize: vertical;
  font: inherit;
  line-height: 1.5;
}

.command-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .9rem;
}

.command-tools button, .pill-button {
  border: 1px solid rgba(247,234,210,.16);
  color: var(--paper-2);
  background: rgba(247,234,210,.08);
  min-height: 44px;
  border-radius: 999px;
  padding: .7rem .9rem;
  cursor: pointer;
  font-weight: 900;
}

.command-tools button.primary {
  background: linear-gradient(135deg, var(--ember-bright), var(--ember));
  border-color: transparent;
}

.preview-diff {
  display: grid;
  gap: .75rem;
}

.diff-card {
  border-radius: 18px;
  padding: .85rem;
  background: rgba(255,246,230,.08);
  border: 1px solid rgba(247,234,210,.12);
}

.diff-card code {
  display: block;
  white-space: pre-wrap;
  color: #ffe0a0;
  font-size: .9rem;
}

.audit-log {
  max-height: 310px;
  overflow: auto;
  display: grid;
  gap: .65rem;
}

.audit-item {
  padding: .75rem;
  border-radius: 16px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(247,234,210,.1);
}

.audit-item time {
  display: block;
  color: rgba(247,234,210,.55);
  font-size: .78rem;
}

.lock-screen {
  min-height: 70vh;
  display: grid;
  place-items: center;
}

.lock-card {
  max-width: 520px;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(247,234,210,.09);
  border: 1px solid rgba(247,234,210,.16);
  box-shadow: var(--shadow-warm);
}

.lock-card input {
  width: 100%;
  min-height: 48px;
  margin-top: 1rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(247,234,210,.2);
  background: rgba(0,0,0,.2);
  color: var(--paper-2);
  font: inherit;
}

.lock-card p { color: rgba(247,234,210,.72); line-height: 1.5; }

.hidden { display: none !important; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-art { min-height: 420px; }
  .band, .menu-grid, .proof-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-heading, .catering-layout, .location-grid, .config-grid { grid-template-columns: 1fr; }
  .mobile-action-bar { display: grid; }
}

@media (max-width: 620px) {
  .preview-bar { font-size: .78rem; }
  .brand-text span { display: none; }
  .header-cta { display: none; }
  .hero { padding-top: 1.4rem; }
  h1 { font-size: clamp(3.05rem, 17vw, 4.65rem); }
  .quick-card { grid-template-columns: 1fr; }
  .quick-card div { border-right: 0; border-bottom: 1px solid rgba(247,234,210,.12); }
  .quick-card div:last-child { border-bottom: 0; }
  .band, .menu-grid, .proof-list { grid-template-columns: 1fr; }
  .hero-actions { margin-bottom: 5rem; }
  .hero-art { min-height: 360px; }
  .proof-chip { left: .75rem; right: .75rem; bottom: .75rem; width: auto; }
  .status-stamp { top: .75rem; right: .75rem; }
  .site-footer { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
