@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --navy: #0b1730;
    --gold: #c7a66a;
    --ink: #172235;
    --muted: #77808e;
    --paper: #f7f7f5
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif
}

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

header {
    height: 78px;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    position: sticky;
    top: 0;
    z-index: 5
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font: 22px 'Playfair Display';
    color: var(--gold)
}

.logo span {
    font: 700 12px 'DM Sans';
    letter-spacing: 3px;
    color: white
}

.logo small {
    display: block;
    font-size: 8px;
    color: #aab3c1;
    margin-top: 4px
}

nav {
    display: flex;
    gap: 28px;
    font-size: 12px;
    color: #dce1e8
}

nav a:hover,
footer a:hover {
    color: var(--gold)
}

.contact-link {
    border: 1px solid #657087;
    padding: 12px 16px;
    font-size: 11px
}

#menuBtn {
    display: none
}

.hero {
    min-height: 570px;
    background-image: linear-gradient(90deg, rgba(8, 21, 45, .94) 0%, rgba(8, 21, 45, .78) 48%, rgba(8, 21, 45, .34)), url('images/dynasty_hero.webp');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    padding: 70px 10%;
    position: relative;
    overflow: hidden
}

.hero:after {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border: 1px solid #c7a66a55;
    border-radius: 50%;
    right: 9%;
    top: 10%
}

.hero-inner {
    max-width: 620px;
    z-index: 1
}

.eyebrow {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 700
}

.hero h1,
h2 {
    font: clamp(40px, 6vw, 68px)/1.08 'Playfair Display';
    margin: 20px 0
}

.hero em,
h2 em {
    color: var(--gold)
}

.hero-inner>p:not(.eyebrow) {
    max-width: 480px;
    color: #c8cfda;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px
}

.btn {
    display: inline-block;
    background: var(--gold);
    color: #111c30;
    padding: 15px 20px;
    font-size: 11px;
    font-weight: 700
}

.seal {
    position: absolute;
    right: 17%;
    color: var(--gold);
    font: 70px 'Playfair Display';
    z-index: 1;
    border: 1px solid #c7a66a77;
    border-radius: 50%;
    width: 175px;
    height: 175px;
    display: grid;
    place-content: center;
    text-align: center
}

.seal small {
    font: 8px 'DM Sans';
    letter-spacing: 3px
}

.intro,
.heading {
    max-width: 1120px;
    margin: auto;
    padding: 85px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: end
}

.intro h2,
.heading h2,
.contact h2 {
    font-size: 43px;
    color: var(--ink)
}

.dark {
    color: #987846
}

.intro>p,
.heading>p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted)
}

.catalogue {
    max-width: 1200px;
    margin: auto;
    padding: 0 5% 100px
}

.heading {
    padding: 15px 0 25px
}

.heading h2 {
    margin: 10px 0
}

.tools {
    display: flex;
    gap: 12px;
    margin: 15px 0
}

.tools input,
.tools select {
    height: 44px;
    background: white;
    border: 1px solid #e5e5e0;
    padding: 0 14px;
    font: 12px 'DM Sans';
    color: #465164
}

.tools input {
    flex: 1;
    min-width: 160px
}

.count {
    font-size: 9px;
    letter-spacing: 2px;
    color: #858d98;
    margin: 20px 0
}

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

.card {
    background: white;
    border: 1px solid #e7e7e2;
    transition: .2s
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px #0b173018
}

.art {
    height: 190px;
    background-color: #14233d;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 15px;
    color: var(--gold);
    position: relative;
    overflow: hidden
}

.art:after {
    content: 'D8';
    position: absolute;
    right: 15px;
    top: -22px;
    font: 110px 'Playfair Display';
    opacity: .09
}

.art b {
    font: 42px 'Playfair Display'
}

.art small {
    font-size: 8px;
    letter-spacing: 1px;
    color: #e0e3e8;
    z-index: 1
}

.info {
    padding: 18px
}

.info h3 {
    font-size: 13px;
    letter-spacing: 1px;
    margin: 0 0 10px
}

.info p {
    font-size: 11px;
    line-height: 1.7;
    color: var(--muted);
    min-height: 55px
}

.meta {
    font-size: 9px;
    color: #8c94a0;
    margin: 14px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 13px
}

.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.price {
    font: 21px 'Playfair Display';
    color: #987846
}

.ref {
    font-size: 9px;
    color: #9299a4
}

.process {
    background: var(--navy);
    color: white;
    padding: 80px 8%
}

.process h2 {
    font-size: 43px
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px
}

.steps article {
    border-top: 1px solid #59657a;
    padding-top: 18px
}

.steps b {
    color: var(--gold);
    font-size: 10px
}

.steps h3 {
    font: 22px 'Playfair Display'
}

.steps p {
    font-size: 11px;
    line-height: 1.8;
    color: #b5bfce
}

.contact {
    max-width: 1050px;
    margin: 75px auto;
    padding: 45px;
    background: #e9e8e3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px
}

.contact h2 {
    font-size: 42px
}

.contact>div>p:last-child {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7
}

.contact-info {
    display: grid;
    align-content: center;
    gap: 8px
}

.contact-info small {
    font-size: 8px;
    letter-spacing: 2px;
    color: #81858a;
    margin-top: 10px
}

.contact-info strong {
    font-size: 20px
}

footer {
    background: #080f20;
    color: #aeb7c6;
    padding: 25px 7%;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    letter-spacing: 1px
}

footer strong {
    color: white
}

#empty {
    text-align: center;
    color: var(--muted);
    padding: 30px
}

@media(max-width:800px) {
    .seal {
        right: 5%;
        width: 120px;
        height: 120px;
        font-size: 48px
    }

    .grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .steps {
        grid-template-columns: repeat(2, 1fr)
    }

    .intro,
    .heading {
        gap: 25px
    }

    .contact {
        margin: 50px 5%
    }
}

@media(max-width:600px) {
    header {
        height: 68px;
        padding: 0 5%
    }

    #menuBtn {
        display: block;
        background: none;
        border: 0;
        color: white;
        font-size: 24px
    }

    nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 20px;
        flex-direction: column
    }

    nav.open {
        display: flex
    }

    .contact-link {
        display: none
    }

    .hero {
        min-height: 550px;
        padding: 50px 7%
    }

    .hero h1 {
        font-size: 45px
    }

    .seal {
        width: 85px;
        height: 85px;
        font-size: 35px;
        top: 20px;
        right: 7%
    }

    .seal small {
        font-size: 6px
    }

    .intro,
    .heading {
        display: block;
        padding: 60px 7%
    }

    .intro>p,
    .heading>p {
        margin-top: 20px
    }

    .intro h2,
    .heading h2,
    .contact h2 {
        font-size: 37px
    }

    .catalogue {
        padding: 0 5% 65px
    }

    .tools {
        flex-direction: column
    }

    .tools input,
    .tools select {
        height: 43px
    }

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

    .process {
        padding: 60px 7%
    }

    .process h2 {
        font-size: 37px
    }

    .steps {
        gap: 25px 18px
    }

    .contact {
        grid-template-columns: 1fr;
        margin: 50px 5%;
        padding: 30px
    }

    .contact h2 {
        font-size: 36px
    }

    footer {
        gap: 15px;
        flex-wrap: wrap
    }

    footer span {
        order: 3;
        width: 100%
    }
}