:root {
  --ink: #201a17;
  --muted: #6f625b;
  --cream: #fff9f1;
  --paper: #fffdf9;
  --orange: #e94f27;
  --orange-dark: #b93315;
  --gold: #f1ad2b;
  --green: #245942;
  --line: #eadfd3;
  --shadow: 0 22px 60px rgba(74, 44, 24, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
body.cart-open { overflow: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -.5px; }
.brand > span:last-child > span { color: var(--orange); }
.brand-logo { width: 42px; height: 42px; flex: none; object-fit: cover; border-radius: 12px; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--orange); color: #fff; font-family: "Fraunces", serif; font-size: 24px; transform: rotate(-5deg); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  height: 78px;
  padding: 0 max(5vw, 24px);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(234, 223, 211, .8);
  background: rgba(255, 253, 249, .92);
  backdrop-filter: blur(14px);
}
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: var(--orange); }
.bag-button { min-height: 44px; border: 0; border-radius: 999px; padding: 10px 17px; background: var(--ink); color: #fff; font-weight: 700; }
.bag-button span { display: inline-grid; min-width: 22px; height: 22px; margin-left: 5px; place-items: center; border-radius: 50%; background: var(--orange); font-size: 12px; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 25px; line-height: 1; }

.hero {
  display: grid;
  min-height: 680px;
  padding: 70px max(5vw, 24px);
  grid-template-columns: .92fr 1.08fr;
  gap: 6vw;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, #fff2d7 0, transparent 35%), var(--cream);
}
.eyebrow { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; }
h1, h2 { margin: 18px 0; font-family: "Fraunces", serif; line-height: .98; letter-spacing: -2px; }
h1 { font-size: clamp(56px, 7vw, 102px); }
h1 em { color: var(--orange); font-style: normal; }
h2 { font-size: clamp(40px, 5vw, 66px); }
.hero-copy > p { max-width: 620px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; padding: 12px 23px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-align: center; }
.button.primary { background: var(--orange); color: #fff; }
.button.primary:hover { background: var(--orange-dark); }
.button.secondary { border-color: var(--ink); background: transparent; }
.button.secondary:hover { background: var(--ink); color: #fff; }
.hero-notes { display: flex; gap: 24px; margin-top: 30px; color: var(--muted); font-size: 13px; font-weight: 700; }
.hero-notes span::before { margin-right: 7px; color: var(--green); content: "✓"; }
.hero-gallery { display: grid; height: 570px; grid-template-columns: 1.25fr .75fr; grid-template-rows: 1fr 1fr; gap: 16px; transform: rotate(1deg); }
.hero-gallery figure { margin: 0; overflow: hidden; border: 7px solid #fff; border-radius: 28px; box-shadow: var(--shadow); }
.hero-gallery .hero-main { grid-row: 1 / 3; }
.hero-gallery .hero-brand { grid-column: 1 / 3; background: #171311; }
.hero-gallery .hero-brand img { padding: 7%; object-fit: contain; }

.quick-info { display: grid; padding: 25px max(5vw, 24px); grid-template-columns: repeat(3, 1fr); gap: 30px; background: var(--ink); color: #fff; }
.quick-info div { display: flex; gap: 12px; align-items: baseline; justify-content: center; }
.quick-info span { color: #bdb2aa; font-size: 13px; }
.section-shell { width: min(1180px, 90vw); margin: 0 auto; }
.menu-section { padding: 100px 0; }
.section-heading, .sweet-heading { display: flex; gap: 40px; align-items: end; justify-content: space-between; }
.section-heading { margin-bottom: 38px; }
.section-heading p { max-width: 440px; color: var(--muted); }
.category-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.category-tabs button { min-height: 42px; padding: 8px 17px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; white-space: nowrap; }
.category-tabs button.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.menu-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; transition: transform .25s, box-shadow .25s; }
.menu-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.menu-card > img {
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: #fff4e6;
}
.card-body { padding: 20px; }
.card-title { display: flex; gap: 15px; align-items: start; justify-content: space-between; }
.card-title h3 { margin: 0; font-size: 19px; }
.card-title span { color: var(--orange); font-weight: 800; white-space: nowrap; }
.card-body p { min-height: 44px; color: var(--muted); font-size: 14px; }
.card-body button, .sweet-card button { width: 100%; min-height: 44px; border: 0; border-radius: 12px; background: #f7ece2; color: var(--ink); font-weight: 800; }
.card-body button:hover, .sweet-card button:hover { background: var(--orange); color: #fff; }
.card-badge { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; background: var(--gold); font-size: 11px; font-weight: 800; }

.sweet-section { position: relative; overflow: hidden; padding: 100px 0; background: var(--green); color: #fff; }
.sweet-section::before { position: absolute; top: -160px; right: -100px; width: 420px; height: 420px; border: 90px solid rgba(255, 255, 255, .03); border-radius: 50%; content: ""; }
.sweet-heading { position: relative; margin-bottom: 42px; }
.sweet-heading p { max-width: 430px; color: #c9d8d1; }
.script { color: #ffc768; font-family: "Fraunces", serif; font-size: 26px; font-style: italic; }
.sweet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sweet-card { overflow: hidden; border-radius: 25px; background: #fff; color: var(--ink); }
.sweet-card img {
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  object-position: center;
  background: #fff4e6;
}
.sweet-card > div { padding: 22px; }
.sweet-card h3 { margin: 0; font-family: "Fraunces", serif; font-size: 28px; }
.sweet-card p { min-height: 47px; color: var(--muted); }
.sweet-card strong { display: block; margin-bottom: 15px; color: var(--orange); font-size: 22px; }

.delivery-section { padding: 100px 0; }
.delivery-card { display: grid; padding: 60px; grid-template-columns: 1.4fr .7fr; gap: 70px; border-radius: 35px; background: #fff3df; }
.delivery-card p { max-width: 650px; color: var(--muted); }
.delivery-card ul { display: grid; padding: 0; gap: 10px; list-style: none; }
.delivery-card li::before { margin-right: 10px; color: var(--green); content: "✓"; font-weight: 800; }
.hours-card { padding: 30px; border-radius: 25px; background: #fff; box-shadow: var(--shadow); }
.hours-card > span { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.hours-card h3 { margin: 18px 0 2px; }
.hours-card strong { color: var(--green); }
.hours-card hr { margin: 23px 0; border: 0; border-top: 1px solid var(--line); }
.hours-card .button { width: 100%; margin-top: 25px; }
.contact-section { padding: 80px 0; background: var(--orange); color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.contact-section .eyebrow { color: #ffe2c7; }
.contact-section h2 { margin-bottom: 20px; }
.contact-actions { display: grid; gap: 12px; }
.contact-actions a { display: flex; padding: 18px 20px; align-items: center; justify-content: space-between; border: 1px solid rgba(255, 255, 255, .3); border-radius: 15px; }
.contact-actions a:hover { background: #fff; color: var(--orange); }
.contact-actions span { font-size: 13px; opacity: .8; }
footer { display: grid; padding: 45px max(5vw, 24px); grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: center; background: #171311; color: #fff; }
footer p { color: #aaa09a; text-align: center; }
footer small { color: #aaa09a; text-align: right; }

.cart-backdrop { position: fixed; z-index: 80; inset: 0; visibility: hidden; background: rgba(22, 16, 13, .52); opacity: 0; transition: opacity .25s, visibility .25s; }
.cart-backdrop.open { visibility: visible; opacity: 1; }
.cart-drawer { position: fixed; top: 0; right: 0; z-index: 90; display: flex; width: min(430px, 100vw); height: 100dvh; flex-direction: column; background: #fff; transform: translateX(105%); transition: transform .3s; }
.cart-drawer.open { transform: none; }
.cart-header { display: flex; padding: 25px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.cart-header span { color: var(--orange); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.cart-header h2 { margin: 3px 0; font-family: "DM Sans", sans-serif; font-size: 28px; letter-spacing: -1px; }
.cart-header button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f5eee7; font-size: 27px; }
.cart-items { padding: 20px; flex: 1; overflow: auto; }
.empty-cart { margin-top: 70px; color: var(--muted); text-align: center; }
.cart-item { display: grid; padding: 16px 0; grid-template-columns: 1fr auto; gap: 10px; border-bottom: 1px solid var(--line); }
.cart-item h4 { margin: 0; }
.cart-item small { color: var(--muted); }
.qty { display: flex; gap: 8px; align-items: center; }
.qty button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cart-footer { padding: 22px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; font-size: 21px; }
.cart-footer p { color: var(--muted); font-size: 12px; }
.full { width: 100%; border: 0; }
.toast { position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; z-index: 100; max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; opacity: 0; pointer-events: none; text-align: center; transform: translate(-50%, 30px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 56px; grid-template-columns: 1fr; gap: 42px; }
  .hero-gallery { height: 440px; max-width: 760px; }
  .quick-info { grid-template-columns: 1fr; gap: 14px; }
  .quick-info div { justify-content: flex-start; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading, .sweet-heading { display: block; }
  .delivery-card { padding: 40px; grid-template-columns: 1fr; gap: 35px; }
  .contact-inner { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer p, footer small { text-align: center; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; padding: 0 18px; }
  .brand { font-size: 19px; }
  .brand-logo { width: 38px; height: 38px; border-radius: 11px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-links { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: flex; max-height: 0; padding: 0 18px; gap: 0; overflow: hidden; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); background: rgba(255, 253, 249, .98); box-shadow: 0 18px 24px rgba(40, 29, 22, .08); opacity: 0; pointer-events: none; transition: max-height .25s ease, padding .25s ease, opacity .2s ease; }
  .nav-links.open { max-height: 360px; padding: 14px 18px 18px; gap: 2px; opacity: 1; pointer-events: auto; }
  .nav-links a { display: block; min-height: 44px; padding: 11px 4px; }
  .bag-button { width: 100%; margin-top: 8px; }
  .hero { padding: 44px 20px 52px; gap: 34px; }
  h1 { font-size: clamp(46px, 14vw, 64px); letter-spacing: -1.5px; }
  h2 { font-size: clamp(36px, 11vw, 54px); letter-spacing: -1.5px; }
  .hero-copy > p { font-size: 16px; }
  .hero-gallery { display: block; height: auto; max-width: none; transform: none; }
  .hero-gallery .hero-brand { aspect-ratio: 1.35; }
  .hero-gallery figure { border-width: 4px; border-radius: 20px; }
  .hero-gallery .hero-brand img { padding: 9%; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 24px; }
  .hero-actions .button { width: 100%; }
  .hero-notes { display: grid; gap: 8px; margin-top: 24px; }
  .section-shell { width: min(92vw, 1180px); }
  .menu-section, .sweet-section, .delivery-section { padding: 72px 0; }
  .section-heading { margin-bottom: 28px; }
  .section-heading p, .sweet-heading p { margin: 14px 0 0; }
  .category-tabs { margin-right: -4vw; margin-bottom: 24px; padding-right: 4vw; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .category-tabs::-webkit-scrollbar { display: none; }
  .category-tabs button { flex: none; }
  .menu-grid, .sweet-grid { grid-template-columns: 1fr; gap: 18px; }
  .menu-card > img, .sweet-card img { height: min(62vw, 280px); aspect-ratio: auto; }
  .menu-card:hover { box-shadow: none; transform: none; }
  .card-body, .sweet-card > div { padding: 18px; }
  .card-body p, .sweet-card p { min-height: 0; }
  .delivery-card { padding: 30px 20px; border-radius: 24px; }
  .hours-card { padding: 24px 20px; border-radius: 20px; }
  .contact-section { padding: 64px 0; }
  .contact-inner { gap: 32px; }
  .contact-actions a { min-height: 76px; align-items: flex-start; flex-direction: column; gap: 3px; justify-content: center; }
  footer { padding: 40px 20px; }
  .cart-header { padding: 20px; }
  .cart-items { padding: 16px; }
  .cart-footer { padding: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .site-header { padding: 0 14px; }
  .brand { gap: 7px; font-size: 17px; }
  .brand-logo { width: 34px; height: 34px; }
  .hero { padding-right: 16px; padding-left: 16px; }
  h1 { font-size: 44px; }
  .quick-info { padding-right: 20px; padding-left: 20px; }
  .quick-info div { align-items: flex-start; flex-direction: column; gap: 0; }
  .card-title { gap: 8px; }
  .cart-item { grid-template-columns: 1fr; }
  .qty { justify-content: flex-start; }
}

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