/* Flour Transport: mobile-first, no external fonts or frameworks */
:root {
  --cream: #fbf6ec;
  --cream-2: #f4ead6;
  --wheat: #e2b04f;
  --wheat-deep: #b7832f;
  --wheat-light: #f6e7c4;
  --charcoal: #2b2a27;
  --charcoal-2: #3a3833;
  --text: #2b2a27;
  --muted: #6a645a;
  --line: #e6d9bf;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wheat-deep); text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--charcoal); }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--charcoal); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--wheat-deep); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.3em; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; font-family: inherit; }
.btn-sm { min-height: 40px; padding: .4em 1em; font-size: .95rem; }
.btn-dark { background: var(--charcoal); color: var(--cream); }
.btn-dark:hover { background: #000; color: #fff; }
.btn-wheat { background: var(--wheat); color: var(--charcoal); }
.btn-wheat:hover { background: #ecc06a; color: var(--charcoal); }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }
.btn-outline-light { border-color: var(--wheat-light); color: var(--wheat-light); background: transparent; }
.btn-outline-light:hover { background: var(--wheat-light); color: var(--charcoal); }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0 1em; }
.cta-row .btn { flex: 1 1 200px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 236, .95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; text-decoration: none; color: var(--charcoal); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; white-space: nowrap; letter-spacing: .01em; color: inherit; margin: 0; }
.nav { display: none; }
.header-call span { white-space: nowrap; }

/* Hero */
.hero { padding: 20px 0 8px; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.hero-grid { display: grid; gap: 22px; align-items: center; }
.tagline { font-family: var(--serif); font-style: italic; color: var(--wheat-deep); font-size: 1.2rem; margin-bottom: .4em; }
.lead { font-size: 1.1rem; color: var(--charcoal-2); }
.hero-media { margin: 0; order: -1; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(43, 42, 39, .45); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 62%; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 32px 0 24px; }
.facts li { background: #fffdf8; padding: 14px 16px; display: flex; flex-direction: column; }
.facts strong { font-size: .98rem; color: var(--charcoal); }
.facts span { font-size: .85rem; color: var(--muted); }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--wheat-light); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--wheat-deep); margin-bottom: .5em; }

.cards { display: grid; gap: 14px; }
.card { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .35em; }
.card p { margin-bottom: .6em; color: var(--charcoal-2); font-size: 1rem; }
.card .pack { margin: auto 0 0; padding-top: .4em; font-size: .85rem; font-weight: 650; color: var(--wheat-deep); }
.products .card { border-top: 4px solid var(--wheat); }
.note { margin-top: 24px; padding: 18px 20px; border-left: 4px solid var(--wheat); background: var(--cream-2); border-radius: 0 var(--radius) var(--radius) 0; }
.note p:last-child { margin-bottom: 0; }

.serve .card { background: #fffdf8; }
.areas { margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.chips li { background: var(--charcoal); color: var(--cream); padding: 6px 14px; border-radius: 999px; font-size: .95rem; }

.steps { display: grid; gap: 14px; counter-reset: step; }
.steps li { position: relative; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px 72px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--wheat); color: var(--charcoal); font-family: var(--serif); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; }
.steps p { margin: 0; color: var(--charcoal-2); font-size: 1rem; }
.about { margin-top: 28px; max-width: 760px; font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--charcoal-2); }
.about p { margin: 0; }

/* Contact */
.section-dark { background: var(--charcoal); color: #ece5d6; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--wheat); }
.section-dark a { color: var(--wheat); }
.contact-grid { display: grid; gap: 32px; }
.contact-list li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 1.05rem; }
.contact-list span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #b9b1a1; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--wheat); }
.section-dark .btn-wheat { color: var(--charcoal); }
.quote-form { background: var(--cream); color: var(--text); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.quote-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.quote-form input, .quote-form textarea { width: 100%; font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #cfc2a6; border-radius: 10px; background: #fff; color: var(--text); }
.quote-form input:focus, .quote-form textarea:focus { border-color: var(--wheat-deep); outline: 2px solid var(--wheat); outline-offset: 0; }
.field-row { display: grid; gap: 14px; }
.form-note { margin: 0; color: var(--muted); }
.quote-form .form-note a { color: var(--wheat-deep); }

/* Footer */
.site-footer { background: #22211f; color: #cfc7b6; padding: 32px 0; }
.site-footer a { color: var(--wheat); }
.site-footer .brand-name { color: #fff; }
.site-footer .muted { color: #9c9484; }
.site-footer p { margin: 0 0 .35em; }
.footer-inner { display: grid; gap: 16px; }

/* Mobile quick-contact bar */
.mobile-bar { position: sticky; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--charcoal); border-top: 2px solid var(--wheat); }
.mobile-bar a { color: var(--cream); text-decoration: none; text-align: center; font-weight: 650; padding: 16px 0; }
.mobile-bar a + a { border-left: 1px solid rgba(255, 255, 255, .15); }

@media (max-width: 380px) {
  .header-call { padding: .4em .8em; font-size: .9rem; }
  .brand img { width: 30px; height: 30px; }
}
@media (min-width: 600px) {
  .cards.products { grid-template-columns: 1fr 1fr; }
  .cards.serve { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .hero-media { order: 0; }
  .hero-media img { aspect-ratio: 1179 / 1051; object-position: 50% 50%; }
  .brand-name { font-size: 1.25rem; }
  .mobile-bar { display: none; }
  .nav { display: flex; gap: 26px; }
  .nav a { color: var(--charcoal); text-decoration: none; font-weight: 600; }
  .nav a:hover { color: var(--wheat-deep); }
  .hero { padding: 56px 0 16px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .cards.products { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 72px 20px 20px; }
  .steps li::before { left: 20px; top: 20px; }
  .section { padding: 80px 0; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
  .footer-inner { grid-template-columns: 1fr 2fr; align-items: start; }
  .footer-inner > div:last-child { text-align: right; }
}
@media (min-width: 1100px) {
  .cards.products { grid-template-columns: repeat(5, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Delivery-area groups (weekly runs) */
.area-groups { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 16px 0 6px; }
.area-group h4 { font-family: var(--serif); font-size: 1.02rem; margin: 0; color: var(--charcoal); }
.area-group .chips { margin: 8px 0 0; }
.note-inline { margin: 14px 0 8px; padding: 12px 16px; border-left: 4px solid var(--wheat); background: var(--cream-2); border-radius: 0 var(--radius) var(--radius) 0; }
@media (min-width: 900px) { .area-groups { grid-template-columns: 1fr 1fr; gap: 22px 32px; } }

/* Trade prices on site */
.price-tag { margin: auto 0 0; padding-top: .45em; font-size: .95rem; font-weight: 700; color: var(--charcoal); font-variant-numeric: tabular-nums; }
.price-tag .ex { font-size: .78rem; font-weight: 600; color: var(--muted); }
.price-tag.call { color: var(--wheat-deep); font-size: .9rem; }
.delivery-banner { margin: 20px 0 0; padding: 16px 18px; background: var(--wheat-light); border: 1px solid var(--line); border-left: 5px solid var(--wheat); border-radius: 0 var(--radius) var(--radius) 0; }
.delivery-banner strong { color: var(--charcoal); }
.delivery-banner p { margin: 0 0 .4em; }
.delivery-banner p:last-child { margin-bottom: 0; }
.price-table-wrap { margin-top: 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fffdf8; }
.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-table th, .price-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--wheat-light); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--charcoal); }
.price-table tr:last-child td { border-bottom: none; }
.price-table .r { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table .call { color: var(--wheat-deep); font-weight: 650; }
.price-table .cat td { background: var(--charcoal); color: var(--wheat); font-family: var(--serif); font-weight: 700; font-size: 1rem; padding: 8px 14px; }
.area-group.focus { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.area-group.focus h4 { color: var(--wheat-deep); }
.area-group.focus .chips li { background: var(--wheat-deep); color: #fff; }
