:root { color-scheme: light; font: 15px/1.65 'DM Sans', sans-serif; color: #26392e; background: #f7f4e9; --green: #22382d; --gold: #f4b747; --muted: #62695e; --line: #d9dccd; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; padding: .85rem 1.25rem; border: 1px solid transparent; border-radius: 6px; background: var(--green); color: #fffdf4; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
button:hover, .button:hover { background: #365341; }
button:disabled { opacity: .6; cursor: default; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #bb8119; outline-offset: 4px; }
.skip { position: absolute; z-index: 3; left: 20px; top: -80px; padding: 10px; background: white; }
.skip:focus { top: 10px; }
header { border-bottom: 1px solid var(--line); }
.bar, main, .footer-inner { width: min(1216px, calc(100% - 80px)); margin: auto; }
.bar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--green); font: 30px/1 'DM Serif Text', Georgia, serif; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 29px; height: 23px; display: inline-grid; place-items: center; border-radius: 65% 45% 60% 45%; transform: rotate(-30deg); background: var(--green); color: var(--gold); font: 25px/1 Georgia, serif; }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1.7rem; font-size: 13px; font-weight: 700; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
nav button { padding: .45rem .75rem; }
nav .nav-cta { padding: .85rem 1.25rem; }
main { min-height: 65vh; padding-top: 34px; padding-bottom: 0; }
h1, h2, h3 { font-family: 'DM Serif Text', Georgia, serif; font-weight: 400; line-height: 1.08; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(44px, 6vw, 80px); }
h2 { font-size: clamp(34px, 4.5vw, 60px); }
h3 { font-size: 30px; }
p { margin: .6rem 0 1rem; }
.eyebrow { font: 700 11px/1.4 'DM Sans', sans-serif; letter-spacing: .19em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: 47% 53%; min-height: 505px; overflow: hidden; border-radius: 16px; background: var(--green); color: #f7f4e9; }
.hero-copy { padding: clamp(30px, 5vw, 68px); align-self: center; }
.hero .account { color: var(--green); }
.hero .eyebrow { color: var(--gold); margin: 0 0 26px; }
.hero h1 { line-height: 1.07; margin-bottom: 24px; }
.hero h1 em { display: block; color: var(--gold); font-weight: 400; }
.hero-description { max-width: 365px; color: #e3e6d9; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; font-size: 14px; font-weight: 700; }
.hero-actions .button { background: var(--gold); color: var(--green); }
.hero-actions .button:hover { background: #ffc863; }
.hero-photo { min-height: 100%; background: #4c5134 url('/hero.jpg') center / cover; }
.catalog { padding: 58px 0 64px; }
.section-heading { display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 2rem; margin: 0 0 28px; }
.section-heading .eyebrow { margin: 0 0 18px; }
.section-heading > p { color: var(--muted); margin: 0; max-width: 350px; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.panel { background: #fcfbf5; border: 1px solid var(--line); border-radius: 13px; padding: 26px; min-width: 0; }
.product-card { display: flex; flex-direction: column; align-items: flex-start; }
.size, .account, .status { display: inline-block; padding: 5px 11px; border-radius: 20px; background: #e8ebdf; font-size: 12px; font-weight: 700; }
.product-card h3 { margin: 16px 0 8px; }
.product-card .description { color: var(--muted); }
.price { font-size: 24px; font-weight: 700; margin: 8px 0 0; }
.price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.product-controls { width: 100%; display: flex; gap: 10px; align-items: end; margin-top: auto; padding-top: 16px; }
.product-controls label { margin: 0; flex: 1; }
.product-controls input { width: 100%; }
.product-controls button { padding: 11px 15px; font-size: 13px; }
label { display: grid; gap: 5px; margin: 12px 0; font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid #a9b0a2; border-radius: 5px; padding: 11px 12px; color: var(--green); background: white; min-height: 45px; }
textarea { resize: vertical; }
.wholesale { background: #e8ebdd; margin-inline: calc((min(1216px, 100vw - 80px) - 100vw) / 2); padding: 66px max(40px, calc((100vw - 1216px) / 2)); }
.wholesale-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 8vw, 120px); }
.wholesale-copy .eyebrow { margin: 0 0 25px; }
.wholesale-copy h2 { max-width: 430px; }
.wholesale-copy > p:not(.eyebrow) { color: var(--muted); max-width: 410px; margin: 20px 0 26px; }
.specs { margin: 0; max-width: 420px; }
.specs div { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #bfc5b5; padding: 12px 0; }
.specs div:last-child { border-bottom: 1px solid #bfc5b5; }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; text-align: right; color: var(--muted); }
.quote-form { padding: 30px; }
.quote-form h3 { font-size: 34px; }
.quote-form > p { color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.quote-form button { background: var(--gold); color: var(--green); margin-top: 6px; }
.quote-form button:hover { background: #ffc863; }
.checkout { margin: 0 0 50px; }
.checkout h2 { font-size: 34px; }
.checkout .price { margin: 12px 0; }
.checkout label { max-width: 600px; }
.line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.line button { font-size: 13px; padding: 7px 12px; }
.login { max-width: 480px; margin: 25px auto 80px; padding: 32px; }
.login h1 { font-size: 38px; margin-bottom: 24px; }
.login a { display: inline-block; margin: 20px 0 0 12px; font-size: 13px; }
.login p { font-size: 13px; }
.order { margin: 22px 0; }
.order h2 { font-size: 30px; }
.order button { margin: 8px 10px 0 0; }
.delivered { background: #d2e8cb; }
.cancelled { background: #f4d7c8; }
#message { position: sticky; top: 12px; z-index: 2; margin: 0 0 18px; padding: 13px 18px; border: 1px solid #bfceb7; background: #e5eddb; border-radius: 8px; box-shadow: 0 5px 24px #22382d12; }
#message.error { background: #fbe3da; border-color: #dfb8a6; }
.quote-result { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
footer { background: var(--green); color: #f7f4e9; }
.footer-inner { padding: 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
footer .brand { color: inherit; }
footer .brand-mark { background: var(--gold); color: var(--gold); }
footer p { margin: 0; font-size: 13px; }
@media (max-width: 1000px) { .bar { gap: 20px; } nav { gap: 16px; } nav .nav-cta { display: none; } .hero-copy { padding: 36px; } .hero { min-height: 450px; } .product-controls { flex-wrap: wrap; } .product-controls button { width: 100%; } .wholesale-inner { gap: 35px; } .quote-form { padding: 24px; } }
@media (max-width: 700px) { .bar, main, .footer-inner { width: calc(100% - 36px); } .bar { padding: 20px 0; flex-wrap: wrap; } .brand { font-size: 27px; } nav { width: 100%; justify-content: space-between; gap: 10px; font-size: 12px; } main { padding-top: 20px; } .hero { grid-template-columns: 1fr; } .hero-copy { padding: 36px 28px 40px; } .hero h1 { font-size: 62px; } .hero-photo { min-height: 290px; } .hero-actions { gap: 18px; font-size: 13px; } .hero-actions .button { padding: 13px 16px; } .catalog { padding: 38px 0; } .section-heading { grid-template-columns: 1fr; gap: 18px; } .section-heading h2 { font-size: 43px; } .products { grid-template-columns: 1fr; } .product-controls { flex-wrap: nowrap; } .product-controls button { width: auto; } .wholesale { margin-inline: -18px; padding: 40px 18px; } .wholesale-inner { grid-template-columns: 1fr; gap: 28px; } .wholesale-copy h2 { font-size: 48px; } .form-grid { grid-template-columns: 1fr; } .quote-form { padding: 24px 20px; } .quote-form h3 { font-size: 31px; } .footer-inner { align-items: flex-start; flex-direction: column; } .login { padding: 25px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.farm-story { margin-top: 32px; padding: clamp(24px, 4vw, 48px); }
.farm-story h2 { font-size: clamp(32px, 3.5vw, 46px); margin: 18px 0; }
.farm-story > p:not(.eyebrow) { max-width: 85ch; color: var(--muted); }
.farm-story > p:last-child { margin-bottom: 0; }

.admin-area main { padding-bottom: 60px; }
.admin-area h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 26px; }
.admin-label { font: 600 12px/1 'DM Sans', sans-serif; background: #e8ebdd; color: var(--green); padding: 8px 10px; border-radius: 5px; letter-spacing: 0; }
.admin-user { color: var(--muted); }
.admin-shell { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; }
.admin-shell aside { border-right: 1px solid var(--line); padding-right: 20px; }
#admin-nav { display: flex; flex-direction: column; align-items: stretch; gap: 6px; position: sticky; top: 24px; }
#admin-nav a { padding: 12px 15px; border-radius: 6px; text-decoration: none; }
#admin-nav a:hover { background: #e8ebdd; }
#admin-nav a[aria-current] { color: #fffdf4; background: var(--green); }
.admin-auth .admin-shell { display: block; }
.admin-auth aside { display: none; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; }
.admin-heading h1 { margin-bottom: 0; }
.admin-heading p { margin: 0; color: var(--muted); }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.stat-card { display: grid; gap: 10px; text-decoration: none; }
.stat-card:hover { border-color: #8c9a80; }
.stat-card span { color: var(--muted); font-size: 14px; }
.stat-card strong { font: 48px/1.2 'DM Serif Text', Georgia, serif; }
.admin-shell #view > .panel { margin-top: 20px; }
.table-wrap { overflow-x: auto; padding: 0; }
.table-wrap table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.table-wrap th, .table-wrap td { padding: 16px; border-bottom: 1px solid var(--line); }
.table-wrap th { background: #e8ebdd; font-size: 12px; }
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap button { font-size: 13px; padding: 7px 13px; }
.product-editor h2 { font-size: 30px; margin-bottom: 20px; }
.checkbox-label { display: flex; align-items: center; gap: 10px; }
.checkbox-label input { width: 18px; min-height: 18px; accent-color: var(--green); }
.form-actions { display: flex; gap: 12px; margin-top: 20px; }
.secondary { color: var(--green); background: #e8ebdd; }
.secondary:hover { background: #d7dfcc; }
.order-filter { max-width: 260px; }
@media (max-width: 850px) { .admin-shell { grid-template-columns: 155px minmax(0, 1fr); gap: 20px; } .admin-shell aside { padding-right: 12px; } }
@media (max-width: 700px) { .admin-shell { display: block; } .admin-shell aside { border-right: 0; padding: 0; margin-bottom: 28px; } #admin-nav { flex-direction: row; justify-content: flex-start; position: static; gap: 5px; } #admin-nav a { padding: 9px 11px; } .admin-area header nav { width: auto; } .admin-area .bar { align-items: center; } .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .stat-card { padding: 18px; } .admin-area .login h1 { font-size: 32px; } }

.customer-details { display: grid; gap: 2px; }
.customer-details span { color: var(--muted); font-size: 14px; }
