:root {
    --black: #10100f;
    --paper: #f4f0e8;
    --white: #fff;
    --gold: #c49a55;
    --gold2: #e2bd7b;
    --muted: #746f67;
    --line: rgba(16, 16, 15, .15)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Manrope, sans-serif;
    color: var(--black);
    background: var(--paper)
}

body.lock {
    overflow: hidden
}

a {
    text-decoration: none;
    color: inherit
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

button,
input,
select,
textarea {
    font: inherit
}

.wrap {
    width: min(1280px, calc(100% - 48px));
    margin: auto
}

.header {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    top: 0;
    padding: 18px 0;
    transition: .3s
}

.header.scrolled {
    background: rgba(16, 16, 15, .94);
    backdrop-filter: blur(14px);
    padding: 10px 0
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
    color: white
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: .9;
    min-width: 100px
}

.logo-main {
    font-family: "Playfair Display", serif;
    font-size: 27px
}

.logo-sub {
    font-size: 9px;
    letter-spacing: .26em;
    color: var(--gold2);
    margin-top: 8px
}

.nav nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
    font-size: 13px
}

.btn {
    border: 0;
    border-radius: 4px;
    padding: 15px 21px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: #17130d
}

.btn-dark {
    background: var(--black);
    color: white
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, .35)
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--line)
}

.full {
    width: 100%
}

.mobile-menu {
    display: none
}

.hero {
    min-height: 900px;
    position: relative;
    color: white;
    padding: 150px 0 70px
}

.hero-bg,
.hero-shade {
    position: absolute;
    inset: 0
}

.hero-shade {
    background: linear-gradient(90deg, rgba(7, 7, 6, .88), rgba(7, 7, 6, .42) 57%, rgba(7, 7, 6, .68)), linear-gradient(0deg, rgba(7, 7, 6, .55), transparent)
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .58fr;
    gap: 80px;
    align-items: center
}

.kicker {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .18em;
    font-weight: 700
}

.gold {
    color: var(--gold2)
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(60px, 7vw, 103px);
    font-weight: 500;
    line-height: .94;
    letter-spacing: -.035em;
    margin-bottom: 30px
}

h1 em {
    font-style: normal;
    color: var(--gold2)
}

h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(36px, 4.7vw, 64px);
    line-height: 1.06;
    font-weight: 500
}

.lead {
    font-size: 18px;
    line-height: 1.65;
    max-width: 650px;
    color: rgba(255, 255, 255, .77)
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px
}

.trust {
    display: flex;
    gap: 32px;
    border-top: 1px solid rgba(255, 255, 255, .24);
    margin-top: 55px;
    padding-top: 22px;
    font-size: 12px;
    color: rgba(255, 255, 255, .7)
}

.quick-form {
    background: rgba(20, 19, 17, .93);
    border: 1px solid rgba(226, 189, 123, .22);
    padding: 34px;
    border-radius: 14px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35)
}

.quick-form h2 {
    font-family: Manrope, sans-serif;
    font-size: 27px;
    font-weight: 600
}

.quick-form>p:not(.kicker) {
    color: rgba(255, 255, 255, .65);
    line-height: 1.5;
    font-size: 13px
}

.quick-form form {
    display: grid;
    gap: 12px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

label {
    display: flex;
    flex-direction: column;
    gap: 7px
}

label span {
    font-size: 11px;
    color: var(--muted)
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: white;
    padding: 14px;
    border-radius: 5px;
    outline: none
}

.quick-form input,
.quick-form select {
    background: #191918;
    border-color: rgba(255, 255, 255, .12);
    color: white
}

.dropzone {
    border: 1px dashed rgba(196, 154, 85, .65);
    padding: 17px;
    border-radius: 6px;
    cursor: pointer;
    background: rgba(196, 154, 85, .06)
}

.dropzone input {
    display: none
}

.dropzone b {
    font-size: 13px
}

.dropzone small {
    color: var(--muted)
}

.consent {
    flex-direction: row;
    align-items: flex-start
}

.consent input {
    width: auto
}

.success {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: rgba(196, 154, 85, .16);
    font-size: 12px
}

.strip {
    background: #171714;
    color: white
}

.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.strip-grid div {
    padding: 25px;
    border-right: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    gap: 13px
}

.strip-grid strong {
    color: var(--gold2)
}

.section {
    padding: 120px 0
}

.ai-section {
    background: #f7f3ec
}

.ai-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 90px;
    align-items: center
}

.body-copy {
    color: var(--muted);
    line-height: 1.75
}

.ticks {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
    margin: 28px 0
}

.ticks li:before {
    content: "✓";
    color: var(--gold);
    margin-right: 12px
}

.ai-preview {
    position: relative
}

.ai-window {
    background: white;
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 25px 80px rgba(37, 31, 20, .14)
}

.ai-toolbar {
    height: 35px;
    display: flex;
    gap: 6px;
    align-items: center
}

.ai-toolbar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d6d0c6
}

.ai-toolbar b {
    margin-left: auto;
    font-size: 11px
}

.ai-image {
    height: 490px;
    border-radius: 8px;
    overflow: hidden
}

.ai-caption {
    padding: 17px;
    display: flex;
    flex-direction: column;
    gap: 5px
}

.floating-card {
    position: absolute;
    left: -80px;
    top: 120px;
    width: 240px;
    background: white;
    padding: 20px;
    border-radius: 9px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .16)
}

.floating-card span {
    font-size: 11px;
    color: var(--gold)
}

.floating-card p {
    font-size: 13px;
    line-height: 1.55;
    margin: 8px 0 0
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 50px
}

.section-head h2 {
    max-width: 850px
}

.text-btn {
    border: 0;
    background: none;
    font-weight: 700;
    cursor: pointer
}

.offer-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    grid-template-rows: 340px 340px;
    gap: 16px
}

.offer-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px
}

.offer-card.large {
    grid-row: span 2
}

.offer-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .72), transparent 55%)
}

.offer-card>div {
    position: absolute;
    z-index: 1;
    left: 30px;
    right: 30px;
    bottom: 25px;
    color: white
}

.offer-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    margin: 5px 0
}

.goldhouse {
    height: 650px;
    position: relative;
    color: white;
    display: flex;
    align-items: center
}

.goldhouse-bg,
.goldhouse-shade {
    position: absolute;
    inset: 0
}

.goldhouse-shade {
    background: linear-gradient(90deg, rgba(8, 8, 7, .92), rgba(8, 8, 7, .22))
}

.goldhouse-content {
    position: relative
}

.goldhouse-content h2 {
    max-width: 730px
}

.goldhouse-content p {
    max-width: 650px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.7
}

.gallery {
    background: #eae5dc
}

.filters {
    display: flex;
    gap: 8px
}

.filters button {
    border: 1px solid var(--line);
    background: none;
    padding: 10px 15px;
    border-radius: 99px
}

.filters button.active {
    background: var(--black);
    color: white
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    gap: 14px
}

.gallery-grid figure {
    margin: 0;
    border-radius: 8px;
    overflow: hidden
}

.gallery-grid .tall {
    grid-row: span 2
}

.gallery-grid .wide {
    grid-column: span 2
}

.gallery-grid figure.hidden {
    display: none
}

.makers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.plank-card {
    background: #111;
    color: white;
    border-radius: 12px;
    padding: 55px;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.plank-card span {
    font-size: 43px;
    font-weight: 700
}

.plank-card strong {
    font-size: 27px;
    line-height: 1.35;
    margin: 22px 0
}

.contact {
    background: #151513;
    color: white
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 80px
}

.contact-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start
}

footer {
    background: #0d0d0c;
    color: white;
    padding: 70px 0 30px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 45px
}

.footer-grid>div:not(.logo):not(.footer-bottom) {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, .62)
}

.footer-bottom {
    grid-column: 1/-1;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 24px;
    margin-top: 30px;
    font-size: 11px;
    color: rgba(255, 255, 255, .4)
}

.modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    visibility: hidden
}

.modal.open {
    visibility: visible
}

.modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    opacity: 0;
    transition: .25s
}

.modal.open .modal-bg {
    opacity: 1
}

.modal-card {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(720px, 100%);
    background: var(--paper);
    padding: 45px 55px;
    overflow: auto;
    transform: translateX(100%);
    transition: .35s
}

.modal.open .modal-card {
    transform: none
}

.close-x {
    position: absolute;
    right: 22px;
    top: 15px;
    border: 0;
    background: none;
    font-size: 35px
}

.modal-progress {
    height: 4px;
    background: #ddd8ce;
    margin: 20px 0 55px
}

.modal-progress span {
    display: block;
    width: 25%;
    height: 100%;
    background: var(--gold)
}

.modal-card h2 {
    font-size: 45px
}

.step {
    display: none
}

.step.active {
    display: block
}

.choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.choices.single {
    grid-template-columns: 1fr
}

.choices input {
    position: absolute;
    opacity: 0
}

.choices span {
    border: 1px solid var(--line);
    background: white;
    padding: 20px;
    min-height: 80px;
    display: flex;
    align-items: center;
    color: var(--black)
}

.choices input:checked+span {
    border-color: var(--gold);
    box-shadow: inset 0 0 0 1px var(--gold)
}

.modal-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 35px
}

.modal-controls #sendEstimate {
    display: none
}

.result {
    text-align: center
}

.result-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gold);
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    font-size: 30px
}

.ai-result {
    display: none;
    margin-top: 25px;
    background: white;
    border-left: 4px solid var(--gold);
    padding: 22px;
    line-height: 1.65
}

@media(max-width:1050px) {
    .nav nav {
        display: none
    }

    .mobile-menu {
        display: block;
        margin-left: auto;
        background: none;
        color: white;
        border: 0
    }

    .nav nav.open {
        display: flex;
        position: absolute;
        top: 75px;
        left: 24px;
        right: 24px;
        background: #111;
        padding: 25px;
        flex-direction: column
    }

    .hero-grid,
    .ai-grid,
    .makers-grid,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .hero {
        height: auto
    }

    .floating-card {
        left: 20px
    }

    .offer-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:700px) {
    .wrap {
        width: calc(100% - 28px)
    }

    .header .btn-gold {
        display: none
    }

    .hero {
        padding-top: 120px
    }

    .hero-actions {
        flex-direction: column
    }

    .trust {
        flex-direction: column
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .strip-grid {
        grid-template-columns: 1fr 1fr
    }

    .section {
        padding: 80px 0
    }

    .ai-image {
        height: 360px
    }

    .floating-card {
        display: none
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column
    }

    .offer-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 420px 320px 320px
    }

    .offer-card.large {
        grid-row: auto
    }

    .goldhouse {
        height: 720px
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 390px
    }

    .gallery-grid .tall,
    .gallery-grid .wide {
        grid-row: auto;
        grid-column: auto
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .modal-card {
        padding: 35px 22px
    }

    .choices {
        grid-template-columns: 1fr
    }
}