/* Shared language control; English changes are scoped to its locale. */
.cw-site .language-switch{display:flex;align-items:center;gap:7px;flex:none;font-family:inherit;font-size:12px;font-weight:600;letter-spacing:.03em;color:inherit;white-space:nowrap}
.cw-site .language-switch a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:28px;color:inherit;text-decoration:none;opacity:.6}
.cw-site .language-switch a[aria-current=true],.cw-site .language-switch a:hover{opacity:1}
.cw-site .language-switch a[aria-current=true]{text-decoration:underline;text-underline-offset:5px}
.cw-site .hdr>.wrap{gap:16px}
.cw-site .hdr .language-switch{margin-left:auto}
.cw-site .mnav>.language-switch{justify-content:flex-end;margin:8px 0 16px}
.cw-site .pcard[hidden]{display:none!important}

@media(max-width:480px){.cw-site .hdr>.wrap{gap:6px;padding-inline:14px}.cw-site .hdr .language-switch{gap:3px;font-size:11px}.cw-site .hdr .logo{gap:5px}.cw-site .hdr .logo .sym{height:21px}.cw-site .hdr .logo .word{height:10px}.cw-site .hdr .burger{width:38px;min-width:38px}}
html[lang=en] .cw-site main :is(p,h1,h2,h3,h4,li,figcaption,.label,.mono){word-break:normal;overflow-wrap:anywhere;hyphens:manual}
html[lang=en] .cw-site main :is(h1,h2,h3,h4,.lead,.body){white-space:normal!important}
html[lang=en] .cw-site main :is(.desktop-break,.home-about-break,.abt-copy-break,.rd-microbial-break,.application-copy-break,.lc-mobile-break){display:none!important}
html[lang=en] .cw-site main :is(h1,h2,h3,h4){text-wrap:balance}
html[lang=en] .cw-site .btn{white-space:normal;line-height:1.5;height:auto;max-width:100%}
html[lang=en] [data-page=home] .home-devcase{padding-top:28px!important;padding-bottom:28px!important}
html[lang=en] [data-page=home] .home-devcase-kicker{position:static!important;display:block;margin-bottom:18px}
html[lang=en] [data-page=home] .home-devcase-row{grid-template-columns:auto minmax(0,1fr) auto;gap:24px}
html[lang=en] [data-page=home] .home-devcase-row :is(h3,p){position:static!important;transform:none}
html[lang=en] [data-page=home] .home-devcase-link{position:static;transform:none;max-width:230px;width:auto;justify-self:end}
html[lang=en] [data-page=home] .home-about-bottom{grid-template-columns:minmax(0,1fr) auto}
html[lang=en] [data-page=home] .link-item .kind{min-height:3em}
html[lang=en] [data-page=home] .mk-shelf .product-name{white-space:normal!important;min-height:2.8em!important}
html[lang=en] [data-page=about] .abt-origin-story{width:100%!important;max-width:none!important}
html[lang=en] [data-page=about] .abt-origin-lede{white-space:normal!important;text-align:left!important}
html[lang=en] [data-page=about] .abt-v18-leadcopy{max-width:65ch}
html[lang=en] [data-page=about] .abt-v18-hero{min-height:0}
html[lang=en] [data-page=ingredient] .cw27-process-steps{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr)!important;width:100%!important;column-gap:16px}
html[lang=en] [data-page=ingredient] .cw27-process-step{min-width:0}
html[lang=en] [data-page=ingredient] #beyond-salmon .cw27-figure-card{min-height:0;height:auto;grid-template-rows:auto auto!important}
html[lang=en] [data-page=ingredient] #beyond-salmon .cw27-figure-card>div:first-child{min-height:0;height:auto}
html[lang=en] [data-page=ingredient] #beyond-salmon .cw27-figure-card h4{min-height:2.8em}
html[lang=en] [data-page=ingredient] #beyond-salmon .cw27-figure-card>div:first-child p{min-height:0}
html[lang=en] [data-page=products] .plist{row-gap:0}
html[lang=en] [data-page=products] .pcard{display:grid;grid-row:span 6;grid-template-rows:subgrid;row-gap:0;padding-bottom:40px}
html[lang=en] [data-page=products] .pcard>.ph{grid-row:1}
html[lang=en] [data-page=products] .pcard>.cat{grid-row:2}
html[lang=en] [data-page=products] .pcard>h3{display:block;grid-row:3}
html[lang=en] [data-page=products] .pcard>.product-details{display:grid;grid-template-rows:subgrid;grid-row:4/span 2;margin:20px 0 0;row-gap:0}
html[lang=en] [data-page=products] .product-feature{margin-bottom:14px}
html[lang=en] [data-page=products] .product-function{margin-bottom:24px;align-self:start}
html[lang=en] [data-page=products] .product-actions{grid-row:6}
@media(max-width:1100px){
 html[lang=en] [data-page=home] .home-devcase-row{grid-template-columns:minmax(0,1fr)}
 html[lang=en] [data-page=home] .home-devcase-row>*{grid-column:1!important;grid-row:auto!important}
 html[lang=en] [data-page=home] .home-about-bottom{grid-template-columns:minmax(0,1fr)}
 html[lang=en] [data-page=ingredient] .cw27-process-steps{grid-template-columns:minmax(0,1fr)!important}
 html[lang=en] [data-page=home] .link-item .kind{min-height:0}
}
@media(max-width:480px){html[lang=en] [data-page=products] .pcard{display:flex;grid-row:auto}html[lang=en] [data-page=products] .pcard>.product-details{display:grid;grid-template-rows:auto auto}}
@media(max-width:1100px){
 html[lang=en] [data-page=about] .abt-v18-hero{display:flex;flex-direction:column;height:auto;min-height:0}
 html[lang=en] [data-page=about] .abt-v18-hero-content{order:1;transform:none!important;padding-bottom:24px!important}
 html[lang=en] [data-page=about] .abt-v18-whale{order:2;position:relative!important;inset:auto!important;align-self:flex-end;width:78%;max-width:600px;margin:8px -6% 0 0;flex:none}
}

/* Editorial refinement: flexible shared tracks rather than fixed text heights. */
@media(min-width:1400px){
 .cw-site .hdr>.wrap{max-width:1480px;gap:32px;padding-inline:32px}
 .cw-site .hdr .logo{flex-shrink:0;margin-right:auto}
 .cw-site .hdr .nav{font-size:14px!important;gap:2px!important;flex-shrink:0}
 .cw-site .hdr .nav>a,.cw-site .hdr .nav>div>a{padding-inline:10px}
 .cw-site .hdr .language-switch{margin-left:16px;font-size:13px}
}
html[lang=en] [data-page=about] .abt-v18-hero-content{width:100%;margin-inline:auto}
html[lang=en] [data-page=about] .abt-v18-leadcopy{max-width:58ch}
html[lang=en] [data-page=products] .product-function{line-height:1.6}
html[lang=en] [data-page=products] .product-feature{line-height:1.65!important;text-wrap:pretty}
@media(min-width:481px) and (max-width:1100px){
 [data-page=products] .product-feature{font-size:clamp(14px,1.65vw,16px)!important;line-height:1.65!important;word-break:keep-all;overflow-wrap:break-word;text-wrap:pretty}
 [data-page=products] .product-feature br{display:none}
}
@media(min-width:481px){
 .cw-site .devs,.cw-site .pdev{row-gap:20px}
 .cw-site .devs>li{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:10px;align-content:start}
 .cw-site .pdev>li{display:grid;grid-template-rows:subgrid;grid-row:span 2;row-gap:10px;align-content:start}
 .cw-site .devs>li>*,.cw-site .pdev>li>*{margin-block:0!important;align-self:start}
}
@media(min-width:801px){
 html[lang=en] [data-page=ingredient] #beyond-salmon .cw27-figure-card{display:grid;grid-template-rows:subgrid!important;grid-row:span 4;row-gap:12px!important;align-content:start}
 html[lang=en] [data-page=ingredient] #beyond-salmon .cw27-figure-card>div:first-child{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:12px}
 html[lang=en] [data-page=ingredient] #beyond-salmon .cw27-figure-card h4{min-height:0;margin:0!important;align-self:start;text-wrap:pretty}
 html[lang=en] [data-page=ingredient] #beyond-salmon .cw27-figure-card>div:first-child p{margin:0!important;align-self:start}
 html[lang=en] [data-page=ingredient] #beyond-salmon .cw27-figure-card>:last-child{align-self:start;margin-block:0!important}
}
html[lang=en] [data-page=ingredient] #beyond-salmon .cw27-figure-card h4{min-height:0}

/* Shared rhythm and compact labels, with natural wrapping below desktop. */
html[lang=en] .cw-site .btn{width:max-content;max-width:100%;white-space:nowrap;font-size:14px}
html[lang=en] [data-page=home] .home-devcase-link{max-width:100%;width:max-content}
html[lang=en] [data-page=partners] .cw-partner-card h3{font-weight:600!important}
[data-page=contact] .contact-form-wrap{max-width:1120px}
[data-page=contact] .types .opts{display:flex;flex-wrap:wrap;gap:8px}
[data-page=contact] .types .opts label{flex:0 1 auto;min-width:0}
[data-page=contact] .types .opts label span{white-space:nowrap}
@media(min-width:801px){
 [data-page=research] .v18-material-grid>article:not(.rd-yield-wide){display:grid;grid-template-rows:subgrid;grid-row:span 4;row-gap:12px}
 [data-page=research] .v18-material-grid>article:not(.rd-yield-wide)>*{margin-block:0!important;align-self:start}
 [data-page=research] .v18-material-grid>article:not(.rd-yield-wide)>.rd-case-visual{margin-top:8px!important}
}
@media(min-width:1101px){
 .cw-site[data-page=ingredient] #overview .cw28-related-research{gap:20px;flex-wrap:nowrap}
 .cw-site[data-page=ingredient] #overview .cw28-research-links{flex-wrap:nowrap;gap:18px;flex:0 1 auto}
 .cw-site[data-page=ingredient] #overview .cw28-research-links a{white-space:nowrap;font-size:12px;letter-spacing:0}
 .cw-site[data-page=ingredient] #overview .cw28-related-research>.mono{font-size:12px;flex-shrink:0}
}
@media(max-width:1100px){
 .cw-site[data-page=ingredient] #overview .cw28-research-links{flex-wrap:wrap;gap:12px 20px}
}
@media(max-width:360px){html[lang=en] .cw-site .btn{font-size:13px;padding-inline:14px}}

/* Shared OEM spacing and aligned microbial activity columns. */
.cw-site[data-page=oem-odm] .cw21-oem-service h3{margin-bottom:16px!important}
.cw-site[data-page=oem-odm] .cw21-oem-art{margin-top:calc(20px / 3)!important}
[data-page=research] .acts li{align-items:center}
[data-page=research] .acts li>*{align-self:center;margin-block:0}
html[lang=en] [data-page=research] .acts li{grid-template-columns:145px minmax(0,1fr);column-gap:16px}
html[lang=en] [data-page=research] .acts b{word-break:normal;overflow-wrap:normal;hyphens:none}
html[lang=en] [data-page=about] .abt-v19-timeline li{overflow-wrap:normal;word-break:normal}
@media(min-width:1101px){
 html[lang=en] [data-page=ingredient] .cw28-why-body>p:last-child{max-width:none;font-size:clamp(15px,1.2vw,17px)!important;letter-spacing:-.008em}
}
@media(max-width:480px){
 html[lang=en] [data-page=research] .acts li{grid-template-columns:minmax(0,1fr);row-gap:8px}
}

/* Keep the pre-integration header palette and desktop navigation with KO/EN. */
.cw-site .hdr:not(.on-dark){color:#131a2b;background:rgba(246,247,249,.9);box-shadow:0 1px 0 #d9dee7;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.cw-site .hdr.on-dark{color:#f3f6fb;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.cw-site .hdr.on-dark.dim{background:rgba(7,21,48,.78);box-shadow:0 1px 0 rgba(243,246,251,.08);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
@media(min-width:901px){
 .cw-site .hdr>.wrap{width:calc(100% - 32px);max-width:1480px;padding-inline:0;gap:12px}
 .cw-site .hdr .nav{display:flex!important;gap:0!important;font-size:clamp(10.5px,1vw,13px)!important;letter-spacing:.02em;flex-shrink:0}
 .cw-site .hdr .nav>a,.cw-site .hdr .dd>a{padding-inline:clamp(4px,.65vw,9px)}
 .cw-site .hdr .burger{display:none!important}
 .cw-site .hdr .language-switch{margin-left:0;font-size:12px;gap:4px}
 .cw-site .hdr .logo{margin-right:auto}
}
@media(min-width:901px) and (max-width:1100px){
 .cw-site .hdr .logo{gap:6px}
 .cw-site .hdr .logo .sym{height:25px}
 .cw-site .hdr .logo .word{height:11px}
 .cw-site .hdr .language-switch a{min-width:24px}
}
@media(max-width:900px){
 .cw-site .hdr .nav{display:none!important}
 .cw-site .hdr .burger{display:block!important}
}
