/* Fireplace Gallery 8.6 / Editorial section rhythm.  Visual-only, scoped to singular brand and model pages.
 * No gallery, manufacturer relationship, catalog query or form behaviour is modified.
 */
body.fg86-brand-design .fg86-brand,
body.fg86-model-design .fg86-model-shell {
  --fg86-ink:#28312b;
  --fg86-gold:#b79a6d;
  --fg86-edge:#dfded5;
  --fg86-warm:#f7f5ef;
  --fg86-milk:#fcfbf7;
}

/* BRAND / a readable alternation of cream, warm white and graphite. */
body.fg86-brand-design .fg86-brand .fg55-brand-intro{
  position:relative;isolation:isolate;overflow:hidden;
  background:var(--fg86-warm);
  border-block:1px solid var(--fg86-edge);
  margin-top:clamp(25px,3.8vw,55px);
  padding:clamp(42px,5.2vw,76px) clamp(20px,3.8vw,56px);
}
body.fg86-brand-design .fg86-brand .fg55-brand-intro::before,
body.fg86-brand-design .fg86-brand .fg56-editorial-section::before,
body.fg86-brand-design .fg86-brand .fg55-collection::before,
body.fg86-model-design .fg86-model-shell .fgc-tabs::before,
body.fg86-model-design .fg86-model-shell .fg55-related::before{
  content:"";position:absolute;inset-inline-start:clamp(18px,3.4vw,52px);
  top:-1px;width:clamp(58px,8vw,104px);height:3px;
  background:var(--fg86-gold);pointer-events:none;
}
body.fg86-brand-design .fg86-brand .fg55-brand-intro > *{position:relative;z-index:1;min-width:0}
body.fg86-brand-design .fg86-brand .fg55-category-strip{
  margin-block:clamp(22px,3.4vw,45px) 0;
  padding:clamp(21px,2vw,29px) 0;
  border-top:1px solid var(--fg86-edge);
  border-bottom:1px solid var(--fg86-edge);
}
body.fg86-brand-design .fg86-brand .fg55-category-strip a{
  border:1px solid #e7e1d7;background:#faf9f6;
  transition:border-color .18s ease,background-color .18s ease;
}
body.fg86-brand-design .fg86-brand .fg55-category-strip a:is(:hover,:focus-visible){
  border-color:var(--fg86-gold);background:#f2eee4;
}
body.fg86-brand-design .fg86-brand .fg56-editorial-section{
  position:relative;isolation:isolate;
  margin-top:clamp(27px,3.5vw,54px);
  padding:clamp(48px,5.4vw,77px) 0 clamp(38px,4vw,58px);
  border-top:1px solid var(--fg86-edge);
  border-bottom:1px solid var(--fg86-edge);
}
body.fg86-brand-design .fg86-brand .fg56-editorial-heading{
  position:relative;z-index:1;
  padding-inline-end:clamp(10px,6vw,100px);
}
body.fg86-brand-design .fg86-brand .fg55-editorial-card{
  position:relative;border-top:3px solid var(--fg86-gold);
}
body.fg86-brand-design .fg86-brand .fg55-card-dark{border-top-color:#c4a778}
body.fg86-brand-design .fg86-brand .fg55-card-warm{border-top-color:#a58961}
body.fg86-brand-design .fg86-brand .fg55-card-light{border-top-color:#b7a184}
body.fg86-brand-design .fg86-brand .fg55-collection{
  position:relative;isolation:isolate;
  padding-top:clamp(52px,6vw,88px);margin-top:clamp(25px,3.5vw,44px);
  border-top:1px solid var(--fg86-edge);
}
body.fg86-brand-design .fg86-brand .fg55-collection .fg55-section-heading,
body.fg86-brand-design .fg86-brand .fg55-collection .fgc-product-grid{position:relative;z-index:1}
body.fg86-brand-design .fg86-brand .fg55-brand-cta{
  position:relative;isolation:isolate;overflow:hidden;
  border-top:3px solid #b59a70;
}
body.fg86-brand-design .fg86-brand .fg55-brand-cta > *{position:relative;z-index:1}

/* BRAND / New York line work is kept off readable copy. */
body.fg86-brand-design.fg86-nyc-art .fg86-brand .fg55-brand-intro::after,
body.fg86-brand-design.fg86-nyc-art .fg86-brand .fg56-editorial-section::after,
body.fg86-brand-design.fg86-nyc-art .fg86-brand .fg55-brand-cta::after{
  content:"";position:absolute;pointer-events:none;z-index:0;
  width:min(46%,560px);height:clamp(85px,11vw,155px);
  background:url('nyc-skyline-v85.svg') right bottom/contain no-repeat;
  opacity:.14;
}
body.fg86-brand-design.fg86-nyc-art .fg86-brand .fg55-brand-intro::after{inset:auto 0 0 auto}
body.fg86-brand-design.fg86-nyc-art .fg86-brand .fg56-editorial-section::after{inset:16px 0 auto auto;opacity:.10}
body.fg86-brand-design.fg86-nyc-art .fg86-brand .fg55-brand-cta::after{inset:auto 2vw 0 auto;opacity:.21;filter:brightness(1.8)}

/* MODEL / the gallery and sales summary form one distinct, calm opening stage. */
body.fg86-model-design .fg86-model-shell .fgc-crumb{
  padding-bottom:clamp(14px,2vw,22px);margin-bottom:clamp(22px,3vw,36px);
  border-bottom:1px solid var(--fg86-edge);
}
body.fg86-model-design .fg86-model-shell .fgc-detail{
  position:relative;isolation:isolate;min-width:0;
  padding:clamp(22px,3.3vw,46px);
  background:var(--fg86-warm);border:1px solid var(--fg86-edge);
  border-top:3px solid var(--fg86-gold);
}
body.fg86-model-design .fg86-model-shell .fgc-detail > *{min-width:0}
body.fg86-model-design .fg86-model-shell .fgc-detail-summary{
  padding-inline-start:clamp(0px,1.4vw,17px);
}
body.fg86-model-design .fg86-model-shell .fgc-tabs{
  position:relative;isolation:isolate;
  margin-top:clamp(28px,4vw,60px);
  border-color:var(--fg86-edge);
  box-shadow:0 12px 32px rgba(32,39,33,.035);
}
body.fg86-model-design .fg86-model-shell .fgc-tabs::before{z-index:3;inset-inline-start:clamp(15px,3vw,42px)}
body.fg86-model-design .fg86-model-shell .fgc-tablist{
  background:#f2f0e9;
  border-bottom:1px solid #dfdad0;
}
body.fg86-model-design .fg86-model-shell .fgc-tabpanel{background:var(--fg86-milk)}
body.fg86-model-design .fg86-model-shell .fgc-tabpanel > .fgc-eyebrow{
  display:inline-block;border-bottom:1px solid #c5ad83;padding-bottom:8px;
}
body.fg86-model-design .fg86-model-shell .fgc-tab-subsection,
body.fg86-model-design .fg86-model-shell .fg71-product-positioning,
body.fg86-model-design .fg86-model-shell .fg68-benefit-block,
body.fg86-model-design .fg86-model-shell .fg68-fit-notes,
body.fg86-model-design .fg86-model-shell .fg68-checklist,
body.fg86-model-design .fg86-model-shell .fg71-product-checklist{
  border-inline-start:3px solid var(--fg86-gold);
  background:#f5f2eb;
  padding:clamp(20px,2.8vw,34px);
  margin-block:clamp(20px,3vw,36px);
  min-width:0;
}
body.fg86-model-design .fg86-model-shell .fgc-tab-subsection{border-top:0}
body.fg86-model-design .fg86-model-shell .fgc-consider{
  background:#f8f6f1;border:1px solid #e4dfd5;
  border-top:3px solid var(--fg86-gold);
}
body.fg86-model-design .fg86-model-shell .fg55-related{
  position:relative;isolation:isolate;
  border-top:1px solid var(--fg86-edge);
  padding-top:clamp(55px,6vw,82px);
  padding-bottom:clamp(50px,5vw,72px);
  margin-top:clamp(34px,4.2vw,60px);
}
body.fg86-model-design .fg86-model-shell .fg55-related-soft{
  background:#f6f4ed;
  border-bottom:1px solid var(--fg86-edge);
}
body.fg86-model-design .fg86-model-shell .fg55-related .fg55-section-heading,
body.fg86-model-design .fg86-model-shell .fg55-related .fgc-product-grid{position:relative;z-index:1}
body.fg86-model-design .fg86-model-shell .fgc-tabpanel .fgc-assist{border-top:3px solid var(--fg86-gold)}
body.fg86-model-design.fg86-nyc-art .fg86-model-shell .fg55-related-soft::after{
  content:"";position:absolute;z-index:0;pointer-events:none;
  width:min(42%,520px);height:120px;right:0;top:14px;
  background:url('nyc-bridge-v85.svg') right top/contain no-repeat;opacity:.13;
}

/* Small screens: do not create side-scrolling, preserve the accordion and mobile carousel. */
@media(max-width:767px), (min-width:768px) and (max-width:1100px) and (orientation:portrait){
  body.fg86-brand-design .fg86-brand .fg55-brand-intro{padding:29px 20px;margin-top:20px}
  body.fg86-brand-design .fg86-brand .fg56-editorial-section{padding-top:39px}
  body.fg86-model-design .fg86-model-shell .fgc-detail{padding:clamp(16px,3.5vw,27px)}
  body.fg86-model-design .fg86-model-shell .fgc-detail-summary{padding-inline-start:0}
  body.fg86-model-design .fg86-model-shell .fgc-tabs{margin-top:24px}
  body.fg86-model-design .fg86-model-shell .fgc-tabs::before{width:65px;inset-inline-start:17px}
  body.fg86-model-design .fg86-model-shell .fgc-tabpanel{background:#fff}
  body.fg86-model-design .fg86-model-shell .fgc-tab-subsection,
  body.fg86-model-design .fg86-model-shell .fg71-product-positioning,
  body.fg86-model-design .fg86-model-shell .fg68-benefit-block,
  body.fg86-model-design .fg86-model-shell .fg68-fit-notes,
  body.fg86-model-design .fg86-model-shell .fg68-checklist,
  body.fg86-model-design .fg86-model-shell .fg71-product-checklist{padding:18px}
  body.fg86-model-design .fg86-model-shell .fg55-related{padding-top:44px}
}
@media(max-width:580px){
  body.fg86-brand-design.fg86-nyc-art .fg86-brand .fg55-brand-intro::after,
  body.fg86-brand-design.fg86-nyc-art .fg86-brand .fg56-editorial-section::after,
  body.fg86-model-design.fg86-nyc-art .fg86-model-shell .fg55-related-soft::after{width:65%;height:70px;opacity:.08}
  body.fg86-brand-design .fg86-brand .fg55-brand-cta{padding-inline:20px}
}
@media(prefers-reduced-motion:reduce){
  body.fg86-brand-design .fg86-brand .fg55-category-strip a{transition:none}
}
