/* Caliche Ridge Builders (fictional, commercial general contractor, Phoenix metro). Its own brand on the shared demo
   system: warm graphite with a pale caliche sand, Archivo set wide (roofing is condensed, electric is normal width),
   square 4px corners. Sections: footage hero, featured project and project list, self-perform crews,
   prequalification facts, who we build for, invitation to bid, subcontractor bid list, FAQ.
   Base layout (nav, form, footer, FAQ): demo-pro.css. */
@font-face { font-family: "Archivo"; src: url("/demos/fonts/archivo-latin-var.woff2") format("woff2"); font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; }
:root {
    --ink: #1c1f21; --graphite: #1f2326; --graphite-2: #2a2f33; --sand: #dcc9a3; --sand-dark: #c9b285;
    --accent: #6e5428; --accent-dark: #57411d; --dark: #1f2326; --dark-2: #2a2f33;
    --bg: #ffffff; --alt: #f4f1ea; --line: #e1dbcf; --muted: #52585c; --accent-soft: #efe7d6;
    --eyebrow-light: #dcc9a3; --footer-bg: #171a1c; --request-bg: #1f2326; --form-head: #1f2326; --submit-bg: #1f2326;
    --display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --head-weight: 800; --head-track: -.01em; --r: 4px; --r-lg: 4px; --btn-r: 4px;
    --f-accent: #6e5428; --f-accent-dark: #57411d; --f-ink: #1f2326; --f-line: #d8d1c3; --f-soft: rgba(110,84,40,.16); --f-radius: 4px; --f-btn-radius: 4px;
}
h1, h2, h3, .pro-faq-list summary, .pro-logo-text strong, .pro-footer-logo { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; }
.pro-logo-text strong { font-size: 1.22rem; color: var(--graphite); letter-spacing: .02em; text-transform: uppercase; }
.pro-logo-text em { color: var(--accent); letter-spacing: .3em; }
.pro-nav { --gutter: 2rem; padding-left: max(var(--gutter), calc(50% - 600px + var(--gutter))); padding-right: max(var(--gutter), calc(50% - 600px + var(--gutter))); }
.demo-nav-actions a { font-weight: 700; }
.demo-nav-actions .quote-link { background: var(--graphite); border-radius: var(--btn-r); color: #fff; }
.demo-nav-actions .quote-link:hover { background: var(--accent-dark); color: #fff; }
.demo-nav .nav-call { background: var(--graphite); }
.demo-btn { font-family: var(--display); font-weight: 800; font-stretch: 108%; border-radius: var(--btn-r); background: var(--graphite); }
.demo-btn:hover { background: var(--accent-dark); }
.cr-kicker { font-family: var(--display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; color: var(--eyebrow-light); margin-bottom: clamp(.4rem, 1.4vh, .9rem); }
.cr-kicker.dark { color: var(--accent); }

/* Hero: job-site footage, headline on the left over a graphite fade */
.cr-hero { position: relative; min-height: var(--hero-h); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--graphite); }
.cr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,24,.9) 0%, rgba(20,22,24,.66) 44%, rgba(20,22,24,.1) 100%), linear-gradient(0deg, rgba(20,22,24,.6) 0%, transparent 50%); }
.cr-hero-inner { position: relative; z-index: 1; width: 100%; padding-top: var(--hero-pad); padding-bottom: var(--hero-pad); }
.cr-hero h1 { font-size: clamp(2.3rem, min(4.3vw, 7vh), 4.1rem); line-height: 1.02; max-width: 13em; margin-bottom: clamp(.8rem, 2.4vh, 1.5rem); }
.cr-hero h1 span { display: block; color: var(--sand); }
.cr-lede { font-size: clamp(1rem, 2.1vh, 1.15rem); line-height: 1.55; color: rgba(255,255,255,.88); max-width: 580px; margin-bottom: clamp(1rem, 3vh, 2rem); }
.cr-hero .pro-badge { color: rgba(255,255,255,.85); }
.cr-hero .demo-btn:not(.ghost) { background: var(--sand); color: var(--graphite); }
.cr-hero .demo-btn:not(.ghost):hover { background: #fff; }

/* Section heads */
.cr-head { display: grid; gap: .9rem; margin-bottom: 2.6rem; max-width: 720px; }
.cr-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.02; color: var(--graphite); }
.cr-head p:not(.cr-kicker) { color: var(--muted); font-size: 1.08rem; line-height: 1.6; }

/* Projects: one featured project with a photo, then a project list in thin-rule rows */
.cr-projects { padding: 6rem 0; }
.cr-featured { display: grid; gap: 2rem; align-items: center; margin-bottom: 4rem; }
.cr-featured figure { margin: 0; }
.cr-featured img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); background: var(--alt); }
.cr-featured figcaption { font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.cr-featured h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.05; color: var(--graphite); margin-bottom: .9rem; }
.cr-featured-copy > p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.4rem; }
.cr-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; border-top: 2px solid var(--graphite); }
.cr-facts div { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.cr-facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .2rem; }
.cr-facts dd { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--graphite); }
.cr-list-title { font-size: 1.15rem; color: var(--graphite); margin-bottom: 1rem; }
.cr-project-list { list-style: none; border-top: 2px solid var(--graphite); }
.cr-project-list li { display: grid; gap: .2rem; align-content: start; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.cr-type { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.cr-project-list h4 { font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: 1.1rem; color: var(--graphite); }
.cr-project-list p { color: var(--muted); line-height: 1.5; }
.cr-project-list .cr-num { font-family: var(--display); font-weight: 700; color: var(--graphite); }

/* Self-perform crews */
.cr-crews { padding: 6rem 0; background: var(--alt); }
.cr-crew-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cr-crew-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; row-gap: .3rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.cr-crew-list svg { grid-row: span 2; width: 36px; height: 36px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cr-crew-list h3 { font-size: 1.2rem; color: var(--graphite); }
.cr-crew-list p { color: var(--muted); line-height: 1.6; }
.cr-note { color: var(--muted); margin-top: 1.6rem; max-width: 720px; }

/* Prequalification: dark band of facts */
.cr-prequal { padding: 6rem 0; background: var(--graphite); color: #fff; }
.cr-prequal .cr-head h2 { color: #fff; }
.cr-prequal .cr-head p:not(.cr-kicker) { color: rgba(255,255,255,.78); }
.cr-prequal-grid { list-style: none; display: grid; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.cr-prequal-grid li { background: var(--graphite); padding: 1.6rem 1.5rem; display: grid; gap: .35rem; align-content: start; }
.cr-prequal-grid span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.cr-prequal-grid strong { font-family: var(--display); font-stretch: 108%; font-size: 1.3rem; line-height: 1.2; }
.cr-prequal-grid p { color: rgba(255,255,255,.72); line-height: 1.5; }
.cr-prequal-foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin-top: 2rem; }
.cr-prequal-foot p { color: rgba(255,255,255,.66); font-size: .9rem; }
.cr-prequal .demo-btn { background: var(--sand); color: var(--graphite); }
.cr-prequal .demo-btn:hover { background: #fff; }

/* Who we build for */
.cr-clients { padding: 6rem 0; }
.cr-client-list { list-style: none; display: grid; gap: 0; border-top: 2px solid var(--graphite); }
.cr-client-list li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .45rem; align-content: start; }
.cr-client-list h3 { font-size: 1.25rem; color: var(--graphite); }
.cr-client-list p { color: var(--muted); line-height: 1.6; }
.cr-methods { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2rem; list-style: none; }
.cr-methods li { font-family: var(--display); font-weight: 700; font-stretch: 108%; color: var(--graphite); }
.cr-methods li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--accent); margin-right: .55rem; vertical-align: .12em; }
.cr-methods-label { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-top: 2.4rem; }

/* Request band and subcontractor sign-up */
.pro-request h2 { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.02; }
.pro-phone { font-family: var(--display); }
.pro-phone span { color: var(--sand); }
.cr-subs { padding: 5rem 0; background: var(--alt); }
.cr-subs-grid { display: grid; gap: 2rem; align-items: start; }
.cr-subs h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.04; color: var(--graphite); margin-bottom: .9rem; }
.cr-subs-copy p:not(.cr-kicker) { color: var(--muted); line-height: 1.6; max-width: 480px; }
.cr-subs .demo-form { box-shadow: none; border: 1px solid var(--line); }

/* FAQ and footer in the brand voice */
.pro-faq-list summary { font-size: 1.15rem; line-height: 1.25; }
.pro-faq-list details:first-child { border-top-color: var(--graphite); }
.pro-footer-logo { text-transform: uppercase; letter-spacing: .02em; font-size: 1.25rem; }
.pro-footer-logo span { color: var(--sand); }
.pro-footer-note { border-top: 0; padding-top: 0; }
.pro-footer-note p { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; }
.sticky-mobile { background: var(--graphite); }
.sticky-mobile a:first-child { background: var(--graphite-2); }
.sticky-mobile a:last-child { background: var(--sand); color: var(--graphite); }

@media (min-width: 700px) {
    .cr-crew-list { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; border-top: 0; }
    .cr-crew-list li { border-top: 1px solid var(--line); border-bottom: 0; }
    .cr-prequal-grid { grid-template-columns: repeat(2, 1fr); }
    .cr-project-list li { grid-template-columns: 1.1fr 2fr 1.1fr; column-gap: 2rem; align-items: baseline; }
    .cr-project-list li .cr-type { grid-column: 1; grid-row: 1 / span 2; }
    .cr-project-list li h4 { grid-column: 2; }
    .cr-project-list li .cr-scope { grid-column: 2; }
    .cr-project-list li .cr-num { grid-column: 3; grid-row: 1 / span 2; text-align: right; }
}
@media (min-width: 900px) {
    .cr-featured { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
    .cr-prequal-grid { grid-template-columns: repeat(3, 1fr); }
    .cr-client-list { grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; border-top: 0; }
    .cr-client-list li { border-top: 2px solid var(--graphite); border-bottom: 0; }
    .cr-subs-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
}
@media (max-width: 600px) {
    .pro-nav { --gutter: 1.25rem; }
    .cr-hero::after { background: linear-gradient(180deg, rgba(20,22,24,.45), rgba(20,22,24,.93) 70%); }
    .cr-hero h1 { font-size: clamp(2.1rem, min(10.2vw, 7vh), 2.9rem); }
    .cr-lede { font-size: 1rem; line-height: 1.5; }
    .cr-projects, .cr-crews, .cr-prequal, .cr-clients { padding: 4.5rem 0; }
    .cr-subs { padding: 4rem 0; }
    .cr-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) and (max-height: 600px) { .cr-lede { display: none; } }
.cr-link { font-weight: 800; color: var(--accent-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cr-link:hover { color: var(--graphite); }
