.brand-story {
  --story-ink: #27272a;
  background: var(--story-paper);
  color: var(--story-ink);
}

.story-hero { background: var(--photo-shadow); color: #fafafa; }
.story-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(32rem, 73svh, 47rem);
  max-width: 100rem;
  margin-inline: auto;
}
.story-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
  z-index: -2;
}
.story-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom left, #18191de6 12%, #18191db3 32%, transparent 69%);
  z-index: -1;
}
.story-intro { max-width: 43rem; padding: clamp(1.4rem, 6vw, 6rem); }
.story-intro h1 { font-size: clamp(2.6rem, 6vw, 6.25rem); margin-block: .6rem 1rem; }
.story-intro > p:not(.caption) { max-width: 38ch; }
.story-intro .caption { color: #d4d4d8; }
.story-jump { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin-top: .65rem; font-weight: 650; }

.story-max-blank .story-stage { align-items: end; }
.story-max-blank .story-stage > img { left: auto; width: 75%; object-position: center 55%; }
.story-max-blank .story-intro h1 { font-size: clamp(2.6rem, 4.8vw, 6rem); }
.story-fm .story-hero > .breadcrumbs { background: transparent; }
.story-fm .story-stage::after {
  background: linear-gradient(90deg, #121316ed 0%, #121316c9 24%, #12131666 44%, #12131600 72%);
}
.story-fm .story-stage > img { object-position: center 63%; }
@media (max-width: 720px) {
  .story-fm .story-stage > img { object-position: 75% center; }
}

.story-chapter { width: min(88rem, 100%); padding-inline: var(--pad); margin-inline: auto; }
.story-chapter { padding-block: var(--section-space); }
.story-chapter + .story-chapter { border-top: 1px solid #71717a45; }
.story-copy { max-width: 42rem; margin-bottom: clamp(1.4rem, 3vw, 2.8rem); }
.story-copy .caption { color: #99252e; }
.story-copy h2 {
  font: 600 var(--section-heading-size)/1.12 var(--display);
  letter-spacing: -.055em;
  margin-block: .45rem .9rem;
}
.story-copy > p { max-width: 53ch; }
.story-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.8rem); }
.story-photos img { aspect-ratio: 4/3; object-fit: cover; }
.story-photos figcaption { font-size: .82rem; padding-top: .55rem; line-height: 1.35; }
.photos-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photos-3 img { aspect-ratio: 4/5; object-position: center 65%; }

.story-wamsler .story-chapter-2 .story-copy { margin-inline: auto; text-align: center; }
.story-wamsler .story-chapter-2 .story-photos figure:nth-child(2),
.story-max-blank .story-chapter-1 .story-photos figure:nth-child(2) { margin-top: clamp(1rem, 4vw, 4rem); }
.story-max-blank .story-chapter-3 img { aspect-ratio: 1; object-position: center 65%; }
.story-fm .story-chapter-1 .story-photos { grid-template-columns: 1.1fr 1fr; }


@media (max-width: 720px) {
  .story-stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .story-stage > img, .story-max-blank .story-stage > img {
    position: static;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 4/3;
  }
  .story-wamsler .story-stage > img { object-position: center 82%; }
  .story-stage::after { display: none; }
  .story-intro { max-width: 100%; width: 100%; }
  .story-photos.photos-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-photos.photos-3 figure:last-child { grid-column: 1 / -1; }
  .story-photos.photos-3 figure:last-child img { aspect-ratio: 4/3; }
}

@media (min-width: 721px) {
  .story-fm .story-stage {
    align-items: end;
  }
  .story-fm .story-intro { max-width: 44%; padding: clamp(1.5rem, 4vw, 4rem); }
  .story-fm .story-intro h1 { font-size: clamp(2.25rem, 4vw, 4.8rem); }
}

.story-feature {
  background: var(--charcoal-surface);
  color: #fafafa;
}
.story-feature-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  max-width: 96rem;
  margin-inline: auto;
}
.story-feature img {
  width: 100%;
  object-fit: cover;
}
.story-feature .story-copy {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 4rem);
}
.story-feature .caption { color: #d4d4d8; }
.story-feature h2 { max-width: 15ch; }
@media (min-width: 721px) {
  .feature-overlay .story-feature-inner {
    min-height: clamp(29rem, 49vw, 48rem);
    align-items: end;
  }
  .feature-overlay img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-position: center 60%;
    z-index: -2;
  }
  .feature-overlay .story-feature-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at var(--copy-side, left) bottom, #18191de6 8%, #18191db3 28%, transparent 68%);
  }
  .feature-overlay .story-copy { max-width: min(37rem, 46%); }
  .story-fm .feature-overlay { --copy-side: right; }
  .story-fm .feature-overlay .story-copy { justify-self: end; }
  .feature-split .story-feature-inner {
    grid-template-columns: 1.45fr 1fr;
    align-items: center;
  }
  .feature-split img {
    aspect-ratio: 5/4;
    object-position: center 68%;
  }
}

@media (max-width: 720px) {
  .story-feature img { aspect-ratio: 4/3; }
}

.spartherm-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 5rem);
  width: min(68rem, 100%);
}
.spartherm-comparison .story-copy { margin-bottom: 0; }
.spartherm-comparison figcaption {
  font-size: .82rem;
  padding-top: .55rem;
}
.feature-split.graphite-texture {
  --graphite-lines-inset: 0 0 0 auto;
}
.story-wamsler .feature-split img { object-position: center 55%; }
.story-fm .story-chapter-1 img { aspect-ratio: auto; }
.story-max-blank .story-chapter-3 img { object-position: center 58%; }
.story-spartherm img[src$="spartherm-zirkon.webp"] { object-position: 18% center; }

@media (max-width: 720px) {
  .spartherm-comparison { grid-template-columns: 1fr; }
  .story-wamsler .feature-split img {
    aspect-ratio: 4/5;
    object-position: center;
  }
  .story-max-blank .story-chapter-3 img { aspect-ratio: 4/5; }
}

.spartherm-sightlines, .spartherm-finishes {
  display: grid;
  gap: clamp(1rem, 3vw, 3rem);
}
.spartherm-sightlines .story-copy, .spartherm-finishes .story-copy { margin: 0; }
.spartherm-sightlines figcaption, .spartherm-finishes figcaption {
  font-size: .82rem;
  padding-top: .65rem;
}
@media (min-width: 721px) {
  .spartherm-sightlines {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr);
    align-items: start;
  }
  .spartherm-sightlines .story-copy { align-self: end; }
  .spartherm-sightlines figure:first-of-type { grid-area: 2 / 1; }
  .spartherm-sightlines figure:last-of-type {
    grid-area: 1 / 2 / span 2;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .spartherm-sightlines figure:last-of-type img {
    flex: 1;
    min-height: 0;
    height: 0;
    object-fit: cover;
    object-position: left center;
  }
  .spartherm-finishes {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
    align-items: center;
  }
  .spartherm-finishes figure:first-of-type { grid-area: 1 / 1 / span 2; }
  .spartherm-finishes figure:last-of-type {
    max-width: 23rem;
  }
  .spartherm-finishes figure:last-of-type img {
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center 65%;
  }
}

/* The layouts follow the role of the photographs in each story. */
.stove-silhouettes .story-photos img { aspect-ratio: 3/4; object-position: center; }
.stove-materials .story-photos img { object-position: center; }
.stove-baking .story-photos img { aspect-ratio: auto; }
.hearth-options .story-photos { align-items: start; }
.freestanding-options .story-photos img { object-position: 45% center; }

@media (min-width: 721px) {
  .stove-silhouettes, .stove-baking {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 2fr);
    align-items: center;
    gap: clamp(1rem, 4vw, 4rem);
  }
  .stove-silhouettes .story-copy, .stove-baking .story-copy { margin-bottom: 0; }
  .stove-baking .story-photos { align-items: center; }
  .stove-materials .story-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.65fr);
    align-items: end;
  }
  .story-max-blank .stove-materials .story-photos figure:nth-child(2) { margin-top: 0; }
  .stove-materials .story-photos figure:last-child img { aspect-ratio: 5/4; }
  .story-fm .hearth-options .story-photos { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
  .hearth-options .story-photos figure:first-child { margin-top: clamp(1rem, 5vw, 4rem); }
}
@media (max-width: 720px) {
  .story-fm .hearth-options .story-photos { grid-template-columns: 1fr; }
}

.feature-split .story-copy {
  border-top: 1px solid #ffffff12;
}
@media (min-width: 721px) {
  .feature-split .story-copy { border-top: 0; }
}

/* Keep the room scenes continuous with the surrounding graphite. */
.story-hero.graphite-texture,
.feature-overlay.graphite-texture {
  --graphite-lines-inset: 40% 0 0 auto;
}
@media (min-width: 721px) {
  .feature-overlay img {
    --photo-bottom-fade: linear-gradient(0deg, transparent, #000 25%);
    mask-image: var(--photo-bottom-fade);
  }
  .story-max-blank .story-stage > img {
    mask-image: linear-gradient(90deg, transparent, #000 24%);
  }
  :is(.story-max-blank, .story-spartherm) .story-intro {
    max-width: min(43rem, 46%);
    padding-inline: clamp(1.5rem, 4vw, 6rem);
  }
  .story-wamsler .feature-split img { mask-image: var(--photo-edge-fade); }
  .story-fm .story-stage > img {
    mask-image: var(--photo-edge-fade);
  }
}
@media (min-width: 96rem) {
  .feature-overlay img {
    mask-image: var(--photo-bottom-fade), var(--photo-edge-fade);
    mask-composite: intersect;
  }
  .feature-overlay .story-feature-inner::after,
  .story-stage::after,
  .story-spartherm .story-stage > img {
    mask-image: var(--photo-edge-fade);
  }
  .story-max-blank .story-stage > img {
    mask-image: linear-gradient(90deg, transparent, #000 24% 86%, transparent);
  }
}

@media (min-width: 721px) {
  .story-spartherm :is(.story-stage, .story-feature-inner)::after {
    background: linear-gradient(90deg, var(--photo-shadow), #121316b8 23%, #12131633 44%, transparent 61% 83%, var(--photo-shadow)),
                radial-gradient(ellipse 50% 45% at 16% 100%, #12131699, transparent);
    mask-image: none;
  }
  .story-spartherm :is(.story-stage, .feature-overlay) img { mask-image: none; }
}

@media (min-width: 100rem) {
  .story-spartherm :is(.story-stage, .story-feature-inner)::after,
  .story-spartherm :is(.story-stage, .story-feature-inner) > img {
    mask-image: linear-gradient(90deg, transparent, #000 12%);
  }
  .story-spartherm .spartherm-evening .story-feature-inner > img {
    mask-image: linear-gradient(270deg, transparent, #000 12%);
  }
}

.spartherm-evening img { object-position: 28% 61%; transform: scaleX(-1); }

.story-spartherm { --room-photo-width: 108rem; }

/* Match the widths of the Spartherm room photos. */
@media (min-width: 721px) {
  .story-spartherm :is(.story-stage, .story-feature-inner) {
    max-width: var(--room-photo-width);
  }
  :is(.spartherm-surround, .spartherm-evening) .story-feature-inner {
    min-height: 0;
    aspect-ratio: 1562 / 886;
  }
  :is(.spartherm-surround, .spartherm-evening) .story-copy {
    padding-block: clamp(1.75rem, 5vw, 5rem);
  }
}
@media (min-width: 100rem) {
  .story-spartherm .story-intro { padding-inline-start: 4rem; }
}
@media (max-width: 720px) {
  .spartherm-surround img {
    aspect-ratio: 1;
    object-position: 88% center;
  }
  .spartherm-evening img { aspect-ratio: 1; }
}

.story-wamsler .story-hero > .breadcrumbs { background: transparent; }

@media (min-width: 721px) {
  .story-wamsler .story-stage {
    max-width: var(--page-width);
    grid-template-columns: 42% 58%;
    align-items: center;
  }
  .story-wamsler .story-stage > img {
    left: auto;
    width: 62%;
    object-position: center 76%;
    mask-image: linear-gradient(90deg, transparent, #000 24%);
  }
  .story-wamsler .story-stage::after { display: none; }
  .story-wamsler .story-intro {
    grid-column: 1;
    padding-inline: var(--pad) clamp(1rem, 3vw, 3rem);
  }
  .story-wamsler .story-intro h1 {
    font-size: clamp(2.25rem, 3.55vw, 4.4rem);
    line-height: 1.12;
    text-wrap: balance;
  }
}

@media (min-width: 100rem) {
  .story-wamsler .story-stage > img {
    mask-image: linear-gradient(90deg, transparent, #000 24% 88%, transparent);
  }
}
@media(max-width:720px) {
 .story-wamsler .story-hero { position:relative; }
 .story-wamsler .story-hero > .breadcrumbs-dark { position:absolute; z-index:2; top:calc(75vw - 3rem); inset-inline:0; background:transparent; }
 .story-wamsler .story-hero > .breadcrumbs-dark ol { width:fit-content; padding:.35rem .65rem; border-radius:.3rem; background:#151416de; }
}

.story-fm .hearth-options { padding-top:clamp(2rem, 4vw, 3.5rem); }
.story-fm .hearth-options .story-copy { max-width:none; margin-bottom:1.5rem; }
.story-fm .hearth-options .story-copy h2 { max-width:18ch; }
@media (min-width: 900px) {
  .story-fm .hearth-options .story-copy { display:grid; grid-template-columns:1fr 1.15fr; gap:3rem; align-items:start; }
  .story-fm .hearth-options .story-copy > p { margin-top:0; }
  .story-fm .hearth-options .story-photos figure:first-child { margin-top:0; }
}

.max-blank-room .story-feature-inner { max-width:none; }
@media (min-width: 721px) {
  .max-blank-room .story-feature-inner > img { mask-image:none; object-position:center 55%; }
}

.story-max-blank { --story-paper:#f0ece5; }

.brand-chapter-intro { max-width:none; }
@media(min-width:1000px) {
  .brand-chapter-intro { display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:3rem; }
  .brand-chapter-intro > p { margin:0; }
  .spartherm-sightlines .brand-chapter-intro { grid-column:1 / -1; }
  .spartherm-sightlines figure:first-of-type, .spartherm-sightlines figure:last-of-type { grid-area:auto; }
  .spartherm-sightlines figure:last-of-type img { height:auto; aspect-ratio:4/3; }
}
@media(min-width:1000px) {
  .stove-silhouettes { display:block; }
  .stove-silhouettes .brand-chapter-intro { margin-bottom:2rem; }
  .brand-chapter-intro > .brand-identity { flex-direction:row; justify-content:space-between; gap:2.5rem; }
}
@media(min-width:1000px) {
  .brand-chapter-intro { align-items:center; }
  .brand-chapter-intro h2 { margin-block:0; }
}
@media(min-width:1000px) {
  .story-fm .hearth-options .story-copy { align-items:center; }
}
@media(min-width:721px) {
  .max-blank-room .story-copy { margin-left:max(0px, calc((100% - 96rem) / 2)); }
}
.stove-silhouettes { display:block; }
.stove-silhouettes .brand-chapter-intro { margin-bottom:2rem; }
@media(min-width:721px) {
  .spartherm-sightlines .brand-chapter-intro { grid-column:1 / -1; }
  .spartherm-sightlines figure:first-of-type, .spartherm-sightlines figure:last-of-type { grid-area:auto; }
  .spartherm-sightlines figure:last-of-type img { height:auto; aspect-ratio:4/3; }
}
@media(max-width:999px) {
  .story-fm .hearth-options .brand-chapter-intro { display:block; }
  .brand-chapter-intro > p { margin-top:1rem; }
}

 .spartherm-cassettes .cassette-intro { max-width:48rem; margin-bottom:2rem; }
.cassette-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1rem,2vw,2rem); margin-bottom:clamp(2rem,4vw,4rem); }
.cassette-gallery figure { margin:0; }
.cassette-gallery img { width:100%; height:auto; }
.cassette-options { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.65fr); gap:clamp(1.5rem,3vw,3rem); align-items:start; }
.cassette-options .story-copy { margin:0; }
.cassette-options .story-copy p + p { margin-top:1rem; }
.cassette-options h3 { font-size:clamp(1.5rem,2.2vw,2rem); margin:.5rem 0 1rem; }
.cassette-product { padding:0; background:transparent; }
.cassette-product img { width:100%; height:auto; object-fit:contain; transform:scaleX(-1); }
.cassette-range { display:flex; flex-wrap:wrap; gap:.5rem 1rem; padding:0; list-style:none; font-weight:600; }
.cassette-benefits { margin:1.2rem 0; padding-left:1.1rem; font-size:.95rem; }
.cassette-benefits li { margin-block:.35rem; }
.cassette-custom-link { display:inline-block; margin-top:.6rem; font-weight:650; text-underline-offset:.2em; }
@media(max-width:999px) { .cassette-options { grid-template-columns:1fr 1fr; } .cassette-product { max-width:18rem; } }
@media(max-width:720px) { .cassette-gallery { grid-template-columns:1fr; } .cassette-options { grid-template-columns:1fr; gap:2.5rem; } .cassette-options > .story-copy + .story-copy { border-top:1px solid var(--rule); padding-top:2rem; } .cassette-product { width:65%; justify-self:center; } }
