/* Shared finishing layer for the first desktop review. */
.home-story-link { display: block; color: inherit; text-decoration: none; }
.home-story-caption h3 { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.home-story-link:hover .home-story-caption h3 span,
.home-story-link:focus-visible .home-story-caption h3 span { color: #fff; background: #ae1825; border-color: transparent; }
.home-story-caption h3 span { transition: background-color 160ms ease, color 160ms ease; }
.home-story-link:focus-visible { outline-offset: .35rem; }
#enquiry-context, #result dd { overflow-wrap: anywhere; }
.guide-next article h2 { font-size: clamp(1.45rem, 2.1vw, 2.2rem); }
@media (prefers-reduced-motion: no-preference) {
  .opening-copy, .story-intro { animation: editorial-arrival 350ms cubic-bezier(.2,.65,.3,1) both; }
  .portal details[open] > .portal-panel { animation: editorial-arrival 150ms ease-out both; }
  #enquiry-form fieldset:not([hidden]), #result:not([hidden]) { animation: editorial-arrival 160ms ease-out both; }
}
@keyframes editorial-arrival {
  from { opacity: .85; translate: 0 6px; }
  to { opacity: 1; translate: 0 0; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .home-story-link:hover .home-story-image > img { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .home-story-image:hover > img, .footer-brand-rail a:hover img { transform: none; }
  .home-story-caption h3 span { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-paths a:hover b { transform: none; }
}
.story-wamsler .stove-specimens img {
  aspect-ratio: 1;
  padding: clamp(.75rem, 2vw, 2rem);
  background: #fff;
}
.story-wamsler .stove-specimens img,
.story-max-blank .range-chapter-product .range-chapter-media img {
  border: 1px solid #ded9d1;
  box-shadow: 0 10px 24px #35281910;
}
.story-wamsler .stove-specimens.range-chapter-right img { aspect-ratio: 4 / 3; }
.range-chapter-seat .range-chapter-media img {
  aspect-ratio: 6 / 5;
  object-position: center 78%;
}
.range-chapter-wide.max-blank-room { width: min(100%, 72rem); }
.max-blank-room .range-chapter-media img {
  max-height: none;
  aspect-ratio: 4 / 3;
  object-position: center 64%;
}
@media (min-width: 721px) {
  .br-chapter:nth-child(even) > figure { grid-area: 1 / 1; }
}

.formats-page .view-room { background: var(--graphite-surface); padding-top: 0; --graphite-lines-inset: 0 0 20% auto; }
.formats-page .view-room > .home-wrap { width:calc(min(100%, var(--page-width)) - 2 * var(--pad)); }
.formats-page .view-room .breadcrumbs { padding-top:.75rem; margin-bottom: clamp(1.1rem, 3vw, 2.25rem); }
.formats-page .view-room-heading { align-items: center; margin-bottom: clamp(2rem, 4vw, 4rem); }
.formats-page .view-room-heading h1 { font-size: clamp(2.8rem, 5.5vw, 5.6rem); }
.format-kicker { color: #ddd6d2; margin-bottom: .65rem; }
.formats-page .view-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
  border: 0;
}
.formats-page .view-choices label {
  min-height: 5rem;
  padding: .85rem clamp(.6rem, 2vw, 1.3rem);
  background: #15161866;
  border: 1px solid #646162;
  color: #faf7f3;
  gap: .65rem;
}
.formats-page .view-choices label:has(:checked) { background: #ffffff10; border-color: #d2c9bd; box-shadow: inset 0 -3px #d2c9bd; }
.formats-page .view-choices label:has(:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.formats-page .view-choices input { accent-color: #d2c9bd; }
.formats-page .fire-view-copy .caption { color: #ddd6d2; }
.view-choices strong, .view-choices small { display: block; }
.view-choices small { margin-top: .22rem; color: #ddd6d2; }
.formats-page .fire-view { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.formats-page .fire-view-copy { padding-bottom: .25rem; }
.formats-page .fire-view-copy p:not(.caption) { max-width: 60ch; }
.format-examples, .format-planning { display: grid; gap: 1rem; }
.format-examples { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.formats-page .fire-view .format-examples img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: var(--format-photo-position);
}
.format-examples figcaption { margin-top: .55rem; color: #ddd6d2; font-size: .85rem; }
.format-planning { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.5rem 0 2rem; }
.format-planning > div { border-top: 1px solid #cbc3b9; padding-top: .9rem; }
.format-planning h3 { font-size: clamp(1.25rem, 2vw, 1.8rem); }

@media (max-width: 720px) {
  .format-examples, .format-planning { grid-template-columns: 1fr; }
  .formats-page .view-choices { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .formats-page .view-choices label { min-height: 4.2rem; }
}
@media (max-width: 460px) {
  .formats-page .view-choices label { gap: .35rem; }
  .view-choices small { display: none; }
}

.story-intro h1.brand-title, .br-opening-copy h1.brand-title { font-size:clamp(2.8rem,5vw,6rem); line-height:1.05; letter-spacing:-.025em; }
.story-intro > p.brand-tagline, .br-opening-copy > p.brand-tagline { font-family:var(--display); font-size:clamp(1.3rem,2.1vw,2rem); line-height:1.2; max-width:24ch; margin-block:.7rem 1.2rem; color:#fafafa; text-wrap:balance; }
@media(max-width:720px) { .story-intro h1.brand-title, .br-opening-copy h1.brand-title { font-size:clamp(2.5rem,9vw,4rem); } }
/* Frame the photograph itself, without letterboxing product silhouettes. */
:is(.stove-specimens, .range-chapter-product) .range-chapter-media img {
  width:auto;
  height:auto;
  max-width:100%;
  max-height:38rem;
  aspect-ratio:auto;
  padding:0;
  justify-self:center;
}

.story-max-blank .range-chapter-product img[src*="max-blank-rio-steel"],
.story-max-blank .range-chapter-product img[src*="max-blank-odin-cook"] { height:38rem; width:auto; max-width:100%; object-fit:contain; }
@media(max-width:720px) {
  .story-max-blank .range-chapter-product img[src*="max-blank-rio-steel"],
  .story-max-blank .range-chapter-product img[src*="max-blank-odin-cook"] { height:auto; max-height:32rem; }
}

:is(.story-chapter + .story-chapter, .range-chapter, .br-chapter + .br-chapter) { position:relative; border-top:0; }
:is(.story-chapter + .story-chapter, .range-chapter, .br-chapter + .br-chapter)::before {
  content:""; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:min(52%,32rem); height:1px; background:var(--section-divider);
}
@media(max-width:720px) {
  :is(.brand-story .story-intro, .br-opening .br-opening-copy) {
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip-path:inset(50%); white-space:nowrap;
  }
  .br-opening .br-stage { padding-bottom:0; }
  :is(.brand-story .story-intro, .br-opening .br-opening-copy) > :not(h1) { display:none; }
  .br-opening > .breadcrumbs-photo { top:auto; bottom:.5rem; }
  .br-opening .br-photo-credit { display:none; }
}

/* Standalone product comparisons share a centered mobile reading axis. */
@media(max-width:720px) {
  :is(.stove-specimens,.range-chapter-product) .range-chapter-copy,
  .story-wamsler .stove-silhouettes .brand-chapter-intro > p {
    text-align:center;
    margin-inline:auto;
  }
  :is(.stove-specimens,.range-chapter-product) .range-chapter-copy > p {
    margin-inline:auto;
  }
}

@media(prefers-reduced-motion:no-preference) {
  @view-transition { navigation:auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration:180ms; }
}

.product-emphasis { font-weight:600; }
