/* Hanaotrano — white canvas / charcoal and terracotta. Shared across every public screen. */
:root{--ink:#242522;--bg:#fff;--paper:#fff;--white:#fff;--line:#e7e3de;--soft:#fcfaf7;--muted:#68665f;--orange:#a64930;--green:#a64930;--ui-radius:6px;--panel-radius:10px;--screen-header:80px;font-family:Arial,"Segoe UI",sans-serif;color:#242522;background:#fff}
body{background:#fff;color:var(--ink)}
body :is(h1,h2,h3,h4){font-family:Arial,"Segoe UI",sans-serif;font-weight:700;letter-spacing:-.035em}
body :is(button,input,select,textarea){font-family:Arial,"Segoe UI",sans-serif}
body :is(.primary,.nav-cta){background:var(--orange);border-color:var(--orange);color:white;font-weight:700;box-shadow:none}
body :is(.primary,.nav-cta):hover{background:#843a27;border-color:#843a27}
body .secondary{background:white;border:1px solid #d6d0c8;color:var(--ink)}
body .secondary:hover{border-color:var(--orange);color:var(--orange);background:#fcfaf7}
body :is(input,select,textarea){background:#fff;border-color:#d6d0c8;color:var(--ink)}
body input[type=range],body input[type=radio],body input[type=checkbox]{accent-color:var(--orange)}
body :is(input,select,textarea):focus-visible{outline:3px solid #dfbba9;outline-offset:2px}
body .eyebrow{font-family:Arial,"Segoe UI",sans-serif;font-weight:700;letter-spacing:.12em;color:var(--orange)}
body main{max-width:none;width:100%;padding-left:clamp(24px,4vw,80px);padding-right:clamp(24px,4vw,80px)}
.site-header{max-width:none;min-height:var(--screen-header);padding:16px clamp(24px,4vw,80px);background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:20}
.site-header .brand{font-weight:800;letter-spacing:-1.4px}.site-header .brand span{color:var(--orange)}
.site-nav a{font-size:15px;font-weight:600}.site-nav a[aria-current=page]{text-decoration:none;color:var(--orange)}
.site-nav .nav-cta[aria-current=page],.site-nav .nav-cta:hover{background:#843a27;border-color:#843a27}
/* Full-bleed editorial homepage. */
body .home-main{padding:0;--muted:#68665f;max-width:none}
.home-main>section{padding:clamp(56px,6vw,112px) clamp(24px,5vw,96px);margin:0;border-radius:0}
.home-main .home-hero{min-height:calc(100svh - var(--screen-header));padding:0;gap:0;grid-template-columns:1fr 1fr;align-items:stretch;border:0}
.home-copy{padding:clamp(36px,5vw,96px);display:flex;flex-direction:column;justify-content:center}
.home-copy h1{font-size:clamp(44px,4.8vw,88px);line-height:1.02;letter-spacing:-.055em;max-width:760px}
.home-main .home-intro{max-width:570px;font-size:20px;line-height:1.55}
.home-photo{margin:0;position:relative;min-height:650px;display:block;align-self:stretch}
.home-photo>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;border-radius:0}
.home-photo>figcaption{position:absolute;bottom:20px;right:24px;color:white;background:#242522b8;padding:6px 10px;border-radius:4px;font-size:11px}
.home-photo .photo-plan{left:-30px;bottom:48px;box-shadow:0 20px 60px #24252218;background:#fff;border:0}
.home-main .home-purpose{min-height:50svh;background:#fcfaf7;gap:8vw;align-items:center;border:0}
.home-main .start-section{min-height:90svh;display:grid;align-content:center;background:#fff}
.home-main .start-options{border:0;gap:24px;background:transparent;border-radius:0;overflow:visible}
.home-main .start-option{background:#fcfaf7;border:0;border-radius:12px;overflow:hidden;transition:transform .2s}
.home-main .start-option:hover{transform:translateY(-5px);background:#faf6f1}
.home-main .start-option img{height:clamp(240px,27vw,440px);object-fit:cover;width:100%}
.home-main .materials-section{min-height:85svh;background:#242522;color:white;gap:8vw}
.materials-section :is(h2,p){color:inherit}.materials-section .eyebrow{color:#e3b19b}.materials-section .materials-visual{background:#fff;border:0;box-shadow:none;color:#242522;padding:32px}
.home-main .understand-section{min-height:100svh;background:#fff;align-items:center;border:0}
.construction-animation svg{height:clamp(480px,65svh,800px);max-height:none}
.home-main .stage-ruler{border-color:var(--line)}.home-main .stage-ruler>*{background:#fcfaf7;border:0;border-radius:8px;padding:24px}
.home-main .pro-next-home{min-height:55svh;background:#fcfaf7;align-items:center;margin:0;border:0}
.home-main .home-honesty{padding:28px clamp(24px,5vw,96px);font-size:14px}
/* Estimate: plain white tables, no nested vertical scrolling. */
.page-devis .estimate-intro{padding:56px 0 32px}.page-devis .estimate-intro h1{font-size:clamp(36px,4vw,64px)}
.page-devis .workspace{gap:clamp(24px,4vw,72px);padding:32px 0;min-height:calc(100svh - 220px)}
.page-devis :is(.project-panel,.detail-card,.labor-controls,.total-card){background:#fff;border-color:var(--line);box-shadow:none}
.page-devis .journey-panel{background:#fcfaf7;border:0;padding:32px}
.page-devis .prototype{background:transparent;border:0;padding:12px 0;font-size:14px}
.page-devis .total-card{border:0;border-top:3px solid var(--orange);border-radius:0;padding:28px 0}
.page-devis .table-scroll{max-height:none;height:auto;overflow-y:visible;overflow-x:auto}
.page-devis table{background:#fff;border-collapse:collapse;width:100%}
.page-devis :is(thead th,.stage-title td,.phase-table th){background:#fff;color:var(--ink)}
.page-devis thead th{position:static;border-bottom:2px solid var(--ink);font-weight:700}
.page-devis .stage-title td{padding-top:28px;padding-bottom:14px;font-size:16px;color:var(--orange);border-bottom:2px solid #e8ded4}
.page-devis .phase-table tbody th{background:#fff}.page-devis .phase-table tbody tr{border-bottom:1px solid var(--line)}
.page-devis .phase-table tbody tr:hover :is(td,th){background:#fdfaf7}
.page-devis .phase-covered :is(th,td){background:#fcfaf7}
.page-devis .structure-total{background:#fcfaf7;border:0;border-radius:10px}
.page-devis :is(.materials-scope,.simple-assumptions,.surface-note){background:#fcfaf7;border:0}
.page-devis #material-details{border:0;border-top:1px solid var(--line);border-radius:0;padding:32px 0}
.page-devis :is(.materials-jump,.stages-jump){border-radius:6px}
.page-devis :is(.house-choice label:has(input:checked),.scope-options label:has(input:checked),.measurement-choice [aria-pressed=true]){background:#fcf4ee;border-color:var(--orange)}
/* Learn: 75/25 immersive canvas. Navigation remains in the right column. */
.page-guide main{padding:0 0 32px;max-width:none}
.page-guide .intro{padding:24px 32px 8px;display:flex;align-items:baseline;gap:24px}
.page-guide .intro .eyebrow{display:none}.page-guide .intro h1{font-size:clamp(26px,2.4vw,40px);margin:0;white-space:nowrap}
.page-guide .intro>p:last-child{font-size:14px;max-width:700px}
.page-guide .breadcrumbs{position:static;min-height:36px;padding:4px 32px;border-top:0;border-bottom:0;background:#fff;font:13px Arial,sans-serif}
.page-guide .explorer-top{padding:12px 32px 18px;border-bottom:1px solid var(--line)}
.page-guide #view-title{font-size:23px}.page-guide #view-subtitle{font-size:14px}
.page-guide .explorer{grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:0;align-items:start}
.page-guide .visual-column{min-width:0;background:#fff}
.page-guide .visual-card{border:0;border-radius:0;background:#fff;overflow:visible;min-height:calc(100svh - 240px);display:flex;flex-direction:column}
.page-guide .visual-toolbar{padding:14px 32px;border:0;background:#fff}
.page-guide .figure-area{height:clamp(390px,calc(100svh - 430px),1100px);padding:8px 28px;background:#fff;background-image:none;flex:1}
.page-guide .figure-area>svg,.page-guide #cut-area>svg{max-height:none;width:100%;height:100%}
.page-guide .figure-control{border:0;background:#fff;padding:14px 32px}
.page-guide .overview-controls{border:0;background:#fff;margin:0;padding:12px 32px;max-width:none}
.page-guide .figure-hint{font-size:13px;margin:8px 24px 12px}.page-guide .example-note{font-size:11px;padding:8px 32px;margin:0}
.page-guide .navigation-card{grid-column:2;grid-row:1;position:sticky;top:16px;max-height:none;height:auto;min-height:calc(100svh - 240px);background:#fcfaf7;border:0;border-left:1px solid #e8ded4;border-radius:0}
.page-guide .navigation-heading{background:#fcfaf7;padding:20px 24px;border:0}
.page-guide .navigation-heading h3{font-size:18px;line-height:1.35}.page-guide .navigation-heading .eyebrow{font:700 11px Arial,sans-serif;color:var(--orange)}
.page-guide .navigation-heading .dock-back{font-size:14px;min-height:40px;color:var(--orange)}
.page-guide #navigation,.page-guide #view-options{overflow:visible;max-height:none}
.page-guide #view-groups{border:0;padding:0 16px 10px;gap:4px;flex-wrap:wrap}
.page-guide #view-groups button{background:transparent;color:var(--muted);font:600 13px Arial,sans-serif;border:0;box-shadow:none}
.page-guide #view-groups button[aria-pressed=true]{background:#fff;color:var(--orange);border:0;box-shadow:none}
.page-guide #view-options .nav-item{padding:10px 20px;min-height:42px;border:0;background:transparent;box-shadow:none;border-radius:0}
.page-guide #view-options .nav-item:hover{background:#f7eee6}
.page-guide #view-options .selected{background:#fff;color:var(--orange);border:0;box-shadow:none}
.page-guide #view-options .nav-copy strong{font-size:14px;line-height:1.35}.page-guide #view-options .nav-number{font-family:Arial,sans-serif;color:var(--orange)}
.page-guide .step-pager button{background:#fff;border:1px solid #d6d0c8;border-radius:6px;width:44px;height:44px}
.page-guide .step-pager>span{font:14px Arial,sans-serif}.page-guide .reading-panel{grid-column:1;grid-row:2;padding:40px 48px;margin:0;border-top:1px solid var(--line);background:#fff}
.page-guide .timeline,.page-guide main>footer{margin:32px;padding:20px 0}.page-guide .reading-layout{gap:40px}
/* Planning, handoff and account share the same white / charcoal vocabulary. */
.page-plan :is(.inspiration-preview,.drawing-panel,.preferences,.needs-form),.page-plan-advanced :is(.drawing-panel,.wall-inspector,.drawing-frame),.professional-illustration,.professional-form,.account-form,.account-project{background:#fff;border-color:var(--line)}
body :is(.professional-hero,.professional-workspace){gap:6vw}.professional-hero{min-height:calc(100svh - 160px);align-items:center}
body :is(.professional-main,.account-main){max-width:none}.professional-illustration{padding:40px;background:#fcfaf7}
body :is(.professional-stages,.professional-explanation,.account-hero){background:#fcfaf7;border:0}
@media(min-width:1500px){.page-guide .figure-area{min-height:calc(100svh - 430px)}.page-guide #view-options .nav-item{min-height:46px}}
@media(max-width:1050px){:root{--screen-header:144px}.site-header{padding:16px 24px}.home-copy{padding:40px 28px}.home-photo{min-height:560px}.page-guide .intro{display:block}.page-guide .intro>p:last-child{margin-top:10px}.page-guide .navigation-heading{padding:16px}.page-guide #view-options .nav-item{padding:10px 12px}.page-guide #view-options .nav-copy strong{font-size:13px}.page-guide .figure-area{height:clamp(360px,55svh,760px)}}
@media(max-width:700px){body main{padding-left:20px;padding-right:20px}.home-main .home-hero{grid-template-columns:1fr;min-height:0}.home-copy{padding:40px 24px}.home-copy h1{font-size:46px}.home-photo{min-height:68svh}.home-photo .photo-plan{left:20px;bottom:24px}.home-main>section{padding:56px 24px}.home-main .home-purpose,.home-main .materials-section,.home-main .understand-section{min-height:0;gap:36px}.construction-animation svg{height:480px}.home-main .start-section{min-height:0}.home-main .stage-ruler>*{padding:18px}.page-devis .journey-panel{padding:24px 16px}.page-devis .workspace{padding-top:20px}.page-devis .estimate-intro{padding:36px 0 20px}.page-guide .intro{padding:24px 20px 8px}.page-guide .intro h1{white-space:normal;font-size:30px}.page-guide .intro>p:last-child{font-size:14px}.page-guide .breadcrumbs{padding:8px 20px}.page-guide .explorer-top{padding:12px 20px}.page-guide .explorer{display:flex;flex-direction:column}.page-guide .visual-column{width:100%;order:1}.page-guide .navigation-card{position:static;order:0;width:100%;min-height:0;border:0}.page-guide .navigation-heading{padding:14px 20px}.page-guide .navigation-heading h3{font-size:16px}.page-guide .visual-card{min-height:0}.page-guide .figure-area{height:55svh;min-height:340px;padding:12px}.page-guide .visual-toolbar,.page-guide .figure-control,.page-guide .overview-controls{padding:12px 20px}.page-guide .reading-panel{order:2;padding:32px 20px;width:100%}.page-guide .timeline,.page-guide main>footer{margin:20px}.professional-hero{min-height:0;padding:40px 0}.professional-illustration{padding:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media print{body{background:white;color:black}.site-header{position:static}.home-main .home-hero,.professional-hero{min-height:0}.page-guide .explorer{display:block}.page-guide .navigation-card{display:none}.page-guide .figure-area{height:500px}.page-devis .table-scroll{overflow:visible;max-height:none}.page-devis thead{display:table-header-group}}
/* Explicit viewport sizing prevents intrinsic SVG ratios from stretching the canvas. */
body.page-index:has(.photo-hero){background:#fff}
.home-main .home-hero .home-primary{background:var(--orange);border-color:var(--orange)}
.home-main .home-hero .home-primary:hover{background:#843a27}
@media(min-width:701px){
.page-guide .visual-card{height:calc(100svh - 300px);min-height:460px;overflow:hidden}
.page-guide .figure-area{position:relative;flex:1 1 0;height:auto;min-height:0;overflow:hidden}
.page-guide .figure-area>svg,.page-guide #cut-area{position:absolute;inset:8px 28px;width:calc(100% - 56px);height:calc(100% - 16px);max-height:none}
.page-guide #cut-area>svg{width:100%;height:100%}
.page-guide .visual-card>:not(.figure-area){flex-shrink:0}
}
@media(max-width:700px){.page-guide .figure-area{position:relative;flex:none}.page-guide .figure-area>svg,.page-guide #cut-area{position:absolute;inset:12px;width:calc(100% - 24px);height:calc(100% - 24px)}}
body.page-devis:has(.journey-panel){background:#fff}
.page-devis .area-choices button[aria-pressed=true]{background:#fcf4ee;border-color:var(--orange)}
.page-devis .phase-summary{background:#fcfaf7;color:var(--ink)}
.page-guide .intro{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:701px){.page-guide .visual-card{height:calc(100svh - 188px);min-height:460px}.page-guide .navigation-card{min-height:calc(100svh - 188px)}}
/* Size the learning canvas against the actual header, including the tablet menu. */
@media(min-width:701px){.page-guide .visual-card{height:calc(100svh - var(--guide-top,208px));min-height:400px}.page-guide .navigation-card{min-height:calc(100svh - var(--guide-top,208px))}}

/* Refined proportions: quiet surfaces, charcoal actions, warmer small accents. */
body .primary,.site-nav .nav-cta,.home-main .home-hero .home-primary{background:#242522;border-color:#242522;color:#fff}
body .primary:hover,.site-nav .nav-cta:hover,.site-nav .nav-cta[aria-current=page],.home-main .home-hero .home-primary:hover{background:#44463d;border-color:#44463d}
.site-header .brand span{color:#a64930}.site-nav a{font-weight:500}.site-nav a[aria-current=page]{color:#242522;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}
.home-main .home-hero{grid-template-columns:46% 54%;padding:28px 32px 40px 0;min-height:calc(100svh - 80px);background:#fff}
.home-copy{padding:48px clamp(32px,4vw,80px)}
.home-copy h1{font-size:clamp(44px,4.1vw,72px);font-weight:600;line-height:1.08;letter-spacing:-.05em;margin-bottom:28px}
.home-copy h1 span{color:#a64930}.home-main .home-intro{font-size:19px;max-width:460px;line-height:1.6}
.home-copy .eyebrow{font-size:12px;letter-spacing:.13em;color:#68665f}
.home-photo{min-height:640px;border-radius:10px;overflow:visible}
.home-photo>img{border-radius:10px;object-position:55% center}
.home-photo .photo-plan{left:-24px;bottom:32px;border:1px solid #eee9e2;box-shadow:0 10px 32px #24252212;width:170px;padding:14px}
.home-main .home-hero .home-primary{width:fit-content;min-width:230px;gap:24px;padding:16px 24px;font-size:17px}
.home-main .home-purpose{background:#fff;border-top:1px solid #eee9e2;border-bottom:1px solid #eee9e2;min-height:40svh}
.home-main .start-option{background:#fff;border:1px solid #eee9e2;border-radius:8px}
.home-main .start-option:hover{background:#fff;box-shadow:0 16px 40px #2425220d}
.home-main .materials-section{background:#fcfaf7;color:#242522}
.materials-section .eyebrow{color:#a64930}.materials-section .materials-visual{background:#fff;border:1px solid #eee9e2}
.home-main .stage-ruler>*{background:#fff;border:1px solid #eee9e2}
.home-main .pro-next-home{background:#fcfaf7;border-top:1px solid #eee9e2}
.page-guide .navigation-card,.page-guide .navigation-heading{background:#fff}
.page-guide .navigation-card{border-left:1px solid #eee9e2}
.page-guide #view-options .selected{background:#fcf4ee;color:#a64930}
.page-guide #view-groups button[aria-pressed=true]{background:#fcf4ee;color:#a64930}
.page-guide .navigation-heading h3{font-size:17px;font-weight:600}
.page-devis .journey-panel{background:#fff;border:1px solid #eee9e2}
.page-devis .phase-summary{background:#fff;border:1px solid #e7e3de}
@media(max-width:1050px){.home-main .home-hero{padding:24px 24px 32px 0}.home-copy{padding:36px 28px}.home-photo{min-height:580px}}
@media(max-width:700px){.home-main .home-hero{grid-template-columns:1fr;padding:0 20px 32px;min-height:0}.home-copy{padding:36px 4px 32px}.home-copy h1{font-size:44px}.home-photo{min-height:58svh}.home-photo .photo-plan{left:16px;bottom:20px;width:140px}.home-main .home-hero .home-primary{width:100%;font-size:17px}.home-photo>figcaption{font-size:10px;right:12px;bottom:8px}.home-main .home-purpose{min-height:0}}
