:root {
    --ink: #0a0a09;
    --paper: #f0ede6;
    --white: #fff;
    --gold: #c89432;
    --line-dark: rgba(10, 10, 9, .18);
    --line-light: rgba(255, 255, 255, .24);
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--white); font-family: var(--sans); font-size: 1rem; line-height: 1.5; }
body.menu-open { overflow: hidden; }
body.contact-modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 1000; top: 1rem; left: 1rem; padding: .8rem 1rem; background: var(--white); color: var(--ink); transform: translateY(-160%); border-radius: 2px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 7.5rem; padding: 1.5rem clamp(1.25rem, 4vw, 5rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-light); transition: height .35s ease, background .35s ease; }
.site-header.is-scrolled { height: 5.5rem; background: rgba(10, 10, 9, .94); backdrop-filter: blur(12px); }
.brand { position: relative; z-index: 102; width: clamp(13rem, 18vw, 17rem); }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 3rem); }
.site-nav a { font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.site-nav a:not(.nav-contact) { position: relative; }
.site-nav a:not(.nav-contact)::after { content: ""; position: absolute; right: 0; bottom: -.55rem; left: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding-left: 2rem; border-left: 1px solid var(--line-light); color: #e0b35d; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #151511; }
.hero__video, .hero__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { object-fit: cover; }
.hero__veil { background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.28) 58%, rgba(0,0,0,.18) 100%), linear-gradient(0deg, rgba(0,0,0,.56), transparent 52%); }
.hero__content { position: relative; z-index: 2; width: min(62rem, 90vw); padding: 10rem 0 clamp(5rem, 9vh, 8.5rem) clamp(1.25rem, 7vw, 8rem); }
.eyebrow { margin: 0 0 1.5rem; color: #dfb863; font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow--dark { color: #8a641f; }
.hero h1, .section-heading h2, .statement h2, .approach h2, .comparison-section h2, .transformation h2, .contact h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .88; }
.hero h1 { font-size: clamp(4.7rem, 10.5vw, 10.5rem); }
h1 em, h2 em { color: #ddb15b; font-weight: 400; }
.hero__intro { max-width: 34rem; margin: 2rem 0 2.4rem; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.3vw, 1.25rem); }
.button { min-height: 5.75rem; min-width: min(100%, 22rem); padding: 1.5rem 2rem; display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; border: 1px solid transparent; border-radius: 3px; font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-decoration: none; text-transform: uppercase; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.button, .text-link { font-family: var(--sans); cursor: pointer; }
.button span { font-size: 1.3rem; font-weight: 400; }
.button--gold { background: var(--gold); color: var(--ink); }
.button--gold:hover { background: var(--white); }
.button--outline { border-color: rgba(255,255,255,.65); background: rgba(0,0,0,.16); backdrop-filter: blur(4px); }
.button--outline:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.button--dark { background: var(--ink); color: var(--white); }
.button--dark:hover { background: #2a2925; }
.hero__scroll { position: absolute; z-index: 2; right: clamp(1.25rem, 4vw, 5rem); bottom: 0; height: 8.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; color: rgba(255,255,255,.7); font-size: .65rem; letter-spacing: .2em; text-decoration: none; text-transform: uppercase; writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; flex: 1; background: rgba(255,255,255,.58); }

.statement { min-height: 90vh; padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .75fr); align-items: center; gap: clamp(3rem, 8vw, 9rem); background: var(--paper); color: var(--ink); }
.statement h2 { max-width: 58rem; font-size: clamp(3.25rem, 6.5vw, 7rem); }
.statement__copy > p:last-child { max-width: 37rem; margin: 3rem 0 0; padding-left: 3rem; border-left: 1px solid var(--gold); color: #4c4a43; font-size: clamp(1.1rem, 1.5vw, 1.35rem); }
.statement__image { position: relative; min-height: min(58vw, 43rem); margin: 0; overflow: hidden; }
.statement__image::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.25); pointer-events: none; }
.statement__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.spaces { padding: clamp(6rem, 9vw, 10rem) 0 0; background: var(--ink); }
.section-heading { padding: 0 clamp(1.25rem, 7vw, 8rem) clamp(4rem, 7vw, 7rem); }
.section-heading h2 { font-size: clamp(3.4rem, 7vw, 7.5rem); }
.spaces-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.space-card { position: relative; min-height: min(58vw, 46rem); overflow: hidden; }
.space-card--wide { grid-column: 1 / -1; min-height: min(54vw, 54rem); }
.space-card img, .space-card__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.space-card img { object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.space-card__shade { background: linear-gradient(0deg, rgba(0,0,0,.76), transparent 55%); }
.space-card:hover img { transform: scale(1.035); }
.space-card__content { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: clamp(1.5rem, 3vw, 3rem); }
.space-card h3 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4.5rem); font-weight: 400; letter-spacing: -.035em; }

.approach { min-height: 100vh; display: grid; grid-template-columns: 55% 45%; background: #11110f; }
.approach__image { min-height: 100vh; background: url("../img/backyard-transformation-after.jpg") center / cover no-repeat fixed; }
.approach__content { padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 6vw, 7rem); display: flex; flex-direction: column; justify-content: center; }
.approach h2 { font-size: clamp(3.25rem, 5.5vw, 6.4rem); }
.approach__content > p:not(.eyebrow) { max-width: 31rem; margin: 2.5rem 0; color: rgba(255,255,255,.7); font-size: 1.1rem; }
.text-link { width: fit-content; padding: .8rem 0; border: 0; border-bottom: 1px solid var(--gold); border-radius: 0; background: transparent; color: inherit; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }
.text-link span { margin-left: 2rem; color: var(--gold); }

.process { padding: clamp(6rem, 10vw, 11rem) clamp(1.25rem, 7vw, 8rem); background: var(--paper); color: var(--ink); }
.section-heading--light { padding: 0 0 clamp(4rem, 6vw, 6rem); }
.process-list { margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.process-list article { min-height: 10rem; padding: 2rem 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; border-bottom: 1px solid var(--line-dark); }
.process-list h3 { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 400; }
.process-list p { max-width: 25rem; margin: 0; color: #5a574e; }

.comparison-section { padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem); background: #11110f; }
.comparison-section__heading { margin-bottom: clamp(3rem, 6vw, 6rem); display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 3rem; }
.comparison-section h2 { font-size: clamp(3.8rem, 7vw, 8rem); }
.comparison-section__heading > p:last-child { max-width: 29rem; margin: 0 0 .6rem; color: rgba(255,255,255,.68); font-size: 1.1rem; }
.comparison-section__heading .eyebrow { grid-column: 1 / -1; margin-bottom: -1.5rem; }
.comparison { --position: 50%; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #222; isolation: isolate; }
.comparison__image { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.comparison__after { position: absolute; z-index: 1; inset: 0 auto 0 0; width: var(--position); overflow: hidden; }
.comparison__after .comparison__image { width: calc(100vw - clamp(2.5rem, 14vw, 16rem)); min-width: 100%; }
.comparison__label { position: absolute; z-index: 3; top: 1.5rem; padding: .65rem .9rem; background: rgba(10,10,9,.8); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(5px); }
.comparison__label--before { right: 1.5rem; }
.comparison__label--after { left: 1.5rem; }
.comparison__line { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--position); width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; }
.comparison__line span { position: absolute; top: 50%; left: 50%; width: 4.5rem; height: 4.5rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 1.5rem; transform: translate(-50%, -50%); }
.comparison__range { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; cursor: ew-resize; opacity: 0; }
.comparison:focus-within { outline: 3px solid var(--gold); outline-offset: 5px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.transformation { position: relative; min-height: 90vh; display: flex; align-items: flex-end; background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.1)), url("../img/covered-patio-001.jpg") center / cover no-repeat fixed; }
.transformation__content { width: 100%; padding: clamp(6rem, 12vw, 10rem) clamp(1.25rem, 7vw, 8rem); }
.transformation h2 { margin-bottom: 3rem; font-size: clamp(4rem, 8vw, 9rem); }

.contact { padding: clamp(6rem, 12vw, 12rem) clamp(1.25rem, 7vw, 8rem); background: var(--gold); color: var(--ink); }
.contact .eyebrow { color: rgba(10,10,9,.65); }
.contact h2 { font-size: clamp(5rem, 11vw, 12rem); }
.contact h2 em { color: var(--white); }
.contact__actions { margin-top: clamp(3rem, 6vw, 6rem); display: flex; align-items: center; gap: clamp(2rem, 5vw, 6rem); }
.contact__email { font-size: clamp(1rem, 1.5vw, 1.25rem); text-underline-offset: .4rem; }

.site-footer { padding: 5rem clamp(1.25rem, 7vw, 8rem) 2rem; display: grid; grid-template-columns: 1.15fr 1fr .8fr; align-items: start; gap: clamp(2rem, 6vw, 7rem); color: rgba(255,255,255,.64); }
.site-footer__brand img { width: 10rem; height: 10rem; object-fit: contain; object-position: left center; }
.site-footer__brand p { margin-top: 1.5rem; }
.site-footer p { margin: 0; }
.site-footer__nap, .site-footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; font-style: normal; }
.site-footer__nap strong { color: var(--white); font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.site-footer__nap a, .site-footer__links a { text-underline-offset: .3rem; }
.site-footer__links { font-size: .86rem; }
.copyright { grid-column: 1 / -1; padding-top: 3rem; border-top: 1px solid var(--line-light); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

.legal-page { background: var(--paper); color: var(--ink); }
.legal-header { min-height: 7rem; padding: 1.5rem clamp(1.25rem, 7vw, 8rem); display: flex; align-items: center; justify-content: space-between; background: var(--ink); }
.legal-header__back { color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.legal-content { padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 14vw, 16rem); }
.legal-content > h1 { margin: 0; font-family: var(--serif); font-size: clamp(4rem, 9vw, 9rem); font-weight: 400; letter-spacing: -.05em; line-height: .88; }
.legal-content > h1 em { color: #9a7023; }
.legal-content__updated { margin: 2rem 0 clamp(4rem, 7vw, 7rem); color: #5a574e; }
.legal-copy { max-width: 56rem; margin-left: auto; }
.legal-copy section { padding: 2.25rem 0; border-top: 1px solid var(--line-dark); }
.legal-copy h2 { margin: 0 0 .9rem; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; }
.legal-copy p { margin: 0; color: #4d4a43; line-height: 1.8; }
.legal-copy a { text-underline-offset: .25rem; }
.legal-footer { padding: 2rem clamp(1.25rem, 7vw, 8rem); display: flex; justify-content: space-between; gap: 1rem; background: var(--ink); color: rgba(255,255,255,.65); font-size: .8rem; }

.contact-dialog { width: min(92vw, 76rem); max-width: none; max-height: min(92vh, 58rem); padding: 0; overflow: auto; border: 1px solid rgba(200,148,50,.5); border-radius: 3px; background: #11110f; color: var(--white); box-shadow: 0 2rem 8rem rgba(0,0,0,.6); }
.contact-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(9px); }
.contact-dialog__panel { position: relative; display: grid; grid-template-columns: minmax(18rem, .78fr) minmax(26rem, 1.22fr); }
.contact-dialog__close { position: absolute; z-index: 2; top: 1.25rem; right: 1.25rem; width: 3.5rem; height: 3.5rem; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; background: transparent; color: var(--white); font: 300 2rem/1 var(--sans); cursor: pointer; transition: background .2s ease, color .2s ease; }
.contact-dialog__close:hover { background: var(--white); color: var(--ink); }
.contact-dialog__intro { min-height: 100%; padding: clamp(3rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,.24)), url("../img/pool-spa-001.jpg") center / cover no-repeat; }
.contact-dialog__intro img { width: 7rem; height: 7rem; margin-bottom: auto; object-fit: contain; object-position: left center; }
.contact-dialog__intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5.7rem); font-weight: 400; letter-spacing: -.045em; line-height: .9; }
.contact-dialog__intro > p:last-child { max-width: 27rem; margin: 2rem 0 0; color: rgba(255,255,255,.72); }
.contact-form { padding: clamp(4.5rem, 6vw, 6rem) clamp(1.5rem, 5vw, 5rem); background: var(--paper); color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { margin-bottom: 1.5rem; }
.form-field label { display: block; margin-bottom: .55rem; color: #5a574e; font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; min-height: 3.5rem; padding: .85rem 0; border: 0; border-bottom: 1px solid rgba(10,10,9,.32); border-radius: 0; background: transparent; color: var(--ink); font: 1rem/1.5 var(--sans); transition: border-color .2s ease; }
.form-field textarea { min-height: 7rem; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 0; border-color: var(--gold); }
.form-field [aria-invalid="true"] { border-color: #9b2f28; }
.form-error { min-height: 1.2rem; display: block; padding-top: .35rem; color: #9b2f28; font-size: .78rem; }
.form-consent { margin: .25rem 0 1.25rem; color: #666158; font-size: .78rem; line-height: 1.6; }
.form-consent a { text-underline-offset: .2rem; }
.form-status { min-height: 1.5rem; margin-bottom: .75rem; color: #62542f; font-size: .9rem; }
.form-status.is-error { color: #9b2f28; }
.contact-form__submit { width: 100%; }
.contact-form__submit:disabled { cursor: wait; opacity: .68; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 820px) {
    .site-header { height: 5.5rem; padding: 1rem 1.25rem; }
    .brand { width: 12rem; }
    .menu-toggle { position: relative; z-index: 102; width: 4rem; min-height: 2.75rem; padding: 0; display: flex; flex: 0 0 4rem; align-items: center; justify-content: space-between; border: 0; border-radius: 0; background: transparent; color: var(--white); }
    .menu-toggle__label { font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
    .menu-toggle__lines { width: 1.25rem; height: .8rem; display: flex; flex-direction: column; justify-content: space-between; }
    .menu-toggle__lines i { width: 100%; height: 1px; background: currentColor; transition: transform .25s ease; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child { transform: translateY(.36rem) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child { transform: translateY(-.36rem) rotate(-45deg); }
    .site-nav { position: fixed; inset: 0; padding: 8rem 1.5rem 3rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; background: var(--ink); visibility: hidden; opacity: 0; transform: translateY(-1rem); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
    .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .site-nav a { font-family: var(--serif); font-size: clamp(2.5rem, 12vw, 4rem); font-weight: 400; letter-spacing: -.04em; text-transform: none; }
    .nav-contact { margin-top: auto; padding: 1.5rem 0 0; border-top: 1px solid var(--line-light); border-left: 0; font-family: var(--sans) !important; font-size: 1.1rem !important; letter-spacing: .04em !important; }
    .hero__content { width: 100%; padding: 9rem 1.25rem 5rem; }
    .hero h1 { font-size: clamp(3.4rem, 12vw, 4.75rem); }
    .hero__scroll { display: none; }
    .statement { min-height: auto; padding: 7rem 1.25rem; grid-template-columns: 1fr; gap: 4rem; }
    .statement__copy > p:last-child { margin-top: 2.5rem; padding-left: 1.25rem; }
    .statement__image { min-height: 75vh; }
    .section-heading { padding-right: 1.25rem; padding-left: 1.25rem; }
    .spaces-grid { grid-template-columns: 1fr; }
    .space-card, .space-card--wide { grid-column: auto; min-height: 72vh; }
    .approach { grid-template-columns: 1fr; }
    .approach__image { min-height: 70vh; background-attachment: scroll; }
    .approach__content { padding: 6rem 1.25rem; }
    .process { padding-right: 1.25rem; padding-left: 1.25rem; }
    .process-list article { grid-template-columns: 1fr; align-items: start; gap: .5rem; }
    .comparison-section { padding-right: 1.25rem; padding-left: 1.25rem; }
    .comparison-section__heading { grid-template-columns: 1fr; gap: 2rem; }
    .comparison-section__heading .eyebrow { grid-column: auto; margin-bottom: 0; }
    .comparison { aspect-ratio: 4 / 5; }
    .comparison__after .comparison__image { width: calc(100vw - 2.5rem); }
    .comparison__line span { width: 3.75rem; height: 3.75rem; }
    .transformation { min-height: 78vh; background-attachment: scroll; }
    .transformation__content { padding-right: 1.25rem; padding-left: 1.25rem; }
    .contact { padding-right: 1.25rem; padding-left: 1.25rem; }
    .contact__actions { align-items: stretch; flex-direction: column; }
    .contact__email { overflow-wrap: anywhere; }
    .site-footer { grid-template-columns: 1fr; padding-right: 1.25rem; padding-left: 1.25rem; }
    .legal-header { min-height: 5.5rem; }
    .legal-header .brand { width: 11rem; }
    .legal-content { padding-right: 1.25rem; padding-left: 1.25rem; }
    .legal-footer { flex-direction: column; }
    .contact-dialog { width: 100%; max-height: 100%; min-height: 100%; border: 0; border-radius: 0; }
    .contact-dialog__panel { grid-template-columns: 1fr; }
    .contact-dialog__intro { min-height: 42rem; padding: 5rem 1.25rem 3rem; }
    .contact-dialog__intro img { width: 5.5rem; height: 5.5rem; }
    .contact-form { padding: 4rem 1.25rem; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .hero__video { display: none; }
    .hero { background: url("../img/backyard-transformation-after.jpg") center / cover no-repeat; }
    .approach__image, .transformation { background-attachment: scroll; }
}
