:root {
    --background: #ffffff;
    --background-soft: #f7f4f2;
    --surface: #ffffff;
    --text: #1d1b1b;
    --text-muted: #6f6868;
    --accent: #8f1d24;
    --accent-dark: #651218;
    --accent-soft: #f2e6e7;
    --white: #ffffff;
    --black: #111111;
    --border: rgba(29, 27, 27, 0.12);
    --shadow-soft: 0 18px 45px rgba(34, 24, 24, 0.08);
    --shadow-medium: 0 25px 70px rgba(34, 24, 24, 0.14);
    --radius-small: 10px;
    --radius-medium: 18px;
    --radius-large: 28px;
    --max-width: 1240px;
    --header-height: 82px;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: var(--background);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased
}

body.menu-open {
    overflow: hidden
}

main {
    display: block
}

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

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%
}

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

button,
a {
    -webkit-tap-highlight-color: transparent
}

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

h1,
h2,
h3,
h4 {
    color: var(--text);
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    line-height: 1.08
}

h1 {
    font-size: clamp(3.2rem, 7vw, 6.8rem)
}

h2 {
    font-size: clamp(2.4rem, 5vw, 4.6rem)
}

h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem)
}

p:last-child {
    margin-bottom: 0
}

::selection {
    color: var(--white);
    background: var(--accent)
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto
}

.section {
    padding: 120px 0
}

.section-soft {
    background: var(--background-soft)
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 62px;
    text-align: center
}

.section-heading h2 {
    margin-bottom: 24px
}

.section-heading p {
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
    color: var(--text-muted)
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase
}

.text-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: var(--accent);
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .04em
}

.text-link::after {
    content: "→";
    transition: transform .2s ease
}

.text-link:hover::after {
    transform: translateX(5px)
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease
}

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

.button-primary {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 14px 30px rgba(143, 29, 36, .24)
}

.button-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark)
}

.button-secondary {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, .75)
}

.button-secondary:hover {
    color: var(--text);
    background: var(--white);
    border-color: var(--white)
}

.button-outline {
    color: var(--accent);
    background: transparent;
    border-color: var(--accent)
}

.button-outline:hover {
    color: var(--white);
    background: var(--accent)
}

.button-light {
    color: var(--accent);
    background: var(--white);
    border-color: var(--white)
}

.button-light:hover {
    color: var(--white);
    background: transparent
}

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    transition: color .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease
}

.site-header.scrolled,
.site-header.page-header {
    color: var(--text);
    background: rgba(255, 255, 255, .94);
    border-color: rgba(0, 0, 0, .08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px)
}

.nav-inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.logo {
    display: inline-flex;
    flex-direction: column;
    flex-shrink: 0;
    line-height: 1
}

.logo-main {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 600
}

.logo-sub {
    margin-top: 5px;
    font-size: .56rem;
    font-weight: 500;
    letter-spacing: .34em;
    text-transform: uppercase
}

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

.nav-links a {
    position: relative;
    font-size: .86rem;
    font-weight: 500
}

.nav-links a:not(.nav-button)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease
}

.nav-links a:not(.nav-button):hover::after,
.nav-links a:not(.nav-button).active::after {
    transform: scaleX(1);
    transform-origin: left
}

.nav-button {
    padding: 10px 18px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    transition: color .25s ease, background .25s ease, border-color .25s ease
}

.nav-button:hover,
.nav-button.active {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent)
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer
}

.menu-button span {
    display: block;
    width: 27px;
    height: 1px;
    margin: 7px auto;
    background: currentColor;
    transition: transform .3s ease, opacity .3s ease
}

.menu-button.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg)
}

.menu-button.active span:nth-child(2) {
    opacity: 0
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg)
}

.site-footer {
    padding: 72px 0 28px;
    color: var(--white);
    background: #171515
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    padding-bottom: 48px
}

.footer-logo {
    color: var(--white)
}

.footer-about {
    max-width: 380px;
    margin: 22px 0 0;
    color: #aaa2a2;
    font-size: .88rem
}

.footer-title {
    margin: 0 0 18px;
    color: var(--white);
    font-family: "Inter", sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase
}

.footer-links {
    display: grid;
    gap: 10px
}

.footer-links a {
    width: fit-content;
    color: #aaa2a2;
    font-size: .86rem;
    transition: color .2s ease, transform .2s ease
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(3px)
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #817a7a;
    font-size: .76rem
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 24px
}

.footer-legal a {
    transition: color .2s ease
}

.footer-legal a:hover {
    color: var(--white)
}

@media(max-width:900px) {
    .section {
        padding: 95px 0
    }

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

@media(max-width:780px) {
    :root {
        --header-height: 72px
    }

    .site-header .logo,
    .menu-button {
        position: relative;
        z-index: 1002
    }

    .menu-button {
        display: block
    }

    .nav-links {
        position: fixed;
        z-index: 1001;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        padding: 90px 25px 40px;
        color: var(--text);
        background: var(--white);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-100%);
        overflow-y: auto;
        transition: opacity .3s ease, visibility .3s ease, transform .3s ease
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0)
    }

    .nav-links a {
        font-family: "Cormorant Garamond", serif;
        font-size: 2rem;
        font-weight: 500
    }

    .nav-links .nav-button {
        padding: 11px 25px;
        font-family: "Inter", sans-serif;
        font-size: .85rem
    }

    .site-header.menu-active,
    .site-header.menu-active.scrolled,
    .site-header.page-header.menu-active {
        color: var(--text);
        background: var(--white);
        border-bottom-color: rgba(0, 0, 0, .08)
    }
}

@media(max-width:600px) {
    .container {
        width: min(calc(100% - 28px), var(--max-width))
    }

    .section {
        padding: 78px 0
    }

    .section-heading {
        margin-bottom: 42px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 16px
    }

    .button {
        width: 100%
    }
}