:root {
    --opal-champagne: #E9C579;
    --opal-ivory: #F2DEA9;
    --opal-gold: #DAA754;
    --opal-bronze: #9F691F;
    --opal-espresso: #462506;
    --opal-ink: #15120f;
    --opal-paper: #fbf7ec;
    --opal-muted: #70675b;
    --container: min(1160px, calc(100vw - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html:focus-within {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--opal-ink);
    background: var(--opal-paper);
    font-family: Inter, Arial, sans-serif;
    letter-spacing: 0;
}

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

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    transform: translateY(-140%);
    padding: 12px 16px;
    background: var(--opal-gold);
    color: #17100a;
    font-weight: 800;
    text-transform: uppercase;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 82px;
    padding: 14px max(20px, calc((100vw - 1160px) / 2));
    border-bottom: 1px solid rgba(242, 222, 169, 0.18);
    background: transparent;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.brand img {
    width: min(210px, 42vw);
    max-height: 52px;
    object-fit: contain;
}

.nav-toggle-checkbox,
.nav-toggle-button {
    display: none;
}

.header-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    min-width: 0;
}

.site-nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-nav a:hover,
.contact-methods a:hover {
    color: var(--opal-champagne);
}

.header-socials,
.footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(242, 222, 169, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    line-height: 1;
    text-shadow: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social-icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.social-icon:hover {
    border-color: var(--opal-champagne);
    background: var(--opal-gold);
    color: var(--opal-espresso);
    transform: translateY(-1px);
}

.header-actions,
.hero-actions,
.contact-methods {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.site-header .header-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 10px;
}

.site-header .header-socials {
    flex-wrap: nowrap;
    gap: 6px;
}

.site-header .social-icon {
    width: 30px;
    height: 30px;
    border-color: rgba(242, 222, 169, 0.34);
    background: rgba(16, 14, 12, 0.22);
}

.site-header .social-icon svg {
    width: 13px;
    height: 13px;
}

.site-header .link-button {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 0.76rem;
}

.link-button,
.inquiry-form button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid rgba(233, 197, 121, 0.72);
    border-radius: 2px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 34%),
        #2b190b;
    color: var(--opal-ivory);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 rgba(251, 247, 236, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.45),
        0 15px 36px rgba(18, 12, 7, 0.32),
        0 0 0 4px rgba(218, 167, 84, 0.08);
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.link-button::before,
.inquiry-form button::before {
    position: absolute;
    inset: 1px;
    z-index: -1;
    border: 1px solid rgba(242, 222, 169, 0.16);
    content: "";
}

.link-button:hover,
.inquiry-form button:hover {
    border-color: var(--opal-champagne);
    background:
        linear-gradient(180deg, rgba(251, 228, 155, 0.18), rgba(255, 255, 255, 0) 38%),
        #3b220d;
    color: #fff7dc;
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(251, 247, 236, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        0 18px 42px rgba(18, 12, 7, 0.38),
        0 0 0 4px rgba(233, 197, 121, 0.11);
}

.link-button-ghost {
    color: var(--opal-ivory);
}

.link-button-large {
    min-height: 52px;
    padding-inline: 26px;
}

.hero-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    align-items: end;
    gap: 36px;
    min-height: 100svh;
    padding: clamp(140px, 15vw, 190px) max(20px, calc((100vw - 1160px) / 2)) 46px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(10, 9, 8, 0.88), rgba(10, 9, 8, 0.44) 54%, rgba(10, 9, 8, 0.72)),
        var(--hero-image) center/cover;
}

.hero-content {
    max-width: 770px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--opal-gold);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: 0;
}

h1 {
    max-width: 830px;
    font-size: clamp(4rem, 8.4vw, 8.4rem);
}

h2 {
    font-size: clamp(2.7rem, 5vw, 5.4rem);
}

h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.25;
}

.hero-subtitle,
.lead {
    max-width: 690px;
    margin: 24px 0 0;
    font-size: clamp(1.12rem, 1.8vw, 1.42rem);
    line-height: 1.55;
}

.hero-body,
.section-copy p,
.section-heading p,
.service-card p,
.testimonial-card p,
.site-footer p {
    color: var(--opal-muted);
    font-size: 1rem;
    line-height: 1.78;
}

.hero-body {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
    margin-top: 34px;
}

.hero-panel {
    padding: 26px;
    border: 1px solid rgba(242, 222, 169, 0.34);
    background: rgba(21, 18, 15, 0.64);
    backdrop-filter: blur(18px);
}

.hero-panel span,
.hero-panel p {
    color: rgba(255, 255, 255, 0.68);
}

.hero-panel strong {
    display: block;
    margin: 10px 0;
    color: var(--opal-ivory);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.2rem;
    line-height: 1;
}

.section {
    width: var(--container);
    margin: 0 auto;
    padding: clamp(74px, 9vw, 130px) 0;
}

.section-split {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(36px, 6vw, 86px);
}

.section-split-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
}

.section-media {
    min-height: 520px;
}

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

.section-copy {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.about-section {
    padding: clamp(78px, 8vw, 124px) 0;
    align-items: stretch;
}

.about-section .section-media {
    min-height: 0;
    padding: 14px;
    border: 1px solid rgba(218, 167, 84, 0.44);
    background:
        linear-gradient(135deg, rgba(251, 247, 236, 0.92), rgba(233, 197, 121, 0.22)),
        #fff;
    box-shadow:
        0 30px 74px rgba(70, 37, 6, 0.14),
        inset 0 0 0 1px rgba(255, 255, 255, 0.68);
}

.about-section .section-media img {
    height: 100%;
    min-height: 500px;
    border: 1px solid rgba(70, 37, 6, 0.12);
    box-shadow: 0 18px 38px rgba(70, 37, 6, 0.12);
}

.about-section .section-copy {
    justify-content: center;
    gap: 20px;
    padding: clamp(8px, 2vw, 24px) 0;
}

.about-section h2 {
    max-width: 650px;
    color: var(--opal-espresso);
    font-size: clamp(2.65rem, 4.4vw, 4.85rem);
    line-height: 1;
}

.about-section .lead {
    margin: 4px 0 0;
    color: #4e4337;
    font-size: clamp(1.08rem, 1.25vw, 1.24rem);
    line-height: 1.7;
}

.about-section .section-copy > p:not(.eyebrow):not(.lead) {
    max-width: 640px;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.74;
}

.mini-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
    background: transparent;
}

.mini-metrics div {
    min-height: 104px;
    padding: 20px 18px;
    border: 1px solid rgba(218, 167, 84, 0.32);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 247, 236, 0.92)),
        #fff;
    box-shadow: 0 16px 34px rgba(70, 37, 6, 0.1);
}

.mini-metrics strong,
.mini-metrics span {
    display: block;
}

.mini-metrics strong {
    color: var(--opal-espresso);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.82rem;
    line-height: 1;
}

.mini-metrics span {
    margin-top: 10px;
    color: var(--opal-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.section-dark {
    width: 100%;
    padding-inline: max(20px, calc((100vw - 1160px) / 2));
    background: url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=2200&q=76") center/cover;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(260px, 0.7fr);
    gap: 34px;
    align-items: end;
    margin-bottom: 46px;
}

.section-dark .section-heading p,
.section-dark .service-card p,
.section-dark .testimonial-card p {
    color: rgba(255, 255, 255, 0.72);
}

.expertise-title {
    color: #fff;
    text-shadow:
        0 3px 18px rgba(0, 0, 0, 0.58),
        0 0 28px rgba(218, 167, 84, 0.26);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(242, 222, 169, 0.22);
}

.service-card,
.testimonial-card {
    min-height: 270px;
    padding: 30px;
    background: rgba(12, 10, 8, 0.72);
    backdrop-filter: blur(4px);
}

.service-card span {
    display: inline-block;
    margin-bottom: 54px;
    color: var(--opal-gold);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.7rem;
    line-height: 1;
}

.service-card h3,
.testimonial-card strong {
    color: var(--opal-ivory);
}

.team-section {
    width: 100%;
    padding-inline: max(20px, calc((100vw - 1160px) / 2));
    background: #fbf7ec;
}

.team-heading {
    grid-template-columns: minmax(0, 0.78fr) minmax(240px, 0.5fr);
    margin-bottom: 36px;
}

.team-heading h2 {
    font-size: clamp(2.3rem, 3.8vw, 4rem);
}

.team-heading p:not(.eyebrow) {
    max-width: 360px;
    font-size: 0.95rem;
    line-height: 1.62;
}

.team-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 240px));
    justify-content: center;
    gap: 22px;
}

.team-card {
    overflow: hidden;
    border: 1px solid rgba(218, 167, 84, 0.36);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(70, 37, 6, 0.1);
}

.team-card img {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
}

.team-card-body {
    min-height: 88px;
    padding: 18px 18px 20px;
    border-top: 1px solid rgba(218, 167, 84, 0.22);
    background: #fff;
    text-align: center;
}

.team-card-body strong,
.team-card-body span {
    display: block;
}

.team-card-body strong {
    color: var(--opal-espresso);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.42rem;
    line-height: 1.05;
}

.team-card-body span {
    margin-top: 9px;
    color: var(--opal-bronze);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.empty-note {
    max-width: 640px;
    color: var(--opal-muted);
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-rating {
    margin-bottom: 28px;
    color: var(--opal-gold);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    line-height: 1;
}

.testimonial-card span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.62);
}

.testimonial-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-inline: max(20px, calc((100vw - 1160px) / 2));
    background:
        linear-gradient(180deg, #fff 0%, #fbf7ec 100%),
        #fff;
    color: var(--opal-ink);
    box-shadow:
        inset 0 1px 0 rgba(233, 197, 121, 0.26),
        inset 0 -1px 0 rgba(218, 167, 84, 0.18);
}

.testimonial-heading {
    grid-template-columns: minmax(0, 0.74fr) minmax(240px, 0.48fr);
    margin-bottom: 34px;
}

.testimonial-heading h2 {
    color: var(--opal-espresso);
    font-size: clamp(2.35rem, 3.8vw, 4.2rem);
    text-shadow:
        0 14px 28px rgba(70, 37, 6, 0.12),
        0 0 22px rgba(218, 167, 84, 0.14);
}

.testimonial-heading p:not(.eyebrow) {
    max-width: 400px;
    color: var(--opal-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.testimonial-slider {
    overflow: hidden;
    padding: 8px 0 20px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.testimonial-track {
    display: flex;
    width: max-content;
    animation: testimonial-slide 42s linear infinite;
    will-change: transform;
}

.testimonial-slider:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-set {
    display: flex;
    flex: 0 0 auto;
    gap: 22px;
    padding-right: 22px;
}

.testimonial-section .testimonial-card {
    position: relative;
    display: flex;
    flex: 0 0 clamp(310px, 32vw, 390px);
    flex-direction: column;
    width: clamp(310px, 32vw, 390px);
    min-height: 292px;
    padding: 34px 32px 30px;
    overflow: hidden;
    border: 1px solid rgba(233, 197, 121, 0.42);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 247, 236, 0.95));
    box-shadow:
        0 28px 64px rgba(70, 37, 6, 0.15),
        0 12px 28px rgba(159, 105, 31, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    text-shadow: none;
}

.testimonial-section .testimonial-card::before {
    position: absolute;
    top: 0;
    right: 32px;
    left: 32px;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--opal-gold), transparent);
    opacity: 0.82;
}

.testimonial-section .testimonial-card p {
    margin: 24px 0 30px;
    color: #4e453b;
    font-size: 1rem;
    line-height: 1.78;
}

.testimonial-section .testimonial-card strong {
    margin-top: auto;
    color: var(--opal-espresso);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.42rem;
    line-height: 1.08;
}

.testimonial-section .testimonial-card span {
    display: block;
}

.testimonial-section .testimonial-rating {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 28px;
    padding-inline: 12px;
    border: 1px solid rgba(159, 105, 31, 0.3);
    border-radius: 999px;
    background: #fbf7ec;
    color: var(--opal-bronze);
    font-family: Inter, Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
}

.testimonial-client-role {
    margin-top: 8px;
    color: var(--opal-bronze);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

@keyframes testimonial-slide {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-slider {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
        scrollbar-width: thin;
    }

    .testimonial-track {
        animation: none;
    }
}

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

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
}

.gallery-grid h3 {
    margin-top: 12px;
}

.contact-section {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 520px);
    gap: clamp(36px, 6vw, 86px);
    padding-inline: max(20px, calc((100vw - 1160px) / 2));
    background:
        linear-gradient(90deg, rgba(21, 18, 15, 0.9), rgba(21, 18, 15, 0.58)),
        var(--contact-image) center/cover;
    color: #fff;
}

.contact-copy {
    align-self: end;
    padding-bottom: 20px;
}

.contact-copy .lead {
    color: rgba(255, 255, 255, 0.76);
}

.contact-methods {
    margin-top: 28px;
}

.contact-methods a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 14px 0 7px;
    border: 1px solid rgba(242, 222, 169, 0.36);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-method-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    background: var(--opal-gold);
    color: var(--opal-espresso);
}

.contact-method-icon svg,
.footer-link-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.inquiry-form {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 42px);
    background: #fff;
    color: var(--opal-ink);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.inquiry-form label {
    display: grid;
    gap: 8px;
    color: var(--opal-espresso);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    border: 1px solid rgba(70, 37, 6, 0.18);
    background: #fbf7ec;
    color: var(--opal-ink);
    font: inherit;
    min-height: 48px;
    padding: 12px 14px;
    outline: 0;
}

.inquiry-form textarea {
    resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    border-color: var(--opal-bronze);
    box-shadow: 0 0 0 3px rgba(218, 167, 84, 0.18);
}

.inquiry-form .is-invalid {
    border-color: #b42318;
}

.inquiry-form label span {
    color: #b42318;
    font-size: 0.78rem;
    line-height: 1.4;
    text-transform: none;
}

.form-status {
    padding: 14px 16px;
    background: rgba(218, 167, 84, 0.18);
    color: var(--opal-espresso);
    font-weight: 700;
}

.inquiry-form button {
    width: 100%;
    min-height: 54px;
    border-radius: 0;
    cursor: pointer;
}

.site-footer {
    width: 100%;
    padding: 72px max(20px, calc((100vw - 1160px) / 2)) 28px;
    border-top: 1px solid rgba(242, 222, 169, 0.2);
    background:
        linear-gradient(180deg, rgba(21, 18, 15, 0.98), rgba(11, 10, 9, 1)),
        var(--opal-ink);
    color: #fff;
    text-align: left;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1.05fr) minmax(340px, 1fr);
    gap: clamp(30px, 5vw, 58px);
    align-items: start;
}

.footer-brand {
    display: grid;
    gap: 22px;
}

.footer-brand img {
    width: min(260px, 70vw);
    max-height: 74px;
    object-fit: contain;
}

.site-footer p {
    max-width: 440px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.footer-socials .social-icon {
    width: 38px;
    height: 38px;
    background: rgba(218, 167, 84, 0.1);
    color: var(--opal-champagne);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-column strong {
    margin-bottom: 6px;
    color: var(--opal-ivory);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.42rem;
    line-height: 1;
}

.footer-column a,
.footer-column span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
    line-height: 1.55;
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-column a:hover {
    color: var(--opal-champagne);
}

.footer-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(242, 222, 169, 0.3);
    background: rgba(218, 167, 84, 0.12);
    color: var(--opal-champagne);
}

.footer-contact {
    gap: 14px;
}

.footer-address {
    display: grid;
    gap: 11px;
    max-width: 430px;
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(242, 222, 169, 0.16);
}

.footer-address > span {
    color: rgba(255, 255, 255, 0.74);
}

.footer-map {
    overflow: hidden;
    min-height: 260px;
    border: 1px solid rgba(242, 222, 169, 0.26);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
    filter: saturate(0.8) contrast(1.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(242, 222, 169, 0.16);
}

.footer-bottom span {
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.86rem;
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: auto auto;
        justify-content: space-between;
        justify-items: stretch;
        gap: 12px;
        position: absolute;
    }

    .nav-toggle-button {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(242, 222, 169, 0.38);
        background: rgba(16, 14, 12, 0.28);
        cursor: pointer;
    }

    .nav-toggle-button span {
        width: 18px;
        height: 2px;
        background: var(--opal-champagne);
        transition: transform 160ms ease, opacity 160ms ease;
    }

    .nav-toggle-checkbox:checked + .nav-toggle-button span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .nav-toggle-checkbox:checked + .nav-toggle-button span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .header-menu {
        position: absolute;
        top: calc(100% - 4px);
        left: 20px;
        right: 20px;
        display: grid;
        gap: 16px;
        max-height: 0;
        overflow: hidden;
        padding: 0 18px;
        border: 1px solid rgba(242, 222, 169, 0);
        background: rgba(16, 14, 12, 0.94);
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
        opacity: 0;
        pointer-events: none;
        transition: max-height 200ms ease, opacity 160ms ease, padding 160ms ease, border-color 160ms ease;
    }

    .nav-toggle-checkbox:checked ~ .header-menu {
        max-height: 520px;
        padding-block: 18px;
        border-color: rgba(242, 222, 169, 0.24);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 14px;
        overflow: visible;
        padding-bottom: 0;
    }

    .hero-section,
    .section-split,
    .section-split-reverse,
    .contact-section,
    .section-heading {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: 100svh;
        padding-top: 210px;
    }

    .hero-panel {
        max-width: 420px;
    }

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

    .testimonial-section .testimonial-card {
        flex-basis: 340px;
        width: 340px;
    }

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

    .footer-map {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    :root {
        --container: min(100vw - 28px, 1160px);
    }

    .site-header {
        padding-inline: 14px;
    }

    .header-menu {
        left: 14px;
        right: 14px;
    }

    .site-nav {
        gap: 18px;
        font-size: 0.78rem;
        justify-content: flex-start;
    }

    .site-header .header-actions {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .header-socials {
        justify-content: flex-start;
    }

    .header-socials .social-icon {
        width: 30px;
        height: 30px;
    }

    .header-socials .social-icon svg {
        width: 14px;
        height: 14px;
    }

    .hero-section,
    .contact-section,
    .section-dark {
        padding-inline: 14px;
    }

    h1 {
        font-size: clamp(3.1rem, 18vw, 4.8rem);
    }

    h2 {
        font-size: clamp(2.4rem, 13vw, 3.6rem);
    }

    .mini-metrics,
    .service-grid,
    .team-card-grid,
    .gallery-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-set {
        gap: 16px;
        padding-right: 16px;
    }

    .testimonial-section .testimonial-card {
        flex-basis: min(82vw, 360px);
        width: min(82vw, 360px);
        min-height: 310px;
        padding: 30px 24px 28px;
    }

    .section-media,
    .section-media img {
        min-height: 340px;
    }

    .about-section .section-media img {
        min-height: 340px;
    }

    .team-card-body {
        min-height: auto;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}
