:root {
  --green: #184b36;
  --green-dark: #0b3021;
  --brown: #85543b;
  --sage: #edf3eb;
  --ink: #353a35;
  --border: #d5ddd6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #94734c; outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(1280px, calc(100% - 120px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 12px; padding: 14px 20px; color: #fff; background: var(--green); border-radius: 4px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: #fff; }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex-shrink: 0; width: 222px; }
.brand-tagline { display: block; margin-top: 2px; color: var(--brown); font-size: 12px; line-height: 1.4; text-align: center; }
.site-header .brand { margin-block: 0; transform: translateY(-3px); }
.site-header .header-inner { padding-block: 10px; border-bottom: 1px solid var(--green-dark); }
.site-header .brand img { width: 100%; }
.navigation { display: flex; align-items: center; gap: 46px; font-size: 18px; }
.about-link { padding-block: 12px; }
.about-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 19px; min-height: 52px; padding: 13px 29px; border: 1px solid transparent; border-radius: 6px; line-height: 1.35; font-weight: 600; transition: background-color .18s ease, border-color .18s ease; }
.button-outline { min-width: 148px; color: var(--green-dark); border-color: var(--green); background: #fff; }
.button-outline:hover { background: var(--sage); }
.button-primary { color: #fff; background: var(--green); border-color: var(--green); }
.button-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }

.hero { overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 46% 54%; align-items: center; min-height: 580px; padding-block: 18px 34px; }
.hero-copy { z-index: 1; position: relative; padding-block: 20px 35px; }
.eyebrow { color: var(--brown); font-size: 13px; line-height: 1.65; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 25px; }
h1, h2, h3 { color: var(--green-dark); font-family: var(--serif); font-weight: 600; }
h1 { margin: 0 0 34px; font-size: clamp(58px, 6.2vw, 88px); line-height: 1.05; letter-spacing: -.047em; }
h1 span { display: block; white-space: nowrap; }
.hero-description { margin: 0 0 32px; font-size: 23px; line-height: 1.55; }
.hero-button { min-height: 62px; font-size: 22px; padding-inline: 30px; }
.hero-picture { position: relative; width: 117%; margin-left: -6%; }
.hero-picture img { width: 100%; }

.orders { background: var(--sage); }
.orders-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 64px; padding-block: 32px; }
.orders-copy .eyebrow { margin-bottom: 16px; }
h2 { font-size: clamp(38px, 4.65vw, 65px); line-height: 1.12; letter-spacing: -.047em; margin: 0 0 24px; }
.orders-copy > p:last-child { margin: 0; font-size: 23px; line-height: 1.5; }
.login-card { width: 100%; margin: 0; padding: 24px 36px 26px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
h3 { margin: 0 0 20px; font-size: 42px; line-height: 1.1; letter-spacing: -.035em; }
label { display: block; margin-bottom: 7px; font-size: 17px; line-height: 1.4; font-weight: 600; color: #252b26; }
input { display: block; width: 100%; height: 50px; min-width: 0; padding: 10px 14px; border: 1px solid #cdd6cf; border-radius: 6px; background: #fff; color: #263d2d; font-size: 19px; transition: border-color .18s ease; }
input:hover { border-color: #899d8d; }
input:focus { border-color: var(--green); }
input[aria-invalid="true"] { border-color: #9c392e; }
.login-button { width: 100%; min-height: 50px; margin-top: 18px; padding-block: 10px; font-size: 19px; }
.form-message { margin: 14px 0 0; color: var(--brown); font-size: 14px; line-height: 1.5; }
.form-message.is-error { color: #8f3028; }

.site-footer .footer-inner { border-top: 1px solid var(--green-dark); }
.footer-inner { min-height: 54px; display: flex; justify-content: center; align-items: center; gap: 24px; text-align: center; }
.location-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: center; gap: 48px; padding-block: 56px; }
.location-copy address { font-style: normal; font-size: 20px; line-height: 1.8; }
.location-copy a { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.location-map { display: block; width: 100%; border: 1px solid var(--border); border-radius: 8px; }
.site-footer p { color: var(--brown); font-size: 15px; margin: 0; }

@media (min-width: 1600px) {
  .hero-inner { min-height: 610px; }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .brand { width: 222px; }
  .hero-inner { min-height: 500px; grid-template-columns: 47% 53%; }
  h1 { font-size: clamp(49px, 6.1vw, 68px); }
  .hero-description, .orders-copy > p:last-child { font-size: 19px; }
  .hero-copy .eyebrow { max-width: 340px; font-size: 11px; }
  .hero-button { font-size: 18px; min-height: 56px; }
  .orders-inner { gap: 36px; grid-template-columns: 1.1fr 1fr; }
  .login-card { padding: 24px; }
  h2 { font-size: 43px; }
  h3 { font-size: 36px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 90px; gap: 16px; }
  .brand { width: 180px; }
  .navigation { gap: 19px; font-size: 15px; }
  .button-outline { min-width: 0; min-height: 44px; padding: 10px 17px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-block: 22px 20px; }
  .hero-copy { padding-block: 5px 0; }
  .hero-copy .eyebrow { max-width: none; font-size: 11px; margin-bottom: 20px; }
  h1 { font-size: clamp(45px, 8.5vw, 66px); margin-bottom: 23px; letter-spacing: -.04em; }
  .hero-description { font-size: 19px; line-height: 1.55; margin-bottom: 25px; max-width: 440px; }
  .hero-button { min-height: 54px; padding-inline: 24px; }
  .hero-picture { width: 100%; max-width: 590px; margin: 20px auto 0; }
  .orders-inner { grid-template-columns: 1fr; gap: 27px; padding-block: 34px; }
  .orders-copy .eyebrow { font-size: 11px; margin-bottom: 13px; }
  h2 { font-size: clamp(34px, 7.6vw, 46px); margin-bottom: 13px; }
  .orders-copy > p:last-child { font-size: 18px; }
  .login-card { padding: 25px; }
  h3 { font-size: 35px; }
  .footer-inner { min-height: 48px; }
  .location-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 34px; }
  .location-copy address { font-size: 18px; }
  .location-map { height: 300px; }
  .site-footer p { font-size: 13px; line-height: 1.6; }
}
@media (max-width: 430px) {
  .brand { width: 154px; }
  .navigation { gap: 12px; font-size: 14px; }
  .about-link { display: none; }
  h1 { font-size: clamp(39px, 9.8vw, 45px); }
  .desktop-break { display: none; }
  .hero-description { font-size: 17px; }
  .hero-copy .eyebrow { max-width: 290px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Existing server-rendered ordering controls, integrated into the supplied design. */
.b2b-form { display: grid; gap: 18px; }
.b2b-form label:not(.b2b-upload) { display: grid; gap: 7px; margin: 0; }
.b2b-form textarea { width: 100%; min-width: 0; resize: none; overflow-y: hidden; min-height: 145px; border: 1px solid var(--border); border-radius: 6px; padding: 12px 14px; color: var(--ink); background: #fff; font: inherit; }
.b2b-form textarea:focus-visible { outline: 3px solid #94734c; outline-offset: 3px; }
.b2b-form textarea::placeholder { color: #697586; opacity: 1; }
.b2b-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; padding: 11px 16px; border: 1px solid var(--green); border-radius: 6px; background: #fff; color: var(--green); font: inherit; font-weight: 600; cursor: pointer; text-align: center; }
.b2b-submit { color: #fff; background: var(--green); }
.b2b-submit:hover { background: var(--green-dark); }
.b2b-button svg { width: 21px; height: 21px; flex-shrink: 0; }
.b2b-upload { margin: 0; }
.b2b-divider { display: flex; align-items: center; gap: 14px; color: #788596; font-size: 14px; text-align: center; }
.b2b-divider::before, .b2b-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.b2b-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.b2b-upload:focus-within { outline: 3px solid #94734c; outline-offset: 3px; }
.b2b-file-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.b2b-file-choice [data-file-name] { overflow-wrap: anywhere; flex: 1; min-width: 0; }
.b2b-file-choice button, .b2b-switch button { border: 0; padding: 5px; background: none; color: var(--green); font: inherit; cursor: pointer; }
.b2b-switch { margin-top: 22px; text-align: center; }
.b2b-switch button { font-size: 14px; text-decoration: underline; }
.error-box { padding: 12px; margin: 0 0 20px; background: #fff2f2; color: #9d2323; border: 1px solid #f2c8c8; border-radius: 6px; }
.error-box p { margin: 4px 0; overflow-wrap: anywhere; }
.login-card h3 { overflow-wrap: anywhere; }
.login-card .b2b-greeting { font-size: 14px; line-height: 1.4; letter-spacing: normal; }
.b2b-greeting-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.b2b-greeting-row .b2b-greeting { margin: 0; min-width: 0; }
.b2b-logout { margin: 0; flex-shrink: 0; }
.b2b-logout button { border: 0; padding: 5px 0 5px 8px; background: none; color: var(--green); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.b2b-thanks p { margin: 0 0 22px; line-height: 1.5; }
.b2b-last-order { padding-top: 22px; margin-top: 24px; border-top: 1px solid var(--border); }
.b2b-last-order h4 { margin: 0 0 10px; color: var(--green-dark); font-size: 18px; }
.b2b-last-order p { font-size: 14px; line-height: 1.5; }
.b2b-last-text { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.5; }
.b2b-last-photo { width: 100%; max-height: 400px; object-fit: contain; margin-block: 12px; }
.b2b-last-order summary { color: var(--green); cursor: pointer; font-weight: 600; padding-block: 10px; }
.driver-container { padding-block: 28px; }
.driver-interface .b2b-greeting { margin: 0; font: bold 16px var(--sans); }
.driver-interface .grid-table td { white-space: pre-line; overflow-wrap: anywhere; }
.driver-interface .grid-table tbody tr td[data-grid-field="products"], .driver-interface .grid-table tbody tr td[data-grid-field="delivery_notes"] { white-space: pre-line; }
.driver-delivery-form { display: grid; gap: 12px; white-space: normal; }
.driver-delivery-form label { display: grid; gap: 6px; font-size: 14px; }
.driver-interface .page-header h1 { font-size: 22px; letter-spacing: normal; }
.driver-interface .grid-table > tbody > tr.delivery-card-delivered > td[data-grid-field="delivery"] { display: none; }
@media (max-width: 430px) { .about-link { display: inline; } }

@media (min-width: 761px) { .hero h1 { font-size: clamp(40px, 5.2vw, 76px); } }
