:root {
  --ink: #101a24;
  --forest: #0a1720;
  --forest-2: #173446;
  --paper: #f2f0ea;
  --white: #fff;
  --line: #d8d1c8;
  --line-dark: rgba(255,255,255,.14);
  --muted: #5e6468;
  --lime: #df7a3b;
  --lime-dark: #a94c20;
  --lime-soft: #fbe9dc;
  --warm: #1f7f8b;
  --shadow: 0 22px 65px rgba(4,9,12,.14);
  --radius: 24px;
  --font-display: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body[data-page="owner"], body[data-page="customer"] { background: #eef2f7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, strong { font-family: var(--font-display); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; transform: translateY(-150%); padding: 12px 16px; background: var(--lime); border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(1380px, calc(100% - 64px)); margin-inline: auto; }
.eyebrow { margin-bottom: 16px; color: var(--lime-dark); font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: var(--lime); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 11px; font-family: var(--font-display); font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: #101a2c; }
.button-accent { background: var(--lime); color: var(--ink); }
.button-accent:hover { background: #e8b696; }
.button-dark { background: var(--ink); color: white; }
.button-light { border-color: var(--line); background: white; }
.button-large { min-height: 58px; padding-inline: 28px; font-size: 16px; }
.button-block { width: 100%; }
.plain-link { display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--ink); font-family: var(--font-display); font-weight: 800; cursor: pointer; }
.plain-link span { transition: transform .2s ease; }
.plain-link:hover span { transform: translateX(4px); }
.plain-link-light { color: white; }
.text-button { padding: 0; border: 0; background: none; color: var(--lime-dark); font-weight: 700; cursor: pointer; }
.concept-notice { display: flex; min-height: 34px; align-items: center; justify-content: center; gap: 10px; padding: 7px 20px; background: #07131c; color: rgba(255,255,255,.7); font-size: 10px; text-align: center; }
.concept-notice strong { color: #fff; font-size: inherit; letter-spacing: .1em; text-transform: uppercase; }

/* Public header */
.site-header { position: sticky; z-index: 100; top: 0; display: grid; grid-template-columns: 330px 1fr auto; min-height: 86px; align-items: center; gap: 28px; padding: 0 32px; border-bottom: 1px solid rgba(21,26,21,.08); background: rgba(250,249,244,.94); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 84px; height: 54px; object-fit: contain; flex: 0 0 auto; }
.brand-mark { display: grid; width: 56px; height: 50px; flex: 0 0 auto; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark-light { padding: 3px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.94); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 19px; letter-spacing: -.035em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.brand-footer .brand-copy small, .compact-assistant-nav .brand-copy small { color: rgba(255,255,255,.62); }
.site-nav { display: flex; justify-content: center; gap: 32px; }
.site-nav a, .text-action { position: relative; font-size: 14px; font-weight: 700; }
.site-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--lime-dark); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 780px; overflow: hidden; background: var(--forest); color: white; }
.hero-photo { position: absolute; inset: 0; background: url("./assets/valleycraft-hero.webp") center 45% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,9,12,.94) 0%, rgba(7,18,35,.76) 42%, rgba(11,25,48,.30) 69%, rgba(4,9,12,.08) 100%), linear-gradient(0deg, rgba(4,9,12,.42), transparent 45%); }
.hero-copy { position: relative; z-index: 2; width: min(750px, 54vw); padding: 112px 0 120px max(36px, calc((100vw - 1380px) / 2)); }
.hero-identity { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; color: rgba(255,255,255,.82); font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-identity span { color: var(--lime); }
.hero-services { display: inline-flex; margin-bottom: 24px; padding: 8px 12px; border-left: 3px solid var(--lime); border-radius: 0 8px 8px 0; background: rgba(4,9,12,.48); color: white; font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: .025em; }
.hero-copy h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(48px, 5.35vw, 84px); line-height: .97; letter-spacing: -.055em; }
.hero-copy h1 em { color: var(--lime); font-style: normal; }
.hero-copy h1.hero-approved { max-width: 820px; font-size: clamp(34px, 4vw, 62px); text-transform: uppercase; letter-spacing: -.045em; }
.hero-approved span, .hero-approved em { display: block; white-space: nowrap; }
.hero-lede { max-width: 640px; margin-bottom: 34px; color: rgba(255,255,255,.82); font-size: clamp(18px, 1.45vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 62px; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hero-proof i { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }

/* Planner */
.assistant-shell { position: absolute; z-index: 3; right: max(34px, calc((100vw - 1380px) / 2)); bottom: 52px; display: flex; width: min(450px, 38vw); min-height: 570px; max-height: 650px; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 24px; background: rgba(250,250,246,.97); box-shadow: 0 30px 80px rgba(0,0,0,.32); color: var(--ink); backdrop-filter: blur(20px); }
.assistant-topbar { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.assistant-topbar > div { display: flex; align-items: center; gap: 12px; }
.assistant-topbar strong { display: block; font-size: 16px; }
.assistant-topbar small { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: var(--muted); font-size: 12px; }
.assistant-spark { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #dbe2e8; border-radius: 12px; background: white; font-size: 19px; }
.assistant-spark.small { width: 34px; height: 34px; font-size: 15px; }
.assistant-spark img { width: 84%; height: 84%; object-fit: contain; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #256d85; box-shadow: 0 0 0 4px rgba(37,109,133,.15); }
.reset-button { padding: 7px 0; border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.assistant-progress { height: 3px; background: #e8edf3; }
.assistant-progress span { display: block; width: 10%; height: 100%; background: var(--lime-dark); transition: width .35s ease; }
.assistant-body { display: flex; min-height: 0; flex: 1; flex-direction: column; overflow-y: auto; padding: 18px 20px 14px; }
.assistant-messages { display: flex; min-height: 0; flex: 0 0 auto; flex-direction: column; gap: 12px; padding-right: 4px; }
.message { width: fit-content; max-width: 88%; padding: 12px 15px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.message strong { display: block; margin-bottom: 5px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.message-assistant { align-self: flex-start; border-bottom-left-radius: 5px; background: #edf2f7; }
.message-user { align-self: flex-end; border-bottom-right-radius: 5px; background: var(--forest); color: white; }
.assistant-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.assistant-actions button, .chat-prompts button { min-height: 44px; padding: 9px 10px; border: 1px solid #ccd6e0; border-radius: 10px; background: white; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.assistant-actions button:hover, .chat-prompts button:hover { border-color: var(--lime-dark); background: var(--lime-soft); }
.assistant-input { margin-top: 14px; }
.assistant-footer { padding: 12px 20px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.4; }
.assistant-footer strong { color: var(--ink); font-size: inherit; }
.estimate-composer { display: grid; gap: 11px; margin-top: 13px; }
.estimate-prompt { display: grid; gap: 6px; }
.estimate-prompt > span, .zip-field > span { color: #3f4d5d; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.estimate-prompt textarea { width: 100%; min-height: 72px; resize: vertical; padding: 11px 12px; border: 1px solid #ccd6e0; border-radius: 11px; background: white; color: var(--ink); font-size: 12px; line-height: 1.4; outline: 0; }
.estimate-prompt textarea:focus, .zip-field input:focus { border-color: var(--lime-dark); box-shadow: 0 0 0 3px rgba(143,66,36,.14); }
.estimate-utility-row { display: grid; grid-template-columns: 1fr 124px; gap: 8px; }
.photo-trigger { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; border: 1px dashed #aebed0; border-radius: 10px; background: #f3f6fa; cursor: pointer; }
.photo-trigger input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.photo-trigger > span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--lime); font-size: 16px; font-weight: 800; }
.photo-trigger b { font-size: 11px; }
.zip-field { display: grid; gap: 3px; }
.zip-field input { width: 100%; height: 29px; padding: 0 9px; border: 1px solid #ccd6e0; border-radius: 8px; background: white; outline: 0; font-size: 12px; }
.photo-strip { display: flex; min-height: 38px; align-items: center; gap: 5px; }
.photo-strip img { width: 45px; height: 36px; border-radius: 7px; object-fit: cover; }
.photo-strip > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 7px; background: var(--forest); color: white; font-size: 10px; font-weight: 800; }
.estimate-toggle-rows { display: grid; gap: 7px; }
.estimate-toggle-row { display: grid; grid-template-columns: 57px minmax(0,1fr); align-items: start; gap: 7px; }
.estimate-toggle-row > span { padding-top: 6px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.estimate-toggle-row > div { display: flex; flex-wrap: wrap; gap: 5px; }
.estimate-toggle-row button { min-height: 28px; padding: 4px 8px; border: 1px solid #ccd6e0; border-radius: 99px; background: white; color: #3f4d5d; font-size: 9px; font-weight: 800; cursor: pointer; }
.estimate-toggle-row button:hover { border-color: var(--lime-dark); }
.estimate-toggle-row button.is-selected { border-color: var(--lime-dark); background: var(--lime-soft); color: #7a341d; box-shadow: inset 0 0 0 1px rgba(143,66,36,.18); }
.estimate-submit { display: flex; min-height: 45px; align-items: center; justify-content: space-between; padding: 0 15px; border: 0; border-radius: 10px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 900; cursor: pointer; }
.estimate-submit:hover { background: #e8b696; }
.assistant-shell.has-result .assistant-messages, .assistant-shell.has-result .estimate-composer { display: none; }
.assistant-shell.has-result .assistant-input { margin-top: 0; }
.input-row { display: flex; gap: 8px; }
.input-row input { min-width: 0; flex: 1; height: 47px; padding: 0 13px; border: 1px solid #ccd6e0; border-radius: 10px; background: white; }
.input-row button, .upload-continue { height: 47px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--lime); font-weight: 800; cursor: pointer; }
.upload-box { display: grid; gap: 10px; }
.upload-box label { display: grid; padding: 16px; border: 1.5px dashed #b8c7d8; border-radius: 12px; background: #f4f6f9; cursor: pointer; }
.upload-box label strong { font-size: 14px; }
.upload-box label span { margin: 4px 0 10px; color: var(--muted); font-size: 11px; }
.upload-box input { max-width: 100%; font-size: 11px; }
.upload-preview { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.upload-preview img { width: 54px; height: 42px; border-radius: 7px; object-fit: cover; }
.estimate-result { display: grid; gap: 6px; padding: 16px; border-radius: 14px; background: var(--forest); color: white; }
.estimate-result small { color: var(--lime); font-weight: 700; }
.estimate-result > strong { font-size: 30px; letter-spacing: -.04em; }
.estimate-result p { margin: 0; color: rgba(255,255,255,.7); font-size: 11px; }
.estimate-option-list { display: grid; gap: 6px; margin: 7px 0; }
.estimate-option-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; color: rgba(255,255,255,.72); font-size: 11px; }
.estimate-option-list > div strong { color: white; font-size: 14px; }
.estimate-option-list > div.recommended { border-color: var(--lime); background: rgba(196,107,60,.14); color: white; }
.estimate-option-list > div.recommended strong { color: var(--lime); }
.estimate-pricing-check { display: grid; gap: 2px; padding: 10px; border-radius: 9px; background: rgba(255,255,255,.08); }
.estimate-pricing-check > strong { color: white; font-size: 11px; }
.estimate-pricing-check > small { color: rgba(255,255,255,.55); font-size: 9px; }
.estimate-pricing-check > div { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; }
.estimate-pricing-check > div span { color: var(--lime); font-size: 9px; }
.result-links { display: flex; gap: 8px; margin-top: 8px; }
.result-links a, .result-links button { flex: 1; padding: 10px; border: 0; border-radius: 8px; background: var(--lime); color: var(--ink); text-align: center; font-size: 11px; font-weight: 800; cursor: pointer; }
.result-links button { background: rgba(255,255,255,.12); color: white; }
.request-expectation { padding-top: 5px; border-top: 1px solid rgba(255,255,255,.12); }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: white; border-bottom: 1px solid var(--line); }
.trust-strip > div { display: flex; min-height: 120px; align-items: center; gap: 18px; padding: 24px clamp(24px, 4vw, 64px); border-right: 1px solid var(--line); }
.trust-strip > div:last-child { border-right: 0; }
.trust-strip b { color: var(--lime-dark); font-size: 12px; }
.trust-strip span { color: var(--muted); font-size: 13px; }
.trust-strip strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 16px; }

/* Public sections */
.section-heading { margin-bottom: 46px; }
.section-heading h2, .process-intro h2, .prepared-copy h2, .hub-copy h2, .area-copy h2, .final-cta h2 { margin-bottom: 0; font-size: clamp(38px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -.05em; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); align-items: end; gap: 70px; }
.split-heading > p { max-width: 500px; margin-bottom: 6px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.services { padding-block: 92px; }
.service-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service-feature { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius); background: #222; }
.service-feature .service-image { position: absolute; inset: 0; transition: transform .7s ease; }
.service-feature:hover .service-image { transform: scale(1.03); }
.service-kitchen .service-image, .service-cooling .service-image { background: url("./assets/valleycraft-diagnostic.webp") center / cover no-repeat; }
.service-bathroom .service-image, .service-heating .service-image { background: url("./assets/valleycraft-furnace.webp") center 42% / cover no-repeat; }
.service-feature::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,10,6,.88), rgba(6,10,6,.05) 72%); content: ""; }
.service-overlay { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 44px; color: white; }
.service-overlay > span, .service-compact > span { color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.service-overlay h3 { max-width: 590px; margin: 12px 0 12px; font-size: clamp(31px, 2.8vw, 45px); line-height: 1.05; letter-spacing: -.04em; }
.service-overlay p { max-width: 570px; margin-bottom: 22px; color: rgba(255,255,255,.72); }
.service-start { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: white; font-weight: 800; cursor: pointer; }
.service-start span { color: var(--lime); font-size: 20px; }
.service-compact { grid-column: 1 / -1; display: grid; grid-template-columns: 170px minmax(230px,.85fr) 1.2fr auto; align-items: center; gap: 28px; padding: 30px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.service-compact h3 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.035em; }
.service-compact ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }

.work { padding: 10px 0 100px; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; gap: 18px; }
.work-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.work-card-offset { margin-top: 0; }
.work-card img { width: 100%; aspect-ratio: .71; object-fit: cover; object-position: center; background: #eee; }
.work-card figcaption { display: grid; gap: 7px; padding: 24px 26px 27px; }
.work-card figcaption span { color: var(--lime-dark); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.work-card figcaption strong { font-size: 18px; line-height: 1.3; }

.process { position: relative; overflow: hidden; padding-block: 82px; background: radial-gradient(circle at 12% 12%, rgba(37,109,133,.22), transparent 31%), radial-gradient(circle at 86% 84%, rgba(196,107,60,.20), transparent 34%), linear-gradient(135deg, #0a1720 0%, #173446 48%, #2c1b14 100%); color: white; }
.process::before { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.035) 48%, transparent 58%); content: ""; }
.process .section-shell { position: relative; z-index: 1; }
.process-intro { max-width: 760px; margin-bottom: 44px; }
.process-intro h2 { max-width: 720px; }
.process-intro > p:last-child { margin: 18px 0 0; color: rgba(255,255,255,.64); font-size: 18px; }
.process-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.process-rail li { position: relative; min-width: 0; min-height: 205px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); transition: border-color .3s ease, transform .3s ease, background .3s ease, box-shadow .3s ease; }
.process-rail li::before { position: absolute; z-index: 1; top: 0; right: 18px; left: 18px; height: 3px; border-radius: 0 0 99px 99px; background: linear-gradient(90deg, var(--lime), #efc4a8); content: ""; opacity: .22; transform: scaleX(.28); transform-origin: left; transition: opacity .3s ease, transform .3s ease; }
.process-rail li:hover, .process-rail li:focus-within, .process-rail li.is-active { border-color: rgba(196,107,60,.62); background: linear-gradient(145deg, rgba(37,109,133,.16), rgba(196,107,60,.10)); box-shadow: 0 18px 48px rgba(4,9,12,.28), inset 0 1px 0 rgba(255,255,255,.12); transform: translateY(-5px); }
.process-rail li:hover::before, .process-rail li:focus-within::before, .process-rail li.is-active::before { opacity: 1; transform: scaleX(1); }
.process-step { display: block; width: 100%; min-height: 203px; padding: 28px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.process-step:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 18px; }
.process-step > span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(196,107,60,.4); border-radius: 50%; color: var(--lime); font-size: 11px; font-weight: 900; transition: background .3s ease, color .3s ease; }
.process-rail li:hover .process-step > span, .process-rail li:focus-within .process-step > span, .process-rail li.is-active .process-step > span { background: var(--lime); color: var(--ink); }
.process-rail li div { margin-top: 30px; }
.process-rail strong { display: block; margin-bottom: 10px; font-size: 20px; }
.process-rail p { max-width: 360px; margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.55; }

.prepared { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; padding-block: 100px; }
.prepared-copy > p:not(.eyebrow) { max-width: 650px; margin: 26px 0 34px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.prepared-points { display: grid; gap: 0; margin-bottom: 34px; border-top: 1px solid var(--line); }
.prepared-points div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.prepared-points b { font-size: 15px; }
.prepared-points span { color: var(--muted); }
.prepared-visual { position: relative; padding: 46px; border-radius: 36px; background: url("./assets/valleycraft-consult.webp") center / cover no-repeat; }
.prepared-visual::before { position: absolute; inset: 0; border-radius: inherit; background: rgba(4,9,12,.62); content: ""; }
.maintenance-block { grid-template-columns: 1.05fr .95fr; }
.maintenance-photo { min-height: 640px; background-image: url("./assets/valleycraft-comfort.webp"); }
.maintenance-photo::before { background: linear-gradient(0deg, rgba(4,9,12,.34), transparent 56%); }
.brief-window { position: relative; z-index: 1; width: min(480px, 100%); margin-left: auto; overflow: hidden; border-radius: 20px; background: white; box-shadow: 0 28px 70px rgba(0,0,0,.3); }
.brief-top { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.brief-top b { padding: 5px 8px; border-radius: 99px; background: var(--lime-soft); color: #7a341d; font-size: 9px; text-transform: uppercase; }
.brief-room { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 20px; }
.brief-room-image { border-radius: 12px; background: url("./assets/valleycraft-diagnostic.webp") center / cover; }
.brief-room div:last-child { display: grid; align-content: center; }
.brief-room small, .brief-room span { color: var(--muted); font-size: 11px; }
.brief-room strong { font-size: 18px; }
.brief-window dl { margin: 0; padding: 0 20px; }
.brief-window dl div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.brief-window dt { color: var(--muted); font-size: 12px; }
.brief-window dd { margin: 0; font-size: 12px; font-weight: 700; }
.scope-range { display: grid; gap: 2px; margin: 16px 20px 20px; padding: 18px; border-radius: 14px; background: var(--forest); color: white; }
.scope-range span, .scope-range small { color: rgba(255,255,255,.58); font-size: 10px; }
.scope-range strong { color: var(--lime); font-size: 28px; letter-spacing: -.04em; }

.project-hub { padding-block: 100px; background: var(--forest); color: white; overflow: hidden; }
.project-hub-grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 90px; }
.portal-preview { overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; background: #f4f6f9; box-shadow: 0 30px 80px rgba(0,0,0,.3); color: var(--ink); transform: rotate(-1deg); }
.portal-top { display: flex; min-height: 64px; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--line); background: white; }
.portal-top > div { display: flex; align-items: center; gap: 10px; }
.portal-top img { width: 46px; height: 46px; object-fit: contain; }
.portal-status { padding: 6px 10px; border-radius: 99px; background: var(--lime-soft); color: #7a341d; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.portal-main { display: grid; grid-template-columns: 148px 1fr; min-height: 430px; }
.portal-main > aside { display: flex; flex-direction: column; gap: 22px; padding: 28px 22px; border-right: 1px solid var(--line); background: #eef2f7; color: var(--muted); font-size: 11px; }
.portal-main > aside b { color: var(--ink); }
.portal-content { padding: 34px; }
.portal-welcome small { color: #8f4224; font-weight: 800; text-transform: uppercase; }
.portal-welcome strong { display: block; margin: 8px 0; font-size: 26px; }
.portal-welcome p { max-width: 520px; color: var(--muted); font-size: 13px; }
.portal-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.portal-cards div { display: grid; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.portal-cards small, .portal-cards span { color: var(--muted); font-size: 10px; }
.portal-cards strong { margin-block: 4px; font-size: 21px; }
.portal-update { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--lime-soft); }
.portal-update > span { width: 8px; height: 8px; border-radius: 50%; background: #1f74d8; }
.portal-update b, .portal-update small { display: block; font-size: 11px; }
.portal-update small { color: var(--muted); }
.hub-copy > p:not(.eyebrow) { margin: 25px 0; color: rgba(255,255,255,.65); font-size: 18px; line-height: 1.7; }
.hub-copy ul { display: grid; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; color: rgba(255,255,255,.75); }
.hub-copy li { position: relative; padding-left: 22px; }
.hub-copy li::before { position: absolute; top: 9px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); content: ""; }

.terms-note { padding: 14px 16px; border-left: 3px solid var(--warm); background: rgba(31,127,139,.08); font-size: 14px !important; line-height: 1.55 !important; }
.terms-section { padding-block: 100px 24px; }
.terms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 42px; }
.terms-grid article { position: relative; min-height: 260px; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.7); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.terms-grid article::after { position: absolute; right: -48px; bottom: -60px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(31,127,139,.14), transparent 70%); content: ""; }
.terms-grid article:hover { border-color: rgba(31,127,139,.55); box-shadow: 0 18px 46px rgba(4,9,12,.1); transform: translateY(-4px); }
.terms-grid article > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--forest); color: var(--lime); font-size: 10px; font-weight: 900; }
.terms-grid h3 { margin: 34px 0 12px; font-size: 22px; line-height: 1.1; letter-spacing: -.03em; }
.terms-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.service-area { display: grid; grid-template-columns: 1.1fr .7fr; gap: 60px; padding-block: 100px; }
.area-copy > p:not(.eyebrow) { max-width: 690px; margin: 26px 0; color: var(--muted); font-size: 18px; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; }
.area-list span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 99px; background: white; font-size: 13px; font-weight: 700; }
.area-card { display: flex; flex-direction: column; align-items: flex-start; padding: 48px; border-radius: 28px; background: var(--forest); color: white; }
.area-card > span { color: var(--lime); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.area-card h3 { margin: 28px 0 14px; font-size: 38px; line-height: 1.06; letter-spacing: -.04em; }
.area-card p { color: rgba(255,255,255,.65); }
.area-card .button { margin: 20px 0 18px; }
.faq { padding-bottom: 100px; }
.faq-list { border-top: 1px solid #cfd9e3; }
.faq-list details { border-bottom: 1px solid #cfd9e3; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: white; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 850px; padding: 0 0 28px; color: var(--muted); font-size: 16px; }
.final-cta { padding-block: 95px; background: var(--ink); color: white; }
.final-cta .section-shell { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.final-cta .section-shell > div:last-child { display: grid; gap: 14px; text-align: center; }
.final-cta .section-shell > div:last-child > a:last-child { color: rgba(255,255,255,.7); font-weight: 700; }

.site-footer { display: grid; grid-template-columns: 1.2fr .5fr .5fr; gap: 70px; padding: 70px max(32px, calc((100vw - 1380px) / 2)) 25px; background: #04090c; color: white; }
.brand-footer .brand-logo { width: 92px; height: 58px; }
.footer-brand-wrap p { max-width: 390px; color: rgba(255,255,255,.55); }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; color: rgba(255,255,255,.62); font-size: 14px; }
.footer-links strong, .footer-contact strong { margin-bottom: 8px; color: white; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.footer-contact a { color: var(--lime); font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.4); font-size: 11px; }
.mobile-cta { display: none; }
.site-toast { position: fixed; z-index: 300; right: 20px; bottom: 20px; max-width: 360px; padding: 14px 18px; border-radius: 12px; background: var(--ink); color: white; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .2s ease, transform .2s ease; }
.site-toast.is-visible { opacity: 1; transform: translateY(0); }

/* Shared application shell */
.app-header { position: sticky; z-index: 80; top: 0; display: grid; grid-template-columns: 360px 1fr auto; min-height: 82px; align-items: center; gap: 22px; padding: 0 26px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(18px); }
.app-header .brand-logo { width: 76px; height: 48px; }
.app-header-project { display: flex; gap: 10px; color: var(--muted); font-size: 13px; }
.app-header-project b { color: var(--ink); }
.app-header-actions { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; }
.icon-button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: #1f74d8; font-size: 10px; cursor: pointer; }
.user-chip { display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: #e6effa; font-weight: 800; cursor: pointer; }
.app-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 82px); }
.app-sidebar { position: sticky; top: 82px; display: flex; height: calc(100vh - 82px); flex-direction: column; padding: 28px 18px 22px; border-right: 1px solid var(--line); background: #f7f9fb; }
.project-mini { display: grid; gap: 2px; padding: 0 12px 22px; border-bottom: 1px solid var(--line); }
.project-mini small, .project-mini span { color: var(--muted); font-size: 11px; }
.project-mini strong { margin: 4px 0; font-size: 17px; }
.app-nav { display: flex; flex-direction: column; gap: 4px; padding-top: 20px; }
.app-nav a { display: flex; min-height: 42px; align-items: center; justify-content: space-between; padding: 0 13px; border-radius: 9px; color: #52606d; font-size: 13px; font-weight: 700; }
.app-nav a[aria-current="page"], .app-nav a:hover { background: #eef2f7; color: var(--ink); }
.app-nav b { display: grid; min-width: 22px; height: 22px; place-items: center; border-radius: 99px; background: #e6effa; font-size: 10px; }
.sidebar-help { display: grid; gap: 3px; margin-top: auto; padding: 16px 12px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.sidebar-help a, .sidebar-help strong { color: var(--ink); font-weight: 700; }
.app-main { min-width: 0; padding: 48px clamp(28px, 4vw, 64px) 90px; }
.app-page-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 30px; }
.app-page-head small, .owner-page-head small { color: var(--lime-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.app-page-head h1, .owner-page-head h1 { margin: 8px 0 0; font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -.05em; }
.app-page-head > p { max-width: 520px; margin-bottom: 3px; color: var(--muted); }
.customer-next { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 22px; padding: 26px 28px; border-radius: 18px; background: var(--forest); color: white; }
.customer-next > div { display: flex; align-items: center; gap: 20px; }
.next-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 14px; background: var(--lime); color: var(--ink); font-weight: 800; }
.customer-next small { color: var(--lime); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.customer-next h2 { margin: 3px 0; font-size: 22px; }
.customer-next p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.metric-card { display: grid; min-height: 130px; align-content: center; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.metric-card small, .metric-card span { color: var(--muted); font-size: 11px; }
.metric-card strong { margin: 5px 0; font-size: 25px; letter-spacing: -.03em; }
.metric-card span b { color: #1f74d8; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr); align-items: start; gap: 20px; }
.stack { display: grid; gap: 20px; }
.app-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 35px rgba(28,34,27,.04); }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.card-head h2 { margin: 3px 0 4px; font-size: 22px; letter-spacing: -.03em; }
.card-head p { margin: 0; color: var(--muted); font-size: 12px; }
.card-kicker { color: #8f4224; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.status-pill { flex: 0 0 auto; padding: 6px 10px; border-radius: 99px; background: var(--lime-soft); color: #7a341d; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.status-pill.neutral { background: #eef2f7; color: #52606d; }
.customer-status { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 18px; padding: 20px 22px; border: 1px solid #c9dce0; border-radius: 15px; background: #edf7f8; }
.customer-status > div { display: flex; align-items: center; gap: 14px; }
.customer-status small, .customer-status strong { display: block; }
.customer-status small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.metric-card .metric-text { font-size: 19px; line-height: 1.2; }
.range-card { display: grid; margin-bottom: 18px; padding: 23px; border-radius: 14px; background: var(--forest); color: white; }
.range-card small { color: var(--lime); font-weight: 700; }
.range-card > strong { margin: 7px 0; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.05em; }
.range-card p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }
.estimate-options-dashboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.estimate-options-dashboard > div { display: grid; gap: 4px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #f6f8fb; }
.estimate-options-dashboard > div.recommended { border-color: #c46b3c; background: var(--lime-soft); box-shadow: inset 0 0 0 1px rgba(143,66,36,.2); }
.estimate-options-dashboard small { color: var(--lime-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.estimate-options-dashboard strong { font-size: 13px; }
.estimate-options-dashboard b { font-family: var(--font-display); font-size: 21px; letter-spacing: -.04em; }
.estimate-options-dashboard span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.takeoff-card { margin-bottom: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.takeoff-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 15px; border-bottom: 1px solid var(--line); background: #f6f8fb; }
.takeoff-head > div { display: flex; align-items: center; gap: 9px; }
.takeoff-head strong { font-size: 11px; }
.takeoff-head small { color: var(--muted); font-size: 9px; }
.takeoff-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.takeoff-grid > div { display: grid; gap: 2px; padding: 14px; border-right: 1px solid var(--line); }
.takeoff-grid > div:last-child { border-right: 0; }
.takeoff-grid span, .takeoff-grid small { color: var(--muted); font-size: 9px; }
.takeoff-grid strong { font-size: 12px; }
.data-list { display: grid; }
.data-row { display: flex; justify-content: space-between; gap: 30px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.data-row:last-child { border-bottom: 0; }
.data-row span { color: var(--muted); }
.timeline-list { display: grid; }
.timeline-row { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 0 12px; padding: 0 0 24px; }
.timeline-row::before { position: absolute; top: 13px; bottom: -3px; left: 4px; width: 1px; background: var(--line); content: ""; }
.timeline-row:last-child::before { display: none; }
.timeline-dot { z-index: 1; width: 9px; height: 9px; margin-top: 5px; border: 2px solid #aebdca; border-radius: 50%; background: white; }
.timeline-row.done .timeline-dot, .timeline-row.active .timeline-dot { border-color: #8f4224; background: var(--lime); }
.timeline-row.complete .timeline-dot { border-color: var(--lime-dark); background: var(--lime); }
.timeline-row strong { font-size: 13px; }
.timeline-row > span:last-child { grid-column: 2; color: var(--muted); font-size: 11px; }
.task-list { display: grid; }
.task-row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.task-row:last-child { border-bottom: 0; }
.task-row > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; background: #eef2f7; color: var(--muted); font-size: 9px; font-weight: 800; }
.task-row strong, .task-row small { display: block; }
.task-row strong { font-size: 12px; }
.task-row small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.task-row button { min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 10px; font-weight: 700; cursor: pointer; }
.task-row.is-done { opacity: .5; }
.task-row.is-done strong { text-decoration: line-through; }
.task-row.muted { opacity: .55; }
.chat-mini { display: flex; max-height: 270px; flex-direction: column; gap: 9px; overflow-y: auto; padding: 14px; border-radius: 12px; background: #eef2f7; }
.chat-mini .message { font-size: 12px; }
.chat-prompts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
.record-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
[hidden] { display: none !important; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photo-grid > div { min-height: 95px; overflow: hidden; border-radius: 10px; background: #edf2f7; }
.photo-grid .photo-main { grid-column: 1 / -1; min-height: 210px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { display: grid; place-items: center; color: var(--muted); font-size: 10px; }

.scheduler { width: min(520px, calc(100% - 32px)); padding: 32px; border: 0; border-radius: 20px; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.scheduler::backdrop { background: rgba(10,14,10,.65); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 15px; right: 15px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 20px; cursor: pointer; }
.scheduler h2 { margin: 8px 0; font-size: 30px; }
.scheduler > p { color: var(--muted); }
.schedule-days { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 24px 0; }
.schedule-days button { min-height: 52px; border: 1px solid var(--line); border-radius: 10px; background: white; font-weight: 700; cursor: pointer; }
.schedule-days button.is-selected { border-color: #c46b3c; background: var(--lime-soft); }

/* Owner */
.brand-divider { width: 1px; height: 26px; background: var(--line); }
.brand-product { font-family: var(--font-display); font-size: 16px; font-weight: 800; }
.app-search { display: flex; width: min(520px, 100%); align-items: center; gap: 8px; justify-self: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #f4f6f9; }
.app-search input { width: 100%; height: 42px; border: 0; outline: 0; background: transparent; font-size: 12px; }
.owner-page-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.owner-page-head p { margin: 8px 0 0; color: var(--muted); }
.owner-page-head > div:last-child { display: flex; gap: 10px; }
.owner-alert { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 18px; padding: 18px 22px; border: 1px solid #edd3c2; border-radius: 14px; background: #f8e7dc; }
.owner-alert > div { display: flex; align-items: center; gap: 14px; }
.owner-alert strong { font-size: 14px; }
.owner-alert p { margin: 3px 0 0; color: #52606d; font-size: 11px; }
.owner-alert a { color: var(--lime-dark); font-size: 12px; font-weight: 800; }
.owner-metrics .metric-card { min-height: 116px; }
.owner-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, .7fr); align-items: start; gap: 20px; }
.lead-hero { display: grid; grid-template-columns: 200px 1fr; gap: 22px; }
.lead-photo { overflow: hidden; border-radius: 12px; }
.lead-photo img { width: 100%; height: 180px; object-fit: cover; }
.lead-summary small { color: var(--muted); font-size: 10px; }
.lead-summary h3 { margin: 7px 0; font-size: 25px; }
.lead-summary > p { margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.lead-range { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 14px; border-radius: 10px; background: var(--forest); color: white; }
.lead-range span { color: rgba(255,255,255,.6); font-size: 10px; }
.lead-range strong { color: var(--lime); font-size: 20px; }
.lead-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.lead-facts div { display: grid; padding: 13px; background: white; }
.lead-facts span { color: var(--muted); font-size: 9px; }
.lead-facts strong { font-size: 11px; }
.equipment-note { margin-top: 16px; padding: 17px; border-radius: 12px; background: #f3f6fa; }
.equipment-note strong { display: block; margin-bottom: 6px; font-size: 12px; }
.equipment-note p { margin: 0; color: var(--muted); font-size: 13px; }
.option-placeholder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.option-placeholder > div { display: grid; gap: 5px; padding: 18px; border: 1px dashed #c6d0db; border-radius: 12px; background: #f7f9fb; }
.option-placeholder span, .option-placeholder small { color: var(--muted); font-size: 10px; }
.option-placeholder strong { font-size: 13px; }
.handoff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.handoff-grid button { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9fb; text-align: left; cursor: pointer; }
.handoff-grid button:hover { border-color: var(--warm); background: #edf7f8; }
.handoff-grid button > span { grid-row: 1 / 3; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--forest); color: var(--lime); font-size: 10px; font-weight: 900; }
.handoff-grid button strong { font-size: 13px; }
.handoff-grid button small { color: var(--muted); font-size: 10px; }
.lead-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.owner-takeoff { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: 1px; margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.owner-takeoff > div { display: grid; align-content: center; padding: 12px; background: #f6f8fb; }
.owner-takeoff > div:first-child { grid-template-columns: 12px 1fr; }
.owner-takeoff > div:first-child .status-dot { grid-row: 1 / 3; margin-top: 3px; }
.owner-takeoff span, .owner-takeoff small { color: var(--muted); font-size: 8px; }
.owner-takeoff strong { font-size: 10px; }
.score { display: inline-grid; min-width: 29px; height: 25px; place-items: center; border-radius: 7px; background: var(--lime-soft); color: var(--lime-dark); font-size: 10px; font-weight: 800; }
.score.large { width: 44px; height: 44px; border-radius: 12px; font-size: 15px; }
.table-shell { overflow-x: auto; }
.app-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.app-table th { padding: 10px; border-bottom: 1px solid var(--line); color: var(--muted); text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.app-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); }
.app-table tbody tr:last-child td { border-bottom: 0; }
.lead-name { font-weight: 800; }
.lead-source { color: var(--muted); font-size: 9px; }
.row-action { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 9px; font-weight: 700; cursor: pointer; }
.job-board { display: grid; }
.job-row { display: grid; grid-template-columns: 1.2fr .65fr .8fr 1.1fr auto; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
.job-row:last-child { border-bottom: 0; }
.job-row div { display: grid; }
.job-row div:first-child { grid-template-columns: 10px 1fr; }
.job-row div:first-child small { grid-column: 2; }
.job-row span, .job-row small { color: var(--muted); font-size: 9px; }
.job-row strong { font-size: 11px; }
.job-dot { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; }
.job-dot.on-track { background: #256d85; }
.job-dot.attention { background: #e6a33b; }
.day-schedule { display: grid; }
.day-schedule > div { display: grid; grid-template-columns: 42px 10px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.day-schedule > div:last-child { border-bottom: 0; }
.day-schedule time { color: var(--muted); font-size: 9px; }
.day-schedule > div > span { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: var(--lime-dark); }
.day-schedule strong, .day-schedule small { display: block; }
.day-schedule strong { font-size: 11px; }
.day-schedule small { color: var(--muted); font-size: 9px; }
.pricebook-list { display: grid; }
.pricebook-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.pricebook-row:last-child { border-bottom: 0; }
.pricebook-row span { color: var(--muted); }
.pulse-chart { display: flex; height: 120px; align-items: flex-end; gap: 8px; padding: 10px; border-radius: 10px; background: #eef2f7; }
.pulse-chart i { flex: 1; border-radius: 4px 4px 0 0; background: var(--lime-dark); }
.pulse-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.pulse-stats div { display: grid; }
.pulse-stats span { color: var(--muted); font-size: 8px; }
.pulse-stats strong { font-size: 13px; }

.site-toast { position: fixed; z-index: 500; right: 24px; bottom: 24px; max-width: 340px; padding: 14px 17px; border-radius: 12px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(18px); transition: opacity .2s ease, transform .2s ease; }
.site-toast.is-visible { opacity: 1; transform: translateY(0); }

.login-screen { display: grid; grid-template-columns: 1.15fr .85fr; min-height: calc(100vh - 82px); background: white; }
.login-photo { min-height: 680px; background: linear-gradient(90deg, rgba(4,9,12,.05), rgba(4,9,12,.22)), url("./assets/valleycraft-comfort.webp") center / cover no-repeat; }
.owner-login-photo { background-image: linear-gradient(90deg, rgba(4,9,12,.05), rgba(4,9,12,.22)), url("./assets/valleycraft-install.webp"); }
.login-panel { display: flex; width: min(500px, calc(100% - 56px)); align-self: center; justify-self: center; flex-direction: column; padding-block: 50px; }
.login-brand { display: inline-flex; align-items: center; gap: 14px; }
.login-brand img { width: 104px; height: 66px; object-fit: contain; }
.login-panel .card-kicker { margin: 26px 0 10px; }
.login-panel h1 { margin-bottom: 12px; font-size: clamp(45px, 5vw, 68px); letter-spacing: -.055em; }
.login-panel > p:not(.card-kicker):not(.login-help) { max-width: 500px; color: var(--muted); font-size: 17px; }
.login-form { display: grid; gap: 16px; margin-top: 28px; }
.login-form > label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.login-form input[type="email"], .login-form input[type="password"] { width: 100%; height: 52px; padding: 0 14px; border: 1px solid #ccd6e0; border-radius: 10px; background: #fbfcfd; outline: 0; }
.login-form input:focus { border-color: #8f4224; box-shadow: 0 0 0 3px rgba(143,66,36,.12); }
.login-form > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.check-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.login-help { margin-top: 22px; color: var(--muted); font-size: 12px; }
.login-help a { color: #8f4224; font-weight: 800; }
.profile-notice { padding: 12px 14px; border: 1px solid #e8b696; border-radius: 10px; background: var(--lime-soft); color: #7a341d !important; font-size: 12px !important; font-weight: 700; }
.crm-facts { grid-template-columns: repeat(3, 1fr); }
.calm-reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.05s cubic-bezier(.22,.61,.36,1) var(--reveal-delay, 0ms), transform 1.05s cubic-bezier(.22,.61,.36,1) var(--reveal-delay, 0ms); will-change: opacity, transform; }
.calm-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 280px 1fr auto; padding-inline: 20px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 12px; }
  .assistant-shell { right: 24px; width: 410px; }
  .hero-copy { width: 58vw; padding-left: 30px; }
  .service-compact { grid-template-columns: .7fr 1fr 1.4fr; }
  .service-compact .plain-link { grid-column: 2 / -1; }
  .project-hub-grid, .prepared { gap: 45px; }
  .app-shell { grid-template-columns: 210px minmax(0,1fr); }
  .app-grid, .owner-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .section-shell { width: min(100% - 38px, 720px); }
  .site-header { grid-template-columns: 1fr auto; min-height: 76px; }
  .site-header .brand-logo { width: 74px; height: 46px; }
  .menu-toggle { display: grid; width: 42px; height: 42px; align-content: center; gap: 5px; padding: 8px; border: 0; background: transparent; }
  .menu-toggle span { width: 24px; height: 2px; background: var(--ink); }
  .site-nav { position: absolute; top: 76px; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); background: white; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; font-size: 15px; }
  .header-actions { display: none; }
  .hero { display: flex; min-height: auto; flex-direction: column; padding-bottom: 30px; }
  .hero-photo { height: 820px; }
  .hero-shade { height: 820px; background: linear-gradient(90deg, rgba(8,12,8,.9), rgba(8,12,8,.35)), linear-gradient(0deg, rgba(8,12,8,.84), transparent 55%); }
  .hero-copy { width: 100%; min-height: 720px; padding: 94px 24px 80px; }
  .hero-copy h1 { max-width: 660px; }
  .assistant-shell { position: relative; right: auto; bottom: auto; width: calc(100% - 38px); min-height: 560px; max-height: none; margin: -55px auto 0; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { min-height: 92px; border-right: 0; border-bottom: 1px solid var(--line); }
  .split-heading, .process-intro, .prepared, .project-hub-grid, .service-area { grid-template-columns: 1fr; }
  .services, .prepared, .service-area { padding-block: 90px; }
  .service-showcase { grid-template-columns: 1fr; }
  .service-compact { grid-column: auto; grid-template-columns: 1fr; }
  .service-compact .plain-link { grid-column: auto; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card-offset { margin-top: 0; }
  .process-rail { grid-template-columns: 1fr; }
  .process-rail li, .process-rail li + li { min-height: 190px; padding: 0; border: 1px solid rgba(255,255,255,.14); }
  .process-rail li div { margin-top: 28px; }
  .prepared-visual { min-height: 650px; }
  .brief-window { margin: 0 auto; }
  .project-hub-grid { gap: 60px; }
  .portal-preview { order: 2; }
  .final-cta .section-shell { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand-wrap { grid-column: 1 / -1; }
  .app-header { grid-template-columns: 1fr auto; padding-inline: 16px; }
  .app-header-project, .app-search { display: none; }
  .app-header-actions > a:not(.button) { display: none; }
  .app-shell { display: block; }
  .app-sidebar { position: static; width: 100%; height: auto; overflow-x: auto; flex-direction: row; align-items: center; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .app-sidebar::-webkit-scrollbar { display: none; }
  .project-mini, .sidebar-help { display: none; }
  .app-nav { flex-direction: row; padding: 0; }
  .app-nav a { min-width: max-content; }
  .app-main { padding: 32px 18px 70px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .owner-page-head { align-items: flex-start; flex-direction: column; }
  .login-screen { grid-template-columns: 1fr; }
  .login-photo { min-height: 360px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 76px; }
  .hero-copy { min-height: 680px; }
  .hero-copy h1 { font-size: 45px; }
  .hero-copy h1.hero-approved { font-size: clamp(26px, 7vw, 43px); }
  .hero-identity { align-items: flex-start; flex-direction: column; gap: 2px; font-size: 10px; line-height: 1.45; }
  .hero-identity span { display: inline; }
  .hero-services { max-width: 340px; font-size: 12px; line-height: 1.5; }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-proof { flex-wrap: wrap; margin-top: 40px; }
  .assistant-shell { width: calc(100% - 24px); border-radius: 18px; }
  .assistant-actions { grid-template-columns: 1fr; }
  .service-feature { min-height: 520px; }
  .service-overlay { padding: 28px; }
  .service-compact { padding: 28px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card img { aspect-ratio: auto; }
  .process { padding-block: 80px; }
  .process-rail { grid-template-columns: 1fr; border-top: 0; }
  .process-rail li, .process-rail li + li { min-height: auto; padding: 0; border: 1px solid rgba(255,255,255,.14); }
  .process-rail li::before, .process-rail li + li::before { top: 0; right: 18px; left: 18px; }
  .process-step { min-height: 188px; padding: 25px; }
  .process-rail li div { margin-top: 24px; }
  .prepared-visual { min-height: 560px; padding: 20px; }
  .prepared-points div { grid-template-columns: 100px 1fr; }
  .portal-main { grid-template-columns: 1fr; }
  .portal-main > aside { display: none; }
  .portal-content { padding: 22px; }
  .portal-cards { grid-template-columns: 1fr; }
  .area-card { padding: 32px 27px; }
  .faq { padding-bottom: 90px; }
  .site-footer { grid-template-columns: 1fr; gap: 26px; padding-bottom: 95px; }
  .footer-brand-wrap, .footer-bottom { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .mobile-cta { position: fixed; z-index: 120; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: .65fr 1.35fr; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); }
  .mobile-cta a { display: grid; min-height: 48px; place-items: center; border: 1px solid var(--line); border-radius: 9px; font-weight: 800; }
  .mobile-cta a:last-child { border-color: var(--lime); background: var(--lime); }
  .app-page-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .customer-next { align-items: stretch; flex-direction: column; }
  .customer-next > div { align-items: flex-start; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 105px; }
  .app-card { padding: 18px; }
  .estimate-options-dashboard { grid-template-columns: 1fr; }
  .takeoff-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .takeoff-grid { grid-template-columns: 1fr 1fr; }
  .takeoff-grid > div:nth-child(2) { border-right: 0; }
  .takeoff-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .owner-takeoff { grid-template-columns: 1fr 1fr; }
  .owner-takeoff > div:first-child { grid-column: 1 / -1; }
  .lead-hero { grid-template-columns: 1fr; }
  .lead-photo img { height: 230px; }
  .lead-facts { grid-template-columns: 1fr 1fr; }
  .lead-actions { align-items: stretch; flex-direction: column; }
  .job-row { grid-template-columns: 1fr 1fr; }
  .job-row > div:first-child { grid-column: 1 / -1; }
  .job-row > div:nth-child(4) { grid-column: 1 / -1; }
  .chat-prompts, .schedule-days { grid-template-columns: 1fr; }
  .site-toast { right: 12px; bottom: 76px; left: 12px; max-width: none; }
  .login-screen { min-height: calc(100vh - 74px); }
  .login-photo { min-height: 245px; }
  .login-panel { width: calc(100% - 36px); padding-block: 34px 60px; }
  .login-brand img { width: 86px; height: 54px; }
}

/* Full-page Design Assistant */
body[data-page="design-assistant"] { background: #eef2f7; }
.da-header { position: sticky; z-index: 90; top: 0; display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 30px; padding: 0 max(24px, calc((100vw - 1380px) / 2)); border-bottom: 1px solid rgba(17,21,17,.1); background: rgba(249,249,244,.95); backdrop-filter: blur(18px); }
.da-brand { display: flex; align-items: center; gap: 12px; }
.da-brand img { width: 66px; height: 66px; object-fit: contain; }
.da-brand > span { display: grid; }
.da-brand strong { font-size: 14px; }
.da-brand small { color: var(--muted); font-size: 11px; }
.da-header-actions { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 800; }
.da-hero { position: relative; overflow: hidden; padding-block: 84px 90px; background: radial-gradient(circle at 18% 20%, rgba(196,107,60,.22), transparent 32%), radial-gradient(circle at 85% 80%, rgba(37,109,133,.2), transparent 30%), linear-gradient(135deg, #0a1720, #173446 52%, #2c1b14); color: white; }
.da-hero::after { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.04) 50%, transparent 65%); content: ""; }
.da-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(350px, .8fr); align-items: end; gap: 80px; }
.da-hero h1 { max-width: 850px; margin-bottom: 24px; font-size: clamp(48px, 5.6vw, 84px); line-height: .98; letter-spacing: -.06em; }
.da-hero h1 em { color: var(--lime); font-style: normal; }
.da-hero-grid > div:first-child > p:last-child { max-width: 690px; margin: 0; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.65; }
.da-route { display: grid; grid-template-columns: 34px 1fr; gap: 0 14px; padding: 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(255,255,255,.06); backdrop-filter: blur(12px); }
.da-route span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 10px; font-weight: 900; }
.da-route strong { align-self: center; font-size: 15px; }
.da-route i { grid-column: 1; width: 1px; height: 24px; margin: 5px auto; background: rgba(255,255,255,.2); }
.da-route > span:nth-of-type(1) { grid-area: 1 / 1; }
.da-route > strong:nth-of-type(1) { grid-area: 1 / 2; }
.da-route > i:nth-of-type(1) { grid-area: 2 / 1; }
.da-route > span:nth-of-type(2) { grid-area: 3 / 1; }
.da-route > strong:nth-of-type(2) { grid-area: 3 / 2; }
.da-route > i:nth-of-type(2) { grid-area: 4 / 1; }
.da-route > span:nth-of-type(3) { grid-area: 5 / 1; }
.da-route > strong:nth-of-type(3) { grid-area: 5 / 2; }
.da-workspace { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 34px; padding-block: 58px 100px; }
.da-summary { position: sticky; top: 110px; display: grid; gap: 14px; }
.da-summary-card { overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 18px 55px rgba(18,24,18,.1); }
.da-summary-card h2 { margin-bottom: 24px; font-size: 28px; line-height: 1.05; letter-spacing: -.04em; }
.da-summary-card dl { display: grid; margin: 0 0 22px; border-top: 1px solid var(--line); }
.da-summary-card dl div { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.da-summary-card dt { color: var(--muted); }
.da-summary-card dd { margin: 0; font-weight: 800; text-align: right; }
.da-summary-card > p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.da-account-link { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--forest); color: white; font-size: 12px; }
.da-account-link span { color: rgba(255,255,255,.58); }
.da-account-link a { color: var(--lime); font-weight: 800; }
.da-form { display: grid; gap: 20px; }
.da-form-section { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 12px 38px rgba(18,24,18,.06); }
.da-section-head { display: grid; grid-template-columns: 42px 1fr; gap: 16px; margin-bottom: 30px; }
.da-section-head > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--lime); font-size: 11px; font-weight: 900; }
.da-section-head h2 { margin-bottom: 4px; font-size: 27px; letter-spacing: -.035em; }
.da-section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.da-field-group, .da-room-options { display: grid; gap: 10px; margin-top: 24px; }
.da-label, .da-description { color: #3f4d5d; font-size: 12px; font-weight: 800; }
.da-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.da-toggles button { min-height: 42px; padding: 8px 15px; border: 1px solid #ccd6e0; border-radius: 10px; background: #f7f9fb; color: #52606d; font-size: 12px; font-weight: 800; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; }
.da-toggles button:hover { border-color: #c46b3c; transform: translateY(-1px); }
.da-toggles button:focus-visible { outline: 2px solid var(--lime-dark); outline-offset: 2px; }
.da-toggles button.is-selected { border-color: var(--lime-dark); background: var(--lime-soft); color: #7a341d; box-shadow: inset 0 0 0 1px rgba(143,66,36,.16); }
.da-toggles-large button { min-width: 150px; min-height: 52px; flex: 1; font-size: 14px; }
.da-toggles-compact button { min-height: 38px; padding: 7px 12px; }
.da-toggles-stack { display: grid; grid-template-columns: 1fr 1fr; }
.da-toggles-stack button { text-align: left; }
.da-input-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.da-input-grid label, .da-profile-grid label { display: grid; gap: 7px; color: #3f4d5d; font-size: 12px; font-weight: 800; }
.da-input-grid label > span { color: var(--muted); font-size: 10px; font-weight: 600; }
.da-input-grid input, .da-profile-grid input, .da-description textarea { width: 100%; min-width: 0; border: 1px solid #ccd6e0; border-radius: 10px; background: #fbfcfd; color: var(--ink); outline: 0; }
.da-input-grid input, .da-profile-grid input { height: 48px; padding: 0 13px; }
.da-input-grid input:focus, .da-profile-grid input:focus, .da-description textarea:focus { border-color: var(--lime-dark); box-shadow: 0 0 0 3px rgba(143,189,47,.14); }
.da-field-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
.da-description { display: grid; gap: 9px; }
.da-description textarea { min-height: 140px; padding: 14px; resize: vertical; font-size: 14px; line-height: 1.5; }
.da-upload-grid { display: grid; grid-template-columns: 250px 1fr; gap: 12px; margin-top: 18px; }
.da-upload { display: grid; min-height: 150px; place-items: center; align-content: center; gap: 4px; padding: 20px; border: 1.5px dashed #aebed0; border-radius: 14px; background: #f3f6fa; text-align: center; cursor: pointer; }
.da-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.da-upload > span { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 4px; border-radius: 50%; background: var(--lime); font-size: 22px; font-weight: 800; }
.da-upload strong { font-size: 13px; }
.da-upload small { color: var(--muted); font-size: 10px; }
.da-photo-preview { display: grid; min-height: 150px; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: #f7f9fb; }
.da-photo-preview img { width: 100%; height: 128px; object-fit: cover; border-radius: 9px; }
.da-photo-preview p { align-self: center; grid-column: 1 / -1; margin: 0; color: var(--muted); text-align: center; font-size: 12px; }
.da-submit { display: flex; width: 100%; min-height: 64px; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--forest); color: white; cursor: pointer; }
.da-submit span { font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.da-submit b { color: var(--lime); font-size: 12px; }
.form-expectation { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.safety-check { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 26px; padding: 20px; border: 1px solid #efc4a8; border-radius: 14px; background: #fff7f0; }
.safety-check strong { display: block; margin-bottom: 5px; font-size: 14px; }
.safety-check p { max-width: 720px; margin: 0; color: var(--muted); font-size: 12px; }
.request-result-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.request-result-grid h3 { margin: 9px 0 12px; font-size: 26px; line-height: 1.1; }
.request-result-grid > article > p { color: var(--muted); }
.result-checklist { display: grid; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; }
.result-checklist li { position: relative; padding-left: 22px; color: #52606d; font-size: 13px; }
.result-checklist li::before { position: absolute; left: 0; color: var(--warm); content: "✓"; font-weight: 900; }
.da-results { scroll-margin-top: 80px; padding-block: 90px; border-top: 1px solid var(--line); background: #f7f9fb; }
.da-results-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.da-results-head h2 { margin-bottom: 12px; font-size: clamp(40px, 4.5vw, 66px); line-height: 1; letter-spacing: -.05em; }
.da-results-head p:last-child { max-width: 720px; margin: 0; color: var(--muted); }
.da-option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.da-option { display: grid; min-height: 260px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.da-option.recommended { border-color: var(--lime-dark); background: linear-gradient(145deg, #fff, var(--lime-soft)); box-shadow: 0 20px 50px rgba(91,126,32,.15); }
.da-option small { color: #8f4224; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.da-option h3 { margin: 24px 0 10px; font-size: 22px; line-height: 1.15; }
.da-option > strong { font-size: 34px; letter-spacing: -.04em; }
.da-option p { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.da-result-detail { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-top: 14px; }
.da-result-detail > div { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.da-result-detail h3 { margin-bottom: 6px; font-size: 22px; }
.da-result-detail > div > p { color: var(--muted); font-size: 13px; }
.da-material-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.da-material-grid > div { display: grid; gap: 3px; padding: 16px; border-right: 1px solid var(--line); }
.da-material-grid > div:last-child { border-right: 0; }
.da-material-grid span, .da-material-grid small { color: var(--muted); font-size: 10px; }
.da-material-grid strong { font-size: 15px; }
.da-result-detail ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.da-result-detail li { position: relative; padding-left: 24px; color: #52606d; font-size: 13px; }
.da-result-detail li::before { position: absolute; top: 2px; left: 0; color: var(--lime-dark); font-weight: 900; content: "✓"; }
.da-profile-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; margin-top: 48px; padding: 42px; border-radius: 26px; background: radial-gradient(circle at 0 0, rgba(196,107,60,.2), transparent 35%), linear-gradient(135deg, #173446, #2c1b14); color: white; }
.da-profile-copy h2 { max-width: 520px; margin-bottom: 18px; font-size: clamp(38px, 4vw, 58px); line-height: 1; letter-spacing: -.05em; }
.da-profile-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.68); line-height: 1.6; }
.da-crm-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 28px; }
.da-crm-flow span { padding: 9px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; background: rgba(255,255,255,.07); font-size: 10px; font-weight: 800; }
.da-crm-flow i { color: var(--lime); font-style: normal; }
.da-profile-form { padding: 24px; border-radius: 18px; background: white; color: var(--ink); }
.da-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.da-profile-grid .wide { grid-column: 1 / -1; }
.da-profile-form > .button { margin-top: 18px; }
.da-profile-form > p { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.da-profile-success { align-self: center; padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.08); }
.da-profile-success > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 22px; font-weight: 900; }
.da-profile-success h3 { margin: 22px 0 8px; font-size: 28px; }
.da-profile-success p { color: rgba(255,255,255,.7); }
.da-profile-success > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.da-footer { display: flex; align-items: center; justify-content: center; gap: 26px; min-height: 84px; padding: 20px 28px; background: #04090c; color: rgba(255,255,255,.68); font-size: 12px; }
.da-footer a { color: white; font-weight: 800; }

@media (max-width: 980px) {
  .da-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .da-route { max-width: 520px; }
  .da-workspace { grid-template-columns: 1fr; }
  .da-summary { position: static; grid-template-columns: 1fr .8fr; }
  .da-field-split, .da-result-detail, .da-profile-wrap { grid-template-columns: 1fr; }
  .da-option-grid { grid-template-columns: 1fr; }
  .da-option { min-height: auto; }
}

@media (max-width: 700px) {
  .da-header { min-height: 74px; padding-inline: 14px; }
  .da-brand img { width: 54px; height: 54px; }
  .da-brand > span:not(.brand-mark), .da-header-actions > a:first-child { display: none; }
  .da-header-actions .button { min-height: 42px; padding-inline: 14px; font-size: 12px; }
  .da-hero { padding-block: 60px; }
  .da-hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .da-hero-grid > div:first-child > p:last-child { font-size: 16px; }
  .da-workspace { width: min(100% - 24px, 1380px); padding-block: 28px 70px; }
  .da-summary { grid-template-columns: 1fr; }
  .da-form-section { padding: 24px 18px; border-radius: 18px; }
  .da-section-head { grid-template-columns: 38px 1fr; }
  .da-section-head > span { width: 38px; height: 38px; }
  .da-toggles-large, .da-toggles-stack { display: grid; grid-template-columns: 1fr; }
  .da-input-grid { grid-template-columns: 1fr; }
  .da-upload-grid { grid-template-columns: 1fr; }
  .da-photo-preview { grid-template-columns: 1fr 1fr; }
  .da-photo-preview img { height: 120px; }
  .da-submit { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 14px; }
  .da-results { padding-block: 65px; }
  .da-results > .section-shell { width: min(100% - 24px, 1380px); }
  .da-results-head { align-items: flex-start; flex-direction: column; }
  .da-material-grid { grid-template-columns: 1fr 1fr; }
  .da-material-grid > div { border-bottom: 1px solid var(--line); }
  .da-material-grid > div:nth-child(2n) { border-right: 0; }
  .da-profile-wrap { gap: 28px; padding: 28px 18px; }
  .da-profile-grid { grid-template-columns: 1fr; }
  .da-profile-grid .wide { grid-column: auto; }
  .da-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Compact standalone assistant: the hero assistant on its own screen */
.compact-assistant-page { overflow: hidden; background: var(--forest); }
.compact-assistant-stage { position: relative; display: grid; min-height: 100vh; place-items: center; overflow: hidden; padding: 58px 18px 18px; background: linear-gradient(90deg, rgba(4,9,12,.86), rgba(11,25,48,.46)), url("./assets/valleycraft-hero.webp") center / cover no-repeat; }
.compact-assistant-stage::before { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 70% 20%, rgba(196,107,60,.16), transparent 30%), linear-gradient(0deg, rgba(4,9,12,.4), transparent 48%); content: ""; }
.compact-assistant-nav { position: absolute; z-index: 3; top: 8px; right: 18px; left: 18px; display: flex; height: 48px; align-items: center; justify-content: space-between; color: white; }
.compact-assistant-nav > a img { width: 67px; height: 42px; object-fit: contain; }
.compact-assistant-nav > div { display: flex; align-items: center; gap: 18px; font-size: 12px; font-weight: 800; }
.compact-assistant-nav > div a:last-child { padding: 8px 12px; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; background: rgba(4,9,12,.34); }
.assistant-shell.compact-assistant-shell { position: relative; z-index: 2; inset: auto; width: min(760px, calc(100vw - 36px)); height: min(790px, calc(100vh - 78px)); min-height: 0; max-height: none; margin: 0; border-radius: 22px; box-shadow: 0 32px 90px rgba(0,0,0,.42); }
.compact-assistant-shell .assistant-topbar { padding: 16px 20px 13px; }
.compact-assistant-shell .assistant-topbar small { max-width: 470px; }
.compact-assistant-shell .reset-button { text-decoration: none; }
.compact-assistant-body { display: block; padding: 16px 18px; overscroll-behavior: contain; scrollbar-width: thin; }
.compact-assistant-body .assistant-messages { margin-bottom: 12px; }
.compact-estimate-form { gap: 12px; padding-top: 0; }
.compact-estimate-form .estimate-prompt textarea { min-height: 88px; font-size: 13px; }
.compact-utility-row { grid-template-columns: minmax(0, 1fr) 160px; }
.compact-photo-strip { grid-template-columns: repeat(4, 68px) auto; gap: 7px; padding: 3px 0 0; }
.compact-photo-strip img { width: 68px; height: 52px; object-fit: cover; border-radius: 8px; }
.compact-photo-strip > span { width: 52px; height: 52px; }
.photo-dimension-tool { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10px; padding: 10px; border: 1px solid #d9e2ec; border-radius: 11px; background: #f3f6fa; }
.photo-dimension-tool > button { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 2px 9px; padding: 8px; border: 1px solid #ccd6e0; border-radius: 9px; background: white; color: var(--ink); text-align: left; cursor: pointer; }
.photo-dimension-tool > button > span { grid-row: 1 / 3; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: var(--lime); font-size: 17px; }
.photo-dimension-tool > button strong { font-size: 11px; }
.photo-dimension-tool > button small { color: var(--muted); font-size: 8px; line-height: 1.35; }
.photo-dimension-tool > button.is-selected { border-color: var(--lime-dark); background: var(--lime-soft); }
.dimension-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dimension-fields label { position: relative; display: grid; gap: 2px; color: var(--muted); font-size: 8px; font-weight: 800; }
.dimension-fields input { width: 100%; height: 31px; padding: 0 25px 0 8px; border: 1px solid #ccd6e0; border-radius: 7px; background: white; font-size: 11px; }
.dimension-fields label > span { position: absolute; right: 7px; bottom: 7px; color: var(--muted); font-size: 8px; }
.dimension-fields p { grid-column: 1 / -1; margin: 0; color: #52606d; font-size: 8px; line-height: 1.35; }
.compact-toggle-rows { display: grid; gap: 5px; padding-top: 2px; }
.compact-toggle-rows .estimate-toggle-row { grid-template-columns: 74px 1fr; gap: 8px; }
.compact-toggle-rows .estimate-toggle-row > span { padding-top: 6px; font-size: 9px; }
.compact-toggle-rows .estimate-toggle-row > div { gap: 4px; }
.compact-toggle-rows .estimate-toggle-row button { min-height: 27px; padding: 4px 8px; font-size: 9px; }
.compact-estimate-submit { position: sticky; bottom: 0; z-index: 2; margin-top: 4px; box-shadow: 0 -10px 20px rgba(250,250,246,.92); }
.compact-result-output { padding: 0; }
.compact-estimate-result { gap: 9px; padding: 18px; }
.compact-estimate-result > strong { font-size: 18px; }
.compact-estimate-result > p { margin: 0; }
.compact-estimate-result .estimate-option-list { gap: 5px; }
.compact-estimate-result .estimate-option-list > div { padding: 9px 10px; }
.compact-profile { margin-top: 5px; padding: 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.07); }
.compact-profile summary { color: var(--lime); font-size: 11px; font-weight: 900; cursor: pointer; }
.compact-profile form { display: grid; gap: 9px; margin-top: 12px; }
.compact-profile form > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.compact-profile label { display: grid; gap: 3px; color: rgba(255,255,255,.66); font-size: 8px; font-weight: 800; }
.compact-profile label.wide { grid-column: 1 / -1; }
.compact-profile input { width: 100%; height: 34px; padding: 0 9px; border: 1px solid rgba(255,255,255,.25); border-radius: 7px; background: rgba(255,255,255,.1); color: white; }
.compact-profile form > small { color: rgba(255,255,255,.52); font-size: 8px; }
.compact-profile-success { display: grid; gap: 6px; margin-top: 12px; }
.compact-profile-success p { margin: 0; color: rgba(255,255,255,.65); font-size: 10px; }
.compact-profile-success > div { display: flex; gap: 8px; }
.compact-profile-success a { padding: 8px 10px; border-radius: 7px; background: var(--lime); color: var(--ink); font-size: 9px; font-weight: 900; }
.compact-profile-success a:last-child { background: rgba(255,255,255,.13); color: white; }
.compact-assistant-shell .assistant-footer { padding: 10px 18px; }

@media (max-width: 700px) {
  .compact-assistant-stage { padding: 56px 0 0; background-position: 62% center; }
  .compact-assistant-nav { top: 4px; right: 12px; left: 12px; }
  .compact-assistant-nav > div a:first-child { display: none; }
  .assistant-shell.compact-assistant-shell { width: 100%; height: calc(100svh - 56px); border: 0; border-radius: 18px 18px 0 0; }
  .compact-assistant-shell .assistant-topbar { padding-inline: 14px; }
  .compact-assistant-shell .assistant-topbar small { max-width: 250px; }
  .compact-assistant-body { padding-inline: 12px; }
  .compact-utility-row { grid-template-columns: 1fr 130px; }
  .photo-dimension-tool { grid-template-columns: 1fr; }
  .compact-toggle-rows .estimate-toggle-row { grid-template-columns: 62px 1fr; }
  .compact-profile form > div { grid-template-columns: 1fr; }
  .compact-profile label.wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .calm-reveal { opacity: 1 !important; transform: none !important; }
}

/* Valleycraft Heating & Air brand pass */
.assistant-progress,
.message-assistant,
.portal-main > aside,
.app-nav a[aria-current="page"],
.app-nav a:hover,
.task-row > span,
.chat-mini,
.pulse-chart { background: #eef2f7; }
.assistant-actions button,
.chat-prompts button,
.estimate-prompt textarea,
.zip-field input,
.input-row input,
.login-form input[type="email"],
.login-form input[type="password"],
.dimension-fields input { border-color: #ccd6e0; }
.photo-trigger,
.upload-box label,
.photo-dimension-tool { border-color: #b8c7d8; background: #f3f6fa; }
.brief-top b,
.portal-status,
.status-pill,
.profile-notice { color: #7a341d; }
.portal-welcome small,
.card-kicker,
.login-help a,
.icon-button { color: var(--lime-dark); }
.portal-update > span,
.job-dot.on-track { background: #256d85; }
.user-chip,
.app-nav b { background: #e6effa; }
.app-sidebar,
.estimate-options-dashboard > div,
.takeoff-head,
.owner-takeoff > div,
.photo-grid > div { background: #f6f8fb; }
.estimate-options-dashboard > div.recommended,
.schedule-days button.is-selected { border-color: var(--lime); box-shadow: inset 0 0 0 1px rgba(143,66,36,.18); }
.timeline-row.done .timeline-dot,
.timeline-row.active .timeline-dot { border-color: var(--lime-dark); }
.login-form input:focus { border-color: var(--lime-dark); box-shadow: 0 0 0 3px rgba(143,66,36,.14); }
.compact-assistant-nav .brand-copy strong { color: #fff7eb; }

@media (max-width: 900px) {
  .da-workspace { grid-template-columns: 1fr; }
  .da-summary { position: static; grid-template-columns: 1fr 1fr; }
  .request-result-grid { grid-template-columns: 1fr; }
  .maintenance-block { grid-template-columns: 1fr; }
  .maintenance-photo { min-height: 520px; }
  .terms-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .concept-notice { align-items: flex-start; flex-direction: column; gap: 1px; padding-block: 7px; text-align: left; }
  .brand-mark { width: 48px; height: 44px; }
  .da-header { min-height: 72px; padding-inline: 14px; }
  .da-header-actions > a:first-child { display: none; }
  .da-header-actions .button { min-height: 42px; padding-inline: 13px; font-size: 11px; }
  .da-hero { padding-block: 58px 62px; }
  .da-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .da-hero h1 { font-size: 47px; }
  .da-workspace { width: min(100% - 24px, 720px); padding-block: 28px 70px; }
  .da-summary { grid-template-columns: 1fr; }
  .da-form-section { padding: 22px 17px; }
  .da-section-head { grid-template-columns: 36px 1fr; gap: 12px; }
  .da-section-head > span { width: 36px; height: 36px; }
  .da-field-split, .da-input-grid, .da-upload-grid, .da-profile-grid { grid-template-columns: 1fr; }
  .da-profile-grid .wide { grid-column: auto; }
  .da-photo-preview { grid-template-columns: 1fr 1fr; }
  .safety-check, .customer-status { align-items: stretch; flex-direction: column; }
  .da-profile-wrap { grid-template-columns: 1fr; gap: 28px; padding: 25px 18px; }
  .option-placeholder, .handoff-grid { grid-template-columns: 1fr; }
  .maintenance-photo { min-height: 420px; }
  .terms-section { padding-block: 72px 12px; }
  .terms-grid { grid-template-columns: 1fr; }
  .terms-grid article { min-height: 0; }
}
