@font-face { font-family: Forno Serif; src: url(assets/serif.woff) format("woff"); font-display: swap; }
@font-face { font-family: Forno Serif; src: url(assets/serif-italic.woff) format("woff"); font-style: italic; font-display: swap; }
@font-face { font-family: Forno Sans; src: url(assets/body.woff) format("woff"); font-display: swap; }
@font-face { font-family: Forno Sans; src: url(assets/body-bold.woff) format("woff"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #faf7ef;
  --white: #fffdf7;
  --ink: #2c241c;
  --muted: #66574a;
  --line: #e6dbc8;
  --olive: #404935;
  --olive-deep: #303728;
  --rust: #945534;
  --serif: "Forno Serif", Georgia, serif;
  --sans: "Forno Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4 { margin: 0; }
img { display: block; max-width: 100%; object-fit: cover; }
.wrap { width: min(1150px, calc(100% - 36px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 9; top: 8px; left: 8px; padding: 10px; background: var(--white); transform: translateY(-160%); }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); }
.top { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wordmark { font: 1.75rem/.95 var(--serif); letter-spacing: -.075em; white-space: nowrap; color: var(--olive-deep); }
.wordmark span { color: var(--rust); }
.nav-link { display: none; }
.bag-button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; background: transparent; border: 0; padding: 5px 0 5px 8px; font-weight: 700; font-size: .84rem; }
.bag-button span { display: grid; place-items: center; min-width: 27px; min-height: 27px; border-radius: 50px; padding-inline: 5px; background: #e9eddf; color: var(--olive-deep); }

.hero { display: grid; gap: 24px; padding-block: 29px 30px; }
.hero-copy { align-self: center; }
.eyebrow { margin-bottom: 12px; color: var(--olive); font-size: .7rem; font-weight: 700; letter-spacing: .20em; text-transform: uppercase; }
.hero h1 { font: 400 clamp(3.15rem, 12vw, 6.3rem)/.88 var(--serif); letter-spacing: -.072em; }
.hero h1 em { display: block; color: var(--rust); }
.hero-desc { max-width: 34ch; margin-top: 15px; color: var(--muted); font-size: .89rem; }
.primary { display: inline-flex; min-height: 44px; align-items: center; gap: 20px; padding: 8px 17px; border: 1px solid var(--olive); border-radius: 5px; background: var(--olive); color: white; font-size: .84rem; font-weight: 700; }
.primary:hover { background: var(--olive-deep); }
.hero .primary { margin-top: 18px; }
.hero-visual { overflow: hidden; border-radius: 7px; background: #e9d3b7; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 1.64; object-position: 57% 54%; }

.menu { padding-bottom: 45px; scroll-margin-top: 12px; }
.menu-head { display: grid; gap: 11px; align-items: center; padding-top: 21px; border-top: 1px solid var(--line); }
.menu h2, .dialog-title h2 { font: 400 clamp(2.1rem, 7vw, 3.65rem)/1 var(--serif); letter-spacing: -.055em; }
.search { display: flex; position: relative; align-items: center; min-height: 46px; background: var(--white); border: 1px solid var(--line); border-radius: 5px; }
.search-icon { position: absolute; left: 15px; width: 13px; height: 13px; border: 1.7px solid var(--olive); border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.7px; background: var(--olive); bottom: -2px; right: -4px; transform: rotate(45deg); }
.search input { border: 0; background: transparent; width: 100%; min-width: 0; min-height: 44px; padding: 7px 12px 7px 37px; border-radius: inherit; }
.search input::placeholder { color: var(--muted); }
.categories { position: sticky; top: 0; z-index: 2; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 12px 4px; background: var(--paper); border-bottom: 1px solid var(--line); }
.categories::-webkit-scrollbar { display: none; }
.categories button { flex: 0 0 auto; min-height: 42px; border: 1px solid var(--line); border-radius: 5px; padding: 4px 11px; background: var(--white); font-size: .78rem; font-weight: 700; }
.categories button[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: white; }
.category { margin-top: 22px; }
.category h3 { font: 400 1.65rem/1.1 var(--serif); letter-spacing: -.045em; margin-bottom: 10px; }
.product-grid { display: grid; gap: 10px; }
.product { display: grid; grid-template-columns: minmax(0, 1fr) clamp(86px, 26vw, 113px); grid-template-rows: 1fr auto; column-gap: 11px; min-height: 119px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.product-copy { min-width: 0; padding: 3px 0 2px; }
.product h4 { font-size: .96rem; letter-spacing: -.035em; line-height: 1.22; }
.product p { margin-top: 4px; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.product img { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 100%; height: auto; aspect-ratio: 1; border-radius: 5px; background: #f1e4d0; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.price { white-space: nowrap; font-weight: 700; font-size: .88rem; }
.add, .close, .quantity button { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 6px; background: #edf0e5; color: var(--olive-deep); font-weight: 700; font-size: 1.23rem; }
.add:hover, .close:hover, .quantity button:hover { color: white; background: var(--olive); }
.empty { padding: 17px 0; color: var(--muted); }

.footer { border-top: 1px solid var(--line); background: #f1eade; }
.footer-inner { display: flex; gap: 9px 22px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 24px 0 30px; }
.footer p { color: var(--muted); font-size: .76rem; }
body:has(.cart-bar:not([hidden])) .footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
.cart-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 4; background: var(--white); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -5px 16px #2c241c12; }
.cart-bar-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-bar p, .demo-note { color: var(--muted); font-size: .8rem; }
dialog { width: min(calc(100% - 20px), 500px); max-height: 85dvh; padding: 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); }
dialog::backdrop { background: #2b231999; }
.dialog-title { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.dialog-title h2 { font-size: 2rem; }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-row p { color: var(--muted); font-size: .82rem; }
.quantity { display: flex; align-items: center; gap: 7px; }
.cart-total { display: flex; justify-content: space-between; padding: 15px 0 7px; font-weight: 700; }

@media (max-width: 360px) {
  .wrap { width: calc(100% - 26px); }
  .categories button { padding-inline: 9px; }
}
@media (max-width: 600px) {
  dialog { position: fixed; margin: auto 0 0; width: 100%; max-width: none; inset-inline: 0; border-radius: 12px 12px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}
@media (min-width: 740px) {
  .top { min-height: 74px; }
  .wordmark { font-size: 2rem; }
  .nav-link { display: block; color: var(--muted); font-size: .88rem; font-weight: 700; }
  .hero { grid-template-columns: .9fr 1.1fr; gap: clamp(18px, 4vw, 64px); padding-block: 41px 44px; }
  .hero h1 { font-size: clamp(4rem, 7.5vw, 6.75rem); }
  .hero-desc { font-size: 1rem; margin-top: 22px; }
  .hero .primary { margin-top: 23px; }
  .hero-visual { position: relative; min-height: 350px; }
  .hero-visual img { position: absolute; inset: 0; height: 100%; }
  .menu-head { grid-template-columns: 1fr minmax(250px, 355px); }
  .categories { padding-block: 14px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { min-height: 144px; padding: 11px; }
  .product h4 { font-size: 1rem; }
  .product p { font-size: .8rem; }
}
@media (min-width: 1020px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.top .wordmark { display: inline-flex; align-items: center; gap: 7px; }
.wordmark .brand-name { color: inherit; }
.top .wordmark img { flex: 0 0 38px; width: 38px; height: 38px; object-fit: contain; }

.feature { margin-bottom: 28px; }
.feature-panel { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #f1eade; }
.feature-panel img { width: 100%; height: auto; aspect-ratio: 1.76; object-position: center 52%; }
.feature-copy { padding: 19px 17px 22px; align-self: center; }
.feature-copy h2, .location h2 { font: 400 clamp(2.1rem, 6vw, 3.4rem)/.96 var(--serif); letter-spacing: -.05em; }
.feature-copy > p:not(.eyebrow), .location p { color: var(--muted); margin-top: 9px; font-size: .9rem; }
.feature-order { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; margin-top: 15px; }
.feature-order strong { font-size: 1rem; }

.location { display: grid; gap: 13px; align-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--white); margin-bottom: 36px; overflow: hidden; scroll-margin-top: 12px; }
.location-info { padding: 20px 17px 0; }
.location h2 { font-size: clamp(1.9rem, 5vw, 2.7rem); }
.location-info a { display: inline-flex; align-items: center; min-height: 44px; color: var(--olive-deep); font-size: .84rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.location-map { display: block; width: 100%; height: 190px; border: 0; background: #e8e5d6; }
.footer-inner p { margin-top: 6px; }
.footer-links { display: flex; align-items: center; gap: 14px; font-size: .84rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--olive-deep); }
.footer-links a:hover { text-decoration: underline; }
.instagram { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d5c5ae; border-radius: 50%; color: var(--olive); }
.instagram svg { width: 19px; height: 19px; }

@media (min-width: 740px) {
  .feature { margin-bottom: 37px; }
  .feature-panel { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
  .feature-panel img { align-self: stretch; height: 100%; max-height: 275px; }
  .feature-copy { padding: 20px clamp(23px, 4vw, 56px); }
  .location { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); margin-bottom: 48px; }
  .location-info { padding: 17px 32px; }
  .location-map { height: 220px; }
}
