/* FLAVOGEN — shared tokens. Content lives in content.js. */
:root {
  --ink: #10251c;
  --forest: #173f2e;
  --deep: #0c2d20;
  --green: #286246;
  --lime: #cddd42;
  --cream: #f3f0e6;
  --white: #fff;
  --muted: #4f6255;
  --on-dark: #dae6dc;
  --line: #c4cec3;
  --line-dark: #53705d;
  --control-border: #718477;
  --error: #a12820;
  --radius: 12px;
  --page-width: 1280px;
  --header-height: 88px;
  --promo-height: 58px;
}
* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-padding-top: calc(var(--header-height) + 20px); scroll-behavior: smooth; }
body { max-width: 100%; overflow-x: clip; margin: 0; background: var(--cream); color: var(--ink); font-family: 'IBM Plex Sans Thai', sans-serif; font-size: 1.125rem; line-height: 1.75; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
button, a, input, summary, textarea { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: 0; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 4.4vw, 4.1rem); line-height: 1.4; }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.4; }
h3 { font-size: 1.4rem; line-height: 1.45; }
h1 em, h2 em { font-style: normal; font-weight: 400; color: var(--green); }
strong { font-weight: 600; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--lime); }
input, textarea { caret-color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.hero :focus-visible, .technology :focus-visible, .contact :focus-visible, footer :focus-visible { outline-color: var(--lime); }
.wrap { width: min(var(--page-width), calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: 56px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 12px 24px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-size: 1rem; font-weight: 600; line-height: 1.6; text-align: center; transition: background-color 160ms ease-out; }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-dark { background: var(--forest); color: var(--white); }
.btn-ghost { color: var(--white); border-color: #a8beac; background: transparent; }
.btn:disabled { cursor: not-allowed; background: #d6ddd5; color: #4b5d50; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 500; }
.data-status { padding: 20px; margin-block: 24px; background: var(--white); border: 1px solid var(--line); }

/* Navigation: full logo, visible labels, and a keyboard-operable menu. */
.promo { position: relative; z-index: 31; display: grid; place-items: center; min-height: var(--promo-height); padding: 8px 20px; color: var(--deep); background: var(--lime); font-size: 14px; line-height: 1.5; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 30; color: var(--white); background: linear-gradient(180deg, rgb(4 22 14 / 72%), rgb(4 22 14 / 28%) 72%, transparent); border: 1px solid transparent; border-inline: 0; overflow-anchor: none; }
.site-header.is-scrolled { color: var(--ink); background: var(--white); border-bottom-color: var(--line); box-shadow: 0 10px 30px rgb(7 31 20 / 12%); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { position: relative; display: flex; align-items: center; width: 150px; flex-shrink: 0; min-height: 76px; text-decoration: none; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 96px; min-height: 48px; padding: 8px 12px; border: 1px solid rgb(255 255 255 / 55%); border-radius: 6px; color: var(--white); background: rgb(4 22 14 / 38%); font-size: 16px; }
.site-header.is-scrolled .menu-toggle { color: var(--ink); border-color: var(--control-border); background: transparent; }
#main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--header-height) - var(--promo-height)); overflow-y: auto; overscroll-behavior: contain; padding: 12px 20px 20px; color: var(--ink); background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 18px 42px rgb(4 22 14 / 22%); }
#main-nav.open { display: flex; flex-direction: column; }
#main-nav a { display: flex; align-items: center; min-height: 52px; padding: 10px 12px; text-decoration: none; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line); }
#main-nav a { position: relative; }
#main-nav a[aria-current="location"] { background: #e5eadc; color: var(--forest); font-weight: 600; }
#main-nav a[aria-current="location"]::after { content: ''; position: absolute; height: 3px; left: 12px; right: 12px; bottom: 5px; background: currentColor; border-radius: 2px; }
#main-nav .nav-cta { margin-top: 12px; padding-inline: 20px; justify-content: center; color: var(--deep); background: var(--lime); border-radius: 6px; border: 0; }
#main-nav .nav-cta[aria-current="location"] { background: var(--forest); color: var(--white); }

/* Hero: real field photography, strong editorial type and the real product in one view. */
.hero { position: relative; min-height: 100svh; margin-top: calc(-1 * var(--header-height)); color: var(--white); background-color: var(--deep); background-image: linear-gradient(90deg, rgb(5 25 16 / 96%) 0%, rgb(5 25 16 / 80%) 42%, rgb(5 25 16 / 34%) 72%, rgb(5 25 16 / 54%) 100%), linear-gradient(0deg, rgb(4 20 13 / 78%) 0%, transparent 42%), url('assets/hero-cabbage-mountain.jpg'); background-position: center; background-size: cover; isolation: isolate; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; z-index: -1; height: 20%; background: linear-gradient(0deg, rgb(5 25 16 / 52%), transparent); pointer-events: none; }
.hero-inner { min-height: 100svh; display: grid; align-content: end; gap: 28px; padding-block: calc(var(--header-height) + 52px) 44px; }
.hero h1 { max-width: 12ch; font-size: clamp(2.8rem, 11vw, 5.6rem); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.hero h1 em { color: var(--white); font-weight: inherit; }
.hero-copy { min-width: 0; }
.hero-kicker { width: fit-content; margin-bottom: 18px; padding-bottom: 7px; border-bottom: 2px solid var(--lime); color: var(--white); font-size: .92rem; font-weight: 600; line-height: 1.5; }
.hero-copy > p:not(.hero-kicker) { margin-top: 24px; color: #eef5ef; max-width: 54ch; text-wrap: pretty; }
.hero-copy strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions .btn { width: 100%; }
.hero-product { display: grid; justify-items: center; align-self: end; gap: 12px; margin: 0; }
.hero-product img { width: auto; height: min(32svh, 240px); object-fit: contain; filter: drop-shadow(0 22px 28px rgb(0 0 0 / 38%)); }
.hero-product figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 12px; padding: 7px 13px; border: 1px solid rgb(255 255 255 / 28%); border-radius: 999px; color: #eef5ef; background: rgb(4 22 14 / 54%); font-size: 13px; line-height: 1.45; text-align: center; backdrop-filter: blur(10px); }
.hero-product figcaption strong { color: var(--lime); font-family: Manrope, sans-serif; }
.trust-strip { position: relative; z-index: 2; display: grid; gap: 0; padding-block: 12px; border-bottom: 1px solid var(--line); }
.trust-strip p { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.trust-strip p:last-child { border-bottom: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip svg { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 42px; height: 42px; color: var(--green); }
.trust-strip strong { grid-column: 2; font-size: clamp(1.3rem, 1.8vw, 1.5rem); line-height: 1.5; }
.trust-strip span { grid-column: 2; margin-top: 6px; font-size: 18px; line-height: 1.65; color: var(--muted); }

/* Brand story: an editorial timeline rather than a generic card grid. */
.brand-story { padding-block: 64px; color: var(--white); background: var(--deep); }
.brand-story-inner { display: grid; gap: 36px; }
.story-kicker { padding-top: 4px; color: var(--lime); font-family: Manrope, sans-serif; letter-spacing: .06em; }
.story-kicker span { display: block; font-size: 13px; font-weight: 800; }
.story-kicker p { margin-top: 14px; color: var(--on-dark); font-family: 'IBM Plex Sans Thai', sans-serif; font-size: 17px; letter-spacing: 0; }
.story-narrative { max-width: 850px; }
.story-narrative h2 em { color: var(--lime); }
.story-narrative > p { margin-top: 22px; color: var(--on-dark); }
.story-narrative .story-lead { color: var(--white); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.7; }
.story-timeline { display: grid; gap: 0; margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.story-timeline li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; padding-block: 18px; border-bottom: 1px solid var(--line-dark); }
.story-timeline strong { color: var(--lime); font-family: Manrope, sans-serif; font-size: 20px; }
.story-timeline span { color: var(--on-dark); }
.story-narrative .story-note { padding-left: 18px; border-left: 3px solid var(--lime); color: var(--white); }

/* Product information. Content is rendered from one source in content.js. */
.section-head { display: grid; gap: 20px; margin-bottom: 32px; }
.section-head > p { max-width: 46ch; color: var(--muted); }
.product-list { display: grid; gap: 28px; }
.product { display: grid; background: var(--white); border-radius: var(--radius); overflow: clip; }
.product-media { display: grid; place-items: center; align-content: center; gap: 18px; padding: 24px; background: #e8e2d0; }
.product-media img { width: 100%; height: 270px; object-fit: contain; }
.product[data-product="dindee"] .product-media { background: #e8e2d0; }
.product[data-product="flavogen"] .product-media { gap: 12px; }
.product-image-stage { width: 100%; }
.product-media .product-image-stage > img { height: clamp(230px, 23vw, 330px); }
.product-image-stage .product-caption { margin-top: 12px; font-size: 16px; }
.size-picker-label { width: 100%; font-size: 16px; font-weight: 600; }
.product-size-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.product-size-option { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; min-width: 0; padding: 12px 8px; border: 2px solid var(--control-border); border-radius: 8px; color: var(--forest); background: var(--white); line-height: 1.5; cursor: pointer; }
.product-size-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.product-size-option:has(input:checked) { background: #e5edb9; border-color: var(--forest); }
.product-size-option:has(input:checked)::after { content: ''; position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.product-size-option:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 3px; }
.product-size-options .size-thumbnail { width: 100%; height: 64px; object-fit: contain; }
.product-size-options strong { font-size: 20px; }
.product-size-option > span { font-size: 13px; color: var(--muted); }
.product-size-contact { display: flex; width: fit-content; margin-top: 16px; color: var(--forest); font-size: 16px; }
.product-caption { color: var(--muted); font-size: 14px; text-align: center; }
.product-copy { padding: 28px 24px; }
.product-copy h3 { font-size: 2rem; }
.product-copy h3 span { display: block; font-size: 14px; color: var(--muted); font-family: Manrope, sans-serif; margin-top: 6px; }
.product-description { margin-top: 20px; color: var(--muted); }
.product-copy ul { margin: 20px 0 28px; padding-left: 22px; }
.product-copy li { padding-block: 6px; }
.product-copy li::marker { color: var(--green); }
.product-copy .btn { width: 100%; }
.technology { background: var(--forest); color: var(--white); }
.technology-inner { display: grid; gap: 28px; padding-block: 56px; }
.technology h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.4; }
.technology h2 em { color: var(--lime); }
.tech-content > p { margin-top: 24px; max-width: 60ch; color: var(--on-dark); }
.feature-list { list-style: none; margin: 28px 0 0; padding: 0; }
.feature-list li { border-top: 1px solid var(--line-dark); padding-block: 16px; }
.feature-list strong, .feature-list span { display: block; }
.feature-list span { color: var(--on-dark); font-size: 16px; margin-top: 4px; }
.tech-product { width: auto; max-height: 250px; justify-self: center; align-self: center; object-fit: contain; }

/* Field worksheet calculator: one continuous tool from crop choice to result. */
.guide { background: #e9eee4; box-shadow: 0 0 0 100vmax #e9eee4; clip-path: inset(0 -100vmax); }
.guide-intro { max-width: 48ch; padding-left: 18px; border-left: 4px solid var(--green); }
.guide-intro strong { display: block; margin-bottom: 6px; color: var(--forest); }
.guide-intro p { color: var(--muted); }
.calculator-workspace { overflow: hidden; border-radius: 20px; box-shadow: 0 24px 60px rgb(28 57 41 / 16%); }
.crop-picker { min-width: 0; margin: 0; padding: 24px; border: 0; border-radius: 20px 20px 0 0; color: var(--white); background: var(--deep); }
.crop-picker legend, .step-label { margin: 0 0 18px; padding: 0; font-size: 20px; font-weight: 600; line-height: 1.6; }
.crop-picker legend { float: left; width: 100%; color: var(--white); }
.crop-picker legend + * { clear: both; }
.step { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 8px; border: 1px solid currentColor; border-radius: 50%; font-family: Manrope, sans-serif; font-size: 15px; vertical-align: middle; }
.crop-picker .step { color: var(--deep); background: var(--lime); border-color: var(--lime); }
.crop-options { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(145px, 42vw); gap: 10px; overflow-x: auto; padding: 2px 2px 10px; overscroll-behavior-x: contain; scrollbar-color: var(--lime) var(--deep); }
.crop-option { position: relative; display: grid; }
.crop-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.crop-option span { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 9px; min-height: 104px; padding: 16px; border: 1px solid #668070; border-radius: 10px; color: var(--white); background: #173b2b; font-size: 16px; font-weight: 500; line-height: 1.35; }
.crop-option span b { font-size: 28px; line-height: 1; }
.crop-option span em { font-style: normal; }
.crop-option-copy { display: grid; gap: 4px; font-style: normal; }
.crop-option-copy small { color: #bcd0c1; font: 600 12px/1.3 Manrope, sans-serif; }
.crop-option input:checked + span { padding: 15px; border: 2px solid var(--lime); color: var(--deep); background: var(--lime); }
.crop-option input:checked + span .crop-option-copy small { color: var(--green); }
.crop-option input:checked + span::after { content: ''; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.crop-option input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 3px; }
.calculator { display: grid; overflow: hidden; border-radius: 0; background: var(--white); }
.calculator-inputs, .calculator-result { min-width: 0; padding: 30px 24px; }
.calculator-panel-title { margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--green); font-size: 15px; font-weight: 600; }
.calculator-result .calculator-panel-title { color: var(--forest); border-color: rgb(12 45 32 / 28%); }
.step-label { display: block; }
.water-control { display: flex; align-items: center; gap: 12px; padding-right: 16px; border: 0; border-bottom: 2px solid var(--forest); border-radius: 0; background: #f2f3ea; }
.water-control:focus-within { outline: 3px solid var(--green); outline-offset: 3px; }
.water-control input { min-width: 0; width: 100%; min-height: 68px; padding: 10px 16px; border: 0; border-radius: 0; color: var(--ink); background: transparent; font: 700 30px/1.2 Manrope, sans-serif; font-variant-numeric: tabular-nums; }
.water-control input:focus-visible { outline: 0; }
.water-control:has(input[aria-invalid="true"]) { border-bottom-color: var(--error); box-shadow: inset 0 -1px var(--error); }
.help-text { margin-top: 10px; color: var(--muted); font-size: 15px; }
.conditional-field { margin-top: 26px; }
.conditional-field > label { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.conditional-field > label span { color: var(--muted); font-weight: 400; }
.advanced-settings { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.advanced-settings > summary { min-height: 58px; padding-block: 12px; color: var(--forest); font-size: 16px; font-weight: 600; }
.advanced-settings > summary span { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 400; }
.advanced-settings > summary svg { width: 20px; height: 20px; }
.advanced-settings .conditional-field { margin: 0; padding: 8px 0 22px; }
.conditional-field > label .recommended-value { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; color: var(--forest); background: #dfe9a2; font-size: 12px; font-weight: 600; }
.compact-control input { min-height: 58px; font-size: 24px; }
.input-error { margin-top: 16px; color: var(--error); font-size: 16px; }
.input-error:empty { margin-top: 0; }
.base-rate { margin-top: 30px; padding: 18px; border-left: 4px solid var(--green); background: #edf0e6; }
.base-rate p:first-child { margin-bottom: 5px; color: var(--muted); font-size: 15px; }
.calculator-result { color: var(--deep); background-color: var(--lime); background-image: linear-gradient(rgb(12 45 32 / 8%) 1px, transparent 1px), linear-gradient(90deg, rgb(12 45 32 / 8%) 1px, transparent 1px); background-size: 24px 24px; }
.calculator-result .step { color: var(--white); background: var(--deep); border-color: var(--deep); }
.calculator-result :focus-visible { outline-color: var(--deep); }
.result-output { margin-top: 4px; padding: 22px; border-left: 5px solid var(--deep); background: rgb(255 255 255 / 72%); }
.result-output > p { color: var(--green); }
.field-summary { padding-bottom: 14px; border-bottom: 1px solid rgb(12 45 32 / 24%); }
.mix-equation { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr); align-items: center; gap: 14px; padding-block: 22px; }
.mix-ingredient { min-width: 0; }
.mix-ingredient > span { display: block; color: var(--green); font-size: 13px; }
.mix-ingredient > strong { display: block; margin-top: 7px; color: var(--deep); font: 700 clamp(1.35rem, 2.2vw, 2rem)/1.2 Manrope, sans-serif; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.mix-operator { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--deep); border-radius: 50%; color: var(--deep); font: 700 20px/1 Manrope, sans-serif; }
.result-output .dose { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-block: 8px 0; color: var(--deep); }
.dose strong { overflow-wrap: anywhere; font: 700 clamp(2.6rem, 5vw, 4rem)/1.1 Manrope, sans-serif; font-variant-numeric: tabular-nums; }
.dose span { font-size: 20px; }
.mix-ready { padding-top: 14px; border-top: 1px solid rgb(12 45 32 / 24%); font-weight: 600; }
.result-estimate { font-size: 14px; }
.guide-facts { display: grid; grid-template-columns: 1fr; margin: 24px 0 28px; border-top: 1px solid rgb(12 45 32 / 35%); }
.guide-facts div { padding: 14px 0; border-bottom: 1px solid rgb(12 45 32 / 35%); }
.guide-facts dt { color: var(--green); font-size: 13px; }
.guide-facts dd { margin: 4px 0 0; font-size: 17px; }
.guide-facts div:nth-child(3) dd { color: var(--deep); font-weight: 700; }
.calculator-actions { display: grid; gap: 10px; }
.copy-button, .reset-button { width: 100%; }
.calculator-result .copy-button { color: var(--white); background: var(--deep); }
.calculator-result .print-button { color: var(--deep); border-color: var(--deep); background: rgb(255 255 255 / 35%); }
.calculator-result .reset-button { color: var(--deep); border-color: var(--deep); background: rgb(255 255 255 / 35%); }
.copy-status { min-height: 28px; margin-top: 10px; color: var(--green); font-size: 16px; }
#copy-fallback label { font-size: 16px; }
#copy-text { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--white); font-size: 16px; resize: vertical; }
.disclaimer { margin-top: 22px; padding-left: 18px; border-left: 3px solid #8ea08f; color: var(--muted); font-size: 15px; }
.compare-details { margin-top: 28px; padding-inline: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; list-style: none; font-size: 18px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
details[open] > summary svg { transform: rotate(180deg); }
.table-scroll { overflow-x: auto; padding-bottom: 24px; scrollbar-color: var(--green) var(--cream); }
table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
caption { padding: 8px 0 18px; color: var(--muted); text-align: left; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead { color: var(--white); background: var(--forest); }
th { font-weight: 600; }
td:last-child { color: var(--green); font-weight: 600; }
tbody small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }

/* Honest review state, readable answers and direct contact. */
.field-stories { background: #faf9f4; color: var(--ink); }
.field-inner { padding-block: 56px; }
.field-copy { margin-bottom: 40px; }
.field-copy h2 em { color: var(--green); }
.field-copy > p { color: var(--muted); margin-top: 20px; max-width: 68ch; font-size: 16px; }
.field-list, .field-gallery, .story-list { min-width: 0; }
.story { display: grid; gap: 28px; align-items: center; padding-block: 36px; }
.story + .story, .field-list:not([hidden]) + .field-gallery { border-top: 1px solid var(--line); }
.story:first-child { padding-top: 0; }
.story-figure { min-width: 0; }
.story-media { display: block; border-radius: 18px 18px 72px 18px; background: var(--cream); box-shadow: 0 18px 36px rgb(16 37 28 / 10%); }
.story-media img { width: 100%; height: auto; border-radius: inherit; }
.story:not(.story-landscape) .story-media img { aspect-ratio: 4 / 5; object-fit: cover; }
.story-copy { min-width: 0; }
.story-headline, .story-quote { margin: 0; font-size: clamp(1.65rem, 2.7vw, 2.5rem); font-weight: 600; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.story-description { margin-top: 16px; color: var(--muted); max-width: 45ch; }
.story-identity { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.story-identity strong, .story-identity h3 { display: block; font-size: 18px; line-height: 1.6; color: var(--forest); }
.story-identity span, .story-identity p { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }
.story-copy .text-link { margin-top: 12px; color: var(--forest); font-size: 16px; }
.photo-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.field-photo { min-width: 0; }
.field-photo a { display: block; border-radius: 8px; background: var(--cream); }
.field-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 8px; }
.field-photo figcaption { margin-top: 12px; font-size: 17px; color: var(--muted); }
.gallery-more { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery-more { padding-top: 28px; padding-bottom: 12px; }
.gallery-rail-header { display: flex; flex-direction: column; gap: 20px; margin-bottom: 16px; }
.gallery-rail-header h4 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.4; }
.gallery-rail-header p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.photo-marquee { --photo-width: clamp(220px, 26vw, 320px); --photo-gap: 24px; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 24px; padding-block: 12px; }
.marquee-row { min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-row::-webkit-scrollbar { display: none; }
.marquee-track, .marquee-group { display: flex; width: max-content; }
.marquee-group { gap: var(--photo-gap); padding-right: var(--photo-gap); flex-shrink: 0; }
.marquee-group .field-photo { width: var(--photo-width); flex-shrink: 0; cursor: pointer; }
.marquee-group .field-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 8px; background: var(--cream); -webkit-user-drag: none; }
.marquee-row:focus-visible { outline-offset: 0; }
.marquee-group a:focus-visible { outline-offset: -4px; }
.certificates { background: #e9eee4; border-block: 1px solid var(--line); }
.certificate-carousel { min-width: 0; overflow: hidden; }
.certificate-list { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; width: 100%; max-width: 100%; min-width: 0; gap: 28px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; contain: inline-size; }
.certificate-list::-webkit-scrollbar { display: none; }
.certificate-list:focus-visible { outline-offset: 4px; }
.certificate { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 24px; padding: 28px; background: var(--white); border-radius: var(--radius); scroll-snap-align: start; }
.certificate > img { width: 100%; max-height: 400px; object-fit: contain; }
.certificate-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.certificate-controls p { margin-right: auto; color: var(--muted); font-size: 15px; }
.certificate-controls button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--forest); border-radius: 50%; color: var(--white); background: var(--forest); }
.certificate-controls button:disabled { cursor: not-allowed; color: #738279; border-color: var(--line); background: transparent; }
.certificate-controls svg { width: 22px; height: 22px; }
.document-placeholder { display: flex; flex-direction: column; gap: 20px; width: min(100%, 260px); aspect-ratio: 1 / 1.414; margin-inline: auto; padding: 28px 24px; border: 1px solid var(--line); background: #fcfcfa; text-decoration: none; color: var(--muted); }
.certificate-copy .certificate-status { display: inline-flex; width: fit-content; margin-top: 12px; padding: 4px 10px; border: 1px solid var(--error); border-radius: 999px; color: var(--error); background: #fff4f1; font-size: 13px; font-weight: 600; }
.document-brand { font-family: Manrope, sans-serif; font-size: 12px; letter-spacing: .08em; }
.document-title { font-size: 17px; font-weight: 500; text-align: center; margin-top: 12px; }
.document-lines { display: grid; gap: 14px; margin-top: 12px; }
.document-lines span { height: 5px; background: #e1e6de; }
.document-lines span:nth-child(3n) { width: 65%; }
.document-note { margin-top: auto; font-size: 12px; text-align: center; }
.certificate-copy p { margin-top: 12px; color: var(--muted); }
.certificate-copy .certificate-meta { font-size: 16px; }
.certificate-copy .text-link { margin-top: 16px; color: var(--forest); }
.certificate-empty { display: flex; align-items: start; gap: 24px; padding: 28px; background: var(--white); border-radius: var(--radius); }
.certificate-empty > svg { width: 32px; height: 32px; color: var(--green); }
.certificate-empty p { margin-top: 12px; max-width: 65ch; color: var(--muted); }
.certificate-empty .text-link { margin-top: 16px; color: var(--forest); }
.faq { display: grid; gap: 28px; }
.faq-intro p { margin-top: 24px; color: var(--muted); max-width: 40ch; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 72px; padding-block: 20px; }
.faq-list details p { color: var(--muted); padding: 0 36px 24px 0; }
.contact { color: var(--white); background: var(--forest); }
.contact-inner { display: grid; gap: 28px; padding-block: 56px; }
.contact h2 em { color: var(--lime); }
.contact p { color: var(--on-dark); margin-top: 24px; max-width: 60ch; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
footer { color: var(--on-dark); background: var(--forest); border-top: 1px solid var(--line-dark); padding-bottom: 88px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: 28px; }
.footer-inner p { font-size: 14px; }
.mobile-actions { position: fixed; z-index: 25; inset: auto 0 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--cream); }
.mobile-actions a { display: grid; place-items: center; min-height: 48px; border: 1px solid var(--forest); border-radius: 6px; font-size: 16px; font-weight: 500; text-align: center; text-decoration: none; }
.mobile-actions a:first-child { background: var(--forest); color: var(--white); }
.mobile-actions a[aria-current="location"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.editing-input .mobile-actions { display: none; }

/* Persistent contact menu, based on the supplied dark reference. */
.contact-dock { position: fixed; z-index: 45; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); display: grid; justify-items: end; gap: 12px; }
.contact-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 52px; padding: 10px 18px; border: 0; border-radius: 999px; color: var(--white); background: var(--forest); box-shadow: 0 12px 30px rgb(10 35 24 / 28%); }
.contact-toggle > span { color: var(--lime); font-size: 18px; }
.contact-popover { width: min(360px, calc(100vw - 32px)); overflow: hidden; padding: 0 14px; border: 1px solid #435047; border-radius: 18px; color: var(--white); background: #08110c; box-shadow: 0 22px 50px rgb(0 0 0 / 32%); }
.contact-popover-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding-inline: 2px; border-bottom: 1px solid #243027; }
.contact-popover-head strong { font: 700 15px/1.4 Manrope, sans-serif; }
.contact-popover-head button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; color: #c6cec8; background: transparent; font-size: 25px; }
.contact-popover > a { display: grid; grid-template-columns: 24px minmax(0, 1fr) 18px; align-items: center; gap: 14px; min-height: 74px; border-bottom: 1px solid #1f2922; text-decoration: none; }
.contact-popover > a:last-child { border-bottom: 0; }
.contact-popover a strong, .contact-popover a small { display: block; }
.contact-popover a strong { font: 700 16px/1.4 Manrope, 'IBM Plex Sans Thai', sans-serif; }
.contact-popover a small { margin-top: 3px; color: #bdc8bf; font-size: 13px; }
.contact-popover a small bdi { overflow-wrap: anywhere; }
.contact-popover a b { color: #9ba69e; font-size: 28px; font-weight: 300; }
.contact-icon { display: grid; place-items: center; color: #5cdf89; font-size: 18px; }
.contact-icon-facebook { color: #e2bc4d; font: 700 22px/1 Georgia, serif; }
.editing-input .contact-dock { display: none; }

@media (hover: hover) {
  .btn-primary:not(:disabled):hover { background: #dfed69; }
  .btn-dark:hover, #main-nav .nav-cta:hover { background: var(--deep); }
  .btn-ghost:hover { background: #244c38; }
  #main-nav a:not(.nav-cta):hover { background: #e5eadc; }
  .crop-option:hover span { border-color: var(--lime); }
  .product-size-option:hover { border-color: var(--forest); }
  .water-presets button:not([aria-pressed="true"]):hover { background: var(--cream); }
  .story-copy .text-link:hover { text-decoration-thickness: 2px; }
  .document-placeholder:hover { border-color: var(--green); }
}
@media (hover: hover) and (min-width: 1200px) {
  #main-nav a:not(.nav-cta):hover { color: var(--white); background: rgb(255 255 255 / 12%); }
  #main-nav .nav-cta:hover { color: var(--white); background: var(--deep); }
}
@media (max-width: 699px) {
  .guide { padding-top: 64px; }
  .guide .section-head { margin-bottom: 28px; }
  .guide-intro { padding-left: 14px; }
  .crop-picker { padding: 20px 18px; }
  .calculator-inputs, .calculator-result { padding: 28px 20px; }
  .compare-details { padding-inline: 16px; }
  .table-scroll { overflow: visible; }
  .table-scroll table, .table-scroll tbody, .table-scroll tr, .table-scroll th, .table-scroll td { display: block; width: 100%; }
  .table-scroll thead { display: none; }
  .table-scroll caption { display: block; padding-bottom: 12px; }
  .table-scroll tbody { display: grid; gap: 12px; }
  .table-scroll tbody tr { padding: 16px; border: 1px solid var(--line); background: #f7f7f1; }
  .table-scroll tbody th, .table-scroll tbody td { padding: 0; border: 0; }
  .table-scroll tbody th { margin-bottom: 12px; color: var(--forest); font-size: 18px; }
  .table-scroll tbody td { display: grid; grid-template-columns: 98px minmax(0, 1fr); gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
  .table-scroll tbody td::before { content: attr(data-label); color: var(--muted); font-size: 13px; font-weight: 400; }
}
@media (min-width: 700px) {
  :root { --promo-height: 40px; }
  .wrap { width: min(var(--page-width), calc(100% - 72px)); }
  .section { padding-block: 80px; }
  .hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: end; gap: 36px; padding-block: calc(var(--header-height) + 72px) 72px; }
  .hero h1 { font-size: clamp(3.8rem, 7.2vw, 6.8rem); }
  .hero-actions .btn { width: auto; }
  .hero-product img { height: auto; width: 100%; max-height: min(58svh, 610px); }
  .product { grid-template-columns: .9fr 1.1fr; }
  .product-media img { height: 360px; }
  .product-copy { padding: 36px; }
  .product-copy .btn { width: auto; }
  .crop-options { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; padding-bottom: 2px; }
  .crop-option span { font-size: 16px; }
  .calculator { grid-template-columns: 1fr 1.1fr; }
  .calculator-inputs, .calculator-result { padding: 36px; }
  .calculator-result { border-radius: 0; }
  .guide-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-facts div:nth-child(odd) { padding-right: 18px; }
  .guide-facts div:nth-child(even) { padding-left: 18px; border-left: 1px solid rgb(12 45 32 / 35%); }
  .calculator-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calculator-actions .copy-button { grid-column: 1 / -1; }
  .technology-inner { grid-template-columns: 1.4fr .8fr; padding-block: 72px; align-items: center; }
  .tech-product { max-height: 400px; width: 100%; }
  .contact-actions { flex-direction: row; justify-content: start; flex-wrap: wrap; }
  .contact-inner, .field-inner { padding-block: 72px; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .gallery-rail-header { flex-direction: row; justify-content: space-between; align-items: center; }
  .story { grid-template-columns: .9fr 1.1fr; gap: 48px; padding-block: 56px; }
  .story-text-only { grid-template-columns: 1fr; }
  .story-text-only .story-copy { max-width: 70ch; }
  .certificate-list { grid-auto-columns: calc((100% - 28px) / 2); }
  .story-media { border-radius: 24px 24px 100px 24px; }
  .mobile-actions { display: none; }
  footer { padding-bottom: 0; }
  .contact-dock { right: 24px; bottom: 24px; }
}
@media (min-width: 1050px) {
  .trust-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: -42px; padding: 28px 30px; border: 1px solid rgb(23 63 46 / 12%); border-radius: 12px; background: rgb(255 255 255 / 94%); box-shadow: 0 22px 55px rgb(9 35 23 / 16%); backdrop-filter: blur(12px); }
  .trust-strip p { border: 0; padding: 0; }
  .trust-strip p + p { padding-left: 24px; border-left: 1px solid var(--line); }
  .brand-story { padding-block: 96px; }
  .brand-story-inner { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; }
  .calculator-workspace { display: grid; grid-template-columns: 250px minmax(0, 1fr); }
  .crop-picker { display: grid; align-content: start; padding: 34px 22px; border-radius: 0; }
  .crop-picker legend { margin-bottom: 26px; }
  .crop-options { grid-template-columns: 1fr; gap: 10px; }
  .crop-option span { min-height: 74px; flex-direction: row; align-items: center; justify-content: flex-start; padding: 14px; }
  .crop-option input:checked + span { padding: 13px; }
  .calculator { grid-template-columns: minmax(320px, .85fr) minmax(410px, 1.15fr); }
  .calculator-inputs, .calculator-result { padding: 40px; }
  .certificate-list { grid-auto-columns: calc((100% - 56px) / 3); }
  h2 { line-height: 1.2; }
  .hero-inner { min-height: 100svh; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr); gap: 56px; }
  .section-head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 60px; margin-bottom: 44px; }
  .product-copy { padding: 48px; }
  .product-media img { height: 390px; }
  .technology-inner { gap: 80px; }
  .field-copy { margin-bottom: 56px; }
  .story { grid-template-columns: .85fr 1.15fr; gap: 80px; padding-block: 64px; }
  .story-text-only { grid-template-columns: 1fr; }
  .faq { grid-template-columns: .8fr 1.3fr; gap: 72px; }
  .contact-inner { grid-template-columns: 1.4fr .8fr; gap: 72px; align-items: center; }
  .contact-actions { flex-direction: column; }
}
@media (min-width: 1200px) {
  :root { --header-height: 124px; }
  .brand { width: 190px; }
  .menu-toggle { display: none; }
  #main-nav, #main-nav.open { display: flex; position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0; border: 0; max-height: none; overflow: visible; color: var(--white); background: transparent; box-shadow: none; }
  #main-nav a { border: 0; padding-inline: 10px; white-space: nowrap; }
  #main-nav a[aria-current="location"] { color: var(--white); background: rgb(255 255 255 / 12%); }
  #main-nav .nav-cta, #main-nav .nav-cta[aria-current="location"] { margin-top: 0; color: var(--deep); background: var(--lime); }
}
.site-header.is-scrolled #main-nav { color: var(--ink); }
.site-header.is-scrolled #main-nav a[aria-current="location"] { color: var(--forest); background: #e5eadc; }
.site-header.is-scrolled #main-nav .nav-cta,
.site-header.is-scrolled #main-nav .nav-cta[aria-current="location"] { color: var(--deep); background: var(--lime); }
@media (hover: hover) and (min-width: 1200px) {
  .site-header.is-scrolled #main-nav a:not(.nav-cta):hover { color: var(--forest); background: #e5eadc; }
  .site-header.is-scrolled #main-nav .nav-cta:hover { color: var(--white); background: var(--deep); }
}
@media (max-width: 359px) {
  .technology h2 { font-size: 2rem; }
  .product-size-options { gap: 6px; }
  .product-size-option { padding: 10px 4px; }
  .product-size-options strong { font-size: 18px; }
  .product-size-option > span { font-size: 12px; }
  .wrap { width: calc(100% - 32px); }
  h1, h2 { font-size: 1.85rem; }
  .crop-options { gap: 8px; grid-auto-columns: minmax(138px, 76vw); }
  .crop-option span { padding: 14px; font-size: 15px; }
  .crop-option input:checked + span { padding: 13px; }
  .calculator-inputs, .calculator-result, .product-copy { padding: 24px 18px; }
  .mix-equation { gap: 8px; }
  .mix-operator { width: 28px; height: 28px; font-size: 17px; }
  th, td { padding-inline: 7px; }
  .mobile-actions { gap: 6px; padding-inline: 10px; }
  .mobile-actions a { font-size: 15px; }
  .certificate-empty { flex-direction: column; padding: 24px 20px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition-property: background-color, scale; transition-duration: 160ms, 150ms; transition-timing-function: ease-out; }
  .btn:not(:disabled):active { scale: .96; }
}
@media print {
  .skip-link, .site-header, .promo, .hero, .trust-strip, #story, #products, #benefits, #reviews, #certificates, #faq, #contact, footer, .mobile-actions, .contact-dock, .copy-button, .print-button, .reset-button, .water-presets, .compare-details { display: none; }
  body { background: white; color: black; font-size: 12pt; }
  .wrap { width: 100%; }
  .section { padding: 0; }
  .guide .section-head, .crop-picker, .calculator-inputs, .disclaimer { display: none; }
  .calculator-workspace, .calculator { display: block; box-shadow: none; }
  .calculator-result { padding: 24px; }
  .calculator-result, .result-output > p, .result-output .dose, .guide-facts dt { background: white; color: black; }
}
