:root {
  --ink: #211e19;
  --paper: #fff8ec;
  --clay: #f1d5c1;
  --terra: #a23c14;
  --ivory: #e9d4b3;
  --line: #d8c7b5;
}
body { background: var(--paper); color: var(--ink); }
.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.pattern-clay { background: var(--clay); }
.pattern-olive { background: var(--ivory); }
.heritage-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: min(790px, 84svh);
}
.heritage-intro {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(2rem, 7vw, 7rem);
  background: var(--clay);
}
.heritage-intro h1 { font: 400 clamp(3.8rem, 8.1vw, 9rem)/.88 var(--serif); letter-spacing: -.06em; margin: .28em 0 .16em; }
.heritage-intro p { font-size: clamp(1.25rem, 2vw, 1.75rem); margin: .5em 0 1.5em; }
.heritage-hero figure { margin: 0; min-height: 340px; }
.heritage-hero figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-actions a { padding: .73rem 1.1rem; border: 1px solid var(--ink); font-weight: 600; }
.hero-actions a:first-child { color: white; background: var(--ink); }
#approche.heritage-datem { color: var(--ink); background: #f4e6d1; }
#approche.heritage-datem :is(p,.eyebrow,h2,h3) { color: var(--ink); }
#approche.heritage-datem .datem-step { border-color: var(--line); }
.piste-open.pattern { min-height: clamp(360px, 64svh, 650px); color: var(--ink); }
.piste-open.pattern .piste-open-inner {
  background: color-mix(in srgb, var(--wash) 91%, transparent);
  padding: clamp(1.4rem, 4vw, 4rem);
  max-width: min(92%, 920px);
}
.sejnen-premium { --wash: var(--ivory); }
.sejnen-mainstream { --wash: var(--clay); }
.piste-open.pattern :is(.eyebrow,.brand-teaser,.open-next) { color: var(--ink); }
.piste-open.pattern .open-next { border-color: currentColor; }
.piste-open.pattern h2 { font-size: clamp(3rem, 8.6vw, 7.8rem); }
.heritage-photo { min-height: clamp(320px, 59vw, 740px); }
.heritage-range { background: #f4e6d1; color: var(--ink); }
.sejnen-film.pattern { color: var(--ink); }
.sejnen-film.pattern .eyebrow { color: var(--terra); }
.sejnen-film video { border-radius: 14px; box-shadow: 0 18px 55px #342b2630; }
.heritage-vote { margin-block: 1.5rem; }
.heritage-vote .rating-card { background: var(--paper); }
@media (max-width: 760px) {
  .heritage-hero { grid-template-columns: 1fr; }
  .heritage-intro { padding: 2.6rem 1.5rem; }
  .heritage-hero figure { min-height: 0; aspect-ratio: 4/3; }
  .piste-open.pattern .piste-open-inner { width: 90%; }
}

.eyebrow, #approche.heritage-datem .eyebrow { color: var(--terra); }
.hero-actions a:first-child, .heritage-vote .rating-form button {
  background: var(--terra);
  border-color: var(--terra);
  color: white;
}
.footer { background: var(--ink); color: var(--paper); }
.footer img { filter: brightness(0) invert(1); }

.heritage-intro h1 { width: 100%; max-width: 520px; }
.heritage-intro h1 img { width: 100%; height: auto; }

.gallery-bar:has(.autoplay-toggle) { flex-wrap: wrap; gap: .75rem; }
.autoplay-toggle {
  padding: .35rem .65rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: .875rem;
  cursor: pointer;
}

:root { --paper: #fff; --ink: #211e19; }
body, .header, .footer, .heritage-intro, .pattern-clay, .pattern-olive,
.piste-open.pattern .piste-open-inner, #approche.heritage-datem, .heritage-range {
  background: #fff;
}
.footer { color: var(--ink); border-top: 1px solid var(--line); }
.footer img { filter: none; }
.hero-actions a:first-child, .heritage-vote .rating-form button {
  background: var(--ink);
  border-color: var(--ink);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.full-bleed { padding: clamp(2rem, 6vw, 5rem) 0; }
.full-bleed .range-head { padding-inline: clamp(1rem, 6vw, 5rem); }
.full-bleed .product-formats { display: block; }
.full-bleed .product-format { width: 100%; margin: 0; border: 0; }
.full-bleed .product-format + .product-format { margin-top: 1.5rem; }
.full-bleed .gallery-bar { border: 0; padding: .65rem 1rem; justify-content: flex-end; }
.full-bleed .gallery {
  grid-auto-columns: 100%;
  gap: 0;
  margin: 0;
  padding: 0;
  scrollbar-width: none;
}
.full-bleed .gallery figure { border: 0; background: #fff; }
.full-bleed .gallery .enlarge { background: #fff; }
.full-bleed .gallery .enlarge img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: contain;
  transform: none;
}
.full-bleed .packshots .gallery .enlarge img {
  height: min(100vw, 640px);
  aspect-ratio: auto;
}
@media (max-width: 760px) {
  .full-bleed .gallery-bar { padding-inline: .75rem; }
}

main :is(h1, h2, h3, h4) { font-family: var(--serif); }

@font-face {
  font-family: Butler;
  src: url("/fonts/Butler_Light.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Butler;
  src: url("/fonts/Butler_Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --serif: Butler, Georgia, serif;
  --sans: var(--serif);
  --mono: var(--serif);
}
body { font-weight: 300; }
p, .chapter p { font-family: var(--serif); font-weight: 300; }
:is(h1,h2,h3,h4,button,summary,.nav,.nav a,.open-next,.eyebrow) {
  font-family: var(--serif);
  font-weight: 700;
}
main :is(h1,h2,h3,h4) { font-weight: 700; }
.header { position: sticky; top: 0; }
.story-home { position: relative; }
.story-home .story-slider { padding: 0; }
.story-home-copy {
  position: absolute;
  z-index: 2;
  bottom: clamp(3.3rem, 8vw, 7rem);
  left: clamp(1rem, 7vw, 7rem);
  padding: clamp(.9rem, 3vw, 2rem);
  background: #ffffffef;
}
.story-home-copy h1 { margin: 0; }
.story-home-copy h1 img { width: clamp(100px, 22vw, 300px); height: auto; }
.story-home-copy p { margin: .75rem 0 .45rem; font-size: clamp(1rem, 2vw, 1.7rem); }
.story-home-copy a { font-weight: 700; text-decoration: underline; text-underline-offset: .24em; }
.story-insight .wrap { padding-block: clamp(2rem, 5vw, 5rem); }
.story-insight .story-slider { padding: 0; }
:is(.story-brief,.story-insight,.story-film,.story-faq) h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin: .5em 0;
}
:is(.story-brief,.story-insight,.story-film,.story-faq) p { max-width: 64ch; font-size: clamp(1.1rem, 1.8vw, 1.45rem); }
.full-bleed .product-format { position: relative; padding-top: 0; }
.full-bleed .gallery-bar {
  position: absolute;
  right: .65rem;
  bottom: .65rem;
  z-index: 3;
  flex-wrap: nowrap;
  gap: .25rem;
  padding: 0;
}
.full-bleed .gallery-buttons { gap: .25rem; }
.full-bleed .gallery-bar button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #211e1955;
  background: #fffffff0;
  color: var(--ink);
  line-height: 1;
}
.story-film { display: grid; grid-template-columns: 1fr minmax(230px, 390px); align-items: center; gap: clamp(2rem, 7vw, 8rem); }
.film-frame { background: #211e19; padding: 10px; }
.film-frame video { display: block; width: 100%; height: auto; aspect-ratio: 478 / 850; }
.story-faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.story-faq details:last-child { border-bottom: 1px solid var(--line); }
.story-faq summary { cursor: pointer; font-size: clamp(1.1rem, 2.2vw, 1.65rem); }
.story-faq details p { margin-bottom: .25em; }
@media (max-width: 680px) {
  .story-home-copy { bottom: 3rem; padding: .7rem; }
  .story-home-copy p { margin: .35rem 0; }
  .story-film { grid-template-columns: 1fr; }
  .film-frame { width: min(100%, 390px); margin-inline: auto; }
}

.header { z-index: 30; }
.brandmark { width: clamp(105px, 22vw, 174px); }
.datem-home {
  --home-pad: clamp(1.2rem, 7vw, 7rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: min(860px, calc(100svh - 76px));
  margin: 0;
  padding: clamp(1.25rem, 5vh, 3.5rem) 0;
  border: 0;
  position: relative;
  isolation: isolate;
  color: #fff8ec;
  background: #151311;
}
.datem-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #292420;
  mask: url("/assets/identity/picto.svg") 82% center / clamp(250px, 55vw, 760px) auto no-repeat;
}
.datem-home-brand, .datem-home-link { margin-inline: var(--home-pad); }
.datem-home h1 { margin: 0; }
.datem-home h1 img { width: clamp(94px, 16vw, 188px); height: auto; filter: brightness(0) invert(1); }
.datem-home.product-format .gallery { grid-auto-columns: 100%; gap: 0; padding: 0; scrollbar-width: none; }
.datem-message { scroll-snap-align: start; align-self: center; padding: 1rem var(--home-pad); min-width: 0; }
.datem-message .eyebrow { color: #efae86; }
.datem-headline { font-size: clamp(2rem, 6.6vw, 6.5rem); line-height: .99; max-width: 16ch; margin: .22em 0; font-weight: 700; }
.datem-deck { font-size: clamp(1rem, 2vw, 1.55rem); max-width: 43ch; margin: .65rem 0 0; color: #f0d9ca; }
.datem-home-link { justify-self: start; font-weight: 700; border-bottom: 1px solid #d4916b; }
.datem-home .gallery-bar { position: absolute; right: var(--home-pad); bottom: clamp(1rem, 4vh, 3rem); border: 0; padding: 0; }
.datem-home .gallery-bar button { min-width: 34px; min-height: 34px; color: var(--ink); background: #fff8ec; border: 0; }
.story-brief { padding-block: clamp(2.4rem, 6vw, 6rem); }
.story-insight:nth-of-type(4) { background: #faeee5; border-top: 3px solid #a23c14; }
.inspiration-chapter { background: #211b17; color: #fff8ec; }
.inspiration-heading { padding: clamp(1.5rem, 4vw, 3rem) clamp(1.2rem, 7vw, 7rem); }
.inspiration-heading h2 { margin: .15em 0; font-size: clamp(2rem, 5vw, 4rem); }
.inspiration-heading p { margin: .3rem 0; }
.inspiration-heading .eyebrow { color: #efae86; }
.inspiration-chapter .story-slider, .inspiration-chapter .product-format { padding: 0; }
.inspiration-chapter .gallery .enlarge img { height: min(64svh, 56vw); aspect-ratio: auto; object-fit: cover; }
.full-bleed .gallery .enlarge img { max-height: 78svh; }
.story-faq details[open] { border-top-color: #a23c14; }
@media (max-width: 680px) {
  .datem-home { min-height: calc(100svh - 76px); }
  .datem-home .gallery-bar { right: .8rem; }
  .datem-home-link { font-size: .95rem; }
  .datem-home .gallery-bar button { width: 31px; min-width: 31px; }
  .inspiration-chapter .gallery .enlarge img { height: clamp(210px, 63vw, 360px); }
}

.datem-home { overflow: clip; }
.datem-home::before {
  inset: 0 0 0 auto;
  width: clamp(250px, 55vw, 760px);
  mask-position: center;
  mask-size: 100% auto;
  transform: translateX(30%);
}
.piste-media { padding: 0; }
.piste-media.carroussel .gallery .enlarge img { aspect-ratio: 4 / 3; }
.rating-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 1.2rem;
}
.rating-grid { align-items: start; }
