/* RV Renovators preview, inner pages only. Written 2026-09-18. Loaded after styles.css. */
/* ================= inner pages ================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 44ch; }
.fine { margin-top: 20px; color: var(--steel); font-size: 15px; max-width: 52ch; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 16px; text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.rules { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.rules li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* page hero: the home split, a little shorter */
.hero--page { height: min(calc(100svh - var(--hh)), 860px); min-height: 560px; }
.hero--page h1 { font-size: clamp(42px, min(4.6vw, 8vh), 80px); max-width: 12ch; }
.hero-shot > .chip { pointer-events: none; }
.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--paper); }
.dip { position: relative; overflow: hidden; }
.dip .marks { z-index: 1; }
.dip-tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border-radius: 999px; background: rgba(21, 23, 26, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font: 500 14px/1 var(--text); }

/* split with a photo that bleeds off one edge */
.built, .cabinet, .report { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); align-items: center; padding: var(--pad) var(--edge) var(--pad) 0; }
.cabinet { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); padding: var(--pad) 0 var(--pad) var(--edge); }
.cabinet-shot { order: 2; }
.built figure, .cabinet figure, .report figure { margin: 0; }
.built img, .report img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 var(--r) var(--r) 0; }
.cabinet img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r) 0 0 var(--r); }
.built h2, .cabinet h2, .report h2, .booth h2, .board h2, .selfcheck h2, .awnings h2 { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.03; }
@media (max-width: 900px) {
  .built, .cabinet, .report { grid-template-columns: 1fr; padding: var(--pad) 0; }
  .cabinet-shot { order: 0; }
  .built img, .cabinet img, .report img { border-radius: 0; }
  .built-copy, .cabinet-copy, .report-copy { padding-inline: var(--gut); }
}

/* the paint-chip fan deck */
.booth { background: var(--white); border-block: 1px solid var(--line); padding: var(--pad) 0; overflow: hidden; }
.booth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.fan { position: relative; list-style: none; margin: 0; padding: 0; height: 500px; }
.chip-card { position: absolute; left: 50%; bottom: 10px; width: 150px; height: 430px; margin-left: -75px; border-radius: 12px; background: #fbfbfa; border: 1px solid rgba(21, 23, 26, .08);
  box-shadow: 0 10px 30px rgba(21, 23, 26, .12); transform-origin: 50% 90%; transform: rotate(calc((var(--i) - 2.5) * 8deg)); transition: transform .6s var(--ease), box-shadow .3s;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 0 16px 56px; cursor: pointer; outline: none; }
.chip-card::before { content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 62%; border-radius: 7px; background: var(--c); }
.chip-card::after { content: ""; position: absolute; left: 50%; bottom: 22px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25); }
.chip-name { font: 500 16px/1.2 var(--display); letter-spacing: -0.01em; }
.chip-col { margin-top: 4px; font-size: 13px; color: var(--steel); }
.fan:hover .chip-card, .fan:focus-within .chip-card { transform: rotate(calc((var(--i) - 2.5) * 13deg)); }
.fan .chip-card:hover, .fan .chip-card:focus-visible { transform: rotate(calc((var(--i) - 2.5) * 13deg)) translateY(-44px); box-shadow: 0 18px 40px rgba(21, 23, 26, .2); z-index: 2; }
@media (max-width: 900px) {
  .booth-grid { grid-template-columns: 1fr; }
  .fan { height: 420px; }
  .chip-card { width: 116px; height: 360px; margin-left: -58px; padding: 0 12px 48px; }
  .chip-name { font-size: 14px; }
}

/* before and after, side by side */
.sideon { padding: var(--pad) 0; }
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
.pairs figure { margin: 0; }
.pairs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.pairs figcaption { margin-top: 12px; color: var(--steel); font-size: 15px; }
.claimline { border-top: 1px solid var(--line); padding: 48px 0; }
.claimline-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.claimline p { font: 400 clamp(20px, 1.7vw, 24px)/1.35 var(--display); letter-spacing: -0.015em; max-width: 52ch; }

/* reviews on inner pages */
.said { padding: var(--pad) 0; background: var(--white); border-block: 1px solid var(--line); }
.said-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px clamp(40px, 6vw, 104px); align-items: start; }
.said h2 { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.03; position: sticky; top: calc(var(--hh) + 40px); }
.said-list .review:first-child { border-top-color: var(--ink); }
@media (max-width: 900px) { .said-grid { grid-template-columns: 1fr; } .said h2 { position: static; } }

/* closing band */
.next { padding: var(--pad) 0; }
.next-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.next h2 { font-size: clamp(38px, 4.8vw, 72px); line-height: 1; max-width: 14ch; }
.next p { color: var(--ink-2); font-size: 18px; max-width: 40ch; }
.next-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 16px; }
.next-tel { display: inline-flex; align-items: center; min-height: 44px; font: 500 clamp(28px, 2.8vw, 40px)/1 var(--display); letter-spacing: -0.03em; text-decoration: none; font-variant-numeric: tabular-nums; background: linear-gradient(var(--mark), var(--mark)) 0 100% / 0 2px no-repeat; padding-bottom: 6px; transition: background-size .35s var(--ease); }
.next-tel:hover { background-size: 100% 2px; }
@media (max-width: 900px) { .next-in { grid-template-columns: 1fr; } }

/* roofs: the roof plan and its leak points */
.leakmap { padding: var(--pad) 0; }
.leak-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 56px); }
.roofplan { --sw: 1; display: block; width: 100%; height: auto; overflow: visible; }
.roofplan .body { fill: var(--white); }
.leaks .mark { stroke-width: 4; transition: opacity .3s; }
.motion .leaks .mark { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion .is-seen .leaks .mark { animation: draw .9s var(--ease) forwards; }
.motion .is-seen .leaks .mark:nth-child(2n) { animation-delay: .2s; }
.motion .is-seen .leaks .mark:nth-child(3n) { animation-delay: .4s; }
.leak-grid.is-picking .mark:not(.is-on) { opacity: .15; }
.leak-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); }
.leak-list li { border-top: 1px solid var(--ink); }
@media (max-width: 760px) { .leak-list { grid-template-columns: 1fr 1fr; } }
.leak-list li { display: flex; align-items: center; gap: 12px; padding: 16px 0; font: 400 clamp(19px, 1.6vw, 23px)/1.25 var(--display); letter-spacing: -0.015em; cursor: default; outline: none; transition: color .2s; }
.leak-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background-color .2s; }
.leak-list li.is-on { color: var(--ink); }
.leak-list li.is-on::before, .leak-list li:focus-visible::before { background: var(--mark); }
.leak-grid.is-picking .leak-list li:not(.is-on) { color: var(--steel); }
@media (max-width: 900px) { .leak-grid { grid-template-columns: 1fr; } }

/* roofs: check yours tonight */
.selfcheck { padding: var(--pad) var(--edge) var(--pad) 0; background: var(--white); border-block: 1px solid var(--line); }
.check-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); align-items: center; max-width: none; padding: 0; }
.check-shot { margin: 0; }
.check-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 var(--r) var(--r) 0; }
.check-shot figcaption { margin-top: 12px; padding-left: var(--edge); color: var(--steel); font-size: 14px; }
.signs { border: 0; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.sign { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 17px; }
.sign input { appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 1.5px solid var(--ink); border-radius: 6px; display: grid; place-content: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.sign input::after { content: ""; width: 11px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.sign input:checked { background: var(--mark); border-color: var(--mark); }
.sign input:checked::after { opacity: 1; }
.verdict { margin-top: 24px; font: 400 clamp(19px, 1.6vw, 22px)/1.35 var(--display); letter-spacing: -0.01em; max-width: 36ch; }
.verdict + .btn { margin-top: 20px; }
@media (max-width: 900px) {
  .selfcheck { padding: var(--pad) 0; }
  .check-grid { grid-template-columns: 1fr; }
  .check-shot img { border-radius: 0; }
  .check-shot figcaption { padding-left: var(--gut); }
  .check-copy { padding-inline: var(--gut); }
}

/* roofs: rebuilt and awnings */
.rebuilt { padding: var(--pad) 0; }
.rebuilt-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.rebuilt-grid figure { margin: 0; }
.rebuilt-a { grid-row: span 2; }
.rebuilt-a img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r); }
.rebuilt-b img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.rebuilt-list { margin-top: 8px; }
.awnings { padding: clamp(72px, 8vw, 120px) 0; background: var(--white); border-block: 1px solid var(--line); }
.awn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 104px); align-items: start; }
.awn-list { columns: 2; column-gap: 32px; margin-top: 0; }
.awn-list li { break-inside: avoid; }
@media (max-width: 900px) { .rebuilt-grid, .awn-grid { grid-template-columns: 1fr; } .rebuilt-a { grid-row: auto; } }
@media (max-width: 520px) { .awn-list { columns: 1; } }

/* remodels: the materials board */
.board { padding: var(--pad) 0; background: var(--white); border-block: 1px solid var(--line); }
.board-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px clamp(40px, 6vw, 104px); align-items: center; }
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.swatch { margin: 0; }
.swatch-img { aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #d9dcdf; }
.swatch-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--x) var(--y); transform: scale(var(--z)); transform-origin: var(--x) var(--y); transition: transform 1.2s var(--ease); }
.swatch:hover .swatch-img img { transform: scale(calc(var(--z) * 1.06)); }
.swatch figcaption { margin-top: 10px; font-size: 15px; }
@media (max-width: 900px) { .board-grid { grid-template-columns: 1fr; } .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.interiors { padding: var(--pad) 0; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.mosaic figure { margin: 0; }
.mosaic img { width: 100%; object-fit: cover; border-radius: var(--r); }
.mosaic figcaption { margin-top: 10px; color: var(--steel); font-size: 14px; }
.m1 { grid-column: span 7; } .m1 img { aspect-ratio: 3 / 2; }
.m2 { grid-column: span 5; } .m2 img { aspect-ratio: 4 / 3.35; }
.m3 { grid-column: span 5; } .m3 img { aspect-ratio: 4 / 3.35; }
.m4 { grid-column: span 7; } .m4 img { aspect-ratio: 3 / 2; }
@media (max-width: 760px) { .mosaic > figure { grid-column: 1 / -1; } }

/* service: the board of systems and the report */
.board-list { padding: var(--pad) 0; }
.systems { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.systems li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px 48px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.systems h3 { font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -0.03em; }
.systems p { color: var(--ink-2); font-size: 18px; max-width: 48ch; }
@media (max-width: 760px) { .systems li { grid-template-columns: 1fr; } }
.report { background: var(--white); border-block: 1px solid var(--line); }
.report-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 32px 0 0; }
.report-cols div { border-top: 1px solid var(--ink); padding-top: 14px; }
.report-cols dt { font: 500 18px/1.2 var(--display); }
.report-cols dd { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 560px) { .report-cols { grid-template-columns: 1fr; } }

/* about */
.about-hero { padding: clamp(56px, 8vw, 120px) 0 0; }
.about-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.about-hero h1 { font-size: clamp(44px, 5.4vw, 84px); line-height: .96; letter-spacing: -0.05em; max-width: 12ch; }
.about-band { margin: clamp(40px, 5vw, 72px) auto 0; width: min(100% - 2 * var(--gut), 1200px); }
.about-band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r); }
@media (max-width: 900px) { .about-head { grid-template-columns: 1fr; } .about-band { width: 100%; } .about-band img { border-radius: 0; aspect-ratio: 16 / 10; } }
.owner { padding: var(--pad) 0 0; }
.owner blockquote { margin: 0; padding-top: 28px; border-top: 1px solid var(--ink); }
.owner p { font: 400 clamp(28px, 3.3vw, 48px)/1.16 var(--display); letter-spacing: -0.03em; max-width: 38ch; }
.owner cite { font-size: 16px; }
.campus { padding: var(--pad) 0; }
.facts-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(16px, 2vw, 28px); }
.fact { margin: 0; }
.fact img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.fact figcaption { margin-top: 14px; color: var(--ink-2); font-size: 16px; max-width: 34ch; }
.fact b { display: block; margin-bottom: 4px; color: var(--ink); font: 500 20px/1.25 var(--display); letter-spacing: -0.02em; }
@media (max-width: 1100px) { .facts-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.visit { padding: var(--pad) 0 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px; align-items: start; }
.visit h2 { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.03; }
.visit-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.visit-facts div { border-top: 1px solid var(--ink); padding-top: 14px; }
.visit-facts dt { color: var(--steel); font-size: 15px; }
.visit-facts dd { margin: 8px 0 0; font-size: 17px; }
.visit-facts a { text-decoration-color: var(--mark); text-underline-offset: 3px; }
@media (max-width: 900px) { .visit-grid, .visit-facts { grid-template-columns: 1fr; } }

/* 404 */
.lost { padding: clamp(80px, 12vw, 180px) 0; }
.lost h1 { font-size: clamp(44px, 5.4vw, 84px); line-height: .96; letter-spacing: -0.05em; max-width: 12ch; }
.lost-links { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 40px 0 0; padding: 0; font-size: 18px; }
.lost-links a { text-decoration-color: var(--mark); text-underline-offset: 4px; }
.lost-call { margin-top: 40px; }

/* ---------- phones: the same calm scale as the home page ---------- */
@media (max-width: 600px) {
  .hero--page { height: auto; min-height: 0; }
  .about-hero { padding-top: 28px; }
  .facts-photos { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .fact img { aspect-ratio: 1; border-radius: 10px; }
  .fact figcaption { margin-top: 10px; font-size: 13px; }
  .fact b { font-size: 15px; margin-bottom: 2px; }
  .mosaic { gap: 20px 10px; }
  .mosaic .m2, .mosaic .m3 { grid-column: span 6; }
  .mosaic .m2 img, .mosaic .m3 img { aspect-ratio: 1; }
  .rebuilt-grid { gap: 10px; }
  .claimline { padding: 28px 0; }
  .fan { height: 360px; margin-top: 8px; }
  .chip-card { height: 320px; bottom: 0; }
  .booth-grid { gap: 8px; }
  .next h2 { max-width: none; }
  .said-grid, .awn-grid, .visit-grid, .board-grid, .check-grid { gap: 22px; }
  .faq-grid { gap: 22px; }
  .hero--page h1, .about-hero h1, .lost h1 { font-size: 34px; line-height: 1; letter-spacing: -0.04em; }
  .built h2, .cabinet h2, .report h2, .booth h2, .board h2, .selfcheck h2, .awnings h2, .said h2, .next h2, .visit h2 { font-size: 28px; line-height: 1.08; letter-spacing: -0.03em; }
  .lede, .next p { font-size: 16px; }
  .fine { font-size: 14px; }
  .more { font-size: 15px; }
  .rules { margin-top: 22px; }
  .rules li { font-size: 15.5px; padding: 12px 0; }
  .claimline { padding: 36px 0; }
  .claimline p { font-size: 18px; }
  .pairs figcaption, .mosaic figcaption, .check-shot figcaption { font-size: 13px; }
  .leak-list li { font-size: 16px; padding: 14px 0; }
  .sign { font-size: 15.5px; padding: 12px 0; }
  .verdict { font-size: 17px; }
  .systems li { padding: 18px 0; gap: 6px; }
  .systems h3 { font-size: 20px; }
  .systems p { font-size: 15.5px; }
  .report-cols { gap: 16px; }
  .report-cols dt { font-size: 16px; }
  .report-cols dd { font-size: 14.5px; }
  .owner p { font-size: 24px; line-height: 1.25; }
  .fact b { font-size: 17px; }
  .fact figcaption { font-size: 14.5px; }
  .swatch figcaption { font-size: 13.5px; }
  .visit-facts dd { font-size: 15.5px; }
  .next-tel { font-size: 24px; }
  .chip-name { font-size: 13px; }
}
