/* The captured room, professional routes and homeowner product examples on the homepage. */
.editorial-home {
  --study-gutter: clamp(22px, 4.3vw, 72px);
  background: var(--plaster-raised);
}
.editorial-home .wrap { width:min(calc(100% - 2 * var(--study-gutter)),1320px); padding-inline:0; }
.study-opening { --study-paper:#f8f4ec; position:relative; isolation:isolate; background:var(--plaster-raised); color:var(--ink); }
.study-spread {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(30px, 5.6vw, 94px);
  align-items: center;
  padding: clamp(38px, 4.3vw, 74px) 0 24px;
}
.study-intro .eyebrow, .buyer-text .eyebrow { margin-bottom: 24px; }
.study-lede { max-width: 30rem; margin-top: 25px; font-size: clamp(1.05rem, 1.36vw, 1.27rem); line-height: 1.55; color: var(--ink); }
.study-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; }
.study-actions .button { display:inline-flex; align-items:center; gap:10px; }
.study-actions .button:hover { background:var(--viridian); border-color:var(--viridian); color:var(--plaster-raised); }
.play-mark { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.study-time { border-left: 1px solid color-mix(in srgb, currentColor 40%, transparent); padding-left: 9px; font-size: .86em; }
.study-plate { margin: 0; min-width: 0; }
.study-stage { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--study-paper); border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 20px 46px -28px rgba(10, 34, 24, 0.24); }
.study-stage img, .study-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.study-plate figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 15px; padding: 10px 2px 6px; }
.study-caption-name { font: italic 500 1.075rem/1.3 var(--serif); color: var(--pine-lacquer); }
.study-views { display: inline-flex; align-items: center; gap: 16px; }
.study-views button, .study-chapters button { min-height: 44px; padding: 6px 0; font: 500 .9rem/1.2 var(--display); color: var(--muted); cursor: pointer; background: transparent; border: 0; }
.study-views button { position: relative; }
.study-views button[aria-pressed="true"], .study-views button:hover { color: var(--viridian); }
.study-views button[aria-pressed="true"]::after { content: ""; position: absolute; height: 2px; bottom: 6px; inset-inline: 0; background: var(--viridian); }
.study-record { margin:0; padding-bottom:9px; border-top:1px solid var(--line-strong); }
.study-record summary {
  display: flex; gap: 12px; align-items: center; justify-content: flex-end; min-height: 44px;
  cursor: pointer; list-style: none; font: 500 .9rem/1.2 var(--display); color: var(--pine-lacquer);
}
.study-record summary::-webkit-details-marker { display: none; }
.study-record summary span { font-weight: 400; color: var(--muted); }
.study-record summary::after { content: "+"; font-family: var(--display); font-size: 1.25rem; font-weight: 400; }
.study-record[open] summary::after { content: "−"; }
.study-record-body { display: grid; grid-template-columns: minmax(145px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(30px, 7vw, 100px); padding: 23px 0 36px; }
.study-record-body figure { text-align: center; margin: 0; }
.study-record-body video { width: min(100%, 280px, calc((100svh - 150px) * 0.4615)); height: auto; aspect-ratio: 1080/2340; background: var(--study-paper); object-fit: contain; }
.study-record-body figcaption { margin: 8px 0; font-size: .86rem; color: var(--muted); }
.study-record-body h2, .buyer-text h2, .editorial-home .home-app h2 {
  font-size: clamp(2.2rem, 3.35vw, 3.4rem); line-height: 1.05; letter-spacing: -.028em; word-spacing: .03em; font-weight: 560; text-wrap: balance;
}
.study-record-body p:not(.eyebrow) { margin-top: 16px; max-width: 35rem; }
.study-chapters { display: grid; margin: 20px 0; }
.study-chapters button { display:flex; align-items:center; gap: 16px; border-top: 1px solid var(--line); text-align: left; }
.study-chapters button:first-child { border-top: 0; }
.study-chapters time { color: var(--viridian); font-variant-numeric: tabular-nums; }
.study-chapters button:hover { color: var(--viridian); }
.study-limit { font-size: var(--text-small); color: var(--muted); }
.reader-paths { background:var(--celadon-soft); color:var(--pine-lacquer); }
.reader-paths-inner { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 24px 0; }
.reader-paths a { display:flex; flex-direction:column; justify-content:center; gap:2px; min-height:54px; padding-right:clamp(14px,3vw,52px); color:inherit; text-decoration:none; }
.reader-paths a + a { border-left:1px solid var(--line-strong); padding-left:clamp(16px,3vw,54px); }
.reader-paths span { color:var(--viridian); font-size:.85rem; }
.reader-paths strong { display:flex; justify-content:space-between; align-items:center; gap:8px; font:500 clamp(1.05rem,1.65vw,1.55rem)/1.2 var(--display); letter-spacing:-.024em; }
.reader-paths i, .trade-links i { font-family:Arial,sans-serif; font-size:1em; font-style:normal; font-weight:400; }
.reader-paths a:hover strong, .reader-paths a:focus-visible strong { color:var(--viridian); }
.reader-paths a:focus-visible { outline-color:var(--viridian); }
.buyer-story { padding:clamp(60px,7.2vw,114px) 0; background:var(--plaster); }
.buyer-spread { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(40px,7.3vw,110px); align-items:center; }
.buyer-photo { margin:0; }
.buyer-photo img { width:100%; aspect-ratio:1.35; object-fit:cover; object-position:52% 48%; border-radius:3px; }
.buyer-text h2 em { color:var(--viridian); }
.buyer-text > p:not(.eyebrow) { color:var(--ink); margin-top:20px; max-width:35rem; }
.buyer-text .founding-price { border-top:1px solid var(--line-strong); padding-top:14px; margin:20px 0 10px; font-size:.96rem; color:var(--muted); }
.founding-price strong { color:var(--pine-lacquer); padding-right:.35em; }
.trade-links { margin-top:clamp(32px,4vw,58px); display:grid; grid-template-columns:1fr 1fr; gap:clamp(18px,4vw,60px); }
.trade-links a { display:grid; grid-template-columns:1fr auto; align-items:center; gap:3px 14px; border-top:1px solid var(--line-strong); padding:14px 0 8px; color:var(--ink); text-decoration:none; }
.trade-links a:hover strong { color:var(--viridian); }
.trade-links strong { font-size:1.08rem; font-weight:560; }
.trade-links span { grid-row:2; font-size:.91rem; color:var(--muted); }
.trade-links i { grid-column:2; grid-row:1 / span 2; color:var(--viridian); font-size:1.2rem; }
.editorial-home .home-app { background:var(--plaster-raised); padding:clamp(60px,7.2vw,108px) 0; }
.editorial-home .home-app .home-head { display:grid; grid-template-columns:1fr auto; align-items:end; gap:10px 25px; max-width:100%; margin:0 0 clamp(26px,4vw,50px); }
.home-app .home-head .eyebrow { grid-column:1/-1; margin:0; }
.home-app .home-head > a { justify-self:start; }
.editorial-home .home-feature--lite { grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr); gap:clamp(30px,6.4vw,90px); }
.editorial-home .home-feature--lite .compare { border-radius:3px; }
.editorial-home .home-feature--lite .home-feature__text { max-width:29rem; }
.editorial-home .home-costs { display:grid; grid-template-columns:1.2fr 1fr; gap:clamp(34px,6vw,82px); margin-top:clamp(38px,5vw,66px); }
.editorial-home .home-costs article { display:grid; margin:0; border-top:1px solid var(--line-strong); padding-top:21px; gap:14px; align-items:start; }
.editorial-home .home-costs .home-feature--repair { grid-template-columns:minmax(0,1fr) minmax(105px,140px); column-gap:clamp(12px,2vw,28px); }
.editorial-home .home-repair__media { width:100%; margin:0; }
.editorial-home .home-repair__media img { width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:2px; }
.editorial-home .home-costs .home-bid { grid-template-columns:minmax(0,1fr); }
.editorial-home .home-costs h3 { font-size:clamp(1.45rem,2.25vw,2.12rem); line-height:1.08; }
.editorial-home .home-costs .figure-set__amount { font-size:clamp(2rem,2.8vw,2.8rem); }
.editorial-home .home-costs .home-bid__prices, .editorial-home .home-costs .home-bid__text { max-width:32rem; }
.editorial-home .home-costs p { margin-top:10px; }
.editorial-home .home-store { margin-top:clamp(30px,4vw,55px); }
@media (max-width: 839px) {
  .study-spread { grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr); gap:26px; }
  .study-intro .eyebrow, .buyer-text .eyebrow { margin-bottom:14px; }
  .study-lede { margin-top:16px; font-size:1.04rem; }
  .study-actions { margin-top:16px; gap:4px 14px; }
  .buyer-spread { gap:29px; }
  .buyer-photo img { aspect-ratio:.9; }
  .reader-paths-inner { padding-block:17px; }
  .editorial-home .home-feature--lite { gap:26px; }
  .editorial-home .home-costs { grid-template-columns:1fr 1fr; gap:28px; }
  .editorial-home .home-costs .home-feature--repair { grid-template-columns:1fr; }
  .editorial-home .home-repair__media { width:90px; order:-1; }
}
@media (max-width: 650px) {
  .study-spread, .buyer-spread, .editorial-home .home-feature--lite, .editorial-home .home-costs { grid-template-columns:minmax(0,1fr); }
  .study-spread { gap:18px; padding:24px 0 0; }
  .study-lede { max-width:34rem; }
  .study-actions { margin-top:13px; gap:8px 16px; }
  .study-plate figcaption { gap:4px 8px; }
  .study-caption-name { font-size:.98rem; }
  .study-views { gap:12px; }
  .study-views button { font-size:.85rem; }
  .study-record summary { justify-content:flex-start; }
  .study-record summary::after { margin-left:auto; }
  .study-record-body { display:flex; flex-direction:column; align-items:stretch; gap:20px; padding:20px 0; }
  .study-record-body figure { order:1; }
  .reader-paths-inner { grid-template-columns:1fr; padding:9px 0; }
  .reader-paths a, .reader-paths a + a { display:grid; grid-template-columns:6.7rem minmax(0,1fr); align-items:center; gap:8px; min-height:52px; padding:7px 0; border-left:none; }
  .reader-paths a + a { border-top:1px solid var(--line-strong); }
  .reader-paths span { font-size:.79rem; }
  .reader-paths strong { font-size:1.03rem; }
  .buyer-story { padding:42px 0; }
  .buyer-spread { gap:24px; }
  .buyer-text { grid-row:1; }
  .buyer-photo img { aspect-ratio:1.85; }
  .buyer-text h2 { max-width:38rem; text-wrap:pretty; }
  .trade-links { grid-template-columns:1fr; margin-top:17px; gap:3px; }
  .editorial-home .home-app { padding:43px 0; }
  .editorial-home .home-app .home-head { display:block; }
  .home-app .home-head .eyebrow { margin-bottom:10px; }
  .home-app .home-head > a { margin-top:5px; }
  .editorial-home .home-costs { gap:26px; margin-top:30px; }
  .editorial-home .home-costs .home-feature--repair { grid-template-columns:minmax(0,1fr); }
  .editorial-home .home-repair__media { width:136px; order:-1; }
}
.study-inset {
  display:block; position:absolute; right:2.9%; bottom:4%; width:clamp(65px,20%,136px);
  padding:0; cursor:pointer; overflow:hidden; border:2px solid var(--plaster-raised);
  border-radius:3px; background:var(--study-paper); box-shadow:0 2px 12px rgba(12,13,12,.18);
}
.study-inset img { aspect-ratio:4/3; width:100%; height:auto; object-fit:cover; }
.study-inset:hover, .study-inset:focus-visible { border-color:var(--viridian); }
.editorial-home .home-store { opacity:1; transform:none; }
@media(max-width:650px){
  .study-intro .eyebrow,.buyer-text .eyebrow { display:block; }
  .study-intro .eyebrow::before,.buyer-text .eyebrow::before { content:none; }
  .study-record { padding-bottom:4px; }
  .study-actions .text-link { padding-block:8px; }
}
