:root {
  color-scheme: light;
  --paper: #fbf6e9;
  --sand: #f3e5ce;
  --ink: #2d2117;
  --muted: #655343;
  --accent: #8e391f;
  --line: #d7c6aa;
  --edge: max(5%, calc((100% - 1250px) / 2));
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 system-ui, sans-serif; }
h1, h2, h3, legend, .brand { font-family: Georgia, 'Times New Roman', serif; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.03; }
h1 { font-size: clamp(3.25rem, 6.1vw, 6.2rem); letter-spacing: -.065em; }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.045em; }
h3, legend { font-size: 1.65rem; }
p { margin: .75rem 0 1rem; }
a { color: inherit; text-underline-offset: .28em; }
button, .button { display: inline-block; background: var(--accent); padding: .77rem 1.35rem; color: white; font: inherit; font-weight: 700; border: 1px solid transparent; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: #6e2a16; }
button:disabled { opacity: .65; cursor: default; }
:focus-visible { outline: 3px solid #a45d29; outline-offset: 3px; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; min-height: 69px; padding: .65rem var(--edge); border-bottom: 1px solid var(--line); }
.header nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
.brand { font-weight: bold; font-size: clamp(1.16rem, 2vw, 1.5rem); text-decoration: none; }
.hero { display: grid; grid-template-columns: 45% 55%; background: var(--sand); }
.hero-copy { padding: 6.25rem 1.7rem 6.25rem max(11%, calc((100vw - 1250px) / 2)); align-self: center; }
.hero img { width: 100%; height: 100%; max-height: 690px; min-height: 580px; display: block; object-fit: cover; }
.eyebrow { margin: 0 0 1rem; font-size: .875rem; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; }
.lede { max-width: 28ch; font-size: 1.1rem; color: var(--muted); margin: 1.6rem 0 1.4rem; }
.section { padding: clamp(2.7rem, 6vw, 5.2rem) var(--edge); }
.menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 4vw, 3.4rem); margin-top: 2rem; }
.product { border-top: 1px solid var(--line); padding-top: 1.1rem; display: flex; flex-direction: column; align-items: start; }
.product h3 { margin-bottom: .35rem; }
.product .description { flex-grow: 1; color: var(--muted); }
.price { font-weight: 700; color: var(--accent); }
.product form { display: flex; align-items: end; gap: .65rem; flex-wrap: wrap; }
.product input { max-width: 5rem; }
label { display: block; font-weight: 600; }
input:not([type=radio]), select { background: #fffdfa; border: 1px solid #a88d70; min-height: 43px; width: 100%; color: var(--ink); border-radius: 0; padding: .5rem .65rem; font: inherit; }
.cart-section { background: var(--sand); }
.card { background: #fffcf5; border: 1px solid var(--line); padding: clamp(1rem, 3vw, 2rem); }
.cart-section .card { max-width: 650px; margin-top: 1.4rem; }
.cart-items { padding: 0; list-style: none; }
.cart-items li, .cart-total { display: flex; gap: .7rem; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: .55rem 0; }
.cart-items .line-name { margin-right: auto; }
.cart-total { margin-bottom: 1.2rem; border-bottom: 0; }
.quiet { background: transparent; color: var(--accent); padding: .35rem .55rem; text-decoration: underline; }
.quiet:hover { background: var(--sand); }
footer.header { border-bottom: 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.page-title { font-size: clamp(3rem, 6vw, 5rem); }
.checkout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.75rem; align-items: start; }
fieldset { border: 0; margin: 0 0 1.3rem; padding: 0; min-width: 0; }
legend { margin-bottom: .45rem; }
fieldset label, #venmo-field { margin-bottom: .65rem; }
.pickup { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.subheading { font-size: 2rem; letter-spacing: -.03em; margin-bottom: .7rem; }
.radio { display: flex; gap: .55rem; align-items: center; }
[role=alert] { color: #8b1d14; }
[role=alert]:empty, [role=status]:empty { display: none; margin: 0; }
.manage-grid { display: grid; gap: 1.25rem; margin: 1rem 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.login { max-width: 440px; }
.login button, .settings button { margin-top: .8rem; }
@media (max-width: 900px) {
  .hero-copy { padding-top: 4rem; padding-bottom: 4rem; }
  .hero img { min-height: 420px; }
  .pickup { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  .hero, .menu, .checkout { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.4rem 5%; }
  .hero img { min-height: 0; height: auto; max-height: 430px; }
  .checkout aside { grid-row: 1; }
}

/* Footer navigation */
footer.header .footer-links { flex-wrap: wrap; gap: .75rem 1.5rem; }
footer.header .footer-links a { color: var(--muted); }
footer.header .footer-links a:hover { color: var(--accent); }
