/* A readable catalogue of compositions, with an individual visual chapter for each. */
.collection-opening{padding-block:96px 64px}
.collection-kicker{font-size:13px;color:#555;display:block;margin-bottom:32px}
.collection-opening h1{font-size:clamp(42px,5.8vw,82px);max-width:960px;line-height:1.08;letter-spacing:-.035em;text-wrap:balance}
.collection-opening-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:50px;margin-top:42px}
.collection-opening-bottom p{max-width:490px;color:#555;font-size:18px;line-height:1.7}
.collection-opening-bottom a{font-size:15px;flex-shrink:0;gap:28px;min-height:48px}
.collection-navigation{padding-block:0 38px}
.collection-index{display:flex;gap:30px;flex-wrap:wrap;border-bottom:1px solid #dededb;padding-bottom:20px}
.collection-index a{font-size:13px;min-height:48px;display:flex;align-items:center;border-bottom:1px solid transparent}
.collection-index a:hover{border-color:#333}
.formula-story{position:relative;height:auto;background:#f5f5f2;scroll-margin-top:calc(var(--header) + 24px)}
.formula-story:nth-child(even){background:#fff}
.formula-shell{max-width:1440px;margin:auto;padding:64px var(--gutter) 80px}
.formula-heading{display:flex;align-items:center;gap:24px;margin-bottom:36px}
.formula-number{font-size:13px;color:#61615c}
.formula-heading h2{font-size:clamp(22px,2.7vw,40px);letter-spacing:-.025em;line-height:1.2}
.formula-heading-rule{height:1px;background:#d7d7d3;flex:1;min-width:20px}
.formula-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:9%;align-items:center}
.formula-images{position:relative;min-width:0;display:grid;grid-template-columns:1fr;justify-items:center}
.formula-packshot{height:440px;width:100%;margin:0}
.formula-packshot img{width:100%;height:100%;object-fit:contain}
.formula-detail{margin:20px 0 0;max-width:300px;width:70%;align-self:end;justify-self:start}
.formula-detail img{width:100%;height:155px;object-fit:contain}
.formula-detail figcaption{font-size:12px;color:#5b5b57;margin-top:10px;text-align:center}
.formula-copy h3{font-size:clamp(30px,3vw,46px);line-height:1.16;letter-spacing:-.025em;max-width:490px;text-wrap:balance}
.formula-description{font-size:17px;color:#555;line-height:1.75;margin-top:24px;max-width:480px}
.formula-composition{margin-top:30px;border-top:1px solid #d7d7d3;padding-top:20px}
.formula-label{display:block;font-size:12px;color:#64645e;margin-bottom:12px}
.formula-composition ul{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:0;margin:0;font-size:15px;color:#292929}
.formula-composition li{border-bottom:1px solid #d7d7d3;padding-bottom:6px}
.formula-ingredient{display:flex;align-items:center;gap:24px;margin:26px 0;min-width:0}
.formula-ingredient img{width:140px;height:140px;object-fit:contain;flex-shrink:0}
.formula-ingredient figcaption{flex:1;min-width:0}.formula-ingredient strong{font-size:16px;font-weight:500;line-height:1.5;display:block}
.formula-link{font-size:16px;gap:30px;min-height:48px}
.formula-story:nth-child(even) .formula-images{grid-column:2;grid-row:1}
.formula-story:nth-child(even) .formula-copy{grid-column:1;grid-row:1}
.formula-story:nth-child(even) .formula-detail{justify-self:end}
@media(prefers-reduced-motion:no-preference){.formula-visible .formula-packshot{animation:formula-arrive .75s cubic-bezier(.22,1,.36,1) both}@keyframes formula-arrive{from{opacity:.55;transform:translateY(20px)}to{opacity:1;transform:none}}}
body[data-page=collection] .ingredient-directory{padding-block:90px}
body[data-page=collection] .product-card h3{font-size:22px!important;line-height:1.3;overflow-wrap:anywhere}
@media(max-width:760px){
 .collection-opening{padding-block:46px 32px}.collection-kicker{margin-bottom:22px;font-size:13px}
 .collection-opening h1{font-size:40px;line-height:1.16;text-wrap:pretty}
 .collection-opening-bottom{display:block;margin-top:24px}.collection-opening-bottom a{margin-top:20px;white-space:normal}
 .collection-navigation{padding-bottom:26px}
 .collection-index{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding-bottom:18px}
 .collection-index a{font-size:13px!important;line-height:1.4!important;min-height:48px;overflow-wrap:anywhere}
 .formula-shell{padding:36px 22px 50px}.formula-heading{gap:14px;margin-bottom:26px}
 body .formula-heading h2{font-size:24px!important;overflow-wrap:anywhere;line-height:1.3}.formula-heading-rule{display:none}
 .formula-layout{display:flex;flex-direction:column;gap:32px;align-items:stretch}
 .formula-images{grid-template-columns:1fr .72fr;gap:12px;align-items:center}
 .formula-packshot{height:255px}.formula-detail{margin:0;width:100%;max-width:none;align-self:center}
 .formula-detail img{height:150px}.formula-detail figcaption{font-size:12px;line-height:1.5}
 body .formula-copy h3{font-size:28px!important;line-height:1.25;max-width:none;text-wrap:pretty}
 .formula-description{margin-top:18px}.formula-composition{margin-top:24px}
 .formula-label{font-size:13px}.formula-composition ul{font-size:15px;gap:8px 16px}
 .formula-ingredient{gap:20px;margin:24px 0}.formula-ingredient img{width:115px;height:130px}
 .formula-ingredient strong{font-size:16px}
 body[data-page=collection] .ingredient-directory{padding-block:60px}
 body[data-page=collection] .product-card h3{font-size:17px!important;min-height:48px}
 body[data-page=collection] .product-card-copy p{font-size:14px!important;line-height:1.65!important}
 body[data-page=collection] .product-card-media{height:215px}
 .all-products{padding-block:60px}
}
@media(max-width:360px){.collection-opening h1{font-size:34px}.formula-images{grid-template-columns:1fr .65fr}.formula-packshot{height:220px}.formula-detail img{height:120px}body .formula-heading h2{font-size:21px!important}}
.formula-story{scroll-margin-top:0}
/* Three connected visual acts; body copy and ingredient notes stay visible. */
.formula-sequence{width:100%;min-width:0}
.formula-packshot{position:relative;overflow:hidden}
.formula-packshot .formula-view{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;will-change:auto}
.formula-packshot .formula-view-detail,.formula-packshot .formula-view-study{opacity:0;padding:5%}
.formula-packshot.manual-view .formula-view{transition:opacity .35s ease,transform .45s cubic-bezier(.22,1,.36,1)}
.formula-views{display:flex;justify-content:center;gap:26px;margin-top:14px}
.formula-views button{position:relative;min-height:48px;padding:10px 0;font-size:13px;color:#62625c;transition:color .2s}
.formula-views button:after{content:'';position:absolute;bottom:2px;height:1px;left:0;right:0;background:#222;transform:scaleX(0);transform-origin:left;transition:transform .25s}
.formula-views button[aria-pressed=true]{color:#111}
.formula-views button[aria-pressed=true]:after{transform:scaleX(1)}
.formula-sequence-progress{height:1px;background:#e3e3df;margin:14px auto 0;max-width:200px;overflow:hidden}
.formula-sequence-progress span{display:block;height:100%;background:#90908a;transform:scaleX(0);transform-origin:left}
@media(min-width:1001px) and (min-height:780px){
 .formula-story{height:165svh}
 .formula-shell{position:sticky;top:var(--header);height:calc(100svh - var(--header));padding-top:32px;padding-bottom:32px;display:flex;flex-direction:column}
 .formula-heading{margin-bottom:24px;flex-shrink:0}
 .formula-layout{flex:1;min-height:0}
 .formula-packshot{height:clamp(240px,34svh,380px)}
 .formula-detail{margin-top:10px;max-width:210px}
 .formula-detail img{height:110px}
 .formula-copy h3{font-size:clamp(30px,2.8vw,42px)}
 .formula-description{margin-top:18px}
 .formula-composition{margin-top:20px;padding-top:16px}
 .formula-ingredient{margin-block:18px}.formula-ingredient img{height:110px;width:120px}
}
@media(max-width:760px){
 .formula-views{gap:14px;flex-wrap:wrap;margin-top:8px;justify-content:flex-start}
 body .formula-views button{font-size:12px!important;min-height:44px}
 .formula-sequence-progress{margin-top:8px}
 .formula-images{grid-template-columns:1fr;gap:18px}
 .formula-packshot{height:300px}
 .formula-detail{display:flex;align-items:center;justify-self:center!important;max-width:290px;gap:18px}
 .formula-detail img{width:130px;height:90px}.formula-detail figcaption{text-align:left}
 .formula-views{justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){.formula-packshot.manual-view .formula-view{transition:none}}
