:root {
  --paper: #f8efe0;
  --paper-deep: #ead2ad;
  --flour: #fffaf0;
  --ink: #2e1b10;
  --muted: #6d5038;
  --pretzel: #b86216;
  --pretzel-dark: #76360f;
  --mustard: #e0aa2f;
  --blue: #123f62;
  --blue-2: #0b2a40;
  --salt: #fff7e6;
  --line: rgba(46, 27, 16, 0.16);
  --shadow: 0 24px 80px rgba(63, 35, 10, 0.16), 0 8px 24px rgba(63, 35, 10, 0.10);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(224, 170, 47, 0.20), transparent 34rem),
    linear-gradient(180deg, var(--flour), var(--paper));
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url('assets/parchment-salt-pattern.jpg');
  background-size: 540px 540px;
  mix-blend-mode: multiply;
  z-index: -1;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 20;
  background: var(--blue);
  color: white;
  padding: 12px 16px;
  border-radius: 999px;
}
.skip-link:focus { top: 16px; }
:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 54px);
  background: rgba(255, 250, 240, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}
.brand-lockup strong { display: block; font-weight: 800; letter-spacing: -0.02em; }
.brand-lockup small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 4px; }
.twist-mark {
  width: 38px;
  height: 38px;
  border: 8px solid var(--pretzel);
  border-radius: 46% 54% 46% 54%;
  box-shadow: inset 0 0 0 5px var(--flour), 0 0 0 1px rgba(46,27,16,.14);
  transform: rotate(-18deg);
  background: var(--mustard);
}
.site-nav {
  justify-self: center;
  display: flex;
  gap: clamp(14px, 3vw, 36px);
  color: var(--muted);
  font-weight: 700;
}
.site-nav a,
.header-call,
.inline-links a {
  text-decoration: none;
}
.site-nav a:hover,
.inline-links a:hover { color: var(--pretzel-dark); text-decoration: underline; text-decoration-thickness: 2px; }
.header-call {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--flour);
  background: var(--blue);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(18, 63, 98, 0.22);
}

.section-pad { padding: clamp(64px, 9vw, 128px) clamp(18px, 5vw, 72px); }
.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  overflow: clip;
}
.hero-copy { max-width: 710px; }
.preview-pill,
.kicker,
.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 900;
}
.preview-pill {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px dashed rgba(46, 27, 16, 0.38);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  color: var(--pretzel-dark);
  margin: 0 0 24px;
}
.kicker { color: var(--blue); margin: 0 0 12px; }
h1, h2, h3, p { margin-top: 0; }
h1,
h2 {
  font-family: var(--display);
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}
h1 {
  font-size: clamp(4rem, 10vw, 10.2rem);
  max-width: 8ch;
  margin-bottom: 24px;
}
h2 { font-size: clamp(2.6rem, 6.2vw, 6.6rem); margin-bottom: 18px; }
h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.02;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}
p { line-height: 1.62; color: var(--muted); font-size: 1.04rem; }
.hero-meta {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(18, 63, 98, 0.08);
  color: var(--blue);
  font-weight: 900;
  font-size: clamp(0.88rem, 1.15vw, 1rem);
  line-height: 1.25;
}
.hero-subhead { font-size: clamp(1.1rem, 2.1vw, 1.42rem); max-width: 58ch; color: #523820; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 16px 36px rgba(18, 63, 98, 0.24); }
.btn-primary:hover { background: var(--blue-2); }
.btn-secondary { background: var(--ink); color: var(--flour); }
.btn-ghost { background: rgba(255, 250, 240, 0.68); color: var(--ink); border-color: var(--line); }
.hero-art {
  position: relative;
  margin-right: min(-5vw, -32px);
}
.hero-art img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center right;
  border: 1px solid rgba(46,27,16,.16);
  border-radius: 42px 0 0 42px;
  box-shadow: var(--shadow);
}
.order-ticket {
  position: absolute;
  left: clamp(-30px, -3vw, -12px);
  bottom: 8%;
  width: min(260px, 68%);
  transform: rotate(-3deg);
  padding: 20px;
  border: 1px solid rgba(46,27,16,.22);
  border-radius: 4px 4px 24px 4px;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: var(--shadow);
}
.order-ticket span,
.order-ticket small { display: block; color: var(--muted); font-weight: 800; }
.order-ticket strong { display: block; font-family: var(--display); font-size: 2.1rem; line-height: .9; margin: 5px 0; }

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 clamp(18px, 5vw, 72px);
  border: 1px solid rgba(46,27,16,.18);
  border-radius: 30px;
  background: rgba(46, 27, 16, 0.92);
  color: var(--flour);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.quick-strip article { padding: 26px; border-right: 1px solid rgba(255,255,255,.14); }
.quick-strip article:last-child { border-right: 0; }
.quick-strip p,
.quick-strip small { color: rgba(255,250,240,.78); margin: 0; }
.quick-strip a { color: white; font-weight: 900; text-decoration-thickness: 2px; }
.quick-strip .mini-label { color: var(--mustard); display: block; margin-bottom: 8px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.inline-links a { text-decoration: underline; }

.section-intro { max-width: 980px; margin-bottom: clamp(26px, 5vw, 52px); }
.section-intro.narrow { max-width: 780px; }
.menu-lab { position: relative; }
.menu-lab::before,
.tray-panel::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(46,27,16,.14);
  border-radius: 42px;
  pointer-events: none;
}
.menu-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-auto-rows: minmax(260px, auto);
  gap: 18px;
}
.menu-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 14px 44px rgba(63,35,10,.08);
  position: relative;
  overflow: hidden;
}
.menu-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px auto;
  width: 62px;
  height: 36px;
  border-radius: 50%;
  border: 4px solid rgba(184,98,22,.18);
  transform: rotate(-20deg);
}
.featured-card {
  grid-row: span 2;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: space-between;
  background: linear-gradient(160deg, rgba(255,250,240,.96), rgba(234,210,173,.72));
}
.featured-card img {
  justify-self: end;
  width: min(420px, 86%);
  margin: 12px -18px -28px 0;
  filter: drop-shadow(0 24px 22px rgba(63,35,10,.20));
}
.price { color: var(--pretzel-dark); font-weight: 900; font-size: 1.18rem; margin-bottom: 8px; }
.mini-label { color: var(--blue); display: inline-block; margin-bottom: 14px; }

.tray-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(320px, .7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  background: linear-gradient(135deg, rgba(18,63,98,.96), rgba(11,42,64,.96));
  color: white;
  margin-top: 24px;
}
.tray-panel h2,
.tray-panel p { color: white; }
.tray-panel p { color: rgba(255,250,240,.82); max-width: 58ch; }
.tray-panel .kicker { color: var(--mustard); }
.tray-art img {
  border-radius: 50%;
  box-shadow: 0 34px 90px rgba(0,0,0,.28);
  border: 12px solid rgba(255,250,240,.18);
}
.tray-panel .btn-primary { background: var(--mustard); color: var(--ink); }
.tray-panel .btn-secondary { background: var(--flour); color: var(--ink); }

.proof-section { background: rgba(255,250,240,.62); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.proof-grid article {
  padding: 28px;
  min-height: 220px;
  border-radius: 28px;
  background: var(--flour);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(63,35,10,.08);
}
.proof-grid span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--pretzel-dark);
  font-weight: 900;
  margin-bottom: 22px;
}
.proof-grid p { color: var(--ink); font-size: 1.12rem; }

.agent-preview {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(300px, .72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.agent-card {
  border-radius: 34px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #29180f;
  box-shadow: var(--shadow);
}
.chat-row {
  width: fit-content;
  max-width: 88%;
  margin: 12px 0;
  padding: 13px 15px;
  border-radius: 18px;
  line-height: 1.36;
  font-weight: 700;
}
.chat-row.owner { margin-left: auto; background: var(--mustard); color: var(--ink); border-bottom-right-radius: 4px; }
.chat-row.agent { background: rgba(255,250,240,.12); color: var(--flour); border-bottom-left-radius: 4px; }

.contact-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.site-footer {
  padding: 28px clamp(18px, 5vw, 72px) 110px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(255,250,240,.74);
}
.site-footer p { font-size: .96rem; margin-bottom: 8px; }
.mobile-action-bar { display: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero,
  .tray-panel,
  .agent-preview { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 56px; }
  h1 { max-width: 9ch; }
  .hero-art { margin-right: 0; }
  .hero-art img { min-height: 380px; border-radius: 34px; object-position: center; }
  .quick-strip { grid-template-columns: repeat(2, 1fr); }
  .quick-strip article:nth-child(2) { border-right: 0; }
  .quick-strip article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .menu-grid { grid-template-columns: 1fr; }
  .featured-card { grid-row: auto; }
  .proof-grid { grid-template-columns: 1fr; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  .contact-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .site-header { position: static; padding: 12px 16px; }
  .header-call { display: none; }
  .brand-lockup small { display: none; }
  .section-pad { padding: 54px 16px; }
  .hero { gap: 22px; }
  .hero-meta { font-size: .94rem; }
  h1 { font-size: clamp(3.1rem, 14vw, 4.65rem); max-width: 8.4ch; }
  h2 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .hero-actions .btn { width: 100%; }
  .hero-art img { min-height: 320px; border-radius: 26px; }
  .order-ticket { position: static; transform: rotate(-2deg); width: calc(100% - 18px); margin: -44px auto 0; }
  .quick-strip { margin: 0 16px; grid-template-columns: 1fr; border-radius: 24px; }
  .quick-strip article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding: 22px; }
  .quick-strip article:last-child { border-bottom: 0; }
  .menu-lab::before,
  .tray-panel::before { inset: 10px; border-radius: 30px; }
  .featured-card img { width: 92%; margin-right: -8px; }
  .tray-panel { margin-top: 0; }
  .tray-art img { border-width: 7px; }
  .agent-card { border-radius: 24px; padding: 14px; }
  .chat-row { max-width: 96%; font-size: .95rem; }
  .site-footer { padding-bottom: 106px; }
  .mobile-action-bar {
    position: fixed;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(46,27,16,.92);
    box-shadow: 0 18px 50px rgba(0,0,0,.26);
    backdrop-filter: blur(16px);
  }
  .mobile-action-bar a {
    min-height: 46px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--flour);
    text-decoration: none;
    font-weight: 900;
  }
  .mobile-action-bar a:nth-child(2) { background: var(--mustard); color: var(--ink); }
}

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