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

:root {
    --ivory: #fbf8f0;
    --oat: #eee4d4;
    --moss: #344231;
    --ink: #243022;
    --sage: #8d9b83;
    --clay: #b47a5f;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: "DM Sans", system-ui, sans-serif;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgb(52 66 49 / 10%);
    background: rgb(251 248 240 / 95%);
    backdrop-filter: blur(14px);
}

.nav,
.section-inner {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
}

.logo {
    width: 116px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--moss);
    font-size: 14px;
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--clay);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: 180ms ease;
}

.button-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 auto;
}

.button-primary {
    background: var(--moss);
    color: var(--white);
}

.button-primary:hover {
    background: var(--ink);
}

.button-secondary {
    border: 1px solid rgb(52 66 49 / 20%);
    background: transparent;
    color: var(--moss);
}

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

.hero {
    overflow: hidden;
    border-bottom: 1px solid rgb(52 66 49 / 10%);
    background: linear-gradient(115deg, #fbf8f0 0%, #f0eadf 52%, #dfe7d6 100%);
}

.hero-grid {
    display: grid;
    min-height: calc(100vh - 73px);
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
    padding: 48px 0 64px;
}

.label {
    color: var(--clay);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--moss);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    letter-spacing: 0;
}

h1 {
    max-width: 760px;
    margin-top: 20px;
    font-size: clamp(48px, 8vw, 86px);
    line-height: 0.98;
}

h2 {
    margin-top: 16px;
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.02;
}

h3 {
    font-size: 30px;
    line-height: 1.05;
}

p {
    margin: 0;
}

.lead {
    max-width: 680px;
    margin-top: 24px;
    color: rgb(36 48 34 / 75%);
    font-size: 18px;
    line-height: 1.75;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-panel {
    position: relative;
    width: min(100%, 560px);
    margin-left: auto;
}

.hero-panel::before,
.hero-panel::after {
    position: absolute;
    z-index: 0;
    display: block;
    border-radius: 999px;
    content: "";
}

.hero-panel::before {
    left: -18px;
    top: 48px;
    width: 96px;
    height: 96px;
    background: rgb(180 122 95 / 15%);
}

.hero-panel::after {
    right: -8px;
    bottom: 40px;
    width: 128px;
    height: 128px;
    background: rgb(141 155 131 / 25%);
}

.photo-card {
    position: relative;
    z-index: 1;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 8px;
    background: rgb(255 255 255 / 75%);
    padding: 16px;
    box-shadow: 0 26px 70px rgb(52 66 49 / 10%);
}

.hero-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 6px;
    object-fit: cover;
    object-position: 54% 42%;
}

.service-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.service-tags span,
.pill {
    border-radius: 8px;
    background: var(--ivory);
    color: var(--moss);
    font-size: 14px;
    font-weight: 700;
    padding: 14px 16px;
}

.section {
    padding: 80px 0;
}

.white {
    background: var(--white);
}

.oat {
    background: rgb(238 228 212 / 55%);
}

.moss {
    background: var(--moss);
    color: var(--white);
}

.moss h2,
.moss .label {
    color: var(--white);
}

.moss .label {
    color: var(--oat);
}

.moss .lead {
    color: rgb(255 255 255 / 78%);
}

.two-column {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
}

.copy {
    display: grid;
    gap: 24px;
    color: rgb(36 48 34 / 75%);
    line-height: 1.8;
}

.ndfa-gallery,
.portrait-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.ndfa-gallery img,
.portrait-gallery img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 16px 34px rgb(52 66 49 / 10%);
}

.grid-2,
.grid-3 {
    display: grid;
    gap: 20px;
}

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

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 40px;
}

.card,
.step {
    border: 1px solid var(--oat);
    border-radius: 8px;
    background: var(--white);
    padding: 24px;
    box-shadow: 0 12px 28px rgb(52 66 49 / 5%);
}

.card p,
.step p {
    margin-top: 12px;
    color: rgb(36 48 34 / 70%);
    line-height: 1.7;
}

.step .step-label {
    margin: 0;
    color: var(--clay);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.workshop-list {
    display: grid;
    gap: 16px;
}

.workshop-list div {
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 8px;
    background: rgb(255 255 255 / 10%);
    padding: 20px;
    font-weight: 700;
}

.contact-logo {
    width: 230px;
}

.footer-details {
    display: grid;
    gap: 18px;
    margin-top: 28px;
    color: rgb(36 48 34 / 72%);
    line-height: 1.7;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgb(52 66 49 / 14%);
    border-radius: 999px;
    color: var(--moss);
    transition: 180ms ease;
}

.social-links a:hover {
    background: var(--moss);
    color: var(--white);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    overflow-y: auto;
    background: rgb(36 48 34 / 58%);
    padding: 24px;
}

.modal-backdrop[hidden] {
    display: none;
}

.modal {
    position: relative;
    width: min(100%, 680px);
    border-radius: 8px;
    background: var(--white);
    padding: 32px;
    box-shadow: 0 28px 80px rgb(0 0 0 / 24%);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: var(--ivory);
    color: var(--moss);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--moss);
    font-size: 14px;
    font-weight: 700;
}

.contact-form .full,
.contact-form .form-status,
.contact-form button {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--oat);
    border-radius: 8px;
    background: var(--ivory);
    color: var(--ink);
    font: inherit;
    padding: 12px 14px;
}

.contact-form textarea {
    resize: vertical;
}

.form-trap {
    position: absolute;
    left: -9999px;
}

.form-status {
    min-height: 22px;
    color: rgb(36 48 34 / 70%);
    font-size: 14px;
}

.form-status.success {
    color: #2f6d3b;
}

.form-status.error {
    color: #a23b30;
}

@media (max-width: 860px) {
    .nav-links {
        display: none;
    }

    .hero-grid,
    .two-column,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-panel {
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .nav,
    .section-inner {
        width: min(100% - 28px, 1180px);
    }

    .logo {
        width: 92px;
    }

    .button {
        padding-inline: 14px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .ndfa-gallery,
    .portrait-gallery,
    .service-tags {
        grid-template-columns: 1fr;
    }

    .photo-card {
        padding: 20px;
    }
}
