/* ==========================================================================
   hx/heritage.css — Heritage pages (whole-site rebuild, 16–17 Oct 2026). Prefix hxhe-.
   Hub opening since 24 Oct 2026: the science hub's bleed plate + part index, stone rooms.
   /heritage/ (hub), /heritage/craftsmanship/, /heritage/sustainability/ — markup in
   template-parts/hx/heritage/*.php, routed by inc/hx-heritage.php. Depends on hx/system.css.
   Light, gallery-like: warm white / ivory / pearl grounds, graphite ink, hairlines, one
   12-column grid on the shared page margin. Critic round 1 (17 Oct): one signature full-bleed
   plate per page, max two text columns, max two eyebrows, reading copy ≥16px, Inter tabular
   numbering (.hxhe-num), no boxes or icons.
   ========================================================================== */

.hxhe{
	--hxhe-top:calc(var(--cos-nav-h,80px) + clamp(40px,1.5rem + 4vw,96px));
	display:block;
	background:var(--hx-white);
	color:var(--hx-text);
	font-family:var(--hx-sans);
	overflow-x:clip;
}
.hxhe :where(h1,h2,h3,p,ul,ol,li,dl,dt,dd,figure,blockquote){margin:0;padding:0}
.hxhe :where(ul,ol){list-style:none}
.hxhe ::selection{background:var(--hx-selection-bg);color:var(--hx-selection-fg)}

/* ─── Shared pieces ─────────────────────────────────────────────── */
.hxhe-sec{padding-block:var(--hx-section-sm)}
.hxhe-h2{max-width:13em;color:var(--hx-ink)}
.hxhe-h2--wide{max-width:17em}
.hxhe .hx-label + .hx-heading{margin-top:var(--hx-stack)}
.hxhe-head__lede{max-width:30em;margin-top:var(--hx-stack)}
.hxhe-nw{white-space:nowrap}

/* numbering: Inter, tabular, legible */
.hxhe-num{font-family:var(--hx-sans);font-size:var(--hx-fs-detail);font-weight:500;line-height:1.4;letter-spacing:.06em;color:var(--hx-accent);font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"lnum" 1,"tnum" 1}

.hxhe-prose{max-width:var(--hx-measure)}
.hxhe-prose p{font-size:var(--hx-fs-body);line-height:var(--hx-lh-body);color:var(--hx-text);text-wrap:pretty}
.hxhe-prose p.hx-lead{font-size:var(--hx-fs-lead);line-height:var(--hx-lh-lead)}
.hxhe-prose p + p{margin-top:1em}
.hxhe-prose a,.hxhe-cert__body a{color:var(--hx-ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em;text-decoration-color:var(--hx-line-strong);transition:text-decoration-color var(--hx-dur-ui) var(--hx-ease-soft)}
.hxhe-prose a:hover,.hxhe-cert__body a:hover{text-decoration-color:currentColor}
.hxhe-prose a:focus-visible,.hxhe-cert__body a:focus-visible{outline:var(--hx-focus-width) solid var(--hx-focus-color);outline-offset:3px}
.hxhe-prose .hx-link{text-decoration:none}

.hxhe-links{display:flex;flex-wrap:wrap;gap:0 var(--hx-s-6);margin-top:var(--hx-s-4)}
.hxhe-links .hx-link{color:var(--hx-ink)}

.hxhe-caption{font-family:var(--hx-sans);font-size:var(--hx-fs-detail);line-height:1.4;letter-spacing:.02em;color:var(--hx-muted);font-variant-numeric:lining-nums tabular-nums}

/* image / text split (12 columns ≥900px) */
.hxhe-split{display:grid;grid-template-columns:minmax(0,1fr);row-gap:clamp(36px,1.5rem + 2.5vw,56px)}
.hxhe-split__media{background:var(--hx-pearl)}
.hxhe-split__media img{aspect-ratio:4/5}
@media (max-width:899.98px){
	.hxhe-split__media{margin-inline:calc(-1 * var(--hx-margin))}
	.hxhe-split--image-left .hxhe-split__media{order:-1}
}
@media (min-width:900px){
	.hxhe-split{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--hx-gap);align-items:center}
	.hxhe-split--image-left .hxhe-split__media{grid-column:1 / span 5}
	.hxhe-split--image-left .hxhe-split__text{grid-column:7 / span 6}
}

/* heading + up to two text columns */
.hxhe-statement{display:grid;row-gap:clamp(28px,1rem + 2vw,48px)}
.hxhe-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:1em var(--hx-gap)}
@media (min-width:900px){
	.hxhe-cols{grid-template-columns:repeat(12,minmax(0,1fr))}
	.hxhe-cols > :first-child{grid-column:1 / span 6}
	.hxhe-cols > :last-child{grid-column:7 / span 6;padding-left:clamp(0px,2vw,32px)}
	.hxhe-statement--split{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--hx-gap);align-items:start}
	.hxhe-statement--split > .hxhe-h2{grid-column:1 / span 5}
	.hxhe-statement--split > .hxhe-prose{grid-column:7 / span 6}
}

/* ruled rows: meta + title on the left, reading copy on the right (≥900px) */
.hxhe-row{display:grid;grid-template-columns:minmax(0,1fr);row-gap:var(--hx-s-3);padding-block:var(--hx-s-6);border-top:1px solid var(--hx-line-strong)}
.hxhe-rows > :last-child{border-bottom:1px solid var(--hx-line-strong)}
.hxhe-row .hx-title{color:var(--hx-ink)}
.hxhe-row > p:last-child{font-size:var(--hx-fs-body);line-height:var(--hx-lh-body);color:var(--hx-text);max-width:var(--hx-measure);text-wrap:pretty}
@media (min-width:900px){
	.hxhe-row{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--hx-gap);align-items:baseline;padding-block:var(--hx-s-6) var(--hx-s-7)}
	.hxhe-row > :first-child{grid-column:1 / span 2}
	.hxhe-row > .hx-title{grid-column:3 / span 4}
	.hxhe-row > p:last-child{grid-column:7 / span 6}
}

/* ─── Hero: type above a full-bleed plate (hub, sustainability) ─── */
.hxhe-hero{background:var(--hx-white)}
.hxhe-hero--plate .hxhe-hero__text{display:grid;grid-template-columns:minmax(0,1fr);row-gap:var(--hx-s-6);padding-top:var(--hxhe-top);padding-bottom:clamp(36px,1.5rem + 2.5vw,64px)}
.hxhe-hero__label{color:var(--hx-accent)}
.hxhe-hero__title{max-width:9.5em;color:var(--hx-ink)}
.hxhe-hero__lede{max-width:28em}
.hxhe-hero__plate{position:relative;margin:0;background:#C9CACB}
.hxhe-hero__plate img{aspect-ratio:4/5;object-fit:cover;object-position:50% 100%}   /* phones: the summit, not the cloud */
.hxhe-hero__plate--valley{background:#A9A6A0}
.hxhe-hero__plate--valley img{object-position:50% 50%}
.hxhe-hero__plate .hxhe-caption{position:absolute;left:var(--hx-margin);bottom:var(--hx-s-4);color:var(--hx-ink);background:rgba(251,250,247,.86);padding:6px 10px}
@media (min-width:760px){
	.hxhe-hero__plate img{aspect-ratio:auto;height:clamp(440px,70svh,820px);object-position:50% 34%}
	.hxhe-hero__plate--valley img{object-position:50% 40%}
	.hxhe-hero__plate .hxhe-caption{left:auto;right:calc(max(0px,(100% - var(--hx-max) - 2 * var(--hx-margin)) / 2) + var(--hx-margin));bottom:var(--hx-s-5)}
}
@media (min-width:1024px){
	.hxhe-hero--plate .hxhe-hero__text{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--hx-gap);align-items:end}
	.hxhe-hero--plate .hxhe-hero__label{grid-column:1 / -1}
	.hxhe-hero--plate .hxhe-hero__title{grid-column:1 / span 7}
	.hxhe-hero--plate .hxhe-hero__aside{grid-column:9 / span 4;padding-bottom:.4em}
}

/* ─── Hero: bleed plate (hub, 24 Oct 2026) — the science hub's opening ───
   Landscape ≥700px: the wide Matterhorn fills the first screen from the top of the page, under
   the transparent header (its sky is #E4–#F2 there); the h1 and lead sit in ink on the cloud at
   the lower left (#9A–#A2: ink 5.9:1), in a column clear of the rock, which starts near 45%.
   Phones and portrait tablets: the tall crop (summit at its foot) on a clean edge, the type
   beneath on warm white. The place caption stays on the photograph. */
.hxhe-hero--bleed{display:grid;grid-template-columns:minmax(0,1fr);background:var(--hx-white)}
.hxhe-hero--bleed .hxhe-hero__plate{position:relative;overflow:hidden;background:#C9CACB}
.hxhe-hero--bleed .hxhe-hero__plate img{display:block;width:100%;aspect-ratio:auto;height:calc(min(140vw,62svh) + var(--cos-nav-h,80px));object-fit:cover;object-position:50% 100%}
.hxhe-hero--bleed .hxhe-hero__video{position:absolute;z-index:1;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.hxhe-hero--bleed .hxhe-caption{z-index:2}
.hxhe-hero__control{
	position:absolute;z-index:3;top:calc(var(--cos-nav-h,80px) + 16px);right:var(--hx-margin);
	min-width:68px;min-height:44px;padding:0 14px;border:0;border-radius:0;
	background:rgba(248,248,248,.86);color:var(--hx-ink);font:500 .75rem/1 var(--hx-sans);letter-spacing:.14em;text-transform:uppercase;cursor:pointer;
}
.hxhe-hero__control:hover{background:rgba(248,248,248,.96)}
.hxhe-hero__control:focus-visible{outline:var(--hx-focus-width) solid var(--hx-focus-color);outline-offset:3px}
/* Pause / Play: always visible (WCAG 2.2.2, audit 8 Nov 2026; the owner hid it from pointer users on 25 Oct), styled as a flat square caption chip in 12px tracked capitals, never a pill or blurred. Shows "Play" whenever the film is not playing (reduced motion, or paused). */
.hxhe-hero--bleed .hxhe-hero__text{display:grid;row-gap:var(--hx-s-5);padding-block:var(--hx-s-7) var(--hx-s-8)}
.hxhe-hero--bleed .hxhe-hero__title{max-width:9.5em}
.hxhe-hero--bleed .hxhe-hero__lede{max-width:30em}
@media (min-width:700px) and (orientation:landscape){
	.hxhe-hero--bleed{grid-template:minmax(0,1fr) / minmax(0,1fr);height:100svh;min-height:600px;max-height:1240px}
	.hxhe-hero--bleed .hxhe-hero__plate,.hxhe-hero--bleed .hxhe-hero__text{grid-area:1 / 1}
	.hxhe-hero--bleed .hxhe-hero__plate::after{
		content:"";position:absolute;z-index:2;inset:0;pointer-events:none;
		/* audit 8 Nov 2026: wider, firmer wash — the lede's line ends had run onto the dark rock */
		background:radial-gradient(ellipse 56% 52% at 12% 88%,rgba(248,248,248,.86) 0%,rgba(248,248,248,.7) 46%,rgba(248,248,248,0) 82%);
	}
	.hxhe-hero--bleed .hxhe-hero__plate img{height:100%;object-position:0 50%}
	.hxhe-hero--bleed .hxhe-hero__video{object-position:50% 0}
	.hxhe-hero--bleed .hxhe-hero__text{
		position:relative;z-index:3;   /* above the film and its local contrast wash */
		align-self:end;width:auto;max-width:none;margin:0;
		padding:0 var(--hx-margin) clamp(40px,7svh,88px);
	}
	.hxhe-hero--bleed .hxhe-hero__text > *{max-width:min(34rem,40vw)}
	.hxhe-hero--bleed .hxhe-hero__lede{max-width:min(30rem,34vw)}
	html body:not(.cos-h26) #cos-main-content .hxhe-hero--bleed .hxhe-hero__title{font-size:min(var(--ts-h1),3.6vw)}
	.hxhe-hero--bleed .hxhe-hero__lede{color:var(--hx-ink)}
	.hxhe-hero--bleed .hxhe-hero__plate .hxhe-caption{z-index:3;left:auto;right:var(--hx-margin);bottom:var(--hx-s-5)}
}

/* the valley as a bleed opening (sustainability, 25 Oct 2026): framed on the stream and forest,
   not the Matterhorn's summit-at-the-foot crop */
.hxhe-hero--valley .hxhe-hero__plate{background:#A9A6A0}
.hxhe-hero--bleed.hxhe-hero--valley .hxhe-hero__plate img{object-position:50% 55%}
/* the forest is dark where the header and the type sit (the Matterhorn has sky and cloud there):
   a pearl haze behind the transparent bar, and a fuller wash under the type */
/* (25 Oct 2026, owner: "header menu transparent on all pages") the haze behind the bar is gone: the bar floats on the photograph and takes ink or pearl from it (hx-hero-tone.js) */
@media (min-width:700px) and (orientation:landscape){
	.hxhe-hero--bleed.hxhe-hero--valley .hxhe-hero__plate img{object-position:50% 40%}
	.hxhe-hero--bleed.hxhe-hero--valley .hxhe-hero__plate::after{background:radial-gradient(ellipse 58% 56% at 12% 90%,rgba(246,246,244,.92) 0%,rgba(246,246,244,.8) 42%,rgba(246,246,244,0) 80%)}
}

/* the serum photograph as a bleed opening (craftsmanship, 25 Oct 2026): a portrait frame, so the
   landscape crop holds the hands; its warm grey ground carries the type, a pearl haze the bar */
.hxhe-hero--drop .hxhe-hero__plate{background:#8F8A83}
.hxhe-hero--bleed.hxhe-hero--drop .hxhe-hero__plate img{object-position:50% 45%}
@media (min-width:700px) and (orientation:landscape){
	.hxhe-hero--bleed.hxhe-hero--drop .hxhe-hero__plate img{object-position:60% 52%}
	.hxhe-hero--bleed.hxhe-hero--drop .hxhe-hero__plate::after{background:radial-gradient(ellipse 58% 56% at 12% 90%,rgba(246,246,244,.9) 0%,rgba(246,246,244,.76) 42%,rgba(246,246,244,0) 80%)}
}

/* the page's four parts, under the plate: the sitewide section bar .hx-bar (system.css, 31 Oct 2026) */
.hxhe :is(#standard,#history,#code,#explore){scroll-margin-top:16px}

/* ─── Hero: split (craftsmanship) ───────────────────────────────── */
.hxhe-hero--split .hxhe-split--hero{padding-top:var(--hxhe-top);padding-bottom:var(--hx-section-sm)}
.hxhe-hero--split .hxhe-hero__text{display:grid}
.hxhe-hero--split .hxhe-hero__title,.hxhe-hero--split .hxhe-hero__lede{margin-top:var(--hx-stack)}
@media (max-width:899.98px){.hxhe-hero--split .hxhe-split--hero{padding-bottom:0}}
@media (min-width:900px){
	.hxhe-hero--split .hxhe-split--hero{padding-top:calc(var(--cos-nav-h,80px) + clamp(32px,4vw,72px));align-items:end}
	.hxhe-hero--split .hxhe-hero__text{grid-column:1 / span 6;padding-bottom:var(--hx-s-4)}
	.hxhe-hero--split .hxhe-hero__media{grid-column:8 / span 5}
	.hxhe-hero--split .hxhe-hero__media img{aspect-ratio:auto;height:min(calc(100svh - var(--cos-nav-h,80px) - 104px),760px);min-height:440px}
}

/* ─── Signature plate with type (craftsmanship) ─────────────────── */
.hxhe-plate{position:relative;display:grid;grid-template:1fr / 1fr;overflow:clip;background:#E9E8E4}
.hxhe-plate__photo{grid-area:1/1;margin:0}
.hxhe-plate__photo img{aspect-ratio:4/5;object-fit:cover;object-position:62% 50%}
.hxhe-plate__over{grid-area:1/1;z-index:1;align-self:start;padding-top:clamp(48px,2rem + 4vw,120px)}
.hxhe-plate__label{color:var(--hx-ink)}
.hxhe-plate__title{max-width:11em;color:var(--hx-ink)}
@media (min-width:760px){.hxhe-plate__photo img{aspect-ratio:auto;height:clamp(560px,88svh,920px);object-position:50% 50%}}

/* ─── Hub ───────────────────────────────────────────────────────── */
.hxhe-guarantee{padding-top:clamp(64px,3rem + 4vw,128px)}
.hxhe-guarantee .hxhe-prose{margin-top:var(--hx-stack)}
.hxhe-quote{margin-top:clamp(32px,1.5rem + 2vw,48px);padding-top:var(--hx-s-5);border-top:1px solid var(--hx-line-strong);max-width:var(--hx-measure)}
.hxhe-quote blockquote p{font-family:var(--hx-serif);font-size:var(--hx-fs-title);font-weight:300;line-height:1.3;letter-spacing:var(--hx-tr-title);color:var(--hx-ink);text-wrap:balance}

.hxhe-eras{background:var(--hx-ground-stone,#EDE9E1)}   /* science hub's stone room (24 Oct 2026) */
.hxhe-eras__title{margin-bottom:clamp(32px,1.5rem + 2.5vw,64px)}

.hxhe-code__grid{display:grid;grid-template-columns:minmax(0,1fr);row-gap:var(--hx-s-7)}
.hxhe-code__media{margin-top:clamp(32px,1.5rem + 2vw,56px);max-width:420px;background:var(--hx-stone)}
.hxhe-code__media img{aspect-ratio:4/5;object-position:50% 40%}
.hxhe-principle{padding-block:var(--hx-s-6);border-top:1px solid var(--hx-line-strong)}
.hxhe-principle:last-child{border-bottom:1px solid var(--hx-line-strong)}
.hxhe-principle__fr{font-family:var(--hx-serif);font-style:italic;font-size:clamp(2rem,1.6rem + 1.6vw,3rem);font-weight:300;line-height:1.05;letter-spacing:var(--hx-tr-heading);color:var(--hx-ink)}
.hxhe-principle__body{margin-top:var(--hx-s-3);font-size:var(--hx-fs-body);line-height:var(--hx-lh-body);color:var(--hx-text);max-width:var(--hx-measure);text-wrap:pretty}
.hxhe-principle__en{font-weight:500;color:var(--hx-ink)}
@media (min-width:1100px){
	.hxhe-code__grid{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--hx-gap);align-items:start}
	.hxhe-code__aside{grid-column:1 / span 5;position:sticky;top:calc(var(--cos-nav-h,80px) + 32px)}
	.hxhe-code__list{grid-column:7 / span 6}
	.hxhe-code__media{max-width:min(100%,360px)}
}

.hxhe-explore{background:var(--hx-ground-stone,#EDE9E1)}
.hxhe-explore__title{margin-bottom:var(--hx-s-6);color:var(--hx-ink)}
.hxhe-explore__list{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--hx-s-8) var(--hx-gap)}
.hxhe-card{display:flex;flex-direction:column;color:var(--hx-ink);text-decoration:none;-webkit-tap-highlight-color:transparent}
.hxhe-card__media{display:block;background:var(--hx-stone)}
.hxhe-card__media img{aspect-ratio:4/5;transition:transform 1400ms var(--hx-ease)}
.hxhe-card:hover .hxhe-card__media img{transform:scale(1.03)}
.hxhe-card__title{margin-top:var(--hx-s-5);color:var(--hx-ink)}
.hxhe-card__body{margin-top:var(--hx-s-3);font-size:var(--hx-fs-body);line-height:var(--hx-lh-body);color:var(--hx-text);max-width:var(--hx-measure);text-wrap:pretty}
.hxhe-card__cta{display:inline-flex;align-items:center;align-self:flex-start;min-height:44px;margin-top:var(--hx-s-2);font-size:var(--hx-fs-detail);font-weight:500;letter-spacing:.02em;color:var(--hx-ink);
	background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--hx-line),var(--hx-line));background-repeat:no-repeat;background-position:0 calc(50% + .95em),0 calc(50% + .95em);background-size:0 1px,100% 1px;transition:background-size 700ms var(--hx-ease)}
.hxhe-card:hover .hxhe-card__cta{background-size:100% 1px,100% 1px}
.hxhe-card:hover .hx-arrow{transform:translateX(4px)}
.hxhe-card:focus-visible{outline:var(--hx-focus-width) solid var(--hx-focus-color);outline-offset:6px}
@media (max-width:759.98px){.hxhe-card__media{margin-inline:calc(-1 * var(--hx-margin))}.hxhe-card__media img{aspect-ratio:1/1}}
@media (min-width:760px){.hxhe-explore__list{grid-template-columns:repeat(2,minmax(0,1fr))}.hxhe-card__media img{aspect-ratio:5/4}}

.hxhe-close{background:var(--hx-white);padding-block:var(--hx-section-sm)}
.hxhe-close__in{display:grid;justify-items:center;text-align:center}
.hxhe-close__title{max-width:12em;color:var(--hx-ink)}
.hxhe-close__actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--hx-s-4) var(--hx-s-7);margin-top:clamp(28px,1.5rem + 2vw,44px)}
@media (max-width:479.98px){.hxhe-close__actions .hx-btn{width:100%}}

/* ─── Craftsmanship ─────────────────────────────────────────────── */
.hxhe-lab{background:var(--hx-ivory)}
.hxhe-source{background:var(--hx-white)}
.hxhe-certs{background:var(--hx-pearl)}
.hxhe-certs__title{margin-bottom:clamp(28px,1rem + 2vw,48px)}
.hxhe-cert__mark{font-family:var(--hx-serif);font-size:var(--hx-fs-title);font-weight:400;line-height:1.1;color:var(--hx-ink);font-feature-settings:"lnum" 1}
.hxhe-cert__body{font-size:var(--hx-fs-body);line-height:var(--hx-lh-body);color:var(--hx-text);max-width:var(--hx-measure);text-wrap:pretty}
.hxhe-cert__body strong{font-weight:500;color:var(--hx-ink)}
.hxhe-cert{display:grid;row-gap:var(--hx-s-3);padding-block:var(--hx-s-6);border-top:1px solid var(--hx-line-strong)}
.hxhe-cert:last-child{border-bottom:1px solid var(--hx-line-strong)}
@media (min-width:900px){
	.hxhe-cert{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--hx-gap);align-items:baseline}
	.hxhe-cert__mark{grid-column:1 / span 5}
	.hxhe-cert__body{grid-column:7 / span 6}
}

/* ─── Eras & commitments use the ruled row ──────────────────────── */
.hxhe-era,.hxhe-commitment{display:grid;grid-template-columns:minmax(0,1fr);row-gap:var(--hx-s-3);padding-block:var(--hx-s-6);border-top:1px solid var(--hx-line-strong)}
.hxhe-eras__list > :last-child,.hxhe-commit__list > :last-child{border-bottom:1px solid var(--hx-line-strong)}
.hxhe-era .hx-title,.hxhe-commitment .hx-title{color:var(--hx-ink)}
.hxhe-era__body,.hxhe-commitment > p:last-child{font-size:var(--hx-fs-body);line-height:var(--hx-lh-body);color:var(--hx-text);max-width:var(--hx-measure);text-wrap:pretty}
@media (min-width:900px){
	.hxhe-era,.hxhe-commitment{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--hx-gap);align-items:baseline}
	.hxhe-era > .hxhe-num,.hxhe-commitment > .hxhe-num{grid-column:1 / span 2}
	.hxhe-era > .hx-title,.hxhe-commitment > .hx-title{grid-column:3 / span 4}
	.hxhe-era > .hxhe-era__body,.hxhe-commitment > p:last-child{grid-column:7 / span 6}
}

/* ─── Sustainability ────────────────────────────────────────────── */
.hxhe-commit{background:var(--hx-ivory)}
.hxhe-commit__title{margin-bottom:clamp(28px,1rem + 2vw,48px)}
.hxhe-limits{background:var(--hx-white)}

/* ─── Continue (sub-page navigation) ────────────────────────────── */
.hxhe-continue{background:var(--hx-pearl);border-top:1px solid var(--hx-line)}
.hxhe-continue__in{padding-block:clamp(28px,1rem + 2vw,48px)}
.hxhe-continue__list{display:grid;grid-template-columns:minmax(0,1fr)}
.hxhe-continue__list li{border-top:1px solid var(--hx-line)}
.hxhe-continue__list li:last-child{border-bottom:1px solid var(--hx-line)}
.hxhe-continue__link{display:flex;align-items:center;justify-content:space-between;min-height:56px;font-family:var(--hx-serif);font-size:var(--hx-fs-title);font-weight:400;line-height:1.2;color:var(--hx-ink);text-decoration:none}
.hxhe-continue__link:hover .hx-arrow{transform:translateX(4px)}
.hxhe-continue__link[aria-current="page"]{color:var(--hx-muted)}
.hxhe-continue__link:focus-visible{outline:var(--hx-focus-width) solid var(--hx-focus-color);outline-offset:2px}
@media (min-width:900px){
	.hxhe-continue__list{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--hx-gap)}
	.hxhe-continue__list li,.hxhe-continue__list li:last-child{border:0;border-top:1px solid var(--hx-line-strong)}
	.hxhe-continue__link{font-size:1.25rem;justify-content:flex-start;gap:var(--hx-s-2)}
}

@media (prefers-reduced-motion:reduce){
	.hxhe-card__media img,.hxhe-card__cta,.hxhe-hero__control{transition:none}
	.hxhe-card:hover .hxhe-card__media img{transform:none}
}
@media (forced-colors:active){
	.hxhe-hero__plate .hxhe-caption{background:Canvas;color:CanvasText}
}

/* a dark opening photograph (sustainability, 25 Oct 2026): pearl type on a dark shade at the
   lower left on landscape; phones keep the type beneath on the light ground */
.hxhe-hero--dark .hxhe-hero__plate{background:#141513}
.hxhe-hero--bleed.hxhe-hero--dark .hxhe-hero__plate img{object-position:50% 45%}
@media (min-width:700px) and (orientation:landscape){
	.hxhe-hero--bleed.hxhe-hero--dark .hxhe-hero__plate::after{background:radial-gradient(ellipse 58% 58% at 12% 90%,rgba(8,8,8,.72) 0%,rgba(8,8,8,.5) 42%,rgba(8,8,8,0) 80%)}
	html body:not(.cos-h26) #cos-main-content .hxhe-hero--bleed.hxhe-hero--dark :is(.hxhe-hero__title,.hxhe-hero__title *,.hxhe-hero__lede){color:#F8F8F8}
}


/* 17 Nov 2026: the Sustainability card now shows the four formulas (auth-ritual-counter, 2:3); the
   bottles stand in its lower half, so the wide card crop is anchored low */
.hxhe-explore__list li:nth-child(2) .hxhe-card__media img{object-position:50% 92%}

/* 18 Nov 2026: Sustainability opens on Oeschinen Lake (hxhe-sustain-lake-*). Wide screens: the snow and
   rock behind the transparent header are busy, so a pearl wash lifts the top for the ink header
   (openings stay light at the top, sitewide rule); the dark water keeps the light type at the lower left. */
@media (min-width:700px) and (orientation:landscape){
	.hxhe-hero--bleed.hxhe-hero--lake .hxhe-hero__plate img{object-position:50% 100%}
}
.hxhe-hero--bleed.hxhe-hero--lake .hxhe-hero__plate::before{content:"";position:absolute;z-index:1;inset:0 0 auto;height:min(26%,240px);background:linear-gradient(to bottom,rgba(246,246,244,.9) 0%,rgba(246,246,244,.62) 45%,rgba(246,246,244,0) 100%);pointer-events:none}
