/* Self-hosted fonts (SIL OFL 1.1, via @fontsource). Replaces the Google Fonts @import. */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/dm-sans-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/noto-sans-thai-thai-400-normal.woff2) format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/dm-sans-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/noto-sans-thai-thai-500-normal.woff2) format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/dm-sans-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/noto-sans-thai-thai-600-normal.woff2) format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}

:root{--paper:#faf8f2;--ink:#294a36;--muted:#697366;--sage:#e6ebdf;--line:#d5dacd;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans','Noto Sans Thai',sans-serif;font-size:15px;line-height:1.8}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}a{color:inherit;text-decoration:none}button,a,summary{outline-offset:5px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--ink)}button{cursor:pointer}button:disabled{cursor:not-allowed}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400}h1,h2{font-family:var(--serif);line-height:1.12;letter-spacing:-.04em}html[lang=th] h1,html[lang=th] h2{font-family:'Noto Sans Thai',sans-serif;letter-spacing:-.035em;line-height:1.4}header{height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 7%;border-bottom:1px solid var(--line)}.brand{font:34px var(--serif);letter-spacing:-1.5px}.brand i{font-size:29px}nav{display:flex;gap:35px}nav a{font-size:14px}nav a:hover,.text-link:hover{text-decoration:underline;text-underline-offset:6px}.languages{display:flex;align-items:center;gap:10px;font-size:12px}.languages button{border:0;background:transparent;color:var(--muted);padding:8px 4px}.languages button[aria-pressed=true]{color:var(--ink);text-decoration:underline;text-underline-offset:6px}.hero{display:grid;grid-template-columns:1fr 1.12fr;min-height:560px}.hero-copy{padding:75px 9% 65px 15%;display:flex;align-items:flex-start;flex-direction:column;justify-content:center}.hero h1{font-size:clamp(42px,4.6vw,72px)}.hero p{max-width:410px;color:var(--muted);margin:25px 0 30px;font-size:15px}.actions{display:flex;gap:20px;flex-wrap:wrap;align-items:center}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;background:var(--ink);color:var(--paper);border:1px solid var(--ink);border-radius:30px;padding:12px 24px;font-size:14px;line-height:1.6;transition:background .2s}.button:hover{background:#3e5d48}.arrow{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.text-link{border:0;background:none;color:var(--ink);display:inline-flex;align-items:center;gap:14px;padding:8px 0;font-size:14px}.hero figure{margin:0;position:relative;min-width:0}.hero img{height:100%;width:100%;object-fit:cover;position:absolute}.hero figcaption{position:absolute;bottom:12px;left:20px;right:20px;font-size:10px;color:#294a36;background:#faf8f2e6;padding:4px 10px;width:fit-content}.section{padding:76px 7%}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:25px;margin-bottom:35px}.section-head h2{font-size:36px}.section-head p{font-size:13px;color:var(--muted)}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}.product{border-top:1px solid var(--line);padding-top:22px}.product-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;font-size:12px;color:var(--muted)}.number{font:italic 48px var(--serif);color:#9da98e}.product h3{font:27px var(--serif);line-height:1.2;letter-spacing:-.7px}.product .thai-name{margin-top:6px;font-size:13px;color:var(--muted)}.product .description{margin:18px 0;font-size:14px;color:var(--muted);min-height:76px}.guide{background:var(--sage);padding:60px 7%;display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.guide h2{font-size:48px}.guide p{max-width:490px;margin-bottom:20px;color:var(--muted)}.journal{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}.article{padding-top:22px;border-top:1px solid var(--line)}.article h3{font-size:21px;margin:14px 0}.article p{font-size:14px;color:var(--muted)}.faq-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:70px}.faq-layout h2{font-size:42px;max-width:360px}details{border-top:1px solid var(--line)}details:last-child{border-bottom:1px solid var(--line)}summary{padding:20px 35px 20px 0;cursor:pointer;position:relative;list-style:none}summary::-webkit-details-marker{display:none}summary:after{content:'+';position:absolute;right:5px;top:19px;font-size:24px;font-weight:400}details[open] summary:after{content:'−'}details p{color:var(--muted);font-size:14px;padding:0 25px 22px 0}.shop{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:25px;padding:45px 7%}.shop h2{font:32px var(--serif)}.shop p{font-size:13px;color:var(--muted)}.button:disabled{background:#e6e5dc;border-color:#d2d5c9;color:#697366}footer{display:flex;align-items:center;justify-content:space-between;background:var(--ink);color:var(--paper);padding:30px 7%;gap:20px}footer p{font-size:12px;opacity:.75}dialog{background:var(--paper);color:var(--ink);border:0;border-radius:8px;padding:36px;width:min(700px,calc(100% - 32px));max-height:85dvh;box-shadow:0 20px 100px #152d3040}dialog::backdrop{background:#14261c80;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:25px}.dialog-head h2{font:32px var(--serif)}.close{background:none;border:1px solid var(--line);border-radius:25px;padding:6px 15px;color:var(--ink)}dialog p{margin:15px 0}dialog .note{background:var(--sage);padding:15px;font-size:13px}dialog select{font:inherit;width:100%;padding:10px;background:var(--paper);border:1px solid var(--line);color:var(--ink);margin-bottom:15px}ol{padding-left:24px}li{margin-bottom:15px}li p{font-size:14px;color:var(--muted);margin:4px 0}dialog small{font-size:12px;display:block}dialog .source{display:block;text-decoration:underline;font-size:12px}.skip{position:absolute;left:10px;top:-100px;background:var(--paper);padding:10px;z-index:5}.skip:focus{top:10px}@media(min-width:1600px){body{max-width:1800px;margin:auto}}@media(max-width:900px){header{padding:0 5%;height:auto;min-height:86px;flex-wrap:wrap;gap:6px 20px;padding-top:12px;padding-bottom:12px}nav{order:3;width:100%;justify-content:center;gap:30px}.hero{min-height:480px}.hero-copy{padding:45px 10%}.hero h1{font-size:43px}.section{padding:55px 5%}.section-head{display:block}.section-head p{margin-top:12px}.products,.journal{gap:24px}.product h3{font-size:23px}.guide{padding:45px 5%;gap:30px}.guide h2{font-size:40px}.faq-layout{gap:30px}.faq-layout h2{font-size:34px}}@media(max-width:600px){body{font-size:14px}.brand{font-size:29px}nav{gap:25px}nav a{font-size:12px}.hero{grid-template-columns:1fr}.hero-copy{padding:45px 6%}.hero h1{font-size:45px}.hero p{margin:20px 0 25px}.hero figure{height:320px}.hero figcaption{font-size:9px;left:12px}.section{padding:45px 6%}.section-head h2{font-size:31px}.products{grid-template-columns:1fr;gap:25px}.product-top{margin-bottom:12px}.product .description{min-height:0;margin:14px 0}.product h3{font-size:28px}.product .text-link{padding-bottom:5px}.guide{grid-template-columns:1fr;padding:40px 6%;gap:22px}.guide h2{font-size:39px}.journal{grid-template-columns:1fr;gap:25px}.article h3{margin:8px 0}.faq-layout{grid-template-columns:1fr;gap:25px}.shop{flex-direction:column;align-items:flex-start;padding:35px 6%}footer{align-items:flex-start;flex-direction:column;padding:28px 6%}dialog{padding:24px}.dialog-head h2{font-size:26px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.section-head>div>p{margin-top:12px}
.brand{display:inline-flex;align-items:center;gap:12px;flex-shrink:0}
.brand-logo{display:block;width:64px;height:64px;flex-shrink:0;object-fit:contain}
.brand-wordmark{white-space:nowrap}
footer .brand-logo{width:76px;height:76px}
@media(max-width:600px){.brand{gap:8px}.brand-logo{width:48px;height:48px}footer .brand-logo{width:64px;height:64px}}
nav a[aria-current=page]{text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:1px}
.microverse-preview{display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:70px;align-items:center;background:var(--sage)}
.microverse-preview-image{display:block}.microverse-preview img{display:block;width:100%;height:auto;object-fit:contain}
.microverse-preview h2{font-size:48px}.microverse-preview p{max-width:510px;color:var(--muted);font-size:16px;margin:20px 0}
.recipe-art{margin:20px 0 25px}.recipe-art h3{font-size:18px;margin-bottom:15px}.recipe-art img{display:block;width:100%;height:auto;object-fit:contain}.recipe-art figcaption .text-link{font-size:12px}.recipe-art figcaption p{font-size:12px;color:var(--muted);margin:5px 0 0}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home-cultures{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.home-product-image{display:block;margin-bottom:20px}.home-product-image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}.home-cultures .description{min-height:50px}.home-cultures .product h3{font-size:25px}
.home-cultures .product h3{min-height:2.4em}
.back-top{display:inline-flex;gap:8px;align-items:center;font-size:12px;white-space:nowrap}.back-top .arrow{transform:rotate(-90deg);width:17px;height:17px}
@media(max-width:1000px){.home-cultures{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.home-cultures{gap:30px 18px}.home-cultures .product h3{font-size:22px}.home-cultures .product-top{margin-bottom:14px}.home-cultures .number{font-size:32px}.home-cultures .description{font-size:12px}.home-cultures .text-link{font-size:12px;gap:5px}}
@media(max-width:360px){.home-cultures{grid-template-columns:1fr}.home-cultures .product h3{font-size:27px}}
@media(prefers-reduced-motion:no-preference){.text-link .arrow,.back-top{transition:transform .18s ease}.text-link:hover .arrow{transform:translateX(3px)}.back-top:hover{transform:translateY(-2px)}}
@media(max-width:900px){header nav{flex-wrap:wrap;row-gap:8px}.microverse-preview{gap:35px}.microverse-preview h2{font-size:38px}}
@media(max-width:600px){header nav{column-gap:18px}.microverse-preview{grid-template-columns:1fr;gap:25px}.microverse-preview-image{max-width:340px}.microverse-preview h2{font-size:35px}.microverse-preview p{font-size:14px}}

/* Entry points for the separately loaded interactive world. */
.grain-world-entry{margin:12px 0 0 20px}.grain-world-preview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;align-items:center}.grain-world-preview h2{font-size:42px}.grain-world-preview .science-intro{margin:24px 0}.grain-world-preview .art-note{margin:18px 0 0}.grain-world-poster{display:block;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#fff9ef}.grain-world-poster img{display:block;width:100%;height:auto;object-fit:contain}header nav{gap:clamp(12px,1.8vw,28px)}header nav a{white-space:nowrap}
@media(max-width:1100px){header{height:auto;min-height:90px;flex-wrap:wrap;padding:12px 5%;gap:12px 20px}header nav{order:3;width:100%;justify-content:center;flex-wrap:wrap;gap:8px 22px}}
@media(max-width:600px){.grain-world-entry{margin:14px 0 0;display:flex;width:fit-content}.grain-world-preview{grid-template-columns:1fr;gap:28px}.grain-world-preview h2{font-size:30px}header nav{gap:8px 16px}header nav a{font-size:11px}}

/* Shared refinements: accessible navigation, readable type and native states. */
:root{--touch-target:44px;--heading-tracking:-.04em;--selection:#c5ded2;--muted:#5b685c}
html{scrollbar-color:#90a79a var(--paper)}
body{accent-color:var(--ink);caret-color:var(--ink)}
::selection{background:var(--selection);color:#183e35}
:where(a,button,summary,select,input):focus-visible{outline:2px solid var(--ink);outline-offset:4px}
h1,h2{letter-spacing:var(--heading-tracking);text-wrap:balance}
header.site-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;min-height:92px;height:auto;gap:24px}
header.site-header>nav{order:0;width:auto;justify-content:center;flex-wrap:nowrap;gap:clamp(12px,1.8vw,28px)}
.site-header nav a{display:flex;align-items:center;min-height:var(--touch-target)}
.site-header .languages{gap:2px}
.site-header .languages button{display:grid;place-items:center;min-width:var(--touch-target);min-height:var(--touch-target);padding:4px;border-radius:8px}
.site-header .languages button:hover{background:var(--sage)}
.nav-toggle{display:none;align-items:center;justify-content:center;width:var(--touch-target);height:var(--touch-target);padding:8px;background:transparent;border:1px solid var(--line);border-radius:8px;color:var(--ink)}
.nav-toggle svg{width:24px;height:24px}
.menu-cross{display:none}
.site-header[data-menu-open] .menu-lines{display:none}
.site-header[data-menu-open] .menu-cross{display:block}
.text-link{min-height:var(--touch-target)}
.close{min-height:var(--touch-target);min-width:60px}
.article h3{line-height:1.4;margin:0 0 12px}
.comparison-data,.fermentation-table,.culture-meta,.product-top{font-variant-numeric:tabular-nums}
.recipe-art figcaption p{max-width:75ch}
@media(max-width:1100px){
  header.site-header{grid-template-columns:minmax(0,1fr) auto auto;gap:12px;min-height:84px;padding:12px 5%}
  header.site-header>nav{display:none;grid-column:1/-1;grid-row:2;flex-direction:column;align-items:stretch;gap:0;width:100%;border-top:1px solid var(--line);padding:8px 0 0}
  header.site-header[data-menu-open]>nav{display:flex}
  header.site-header nav a{font-size:15px;padding:10px 8px;min-height:48px;border-radius:6px}
  header.site-header nav a:hover{background:var(--sage);text-decoration:none}
  .nav-toggle{display:inline-flex}
  .site-header .brand-logo{width:52px;height:52px}
  .site-header .brand{font-size:29px;gap:8px}
  .site-header .brand i{font-size:26px}
}
@media(max-width:600px){
  .site-header .brand-logo{width:44px;height:44px}
  .site-header .brand{font-size:26px;letter-spacing:-1px}
  .site-header .brand i{font-size:24px}
  .home-cultures .description{font-size:14px;line-height:1.65}
  .home-cultures .text-link{font-size:14px}
  .home-cultures .product h3{line-height:1.2}
  .section-head h2,.microverse-preview h2,.faq-layout h2{max-width:20ch}
}
@media(max-width:370px){.site-header .brand-wordmark{display:none}}
