/* Expressive layer: local icons, centred navigation and architectural motion. */
:root {
    --motion-ease: cubic-bezier(.2, .75, .25, 1);
}
.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}
.site-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    vertical-align: middle;
}
.site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    padding: 0 3vw;
    height: 84px;
    background: var(--surface);
    box-shadow: 0 3px 24px rgb(24 51 64 / 5%);
    transition: box-shadow .3s, background .3s;
    z-index: 20;
}
.site-header.is-scrolled {
    box-shadow: 0 8px 30px rgb(24 51 64 / 14%);
}
.brand { justify-self: start; }
.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px 12px 12px 3px;
    transition: transform .35s var(--motion-ease), border-radius .35s;
}
.brand-mark:hover { transform: rotate(-8deg); border-radius: 50%; }
.main-nav {
    justify-self: center;
    margin: 0;
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 50px;
    background: var(--cream);
}
.main-nav > a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    border-radius: 30px;
    font-size: .82rem;
    font-weight: 700;
    transition: color .2s, background .2s, transform .2s;
}
.main-nav .site-icon { width: 17px; height: 17px; }
.main-nav > a[aria-current="page"] {
    background: #1d7775;
    color: white;
    box-shadow: 0 3px 10px rgb(29 119 117 / 20%);
}
.main-nav > a:hover { background: var(--surface); transform: translateY(-2px); }
.main-nav > a[aria-current="page"]:hover { background: #155d5b; color: white; }
.header-tools { justify-self: end; align-items: center; gap: 8px; order: initial; }
.text-control, .icon-button {
    width: 40px;
    padding: 8px;
    border-radius: 50%;
    transition: background .2s, transform .3s;
}
.text-control:hover, .icon-button:hover { background: var(--cream); }
.icon-button:hover .site-icon { transform: rotate(35deg); }
.icon-button .site-icon { transition: transform .4s; }
.profile-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #d9e9e3;
    color: #183340;
    border: 2px solid var(--surface);
    outline: 1px solid var(--line);
    position: relative;
    cursor: pointer;
    list-style: none;
    transition: transform .25s, box-shadow .25s;
}
.profile-button .site-icon { width: 25px; height: 25px; }
.profile-button:hover, .account-menu[open] .profile-button {
    transform: translateY(-2px);
    box-shadow: 0 0 0 4px rgb(29 119 117 / 15%);
}
.profile-button::-webkit-details-marker { display: none; }
.profile-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #1d7775;
    border: 2px solid var(--surface);
    border-radius: 50%;
    right: 0;
    bottom: 1px;
}
.account-menu { position: relative; }
.account-popover {
    position: absolute;
    right: 0;
    top: 58px;
    width: 230px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    animation: menu-arrive .2s var(--motion-ease);
}
.account-popover strong { display: block; padding: 4px 8px 12px; overflow-wrap: anywhere; }
.account-popover a, .account-popover button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    text-align: left;
}
.account-popover a:hover, .account-popover button:hover { background: var(--cream); }
.hero {
    min-height: 710px;
    padding: 90px 8vw;
    align-items: center;
    isolation: isolate;
}
.hero::before {
    background-image: linear-gradient(90deg, rgb(11 34 39 / 92%), rgb(11 34 39 / 26%)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=85');
    animation: hero-breathe 18s ease-in-out infinite alternate;
    z-index: -2;
}
.hero-content { max-width: 760px; }
.hero h1 { font-size: clamp(3rem, 5.3vw, 5.5rem); letter-spacing: -.045em; line-height: 1.06; }
.hero .eyebrow { color: #9be2cd; font-size: .76rem; font-weight: 700; letter-spacing: .2em; }
.hero-content > * { animation: hero-arrive .9s var(--motion-ease) both; }
.hero-content > :nth-child(2) { animation-delay: .1s; }
.hero-content > :nth-child(3) { animation-delay: .2s; }
.hero-content > :nth-child(4) { animation-delay: .3s; }
.hero-blueprint {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
    background-image: linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(90deg, transparent 35%, black);
}
.hero-blueprint span { position: absolute; width: 360px; height: 360px; right: 5%; top: 16%; border: 1px solid rgb(188 232 209 / 32%); transform: rotate(30deg); }
.hero-blueprint span:nth-child(2) { width: 300px; height: 300px; right: 7%; top: 20%; transform: rotate(45deg); }
.hero-blueprint span:nth-child(3) { width: 240px; height: 240px; right: 9%; top: 24%; transform: rotate(60deg); }
.hero-stamp {
    position: absolute;
    right: 6vw;
    bottom: 70px;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: 50%;
    background: rgb(18 48 52 / 55%);
    color: #f5f0e8;
    animation: stamp-float 6s ease-in-out infinite;
}
.hero-stamp span { font-size: .58rem; letter-spacing: .15em; }
.hero-stamp strong { font-family: Georgia, serif; font-size: 3.4rem; line-height: 1.2; }
.design-ribbon {
    display: flex;
    justify-content: center;
    gap: 6vw;
    padding: 25px 24px;
    background: #183340;
    color: #e0eae0;
    border-bottom: 4px solid #c56d52;
}
.design-ribbon > span { display: flex; align-items: center; gap: 12px; font-size: .86rem; font-weight: 600; }
.design-ribbon .site-icon { color: #83d3c9; }
.page h1, .section h2 { letter-spacing: -.035em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 25px; height: 2px; background: currentColor; flex-shrink: 0; }
.primary, .secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    transition: transform .25s var(--motion-ease), box-shadow .25s, background .25s;
}
.primary { box-shadow: 0 6px 18px rgb(29 119 117 / 15%); }
.primary:hover { background: #155d5b; color: white; box-shadow: 0 10px 25px rgb(29 119 117 / 25%); transform: translateY(-3px); }
.secondary:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgb(24 51 64 / 10%); }
.primary:active, .secondary:active { transform: translateY(0) scale(.98); }
.primary .site-icon, .secondary .site-icon, .text-button .site-icon { transition: transform .25s; }
.primary:hover .site-icon, .text-button:hover .site-icon { transform: translateX(3px); }
.home-card, .team-card, .step { border-radius: 16px; transition: transform .4s var(--motion-ease), box-shadow .4s, border-color .3s; }
.home-card { position: relative; }
.home-card > img { transition: transform .7s var(--motion-ease), filter .7s; }
.home-card .card-body { position: relative; background: var(--surface); padding: 28px; }
.home-card h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.home-card .card-top { align-items: center; font-weight: 700; }
.specs > span { display: inline-flex; align-items: center; gap: 7px; }
.specs .site-icon { color: var(--teal); width: 19px; height: 19px; }
.step { padding: 28px; border-top: 3px solid var(--teal); }
.step > .site-icon { width: 38px; height: 38px; color: var(--teal); display: block; margin: 12px 0 24px; }
.step > span { float: right; font-size: .78rem; opacity: .75; }
.step b { font-size: 1.15rem; }
.stat-row { border-radius: 14px; overflow: hidden; }
.stat { position: relative; }
.stat > .site-icon { position: absolute; right: 20px; top: 20px; width: 27px; height: 27px; color: var(--teal); opacity: .5; }
.stat strong { font-size: 2.8rem; }
input, select, textarea { transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgb(29 119 117 / 10%); }
.reveal-ready { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--motion-ease), transform .65s var(--motion-ease); }
.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .home-card:hover, .team-card:hover { transform: translateY(-7px); box-shadow: 0 22px 48px rgb(24 51 64 / 16%); border-color: var(--teal); }
    .home-card:hover > img { transform: scale(1.045); filter: saturate(1.08); }
}
@keyframes hero-breathe { from { transform: scale(1); } to { transform: scale(1.055); } }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes stamp-float { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-9px) rotate(0deg); } }
@keyframes menu-arrive { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
    .site-header { gap: 12px; padding: 0 20px; }
    .main-nav > a { padding: 10px; gap: 5px; }
    .hero-stamp { width: 115px; height: 115px; right: 4vw; bottom: 35px; }
    .hero-stamp strong { font-size: 2.6rem; }
    .hero-content { max-width: 680px; }
}
@media (max-width: 900px) {
    .site-header { display: flex; justify-content: space-between; height: 76px; }
    .header-tools { margin-left: auto; gap: 4px; }
    .menu-toggle { display: grid; place-items: center; margin: 0; padding: 10px; }
    .main-nav { display: none; top: 76px; left: 12px; right: 12px; border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; animation: menu-arrive .2s var(--motion-ease); }
    .main-nav > a { border-radius: 8px; padding: 12px; }
    .hero { min-height: 670px; padding: 65px 7vw; }
    .hero h1 { font-size: clamp(2.8rem, 6.5vw, 4.2rem); }
    .hero-stamp { display: none; }
    .design-ribbon { gap: 25px; }
    .design-ribbon > span { font-size: .74rem; gap: 7px; }
}
@media (max-width: 600px) {
    .site-header { padding: 0 12px; gap: 8px; }
    .brand { font-size: .9rem; gap: 7px; }
    .brand-mark { width: 32px; height: 36px; }
    .brand small { font-size: .58rem; }
    .header-tools { gap: 0; }
    .text-control, .icon-button { width: 34px; }
    .profile-button { width: 38px; height: 38px; margin: 0 5px; }
    .hero { min-height: 650px; padding: 58px 24px; }
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1rem; }
    .hero-blueprint { opacity: .5; }
    .design-ribbon { gap: 18px; flex-wrap: wrap; padding: 22px; justify-content: flex-start; }
    .design-ribbon > span { font-size: .8rem; }
    .home-card .card-body { padding: 23px; }
    .step { padding: 20px; }
    .account-popover { right: -40px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal-ready { opacity: 1; transform: none; }
}
.motion-toggle {
    position: absolute;
    bottom: 18px;
    right: 24px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 40%);
    border-radius: 50%;
    color: white;
    background: rgb(18 48 52 / 60%);
}
.motion-toggle:hover, .motion-toggle[aria-pressed="true"] { background: #1d7775; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after {
    animation: none !important;
    transition: none !important;
}
.motion-paused .reveal-ready { opacity: 1; transform: none; }

/* One editorial showcase, with four selectable home models. */
.home-showcase {
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 24px 64px rgb(24 51 64 / 12%);
}
.showcase-stage { display: grid; touch-action: pan-y; }
.showcase-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-width: 0;
    transition: opacity .6s var(--motion-ease), visibility .6s;
}
.showcase-slide[hidden] { display: none; }
.home-showcase.is-enhanced .showcase-slide:not(.is-active) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.showcase-image { position: relative; overflow: hidden; min-height: 490px; background: #183340; }
.showcase-image > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform 1.1s var(--motion-ease); }
.showcase-slide:not(.is-active) .showcase-image > img { transform: scale(1.045); }
.showcase-image::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgb(12 36 39 / 65%)); pointer-events: none; }
.showcase-edition { position: absolute; top: 24px; left: 24px; display: flex; gap: 16px; align-items: center; border: 1px solid rgb(255 255 255 / 50%); border-radius: 50px; padding: 8px 14px; color: white; background: rgb(24 51 64 / 65%); font-size: .64rem; letter-spacing: .16em; }
.showcase-edition b { font-size: 1rem; }
.showcase-image-note { position: absolute; bottom: 24px; left: 24px; z-index: 1; color: white; font-size: .72rem; letter-spacing: .05em; }
.showcase-copy { padding: 42px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.showcase-copy h3 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.3rem, 3.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; margin: 12px 0 20px; }
.showcase-copy .eyebrow { font-size: .64rem; }
.showcase-description { color: var(--muted); margin: 0; }
.showcase-copy .specs { gap: 16px; padding: 22px 0; margin: 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.showcase-price { margin: 22px 0; }
.showcase-price > span { display: block; color: var(--muted); font-size: .75rem; margin-bottom: 5px; }
.showcase-price strong { display: block; color: var(--teal); font-size: clamp(1.2rem, 1.6vw, 1.5rem); letter-spacing: -.025em; }
.showcase-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.showcase-actions a { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; }
.showcase-controls { display: flex; justify-content: space-between; border-top: 1px solid var(--line); background: var(--surface); }
.showcase-controls[hidden] { display: none; }
.showcase-selectors { display: grid; grid-template-columns: repeat(4, 1fr); flex: 1; }
.showcase-selector { position: relative; text-align: left; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); padding: 22px 18px; font-size: .74rem; font-weight: 600; transition: color .25s, background .25s; }
.selector-number { display: block; font-size: .61rem; letter-spacing: .12em; margin-bottom: 5px; opacity: .7; }
.showcase-selector::before { content: ''; position: absolute; height: 3px; top: 0; left: 0; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.showcase-selector.is-active::before { transform: scaleX(1); }
.showcase-selector.is-active { background: var(--cream); color: var(--teal); }
.showcase-selector:hover { color: var(--ink); background: var(--cream); }
.showcase-navigation { display: flex; gap: 8px; align-items: center; padding: 16px; }
.showcase-counter { font-size: .7rem; color: var(--muted); white-space: nowrap; padding-right: 6px; }
.showcase-counter b { color: var(--ink); font-size: .95rem; }
.showcase-arrow, .showcase-play { display: grid; place-items: center; width: 42px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); transition: background .2s, color .2s; }
.showcase-arrow:hover, .showcase-play:hover { background: #1d7775; color: white; }
.showcase-arrow[data-carousel="previous"] .site-icon { transform: rotate(180deg); }
.showcase-play { width: 32px; border-color: transparent; }
.showcase-play .play-glyph { display: none; }
.home-showcase.is-paused .pause-glyph { display: none; }
.home-showcase.is-paused .play-glyph { display: inline; }
.showcase-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1100px) {
    .showcase-copy { padding: 30px; }
    .showcase-controls { flex-wrap: wrap; }
    .showcase-selectors { min-width: 100%; }
    .showcase-navigation { width: 100%; justify-content: flex-end; border-top: 1px solid var(--line); padding: 10px 18px; }
}
@media (max-width: 760px) {
    .showcase-slide { grid-template-columns: 1fr; }
    .showcase-image { min-height: 300px; }
    .showcase-copy { padding: 28px; }
    .showcase-copy h3 { font-size: 2.65rem; }
    .showcase-selector { padding: 16px 10px; font-size: .65rem; }
    .showcase-counter { margin-right: auto; }
}
@media (max-width: 430px) {
    .home-showcase { border-radius: 18px; }
    .showcase-image { min-height: 250px; }
    .showcase-copy { padding: 24px; }
    .showcase-copy h3 { font-size: 2.3rem; }
    .showcase-selectors { grid-template-columns: repeat(2, 1fr); }
    .showcase-selector { padding: 13px 16px; border-bottom: 1px solid var(--line); }
}
.section-heading > .text-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Architectural editorial direction. Shared tokens keep all existing journeys coherent. */
:root { --cream: #f3f1e9; --surface: #fffef9; --ink: #233b31; --muted: #626d65; --teal: #32644d; --terracotta: #986245; --line: #dcded3; }
body.dark-theme { --cream: #192720; --surface: #23362c; --ink: #f3f1e9; --muted: #bec9c0; --teal: #a1d0b2; --terracotta: #dfad8d; --line: #43594b; }
.site-header { box-shadow: none; }
.main-nav { border: 0; background: transparent; }
.main-nav > a[aria-current="page"] { background: var(--cream); color: var(--ink); box-shadow: none; }
.primary { background: #32644d; box-shadow: none; }
.primary:hover { background: #244b39; }
.eyebrow { color: var(--terracotta); }
.skip-link { position: fixed; left: 20px; top: -100px; padding: 12px 20px; background: var(--surface); color: var(--ink); z-index: 100; border: 2px solid var(--teal); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
#main-content:focus { outline: none; }
.editorial-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 660px; padding: 0; background: var(--cream); color: var(--ink); overflow: hidden; }
.editorial-hero::before { display: none; }
.editorial-hero .hero-content { padding: 64px clamp(24px, 5vw, 88px); max-width: none; }
.editorial-hero .hero-content > * { animation: none; }
.editorial-hero h1 { font-size: clamp(3rem, 4.6vw, 5rem); line-height: 1.08; font-weight: 600; margin: 26px 0; letter-spacing: -.045em; max-width: 660px; }
.editorial-hero .eyebrow { color: var(--terracotta); font-size: .68rem; }
.editorial-hero p { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.editorial-hero .actions { align-items: center; gap: 24px; margin-top: 32px; }
.editorial-hero .text-button { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.hero-footnote { display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 48px; font-size: .72rem; color: var(--muted); }
.hero-footnote > span:first-child { color: var(--ink); letter-spacing: .1em; white-space: nowrap; }
.hero-visual { position: relative; margin: 0; height: 100%; min-height: 660px; background: #374c3b; }
.hero-visual img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 58% center; }
.hero-visual::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #14271dde); }
.hero-visual figcaption { position: absolute; left: 36px; bottom: 32px; right: 24px; z-index: 1; color: white; font-size: .72rem; letter-spacing: .13em; }
.hero-visual small { display: block; letter-spacing: 0; opacity: .85; margin-top: 8px; font-size: .7rem; }
.design-ribbon { background: #253e31; border: 0; padding: 22px 24px; }
.design-ribbon .site-icon { color: #c5d6b1; }
.section, .page { max-width: 1360px; padding-top: 80px; padding-bottom: 80px; }
.section-heading { margin-bottom: 36px; }
.section h2, .page h1 { font-weight: 600; }
.home-showcase { border-radius: 3px; box-shadow: none; }
.showcase-copy { padding: 44px; }
.showcase-edition { border-radius: 2px; }
/* Give the elevated surface breathing room on every side. */
.steps-grid { margin-top: 28px; gap: 20px; }
.step {
    position: relative;
    background: transparent;
    border: 1px solid transparent;
    border-top-color: var(--line);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: none;
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s var(--motion-ease);
}
@media (hover: hover) {
    .step:hover {
        background: var(--surface);
        border-color: var(--line);
        box-shadow: 0 6px 14px rgb(24 51 40 / 5%), 0 20px 38px -12px rgb(24 51 40 / 22%);
    }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .step:hover { transform: translateY(-4px); }
}
.step p { color: var(--muted); font-size: .9rem; }
.step > .site-icon { width: 30px; height: 30px; }
.living-feature { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:0; max-width:none; padding:0; background:var(--cream); color:var(--ink); }
.living-feature-photo { position:relative; min-height:540px; margin:0; overflow:hidden; }
.living-feature-photo img { display:block; width:100%; height:100%; position:absolute; inset:0; object-fit:cover; }
.living-feature-photo figcaption { position:absolute; left:28px; bottom:24px; padding:9px 12px; background:rgb(29 50 40 / 78%); color:#fff; font-size:.7rem; }
.living-feature-copy { align-self:center; padding:72px clamp(32px,7vw,112px); }
.living-feature-copy h2 { max-width:560px; margin:22px 0; font-size:clamp(2.5rem,4vw,4.5rem); line-height:1.1; letter-spacing:-.04em; }
.living-feature-copy > p:not(.eyebrow) { max-width:480px; color:var(--muted); line-height:1.8; margin-bottom:30px; }
@media(max-width:760px) { .living-feature { grid-template-columns:1fr; } .living-feature-photo { min-height:340px; } .living-feature-copy { padding:48px 24px 56px; } }
.quick-estimate { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:center; gap:clamp(36px,6vw,90px); overflow-x:clip; }
.quick-estimate-intro h2 { max-width:480px; font-size:clamp(2.5rem,4vw,4.3rem); line-height:1.1; letter-spacing:-.04em; }
.quick-estimate-intro > p:last-child { max-width:430px; color:var(--muted); line-height:1.8; }
.quick-estimate-panel { padding:30px; border:1px solid var(--line); border-radius:20px; background:var(--surface); box-shadow:0 18px 50px -42px rgb(35 59 49 / 35%); }
.quick-estimate-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.quick-estimate-form label { margin:0; font-size:.82rem; font-weight:700; }
.quick-estimate-form label:first-child { grid-column:1 / -1; }
.quick-estimate-form input,.quick-estimate-form select { width:100%; margin-top:8px; }
.quick-estimate-result { display:flex; flex-direction:column; grid-column:1 / -1; gap:7px; padding:24px; border-radius:12px; background:#253e31; color:#fff; }
.quick-estimate-result > span { color:#d3bb9f; font-size:.67rem; font-weight:700; letter-spacing:.15em; }
.quick-estimate-result strong { font-family:'Playfair Display',Georgia,serif; font-size:clamp(1.8rem,2.8vw,3rem); font-weight:500; line-height:1.2; }
.quick-estimate-result small { color:#d5ded5; line-height:1.5; }
.quick-estimate-guide { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; grid-column:1 / -1; padding:0 4px; }
.quick-estimate-guide > span { color:var(--muted); font-size:.78rem; }
.quick-estimate-guide strong { color:var(--ink); font-size:.9rem; }
.quick-estimate-guide small { flex-basis:100%; color:var(--muted); line-height:1.55; }
.calculator-guide { margin:12px 0; color:var(--muted); font-size:.78rem; }
.calculator-guide strong { color:var(--ink); }
.calculator-guide small { display:block; margin-top:4px; line-height:1.5; }
.quick-estimate-form button { grid-column:1 / -1; justify-self:start; }
@media(max-width:900px) { .quick-estimate { grid-template-columns:1fr; } }
@media(max-width:520px) { .quick-estimate-panel { padding:20px; } .quick-estimate-form { grid-template-columns:1fr; } .quick-estimate-form label:first-child,.quick-estimate-result,.quick-estimate-form button { grid-column:1; } }
.section.why-dwellbuilt { max-width:none; padding:88px 5vw 94px; background:#253e31; color:#fff; }
.why-dwellbuilt-inner { max-width:1200px; margin:auto; }
.why-dwellbuilt-heading { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr); column-gap:70px; align-items:end; padding-bottom:42px; border-bottom:1px solid rgb(255 255 255 / 25%); }
.why-dwellbuilt-heading .eyebrow { grid-column:1 / -1; color:#d3bb9f; }
.why-dwellbuilt-heading h2 { max-width:680px; margin:14px 0 0; font-size:clamp(2.8rem,4.5vw,5rem); line-height:1.08; letter-spacing:-.04em; }
.why-dwellbuilt-heading > p:last-child { max-width:350px; margin:0 0 7px; color:#d7e1d7; line-height:1.75; }
.why-dwellbuilt-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,4vw,64px); padding-top:38px; }
.why-dwellbuilt-grid article > span { color:#d3bb9f; font-size:.7rem; font-weight:700; letter-spacing:.16em; }
.why-dwellbuilt-grid h3 { margin:20px 0 10px; font-family:'Playfair Display',Georgia,serif; font-size:clamp(1.55rem,2.1vw,2.2rem); font-weight:500; }
.why-dwellbuilt-grid p { max-width:340px; margin:0; color:#d7e1d7; line-height:1.7; }
@media(max-width:760px) { .section.why-dwellbuilt { padding:60px 24px; } .why-dwellbuilt-heading { grid-template-columns:1fr; gap:18px; } .why-dwellbuilt-heading > p:last-child { max-width:550px; } .why-dwellbuilt-grid { grid-template-columns:1fr; gap:26px; } .why-dwellbuilt-grid article + article { padding-top:26px; border-top:1px solid rgb(255 255 255 / 20%); } .why-dwellbuilt-grid h3 { margin-top:12px; } }
.section.home-finale { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr); align-items:stretch; max-width:1200px; margin:80px auto; padding:0; background:var(--surface); border:1px solid var(--line); border-radius:24px; overflow:hidden; }
.home-finale-copy { padding:clamp(40px,6vw,88px); }
.home-finale-copy h2 { max-width:680px; margin:22px 0; font-size:clamp(2.6rem,4.4vw,4.8rem); line-height:1.08; letter-spacing:-.045em; }
.home-finale-copy > p:not(.eyebrow) { max-width:530px; color:var(--muted); line-height:1.8; }
.home-finale-actions { display:flex; flex-wrap:wrap; align-items:center; gap:24px; margin-top:32px; }
.home-finale-brand { display:flex; flex-direction:column; justify-content:center; align-items:center; min-height:500px; padding:38px 28px; overflow:hidden; color:#f7f4e9; text-align:center; background-color:#214236; background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px),radial-gradient(circle at 72% 24%,#3a6851 0,transparent 45%); background-size:32px 32px,32px 32px,100% 100%; }
.home-finale-brand-kicker { color:#e1b48e; font-size:.64rem; font-weight:700; letter-spacing:.18em; }
.home-finale-drawing { width:min(100%,360px); height:auto; margin:18px 0 0; overflow:visible; fill:none; stroke:#c5d9c0; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.home-finale-drawing .drawing-roof { stroke:#e1b48e; stroke-width:3.2; }
.home-finale-drawing .drawing-ground { stroke:#8cae9a; }
.home-finale-wordmark { position:relative; display:flex; align-items:baseline; margin-top:-10px; font-size:clamp(2.6rem,4.2vw,4.3rem); line-height:1; letter-spacing:-.06em; white-space:nowrap; text-shadow:0 3px 12px #17382dbb; }
.home-finale-wordmark span { font-family:'Playfair Display',Georgia,serif; font-weight:500; }
.home-finale-wordmark strong { color:#f0c4a3; font-family:Arial,sans-serif; font-size:.82em; font-weight:800; letter-spacing:-.07em; }
.home-finale-brand-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; width:min(100%,320px); margin-top:26px; padding-top:14px; border-top:1px solid #c5d9c066; color:#d5e4d5; font-size:.64rem; letter-spacing:.08em; }
.home-finale-brand-footer span:last-child { color:#e1b48e; font-weight:700; letter-spacing:.13em; }
@keyframes finale-draw { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
@media(prefers-reduced-motion:no-preference) { .home-finale-brand.is-visible .home-finale-drawing path { stroke-dasharray:1; animation:finale-draw 2.4s ease-out both; } .home-finale-brand.is-visible .home-finale-drawing path:nth-child(2) { animation-delay:.4s; } .home-finale-brand.is-visible .home-finale-drawing path:nth-child(3) { animation-delay:.8s; } .home-finale-brand.is-visible .home-finale-drawing path:nth-child(4) { animation-delay:1.15s; } }
@media(max-width:760px) { .section.home-finale { grid-template-columns:1fr; margin:52px 22px; } .home-finale-copy { padding:44px 28px; } .home-finale-brand { min-height:370px; padding:34px 22px; } .home-finale-drawing { max-width:300px; } .home-finale-wordmark { margin-top:-8px; font-size:clamp(2.65rem,9vw,3.7rem); } }
.collection-page > h1 { max-width: 850px; }
.collection-intro { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 36px 0 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .75rem; letter-spacing: .08em; }
.collection-intro a { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0; }
.catalog-grid { gap: 32px; }
.home-card { border-radius: 3px; box-shadow: none; }
.catalog-card .card-image-link { display:block; overflow:hidden; }
.catalog-card .card-image-link img { display:block; width:100%; height:clamp(340px,30vw,440px); object-fit:cover; transition:transform .7s var(--motion-ease); }
.catalog-card:hover .card-image-link img { transform:scale(1.035); }
.catalog-card .card-body { padding:24px 28px 26px; }
.catalog-card .card-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.catalog-card h2 { margin:0; font-size:clamp(1.8rem,3vw,2.5rem); }
.catalog-card h2 a { color:inherit; text-decoration:none; }
.catalog-card h2 a:hover, .catalog-card h2 a:focus-visible { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:5px; }
.catalog-card .card-price { margin:8px 0 0; color:var(--teal); font-weight:700; }
.price-guide-label { margin:24px 0 0; color:var(--muted); font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.home-detail .detail-visual .reference-note { margin:10px 0 0; font-size:.72rem; }
.home-detail .detail-utility { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:30px; }
.home-detail .detail-back { display:inline-flex; align-items:center; gap:9px; color:var(--teal); font-size:.82rem; font-weight:700; text-decoration:none; }
.home-detail .detail-back:hover, .home-detail .detail-back:focus-visible { text-decoration:underline; text-underline-offset:4px; }
.home-detail .detail-back > span:first-child { font-size:1.25rem; line-height:1; }
.home-detail .detail-title-row { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.home-detail .detail-title-row h1 { margin:10px 0; }
.home-detail .detail-favourite { display:grid; place-items:center; width:40px; height:40px; padding:0; border:1px solid var(--line); border-radius:50%; background:var(--surface); color:var(--ink); font-size:1.35rem; cursor:pointer; }
.home-detail .detail-favourite:hover, .home-detail .detail-favourite:focus-visible { color:var(--terracotta); border-color:currentColor; }
.home-detail .detail-compare { display:inline-flex; align-items:center; gap:7px; font-size:.82rem; }
.home-detail .detail-actions { gap:12px; margin-top:24px; }
.home-detail .detail-actions a { display:inline-flex; align-items:center; gap:8px; }
.home-detail .detail-build-notes { margin-top:30px; padding-top:20px; border-top:1px solid var(--line); color:var(--muted); font-size:.9rem; }
.home-detail .detail-build-notes p { margin:0 0 10px; }
.home-detail .detail-build-notes strong { color:var(--ink); }
@media(max-width:760px) { .home-detail .detail-utility { margin:22px 0 28px; } .home-detail .detail-actions a { justify-content:center; } }
.catalog-card .card-heading button { width:44px; height:44px; border:1px solid var(--line); border-radius:50%; background:transparent; color:var(--ink); font-size:1.4rem; cursor:pointer; }
.catalog-card .specs { margin:20px 0 0; gap:12px 22px; }
.design-details { margin: 0 0 24px; color: var(--muted); font-size: .85rem; }
.design-details summary { cursor: pointer; padding: 8px 0; color: var(--ink); }
.design-details p { margin: 10px 0; }
.home-card .detail-actions { gap: 10px; }

.home-card .detail-actions a { font-size: .8rem; }
.panel, .form-card, .estimate-card { border-radius: 8px; box-shadow: none; }
.estimate-card { border-top: 4px solid #32644d; }
input, select, textarea { border-radius: 5px; }
.site-footer { background: #1d3228; padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 1050px) {
    .editorial-hero { min-height: 600px; }
    .editorial-hero .hero-content { padding: 44px 30px; }
    .editorial-hero h1 { font-size: 3.3rem; }
    .hero-visual { min-height: 600px; }
}
@media (max-width: 760px) {
    .editorial-hero { grid-template-columns: 1fr; }
    .editorial-hero .hero-content { padding: 44px 24px 32px; }
    .editorial-hero h1 { font-size: clamp(2.7rem, 8vw, 3.8rem); max-width: 540px; }
    .hero-footnote { margin-top: 32px; padding-top: 18px; }
    .hero-visual { min-height: 340px; }
    .hero-visual figcaption { left: 24px; bottom: 24px; }
    .section, .page { padding-top: 52px; padding-bottom: 52px; }
    .showcase-copy { padding: 28px; }
    .design-ribbon { gap: 16px; }
    .catalog-card .card-image-link img { height:320px; }
}
@media (max-width: 430px) {
    .editorial-hero .actions { gap: 18px; }
    .hero-footnote { gap: 12px; font-size: .66rem; }
    .collection-intro { align-items: start; flex-direction: column; }
    .catalog-card .card-body { padding:22px; }
    .catalog-card .specs { gap:10px; font-size:.78rem; }
    .catalog-card .specs .site-icon { width:16px; height:16px; }
    .home-showcase { border-radius: 3px; }
}

/* Direction-aware header: preserve document space while sliding out of view. */
.site-header { transition: transform .3s var(--motion-ease), box-shadow .3s, background .3s; }
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.site-header:focus-within { transform: translateY(0); }

/* Scroll position drives opacity in both directions without moving the layout. */
.scroll-fade { opacity: var(--scroll-opacity, 1); }
.scroll-fade:focus-within, .motion-paused .scroll-fade { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .scroll-fade { opacity: 1; }
}
@media print {
    .scroll-fade { opacity: 1; }
}

/* Word wrappers preserve a single accessible heading and the original translation nodes. */
.motion-text-source { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.motion-word { display: inline-block; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .step > .site-icon { transition: transform .35s var(--motion-ease); }
    .step:hover > .site-icon { transform: translateY(-3px) rotate(-4deg); }
}

/* Budget Studio — scoped to the calculator. */
.calculator-studio { --studio-lime: #d5f58a; padding-top: 56px; }
.calculator-intro { max-width: 850px; margin-bottom: 44px; }
.calculator-intro h1 { font-family: 'DM Sans', sans-serif; font-weight: 700; letter-spacing: -.065em; font-size: clamp(2.5rem, 4.7vw, 4.6rem); max-width: 800px; }
.calculator-intro .eyebrow { color: var(--teal); }
.calculator-studio .calculator-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; }
.calculator-studio .calculator-form { gap: 24px; }
.calculator-studio .calc-block { min-width: 0; margin: 0; padding: 28px; border: 1px solid var(--line); background: var(--surface); border-radius: 22px; }
.calculator-studio .calc-block h2, .calculator-studio legend { font-family: 'DM Sans', sans-serif; font-size: 1.12rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.4; }
.calculator-studio .calc-block h2 { margin: 0 0 24px; display: flex; align-items: center; gap: 12px; }
.calculator-studio .calc-block h2 > span:first-child, .calc-number { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--studio-lime); color: #253e31; font-size: .75rem; letter-spacing: 0; flex-shrink: 0; }
.calculator-studio legend { padding: 0 8px; }
.calculator-studio .room-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calculator-studio label { font-size: .83rem; }
.calculator-studio input, .calculator-studio select { padding: 14px; border-radius: 10px; background: var(--cream); }
.calculator-studio .upgrade-grid { gap: 10px; grid-template-columns: 1fr 1fr; }
.calculator-studio .check-label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 12px; border-radius: 12px; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.calculator-studio .check-label input { width: 17px; height: 17px; flex-shrink: 0; accent-color: #32644d; margin: 0; }
.calculator-studio .check-label small { display: block; color: var(--muted); font-size: .7rem; margin-top: 3px; font-variant-numeric: tabular-nums; }
.calculator-studio .check-label:has(input:checked) { background: #e7f4d4; border-color: #32644d; color: #253e31; box-shadow: inset 0 0 0 1px #32644d; }
.calculator-studio .check-label:has(input:checked) small { color: #446348; }
.calculator-studio .check-label:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 3px; }
.calculator-studio .upgrade-hint { color: var(--muted); font-size: .8rem; margin: 0 0 20px; }
.calculator-studio .calc-save { display: flex; justify-content: space-between; border-radius: 14px; background: #253e31; padding: 18px 24px; }
.calculator-studio .save-hint { color: var(--muted); font-size: .75rem; text-align: center; margin: -12px 0 0; }
.calculator-studio .estimate-card { position: sticky; top: 105px; background: #253e31; color: #f6f7ed; border: 0; border-radius: 26px; padding: 32px; box-shadow: 0 22px 45px -22px #253e3170; }
.calculator-studio .estimate-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.calculator-studio .estimate-top .eyebrow { color: #d5f58a; font-size: .65rem; }
.calculator-studio .live-badge { border: 1px solid #71896e; border-radius: 30px; padding: 5px 10px; font-size: .58rem; letter-spacing: .08em; color: #d5f58a; }
.calculator-studio .live-badge::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 6px; }
.calculator-studio .total { font-family: 'DM Sans', sans-serif; font-size: clamp(2rem, 3vw, 3rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.2; color: #d5f58a; margin: 24px 0 14px; font-variant-numeric: tabular-nums; }
.calculator-studio .estimate-card .muted { color: #c4d1c4; font-size: .78rem; }
.calculator-studio .cost-strip { display: flex; gap: 4px; height: 12px; margin: 30px 0; overflow: hidden; border-radius: 8px; }
.calculator-studio .cost-strip span { flex-basis: 0; transition: flex-grow .35s ease; }
.calculator-studio .cost-strip span:nth-child(1) { background: #d5f58a; }
.calculator-studio .cost-strip span:nth-child(2) { background: #b7a4ed; }
.calculator-studio .cost-strip span:nth-child(3) { background: #f3bfa0; }
.calculator-studio .cost-strip span:nth-child(4) { background: #85cec8; }
.calculator-studio .cost-strip span:nth-child(5) { background: #e6dfb5; }
.calculator-studio .cost-strip span:nth-child(6) { background: #f09eaf; }
.calculator-studio .breakdown-title { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; margin: 0; }
.calculator-studio .breakdown { border-color: #496052; margin-top: 16px; }
.calculator-studio .breakdown > div { border-color: #496052; gap: 12px; padding: 14px 0; font-size: .78rem; }
.calculator-studio .breakdown b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.calculator-studio .breakdown > div > span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #d5f58a; margin-right: 8px; }
.calculator-studio .breakdown > div:nth-child(2) > span::before { background: #b7a4ed; }
.calculator-studio .breakdown > div:nth-child(3) > span::before { background: #f3bfa0; }
.calculator-studio .breakdown > div:nth-child(4) > span::before { background: #85cec8; }
.calculator-studio .breakdown > div:nth-child(5) > span::before { background: #e6dfb5; }
.calculator-studio .breakdown > div:nth-child(6) > span::before { background: #f09eaf; }
@media (max-width: 900px) {
    .calculator-studio .calculator-grid { grid-template-columns: 1fr; }
    .calculator-studio .estimate-card { position: static; }
}
@media (max-width: 430px) {
    .calculator-studio .calc-block, .calculator-studio .estimate-card { padding: 22px 18px; }
    .calculator-studio .check-label { padding: 12px 8px; gap: 8px; }
    .calculator-studio .calc-block h2, .calculator-studio legend { font-size: 1rem; }
}

/* Ambient canvas for Budget Studio only; controls remain above the decoration. */
.calculator-studio {
    position: relative;
    isolation: isolate;
    background-image: radial-gradient(circle at 1px 1px, rgb(65 96 65 / 12%) 1px, transparent 0);
    background-size: 24px 24px;
}
.calculator-studio::before, .calculator-studio::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: -1;
    border-radius: 50%;
    filter: blur(50px);
}
.calculator-studio::before {
    width: min(65%, 650px);
    height: 520px;
    top: 0;
    right: 0;
    background: radial-gradient(ellipse, rgb(183 225 91 / 65%), transparent 70%);
    animation: studio-glow 14s ease-in-out infinite alternate;
}
.calculator-studio::after {
    width: min(65%, 650px);
    height: 620px;
    left: 0;
    top: 34%;
    background: radial-gradient(ellipse, rgb(167 140 229 / 48%), transparent 70%);
    animation: studio-glow 18s ease-in-out infinite alternate-reverse;
}
.calculator-studio .calculator-intro { position: relative; }
.calculator-studio .calculator-intro .eyebrow {
    display: inline-flex;
    padding: 8px 13px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: 0 4px 14px rgb(35 59 49 / 4%);
}
.dark-theme .calculator-studio { background-image: radial-gradient(circle at 1px 1px, rgb(188 216 166 / 12%) 1px, transparent 0); }
.dark-theme .calculator-studio::before, .dark-theme .calculator-studio::after { opacity: .55; }
@keyframes studio-glow {
    from { transform: translateY(-20px) scale(.92); opacity: .8; }
    to { transform: translateY(38px) scale(1.04); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .calculator-studio::before, .calculator-studio::after { animation: none; }
}
@media (max-width: 600px) {
    .calculator-studio::before, .calculator-studio::after { filter: blur(28px); }
}
@media print {
    .calculator-studio { background: none; }
    .calculator-studio::before, .calculator-studio::after { display: none; }
}
.calculator-studio .studio-motion { position: static; float: right; margin: 12px 0 12px 16px; width: 38px; height: 38px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.calculator-studio .studio-motion:hover, .calculator-studio .studio-motion[aria-pressed="true"] { background: var(--studio-lime); color: #253e31; }
/* Contain the blurred canvas without creating a scroll container for the sticky total. */
.calculator-studio { overflow: clip; }

.calculator-studio .studio-motion { display: inline-flex; align-items: center; gap: 10px; width: auto; min-height: 40px; padding: 8px 14px; border-radius: 30px; font-size: .72rem; }
.studio-motion .motion-play-label, .studio-motion .motion-reduced-label { display: none; }
.studio-motion[aria-pressed="true"] .motion-pause-label { display: none; }
.studio-motion[aria-pressed="true"] .motion-play-label { display: inline; }
/* Freeze at the current frame instead of removing and restarting the glow. */
@media (prefers-reduced-motion: no-preference) {
    .motion-paused .calculator-studio::before { animation: studio-glow 14s ease-in-out infinite alternate !important; animation-play-state: paused !important; }
    .motion-paused .calculator-studio::after { animation: studio-glow 18s ease-in-out infinite alternate-reverse !important; animation-play-state: paused !important; }
}
@media (prefers-reduced-motion: reduce) {
    .studio-motion .motion-pause-label, .studio-motion .motion-play-label { display: none; }
    .studio-motion .motion-reduced-label { display: inline; }
}

/* Shared atmospheric canvas. Solid surfaces keep text and data crisp. */
.ambient-page {
    --ambient-a: 183 225 91;
    --ambient-b: 167 140 229;
    position: relative;
    isolation: isolate;
    overflow: clip;
    background-image: radial-gradient(circle at 1px 1px, rgb(65 96 65 / 10%) 1px, transparent 0);
    background-size: 28px 28px;
}
.ambient-page[data-ambient="collection"] { --ambient-a: 125 201 167; --ambient-b: 188 170 235; }
.ambient-page[data-ambient="welcome"] { --ambient-a: 239 190 144; --ambient-b: 166 195 228; }
.ambient-page[data-ambient="workspace"] { --ambient-a: 166 206 171; --ambient-b: 162 184 213; }
.ambient-page::before, .ambient-page::after {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    width: min(80%, 900px);
    height: 800px;
    border-radius: 50%;
    filter: blur(45px);
    animation: ambient-drift 18s ease-in-out infinite alternate;
}
.ambient-page::before { top: -120px; right: -8%; background: radial-gradient(ellipse, rgb(var(--ambient-a) / 52%), transparent 70%); }
.ambient-page::after { top: 480px; left: -10%; background: radial-gradient(ellipse, rgb(var(--ambient-b) / 40%), transparent 70%); animation-duration: 23s; animation-direction: alternate-reverse; }
.ambient-page[data-ambient="workspace"]::before, .ambient-page[data-ambient="workspace"]::after { filter: blur(70px); }
.dark-theme .ambient-page { background-image: radial-gradient(circle at 1px 1px, rgb(206 225 199 / 9%) 1px, transparent 0); }
.dark-theme .ambient-page::before { background: radial-gradient(ellipse, rgb(var(--ambient-a) / 20%), transparent 70%); }
.dark-theme .ambient-page::after { background: radial-gradient(ellipse, rgb(var(--ambient-b) / 16%), transparent 70%); }
.ambient-tools { position: absolute; top: 18px; right: max(24px, calc((100% - 1220px) / 2)); z-index: 3; }
.ambient-tools .studio-motion { position: static; display: inline-flex; align-items: center; gap: 9px; width: auto; min-height: 38px; padding: 8px 13px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 30px; font-size: .69rem; box-shadow: 0 4px 16px rgb(35 59 49 / 6%); }
.ambient-tools .studio-motion:hover, .ambient-tools .studio-motion[aria-pressed="true"] { background: #d5f58a; color: #253e31; }
.ambient-page .editorial-hero { background: transparent; }
.ambient-page .editorial-hero .hero-content { padding-top: 80px; }
.ambient-page .page > .eyebrow, .ambient-page .section > .eyebrow, .ambient-page .section-heading .eyebrow {
    display: inline-flex; padding: 7px 12px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); font-size: .65rem;
}
.ambient-page .ar-band .eyebrow { background: transparent; border-color: #698170; }
.ambient-page .home-card, .ambient-page .team-card { border-radius: 18px; }
.ambient-page .home-showcase { border-radius: 20px; box-shadow: 0 18px 50px -30px rgb(35 59 49 / 30%); }
.ambient-page .form-card, .ambient-page .panel { border-radius: 18px; box-shadow: 0 14px 36px -26px rgb(35 59 49 / 28%); }
.ambient-page .detail-image { border-radius: 20px; }
.ambient-page .table-wrap { background: var(--surface); border-radius: 12px; }
@keyframes ambient-drift {
    from { transform: translate3d(0, -15px, 0) scale(.94); }
    to { transform: translate3d(24px, 35px, 0) scale(1.05); }
}
@media (prefers-reduced-motion: no-preference) {
    .motion-paused .ambient-page::before { animation: ambient-drift 18s ease-in-out infinite alternate !important; animation-play-state: paused !important; }
    .motion-paused .ambient-page::after { animation: ambient-drift 23s ease-in-out infinite alternate-reverse !important; animation-play-state: paused !important; }
}
@media (prefers-reduced-motion: reduce) {
    .ambient-page::before, .ambient-page::after { animation: none; }
}
@media (max-width: 600px) {
    .ambient-tools { top: 12px; right: 20px; }
    .ambient-page > .page { padding-top: 72px; }
    .ambient-page .editorial-hero .hero-content { padding-top: 72px; }
    .ambient-page::before, .ambient-page::after { width: 100%; height: 600px; filter: blur(25px); }
}
@media print {
    .ambient-page { background: none; }
    .ambient-page::before, .ambient-page::after, .ambient-tools { display: none; }
}

/* Navigation companion takes over while the directional header is hidden. */
.scroll-sidebar { position:fixed; left:14px; top:50%; z-index:20; transform:translate(-120%,-50%); opacity:0; visibility:hidden; display:flex; flex-direction:column; gap:5px; width:86px; padding:10px 6px; border:1px solid var(--line); border-radius:18px; background:var(--surface); color:var(--ink); box-shadow:0 10px 35px #142c2420; transition:transform .25s,opacity .25s,visibility .25s; }
.scroll-sidebar.is-visible { transform:translate(0,-50%); opacity:1; visibility:visible; }
.sidebar-monogram { font-family:'Playfair Display',serif; font-size:1.6rem; text-align:center; border-bottom:1px solid var(--line); padding-bottom:7px; margin-bottom:3px; }
.scroll-sidebar a { display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 2px; border-radius:10px; font-size:.61rem; }
.scroll-sidebar a:hover,.scroll-sidebar a[aria-current] { background:var(--cream); color:var(--teal); }
.scroll-sidebar a:focus-visible { outline:2px solid var(--teal); outline-offset:1px; }
@media(max-width:1400px) { .scroll-sidebar { top:auto; bottom:18px; left:50%; width:auto; max-width:calc(100% - 24px); flex-direction:row; padding:6px; transform:translate(-50%,150%); border-radius:16px; } .scroll-sidebar.is-visible { transform:translate(-50%,0); } .sidebar-monogram { display:none; } .scroll-sidebar a { min-width:58px; padding:8px 6px; } body:has(.scroll-sidebar) { padding-bottom:95px; } }
@media(prefers-reduced-motion:reduce) { .scroll-sidebar { transition:none; } }

/* An organic hero edge with a still photograph. */
.hero-curve-definition { position:absolute; pointer-events:none; }
.editorial-hero .hero-visual { clip-path:url(#hero-photo-curve); overflow:hidden; }
.editorial-hero .hero-visual img { transform:none; }
.editorial-hero .hero-visual figcaption { left:15%; }
.hero-emphasis { position:relative; white-space:nowrap; }
.hero-underline { position:absolute; left:0; bottom:-.12em; width:100%; height:.22em; overflow:visible; pointer-events:none; }
.hero-underline path { fill:none; stroke:var(--terracotta); stroke-width:3; stroke-linecap:round; stroke-dasharray:1; stroke-dashoffset:0; animation:hero-underline-draw 1.4s .65s ease-out both; }
@keyframes hero-underline-draw { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
@media(max-width:800px) { .editorial-hero .hero-visual { clip-path:none; border-radius:18% 3% 0 0 / 14% 3% 0 0; } .editorial-hero .hero-visual figcaption { left:24px; } }
@media(prefers-reduced-motion:reduce) { .hero-underline path { animation:none; } }

@keyframes page-cover-in { from { transform:translateY(101%); } to { transform:translateY(0); } }
@keyframes page-cover-out { from { transform:translateY(0); } to { transform:translateY(-101%); } }
@media (prefers-reduced-motion: no-preference) {
    html.page-transition-leaving::after, html.page-transition-arriving::after {
        content:'DwellBuilt'; position:fixed; inset:0; z-index:99999; display:grid; place-items:center;
        background:#244b39; color:#f7f4e9; font-family:'Playfair Display',Georgia,serif;
        font-size:clamp(2.4rem,5vw,4.5rem); letter-spacing:-.05em; pointer-events:all;
    }
    html.page-transition-leaving::after { animation:page-cover-in .34s cubic-bezier(.22,.7,.2,1) both; }
    html.page-transition-arriving::after { animation:page-cover-out .52s cubic-bezier(.76,0,.22,1) both; }
}

.compare-page { max-width:1280px; padding-top:48px; }
.compare-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:36px; padding:clamp(36px,5vw,70px); border-radius:24px; background:#244b39; color:#f8f6ed; overflow:hidden; }
.compare-hero .eyebrow { color:#e4bc9e; }
.compare-hero h1 { max-width:730px; margin:18px 0; font-size:clamp(2.8rem,5vw,5.4rem); line-height:1.05; }
.compare-hero p:last-child { max-width:610px; margin:0; color:#d8e6da; line-height:1.7; }
.compare-count { display:flex; flex-direction:column; align-items:flex-end; flex-shrink:0; padding:0 0 5px; color:#f7f4e9; }
.compare-count strong { font-family:'Playfair Display',Georgia,serif; font-size:clamp(3.8rem,7vw,7rem); font-weight:600; line-height:1; white-space:nowrap; }
.compare-count strong span { color:#e4bc9e; font-size:.32em; vertical-align:middle; }
.compare-count small { margin-top:9px; color:#d8e6da; font-size:.66rem; font-weight:700; letter-spacing:.16em; }
.compare-section-heading { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr); align-items:end; gap:32px; margin:54px 0 24px; }
.compare-section-heading h2 { margin:10px 0 0; font-size:clamp(2rem,3.5vw,3.3rem); line-height:1.15; }
.compare-section-heading > p { max-width:350px; margin:0 0 4px auto; color:var(--muted); line-height:1.65; }
.compare-choice-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.compare-choice-grid form { min-width:0; }
.compare-choice { display:block; width:100%; height:100%; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:var(--ink); text-align:left; cursor:pointer; transition:transform .3s var(--motion-ease),box-shadow .3s,border-color .3s; }
.compare-choice:hover:not(:disabled), .compare-choice:focus-visible { transform:translateY(-5px); box-shadow:0 18px 38px rgb(25 57 43 / 14%); }
.compare-choice.is-selected { border:2px solid #32644d; box-shadow:0 12px 30px rgb(25 57 43 / 12%); }
.compare-choice:disabled { opacity:.5; cursor:not-allowed; }
.compare-choice-image { position:relative; display:block; height:155px; overflow:hidden; }
.compare-choice-image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .6s var(--motion-ease); }
.compare-choice:hover:not(:disabled) img { transform:scale(1.05); }
.compare-choice-image > span { position:absolute; top:14px; left:14px; padding:6px 9px; border-radius:6px; background:#244b39e8; color:#fff; font-size:.68rem; font-weight:700; letter-spacing:.08em; }
.compare-choice-body { display:grid; gap:7px; padding:20px; }
.compare-choice-body > strong { font-family:'Playfair Display',Georgia,serif; font-size:clamp(1.35rem,2vw,1.8rem); font-weight:600; line-height:1.2; }
.compare-choice-body > small { color:var(--muted); font-size:.76rem; }
.compare-choice-footer { display:flex; align-items:end; justify-content:space-between; gap:9px; margin-top:10px; padding-top:14px; border-top:1px solid var(--line); font-size:.76rem; font-weight:700; }
.compare-choice-footer > span { color:var(--teal); }
.compare-choice-footer em { flex-shrink:0; color:var(--terracotta); font-style:normal; }
.compare-choice.is-selected .compare-choice-footer em { color:var(--teal); }
.compare-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.compare-empty { margin-top:44px; padding:42px clamp(28px,5vw,64px); border:1px solid var(--line); border-radius:20px; background:var(--surface); }
.compare-empty > span { color:var(--terracotta); font-size:.7rem; font-weight:700; letter-spacing:.15em; }
.compare-empty h2 { margin:10px 0; font-size:clamp(1.9rem,3vw,3rem); }
.compare-empty p { max-width:580px; margin:0; color:var(--muted); line-height:1.7; }
.compare-results-heading { margin-top:80px; }
.compare-scroll-hint { display:none; color:var(--muted); font-size:.8rem; }
.compare-table-wrap { border:1px solid var(--line); border-radius:18px; box-shadow:0 18px 45px -40px rgb(25 57 43 / 30%); }
.compare-table { margin:0; border-collapse:separate; border-spacing:0; }
.compare-table caption { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.compare-table th, .compare-table td { padding:22px 24px; vertical-align:top; line-height:1.55; }
.compare-table th:first-child { min-width:185px; max-width:210px; background:var(--surface); font-size:.78rem; font-weight:700; letter-spacing:.03em; }
.compare-table td, .compare-table thead th:not(:first-child) { min-width:220px; }
.compare-table thead th { background:color-mix(in srgb,var(--surface) 86%,#9bb9a4); }
.compare-table thead th:first-child { background:color-mix(in srgb,var(--surface) 86%,#9bb9a4); }
.compare-table thead a { color:var(--ink); font-family:'Playfair Display',Georgia,serif; font-size:1.6rem; text-decoration:none; white-space:normal; }
.compare-table thead a:hover { color:var(--teal); }
.compare-table thead a span { color:var(--terracotta); font-family:Arial,sans-serif; font-size:.9rem; }
.compare-table .compare-price-row td { color:var(--teal); font-size:1rem; font-weight:700; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom:0; }
@media(max-width:1000px) { .compare-choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { .compare-hero { grid-template-columns:1fr; gap:25px; padding:36px 28px; } .compare-count { align-items:flex-start; } .compare-section-heading { grid-template-columns:1fr; gap:10px; margin-top:52px; } .compare-section-heading > p { margin:0; } .compare-scroll-hint { display:block; } .compare-table th, .compare-table td { padding:18px; } .compare-table th:first-child { min-width:130px; max-width:145px; } }
@media(max-width:520px) { .compare-choice-grid { gap:10px; } .compare-choice-image { height:112px; } .compare-choice-body { padding:13px; } .compare-choice-body > strong { font-size:1.25rem; } .compare-choice-footer { flex-direction:column; align-items:flex-start; } .compare-choice-footer > span { font-size:.7rem; } .compare-choice-footer em { font-size:.72rem; } }
