/* The editorial layouts are shared only by Whole Home and For Architects. */
.editorial-page {
  --story-muted:#59554d;
  --story-gutter:clamp(1.35rem,6.5vw,7rem);
  --story-space:clamp(3.6rem,8vw,7.5rem);
}
.editorial-page .story-wrap { width:min(100% - 2 * var(--story-gutter),78rem); margin-inline:auto; }
.editorial-page .story-section { padding-block:var(--story-space); }
.editorial-page .story-hero { position:relative; display:grid; align-items:end; isolation:isolate; color:white; background:#24211d; min-height:clamp(35rem,82svh,52rem); }
.editorial-page .story-hero > img, .editorial-page .story-hero::after { position:absolute; inset:0; width:100%; height:100%; }
.editorial-page .story-hero > img { object-position:var(--story-hero-focus,center); }
.editorial-page .story-hero::after { content:""; background:linear-gradient(180deg,rgba(20,18,15,.5),transparent 29%,transparent 42%,rgba(20,18,15,.75)),linear-gradient(90deg,rgba(20,18,15,.4),transparent 75%); }
.editorial-page .story-hero-content { position:relative; z-index:1; padding-block:8rem clamp(2.5rem,6vw,5.75rem); }
.editorial-page h1,.editorial-page h2,.editorial-page h3,.editorial-page .story-case-title { font-family:"Bodoni Moda",Georgia,serif; font-weight:400; }
.editorial-page h1 { margin:0; font-size:clamp(3rem,5.4vw,5.1rem); line-height:1; }
.editorial-page h2 { margin:0; font-size:clamp(2.25rem,4.1vw,3.85rem); line-height:1.06; letter-spacing:-.026em; text-wrap:balance; }
.editorial-page .eyebrow { margin:0 0 1rem; }
.editorial-page .story-hero .eyebrow { color:#f3eae0; }
.editorial-page .story-hero-content > p:last-child { margin:1.25rem 0 0; max-width:33rem; font-size:clamp(.96rem,1.35vw,1.2rem); }
.editorial-page .story-feature,.editorial-page .story-process,.editorial-page .story-materials { display:grid; align-items:center; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:clamp(2rem,7vw,7rem); }
.editorial-page .story-feature-side > figure { width:78%; margin-top:clamp(1.8rem,4vw,4rem); margin-left:auto; }
.editorial-page .story-feature-side img { aspect-ratio:4 / 3; }
.editorial-page .story-feature > figure img { aspect-ratio:4 / 5; }
.editorial-page .story-lead > p:not(.eyebrow), .editorial-page .story-head > p:not(.eyebrow) { max-width:46ch; margin:1.25rem 0 0; color:var(--story-muted); }
.editorial-page .story-head { margin-bottom:clamp(1.65rem,4vw,3.5rem); }
.editorial-page .story-band { background:#e5dfd5; }
.editorial-page .story-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1rem,2.5vw,2.4rem); }
.editorial-page figure { margin:0; }
.editorial-page figure img,.editorial-page .story-case img { display:block; width:100%; height:auto; aspect-ratio:4 / 5; object-fit:cover; }
.editorial-page figcaption,.editorial-page .story-case-meta { display:block; margin:.75rem 0 0; font-size:.68rem; line-height:1.55; letter-spacing:.09em; text-transform:uppercase; color:var(--story-muted); }
.editorial-page .story-case { display:block; }
.editorial-page .story-case-title { display:flex; align-items:baseline; justify-content:space-between; gap:.6rem; padding:.18rem 0 .55rem; border-bottom:1px solid var(--line); font-size:clamp(1.45rem,2.5vw,2.15rem); line-height:1.12; }
.editorial-page .story-case:hover .story-case-title { border-color:var(--ink); }
.editorial-page .story-case-title span { font:1rem "DM Sans",sans-serif; }
.editorial-page .story-link { display:inline-flex; align-items:center; gap:.65rem; margin-top:1.3rem; padding:.25rem 0; border-bottom:1px solid; font-size:.85rem; }
.editorial-page .story-link:hover { color:var(--wine); }
.editorial-page .story-materials { grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); }
.editorial-page .story-material-pair,.editorial-page .story-build-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1rem,2.5vw,2.4rem); }
.editorial-page .story-material-pair figure:first-child { margin-top:clamp(1.5rem,5vw,4rem); }
.editorial-page .story-build-pair { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); align-items:end; }
.editorial-page .story-build-pair figure:first-child img { aspect-ratio:5 / 4; }
.editorial-page .story-build-pair figure:last-child img { aspect-ratio:1; }
.editorial-page .story-process { grid-template-columns:minmax(0,.85fr) minmax(0,1fr); }
.editorial-page .story-process > figure img { aspect-ratio:4 / 5; }
.editorial-page .story-steps { margin:1.65rem 0 0; padding:0; list-style:none; counter-reset:story-steps; }
.editorial-page .story-steps li { position:relative; border-top:1px solid var(--line); padding:.85rem 0 .85rem 2.1rem; counter-increment:story-steps; }
.editorial-page .story-steps li::before { content:"0" counter(story-steps); position:absolute; left:0; top:1rem; font-size:.7rem; letter-spacing:.06em; }
.editorial-page .story-steps h3 { margin:0; font-size:1.42rem; line-height:1.1; }
.editorial-page .story-steps p { margin:.38rem 0 0; color:var(--story-muted); font-size:.92rem; }
.editorial-page .story-partners { padding-bottom:var(--story-space); }
.editorial-page .story-partners details { border-top:1px solid var(--line); }
.editorial-page .story-partners details:last-child { border-bottom:1px solid var(--line); }
.editorial-page .story-partners summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem .15rem; cursor:pointer; list-style:none; font:clamp(1.25rem,2.2vw,1.65rem) "Bodoni Moda",Georgia,serif; }
.editorial-page .story-partners summary::-webkit-details-marker { display:none; }
.editorial-page .story-partners summary::after { content:"+"; font:1.2rem "DM Sans",sans-serif; }
.editorial-page .story-partners details[open] summary::after { content:"−"; }
.editorial-page .story-details { padding:0 .15rem 1.25rem; }
.editorial-page .story-details .brand-groups,.editorial-page .story-details .architect-list { margin:0; }
.editorial-page .story-contact { color:white; background:var(--ink); padding-block:clamp(3.35rem,7vw,6rem); }
.editorial-page .story-contact .story-wrap { display:flex; align-items:end; justify-content:space-between; gap:1.6rem; }
.editorial-page .story-contact .button { flex-shrink:0; }
.editorial-page a:focus-visible,.editorial-page summary:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
@media(max-width:720px) {
  .editorial-page .story-hero { min-height:clamp(31rem,76svh,43rem); }
  .editorial-page .story-hero::after { background:linear-gradient(180deg,rgba(20,18,15,.56),transparent 25%,transparent 39%,rgba(20,18,15,.8)); }
  .editorial-page.story-whole-home .story-hero > img { object-position:61% center; }
  .editorial-page .story-feature,.editorial-page .story-process,.editorial-page .story-materials { grid-template-columns:minmax(0,1fr); gap:1.75rem; }
  .editorial-page .story-feature > figure img { aspect-ratio:4 / 4.5; }
  .editorial-page .story-feature-side > figure { width:86%; margin-top:1.9rem; }
  .editorial-page .story-process > figure { width:84%; }
  .editorial-page .story-process > figure img { aspect-ratio:4 / 3; }
  .editorial-page .story-grid { grid-template-columns:minmax(0,1fr); gap:1.8rem; }
  .editorial-page .story-grid img { aspect-ratio:4 / 4.5; }
  .editorial-page .story-build-pair { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
  .editorial-page .story-build-pair figure:is(:first-child,:last-child) img { aspect-ratio:3 / 4; }
  .editorial-page .story-contact .story-wrap { align-items:start; flex-direction:column; }
}
@media(max-width:360px) {
  .editorial-page h1 { font-size:2.65rem; }
}
