*,*::before,*::after{box-sizing:border-box}
:root{--fg:#1d2330;--muted:#5b6475;--accent:#0b5fff;--bg:#fff;--soft:#f3f5f9;--line:#dde2ea}
html{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--fg);background:var(--bg);line-height:1.6}
body{margin:0}
a{color:var(--accent)}
.wrap{max-width:46rem;margin:0 auto;padding:0 1rem}
.site-header{border-bottom:1px solid var(--line);padding:.75rem 0}
.site-header .wrap{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.site-name{font-weight:700;text-decoration:none;color:var(--fg)}
.site-nav a{margin-left:1rem}
main{padding:1.5rem 0 3rem}
h1{line-height:1.2}
.meta{color:var(--muted);font-size:.9rem}
.article-list{list-style:none;padding:0}
.article-list li{padding:1rem 0;border-bottom:1px solid var(--line)}
.article-list h3{margin:0 0 .25rem}
.cg-slot{margin:1.5rem 0;padding:1rem;background:var(--soft);border:1px solid var(--line);border-radius:.5rem}
.cg-slot .disclosure{font-size:.85rem;color:var(--muted);margin:.5rem 0 0}
.house-ad{text-align:center;color:var(--muted)}
.lead-form label{display:block;margin:.5rem 0 .25rem}
.lead-form input[type=email],.lead-form input[type=text],.lead-form input[type=tel]{width:100%;padding:.5rem;border:1px solid var(--line);border-radius:.25rem}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
button{margin-top:.75rem;padding:.5rem 1rem;border:0;border-radius:.25rem;background:var(--accent);color:#fff;font:inherit;cursor:pointer}
.lead-thanks{display:none;font-weight:600}
.lead-thanks:target{display:block}
.calc{display:grid;gap:.75rem;max-width:24rem}
.calc label{display:block;font-weight:600}
.calc input{width:100%;padding:.5rem;border:1px solid var(--line);border-radius:.25rem;font:inherit}
.calc-results{margin-top:1.5rem;display:grid;grid-template-columns:auto 1fr;gap:.25rem 1rem}
.calc-results dt{color:var(--muted)}
.calc-results dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
.site-footer{border-top:1px solid var(--line);padding:1rem 0;color:var(--muted);font-size:.85rem}
/* theme: rig rules */
.skip-link{position:absolute;left:-10000px;top:0;z-index:100;padding:.5rem 1rem;background:var(--bg);color:var(--fg)}
.skip-link:focus{left:1rem;top:1rem}
.site-logo{height:1.5em;width:auto;vertical-align:middle}
img{max-width:100%;height:auto}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* content: figures and tables */
.site-hero{display:block;max-width:100%;height:auto;margin:1rem 0;border-radius:.5rem}
.article-body img{max-width:100%;height:auto}
.article-body figure{margin:1.5rem 0}
.article-body figure img{display:block;margin:0 auto;border-radius:.25rem}
.article-body figcaption{margin-top:.5rem;color:var(--muted);font-size:.9rem;text-align:center}
.table-wrap{overflow-x:auto;margin:1.5rem 0}
.table-wrap:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.table-wrap table{border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:.25rem;width:100%;font-size:.95rem;font-variant-numeric:tabular-nums}
.table-wrap th,.table-wrap td{padding:.5rem .75rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.table-wrap thead th{background:var(--soft);font-weight:600;white-space:nowrap}
.table-wrap thead tr:first-child th:first-child{border-top-left-radius:.2rem}
.table-wrap thead tr:first-child th:last-child{border-top-right-radius:.2rem}
.table-wrap tbody tr:last-child td{border-bottom:0}
.table-wrap .align-center{text-align:center}
.table-wrap .align-right{text-align:right}
@media (max-width:40rem){.table-wrap table{font-size:.875rem}.table-wrap th,.table-wrap td{padding:.4rem .5rem}}
/* collections: cards and related reads */
.card-list{list-style:none;padding:0;margin:1rem 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:1rem}
.card-list .card{border:1px solid var(--line);border-radius:.5rem;padding:1rem;background:var(--soft)}
.card-list .card h2,.card-list .card h3{margin:0 0 .35rem;font-size:1.05rem}
.card-list .card p{margin:.25rem 0}
.collection-section{margin:2rem 0}
.related{margin:2rem 0 0;padding:1rem;border-top:2px solid var(--line)}
.related h2{margin:0 0 .5rem;font-size:1.1rem}
.related ul{margin:0;padding-left:1.25rem}
/* theme: site css */
:root{--bg:#e6d3ab;--ink:#2a1a14;--muted:#5a4332;--edge:#7a5f4a;--terra:#8a3414;--terra2:#6f2a10;--soft:#f3e8cf;--cream:#fbf4e4;--tone:#d4bd8c;--deep:#2a1a14;--r:.75rem;--ease:cubic-bezier(.23,1,.32,1);--head:Charter,"Bitstream Charter","Sitka Text",Cambria,Georgia,serif;--body:Verdana,Tahoma,"Segoe UI",sans-serif}
html{-webkit-text-size-adjust:100%;background:var(--bg)}
body{font-size:1.18rem;line-height:1.7}
h1{font-size:2.6rem;line-height:1.1}
h2{font-size:1.9rem;line-height:1.2}
h3{font-size:1.45rem;line-height:1.25}
body.cg-theme{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:1.18rem;line-height:1.7;margin:0}
body.cg-theme .wrap{max-width:72rem;margin:0 auto;padding-left:1.25rem;padding-right:1.25rem}
:where(body.cg-theme .wrap){padding-top:2rem;padding-bottom:2rem}
body.cg-theme a{color:var(--terra);text-underline-offset:.2em;text-decoration-thickness:2px}
body.cg-theme a:focus-visible,body.cg-theme button:focus-visible,body.cg-theme input:focus-visible,body.cg-theme select:focus-visible,body.cg-theme summary:focus-visible{outline:4px solid var(--ink);outline-offset:3px}
body.cg-theme h1,body.cg-theme h2,body.cg-theme h3{font-family:var(--head);color:var(--ink);font-weight:700;line-height:1.1;letter-spacing:-.015em;text-wrap:balance}
body.cg-theme h1{font-size:clamp(2.6rem,7.5vw,4.9rem);margin:0 0 1.2rem}
body.cg-theme h2{font-size:clamp(1.8rem,4.2vw,2.6rem);margin:2.2em 0 .6em;line-height:1.15}
body.cg-theme h3{font-size:1.5rem;margin:1.6em 0 .5em}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{background:var(--terra);color:var(--cream)}
.site-header,.site-footer{border:0;box-shadow:none;outline:0}
.site-header{background:var(--soft);padding:0}
.site-header .wrap{padding-top:.9rem;padding-bottom:.9rem}
.head-inner{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem .75rem}
.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none;min-width:0;flex:1 1 auto}
body.cg-theme .site-header .brand{color:var(--ink);text-decoration:none}
.brand-logo{flex:none;border-radius:.6rem;width:44px;height:44px}
.brand-name{font-family:var(--head);font-weight:700;font-size:1.1rem;line-height:1.15;min-width:0}
.site-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.5rem;flex:0 1 auto;margin-left:auto}
body.cg-theme .site-nav a{display:inline-block;min-height:48px;line-height:48px;padding:0 1rem;border-radius:var(--r);font-weight:700;color:var(--cream);background:var(--terra);text-decoration:none;white-space:nowrap;transition:transform .16s var(--ease),background-color .16s var(--ease)}
body.cg-theme .site-nav a:active{transform:scale(.97)}
@media(hover:hover) and (pointer:fine){body.cg-theme .site-nav a:hover{background:var(--terra2)}}
@media(max-width:36rem){.brand{flex:1 1 100%}.site-nav{flex:1 1 100%;justify-content:flex-start;gap:.4rem}body.cg-theme .site-nav a{min-height:44px;line-height:44px;padding:0 .8rem;font-size:1rem}}
@media(min-width:48rem){.brand-logo{width:52px;height:52px}.brand-name{font-size:1.35rem}body.cg-theme .site-nav a{padding:0 1.2rem}}
.hero{display:grid;gap:2.5rem;align-items:center;padding-top:2.5rem;padding-bottom:3rem}
.lede{font-size:1.35rem;max-width:34rem;margin:0 0 1.5rem}
.hero-note{margin:1.2rem 0 0;max-width:34rem;color:var(--muted)}
.hero-pic{position:relative;margin:0;line-height:0;max-width:24rem;width:100%;isolation:isolate}
.hero-pic::before{content:"";position:absolute;z-index:-1;inset:1.2rem -1.2rem -1.2rem 1.2rem;background:var(--terra);border-radius:var(--r)}
.hero-pic .crop{aspect-ratio:3/4;border-radius:var(--r)}
.crop-hero img{width:275%;left:-20.6%;top:-18.6%}
.btn-go,body.cg-theme a.btn-go{display:inline-block;min-height:56px;line-height:56px;padding:0 2.2rem;background:var(--terra);color:var(--cream);font-weight:700;font-size:1.2rem;border-radius:var(--r);text-decoration:none;transition:transform .16s var(--ease),background-color .16s var(--ease)}
body.cg-theme a.btn-go:active{transform:scale(.97)}
@media(hover:hover) and (pointer:fine){body.cg-theme a.btn-go:hover{background:var(--terra2)}}
@media(min-width:56rem){.hero{grid-template-columns:1.25fr 1fr;gap:4.5rem}.hero-pic{justify-self:center;max-width:25rem}}
.home-tools{padding-top:1rem;padding-bottom:1rem}
.tool-card{display:flex;flex-wrap:wrap;gap:1.2rem;align-items:center;justify-content:space-between;background:var(--soft);color:var(--ink);border-radius:var(--r);padding:2rem;text-decoration:none;transition:transform .18s var(--ease),background-color .18s var(--ease)}
body.cg-theme a.tool-card{color:var(--ink);text-decoration:none}
.tool-card-text{display:flex;flex-direction:column;gap:.3rem;max-width:42rem}
.tool-card strong{font-family:var(--head);font-size:1.8rem;line-height:1.2}
.tool-card-go{background:var(--terra);color:var(--cream);font-weight:700;border-radius:var(--r);padding:.8em 1.5em}
.tool-card:active{transform:scale(.99)}
@media(hover:hover) and (pointer:fine){.tool-card:hover{background:var(--cream)}}
.rooms{padding-top:3.5rem;padding-bottom:2.5rem}
.rooms h2{margin-top:0}
.room-grid{display:grid;gap:1.5rem}
.room{background:var(--soft);border-radius:var(--r);padding:1rem 1rem 1.5rem}
.room h3{margin:1.1rem .5rem .4rem}
.room p{margin:0 .5rem}
.crop{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:calc(var(--r) - .2rem);background:var(--tone)}
.crop img{position:absolute;display:block;max-width:none;height:auto;border-radius:0}
.crop img.fill{inset:0;width:100%;height:100%;object-fit:cover}
.crop-stairs img{width:212.1%;left:-87%;top:-56.2%}
.crop-ramp img{width:206.2%;left:-53%;top:-53.7%}
@media(min-width:48rem){.room-grid{grid-template-columns:repeat(3,1fr)}}
.band{background:var(--deep);color:var(--cream);margin:2rem 0}
.steps{padding-top:3.5rem;padding-bottom:3.5rem}
body.cg-theme .band h2{color:var(--cream);margin-top:0}
.step-list{list-style:none;margin:0;padding:0;display:grid;gap:1rem;counter-reset:s}
.step-list li{counter-increment:s;background:#43291d;border-radius:var(--r);padding:1.4rem 1.5rem;margin:0}
.step-list li::before{content:counter(s);display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:50%;background:#e08a5c;color:var(--deep);font-family:var(--head);font-weight:700;font-size:1.5rem;margin-bottom:.8rem}
.step-list strong{display:block;font-family:var(--head);font-size:1.4rem;line-height:1.2;margin-bottom:.3rem;color:var(--cream)}
.step-list span{color:#ecdcb8;font-size:1.05rem;line-height:1.5;display:block}
@media(min-width:48rem){.step-list{grid-template-columns:repeat(4,1fr)}}
.home-guides{padding-top:2rem;padding-bottom:3rem}
.card-grid{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fill,minmax(18rem,1fr))}
.card{display:block;background:var(--soft);border-radius:var(--r);padding:1.7rem;transition:transform .18s var(--ease),background-color .18s var(--ease)}
body.cg-theme a.card{color:var(--ink);text-decoration:none}
.card:first-child{grid-column:1/-1;padding:2.2rem;background:var(--cream)}
.card:first-child h3{font-size:2rem}
.card h3{margin:0 0 .5rem;color:var(--terra)}
.card p{margin:0}
.card-more{display:inline-block;margin-top:1rem;font-weight:700;color:var(--cream);background:var(--terra);border-radius:var(--r);padding:.5em 1.2em}
.card:active{transform:scale(.99)}
@media(hover:hover) and (pointer:fine){.card:hover{transform:translateY(-3px);background:var(--cream)}}
.article-wrap{padding-top:2.5rem;padding-bottom:4rem}
.article-head{margin-bottom:.5rem}
.page-wrap{max-width:48rem;padding-top:2.5rem;padding-bottom:4rem}
.prose{max-width:calc(68ch + 1rem)}
.article-wrap .prose{max-width:none}
.article-wrap .prose>*{min-width:0}
.article-wrap .prose>p,.article-wrap .prose>ul,.article-wrap .prose>ol{max-width:68ch}
.prose img{max-width:100%;height:auto;border-radius:var(--r)}
.prose figure{margin:1.5rem 0}
.prose figure img,.prose .photo img{margin:0;display:block}
.prose details{background:var(--soft);border-radius:var(--r);padding:1.2rem 1.5rem;margin:1.5rem 0;max-width:68ch}
.prose :is(nav,.toc,aside.toc){background:var(--soft);color:var(--ink);border-radius:var(--r);padding:1.2rem 1.4rem;margin:1.5rem 0;max-width:68ch;text-align:left;font-size:1.05rem;line-height:1.45}
.prose :is(nav,.toc) *{margin-left:0;padding-left:0;text-indent:0}
.prose :is(nav,.toc) :is(ol,ul){list-style:none;margin:0;padding:0}
.prose :is(nav,.toc) li{margin:0;padding:0}
.prose :is(nav,.toc) li::marker{content:""}
.prose :is(nav,.toc) li :is(ol,ul){margin:0}
.prose :is(nav,.toc) a{display:block;padding:.4rem 0;margin:0}
.prose :is(nav,.toc) :is(h2,h3,h4,p,strong,span):first-child{display:block;margin:0 0 .3rem;padding:0;font-family:var(--head);font-size:1.25rem;font-weight:700;line-height:1.2;color:var(--ink)}
@media(min-width:64rem){.article-wrap .prose{padding-right:21rem}.article-wrap .prose :is(nav,.toc,aside.toc){float:right;width:18rem;box-sizing:border-box;margin:0 -21rem 1.5rem 3rem;position:sticky;top:1.5rem;max-width:none;max-height:calc(100vh - 3rem);overflow:auto}.article-wrap .prose>:is(p,ul,ol,blockquote,.callout,details,aside:not(.toc)){max-width:none}.article-wrap .prose>:is(table,figure,img,.table-wrap){max-width:100%}}
.prose blockquote,.prose .callout,.prose aside:not(.toc){background:var(--soft);color:var(--ink);border-radius:var(--r);margin:2rem 0;padding:1.4rem 1.7rem;max-width:68ch}
.prose blockquote p:first-child,.prose aside p:first-child{margin-top:0}
.prose blockquote p:last-child,.prose aside p:last-child{margin-bottom:0}
.prose .table-wrap,.table-wrap{box-sizing:border-box;margin:2rem 0;padding:.6rem 1.25rem;overflow-x:auto;background:var(--soft);border-radius:var(--r);max-width:100%}
.prose table{margin:2rem 0;font-size:1.05rem;line-height:1.4;font-variant-numeric:tabular-nums;border-radius:var(--r);background:var(--soft)}
.prose .table-wrap table,.table-wrap table{display:table;margin:0;background:transparent;min-width:30rem}
.prose caption{caption-side:top;text-align:left;padding:.8em 1em;font-family:var(--head);font-weight:700}
.prose li{margin:.3rem 0}
.meta,.muted,small,figcaption,.note{color:var(--muted)}
.tool-wrap{padding-top:2.5rem;padding-bottom:4rem}
.tool-panel{background:var(--cream);color:var(--ink);border-radius:var(--r);padding:1.75rem;max-width:none}
.tool-panel output{display:block;font-variant-numeric:tabular-nums;font-size:2.6rem;font-family:var(--head);font-weight:700}
body.cg-theme table{border-collapse:collapse;width:100%}
body.cg-theme th,body.cg-theme td{padding:.85em 1em;text-align:left}
body.cg-theme th{background:var(--tone);color:var(--ink);font-family:var(--head)}
body.cg-theme tr:nth-child(even) td{background:#ece0c4;color:var(--ink)}
.tool-panel table{background:var(--soft)}
body.cg-theme button,body.cg-theme .button,body.cg-theme input[type=submit]{min-height:52px;padding:.7em 1.5em;font:inherit;font-size:1.1rem;font-weight:700;background:var(--terra);color:var(--cream);border:0;border-radius:var(--r);cursor:pointer;transition:transform .16s var(--ease),background-color .16s var(--ease)}
body.cg-theme button:active{transform:scale(.97)}
@media(hover:hover) and (pointer:fine){body.cg-theme button:hover{background:var(--terra2)}}
body.cg-theme input,body.cg-theme select,body.cg-theme textarea{min-height:52px;font:inherit;font-size:1.1rem;padding:.5em .8em;border:3px solid var(--edge);border-radius:.5rem;background:var(--cream);color:var(--ink)}
body.cg-theme label{font-weight:700}
.site-footer{background:var(--deep);color:var(--bg);margin-top:0}
.site-footer .wrap{padding-top:3rem;padding-bottom:2.5rem}
.site-footer a{color:var(--bg)}
.foot-name{font-family:var(--head);font-weight:700;font-size:clamp(2rem,6vw,3.2rem);line-height:1.1;margin:0 0 .6rem;color:var(--cream)}
.foot-rail{display:block;width:100%;max-width:18rem;height:.65rem;background:#c8693c;border-radius:var(--r);margin:0 0 1.2rem}
@media(prefers-reduced-motion:no-preference){.hero-text,.hero-pic{animation:rise .5s var(--ease) both}.hero-pic{animation-delay:.08s}.room,.card,.step-list li{animation:rise .45s var(--ease) both}.room:nth-child(2),.card:nth-child(2),.step-list li:nth-child(2){animation-delay:.06s}.room:nth-child(3),.card:nth-child(3),.step-list li:nth-child(3){animation-delay:.12s}.card:nth-child(n+4),.step-list li:nth-child(4){animation-delay:.18s}@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}*::marker{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}*::backdrop{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}*::placeholder{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}*::file-selector-button{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}*::details-content{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}::view-transition-group(*){animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}::view-transition-image-pair(*){animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}::view-transition-old(*){animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}::view-transition-new(*){animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}*::scroll-marker{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}*::scroll-marker-group{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}*::scroll-button(*){animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}*::column{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}*::column::scroll-marker{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}*::before::marker{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}*::after::marker{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-timeline:auto!important;transition:none!important;scroll-behavior:auto!important}}
