:root {
  --pine: #173f38;
  --pine-deep: #0d2a25;
  --saffron: #f4b633;
  --tomato: #d8533f;
  --porcelain: #f7f2e7;
  --paper: #fffdf7;
  --ink: #17211f;
  --muted: #68736f;
  --line: rgba(23, 63, 56, .16);
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", sans-serif;
  --utility: "Space Mono", monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--porcelain); font-family: var(--body); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.topbar { position: sticky; top: 0; z-index: 20; height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 4vw, 64px); background: rgba(247, 242, 231, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; color: var(--porcelain); background: var(--pine); border-radius: 50%; font: 700 13px var(--utility); letter-spacing: -.08em; transform: rotate(-7deg); }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 17px var(--display); }
.brand small { margin-top: 1px; color: var(--muted); font: 10px var(--utility); text-transform: uppercase; letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); margin-left: auto; margin-right: 28px; }
.main-nav a, .mobile-nav a { color: var(--pine); text-decoration: none; font-size: 14px; font-weight: 700; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; color: var(--pine); background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: 10px 13px; font-weight: 700; cursor: pointer; }
.mobile-nav { position: fixed; top: 68px; left: 0; right: 0; z-index: 19; display: grid; gap: 0; padding: 10px 18px 18px; background: var(--porcelain); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(13,42,37,.12); }
.mobile-nav a { padding: 15px 5px; border-bottom: 1px solid var(--line); }
.bag-button { color: var(--pine); background: transparent; border: 1px solid var(--pine); border-radius: 99px; padding: 9px 12px 9px 15px; font-weight: 700; cursor: pointer; }
.bag-button span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; margin-left: 5px; color: white; background: var(--pine); border-radius: 50%; }

.hero { min-height: min(720px, calc(100vh - 74px)); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: center; gap: clamp(32px, 7vw, 120px); padding: clamp(56px, 8vw, 120px) clamp(20px, 7vw, 120px); overflow: hidden; background: radial-gradient(circle at 75% 30%, rgba(244,182,51,.2), transparent 24%), linear-gradient(135deg, var(--porcelain), #eee2cd); }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 16px; color: var(--tomato); font: 700 11px var(--utility); letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 750px; margin-bottom: 24px; font: 700 clamp(53px, 8vw, 112px)/.88 var(--display); letter-spacing: -.055em; }
.hero-lede { max-width: 590px; margin-bottom: 30px; color: #46504d; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
.primary-button { display: inline-flex; align-items: center; gap: 20px; padding: 15px 20px; color: white; background: var(--pine); border-radius: 4px; text-decoration: none; font-weight: 700; }
.primary-button span { color: var(--saffron); }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.text-link { color: var(--pine); font-weight: 700; text-underline-offset: 5px; }

.passport { position: relative; width: min(100%, 430px); aspect-ratio: .72; justify-self: center; padding: clamp(26px, 4vw, 44px); color: #efe6cf; background: var(--pine); border-radius: 18px 18px 28px 28px; box-shadow: 0 32px 60px rgba(13,42,37,.23), inset 0 0 0 2px rgba(255,255,255,.1), inset 0 0 0 10px var(--pine), inset 0 0 0 11px rgba(255,255,255,.13); transform: rotate(4deg); }
.passport::before { content: ""; position: absolute; inset: 17px; border: 1px solid rgba(244,182,51,.35); border-radius: 9px 9px 20px 20px; pointer-events: none; }
.passport-kicker { font: 11px var(--utility); letter-spacing: .22em; }
.passport-route { display: flex; align-items: center; gap: 14px; margin: 56px 0 30px; font: 700 clamp(28px,5vw,56px) var(--utility); }
.passport-route i { flex: 1; height: 1px; background: var(--saffron); position: relative; }
.passport-route i::after { content: "✦"; position: absolute; left: 50%; top: 50%; color: var(--saffron); transform: translate(-50%,-53%); background: var(--pine); padding: 4px; }
.stamp { width: 190px; height: 190px; margin: 0 auto 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--saffron); border: 3px double var(--saffron); border-radius: 50%; transform: rotate(-12deg); }
.stamp b { font: 700 34px var(--display); }
.stamp span { font: 700 18px var(--utility); }
.stamp small { margin-top: 10px; font: 10px var(--utility); }
.passport > p { position: relative; max-width: 270px; margin: auto; text-align: center; font: 15px/1.5 var(--utility); }

.notice { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; padding: 22px clamp(20px,7vw,120px); color: #fff; background: var(--tomato); }
.notice span { font: 700 11px var(--utility); opacity: .65; }
.notice p { margin: 0; font-weight: 700; }

.menu-section { padding: clamp(70px, 9vw, 130px) clamp(20px, 7vw, 120px); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 470px); align-items: end; gap: 30px; margin-bottom: 35px; }
.section-heading h2, .story h2, .drawer h2 { margin: 0; font: 700 clamp(42px, 6vw, 76px)/.95 var(--display); letter-spacing: -.045em; }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.65; }
.search-box { display: flex; align-items: center; gap: 12px; max-width: 630px; margin-bottom: 18px; padding: 0 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.search-box span { color: var(--muted); font-size: 25px; }
.search-box input { width: 100%; padding: 16px 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.filters { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 25px; }
.filter { padding: 10px 17px; color: var(--pine); background: transparent; border: 1px solid var(--line); border-radius: 99px; font-weight: 700; cursor: pointer; }
.filter.is-active { color: white; background: var(--pine); border-color: var(--pine); }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.menu-card { min-height: 240px; display: flex; flex-direction: column; padding: 23px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; transition: transform .2s ease, box-shadow .2s ease; }
.menu-card:hover { transform: translateY(-3px); box-shadow: 0 18px 30px rgba(23,63,56,.09); }
.menu-card-top { display: flex; justify-content: space-between; gap: 15px; }
.menu-tag { color: var(--tomato); font: 10px var(--utility); text-transform: uppercase; letter-spacing: .1em; }
.menu-code { color: #a3aaa7; font: 10px var(--utility); }
.menu-card h3 { margin: 32px 0 10px; font: 700 30px var(--display); }
.menu-card p { flex: 1; margin-bottom: 23px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.card-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.add-button { align-self: flex-start; padding: 10px 14px; color: var(--pine); background: transparent; border: 1px solid var(--pine); border-radius: 4px; font-weight: 700; cursor: pointer; }
.add-button:hover { color: white; background: var(--pine); }
.add-button.is-added { color: var(--pine); background: var(--saffron); border-color: var(--saffron); }
.details-button, .back-button { padding: 10px 2px; color: var(--pine); background: transparent; border: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.empty-state { padding: 40px; text-align: center; color: var(--muted); }

.story { padding: clamp(80px,10vw,140px) clamp(20px,12vw,190px); color: white; background: var(--pine-deep); }
.story blockquote { max-width: 950px; margin: 0 0 35px; color: var(--saffron); font: 600 clamp(40px,7vw,88px)/1 var(--display); letter-spacing: -.04em; }
.story > p:not(.eyebrow) { max-width: 680px; color: #c6d1cc; font-size: 18px; line-height: 1.7; }
.story a { color: white; text-underline-offset: 6px; }
.story-links { display: flex; flex-wrap: wrap; gap: 18px 28px; }

.floating-cart { position: fixed; left: 50%; bottom: 18px; z-index: 30; width: min(calc(100% - 28px), 520px); display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; color: white; background: var(--pine); border: 0; border-radius: 8px; box-shadow: 0 14px 35px rgba(13,42,37,.28); transform: translateX(-50%); cursor: pointer; }
.floating-cart b { display: inline-grid; place-items: center; min-width: 25px; height: 25px; margin-right: 5px; color: var(--pine); background: var(--saffron); border-radius: 50%; }
.drawer-shell { position: fixed; inset: 0; z-index: 50; }
.drawer-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(13,42,37,.54); backdrop-filter: blur(4px); }
.drawer { position: absolute; top: 0; right: 0; width: min(100%, 520px); height: 100%; display: flex; flex-direction: column; padding: 28px; background: var(--porcelain); box-shadow: -20px 0 60px rgba(13,42,37,.2); overflow-y: auto; animation: slideIn .25s ease-out; }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.drawer h2 { font-size: 50px; }
.icon-button { width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 27px; cursor: pointer; }
.cart-items { display: grid; gap: 10px; padding: 18px 0; }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
.cart-row h3 { margin-bottom: 4px; font: 700 21px var(--display); }
.cart-row p { margin: 0; color: var(--muted); font-size: 12px; }
.quantity { display: flex; align-items: center; gap: 8px; }
.quantity button { width: 30px; height: 30px; border: 1px solid var(--line); background: transparent; border-radius: 50%; cursor: pointer; }
.quantity span { min-width: 18px; text-align: center; font-weight: 700; }
.cart-empty { margin: auto; padding: 60px 20px; text-align: center; }
.empty-stamp { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 20px; color: var(--tomato); border: 2px dashed var(--tomato); border-radius: 50%; font: 700 19px var(--utility); transform: rotate(-8deg); }
.cart-empty h3 { font: 700 29px var(--display); }
.cart-empty p { color: var(--muted); }
.cart-footer { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.cart-footer label, .order-details > label { display: grid; gap: 8px; font-weight: 700; }
.cart-footer textarea, .order-details textarea, .order-details input[type="text"] { width: 100%; resize: vertical; padding: 12px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.confirmation-note { margin: 14px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.whatsapp-button { width: 100%; padding: 16px; color: white; background: #16794b; border: 0; border-radius: 6px; font-weight: 700; cursor: pointer; }
.secondary-button, .primary-action { padding: 13px 17px; border-radius: 5px; font-weight: 700; cursor: pointer; }
.secondary-button { color: var(--pine); background: transparent; border: 1px solid var(--pine); }
.primary-action { color: white; background: var(--pine); border: 1px solid var(--pine); }
.order-details { display: grid; gap: 18px; padding-top: 20px; }
.order-details fieldset { display: grid; gap: 9px; margin: 0; padding: 0; border: 0; }
.order-details legend { margin-bottom: 9px; font-weight: 700; }
.choice { display: flex; gap: 11px; align-items: flex-start; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }
.choice input { margin-top: 4px; accent-color: var(--pine); }
.choice span, .choice small { display: block; }
.choice small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.order-summary { display: grid; gap: 5px; padding: 15px; color: var(--pine); background: rgba(244,182,51,.2); border-radius: 7px; }
.order-summary span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-error { margin: 0; padding: 11px; color: #8b2b1f; background: #f9ddd5; border-radius: 5px; font-size: 13px; }

.modal-shell { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(13,42,37,.6); backdrop-filter: blur(5px); }
.item-modal { position: relative; width: min(100%, 600px); max-height: calc(100vh - 36px); overflow-y: auto; padding: clamp(28px, 5vw, 54px); background: var(--porcelain); border-radius: 14px; box-shadow: 0 30px 80px rgba(13,42,37,.35); animation: modalIn .2s ease-out; }
.modal-close { position: absolute; top: 18px; right: 18px; }
.destination-code { display: flex; align-items: center; gap: 13px; max-width: 260px; margin: 34px 0 18px; color: var(--pine); font: 700 28px var(--utility); }
.destination-code i { flex: 1; height: 1px; background: var(--tomato); }
.item-modal h2 { margin-bottom: 28px; font: 700 clamp(48px, 8vw, 76px)/.95 var(--display); letter-spacing: -.04em; }
.ingredient-block { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.ingredient-block small { color: var(--tomato); font: 700 10px var(--utility); text-transform: uppercase; letter-spacing: .1em; }
.ingredient-block p { margin: 9px 0 0; line-height: 1.6; }
.item-note { margin: 18px 0; color: var(--muted); font-size: 13px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
body.drawer-open { overflow: hidden; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }

@media (max-width: 850px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .passport { width: min(85vw, 370px); }
  .notice { grid-template-columns: auto 1fr; }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .topbar { height: 68px; }
  .bag-button { font-size: 0; padding: 7px; border: 0; }
  .bag-button span { margin: 0; font-size: 13px; }
  .hero { min-height: auto; padding-bottom: 72px; }
  h1 { font-size: clamp(50px, 16vw, 76px); }
  .passport { transform: rotate(2deg); }
  .notice { padding-top: 18px; padding-bottom: 18px; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card { min-height: 210px; }
  .drawer { padding: 22px 16px; }
  .modal-actions { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
