/* ==========================================================================
   Simmons Painting Contractors — site.css
   Component and page-specific styles. Fonts and tokens are in theme.css.
   ========================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.7 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brand); color: var(--white); }
h1, h2, h3, h4, h5, h6 { font-family: var(--head); font-weight: 700; color: var(--ink); line-height: 1.25; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
address { font-style: normal; }
hr.divider { border: 0; height: 0; margin: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8em 1.6em;
  font: 600 1.0625rem/1.2 var(--head); text-decoration: none; border: 2px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out); }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-secondary { background: var(--ink); color: var(--white); }
.btn-secondary:hover { background: var(--brand); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); border-radius: var(--radius); text-transform: uppercase; }
.btn-outline-light:hover { background: var(--white); color: var(--brand-ink); }
.btn-block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 16px; margin: 1.5em 0 0; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--brand); color: var(--white); font: 600 .9375rem/1.3 var(--head); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar-tagline { margin: 0; }
.topbar-contact { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.topbar-contact a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: .5em; white-space: nowrap; }
.topbar-contact a:hover { text-decoration: underline; }

.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 106px; }
.logo img { width: 140px; }
.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-list > .nav-item > a, .nav-list > .nav-item > .nav-toggle-sub { display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px;
  font: 500 .9375rem/1 var(--head); color: var(--brand-ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-list > .nav-item > a[aria-current="page"] { color: var(--ink); }
.nav-list > .nav-item > a:hover, .nav-toggle-sub:hover { color: var(--ink); }
.chev { width: 12px; height: 12px; transition: transform .2s var(--ease-out); }
.nav-toggle-sub[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-sub { list-style: none; margin: 0; padding: 8px 0; background: var(--white); min-width: 260px; box-shadow: var(--shadow); border-top: 3px solid var(--brand); }
.nav-sub a, .nav-sub .nav-toggle-sub { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 18px; font: 500 .9rem/1.35 var(--head);
  color: var(--text); text-decoration: none; background: none; border: 0; text-align: left; cursor: pointer; }
.nav-sub a:hover, .nav-sub .nav-toggle-sub:hover { background: var(--tint); color: var(--brand-ink); }
.btn-estimate { font-size: 1.125rem; padding: .9em 1.6em; }
.nav-toggle { display: none; }

@media (min-width: 1280px) {
  .nav-sub-wrap, .nav-item > .nav-sub { position: absolute; top: 100%; left: 0; visibility: hidden; opacity: 0; transform: translateY(6px);
    transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), visibility 0s .18s; z-index: 10; }
  .nav-sub .nav-sub-wrap, .nav-sub .nav-item > .nav-sub { top: -8px; left: 100%; }
  .nav-item:hover > .nav-sub-wrap, .nav-item:focus-within > .nav-sub-wrap, .nav-toggle-sub[aria-expanded="true"] + .nav-sub-wrap {
    visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-sub .chev { transform: rotate(-90deg); }
  .nav-list > .nav-item:nth-last-child(-n+5) .nav-sub--2, .nav-list > .nav-item:nth-last-child(-n+5) .nav-sub--3 { left: auto; right: 100%; }
  /* …and their first dropdown hangs from the item's right edge so the whole cascade opens leftward */
  .nav-list > .nav-item:nth-last-child(-n+5) > .nav-sub-wrap, .nav-list > .nav-item:nth-last-child(-n+5) > .nav-sub { left: auto; right: 0; }
}

@media (max-width: 1279px) {
  .topbar-tagline { display: none; }
  .topbar-inner { justify-content: center; }
  .header-inner { min-height: 76px; flex-wrap: wrap; }
  .logo img { width: 118px; }
  .btn-estimate { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 8px 14px;
    background: none; border: 2px solid var(--brand); color: var(--brand-ink); font: 600 1rem var(--head); cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .site-nav { display: none; flex-basis: 100%; margin: 0 0 12px; max-height: calc(100dvh - 140px); overflow-y: auto; border-top: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > .nav-item > a, .nav-list > .nav-item > .nav-toggle-sub { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav-sub-wrap { display: none; }
  .nav-toggle-sub[aria-expanded="true"] + .nav-sub-wrap { display: block; }
  .nav-sub { box-shadow: none; border-top: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav-sub a, .nav-sub .nav-toggle-sub { padding: 12px 4px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) { .topbar-contact { gap: 16px; font-size: .8125rem; } }

/* ---------- Sections / grid ---------- */
.sec { position: relative; padding-block: var(--sec-pad); overflow: hidden; isolation: isolate; }
.row { position: relative; display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
.row + .row { margin-top: clamp(28px, 4vw, 48px); }
.col { position: relative; min-width: 0; }
@media (min-width: 900px) {
  .row { grid-template-columns: repeat(12, 1fr); }
  .w-4_4 { grid-column: span 12; } .w-3_4 { grid-column: span 9; } .w-2_3 { grid-column: span 8; } .w-1_2 { grid-column: span 6; }
  .w-1_3 { grid-column: span 4; } .w-1_4 { grid-column: span 3; } .w-3_5 { grid-column: span 7; } .w-2_5 { grid-column: span 5; }
  .row.cols-2 { align-items: center; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .row.cols-3, .row.cols-4 { grid-template-columns: 1fr 1fr; }
}

/* Background photos rendered as <img> */
.has-bg { position: relative; }
.bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.col > .bg-img, .row > .bg-img, .mod-bg > .bg-img { z-index: 0; }
.col.has-bg > :not(.bg-img), .mod-bg > :not(.bg-img) { position: relative; z-index: 1; }
.ov-dark::after, .ov-dim::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ov-dark::after { background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.5)); }
.ov-dim::after { background: rgba(0,0,0,.18); }
.col.ov-dark::after, .col.ov-dim::after { z-index: 0; }
.ov-dark, .ov-dark h1, .ov-dark h2, .ov-dark h3, .ov-dark h4, .ov-dark a:not(.btn) { color: var(--white); }

.tone-brand { background-color: var(--brand); }
.tone-dark { background-color: #111; }
.tone-tint { background-color: var(--tint); }
.tone-light { background-color: var(--light); }
.tone-brand, .tone-brand h1, .tone-brand h2, .tone-brand h3, .tone-brand h4, .tone-brand h5, .tone-brand h6,
.tone-dark, .tone-dark h1, .tone-dark h2, .tone-dark h3, .tone-dark h4, .tone-dark h5, .tone-dark h6 { color: var(--white); }
.tone-brand a:not(.btn), .tone-dark a:not(.btn) { color: var(--white); }

/* Text */
.txt { color: var(--muted); }
.txt > :last-child { margin-bottom: 0; }
.ov-dark .txt, .tone-brand .txt, .tone-dark .txt { color: rgba(255,255,255,.94); }
.block-link { display: block; color: inherit; text-decoration: none; }

/* Short label directly above a heading */
.txt:has(+ h1, + h2, + h3) { color: var(--brand-ink); font: 500 .9375rem/1.4 var(--head); margin-bottom: .9em;
  display: inline-flex; align-items: center; gap: .55em; }
.txt:has(+ h1, + h2, + h3)::before { content: ""; width: 3px; height: 1em; background: currentColor; }
.txt:has(+ h1, + h2, + h3) p { margin: 0; }
.ov-dark .txt:has(+ h1, + h2, + h3), .tone-dark .txt:has(+ h1, + h2, + h3) { color: var(--white); }

/* Images inside content */
.col > img:not(.bg-img), .col > a > img { max-width: 100%; border-radius: var(--radius); }
.col > a:has(> img) { display: inline-block; }

/* ---------- FAQ (details/summary) ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none;
  font: 600 1.15rem/1.4 var(--head); color: #0b1530; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 16px; height: 16px; color: var(--brand); flex: none; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq-a { padding: 0 0 20px; color: var(--muted); }
.faq-a > :last-child { margin: 0; }

/* ---------- Blurbs / counters / cards ---------- */
.blurb { display: block; color: inherit; text-decoration: none; }
.blurb.pos-left { display: flex; gap: 18px; align-items: flex-start; }
.blurb-img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.blurb-title { font-size: 1.25rem; margin: 0 0 .25em; }
.blurb-body > :last-child { margin: 0; }
a.blurb:hover .blurb-title { color: var(--brand-ink); }
.counter-num { display: block; font: 700 3.5rem/1 var(--head); }
.icon-link { display: inline-grid; place-items: center; width: 52px; height: 52px; background: var(--white); color: var(--ink); }
.icon-link svg { width: 22px; height: 22px; }
.icon-link:hover { background: var(--ink); color: var(--white); }

/* ---------- Reviews ---------- */
.stars { display: inline-flex; gap: 2px; color: #f5b301; }
.stars svg { width: 18px; height: 18px; }
.g-review-list { list-style: none; margin: 1.5em 0 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.g-review { scroll-snap-align: start; background: var(--white); border-radius: 10px; padding: 20px; box-shadow: 0 2px 10px rgba(16,33,56,.08); font-size: .95rem; color: var(--text); }
.g-review p { margin: .6em 0 0; }
.g-review-meta { display: flex; flex-direction: column; font-size: .85rem; }
.t-name { font: 600 .95rem/1.3 var(--head); color: var(--ink); }
.t-date { color: var(--muted); font-size: .85rem; }
.g-reviews-more { margin-top: 1em; font-weight: 500; }

.testimonials { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.testimonial { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.testimonial blockquote { margin: 0; color: var(--text); }
.testimonial blockquote p { margin: 0 0 .6em; }
.testimonial figcaption { display: flex; flex-direction: column; margin-top: auto; }

/* ---------- Gallery / posts / archive ---------- */
.gallery { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 10px; }
.gallery li { break-inside: avoid; margin-bottom: 10px; }
.gallery img { width: 100%; transition: opacity .2s; }
.gallery a:hover img { opacity: .85; }
.post-list { list-style: none; margin: 1.5em 0 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.post-card a { color: inherit; text-decoration: none; }
.post-card img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.post-card h3 { font-size: 1.25rem; font-weight: 600; }
.post-card a:hover h3 { color: var(--brand-ink); }
.post-card p { color: var(--muted); font-size: .95rem; }
.archive-list { columns: 2 280px; column-gap: 40px; padding-left: 1.1em; }
.archive-list li { margin-bottom: .6em; break-inside: avoid; }

/* ---------- Map + contact form ---------- */
.map { margin-top: 24px; }
.map iframe { width: 100%; height: 260px; border: 0; display: block; }
.contact-form { background: var(--white); color: var(--text); padding: clamp(20px, 3vw, 32px); }
.contact-form form { display: grid; gap: 18px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; padding: 0; margin-bottom: 6px; font: 600 1rem/1.3 var(--body); color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req { color: #c0262d; }
.sub-label { display: block; margin-top: 4px; font-size: .875rem; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #8d97a5; border-radius: 3px; padding: 10px 12px; min-height: 44px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(45,124,172,.35); border-color: var(--brand); }
.contact-form [aria-invalid="true"] { border-color: #c0262d; }
.field-error, .form-error { color: #b0222a; font-size: .9rem; margin: 6px 0 0; }
.form-error { margin-bottom: 12px; font-weight: 600; }
.form-success { background: #e8f5ec; border: 1px solid #9fd1ad; padding: 14px 16px; margin-bottom: 16px; color: #14512a; }
.form-success p { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer-cta { background: var(--brand); color: var(--white); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-around; gap: 24px; padding-block: 28px; text-align: center; flex-wrap: wrap; }
.footer-cta p { margin: 0; font: 500 1.25rem/1.6 var(--head); max-width: 52ch; }
.footer-main { background: var(--footer-bg); padding-block: 56px 40px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(4, 1fr); }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-brand .logo img { width: 180px; }
.fb-badge img { width: 150px; }
.footer-col h2 { font: 700 1.25rem/1.2 var(--head); color: var(--brand-ink); text-transform: uppercase; margin-bottom: 1em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { display: inline-flex; align-items: center; gap: 10px; color: #2b2b2b; text-decoration: none; font-weight: 500; }
.footer-col a:hover { color: var(--brand-ink); text-decoration: underline; }
.ico-arrow { width: 14px; height: 14px; color: var(--brand); }
.footer-contact li { font-weight: 500; color: #2b2b2b; }
.footer-copy { background: var(--brand); color: var(--white); text-align: center; font-size: .9375rem; }
.footer-copy p { margin: 0; padding-block: 12px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { align-items: flex-start; } }

/* ---------- Mobile call bar (fixed) ---------- */
.call-bar { display: none; }
@media (max-width: 1279px) {
  .call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.4fr 1fr;
    padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--ink); box-shadow: 0 -4px 16px rgba(0,0,0,.18); }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font: 600 1rem/1 var(--head); color: var(--white); text-decoration: none; }
  .call-bar-call { background: var(--brand); }
  .call-bar-estimate { background: var(--ink); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 404 ---------- */
.page-hero { text-align: center; }
.page-hero .btns { justify-content: center; }
.btn-on-brand { background: var(--white); color: var(--brand-ink); }
.btn-on-brand:hover { background: var(--ink); color: var(--white); }

/* ==========================================================================
   Page-specific replication (targets original Divi module ids)
   ========================================================================== */

/* ----- Home ----- */
.pg-home .et_pb_section_0 { padding-block: clamp(80px, 11vw, 150px) clamp(90px, 10vw, 140px); }
.pg-home .et_pb_section_0 h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.15; max-width: 18ch; }
.pg-home .et_pb_section_0 .txt { font: 500 clamp(1.05rem, 1.5vw, 1.25rem)/1.55 var(--body); max-width: 62ch; }
.pg-home .et_pb_section_0 .btn-primary { background: var(--white); color: var(--ink); }
.pg-home .et_pb_section_0 .btn-primary:hover { background: var(--brand); color: var(--white); }

.pg-home .et_pb_column_2 { min-height: clamp(320px, 40vw, 560px); }
.pg-home .et_pb_column_2 > .bg-img { border-radius: 0; }
.pg-home .et_pb_column_2 > .txt { position: absolute !important; right: -24px; bottom: -40px; background: var(--brand); color: var(--white);
  padding: 22px 30px 22px 122px; font: 600 1.1rem/1.4 var(--head); outline: 2px dashed rgba(255,255,255,.85); outline-offset: -14px; min-width: 280px; }
.pg-home .et_pb_column_2 > .txt.css-before { right: auto; left: calc(100% - 226px); padding: 0; outline: 0; background: none; min-width: 0;
  bottom: -14px; z-index: 2; font: 700 3.6rem/1 var(--head); }
.pg-home .et_pb_column_2 > .txt p { margin: 0; max-width: 8ch; }
@media (max-width: 899px) { .pg-home .et_pb_column_2 > .txt { right: 0; } .pg-home .et_pb_column_2 > .txt.css-before { left: auto; right: 170px; } }
.pg-home .et_pb_section_2 h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }

.pg-home .et_pb_section_3 { background: #121110; }
.pg-home .et_pb_section_3 h3 { color: var(--white); text-align: center; max-width: 24ch; margin-inline: auto; font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.pg-home .et_pb_section_3 .et_pb_row_2 { text-align: center; }
.pg-home .et_pb_section_3 .et_pb_row_2 .txt { color: var(--white); }
.pg-home .et_pb_section_3 .col.has-bg { min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; }
.pg-home .et_pb_section_3 .col.has-bg::after { display: none; }
.pg-home .et_pb_section_3 .col.has-bg > .txt:first-of-type { position: absolute; left: 0; bottom: 74px; background: var(--ink); color: var(--white);
  font: 700 2.6rem/1 var(--head); padding: 12px 18px 10px 12px; border-radius: 0 30px 0 0; }
.pg-home .et_pb_section_3 .col.has-bg > .block-link, .pg-home .et_pb_section_3 .col.has-bg > .txt:nth-of-type(2) {
  margin-right: 60px; background: var(--brand); color: var(--white); font: 600 clamp(1.15rem, 1.8vw, 1.6rem)/1.2 var(--head); padding: 20px 20px; }
.pg-home .et_pb_section_3 .col.has-bg .block-link .txt { color: var(--white); }
.pg-home .et_pb_section_3 .col.has-bg > .block-link:hover { background: var(--ink); }
.pg-home .et_pb_section_3 .icon-link { position: absolute; right: 0; bottom: 0; z-index: 2; }

.pg-home .et_pb_section_4 h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.pg-home .et_pb_section_4 .col.has-bg { min-height: 480px; }
.pg-home .et_pb_section_4 .row:has(> .col > img[src*="it-services-6-vmr"]) { display: none; }

.pg-home .et_pb_section_5 h3, .pg-home .et_pb_section_7 h3 { text-align: center; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.pg-home .et_pb_section_5 { background: #f2f2f2; }
.pg-home .et_pb_section_5 .col.has-bg { background: var(--white); border: 1px solid #ddd; border-radius: 8px; padding: 32px 22px 36px; box-shadow: var(--shadow); align-self: stretch; }
.pg-home .et_pb_section_5 .col.has-bg > .bg-img { opacity: .55; object-position: center bottom; height: 50%; top: auto; border-radius: 0 0 8px 8px; }
.pg-home .et_pb_section_5 .blurb-body { font: 500 1.4rem/1.35 var(--head); color: var(--ink); }
.pg-home .et_pb_section_5 .blurb-img { padding: 14px; background: var(--brand); border-radius: 50%; width: 76px; height: 76px; }
.pg-home .et_pb_section_5 .txt { margin-top: 18px; color: var(--ink); font-family: var(--head); font-size: .95rem; }
.pg-home > main .sec > .bg-img[src*="shape-2"] { object-fit: contain; object-position: right top; opacity: .35; }

.pg-home .et_pb_section_6 .col > img:first-of-type { box-shadow: var(--shadow); }
.pg-home .et_pb_section_7 { background: #f2f2f2; }
.pg-home .et_pb_section_7 .btns, .pg-home .et_pb_section_8 .et_pb_row_15 { justify-content: center; text-align: center; }
.pg-home .et_pb_section_8 .row:has(> .col > img[src*="it-services-6-vmr"]) { display: none; }
.pg-home .et_pb_section_8 .et_pb_row_15 .txt { justify-content: center; }
.pg-home .et_pb_section_8 .et_pb_row_15 { display: block; text-align: center; }
.pg-home .et_pb_section_8 .et_pb_row_16 .col { grid-column: 1 / -1; }
.pg-home .et_pb_section_9 .divider { border-top: 3px solid var(--brand); width: 100%; margin: 8px 0 28px; }
.pg-home .et_pb_section_9 .blurb { margin-bottom: 22px; }
.pg-home .et_pb_section_9 .blurb-title { font-weight: 500; font-size: 1.35rem; }
.pg-home .et_pb_section_9 .blurb::before, .pg-contact .blurb::before { content: ""; width: 62px; height: 62px; border-radius: 50%; background: var(--brand); flex: none; }
.pg-home .et_pb_section_9 .blurb { display: flex; gap: 20px; align-items: center; }
.pg-home .et_pb_section_9 .blurb-body p { margin: 0; font-weight: 500; }

/* ----- Service-area pages ----- */
.kind-area .et_pb_section_0_tb_body { text-align: center; padding-block: clamp(70px, 9vw, 120px) clamp(80px, 9vw, 110px); }
.kind-area .et_pb_section_0_tb_body h1 { max-width: 26ch; margin-inline: auto; font-size: clamp(2rem, 4.4vw, 3.6rem); }
.kind-area .et_pb_section_1_tb_body .col > img { border-radius: 8px; }
.kind-area .et_pb_section_1_tb_body h2, .kind-area .et_pb_section_2_tb_body h3 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.2; }
.kind-area .et_pb_section_1_tb_body .txt, .kind-area .et_pb_section_2_tb_body .txt { color: var(--ink); font: 500 1.15rem/1.45 var(--body); }
.kind-area .et_pb_section_2_tb_body { background: var(--light); }
.kind-area .et_pb_section_3_tb_body h6 { text-align: center; color: #333; max-width: 30ch; margin: 0 auto 1em; font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
.kind-area .faq { max-width: 830px; margin-inline: auto; display: grid; gap: 20px; }
.kind-area .faq details { border: 0; background: var(--ink); color: var(--white); border-radius: 5px; }
.kind-area .faq details[open] { background: var(--brand); }
.kind-area .faq summary { color: var(--white); padding: 18px 20px; font-size: 1.2rem; }
.kind-area .faq summary .chev { color: var(--white); }
.kind-area .faq-a { color: var(--white); padding: 0 20px 20px; font-size: 1rem; }
.kind-area .et_pb_section_4_tb_body { background: var(--navy); text-align: center; }
.kind-area .et_pb_section_4_tb_body h6 { color: var(--white); max-width: 30ch; margin-inline: auto; font-size: clamp(1.7rem, 3.4vw, 2.75rem); }
.kind-area .et_pb_section_4_tb_body .txt { color: var(--white); font-weight: 500; max-width: 90ch; margin-inline: auto; }
.kind-area .et_pb_section_4_tb_body .btns { justify-content: center; }
.kind-area .et_pb_section_4_tb_body .btn-secondary { background: var(--white); color: var(--ink); }

/* ----- Standard inner pages ----- */
.kind-page:not(.pg-home) main > .sec:first-child { text-align: center; }
.kind-page:not(.pg-home) main > .sec:first-child h1 { color: var(--white); }
.kind-page:not(.pg-home) main > .sec:first-child:not(.has-bg):not([class*="tone-"]) { background: var(--brand); }
.kind-page:not(.pg-home) main > .sec:first-child:not(.ov-dark) { --sec-pad: clamp(64px, 8vw, 110px); }
.kind-page:not(.pg-home) main > .sec:first-child.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.45); }
.kind-page main .row:has(> .col > img[src*="it-services-6-vmr"]) { display: none; }

/* ----- Blog post ----- */
.kind-post main > .sec:first-child { background: var(--brand); text-align: center; }
.kind-post main > .sec:first-child h1 { color: var(--white); max-width: 30ch; margin-inline: auto; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.kind-post main > .sec:nth-child(2) .wrap { max-width: 860px; }
.kind-post main > .sec:nth-child(2) .txt { color: var(--text); font-size: 1.1rem; }
.kind-post main > .sec:nth-child(2) h3 { margin-top: 1.4em; font-size: 1.6rem; }
.kind-post main > .sec:nth-child(2) img { border-radius: var(--radius); margin-block: 8px 24px; }

/* ----- Archives ----- */
.kind-archive .archive h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* Home FAQ photo */
.pg-home .et_pb_section_6 > .bg-img { width: 34%; opacity: .35; object-fit: cover; object-position: right center; }

/* Contact block */
.pg-home .et_pb_section_9 .col:has(.contact-form), .pg-contact .col:has(.contact-form) { background: var(--white); padding: clamp(20px, 3vw, 32px); }
.pg-home .et_pb_section_9 .col:has(.contact-form) h2, .pg-contact .col:has(.contact-form) h2 { color: var(--ink); }
.col:has(.contact-form) .contact-form { padding: 0; }

/* Contact blurbs */
.pg-home .et_pb_section_9 .blurb::before, .pg-contact .blurb::before {
  background: var(--brand) center / 28px no-repeat;
}
.pg-home .et_pb_section_9 .blurb:nth-of-type(1)::before, .pg-contact .blurb:nth-of-type(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5h3l1.5 4-2 1.3a11 11 0 0 0 6.1 6.1l1.3-2 4 1.5v3a2 2 0 0 1-2.2 2A17.5 17.5 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2Z'/%3E%3C/svg%3E"); }
.pg-home .et_pb_section_9 .blurb:nth-of-type(2)::before, .pg-contact .blurb:nth-of-type(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 6h18v12H3z M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.pg-home .et_pb_section_9 .blurb:nth-of-type(3)::before, .pg-contact .blurb:nth-of-type(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11.5a7 7 0 0 1 14 0C19 14.9 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }

/* Contact page */
.col img[src*="Follow-us-on-facebook"] { max-width: 240px; }
.pg-contact .blurb { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.pg-contact .blurb-body p { margin: 0; }

/* Image-only Divi modules */
.mod-bg:has(.bgbox-fill) { position: relative; overflow: hidden; }
.bgbox-fill { aspect-ratio: 3 / 2; }
.pg-home .et_pb_section_6 .mod-bg:has(.bgbox-fill) { width: 82%; margin: -22% 0 0 auto; border: 12px solid var(--white); box-shadow: var(--shadow); }
.t-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-bottom: 6px; }

/* ----- /blog/ redirect notice ----- */
.blog-hero { text-align: center; padding-block: clamp(56px, 7vw, 96px); }
.blog-hero p { margin: 0; font: 500 1.15rem/1.5 var(--body); }
.blog-body { padding-block: clamp(40px, 5vw, 72px); }
#soro-blog { min-height: 320px; }
.blog-cta { text-align: center; }
.blog-cta h2 { color: var(--ink); }
.blog-cta .btns { justify-content: center; }

/* ----- Home: latest articles carousel (dynamic, from /articles/ index) ----- */
.art-carousel { position: relative; margin-top: 8px; text-align: left; }
.art-carousel__controls { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 14px; }
.art-carousel__controls:not(:has(button:not([hidden]))) { display: none; }
.art-carousel__btn { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 2px solid var(--brand);
  background: var(--white); color: var(--brand-ink); cursor: pointer; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.art-carousel__btn svg { width: 22px; height: 22px; }
.art-carousel__btn:hover:not(:disabled) { background: var(--brand); color: var(--white); }
.art-carousel__btn:disabled { opacity: .35; cursor: default; }
.art-carousel__track { list-style: none; margin: 0; padding: 4px 4px 18px; display: grid; grid-auto-flow: column;
  grid-auto-columns: min(85%, 360px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scroll-padding-inline: 4px; scrollbar-width: thin; scrollbar-color: var(--brand) transparent; }
.art-carousel__track:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.art-card { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(16, 33, 56, .07); }
.art-card__img { display: block; }
.art-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.art-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 22px; }
.art-card__meta { margin: 0; font-size: .85rem; color: var(--muted); }
.art-card__title { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.art-card__title a { color: var(--ink); text-decoration: none; }
.art-card__title a:hover { color: var(--brand-ink); text-decoration: underline; }
.art-card__desc { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.art-card__more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.art-card__more:hover { text-decoration: underline; }
.art-carousel__all { margin: 22px 0 0; text-align: center; }

/* Desktop header fit (v1.2.1): 8 top-level items + estimate button on one line, no label wrapping.
   Full menu from 1280px; below that the hamburger menu + fixed call bar are used. */
@media (min-width: 1280px) {
  .header-inner { gap: 16px; }
  .nav-list > .nav-item > a, .nav-list > .nav-item > .nav-toggle-sub { padding: 12px 7px; white-space: nowrap; }
  .btn-estimate { font-size: 1rem; padding: .8em 1.25em; white-space: nowrap; flex: none; }
  .logo { flex: none; }
}

/* ==========================================================================
   "The Walk-Around Report" (redesign v1.4) — scoped to body.rpt until rolled out site-wide
   Colour by job: red = damage only · green = fixed/done only · blue = only what you can act on
   ========================================================================== */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/public-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/public-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 104%; ascent-override: 88%; descent-override: 21%; line-gap-override: 0%; }
@font-face { font-family: "Public Sans Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 104%; ascent-override: 92%; descent-override: 22%; line-gap-override: 0%; }

body.rpt {
  --r-ink: #13263d;          /* report ink: headings, linework, body */
  --r-ink-2: #43546a;        /* secondary text (AA on white and on tint) */
  --r-paper: #ffffff;
  --r-tint: #f2f5f8;         /* alternate sheet */
  --r-rule: #e2e8ef;         /* ledger grid */
  --r-line: #c9d3de;         /* hairlines, field borders on tint */
  --r-blue: var(--brand);    /* actions only */
  --r-blue-ink: #1d6795;     /* action text on white (AA) */
  --r-red: #c4161c;          /* damage only */
  --r-red-soft: #fbe9ea;
  --r-green: #1f7a3a;        /* fixed / done only */
  --r-green-soft: #e7f3ea;
  --r-band-rule: #5f7894;    /* outlines on the dark services band */
  --r-band-text: #dbe3ec;    /* secondary text on the dark band (12.3:1 on report ink) */
  --r-scrim: #0d1b2c;        /* photo overlay + text shadow (used through color-mix alphas) */
  --r-fs-small: 0.95rem;     /* hints, notes, captions, chips */
  --r-fs-subtitle: 1.25rem;  /* step titles, county names, form + callout titles */
  --r-fs-display: clamp(2.2rem, 4.6vw, 4rem);
  --r-fs-display-phone: clamp(1.7rem, 7.6vw, 2.6rem);
  --r-head: "Archivo", "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;
  --r-body: "Public Sans", "Public Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  background: var(--r-paper); color: var(--r-ink); font: 400 1.125rem/1.6 var(--r-body);
}
body.rpt ::selection { background: var(--r-ink); color: #fff; }
body.rpt :focus-visible { outline: 3px solid var(--r-blue); outline-offset: 3px; }
.rpt-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

/* Ledger sheet (hero + booking) */
/* Ruled report paper: horizontal rules only, like an estimate/inspection pad */
.rpt-sheet { background-color: var(--r-paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, var(--r-rule) 35px, var(--r-rule) 36px); }

/* Type */
.rpt-h1, .rpt-h2, .rpt-h3, body.rpt h3 { font-family: var(--r-head); color: var(--r-ink); letter-spacing: -0.015em; text-wrap: balance; }
.rpt-h1 { font-size: var(--r-fs-display); font-weight: 800; line-height: 1.05; margin: 0 0 .45em; }
.rpt-h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); font-weight: 750; line-height: 1.12; margin: 0 0 .4em; }
.rpt-lede { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--r-ink); margin: 0 0 1.4em; max-width: 46ch; }
.rpt-intro { color: var(--r-ink-2); max-width: 62ch; margin: 0 0 2rem; }
.rpt-section { padding-block: clamp(56px, 7vw, 104px); }
.rpt-section--tint { background: var(--r-tint); }
.rpt-row-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 1.5rem; }
.rpt-row-head .rpt-h2 { margin: 0; }

/* Links + buttons (blue = action) */
.rpt-link { color: var(--r-blue-ink); font-weight: 650; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.rpt-link:hover { color: var(--r-ink); }
.rpt-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: .75em 1.4em;
  font: 700 1.0625rem/1.2 var(--r-head); letter-spacing: .01em; border: 2px solid transparent; border-radius: 6px; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease-out, color .18s ease-out, border-color .18s ease-out, transform .18s ease-out; }
.rpt-btn--primary { background: var(--r-blue); color: #fff; }
.rpt-btn--primary:hover { background: var(--r-ink); }
.rpt-btn--primary:active { transform: translateY(1px); }
.rpt-btn--call { background: #fff; color: var(--r-blue-ink); border-color: var(--r-blue); }
.rpt-btn--call:hover { background: var(--r-blue); color: #fff; }
.rpt-btn--block { width: 100%; }

/* ---------- Hero ---------- */
.rpt-hero { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--r-line); }
.rpt-hero__grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .rpt-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(360px, 1fr); } }
.rpt-hero__copy { order: -1; }
@media (min-width: 1000px) { .rpt-hero__copy { order: 0; } }
.rpt-hero__note { margin: .75rem 0 0; font-size: var(--r-fs-small); color: var(--r-ink-2); }
.rpt-facts { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--r-fs-small); font-weight: 600; color: var(--r-ink); }
.rpt-facts li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; vertical-align: middle; background: var(--r-ink); transform: rotate(45deg); }

/* Diagram */
.rpt-diagram { position: relative; background: #fff; border: 2px solid var(--r-ink); border-radius: 4px; box-shadow: 0 10px 30px rgba(19, 38, 61, .08); }
.rpt-diagram__svg { display: block; width: 100%; height: auto; }
.rpt-ink { fill: none; stroke: var(--r-ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.rpt-ink--thin { stroke-width: 1.1; opacity: .7; }
.rpt-ink-fill { fill: var(--r-ink); }
.rpt-wash { stroke: none; }
.rpt-wash.rpt-ink { stroke: var(--r-ink); }
.rpt-wash--wall { fill: #edf1f5; }
.rpt-wash--roof { fill: #cfd8e1; }
.rpt-wash--trim { fill: #f7f9fb; }
.rpt-wash--shadow { fill: #c3ccd6; opacity: .55; }
.rpt-wash--glass { fill: #d6e5ef; }
.rpt-wash--door { fill: #b9c9d6; }
.rpt-wash--garage { fill: #f5f7f9; }
.rpt-wash--wood { fill: #ddc7a6; }
.rpt-wash--trunk { fill: #d7c3a1; }
.rpt-wash--frond { fill: #c9dac3; }
.rpt-damage__fade { fill: #e4ddd0; stroke: none; }
.rpt-damage__flake { fill: #fff; stroke: var(--r-ink); stroke-width: 1.2; stroke-linejoin: round; }
.rpt-damage__rot { fill: #8a6d4c; stroke: var(--r-ink); stroke-width: 1.2; }
.rpt-damage__crack { fill: none; stroke: var(--r-ink); stroke-width: 1.4; stroke-linecap: round; }
.rpt-damage__spots circle { fill: #5d6b4d; opacity: .75; }
.rpt-pen path { fill: none; stroke: var(--r-red); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.rpt-anim .rpt-pen path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: rpt-draw .9s cubic-bezier(.16, 1, .3, 1) forwards; }
.rpt-anim .rpt-pen path:nth-child(2) { animation-delay: .25s; }
.rpt-anim .rpt-pen path:nth-child(3) { animation-delay: .5s; }
.rpt-anim .rpt-pen path:nth-child(4) { animation-delay: .75s; }
@keyframes rpt-draw { to { stroke-dashoffset: 0; } }

.rpt-pin { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--r-red); color: #fff; font: 800 1.15rem/1 var(--r-head); text-decoration: none; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(19, 38, 61, .3);
  transition: transform .18s ease-out, box-shadow .18s ease-out; }
.rpt-pin:hover { transform: translate(-50%, -50%) scale(1.08); }
.rpt-pin[aria-expanded="true"] { box-shadow: 0 0 0 4px var(--r-red-soft), 0 0 0 6px var(--r-red); }
/* Pins sit on the top-left edge of their red-pen loop (viewBox 8 96 632 312) */
.rpt-pin--1 { left: 25.4%; top: 70.2%; }
.rpt-pin--2 { left: 84.9%; top: 33.2%; }
.rpt-pin--3 { left: 35.6%; top: 39.4%; }
.rpt-pin--4 { left: 89.9%; top: 76.9%; }

/* Callout (in-place finding) */
.rpt-callout { margin-top: 14px; padding: 18px 20px; background: #fff; border: 2px solid var(--r-ink); border-radius: 4px; }
.rpt-callout .rpt-finding__title { font-size: var(--r-fs-subtitle); margin: .1em 0 .45em; }
.rpt-callout .rpt-mark { margin-bottom: .6rem; }
.rpt-callout .rpt-link { font-size: 1rem; }

/* Tags + marks */
.rpt-tag__no { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border: 2.5px solid var(--r-red); border-radius: 50%;
  color: var(--r-red); font-size: var(--r-fs-small); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.rpt-mark { margin: 0 0 .85rem; padding-left: 30px; position: relative; }
.rpt-mark__label { display: block; font: 700 .9rem/1.3 var(--r-head); letter-spacing: .02em; margin-bottom: .15rem; }
.rpt-mark::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; }
.rpt-mark--damage .rpt-mark__label { color: var(--r-red); }
.rpt-mark--damage::before { border: 2.5px solid var(--r-red); }
.rpt-mark--fix .rpt-mark__label { color: var(--r-green); }
.rpt-mark--fix::before { background: var(--r-green); }
.rpt-mark--fix::after { content: ""; position: absolute; left: 5px; top: calc(.2em + 4px); width: 7px; height: 4px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.rpt-check { display: inline-block; width: 22px; height: 22px; margin-right: 10px; vertical-align: -5px; border-radius: 50%; background: var(--r-green); position: relative; }
.rpt-check::after { content: ""; position: absolute; left: 6px; top: 6px; width: 9px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }

/* Quotes */
.rpt-quote { margin: 1rem 0; }
.rpt-quote blockquote { margin: 0; }
.rpt-quote p { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--r-ink); }
.rpt-quote figcaption { margin-top: .4rem; font: 700 .92rem/1.3 var(--r-head); color: var(--r-ink); }
.rpt-quote figcaption span { font-weight: 500; color: var(--r-ink-2); }
.rpt-quote--small p { font-size: .97rem; }
.rpt-quote--card { margin: 0; padding: 24px; background: #fff; border: 1.5px solid var(--r-line); border-radius: 6px; }
.rpt-quote--card p { font-size: 1.08rem; }

/* Findings */
.rpt-findings { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 760px) { .rpt-findings { grid-template-columns: 1fr 1fr; } }
.rpt-finding { padding: 24px 24px 26px; background: #fff; border: 1.5px solid var(--r-line); border-top: 4px solid var(--r-ink); scroll-margin-top: 120px; }
.rpt-finding:target { box-shadow: 0 0 0 3px var(--r-red-soft); }
.rpt-finding__title { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 750; margin: .1em 0 .7em; }

/* Steps */
.rpt-steps-wrap { display: grid; gap: 32px; }
@media (min-width: 1000px) { .rpt-steps-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); align-items: start; } .rpt-steps-head { position: sticky; top: calc(130px + var(--rpt-dock-h, 0px)); } }
.rpt-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: none; }
@media (min-width: 700px) { .rpt-steps { grid-template-columns: 1fr 1fr; } }
.rpt-step { position: relative; padding: 22px 22px 22px 76px; background: #fff; border: 1.5px solid var(--r-line); border-radius: 6px; }
.rpt-step__no { position: absolute; left: 20px; top: 18px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--r-ink); color: #fff; font: 800 1.2rem/1 var(--r-head); }
.rpt-step__title { font-size: var(--r-fs-subtitle); font-weight: 750; margin: .25em 0 .35em; }
.rpt-step p { margin: 0; color: var(--r-ink-2); }
.rpt-step .rpt-quote { margin: .9rem 0 0; padding-top: .9rem; border-top: 1px dashed var(--r-line); }
.rpt-step .rpt-quote p { color: var(--r-ink); }

/* Service line items */
/* Services: the live site's photo cards on a dark band (owner preference, v1.4) */
.rpt-services { background: var(--r-ink); color: #fff; }
.rpt-services .rpt-h2 { color: #fff; }
.rpt-services .rpt-intro { color: var(--r-band-text); }
.rpt-cards { list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; display: grid; gap: 28px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rpt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rpt-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rpt-card__link { display: flex; flex-direction: column; height: 100%; color: #fff; text-decoration: none; }
.rpt-card__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--r-ink-2); }
.rpt-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease-out; }
.rpt-card__no { position: absolute; left: 0; bottom: 0; display: grid; place-items: center; min-width: 52px; height: 60px; padding: 0 12px;
  background: var(--r-ink); color: #fff; border-radius: 0 26px 0 0; font: 800 2.1rem/1 var(--r-head); font-variant-numeric: tabular-nums; }
.rpt-card__bar { display: flex; align-items: stretch; min-height: 64px; background: var(--r-blue); }
@media (min-width: 1100px) { .rpt-card__bar { min-height: 78px; } }
.rpt-card__name { flex: 1; display: flex; align-items: center; padding: 12px 16px; font: 750 var(--r-fs-subtitle)/1.2 var(--r-head); }
.rpt-card__go { flex: none; display: grid; place-items: center; width: 52px; margin: 10px 0 0 8px; background: #fff; color: var(--r-ink); }
.rpt-card__go .rpt-arrow { width: 22px; height: 22px; transition: transform .18s ease-out; }
.rpt-card__desc { display: block; padding: 12px 2px 0; color: var(--r-band-text); }
.rpt-card__link:hover .rpt-card__img { transform: scale(1.04); }
.rpt-card__link:hover .rpt-card__go .rpt-arrow { transform: translateX(3px); }
.rpt-card__link:hover .rpt-card__bar { background: var(--r-blue-ink); }
.rpt-card__link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.rpt-card--ask .rpt-card__ask { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; aspect-ratio: 1 / 1; padding: clamp(20px, 2.4vw, 28px);
  border: 2px solid var(--r-band-rule); border-bottom: 0; }
.rpt-card__ask-title { font: 800 clamp(1.5rem, 2vw, 1.75rem)/1.15 var(--r-head); }
.rpt-card__ask-text { color: var(--r-band-text); }
@media (prefers-reduced-motion: reduce) { .rpt-card__img, .rpt-card__go .rpt-arrow { transition: none; } }

/* Finished homes */
.rpt-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.rpt-job img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; border: 1.5px solid var(--r-line); }

/* Neighbors' quotes */
.rpt-quotes { display: grid; gap: 18px; }
@media (min-width: 900px) { .rpt-quotes { grid-template-columns: repeat(3, 1fr); } }
.rpt-more { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 1.6rem 0 0; }

/* About */
.rpt-about { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .rpt-about { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.rpt-about__photo img { display: block; width: 100%; height: auto; border-radius: 4px; border: 2px solid var(--r-ink); }
.rpt-about__text p { color: var(--r-ink); }
.rpt-why { margin: 1.6rem 0; display: grid; gap: 16px; }
.rpt-why dt { font: 750 1.1rem/1.3 var(--r-head); margin-bottom: .2rem; }
.rpt-why dd { margin: 0; color: var(--r-ink-2); }

/* Service area */
.rpt-area { display: grid; gap: 24px; }
@media (min-width: 760px) { .rpt-area { grid-template-columns: repeat(3, 1fr); } }
.rpt-area__county { border-top: 2px solid var(--r-ink); padding-top: 14px; }
.rpt-area__name { font-size: var(--r-fs-subtitle); font-weight: 750; margin: 0 0 .6rem; }
.rpt-area ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rpt-area a { display: inline-block; padding: 6px 0; color: var(--r-blue-ink); font-weight: 600; text-underline-offset: .2em; }

/* FAQ */
.rpt-faq-wrap { max-width: 900px; }
.rpt-faq__item { border-bottom: 1px solid var(--r-line); }
.rpt-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; min-height: 56px; font: 700 1.15rem/1.35 var(--r-head); color: var(--r-ink); }
.rpt-faq__item summary::-webkit-details-marker { display: none; }
.rpt-faq__item summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 3px solid var(--r-blue-ink); border-bottom: 3px solid var(--r-blue-ink);
  transform: rotate(45deg) translateY(-4px); transition: transform .2s ease-out; }
.rpt-faq__item[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.rpt-faq__item p { margin: 0 0 20px; color: var(--r-ink-2); max-width: 70ch; }

/* Booking */
.rpt-book { padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--r-line); }
.rpt-book__grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .rpt-book__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.rpt-book__call { margin: 0 0 1.25rem; }
.rpt-book__addr { font-style: normal; color: var(--r-ink-2); }

/* ---------- Estimate form ---------- */
.rpt-form { background: #fff; border: 2px solid var(--r-ink); border-radius: 6px; padding: clamp(18px, 2.6vw, 28px); box-shadow: 0 10px 30px rgba(19, 38, 61, .08); }
.rpt-form__title { font: 750 1.35rem/1.2 var(--r-head); margin: 0 0 1rem; }
.rpt-form form { display: grid; gap: 16px; }
.rpt-form__step { display: grid; gap: 16px; }
.rpt-field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.rpt-field > label, .rpt-field > legend { font: 700 1rem/1.3 var(--r-head); color: var(--r-ink); padding: 0; }
.rpt-req, .rpt-opt { font: 500 .9rem/1.3 var(--r-body); color: var(--r-ink-2); }
.rpt-field input:not([type="checkbox"]):not([type="radio"]), .rpt-field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 400 1.1rem/1.4 var(--r-body); color: var(--r-ink);
  background: #fff; border: 2px solid #76869a; border-radius: 6px; transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.rpt-field textarea { min-height: 96px; resize: vertical; }
.rpt-field input:focus, .rpt-field textarea:focus { outline: none; border-color: var(--r-blue); box-shadow: 0 0 0 4px rgba(45, 124, 172, .22); }
.rpt-field [aria-invalid="true"] { border-color: var(--r-red); }
.rpt-field__error { margin: 0; color: var(--r-red); font-weight: 600; font-size: .97rem; }
.rpt-field__hint { margin: 0; color: var(--r-ink-2); font-size: var(--r-fs-small); }
.rpt-form__alert { margin: 0 0 14px; padding: 12px 14px; border: 2px solid var(--r-red); border-radius: 6px; color: var(--r-red); font-weight: 650; background: var(--r-red-soft); }
.rpt-form__fine { margin: 0; font-size: .92rem; color: var(--r-ink-2); }
.rpt-form__call { margin: 14px 0 0; font-weight: 600; }
.rpt-form__call a { color: var(--r-blue-ink); font-weight: 750; white-space: nowrap; }
.rpt-form__sent { padding: 18px; border: 2px solid var(--r-green); border-radius: 6px; background: var(--r-green-soft); }
.rpt-form__sent p { margin: 0; }
.rpt-form__sent-title { font: 750 1.15rem/1.4 var(--r-head); color: var(--r-ink); margin-bottom: .4rem !important; }
.rpt-form__sent a { color: var(--r-blue-ink); font-weight: 700; }
.rpt-choices__grid { display: flex; flex-wrap: wrap; gap: 8px; }
.rpt-choice { position: relative; }
.rpt-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rpt-choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 14px; border: 2px solid #76869a; border-radius: 999px;
  font-weight: 600; font-size: 1rem; cursor: pointer; user-select: none; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.rpt-choice input:checked + span { background: var(--r-blue); border-color: var(--r-blue); color: #fff; }
.rpt-choice input:focus-visible + span { outline: 3px solid var(--r-blue); outline-offset: 2px; }
.rpt-choice span:hover { border-color: var(--r-blue); }
.rpt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Quick start: step 2 is server-rendered [hidden] until "Continue" (JS opens it in place) */
.rpt-form--quick.is-open .rpt-form__continue { display: none; }

/* ---------- Header / footer inside the report world (home only for now) ---------- */
body.rpt .topbar { background: var(--r-ink); font-family: var(--r-head); }
body.rpt .site-header { box-shadow: 0 1px 0 var(--r-line); }
body.rpt .nav-list > .nav-item > a, body.rpt .nav-list > .nav-item > .nav-toggle-sub { font-family: var(--r-head); font-weight: 600; color: var(--r-ink); }
body.rpt .nav-list > .nav-item > a[aria-current="page"] { color: var(--r-blue-ink); text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 2px; }
body.rpt .btn-estimate { font-family: var(--r-head); border-radius: 6px; }
body.rpt .footer-cta { background: var(--r-ink); }
body.rpt .footer-cta p, body.rpt .footer-col h2 { font-family: var(--r-head); }
body.rpt .art-card__title { font-family: var(--r-head); }

/* [hidden] must always win over component display rules (quick-start step 2, callout, hints) */
[hidden] { display: none !important; }

/* Anchored jumps (thank-you, #book, findings) land below the sticky header */
.rpt-form, #book, .rpt-finding { scroll-margin-top: calc(130px + var(--rpt-dock-h, 0px)); }

/* ---------- Merged hero (owner request 2026-12-01): live site's photo hero + report quick start ---------- */
.rpt-hero--photo { position: relative; isolation: isolate; overflow: hidden; border-bottom: 0; color: #fff; background: var(--r-ink);
  padding-block: clamp(40px, 7vw, 104px) clamp(48px, 7vw, 112px); }
.rpt-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; z-index: -2; }
.rpt-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--r-scrim) 88%, transparent) 0%, color-mix(in srgb, var(--r-scrim) 72%, transparent) 45%, color-mix(in srgb, var(--r-scrim) 30%, transparent) 100%); }
@media (max-width: 999px) { .rpt-hero--photo::after { background: linear-gradient(180deg, color-mix(in srgb, var(--r-scrim) 80%, transparent) 0%, color-mix(in srgb, var(--r-scrim) 70%, transparent) 55%, color-mix(in srgb, var(--r-scrim) 55%, transparent) 100%); } }
.rpt-hero--photo .rpt-hero__grid { align-items: center; }
@media (min-width: 1000px) { .rpt-hero--photo .rpt-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(360px, 460px); } }
.rpt-hero--photo .rpt-h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 18px color-mix(in srgb, var(--r-scrim) 45%, transparent); }
.rpt-hero--photo .rpt-lede { color: #fff; max-width: 40ch; }
.rpt-hero--photo .rpt-facts { color: #fff; margin-top: 1.6rem; }
.rpt-hero--photo .rpt-facts li::before { background: #fff; }
.rpt-hero__action .rpt-form { box-shadow: 0 18px 50px color-mix(in srgb, var(--r-scrim) 45%, transparent); border-color: #fff; }
.rpt-hero__action .rpt-form__title { font-size: var(--r-fs-subtitle); }

/* Inspection drawing now opens section 2 */
.rpt-inspect__grid { display: grid; gap: clamp(20px, 4vw, 56px); align-items: center; margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 1000px) { .rpt-inspect__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.rpt-inspect__text .rpt-intro { margin-bottom: 1rem; }
/* Merged hero layout: copy + facts left, quick start right; phones: copy, quick start, facts */
.rpt-form { color: var(--r-ink); }
@media (min-width: 1000px) {
  .rpt-hero--photo .rpt-hero__grid { grid-template-areas: "copy action" "facts action"; row-gap: 0; }
  .rpt-hero--photo .rpt-hero__copy { grid-area: copy; align-self: end; }
  .rpt-hero--photo .rpt-hero__action { grid-area: action; }
  .rpt-hero--photo .rpt-hero__facts { grid-area: facts; align-self: start; }
}
@media (max-width: 999px) {
  .rpt-hero--photo { padding-block: 24px 36px; }
  .rpt-hero--photo .rpt-hero__grid { gap: 18px; }
  .rpt-hero--photo .rpt-h1 { font-size: var(--r-fs-display-phone); margin-bottom: .35em; }
  .rpt-hero--photo .rpt-lede { font-size: 1.06rem; margin-bottom: .2em; }
  .rpt-hero--photo .rpt-facts { margin-top: .2rem; }
  .rpt-hero__action .rpt-form { padding: 18px; }
  .rpt-hero__action .rpt-form__title { font-size: var(--r-fs-subtitle); margin-bottom: .7rem; }
  .rpt-hero__action .rpt-form form, .rpt-hero__action .rpt-form__step { gap: 12px; }
}

/* ---------- Finish-review fixes (v1.4) ---------- */
/* Fix 3: finding number inline in the title (no eyebrow label) */
.rpt-finding__title { display: flex; align-items: center; gap: 12px; }
.rpt-finding__title .rpt-tag__no { flex: none; }
.rpt-tag__no { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 6px; border: 2.5px solid var(--r-red); border-radius: 50%;
  color: var(--r-red); font: 800 1rem/1 var(--r-head); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* Fix 1: callout carries the whole finding + previous/next */
.rpt-callout .rpt-quote { margin: .8rem 0 .9rem; }
.rpt-callout__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--r-line); }
.rpt-callout__btn { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--r-blue); border-radius: 6px; background: #fff; color: var(--r-blue-ink); cursor: pointer;
  transition: background-color .15s ease-out, color .15s ease-out; }
.rpt-callout__btn svg { width: 22px; height: 22px; }
.rpt-callout__btn:hover { background: var(--r-blue); color: #fff; }
.rpt-callout__count { font: 700 1rem/1 var(--r-head); color: var(--r-ink-2); font-variant-numeric: tabular-nums; }

/* Fix 4: ruled report paper stays in the gutters; text sits on solid sheet */
.rpt-inspect__text, .rpt-book__copy { background: #fff; padding: clamp(18px, 2.4vw, 28px); border: 1.5px solid var(--r-line); }
.rpt-inspect__text .rpt-h2, .rpt-book__copy .rpt-h2 { margin-top: 0; }

/* Fix 5: 48px hit areas; pin keeps a 40px visible disc */
.rpt-pin { width: 48px; height: 48px; background: transparent; border: 0; box-shadow: none; isolation: isolate; }
.rpt-pin::before { content: ""; position: absolute; inset: 4px; z-index: -1; border-radius: 50%; background: var(--r-red); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(19, 38, 61, .3); }
.rpt-pin[aria-expanded="true"] { box-shadow: none; }
.rpt-pin[aria-expanded="true"]::before { box-shadow: 0 0 0 4px var(--r-red-soft), 0 0 0 6px var(--r-red); }
.rpt-choice span { min-height: 48px; }

/* Fix 6: authored arrow */
.rpt-arrow { width: 24px; height: 24px; display: block; }

/* Fix 7: article cards in the report's own anatomy */
.rpt-articles .art-carousel__all { display: none; }
.rpt-articles .art-card { border: 1.5px solid var(--r-ink); border-radius: 0; box-shadow: none; }
.rpt-articles .art-card__img img { border-radius: 0; }
.rpt-articles .art-card__title { font-family: var(--r-head); font-weight: 750; }
.rpt-articles .art-card__more { color: var(--r-blue-ink); }
.rpt-articles .art-carousel__btn { border-radius: 6px; }

/* Ceiling: green "done" mark reaches the proof (Clay's finished homes) */
.rpt-job { position: relative; }
.rpt-done { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; padding: 6px 12px 6px 8px; background: #fff; border: 2px solid var(--r-green);
  border-radius: 999px; font: 700 var(--r-fs-small)/1 var(--r-head); color: var(--r-green); }
.rpt-done .rpt-check { width: 20px; height: 20px; margin-right: 8px; vertical-align: 0; }
.rpt-done .rpt-check::after { left: 5px; top: 5px; width: 8px; height: 4px; }

/* Fix 8: phones show the villa: light overlay, darker only behind the headline */
@media (max-width: 999px) {
  .rpt-hero--photo::after { background: linear-gradient(180deg, color-mix(in srgb, var(--r-scrim) 78%, transparent) 0%, color-mix(in srgb, var(--r-scrim) 55%, transparent) 38%, color-mix(in srgb, var(--r-scrim) 15%, transparent) 62%, color-mix(in srgb, var(--r-scrim) 10%, transparent) 100%); }
  .rpt-hero__bg { object-position: 50% 62%; }
  .rpt-hero--photo .rpt-h1, .rpt-hero--photo .rpt-lede { text-shadow: 0 1px 12px color-mix(in srgb, var(--r-scrim) 75%, transparent); }
  .rpt-hero--photo .rpt-hero__grid { gap: 14px; }
  .rpt-hero--photo .rpt-hero__action { margin-top: clamp(40px, 16vw, 90px); }   /* the house shows in this band */
  .rpt-hero--photo .rpt-hero__facts { background: color-mix(in srgb, var(--r-scrim) 72%, transparent); padding: 10px 12px; border-radius: 6px; }
}
@media (max-width: 999px) {
  /* Lift the villa into the band between the headline and the quick-start card */
  .rpt-hero__bg { transform: scale(1.35); transform-origin: 50% 88%; }
}
@media (max-width: 999px) and (max-height: 820px) {
  /* Short phones (e.g. 360×780): keep Continue above the fixed call bar */
  .rpt-hero--photo { padding-top: 18px; }
  .rpt-hero--photo .rpt-lede { font-size: 1rem; line-height: 1.5; }
  .rpt-hero--photo .rpt-hero__action { margin-top: 22px; }
  .rpt-hero__action .rpt-form__title { margin-bottom: .5rem; }
}
@media (max-width: 999px) and (max-height: 700px) {
  /* Very short phones (iPhone SE class): headline + quick start only above the call bar */
  .rpt-hero--photo .rpt-lede { display: none; }
  .rpt-hero--photo .rpt-hero__action { margin-top: 14px; }
}
/* Review fix: intro panel introduces the drawing (top-aligned), stays in view beside the taller callout */
@media (min-width: 1000px) { .rpt-inspect__grid { align-items: start; } .rpt-inspect__text { position: sticky; top: calc(130px + var(--rpt-dock-h, 0px)); } }
.art-card__arrow { display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em; }
@media (max-width: 639px) { .rpt-card__media, .rpt-card--ask .rpt-card__ask { aspect-ratio: 16 / 10; } }

/* ---------- Roll-out (v1.4): shared units for every redesigned page ---------- */
.rpt-hero--page .rpt-h1 { max-width: 20ch; }
.rpt-h3 { font: 750 var(--r-fs-subtitle)/1.3 var(--r-head); color: var(--r-ink); margin: 1.8rem 0 .6rem; }
.rpt-narrow { max-width: 860px; }
.rpt-prose { color: var(--r-ink-2); }
.rpt-prose p, .rpt-prose ul, .rpt-prose ol { margin: 0 0 1rem; }
.rpt-prose ul, .rpt-prose ol { padding-left: 1.3rem; }
.rpt-prose li { margin-bottom: .35rem; }
.rpt-prose strong { color: var(--r-ink); }
.rpt-prose a { color: var(--r-blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.rpt-prose h2, .rpt-prose h3, .rpt-prose h4 { font: 750 var(--r-fs-subtitle)/1.3 var(--r-head); color: var(--r-ink); margin: 1.6rem 0 .5rem; }
.rpt-split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) {
  .rpt-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .rpt-split--flip .rpt-split__text { order: 2; }
  .rpt-split__media { position: sticky; top: calc(130px + var(--rpt-dock-h, 0px)); }
}
.rpt-split__media img { display: block; width: 100%; height: auto; border: 2px solid var(--r-ink); border-radius: 4px; }
.rpt-figure { margin: 1.4rem 0; }
.rpt-figure img { display: block; width: 100%; height: auto; border: 1.5px solid var(--r-line); border-radius: 4px; }
.rpt-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 1.2rem 0 0; }
.rpt-quotes--wall { margin-top: 1.5rem; }
@media (min-width: 700px) { .rpt-quotes--wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rpt-quotes--wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rpt-quote--card .rpt-prose p { color: var(--r-ink); }
.rpt-jobs--gallery a { display: block; }
.rpt-entries { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 2px solid var(--r-ink); }
.rpt-entries li { border-bottom: 1px solid var(--r-line); }
.rpt-entries a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 8px;
  color: var(--r-ink); font: 700 1.1rem/1.35 var(--r-head); text-decoration: none; }
.rpt-entries a .rpt-arrow { flex: none; color: var(--r-blue-ink); transition: transform .18s ease-out; }
.rpt-entries a:hover { background: var(--r-tint); }
.rpt-entries a:hover .rpt-arrow { transform: translateX(4px); }
.rpt-map { border: 2px solid var(--r-ink); border-radius: 4px; overflow: hidden; }
.rpt-map iframe { display: block; width: 100%; height: clamp(300px, 45vw, 460px); border: 0; }
.rpt-book__copy .rpt-prose p { color: var(--r-ink-2); }
.rpt-wall { margin-top: 1.5rem; columns: 1; column-gap: 18px; }
@media (min-width: 700px) { .rpt-wall { columns: 2; } }
@media (min-width: 1100px) { .rpt-wall { columns: 3; } }
.rpt-wall .rpt-quote--card { break-inside: avoid; margin: 0 0 18px; }
.rpt-more { margin-top: .5rem; }
.rpt-more > summary { display: inline-flex; align-items: center; min-height: 48px; padding: .6em 1.2em; border: 2px solid var(--r-blue); border-radius: 6px;
  color: var(--r-blue-ink); font: 700 1.0625rem/1.2 var(--r-head); cursor: pointer; list-style: none; }
.rpt-more > summary::-webkit-details-marker { display: none; }
.rpt-more > summary:hover { background: var(--r-blue); color: #fff; }
.rpt-more[open] > summary { margin-bottom: .5rem; }

/* Articles (standard templates) speak the report's palette and type */
body.rpt {
  --color-primary: var(--r-blue-ink);
  --color-primary-dark: var(--r-ink);
  --color-primary-light: var(--r-tint);
  --color-accent: var(--r-blue);
  --color-text: var(--r-ink);
  --color-text-muted: var(--r-ink-2);
  --color-border: var(--r-line);
  --color-bg-alt: var(--r-tint);
  --font-heading: var(--r-head);
  --font-body: var(--r-body);
}
.rpt-missing__panel { background: #fff; border: 1.5px solid var(--r-line); padding: clamp(24px, 4vw, 48px); }
.rpt-missing .rpt-links { gap: 14px; }

/* Hero proof line: years in business + five-star reviews (owner request, v1.4.2) */
body.rpt { --r-star: #f5b301;   /* review stars only: the universal rating signal */
  --r-fs-display-compact: 1.45rem;   /* hero H1 on very short phones */
  --r-fs-display-long: clamp(1.4rem, 6vw, 2rem); /* hero H1 over 60 characters, phones */ }
.rpt-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 1.1rem; }
.rpt-proof__item { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--r-scrim) 72%, transparent); border: 1.5px solid color-mix(in srgb, #fff 35%, transparent);
  color: #fff; font: 600 1.06rem/1.2 var(--r-head); text-decoration: none; }
.rpt-proof__item strong { font-weight: 800; font-size: 1.2em; }
.rpt-proof__reviews:hover { background: var(--r-scrim); border-color: #fff; }
.rpt-proof__reviews:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.rpt-stars { display: inline-flex; gap: 2px; color: var(--r-star); }
.rpt-stars svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 999px) {
  .rpt-proof { gap: 8px; margin-bottom: .7rem; }
  .rpt-proof__item { min-height: 40px; padding: 4px 12px; font-size: .95rem; }
  .rpt-stars svg { width: 15px; height: 15px; }
}
/* Phones: the proof line takes the room the long lede had */
.rpt-lede__short { display: none; }
@media (max-width: 999px) {
  .rpt-lede__full { display: none; }
  .rpt-lede__short { display: inline; }
  .rpt-hero--photo .rpt-hero__action { margin-top: 18px; }
  .rpt-proof { gap: 6px; margin-bottom: .55rem; }
  .rpt-proof__item { min-height: 40px; padding: 2px 12px; font-size: .92rem; gap: 7px; }
}
@media (max-width: 999px) and (max-height: 820px) {
  .rpt-hero--photo .rpt-h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
}
@media (max-width: 999px) and (max-height: 700px) {
  .rpt-proof { flex-wrap: nowrap; }
  .rpt-proof__item:first-child { display: none; }   /* iPhone SE class: the review badge stays */
  .rpt-hero--photo .rpt-hero__action { margin-top: 10px; }
}
@media (max-width: 999px) and (max-height: 700px) {
  .rpt-hero--photo { padding-top: 10px; }
  .rpt-hero--photo .rpt-h1 { font-size: var(--r-fs-display-compact); margin-bottom: .3em; }
}
@media (max-width: 999px) { .rpt-hero--photo .rpt-h1--long { font-size: var(--r-fs-display-long); } }
@media (max-width: 999px) and (max-height: 700px) {
  .rpt-hero--photo .rpt-hero__action { margin-top: 0; }
  .rpt-proof { margin-bottom: 0; }
  .rpt-hero--photo .rpt-h1--long { font-size: 1.25rem; }
}
@media (max-width: 999px) and (max-height: 820px) { .rpt-hero--photo .rpt-h1--long { font-size: 1.3rem; } }
@media (max-width: 999px) and (max-height: 700px) { .rpt-hero--photo .rpt-h1--long { font-size: 1.25rem; } }

/* Proof dock: the hero badges pinned under the sticky header once scrolled past (v1.4.3) */
body.rpt { --r-fs-dock: .82rem; --r-fs-dock-xs: .76rem; }   /* docked badge text on phones / under 380px */
.rpt-dock { position: fixed; left: 0; right: 0; z-index: 45; display: flex; justify-content: center; padding: 6px clamp(12px, 3vw, 24px);
  background: var(--r-ink); box-shadow: 0 2px 10px color-mix(in srgb, var(--r-scrim) 30%, transparent);
  opacity: 0; transform: translateY(-100%); visibility: hidden; pointer-events: none;
  transition: opacity .2s ease-out, transform .2s ease-out, visibility 0s linear .2s; }
.rpt-dock.is-docked { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .2s ease-out, transform .2s ease-out; }
.rpt-proof--dock { margin: 0; flex-wrap: nowrap; justify-content: center; gap: 10px; }
.rpt-proof--dock .rpt-proof__item { min-height: 36px; padding: 2px 14px; font-size: .95rem; background: transparent; }
.rpt-proof--dock .rpt-proof__item:first-child { display: inline-flex; }   /* both badges fit in the strip, even on short phones */
@media (max-width: 999px) {
  .rpt-dock { padding: 5px 8px; }
  .rpt-proof--dock { gap: 6px; }
  .rpt-proof--dock .rpt-proof__item { min-height: 32px; padding: 1px 10px; font-size: var(--r-fs-dock); gap: 6px; }
  .rpt-proof--dock .rpt-stars svg { width: 12px; height: 12px; }
}
@media (max-width: 379px) { .rpt-proof--dock .rpt-proof__item { font-size: var(--r-fs-dock-xs); padding: 1px 8px; } }
@media (prefers-reduced-motion: reduce) { .rpt-dock, .rpt-dock.is-docked { transition: none; transform: none; } }
.rpt-proof--dock .rpt-proof__item, .rpt-proof--dock .rpt-proof__item span { white-space: nowrap; }
@media (max-width: 479px) { .rpt-proof--dock .rpt-stars svg + svg { display: none; } }   /* phones: one star in the strip */

/* >>> Content Creation Manager — article formatting (managed: edit in the app's site Settings) >>> */
/* Clay's site header is sticky: 77px tall below 1280px wide, 107px from 1280px (site.css breakpoint). Since v1.4.3 a
   "proof dock" strip can dock under it; the site publishes its height as --rpt-dock-h (0 when not docked).
   Keep floating/anchored article content clear of both. */
.article-page { --ccm-sticky-top: calc(77px + var(--rpt-dock-h, 0px)); }
@media (min-width: 1280px) {
  .article-page { --ccm-sticky-top: calc(107px + var(--rpt-dock-h, 0px)); }
}

.article-page .prose h2,
.article-page .prose h3,
.article-page .faq {
  scroll-margin-top: calc(var(--ccm-sticky-top) + 1.25rem);
}

/* Sidebar (desktop): core pins the whole column with an inner scrollbar, hiding the lower cards and sliding under
   the header. Let the column scroll with the page; float only "In this article", below the header (+ dock). */
@media (min-width: 64em) {
  .article-page .article-grid { align-items: stretch; }
  .article-page .article-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .article-page .article-sidebar__toc {
    order: 10;
    position: sticky;
    top: calc(var(--ccm-sticky-top) + 1.5rem);
    max-height: calc(100vh - var(--ccm-sticky-top) - 3rem);
    overflow-y: auto;
  }
}
/* <<< Content Creation Manager <<< */
