/* COSMOSWHALE v19 · ABOUT / R&D / INGREDIENTS visual refinements */
/* ABOUT: hierarchy and alignment */
[data-page="about"] .abt-v18-kicker{gap:0}
[data-page="about"] .abt-v18-hero h1{font-size:clamp(29px,3.0vw,43px)!important;margin-bottom:clamp(28px,4vw,48px)!important}
[data-page="about"] .abt-v18-formula{display:flex;align-items:start;gap:clamp(12px,2vw,28px);font-size:clamp(40px,5.6vw,76px)!important;white-space:nowrap}
[data-page="about"] .abt-v19-namepair{display:flex;flex-direction:column;align-items:center;gap:10px}
[data-page="about"] .abt-v19-namepair strong{font-size:1em;line-height:1;font-weight:730;letter-spacing:-.065em}
[data-page="about"] .abt-v19-namepair small{font-size:clamp(13px,1.2vw,18px);line-height:1.35;font-weight:600;letter-spacing:.04em;color:#cbdfec}
[data-page="about"] .abt-v18-formula b{font-size:.68em!important;line-height:1.1!important;margin-top:.12em;font-weight:340}
[data-page="about"] .abt-v18-leadcopy{max-width:1020px!important;margin-top:clamp(42px,6vw,82px)}
[data-page="about"] .abt-v18-leadcopy p.abt-v18-lead{font-size:clamp(20px,1.8vw,26px)!important;line-height:1.55!important;margin-bottom:25px!important}
[data-page="about"] .abt-v19-three-lines{display:flex;flex-direction:column;gap:7px;max-width:1020px}
[data-page="about"] .abt-v19-three-lines p{font-size:clamp(17px,1.36vw,20px)!important;line-height:1.72!important;margin:0!important;letter-spacing:-.016em;color:#edf4fb!important}
[data-page="about"] .abt-v18-hero-content{padding-bottom:clamp(105px,13vw,178px)!important}
/* ABOUT origin remove ending separator / maintain two readable columns */
[data-page="about"] .abt-origin-story{padding-top:8px}
@media (min-width:761px){
  [data-page="about"] .abt-origin-layout{--portrait-max:450px;grid-template-rows:auto 1fr;row-gap:0}
  /* The centered 779×787 photo in a 3:4 frame has its hairline at 24.4% of the frame width. */
  [data-page="about"] .abt-origin-layout::before{content:"";grid-area:1/1;width:100%;max-width:var(--portrait-max);aspect-ratio:1/.244;align-self:start}
  [data-page="about"] .abt-founder-card{grid-area:1/1/3/2;max-width:var(--portrait-max)}
  [data-page="about"] .abt-origin-story{grid-area:2/2;align-self:start;padding-top:0;margin-top:calc(-.2 * clamp(20px,1.8vw,25px))}
}
[data-page="about"] .abt-origin-story p:last-child{margin-bottom:0!important}
/* ABOUT direction: three research principles add depth without repeating R&D detail */
[data-page="about"] .abt-v19-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:clamp(38px,5vw,58px) 0 6px;max-width:1160px}
[data-page="about"] .abt-v19-principles>div{padding:22px 14px 8px 0;border-top:1px solid #a3b7cb;min-width:0}
[data-page="about"] .abt-v19-principles span{display:block;font:600 11px/1.5 var(--mono);letter-spacing:.1em;color:#426e95;margin-bottom:12px}
[data-page="about"] .abt-v19-principles strong{display:block;color:#172a43;font-size:18px;font-weight:700;line-height:1.35;margin-bottom:10px}
[data-page="about"] .abt-v19-principles p{font-size:14px!important;line-height:1.75!important;margin:0!important;color:#54657a!important}
[data-page="about"] .abt-direction-link{margin-top:30px!important}
/* About journey: leave breathing room for timeline but remove empty bottom */
[data-page="about"] .abt-journey{padding-top:clamp(72px,7.5vw,105px)!important;padding-bottom:clamp(64px,6.5vw,90px)!important}
[data-page="about"] .abt-timeline{margin-top:40px!important}
/* R&D top nav matches other pages: no extra sticky subnav */
[data-page="research"] .phero{padding-bottom:clamp(64px,7vw,95px)}
[data-page="research"] .cw-v19-stacked-head{display:flex!important;flex-direction:column;align-items:flex-start;gap:22px!important}
[data-page="research"] .cw-v19-stacked-head .h2{font-size:clamp(26px,2.7vw,37px)!important;white-space:nowrap;max-width:none}
[data-page="research"] .cw-v19-stacked-head .lead{max-width:1000px;font-size:clamp(16px,1.25vw,18px);line-height:1.85}
/* R&D development case: understated but visibly a single documented case */
[data-page="research"] .v18-rd-case{background:linear-gradient(145deg,#dbe7f2 0%,#e8f0f7 63%,#dce8f3 100%)!important;border:1px solid #c4d3e1!important;border-left:4px solid #6f96ba!important;color:#172c45!important;box-shadow:0 8px 24px rgba(41,78,111,.045)}
[data-page="research"] .v18-rd-case .label,[data-page="research"] .v18-rd-case .mono{color:#496f93!important}
[data-page="research"] .v18-rd-case h3,[data-page="research"] .v18-rd-case h4{color:#142943!important}
[data-page="research"] .v18-rd-case-heading p:last-child{color:#54657a!important}
[data-page="research"] .v18-material-grid{gap:20px}
[data-page="research"] .v18-material-grid article{background:rgba(255,255,255,.62)!important;border:1px solid #cad8e6!important;padding:25px 26px}
[data-page="research"] .v18-material-grid article p{color:#52647b!important}
[data-page="research"] .v18-rd-case .btn{margin-top:26px}
[data-page="research"] #applications{padding-top:clamp(80px,8vw,116px)!important}
[data-page="research"] #product-development{padding-top:clamp(84px,8.5vw,122px)!important}
/* INGREDIENTS: introductory type matches strain section lead */
[data-page="ingredient"] .cw-v19-ingredient-lead{font-size:clamp(17px,1.35vw,20px)!important;line-height:1.7!important;max-width:36em;color:var(--ink-2)}
[data-page="ingredient"] .v18-selection-rationale .v18-source-note{margin:22px 0 0;padding-top:18px;border-top:1px solid #bfcede;font-size:12px!important;line-height:1.8!important;color:#596c82!important;max-width:100%}
[data-page="ingredient"] .v18-selection-rationale .v18-source-note a{font-size:inherit}
@media(max-width:900px){[data-page="research"] .cw-v19-stacked-head .h2{white-space:normal}}
@media(max-width:760px){
 [data-page="about"] .abt-v18-hero h1{font-size:clamp(27px,7vw,37px)!important}
 [data-page="about"] .abt-v18-formula{font-size:clamp(31px,8vw,52px)!important;gap:9px!important}
 [data-page="about"] .abt-v19-namepair small{font-size:13px}
 [data-page="about"] .abt-v18-leadcopy{margin-top:44px!important}
 [data-page="about"] .abt-v18-leadcopy p.abt-v18-lead{font-size:clamp(18px,5vw,22px)!important}
 [data-page="about"] .abt-v19-three-lines p{font-size:16px!important;line-height:1.75!important}
 [data-page="about"] .abt-v18-hero-content{padding-bottom:260px!important}
 [data-page="about"] .abt-v19-principles{grid-template-columns:1fr;gap:6px;margin-top:30px}
 [data-page="about"] .abt-v19-principles>div{padding:18px 0 12px}
 [data-page="about"] .abt-journey{padding-bottom:42px!important}
 [data-page="research"] .cw-v19-stacked-head .h2{font-size:clamp(24px,6.2vw,32px)!important}
 [data-page="research"] .v18-material-grid{gap:12px}
 [data-page="research"] .v18-rd-case{padding:22px 19px!important}
 .cw-v19-desktop-br{display:none}
}
/* End of ABOUT: shorten the large blank transition after the timeline */
[data-page="about"] .abt-inquiry{padding-top:clamp(145px,14vw,195px)!important}
[data-page="about"] .abt-inquiry .wrap{padding-top:20px!important}
@media(max-width:760px){[data-page="about"] .abt-inquiry{padding-top:112px!important}[data-page="about"] .abt-inquiry .wrap{padding-top:58px!important}}
