:root {
    --ink: #111213;
    --charcoal: #1d2022;
    --charcoal-2: #121416;
    --muted: #666b70;
    --paper: #fbfaf7;
    --paper-2: #f2efe8;
    --white: #ffffff;
    --line: rgba(17, 18, 19, 0.12);
    --gold: #b08b45;
    --gold-dark: #7f642f;
    --green: #24483b;
    --wine: #6f2733;
    --shadow: 0 24px 70px rgba(22, 25, 28, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(180deg, var(--paper) 0%, #f7f3eb 42%, var(--paper) 100%);
    color: var(--ink);
    font-family: Montserrat, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 12px clamp(20px, 5vw, 72px);
    background: rgba(251, 250, 247, 0.92);
    border-bottom: 1px solid rgba(17, 18, 19, 0.08);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 36px rgba(17, 18, 19, 0.05);
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    width: 132px;
    height: 80px;
    object-fit: contain;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(17, 18, 19, 0.08);
}

.site-footer strong {
    display: block;
    font-size: 14px;
    letter-spacing: 0;
}

.site-footer span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
    color: rgba(17, 18, 19, 0.76);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--wine);
}

.nav-cta {
    padding: 11px 17px;
    border: 1px solid rgba(17, 18, 19, 0.22);
    color: var(--ink);
}

.nav-cta:hover {
    background: var(--charcoal);
    color: var(--white);
}

.nav-toggle {
    display: none;
}

.hero {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 88px);
    padding: 132px clamp(20px, 5vw, 72px) 86px;
    background:
        linear-gradient(115deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.9) 48%, rgba(32, 35, 38, 0.08) 48.2%, rgba(32, 35, 38, 0.04) 100%),
        radial-gradient(circle at 12% 88%, rgba(176, 139, 69, 0.12), transparent 34%),
        var(--paper);
}

.hero-copy {
    max-width: 720px;
    min-width: 0;
}

.fineprint,
.section-label {
    margin: 0 0 18px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1,
h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: 0;
}

h1 {
    max-width: 740px;
    margin-bottom: 24px;
    font-size: clamp(48px, 7vw, 92px);
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(34px, 4.8vw, 62px);
}

h3 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.25;
}

.hero-lede {
    max-width: 620px;
    color: #4f5559;
    font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

.button.secondary {
    border-color: rgba(17, 18, 19, 0.24);
    background: rgba(255, 255, 255, 0.4);
}

.button.primary:hover {
    background: #050607;
}

.hero-media {
    position: relative;
    min-width: 0;
    min-height: 620px;
    overflow: hidden;
    border: 1px solid rgba(17, 18, 19, 0.12);
    box-shadow: var(--shadow);
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.media-card {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(360px, 88%);
    padding: 26px;
    background: rgba(32, 35, 38, 0.94);
    color: var(--white);
}

.media-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.media-card strong {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 23px;
    line-height: 1.3;
}

section {
    scroll-margin-top: 90px;
}

.intro,
.split-section,
.partners,
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 92px);
    padding: 110px clamp(20px, 5vw, 72px);
}

.intro {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18)),
        var(--paper);
}

.intro-copy {
    color: #454a4f;
    font-size: 18px;
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.stats-band div {
    min-height: 210px;
    padding: clamp(28px, 4vw, 48px);
    border-right: 1px solid var(--line);
}

.stats-band div:last-child {
    border-right: 0;
}

.stats-band strong {
    display: block;
    margin-bottom: 34px;
    color: var(--wine);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 42px;
}

.stats-band span {
    display: block;
    max-width: 300px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.section-copy p:not(.section-label) {
    color: #4b5054;
    font-size: 18px;
}

.feature-list {
    display: grid;
    gap: 18px;
}

.feature-list article,
.service-grid article {
    padding: 30px;
    background: var(--white);
    border: 1px solid rgba(17, 18, 19, 0.1);
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(22, 25, 28, 0.06);
}

.feature-list span {
    display: block;
    margin-bottom: 18px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.feature-list p,
.service-grid p,
.project-panel p {
    color: #555b60;
}

.projects {
    padding: 42px clamp(20px, 4vw, 54px) 96px;
    background: #f5f6f7;
    color: var(--ink);
}

.services {
    padding: 118px clamp(20px, 5vw, 72px);
    background:
        linear-gradient(135deg, rgba(176, 139, 69, 0.1), transparent 34%),
        linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
    color: var(--white);
}

.section-heading {
    max-width: 820px;
}

.services .section-label {
    color: #d2b16c;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 38px);
    align-items: center;
}

.portfolio-gallery a {
    display: block;
    overflow: hidden;
}

.portfolio-card {
    position: relative;
    height: clamp(250px, 24vw, 430px);
    border: 1px solid rgba(17, 18, 19, 0.08);
    border-radius: 0;
    background: var(--white);
    box-shadow: 0 18px 46px rgba(17, 18, 19, 0.08);
    text-decoration: none;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.portfolio-card:hover img {
    transform: scale(1.035);
}

.portfolio-title {
    display: grid;
    grid-template-columns: minmax(80px, 1fr) auto minmax(80px, 1fr);
    align-items: center;
    gap: 18px;
    max-width: 1120px;
    margin: 58px auto 34px;
    color: #65aa5e;
    text-align: center;
}

.portfolio-title span {
    display: block;
    height: 1px;
    background: currentColor;
    opacity: 0.72;
}

.portfolio-title h2 {
    margin: 0;
    color: currentColor;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(44px, 5vw, 76px);
    line-height: 0.95;
    letter-spacing: 0;
}

.portfolio-assets {
    display: grid;
    gap: 34px;
    max-width: 980px;
    margin: 0 auto;
}

.asset-block {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--ink);
}

.asset-block h3 {
    margin-bottom: 24px;
    color: #777;
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 500;
    text-transform: uppercase;
}

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

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

.asset-grid article {
    min-height: 104px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.asset-grid article:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.asset-grid a,
.asset-grid strong {
    display: block;
    margin-bottom: 22px;
    color: #3170b8;
    font-size: clamp(16px, 1.35vw, 22px);
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.asset-grid a {
    color: #3170b8;
}

.asset-grid span {
    color: #777;
    font-size: clamp(15px, 1.2vw, 20px);
    font-weight: 500;
}

.partners {
    align-items: start;
    background:
        linear-gradient(180deg, var(--white), var(--paper-2));
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(17, 18, 19, 0.12);
    border: 1px solid rgba(17, 18, 19, 0.12);
}

.partner-grid div {
    min-height: 130px;
    display: grid;
    place-items: center;
    background: var(--white);
    color: var(--green);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    text-align: center;
}

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

.service-grid article {
    min-height: 240px;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.service-grid p {
    color: rgba(255, 255, 255, 0.72);
}

.contact-section {
    background:
        linear-gradient(135deg, rgba(36, 72, 59, 0.08), transparent 42%),
        var(--paper);
}

.contact-copy p:not(.section-label) {
    max-width: 520px;
    color: #4b5054;
    font-size: 18px;
}

.contact-details {
    display: grid;
    gap: 8px;
    margin-top: 32px;
    color: #394046;
    font-weight: 700;
}

.contact-details a {
    text-decoration: none;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: clamp(26px, 4vw, 44px);
    background: var(--white);
    border: 1px solid rgba(17, 18, 19, 0.12);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: #2a2e32;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(17, 18, 19, 0.18);
    border-radius: 0;
    background: #f7f6f1;
    color: var(--ink);
    font: 500 16px/1.4 Montserrat, Arial, sans-serif;
    outline: 0;
}

input {
    height: 50px;
    padding: 0 14px;
}

textarea {
    resize: vertical;
    padding: 14px;
}

input:focus,
textarea:focus {
    border-color: var(--gold-dark);
    background: var(--white);
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.form-alert {
    padding: 14px 16px;
    font-weight: 700;
}

.form-alert.success {
    background: rgba(36, 72, 59, 0.12);
    color: var(--green);
}

.form-alert.error {
    background: rgba(111, 39, 51, 0.12);
    color: var(--wine);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px clamp(20px, 5vw, 72px);
    background: #111213;
    color: var(--white);
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

@media (max-width: 980px) {
    .site-header {
        padding: 14px 20px;
    }

    .nav-toggle {
        display: grid;
        gap: 6px;
        width: 44px;
        height: 44px;
        place-content: center;
        border: 1px solid rgba(17, 18, 19, 0.18);
        background: transparent;
    }

    .nav-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--ink);
    }

    .site-nav {
        position: fixed;
        inset: 73px 0 auto 0;
        display: none;
        padding: 26px 20px 32px;
        background: rgba(251, 250, 247, 0.98);
        border-bottom: 1px solid var(--line);
    }

    .site-nav.is-open {
        display: grid;
    }

    .hero,
    .intro,
    .split-section,
    .partners,
    .contact-section,
    .project-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 112px;
    }

    .hero-media,
    .hero-media img {
        min-height: 460px;
    }

    .stats-band,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        height: clamp(210px, 25vw, 300px);
    }

    .portfolio-card img {
        min-height: 0;
    }

    .stats-band div {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stats-band div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 760px) {
    .portfolio-gallery,
    .asset-grid,
    .past-assets {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .hero-copy,
    .hero-lede {
        max-width: 330px;
    }

    h1 {
        font-size: 40px;
        line-height: 1.08;
        max-width: 330px;
    }

    h2 {
        font-size: 34px;
    }

    .hero {
        padding-bottom: 44px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-media,
    .hero-media img {
        min-height: 380px;
    }

    .brand-logo {
        width: 88px;
        height: 54px;
        padding: 5px 8px;
    }

    .portfolio-card {
        height: 280px;
    }

    .portfolio-card img {
        min-height: 0;
    }

    .portfolio-title {
        grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
        gap: 12px;
        margin-top: 40px;
    }

    .portfolio-assets {
        margin-top: 32px;
    }

    .intro,
    .split-section,
    .partners,
    .services,
    .projects,
    .contact-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

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

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
