/* HT-034: project canvas and shared immersive presentation. Local assets only. */
:root{--ink:#0a1f44;--muted:#4a5568;--paper:#f6f8fb;--surface:#fff;--line:#dce3ec;--action:#2457f5;--serif:var(--sans);--sans:'Segoe UI',system-ui,sans-serif}

*{box-sizing:border-box}
body{margin:0;font-family:var(--sans);color:var(--ink);background:#f6f8fb}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{font-family:var(--sans);font-weight:780;letter-spacing:-.04em;line-height:1.1}
p{color:#4a5568;line-height:1.55}
a{color:inherit}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button,.primary,.secondary{min-height:48px;border-radius:12px;padding:12px 18px;font-weight:700}
button{border:1px solid var(--line);background:#fff;color:var(--ink)}
.primary{background:#2457f5;color:#fff;border:0;width:100%}
.secondary{background:#fff;color:#0a1f44;border:1px solid #b5c2d4;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.text-button{background:transparent;border:0;color:#2457f5;padding-inline:0}
input,select{width:100%;min-height:48px;border:1px solid #a5b3c5;border-radius:10px;padding:12px;background:#fff;color:#0a1f44;font-size:16px}
label{font-size:13px;display:block}
small,.caption{font-size:12px;color:#4a5568;line-height:1.5}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #2457f5;outline-offset:4px}
.skip{position:absolute;top:-100px;background:white;padding:16px;z-index:100}
.skip:focus{top:0}

.product-header{height:84px;max-width:1440px;margin:auto;display:flex;align-items:center;gap:32px;padding:0 40px;font-size:14px}
.product-brand{font-size:27px;font-weight:850;letter-spacing:-.07em;text-decoration:none;margin-right:auto}
.product-brand span{color:#2457f5}
.product-header>a{min-height:48px;display:flex;align-items:center;text-decoration:none}
.account-link{border:1px solid #c9d4e4;padding:10px 18px;border-radius:12px;background:white;font-weight:650}
.overline{font-size:12px;color:#4a5568;font-weight:600;margin-bottom:12px;letter-spacing:.02em}

.project-canvas{max-width:1360px;margin:0 auto 56px;background:#fff;border-radius:28px;display:grid;grid-template-columns:minmax(370px,.85fr) minmax(0,1.3fr);min-height:680px;overflow:hidden;box-shadow:0 16px 48px #0a1f4408}
.launcher{padding:40px 40px 28px;position:relative;min-width:0}
.launcher h1{font-size:42px;max-width:460px}
.entry-subtitle{font-size:14px;max-width:390px;margin:14px 0 24px}
.intent-tabs{display:flex;border-radius:14px;background:#edf2f8;padding:5px;margin-bottom:24px;gap:5px}
.intent-tabs button{flex:1;border:0;background:transparent;color:#4a5568;font-size:17px}
.intent-tabs [aria-selected=true]{background:#0a1f44;color:#fff;box-shadow:0 4px 8px #0a1f4414}
.intent-tabs [data-mode=sell][aria-selected=true]{background:#102a56}
.step-label{font-size:12px;font-weight:650;color:#4a5568;margin-bottom:12px}
.launcher fieldset{border:0;padding:0;margin:0;min-width:0}
.launcher legend{font-size:22px;font-weight:750;line-height:1.2;margin-bottom:20px;letter-spacing:-.03em}
.launcher input,.launcher select{margin:6px 0 8px}
.launcher small{display:block;font-size:11px;margin:2px 0 18px}
.launcher .primary{margin:0 0 8px}
.preview-link{display:flex;justify-content:space-between;align-items:center;font-size:12px;min-height:48px;text-decoration:none;margin-top:16px;border-top:1px solid #e5ebf4;padding-top:14px}
.preview-link span{color:#2457f5;font-size:20px}
.choice-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px}
.choice-chips label{position:relative}
.choice-chips input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0}
.choice-chips span{display:flex;align-items:center;padding:10px 12px;border:1px solid #d3ddec;border-radius:10px;min-height:48px;font-size:12px;font-weight:650}
.choice-chips input:checked+span{background:#edf3ff;border-color:#2457f5;color:#2457f5}
.choice-chips input:focus-visible+span{outline:3px solid #2457f5;outline-offset:3px}
.project-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 10px}
.seller-hint{font-size:13px;margin-bottom:20px}
.seller-step{display:flex;flex-direction:column;gap:6px;margin:0 0 16px}
.seller-step label{font-size:13px;font-weight:600}
.choice-chips.tile-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.choice-chips.tile-group span{width:100%;justify-content:center;min-height:44px}
@media(max-width:700px){.choice-chips.tile-group{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}}
@media(max-width:420px){.choice-chips.tile-group{grid-template-columns:1fr}}

.discovery-canvas{min-width:0;position:relative;background:#e9eff6;border-radius:24px;margin:12px;overflow:hidden}
.life-gallery{position:relative;height:100%;min-height:650px;display:grid;grid-template-columns:1fr .45fr;gap:8px}
.life-gallery figure{position:relative;overflow:hidden}
.life-gallery img{width:100%;height:100%;object-fit:cover;display:block}
.life-main img{object-position:48% center}
.life-small img{object-position:55% center}
.life-gallery figcaption{position:absolute;bottom:80px;left:22px;right:16px;color:#fff;font-size:27px;line-height:1.1;letter-spacing:-.04em;font-weight:750;text-shadow:0 2px 12px #000}
.life-gallery figure::after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#071a2eaa);pointer-events:none}
.life-gallery figcaption{z-index:1}
.life-small figcaption{font-size:20px;left:14px}
.floating-note{position:absolute;top:26px;left:24px;right:24px;background:#fffffff2;border-radius:14px;padding:16px 18px;box-shadow:0 8px 30px #0a1f4420;display:grid;grid-template-columns:36px 1fr;gap:2px 8px;max-width:340px;z-index:2}
.floating-note>span{grid-row:1/3;align-self:center;color:#2457f5;font-size:27px}
.floating-note strong{font-size:14px}
.ambient-label{position:absolute;bottom:16px;left:18px;right:18px;color:#fff;z-index:2;font-size:10px;line-height:1.4}
.discovery-panel{padding:28px;max-height:720px;overflow-y:auto;background:#edf2f8;min-height:100%;scrollbar-width:thin}
.discovery-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.discovery-panel h2{font-size:28px}
.discovery-panel #search-status{font-size:12px;margin:16px 0}
.applied-chips{display:flex;gap:6px;list-style:none;padding:0;flex-wrap:wrap;margin:0 0 16px}
.applied-chips li{font-size:11px;padding:6px 9px;background:#fff;border-radius:8px}
.discovery-panel #search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.discovery-panel #search-results:empty{display:none}
.listing-card{border-radius:16px;background:white;overflow:hidden;min-width:0;border:1px solid #dce3ec;display:flex;flex-direction:column}
.listing-card>img{width:100%;aspect-ratio:1.2;object-fit:cover;display:block}
.listing-card .listing-media-empty{aspect-ratio:1.4;background:#e1e9f3 url('/assets/art/property-outline.svg') center 35%/56px no-repeat;display:flex;align-items:flex-end;justify-content:center;padding:20px;font-size:11px;color:#4a5568;min-height:150px}
.listing-card h3{font-size:21px;margin:16px 16px 8px}
.listing-card>p{margin:0 16px 10px;font-size:12px}
.listing-card .listing-price{font-size:24px;font-weight:800;color:#0a1f44}
.listing-card .match-summary{margin:4px 16px 12px;font-size:12px}
.match-summary h4{font-size:12px;margin:12px 0 6px}
.match-summary p{font-size:11px;line-height:1.5}
.match-compromise{border-left:3px solid #102a56;background:#f7f9fc;padding:8px}
.listing-card>a{margin:auto 16px 16px;min-height:48px;display:flex;align-items:center;color:#2457f5;font-size:13px;font-weight:700}
.discovery-empty{overflow:hidden;border-radius:18px;background:#fff}
.discovery-empty>img{width:100%;height:220px;object-fit:cover}
.discovery-empty>div{padding:24px}
.discovery-empty span{color:#2457f5;font-size:12px;font-weight:650}
.discovery-empty h3{font-size:27px;margin:12px 0}
.discovery-empty p{font-size:13px;margin-bottom:16px}
.discovery-empty a{display:block;font-size:12px;min-height:48px;padding-top:12px}
.discovery-empty small{font-size:10px}
.discovery-panel>button{margin-top:12px;width:100%}
.seller-plan{background:#ffffff;padding:30px;min-height:100%;max-height:730px;overflow:auto}
.seller-plan h2{font-size:30px}
.seller-plan>p{font-size:13px;margin-bottom:16px}
.owner-workflow{list-style:none;margin:20px 0;padding:0}
.owner-workflow>li{display:grid;grid-template-columns:32px 1fr;gap:14px;padding:0 0 24px;position:relative}
.owner-workflow>li:not(:last-child)::before{content:'';position:absolute;left:15px;top:30px;bottom:0;width:1px;background:#e3e7ed}
.owner-dot{width:32px;height:32px;background:#f7f9fc;color:#102a56;display:grid;place-items:center;border-radius:50%;font-size:12px;font-weight:750}
.owner-workflow b{font-size:11px;color:#102a56}
.owner-workflow h3{font-size:20px;margin:8px 0}
.owner-workflow p{font-size:12px}
.owner-workflow label{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12px;min-height:40px}
.owner-workflow input{width:22px;min-height:22px;height:22px;accent-color:#102a56}

.anchor-target{display:block;position:relative;top:-84px}
.approach-section,.about-section{max-width:1200px;margin:0 auto;padding:48px 0}
.approach-steps{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.approach-steps li{display:flex;gap:14px;align-items:flex-start}
.approach-steps h3{font-size:18px;margin:0 0 6px}
.approach-steps p{font-size:13px;margin:0}
.about-section p{max-width:70ch;font-size:14px}
.home-base{max-width:1200px;margin:0 auto 32px;padding:28px 0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;border-top:1px solid #dce3ec}
.home-base h2{font-size:27px}
.home-base p{font-size:13px;margin-top:12px}
.home-base details{grid-column:1/-1;font-size:11px}
.home-base summary{cursor:pointer;min-height:40px;display:flex;align-items:center}
.home-base details p{max-width:900px;font-size:12px}
.product-footer{max-width:1360px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 12px 32px;color:#4a5568;font-size:12px}
.product-footer strong{color:#0a1f44;font-size:20px;letter-spacing:-.05em}
.product-footer small{font-size:10px}

@media(hover:hover){button:hover,.secondary:hover{box-shadow:0 4px 14px #0a1f4412}
.primary:hover{background:#1740c5}
.secondary:hover{background:#eef3fb;color:#0a1f44}
.text-button:hover{background:transparent;color:#2457f5}
}
button{transition:background .15s,transform .15s,box-shadow .15s}
button:active{transform:translateY(1px)}
.discovery-panel,.seller-plan{animation:scene-in .22s ease-out}
@keyframes scene-in{from{opacity:.5;transform:translateY(6px)}
to{opacity:1;transform:none}
}

@media(max-width:1400px){.project-canvas{margin-inline:24px}
.home-base{margin-inline:60px}
.launcher{padding:32px}
.launcher h1{font-size:38px}
.product-footer{margin-inline:24px}
}

@media(max-width:1000px){.project-canvas{grid-template-columns:1fr 1fr;min-height:640px}
.launcher{padding:26px}
.launcher h1{font-size:34px}
.life-gallery{grid-template-columns:1fr;min-height:650px}
.life-small{display:none}
.discovery-panel{padding:18px}
.discovery-panel #search-results{grid-template-columns:1fr}
.project-fields{grid-template-columns:1fr}
.home-base{margin-inline:24px}
.floating-note{left:14px;right:14px;top:16px}
}

@media(max-width:700px){.product-header{height:72px;padding:0 16px;gap:14px}
.product-brand{font-size:24px}
.product-header>a:nth-child(2){display:none}
.account-link{font-size:12px;padding:8px 12px}
.project-canvas{display:flex;flex-direction:column;background:transparent;border-radius:20px;margin:0 12px 32px;overflow:visible;box-shadow:none}
.discovery-canvas{order:-1;margin:0;height:180px;border-radius:18px;overflow:hidden}
.life-gallery{min-height:0;height:180px;grid-template-columns:1.2fr 1fr}
.life-small{display:block}
.life-gallery figcaption{display:none}
.life-gallery figure::after{inset:40% 0 0}
.floating-note{top:14px;left:14px;right:auto;padding:8px 12px;grid-template-columns:22px 1fr;max-width:250px;border-radius:10px}
.floating-note strong{font-size:11px}
.floating-note small{display:none}
.floating-note>span{font-size:20px;grid-row:1}
.ambient-label{bottom:25px;font-size:10px;left:14px;right:14px}
.ambient-label br{display:none}
.launcher{background:#fff;margin:-18px 8px 0;padding:20px;border-radius:18px;box-shadow:0 12px 30px #0a1f440a;z-index:2}
.launcher>.overline{display:none}
.launcher h1{font-size:29px;line-height:1.08}
.launcher h1 br{display:none}
.entry-subtitle{font-size:12px;margin:10px 0 16px;line-height:1.5}
.intent-tabs{margin-bottom:16px}
.intent-tabs button{font-size:16px}
.step-label{font-size:10px;margin-bottom:10px}
.launcher legend{font-size:20px;margin-bottom:12px}
.launcher label{font-size:12px}
.launcher input,.launcher select{min-height:48px}
.launcher small{font-size:10px;margin-bottom:14px}
.launcher .primary{font-size:13px}
.preview-link{font-size:11px;margin-top:10px;padding-top:8px;min-height:42px}
.project-fields{grid-template-columns:1fr 1fr;gap:10px}
.choice-chips{gap:5px;margin-bottom:12px}
.choice-chips span{padding:8px 9px;font-size:11px}
.project-canvas:has(.discovery-panel:not([hidden])) .discovery-canvas,.project-canvas:has(.seller-plan:not([hidden])) .discovery-canvas{order:2;height:auto;margin-top:16px;overflow:visible}
.project-canvas:has(.discovery-panel:not([hidden])) .launcher,.project-canvas:has(.seller-plan:not([hidden])) .launcher{margin-top:0}
.discovery-panel{max-height:none;border-radius:18px;padding:18px}
.discovery-panel h2{font-size:25px}
.discovery-empty>img{height:150px}
.discovery-empty>div{padding:20px}
.seller-plan{max-height:none;padding:22px;border-radius:18px}
.seller-plan h2{font-size:25px}
.owner-workflow h3{font-size:19px}
.approach-steps{grid-template-columns:1fr;margin:20px 20px 0}
.approach-section,.about-section{margin-inline:20px;padding:32px 0}
.home-base{margin:0 20px 16px;padding-top:24px;grid-template-columns:1fr;gap:16px}
.home-base h2{font-size:25px}
.home-base .secondary{justify-self:start;font-size:12px}
.product-footer{margin:0 20px;padding:20px 0 28px;flex-wrap:wrap;font-size:10px}
.product-footer small{font-size:9px;width:100%}
}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


.project-entry :focus-visible{outline:3px solid #2457f5;outline-offset:4px}
