/* One uninterrupted product scene fills the first viewport below the real header. */
.hero-refined{
 --header-height:110px;
 --hero-height:calc(100svh - var(--header-height));
 --hero-surface:var(--paper);
 position:relative;
 isolation:isolate;
 display:grid;
 grid-template-columns:minmax(0,37%) minmax(0,1fr);
 grid-template-areas:"intro ." "details .";
 grid-template-rows:auto auto;
 align-content:center;
 align-items:center;
 column-gap:0;
 row-gap:28px;
 width:100%;
 max-width:none;
 min-height:var(--hero-height);
 margin:0;
 padding:50px 5%;
 overflow:hidden;
 background:var(--hero-surface);
}
.hero-refined .hero-intro{grid-area:intro;position:relative;z-index:1;min-width:0;padding:0;align-self:end}
.hero-refined .hero-intro>.eyebrow{margin:0 0 25px;font-size:11px;line-height:1.6;letter-spacing:.1em;text-align:left}
.hero-refined h1{margin:0;font-size:clamp(55px,5.2vw,86px);line-height:1.02;letter-spacing:-.045em;max-width:none;text-align:left}
.hero-refined .hero-details{grid-area:details;position:relative;z-index:1;display:block;min-width:0;padding:0;margin:0;align-self:start;text-align:left}
.hero-refined .hero-details>p{font-size:16px;line-height:1.65;max-width:36ch;margin:0}
.hero-refined .hero-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:flex-start;gap:12px;margin:28px 0 0}
.hero-refined .hero-actions>a{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:13px 18px;font-size:13px;line-height:1.4;font-weight:500;white-space:nowrap}
.hero-refined .hero-actions .hero-secondary{border:1px solid currentColor;text-decoration:none;background:transparent}
.hero-refined .hero-actions .hero-secondary:hover{background:color-mix(in srgb,currentColor 7%,transparent)}
.hero-refined .hero-secondary>span{font-size:20px;line-height:1}
.hero-refined>.hero-visual{position:absolute;z-index:0;inset:0;grid-area:auto;display:block;width:100%;height:100%;min-height:0;max-height:none;min-width:0;max-width:none;margin:0;background:var(--hero-surface);overflow:hidden;pointer-events:none}
.hero-refined .hero-scene{position:absolute;inset:50% 0 auto auto;display:block;width:min(76%,calc(var(--hero-height)*4/3));height:auto;max-height:none;aspect-ratio:4/3;transform:translateY(-50%)}
.hero-refined .hero-photo{position:static;display:block;inset:auto;width:100%;height:100%;max-height:none;object-fit:contain;object-position:right center;mask-image:none}
.hero-refined .hero-scene::after{content:"";position:absolute;inset:-1px;pointer-events:none;background:linear-gradient(90deg,var(--hero-surface),transparent 16%,transparent 96%,var(--hero-surface)),linear-gradient(180deg,var(--hero-surface),transparent 12%,transparent 88%,var(--hero-surface))}

/* The panoramic photograph supplies the entire Napoleon scene; no card or frame. */
.hero-refined--cake{--header-height:172px;--hero-surface:#f3eee5}
.hero-refined--cake h1{font-size:clamp(70px,6.4vw,108px);line-height:.94;font-weight:500}
.hero-refined--cake h1 em{font-size:.48em;line-height:1.12;letter-spacing:-.025em;margin-top:15px}
.hero-refined--cake .hero-scene{inset:0;width:100%;height:100%;aspect-ratio:auto;transform:none}
.hero-refined--cake .hero-photo{object-position:center}
.hero-refined--cake .hero-scene::after{background:linear-gradient(90deg,var(--hero-surface),transparent 9%,transparent 94%,var(--hero-surface)),linear-gradient(180deg,var(--hero-surface),transparent 10%,transparent 90%,var(--hero-surface))}
.hero-refined--cake .hero-actions .hero-secondary{color:var(--accent)}
@media(min-width:1200px){
 .hero-refined--cake .hero-photo{object-fit:cover;object-position:right 65%}
 .hero-refined--cake .hero-scene::after{background:linear-gradient(90deg,#f3eee55c,transparent 42%)}
}
@media(min-width:960px) and (max-width:1199px){
 .hero-refined--cake .hero-scene{top:50%;bottom:auto;height:auto;aspect-ratio:1672/941;transform:translateY(-50%)}
}

/* Plum and coral continue across the complete Joommy scene. */
.hero-refined--sweet{--hero-surface:var(--ink)}
.hero-refined--sweet .hero-intro>.eyebrow{color:#edac9c}
.hero-refined--sweet h1{font-size:clamp(51px,4.55vw,78px);line-height:1.03;font-weight:800}
.hero-refined--sweet h1 em{display:block;font-style:normal;color:var(--soft)}
.hero-refined--sweet .hero-actions>a{border-radius:999px;font-weight:650}
.hero-refined--sweet .hero-actions .hero-secondary{color:var(--paper)}

/* The light Sattva surface surrounds the complete ingredient arrangement. */
.hero-refined--natural{--header-height:94px;--hero-surface:var(--paper)}
.hero-refined--natural h1{font-size:clamp(52px,4.7vw,80px);line-height:1.04;font-weight:500}
.hero-refined--natural .atlas-cover-meta{display:flex;flex-wrap:wrap;gap:12px 30px;margin-top:28px;padding-top:15px;font-size:11px}
.hero-refined--natural .hero-actions>a{font-size:12px;padding-inline:15px;gap:12px}

@media(min-width:960px) and (max-width:1199px){
 .hero-refined{padding-block:36px;row-gap:24px;grid-template-columns:minmax(0,39%) minmax(0,1fr)}
 .hero-refined .hero-intro>.eyebrow{font-size:10px;margin-bottom:20px}
 .hero-refined .hero-details>p{font-size:15px}
 .hero-refined .hero-actions{margin-top:23px;gap:10px}
 .hero-refined .hero-actions>a{min-height:48px;padding:12px 15px}
 .hero-refined--sweet h1{font-size:49px}
 .hero-refined--natural h1{font-size:49px}
 .hero-refined:not(.hero-refined--cake) .hero-scene{width:68%}
}

/* On narrow screens, the same full-height scene reads title, complete product, CTA. */
@media(max-width:959px){
 .hero-refined{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "visual" "details";grid-template-rows:auto minmax(180px,1fr) auto;height:var(--hero-height);row-gap:20px;padding:28px 0 32px;align-content:stretch}
 .hero-refined .hero-intro{padding-inline:5%;align-self:auto}
 .hero-refined .hero-intro>.eyebrow{margin-bottom:15px}
 .hero-refined h1{font-size:clamp(45px,7.2vw,65px);line-height:1.04}
 .hero-refined>.hero-visual{grid-area:visual;position:relative;inset:auto;height:100%;align-self:stretch;justify-self:stretch;container-type:size}
 .hero-refined .hero-scene{inset:50% auto auto 50%;width:min(100%,calc(100cqh * 4/3));height:auto;aspect-ratio:4/3;transform:translate(-50%,-50%)}
 .hero-refined--cake .hero-scene{width:min(100%,calc(100cqh * 3/2));aspect-ratio:3/2}
 .hero-refined .hero-photo{object-position:center}
 .hero-refined .hero-scene::after{background:linear-gradient(180deg,var(--hero-surface),transparent 9%,transparent 91%,var(--hero-surface))}
 .hero-refined .hero-details{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 24px;align-items:center;padding-inline:5%}
 .hero-refined .hero-details>p{font-size:15px;max-width:36ch}
 .hero-refined .hero-actions{margin:0;flex-direction:column;align-items:stretch;gap:10px}
 .hero-refined .hero-actions>a{min-height:48px}
 .hero-refined--cake h1{font-size:70px}
 .hero-refined--cake h1 em{font-size:.48em;line-height:1.12;margin-top:8px}
 .hero-refined--natural .atlas-cover-meta{grid-column:1 / -1;margin-top:0;padding-top:13px}
}
@media(max-width:760px){
 .hero-refined{--header-height:90px;row-gap:16px;padding:24px 0 26px}
 .hero-refined--natural{--header-height:74px}
 .hero-refined .hero-intro>.eyebrow{font-size:10px;letter-spacing:.06em;margin-bottom:13px}
 .hero-refined h1{font-size:clamp(38px,10.6vw,46px);line-height:1.04;letter-spacing:-.045em}
 .hero-refined--cake h1{font-size:58px;line-height:.94}
 .hero-refined--cake h1 em{font-size:.5em;line-height:1.12;margin-top:8px}
 .hero-refined--cake .hero-scene{top:calc(50% - 12px)}
 .hero-refined .hero-details{display:block}
 .hero-refined .hero-details>p{font-size:15px;line-height:1.55;max-width:none}
 .hero-refined .hero-actions{margin-top:18px;gap:10px;align-items:stretch}
 .hero-refined .hero-actions>a{min-height:48px;padding:12px 17px;font-size:13px}
 .hero-refined--natural .atlas-cover-meta{margin-top:18px;padding-top:12px;font-size:10px;justify-content:space-between}
}
@media(max-height:740px) and (max-width:959px){
 .hero-refined{height:auto;min-height:var(--hero-height);grid-template-rows:auto minmax(180px,1fr) auto;row-gap:12px;padding-block:18px}
 .hero-refined .hero-intro>.eyebrow{margin-bottom:10px}
 .hero-refined .hero-actions{margin-top:13px}
}
