/* Palette drawn from the supplied farm logo. Keep original PNGs unchanged. */
:root {
  --green: #234b35;
  --ink: #343b31;
  --paper: #f7f5ed;
  --line: #deddd0;
  --gold: #b58b3b;
  --gold-dark: #79591f;
  --leaf: #647550;
  --muted: #5e6458;
  --cream: #eeece2;
  --surface: #fffdf7;
}
body, header, footer { background: var(--paper); }
.brand-image { background: transparent; width:170px; height:auto; overflow:visible; }
.brand-image img { position:static;display:block;width:100%;height:auto;max-width:100%; }
.brand-image.footer-brand { width:220px;height:auto; }
@media(max-width:640px) {
  header .brand-image { width:140px;height:auto; }
  .brand-image img { position:static;width:100%;height:auto; }
}
header { border-bottom: 1px solid var(--line); }
h1, h2 { color: var(--green); }
h3, .product-body .price { color: var(--ink); }
.preview { background: #354b3b; }
.preview, .button { color: #fff; }
.eyebrow { color: var(--gold-dark); }
.lead, .story p, .section-top p, .product-body p, .steps p,
.faq details p, form small, footer p, footer small { color: var(--muted); }
.body-lead { color: var(--ink) !important; }
.button { background: var(--green); border-bottom: 2px solid var(--gold); }
.button:hover { background: #173b28; }
.nav-cta { color: var(--green); border-color: var(--gold); }
nav a:hover, footer a:not(.brand):hover { color: var(--gold-dark); }
.strip { background: var(--paper); color: var(--green); }
.strip i { background: var(--gold); }
.products { background: var(--cream); }
.product, .subproducts article { background: var(--surface); }
.product { border: 1px solid var(--line); }
.product-art.brown { background: #e5dcc8; }
.product-art.white { background: #f1ede2; }
.product-art.half { background: #dde2d2; }
.product-art > span:last-child { color: #544122; }
.rice-bowl { color: #fffdf5; text-shadow: 0 8px 0 var(--leaf); }
.rice-product-figure { position: relative; margin: 0; }
.rice-product-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center bottom; }
.rice-product-figure figcaption { position: absolute; right: 8px; bottom: 8px; padding: 3px 9px; background: #fffdf5; color: #28372d; font-size: 12px; }
.card-payment-guide { margin-top: 32px; padding: clamp(16px, 4vw, 28px); background: #faf9f3; border: 1px solid #d6ccb5; }
.card-payment-guide h2 { font-size: clamp(20px, 3.5vw, 26px); margin: 0 0 16px; }
.card-payment-guide ol { margin: 0; padding-inline-start: 1.5em; }
.card-payment-guide li + li { margin-top: 12px; }
.card-payment-guide li p { margin: 4px 0 0; }
.product-body small { color: var(--gold-dark); }
.product button { color: var(--green); border-color: #a9ba86; }
.product button:hover { border-color: var(--gold); }
.sub-symbol { color: var(--green); background: #edf0de; }
.subproducts button { color: var(--green); }
.principles article > span, .steps b { color: var(--gold-dark); }
.steps article { border-color: var(--line); }
.pending { color: var(--muted) !important; border-left-color: var(--gold); }
.contact { background: #e6eadf; border-top: 1px solid #d3dac9; }
select, textarea { background: var(--surface); border-color: #7c8973; }
.menu { color: var(--green); border-color: #7c8973; }
.image-label { background: #234b35eb; }
dialog { background: var(--paper); }
dialog dt { color: var(--gold-dark); }
dialog::backdrop { background: #123c22ad; }
a:focus-visible, button:focus-visible, summary:focus-visible,
select:focus-visible, textarea:focus-visible { outline-color: var(--gold-dark); }
.contact a[href^='mailto:'] { color: var(--green); }
.purchase-help{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:22px;padding:28px 30px;margin:0 0 30px;border:1px solid #cfd5c3;background:var(--paper)}
.purchase-help h3{font-size:22px;margin:0 0 10px}.purchase-help .eyebrow{margin-bottom:8px}.purchase-help p{font-size:13px;color:var(--muted);margin:0}
.text-link{color:var(--green);border-bottom:1px solid var(--gold);font-size:12px;padding:10px 0}
.purchase-assurance{width:100%;display:flex;gap:25px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:18px;font-size:12px;color:var(--green)}
.purchase-assurance span::before{content:'✓';margin-right:8px}
.product-body .fee-note{display:block;font-size:11px;color:var(--muted);margin-bottom:12px;line-height:1.8}
.product-grid .product { display: flex; flex-direction: column; }
.product-grid .product-body { display: flex; flex: 1; flex-direction: column; }
.product-grid .product-body > p:not(.price) { flex: 1; }
.products .price { font-size: 0.875rem; }
.products .price strong { font-size: 1rem; color: var(--ink); }
.products .fee-note { display: block; margin-bottom: 12px; font-size: 0.8125rem; color: var(--muted); }
.products button.product-choice {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #a9ba86;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}
.products button.product-choice:disabled { opacity: 0.65; cursor: default; }
.subproducts article > div { flex: 1; min-width: 0; }
.selection-status{padding:12px 15px;border-left:3px solid var(--gold);background:#ffffff80;color:var(--green);font-size:13px;margin:0 0 24px}
.request-fields input{display:block;width:100%;padding:13px;border:1px solid #7c8973;background:var(--surface);color:var(--ink);font:inherit;font-size:16px;margin-top:7px;border-radius:0}
.request-fields input:focus-visible{outline:3px solid var(--gold-dark);outline-offset:4px}
.request-item{border:1px solid #aeb9a3;padding:18px;margin:0 0 18px;min-width:0;background:#ffffff50}
.request-item legend{padding:0 8px;font-size:12px;color:var(--green)}
.item-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,.55fr);gap:14px}
.request-item input{display:block;width:100%;padding:13px;border:1px solid #7c8973;background:var(--surface);font:inherit;font-size:16px;color:var(--ink);margin-top:7px;border-radius:0}
.request-item label{min-width:0}.request-item [hidden]{display:none!important}
.add-item,.remove-item{min-height:44px;background:none;color:var(--green);border:1px solid #7c8973;padding:8px 15px}
.add-item{width:100%;border-style:dashed}.add-item:disabled{opacity:.5;cursor:default}
.remove-item{font-size:12px;border:0;text-decoration:underline;padding-left:0}
.form-hint{font-size:11px;color:var(--muted);margin:12px 0 24px}
.confirmed-items{padding-left:20px}.confirmed-items li{margin:8px 0}
.spam-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.privacy-check{display:flex;align-items:flex-start;gap:10px;margin-top:18px}.privacy-check input{margin-top:6px;width:18px;height:18px;flex-shrink:0}
.privacy-notice{font-size:12px}.privacy-notice p{color:var(--muted)}
.form-errors{background:#fff0e9;color:#7b3026;border-left:3px solid #9a4536;padding:14px;margin-bottom:18px;white-space:pre-line}
#send-status{white-space:pre-line}#send-inquiry:disabled{opacity:.6;cursor:wait}.close-bottom{padding:12px 0;border:0;background:none;color:var(--green);text-decoration:underline}
@media(max-width:360px){.item-main{grid-template-columns:1fr}.request-item{padding:14px}}
dialog{max-height:calc(100dvh - 40px);overflow-y:auto}
@media(max-width:640px){.purchase-help{padding:22px}.purchase-help h3{font-size:19px}.purchase-help br{display:none}.purchase-assurance{gap:10px;flex-direction:column}.hero-note{line-height:2}}

/* The family story and its landscape lead visitors into the product story. */
.mobile-break { display:none; }
.wellness { text-align:center;border-top:1px solid var(--line); }
.wellness h2 { font-family:Georgia,serif;letter-spacing:.06em;font-size:clamp(32px,4vw,49px);margin-bottom:24px; }
.wellness > p:not(.eyebrow):not(.body-lead) { color:var(--muted);line-height:2.2; }
@media(max-width:640px) { .wellness > p br { display:none; } }
.hero { position:relative;display:block;min-height:680px;isolation:isolate;background:var(--paper); }
.hero .landscape { position:absolute;inset:0;min-height:0;z-index:-1; }
.hero .landscape::after { content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f7f5edfa 0%,#f7f5edf2 30%,#f7f5edb8 49%,#234b3510 72%,#173b2838 100%); }
.hero .farm-hero-photo { object-position:center; }
.hero-copy { position:relative;width:70%;padding:95px 5% 80px 8%; }
.hero h1 { font-size:clamp(40px,4.9vw,72px);letter-spacing:.1em;line-height:1.6; }
.hero .lead { color:var(--ink);line-height:2.3; }
.hero .vertical,.hero .image-label { z-index:1; }
.hero .image-label { left:auto;right:18px;max-width:90%; }
.hero-actions { display:flex;align-items:center;gap:28px;flex-wrap:wrap; }
.hero-product-link { color:var(--green);font-size:12px;border-bottom:1px solid var(--gold-dark);padding:10px 0; }
.heritage { display:grid;grid-template-columns:1fr 1fr;gap:10%;padding-top:115px;padding-bottom:115px; }
.heritage h2 { line-height:1.95; }
.heritage-body > p:not(.body-lead) { line-height:2.3;color:var(--muted); }
.inheritance { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:40px;padding-top:24px;border-top:1px solid var(--line);font-size:12px;color:var(--green); }
.inheritance i { font-style:normal;color:var(--gold-dark); }
.terroir { background:#213f30;color:#f7f5ed; }
.terroir-inner { display:grid;grid-template-columns:1fr 1fr;gap:10%; }
.terroir .eyebrow { color:#d9be82; }
.terroir h2,.terroir h3 { color:#f7f5ed; }
.terroir-heading > p:last-child { color:#dde3d8;line-height:2.2; }
.land-notes article { display:flex;gap:25px;padding:25px 0;border-top:1px solid #ffffff35; }
.land-notes article:first-child { padding-top:0;border-top:0; }
.land-word { font:38px 'Noto Serif JP',serif;color:#d9be82;flex-shrink:0; }
.land-notes h3 { font-size:21px;margin:0 0 10px; }
.land-notes p { margin:0;color:#dde3d8;line-height:2;font-size:13px; }
@media(max-width:850px) { nav{gap:16px}.hero-copy{width:85%;padding:70px 7%}.hero{min-height:620px}.heritage,.terroir-inner{gap:40px} }
@media(max-width:640px) {
 .hero{min-height:0;display:flex;flex-direction:column;background:var(--paper)}
 .hero-copy{width:100%;padding:45px 7% 35px}
 .hero h1{font-size:clamp(29px,9vw,38px);letter-spacing:.04em}.hero .lead{font-size:13px}
 .hero .landscape{position:relative;inset:auto;min-height:0;height:300px;z-index:0}
 .hero .landscape::after{background:linear-gradient(0deg,#173f2844,transparent 55%)}
 .hero .vertical{font-size:17px;right:20px;top:25px}
 .hero-actions{gap:22px}.hero .image-label{right:10px}
 .heritage,.terroir-inner{grid-template-columns:1fr;gap:25px}
 .heritage{padding-top:60px;padding-bottom:60px}.heritage h2{margin-bottom:0}
 .inheritance{font-size:11px;gap:8px}.land-word{font-size:32px}.land-notes article{gap:20px}
 h2{font-size:clamp(22px,6.2vw,26px);letter-spacing:.025em}
 .body-lead{font-size:19px}
 .mobile-break{display:initial}
 .menu{min-height:44px;min-width:76px}
 nav a{padding:10px 0;min-height:44px}
 .product button,.subproducts button{min-height:44px}
 select,textarea{font-size:16px}
 .hero-actions .button{gap:24px}
}

.sales-conditions{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:32px 0;padding:28px;background:var(--paper,#f8f5ed);border:1px solid #ccd1c1}.sales-conditions h3{margin:0 0 12px}.sales-conditions p{line-height:1.9}.sales-conditions table{width:100%;border-collapse:collapse;margin-bottom:12px}.sales-conditions caption{text-align:left;margin-bottom:8px;font-size:.9rem}.sales-conditions th,.sales-conditions td{text-align:left;padding:8px;border-bottom:1px solid #ccd1c1}.sales-conditions small{display:block;line-height:1.8}@media(max-width:700px){.sales-conditions{grid-template-columns:1fr;padding:20px;gap:24px}}

.price-summary{margin:20px 0;padding:20px;border-left:3px solid #b68b32;background:#faf8f1;overflow-wrap:anywhere}.price-summary p{margin:0 0 10px;line-height:1.7;font-size:.95rem}.price-summary p:first-child{font-weight:600}.price-summary p:last-child{margin-bottom:0;font-size:.85rem}

/* Product rows adapt to the form width, including narrow desktop side panels. */
#request-form{container-type:inline-size}
.request-item{padding:22px;border:1px solid #b8c5b1;border-radius:8px;background:#fafbf6;margin-bottom:20px}
.request-item legend{font-size:14px;font-weight:600;letter-spacing:.04em}
.item-main{grid-template-columns:minmax(0,1fr);gap:18px}
.request-item .item-main label{margin:0;font-size:14px;line-height:1.5}
.request-item select{width:100%;min-height:52px;padding:12px 36px 12px 14px;margin-top:8px;border:1px solid #8c9c82;border-radius:5px;font-size:16px;line-height:1.5;background-color:#fffef9;color:var(--ink);box-sizing:border-box}
.request-item select:disabled{color:#6b7465;background-color:#f0f2eb}
.request-item select:focus-visible{outline:2px solid var(--gold-dark);outline-offset:3px}
.request-item .item-milling-label{margin-top:18px;font-size:14px}
@container(min-width:540px){.item-main{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px}}

.quantity-guidance{font-size:14px;line-height:1.8;color:var(--ink);margin:8px 0 20px}.quantity-guidance p{margin:0 0 4px}

/* Full purchase journey and comfortable touch targets. */
.order-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.order-steps article{min-width:0}.order-steps h3{font-size:18px;line-height:1.6}.order-steps p{font-size:14px;line-height:1.9}
.order-payment-note{font-size:14px;line-height:1.9;color:var(--muted);max-width:820px;margin:24px auto}
.payment-methods {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.payment-method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}
.payment-method-list > li {
  padding: clamp(14px, 2.5vw, 22px);
  background: #faf9f3;
  border: 1px solid var(--line);
}
.payment-method-list h4 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 1.125rem;
}
.payment-method-list .payment-method-detail { margin: 0 0 8px; }
.payment-method-list dl { margin: 0; }
.payment-method-list dl > div {
  display: grid;
  grid-template-columns: 4em minmax(0, 1fr);
  gap: 8px;
  padding: 4px 0;
}
.payment-method-list dt { font-weight: 600; }
.payment-method-list dd { margin: 0; }
.payment-method-list .information-link { display: inline-block; margin-top: 10px; }
@media (max-width: 700px) {
  .payment-method-list { grid-template-columns: 1fr; }
}
@media(min-width:641px) and (max-width:1000px){.order-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 .order-steps{grid-template-columns:1fr;gap:24px}
 .order-payment-note{margin:24px 0}
 .menu,.product button,.subproducts button,.add-item,.remove-item,.close-bottom{min-height:48px}
 .menu,.subproducts button,.close{min-width:48px}
 nav a{min-height:48px;display:flex;align-items:center}
 .button{min-height:48px;align-items:center}
 .close{min-height:48px;display:grid;place-items:center}
 .privacy-check{min-height:48px;align-items:center;font-size:14px;line-height:1.8}
 .privacy-check input{margin-top:0}
 #request-form input:not([type="checkbox"]),#request-form select,#request-form textarea{font-size:16px}
 #request-form input:not([type="checkbox"]),#request-form select{min-height:48px}
 .form-hint,.privacy-notice{font-size:14px;line-height:1.9}
 #request-form>small,dialog p{font-size:14px;line-height:1.9}
 .faq summary,.privacy-notice summary{min-height:48px;padding-top:12px;padding-bottom:12px}
}

/* Customer voices: readable excerpts across desktop and mobile. */
.customer-voices{background:#f2f0e7}
.voice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:36px}
.voice-grid figure{margin:0;padding:30px;background:#faf9f3;border-top:2px solid #ae883c;display:flex;flex-direction:column;min-width:0}
.voice-product{font-size:14px;color:#796027;letter-spacing:.12em}
.voice-grid blockquote{margin:18px 0 24px;font-size:16px;line-height:2}
.voice-grid blockquote p{margin:0 0 12px}
.voice-grid figcaption{margin-top:auto;font-size:14px;color:#526052}
@media(max-width:800px){.voice-grid{grid-template-columns:1fr;gap:18px}.voice-grid figure{padding:24px}.voice-grid blockquote{margin:16px 0}}

.information-page{max-width:1000px;margin:auto;padding:48px 24px 80px}.information-page>h1{font-size:clamp(28px,4vw,40px);line-height:1.5;margin:24px 0}.information-page .section{padding:24px 0}.information-page details{margin:24px 0}.information-summary{padding-top:40px;padding-bottom:40px}.information-link{display:inline-flex;align-items:center;min-height:48px;border-bottom:1px solid #ae883c}.information-footer{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}.information-footer a{display:inline-flex;min-height:48px;align-items:center}.information-page dl{overflow-wrap:anywhere}.information-page dd{margin-bottom:20px}

.price-summary .price-total{font-size:1.25rem;font-weight:600;color:#234b37;border-top:1px solid #d6ccb5;padding-top:14px;margin-top:14px}.shipping-individual{margin:12px 0;line-height:1.8;min-height:48px}

/* Optional analytics: equal choices, keyboard controls and a readable mobile layout. */
.analytics-controls{text-align:center;background:#f2f0e7;padding:8px 20px}
.analytics-controls button{font:inherit;font-size:14px;min-height:48px;border:0;background:transparent;text-decoration:underline;cursor:pointer;color:#234b37}
.analytics-choice{position:fixed;bottom:16px;left:16px;right:16px;z-index:90;max-width:1000px;margin:auto;background:#fffdf6;color:#234b37;border:1px solid #b3a27b;box-shadow:0 4px 24px #203b2926;padding:24px;display:flex;align-items:center;gap:28px}
.analytics-choice[hidden]{display:none}.analytics-choice h2{font-size:18px;margin:0 0 8px;line-height:1.6}.analytics-choice p{font-size:14px;line-height:1.8;margin:0}.analytics-choice a{text-decoration:underline}
.analytics-actions{display:flex;flex-shrink:0;gap:12px}.analytics-actions button{font:inherit;font-size:16px;min-height:48px;padding:10px 18px;border:1px solid #234b37;background:#fffdf6;color:#234b37;cursor:pointer;white-space:nowrap}
.analytics-actions button:focus-visible,.analytics-controls button:focus-visible{outline:3px solid #ae883c;outline-offset:3px}
@media(max-width:700px){.analytics-choice{padding:18px;display:block;max-height:70vh;overflow:auto}.analytics-actions{margin-top:16px}.analytics-actions button{flex:1}.analytics-choice h2{font-size:17px}}

/* Farm history and rice flour guide */
.heritage-photo { margin: 24px 0; max-width: 500px; }
.heritage-photo img { display: block; width: 100%; height: auto; }
.heritage-photo figcaption { margin-top: 8px; color: var(--muted); font-size: .85rem; }
.rice-flour-link { margin-top: 8px; }
.rice-flour-guide > p { max-width: 68ch; line-height: 1.9; }
.rice-flour-guide section { margin: 36px 0 24px; }
.rice-flour-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rice-flour-examples article { border: 1px solid #ded6c5; }
.rice-flour-examples img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #f4f0e8; }
.rice-flour-examples article > div { padding: 16px; }
.rice-flour-examples h3 { margin: 0 0 8px; }
.rice-flour-examples p { line-height: 1.7; }
.rice-flour-examples small { color: var(--muted); }
@media (max-width: 700px) {
    .rice-flour-examples { grid-template-columns: 1fr; }
}

/* Farm Instagram link */
footer .instagram-link {
    gap: 12px;
    padding: 6px 15px 6px 6px;
    border: 1px solid #d8cdbd;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
}
footer .instagram-link:hover { border-color: #a04778; background: #fff7fb; }
footer .instagram-link:focus-visible { outline: 2px solid #a04778; outline-offset: 3px; }
.instagram-link-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(35deg, #b34f0a, #c12767 50%, #5935a7);
}
.instagram-link-text { display: grid; gap: 2px; text-align: left; line-height: 1.15; }
.instagram-link-text > span { font-size: .78rem; color: var(--muted); }

#navigation .instagram-menu-link { display: none; }
@media (max-width: 640px) {
    #navigation .instagram-menu-link {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 6px 0;
        font-size: .85rem;
    }
    #navigation .instagram-link-icon { width: 30px; height: 30px; flex-basis: 30px; }
    #navigation .instagram-link-icon svg { width: 20px; height: 20px; }
}

.subproducts .flour-photo, .subproducts .bran-photo { width: clamp(96px, 13vw, 150px); }
.subproducts .flour-photo, .subproducts .bran-photo img { height: auto; object-fit: contain; }
.subproducts .bran-photo { flex: none; margin: 0; }
.subproducts .bran-photo img { display: block; width: 100%; }
.subproducts .bran-photo figcaption { margin-top: 6px; font-size: .8125rem; text-align: center; }
