:root {
    --ink: #171717;
    --charcoal: #20201f;
    --panel: #2c2a27;
    --paper: #f7f3ec;
	--contact: #f7f3ec;
    --muted: #d8d0c2;
    --wood: #a46b3f;
    --moss: #4f6f46;
    --line: rgba(255, 255, 255, 0.16);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 0;
    color: var(--paper);
    background: var(--charcoal);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(23, 23, 23, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    width: min(1160px, calc(100% - 32px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: auto;
    height: 62px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 12px 14px;
    border-radius: 6px;
    color: var(--paper);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: var(--moss);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    color: var(--paper);
    padding: 10px;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: currentColor;
}

.hero {
    min-height: calc(100vh - 78px);
    position: relative;
    overflow: hidden;
    background: #111;
}

.hero-carousel,
.hero-carousel__slides,
.hero-slide {
    min-height: calc(100vh - 78px);
}

.hero-carousel {
    position: relative;
}

.hero-carousel__slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 700ms ease, transform 900ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.5));
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(720px, calc(100% - 40px));
    padding: clamp(70px, 12vh, 150px) 0 170px;
    margin-left: max(20px, calc((100vw - 1120px) / 2));
}

.hero__logo {
    width: min(230px, 48vw);
    margin-bottom: 26px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #d9bc8b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

.hero h1,
.page-hero h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
}

.hero__content > p:not(.eyebrow),
.page-hero p {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 2.3vw, 24px);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}

.button--primary {
    background: var(--wood);
    color: #fff;
}

.button--primary:hover {
    background: #8f5730;
}

.button--ghost {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
}

.hero-carousel__controls {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 4;
    width: min(1120px, calc(100% - 40px));
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.hero-carousel__controls button {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.52);
    color: #fff;
    text-align: left;
    cursor: pointer;
    padding: 0;
}

.hero-carousel__controls button.is-active {
    border-color: #d9bc8b;
}

.hero-carousel__controls img {
    width: 100%;
    height: 54px;
    object-fit: cover;
}

.hero-carousel__controls span {
    display: block;
    min-height: 42px;
    padding: 7px 8px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 800;
}

.intro-band {
    background: var(--paper);
    color: var(--ink);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 5vw, 70px);
    padding: 64px 0;
    align-items: start;
}

.intro-grid h2,
.section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.intro-grid > p {
    margin: 0;
    color: #4d473f;
    font-size: 19px;
}

.services-section {
    padding: 74px 0;
}

.section-heading {
    margin-bottom: 28px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.service-item {
    min-height: 160px;
    padding: 22px;
    background: #302d28;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.service-item span {
    display: block;
    width: 34px;
    height: 4px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: var(--moss);
}

.service-item h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.feature-work {
    background: #171717;
}

.feature-work__inner {
    padding: 72px 0;
}

.work-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.work-strip article,
.gallery-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    border-radius: 6px;
    background: #111;
}

.work-strip img,
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.work-strip article:hover img,
.gallery-card:hover img {
    transform: scale(1.04);
}

.work-strip article > div,
.gallery-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
}

.work-strip h3,
.work-strip p,
.gallery-card figcaption {
    margin: 0;
}

.work-strip p {
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    background: #111;
    border-top: 1px solid var(--line);
}

.site-footer__inner {
    width: min(1120px, calc(100% - 32px));
    min-height: 96px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-footer img {
    width: auto;
    height: 58px;
}

.site-footer strong,
.site-footer span {
    display: block;
}

.site-footer span {
    color: var(--muted);
}

.site-footer a {
    font-weight: 800;
    text-decoration: none;
}

.page-main {
    padding: 62px 0 82px;
    background: linear-gradient(180deg, #24211e, #171717);
}

.page-hero {
    margin-bottom: 38px;
}

.page-hero h1 {
    max-width: 900px;
}

.realisation-viewer {
    position: relative;
    min-height: 650px;
    border-radius: 6px;
    overflow: hidden;
    background: #111;
    box-shadow: var(--shadow);
}

.realisation-slide {
    display: none;
    position: relative;
    min-height: 650px;
    padding: 24px 24px 72px;
}

.realisation-slide.is-active {
    display: block;
}

.realisation-slide__media {
    position: absolute;
    inset: 0;
}

.realisation-slide__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.realisation-slide__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(360px, 100%);
    margin-left: auto;
    padding: 28px;
    border-radius: 10px;
    background: rgba(247, 243, 236, 0.6);
    backdrop-filter: blur(8px);
    color: var(--ink);
}

.realisation-slide__copy .eyebrow {
    color: #75522d;
}

.realisation-slide h2 {
    margin: 0 0 16px;
    font-size: clamp(24px, 2.6vw, 36px);
    line-height: 1.12;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.realisation-slide p:last-child {
    margin: 0;
    color: #524c45;
    font-size: 18px;
}

.carousel-dots {
    position: absolute;
    left: 28px;
    bottom: 26px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.carousel-dots button {
    width: 36px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.carousel-dots button.is-active {
    background: #d9bc8b;
}

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

.gallery-card {
    aspect-ratio: 1 / 0.82;
    margin: 0;
}

.gallery-card__link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.gallery-card__link:focus-visible {
    outline: 3px solid #d9bc8b;
    outline-offset: -3px;
}

.gallery-card figcaption {
    pointer-events: none;
}

.gallery-lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 16px;
    border: 0;
    color: #fff;
    background: rgba(10, 10, 10, 0.96);
}

.gallery-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.9);
}

.gallery-lightbox__frame {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    max-width: 1500px;
    margin: auto;
}

.gallery-lightbox__image {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-height: calc(100vh - 100px);
    object-fit: contain;
    margin: auto;
}

.gallery-lightbox__caption {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    text-align: center;
}

.gallery-lightbox__close,
.gallery-lightbox__previous,
.gallery-lightbox__next {
    z-index: 1;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__previous:hover,
.gallery-lightbox__next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox__close {
    position: absolute;
    top: 0;
    right: 0;
}

.gallery-lightbox__previous {
    grid-column: 1;
    grid-row: 1;
}

.gallery-lightbox__next {
    grid-column: 3;
    grid-row: 1;
}

@media (max-width: 600px) {
    .gallery-lightbox {
        padding: 12px;
    }

    .gallery-lightbox__frame {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: 4px;
    }

    .gallery-lightbox__close,
    .gallery-lightbox__previous,
    .gallery-lightbox__next {
        width: 40px;
        height: 40px;
    }
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.contact-card,
.contact-form {
    border-radius: 6px;
    background: var(--contact);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.contact-card {
    padding: 28px;
}

.contact-card h2 {
    margin: 0 0 12px;
}

.contact-card a {
    display: block;
    margin-bottom: 12px;
    color: var(--moss);
    font-weight: 800;
    text-decoration: none;
}

.contact-phone {
    font-size: 26px;
}

.contact-card img {
    width: 100%;
    margin-top: 24px;
    border-radius: 6px;
}

.contact-form {
    padding: 30px;
}

.contact-form label {
    display: block;
    margin-bottom: 18px;
}

.contact-form span {
    display: block;
    margin-bottom: 7px;
    color: #554f47;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #cfc5b6;
    border-radius: 6px;
    padding: 13px 14px;
    background: #fff;
    color: var(--ink);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.g-recaptcha {
    margin-bottom: 18px;
}

@media (max-width: 920px) {
    .hero-carousel__controls {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .contact-layout,
    .intro-grid {
        grid-template-columns: 1fr;
    }
}

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

    .site-header__inner {
        min-height: 70px;
    }

    .brand img {
        height: 54px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 70px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 16px 18px;
        background: #171717;
        border-bottom: 1px solid var(--line);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 14px;
    }

    .hero,
    .hero-carousel,
    .hero-carousel__slides,
    .hero-slide {
        min-height: 760px;
    }

    .hero__content {
        width: min(100% - 28px, 720px);
        margin: 0 auto;
        padding: 54px 0 260px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(38px, 13vw, 58px);
    }

    .hero-carousel__controls {
        grid-template-columns: 1fr 1fr;
        bottom: 14px;
        width: min(100% - 28px, 1120px);
    }

    .hero-carousel__controls img {
        display: none;
    }

    .hero-carousel__controls span {
        min-height: 0;
        font-size: 12px;
    }

    .intro-grid,
    .services-section,
    .feature-work__inner {
        padding: 46px 0;
    }

    .service-grid,
    .work-strip,
    .gallery-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .work-strip article {
        min-height: 330px;
    }

    .realisation-slide {
        min-height: 600px;
        padding: 14px 14px 65px;
    }

    .realisation-slide__copy {
        padding: 20px;
    }

    .carousel-dots {
        left: 18px;
        bottom: 18px;
    }

    .site-footer__inner {
        padding: 18px 0;
        flex-direction: column;
        text-align: center;
    }
}
