:root {
    color-scheme: light;
    --brand-dark: #8B451F;
    --brand-main: #8B451F;
    --brand-light: #CD9567;
    --ink: #20282d;
    --muted: #62686c;
    --paper: #fff;
    --soft: #f7f5f2;
    --content-width: 1240px;
}

/* ---------- Featured hero ---------- */
.project-hero {
    position: relative;
    margin: 0 0 1rem;
    border-radius: var(--radius-lg, 14px);
    overflow: hidden;
    background: var(--surface-2, #111);
    cursor: zoom-in;
    aspect-ratio: 16 / 9;
    outline-offset: 4px;
}

.project-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.project-hero:hover .project-hero__image { transform: scale(1.02); }

.project-hero__expand {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .25s ease;
}

.project-hero:hover .project-hero__expand,
.project-hero:focus-visible .project-hero__expand { opacity: 1; }

.project-hero__caption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: .8rem;
    letter-spacing: .02em;
    backdrop-filter: blur(6px);
}

/* ---------- Thumbnail strip ---------- */
.project-thumbs {
    position: relative;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.project-thumbs__track {
    display: flex;
    gap: .65rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: .25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.25) transparent;
}

.project-thumbs__track::-webkit-scrollbar { height: 6px; }
.project-thumbs__track::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.25);
    border-radius: 999px;
}

.project-thumbs__item {
    flex: 0 0 auto;
    width: 120px;
    height: 80px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface-2, #111);
    cursor: pointer;
    opacity: .6;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.project-thumbs__item:hover { opacity: .9; }

.project-thumbs__item.is-active {
    opacity: 1;
    border-color: var(--accent, #6ea8fe);
    transform: translateY(-2px);
}

.project-thumbs__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-thumbs__nav {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(0,0,0,.4);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.project-thumbs__nav:hover { background: rgba(0,0,0,.7); transform: scale(1.05); }

@media (max-width: 640px) {
    .project-thumbs__item { width: 88px; height: 62px; }
    .project-hero { aspect-ratio: 4 / 3; }
}

/* =========================================================
   Services grid — 3 per row
   ========================================================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--surface, #fff);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
    border-color: rgba(0, 0, 0, .14);
}

.service-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f3f3;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.service-card:hover .service-card__media img {
    transform: scale(1.04);
}

.service-card__content {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1;
}

.service-card__content h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.3;
}

.service-card__content p {
    margin: 0;
    color: var(--muted, #555);
    line-height: 1.55;
    font-size: .95rem;
}

.service-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted, #555);
    padding: 2rem 0;
}

/* Responsive: 2 columns on tablets, 1 on phones */
@media (max-width: 980px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 620px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: var(--brand-main); text-decoration: none; }
a:hover { color: var(--brand-dark); }
button, input, textarea { font: inherit; }
.skip-link {
    position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; width: auto; height: auto; padding: .7rem 1rem; background: #fff; }
.site-header {
    position: sticky; top: 0; z-index: 1000; background: #fff;
    box-shadow: 0 4px 24px rgb(52 19 4 / 8%);
}
.site-header__inner {
    width: min(var(--content-width), calc(100% - 48px)); min-height: 108px;
    margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.site-logo { display: block; width: min(288px, 38.4vw); flex: 0 0 auto; }
.site-logo img { width: 100%; max-height: 88.8px; object-fit: contain; object-position: left center; }
.site-menu { position: relative; margin-left: auto; }
.site-menu__toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2rem); }
.site-nav > a:not(.button) { color: var(--brand-dark); font-size: 1.056rem; font-weight: 700; }
.site-nav > a:not(.button):hover { color: var(--brand-main); }
.site-nav__item { position: relative; }
.site-nav__item > a { color: var(--brand-dark); font-size: 1.056rem; font-weight: 700; }
.site-nav__item > a:hover { color: var(--brand-main); }
.site-nav__chevron {
    display: inline-block;
    width: .42rem;
    height: .42rem;
    margin: 0 0 .16rem .45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.site-nav__toggle { display: none; }
.site-nav__dropdown {
    position: absolute;
    top: 100%;
    left: -.75rem;
    z-index: 1001;
    display: none;
    min-width: 260px;
    padding: .5rem;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 28px rgb(52 19 4 / 14%);
}
.site-nav__item.is-open .site-nav__dropdown { display: flex; flex-direction: column; }
@media (min-width: 901px) {
    .site-nav__item:hover .site-nav__dropdown,
    .site-nav__item:focus-within .site-nav__dropdown { display: flex; flex-direction: column; }
}
.site-nav__dropdown a {
    padding: .6rem .75rem;
    border-radius: 6px;
    color: var(--brand-dark);
    font-size: 1.02rem;
    font-weight: 600;
    white-space: nowrap;
}
.site-nav__dropdown a:hover,
.site-nav__dropdown a:focus-visible { background: var(--soft); color: var(--brand-main); }
.button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
    padding: .75rem 1.35rem; border: 1px solid var(--brand-main); border-radius: 999px;
    color: #fff; background: var(--brand-main); font-weight: 700; cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button__icon { width: 1rem; height: 1rem; margin-right: .5rem; fill: currentColor; }
.button:hover { color: #fff; border-color: var(--brand-dark); background: var(--brand-dark); transform: translateY(-1px); }
.button--small { min-height: 42px; padding: .55rem 1.1rem; font-size: .96rem; white-space: nowrap; }
.hero {
    position: relative; min-height: min(690px, calc(100svh - 90px)); display: grid; align-items: center;
    overflow: hidden; isolation: isolate; color: #fff; background: var(--brand-dark);
}
.hero::after {
    position: absolute; z-index: -1; inset: 0; content: "";
    background: linear-gradient(90deg, rgb(52 19 4 / 76%), rgb(52 19 4 / 28%));
}
.hero__slides { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
    width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 48%;
    transform: scale(1); 
}
.hero__slide.is-active img { animation: hero-image-zoom 8s ease-out both; }
@keyframes hero-image-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
.hero__content { position: relative; z-index: 1; }
.hero__controls {
    position: absolute; z-index: 2; right: max(24px, calc((100% - var(--content-width)) / 2)); bottom: 2rem;
    display: flex; align-items: center; gap: .8rem;
}
.hero__pagination { display: flex; align-items: center; gap: .65rem; }
.hero__pagination button {
    width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%;
    background: transparent; cursor: pointer; transition: background-color .2s ease, transform .2s ease;
}
.hero__pagination button.is-active { transform: scale(1.25); border-color: var(--brand-light); background: var(--brand-light); }
.hero__arrow {
    width: 36px; height: 36px; padding: 0; border: 1px solid rgb(255 255 255 / 65%); border-radius: 50%;
    color: #fff; background: rgb(52 19 4 / 35%); font-size: 1.7rem; line-height: 1; cursor: pointer;
}
.hero__arrow:hover { border-color: var(--brand-light); background: var(--brand-main); }
.hero__arrow:focus-visible, .hero__pagination button:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    .hero__slide { transition: none; }
    .hero__slide.is-active img { animation: none; }
}
.hero__content { width: min(var(--content-width), calc(100% - 48px)); margin: auto; padding: 7rem 0; }
.eyebrow { margin: 0 0 .85rem; color: var(--brand-light); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 790px; margin: 0; color: #fff; font-size: clamp(2.7rem, 7vw, 5.6rem); font-weight: 600; line-height: 1.04; }
.hero__lead { max-width: 590px; margin: 1.4rem 0 2rem; color: rgb(255 255 255 / 90%); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.button--light { color: var(--brand-dark); border-color: #fff; background: #fff; }
.button--light:hover { color: #fff; border-color: var(--brand-dark); background: var(--brand-dark); }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--soft { background: var(--soft); }
.container { width: min(var(--content-width), calc(100% - 48px)); margin-inline: auto; }
@media (prefers-reduced-motion: no-preference) {
    html.has-scroll-reveal main > section.site-reveal:not(.is-visible) {
        opacity: 0;
        transform: translateY(22px);
    }
    html.has-scroll-reveal main > section.site-reveal {
        transition: opacity .65s ease, transform .65s cubic-bezier(.2, .75, .25, 1);
    }
}
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.intro-grid__images { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.intro-grid__images img { width: 100%; height: 300px; object-fit: cover; }
.intro-grid__images img:nth-child(2) { margin-top: 3.5rem; }
.section h2 { margin: 0 0 1.25rem; color: var(--brand-dark); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.13; }
.section p { color: var(--muted); }
.intro-copy > p { margin: 0 0 1rem; }
.intro-copy .button { margin-top: 1rem; }
.section-heading { max-width: 700px; margin-bottom: 2.5rem; }
.section-heading p { margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service-card {
    display: flex; min-width: 0; min-height: 320px; padding: 0; flex-direction: column; align-items: stretch;
    overflow: hidden; border: 1px solid #eadfd6; border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer;
    font: inherit; text-align: left; transition: border-color .2s ease, transform .25s ease, box-shadow .2s ease, opacity .55s ease;
}
.service-grid > a.service-card { color: var(--ink); text-decoration: none; }
.service-card[id] { scroll-margin-top: 110px; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-4px); border-color: var(--brand-light); box-shadow: 0 18px 38px rgb(52 19 4 / 9%); }
.service-card:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; }
.service-card__image-wrap { display: grid; width: 100%; aspect-ratio: 4 / 3; flex: 0 0 auto; place-items: center; overflow: hidden; background: var(--soft); }
.service-card__image { display: block; width: 100%; height: 100%; object-fit: contain; }
.service-card__content { display: flex; height: 100%; padding: 1.1rem 1.2rem 1.15rem; flex-direction: column; align-items: flex-start; }
.service-card__title { margin: 0 0 .55rem; color: var(--brand-dark); font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
.service-card__description { margin: 0; font-size: .88rem; line-height: 1.55; }
.service-card__link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 1rem; color: var(--brand-dark); font-size: .78rem; font-weight: 700; }
.service-card__link span { color: var(--brand-light); font-size: 1.1rem; transition: transform .2s ease; }
.service-card:hover .service-card__link span { transform: translateX(3px); }
.service-card--reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
    .service-card--reveal:not(.is-visible) { opacity: 0; transform: translateY(24px); }
    .service-card--reveal.is-visible { opacity: 1; transform: translateY(0); transition-delay: var(--reveal-delay, 0ms); }
}
.service-empty { grid-column: 1 / -1; }
.service-dialog { position: relative; width: min(720px, calc(100% - 32px)); max-height: min(90vh, 900px); padding: 0; overflow: auto; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 24px 80px rgb(0 0 0 / 28%); }
.service-dialog::backdrop { background: rgb(25 12 4 / 68%); backdrop-filter: blur(3px); }
.service-dialog__image { width: 100%; height: 220px; object-fit: cover; }
.service-dialog__content { padding: clamp(1.5rem, 5vw, 2.75rem); }
.service-dialog__content h2 { margin-bottom: 1rem; }
.service-dialog__description { margin: 0; white-space: pre-wrap; }
.service-dialog__close { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / 94%); color: var(--brand-dark); cursor: pointer; font-size: 28px; line-height: 1; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.project-card { position: relative; display: block; width: 100%; min-height: 360px; padding: 0; overflow: hidden; border: 0; color: #fff; background: var(--brand-dark); cursor: pointer; font: inherit; text-align: left; text-decoration: none; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card::after { position: absolute; inset: 35% 0 0; content: ""; background: linear-gradient(transparent, rgb(25 12 4 / 82%)); }
.project-card:hover img { transform: scale(1.04); }
.project-card:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 4px; }
.project-card__title { position: absolute; z-index: 1; right: 1.5rem; bottom: 1.35rem; left: 1.5rem; color: #fff; font-size: 1.35rem; font-weight: 700; }
.project-card__title:hover { color: #fff; }
.project-card__title small { display: block; margin-top: .4rem; color: rgb(255 255 255 / 82%); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.portfolio-index .section-heading { margin-top: 2rem; }
.portfolio-index .section-heading h1 { margin-bottom: .75rem; font-size: clamp(2.2rem, 5vw, 4rem); }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: .65rem; margin: 0 0 2rem; }
.portfolio-filter { display: inline-flex; align-items: center; gap: .55rem; padding: .65rem .9rem; border: 1px solid #e1ddd8; border-radius: 2rem; color: var(--ink); background: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.portfolio-filter span { color: var(--muted); font-size: .8rem; }
.portfolio-filter:hover, .portfolio-filter.is-active { border-color: var(--brand-dark); color: #fff; background: var(--brand-dark); }
.portfolio-filter:hover span, .portfolio-filter.is-active span { color: #fff; }
.portfolio-index__grid { margin-top: 1.5rem; }
.portfolio-empty { padding: clamp(2rem, 6vw, 4rem); border: 1px solid #e8e3dd; border-radius: 8px; background: var(--soft); text-align: center; }
.portfolio-empty p { margin-bottom: 1.5rem; }
.project-detail { min-height: 60vh; }
.project-detail__back { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 2.25rem; color: var(--brand-dark); font-weight: 650; text-decoration: none; }
.project-detail__back:hover { color: var(--brand-light); }
.project-detail__heading { max-width: 820px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.project-detail__heading .eyebrow { margin-bottom: .65rem; }
.project-detail__heading h1 { margin-bottom: 1rem; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; }
.project-detail__heading > p:last-child { max-width: 700px; margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.8; white-space: pre-wrap; }
.project-detail__category { display: inline-flex; margin-top: 1.25rem; padding: .5rem .9rem; border: 1px solid #e1ddd8; border-radius: 2rem; color: var(--brand-dark); font-size: .82rem; font-weight: 700; text-decoration: none; }
.project-detail__category:hover { border-color: var(--brand-dark); color: #fff; background: var(--brand-dark); }
.project-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 22vw, 290px); gap: 1rem; }
.project-gallery__item { position: relative; min-width: 0; min-height: 0; padding: 0; overflow: hidden; border: 0; border-radius: 5px; background: var(--soft); cursor: zoom-in; }
.project-gallery__item--featured { grid-column: span 2; grid-row: span 2; }
.project-gallery__item:only-child { grid-column: 1 / -1; }
.project-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-gallery__item:hover img { transform: scale(1.035); }
.project-gallery__item:focus-visible, .project-lightbox button:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; }
.project-gallery__zoom { position: absolute; right: 1rem; bottom: 1rem; display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--brand-dark); font-size: 1.5rem; opacity: 0; transition: opacity .2s ease; }
.project-gallery__item:hover .project-gallery__zoom, .project-gallery__item:focus-visible .project-gallery__zoom { opacity: 1; }
.project-detail__footer { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 1.5rem; color: var(--muted); }
.project-lightbox { position: relative; display: block; width: min(1200px, calc(100% - 32px)); max-width: none; height: auto; max-height: calc(100dvh - 32px); margin: auto; padding: 3.5rem 4.75rem 3.25rem; overflow: hidden; border: 0; border-radius: 8px; background: #101820; }
.project-lightbox::backdrop { background: rgb(9 14 20 / 90%); backdrop-filter: blur(5px); }
.project-lightbox__image { width: 100%; height: auto; max-height: calc(100dvh - 140px); margin: 0 auto; object-fit: contain; }
.project-lightbox__close, .project-lightbox__previous, .project-lightbox__next { z-index: 1; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgb(255 255 255 / 25%); border-radius: 50%; background: rgb(255 255 255 / 12%); color: #fff; cursor: pointer; font-size: 1.8rem; line-height: 1; }
.project-lightbox__close { position: absolute; top: 1rem; right: 1rem; }
.project-lightbox__previous, .project-lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.project-lightbox__previous { left: 1rem; }
.project-lightbox__next { right: 1rem; }
.project-lightbox__counter { position: absolute; right: 0; bottom: 1rem; left: 0; color: #fff; font-size: .9rem; text-align: center; }
.project-lightbox__previous:hover, .project-lightbox__next:hover, .project-lightbox__close:hover { background: rgb(255 255 255 / 25%); }
.project-lightbox button[hidden] { display: none; }
.section-action { margin-top: 2rem; text-align: center; }
.site-footer { color: #fff; background: var(--brand-dark); }
.site-footer__main {
    width: min(var(--content-width), calc(100% - 48px)); margin: auto; padding: clamp(3rem, 6vw, 5rem) 0;
    display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: clamp(2rem, 4vw, 4rem);
}
.site-footer__logo { display: inline-block; width: min(220px, 100%); padding: .65rem; background: #fff; }
.site-footer__logo img { width: 100%; max-height: 70px; object-fit: contain; }
.site-footer__brand > p { max-width: 340px; margin: 1.1rem 0 1.5rem; color: rgb(255 255 255 / 78%); }
.site-footer__heading { margin: 0 0 1rem; color: #fff; font-size: 1.05rem; font-weight: 700; }
.site-footer__links { display: grid; gap: .55rem; }
.site-footer__links a,
.site-footer__information address a { width: fit-content; color: var(--brand-light); text-decoration: none; }
.site-footer__links a:hover,
.site-footer__information address a:hover { color: #fff; }
.site-footer__map-link { display: block; overflow: hidden; border: 1px solid rgb(205 149 103 / 40%); }
.site-footer__map-link iframe { display: block; width: 100%; height: 230px; border: 0; }
.site-footer__information address { display: grid; gap: 1rem; color: rgb(255 255 255 / 82%); font-style: normal; }
.site-footer__social-links { display: flex; gap: .65rem; margin-top: 1.5rem; }
.site-footer__social-link {
    display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
    border: 1px solid var(--brand-light); border-radius: 50%; color: #fff; background: var(--brand-main);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.site-footer__social-link svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.site-footer__social-link:hover { border-color: var(--brand-light); color: var(--brand-dark); background: var(--brand-light); }
.site-footer__social-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.contact-section { background: var(--soft); }
.contact-section .section-heading { margin-bottom: 2rem; }
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.contact-info-card {
    display: grid;
    justify-items: center;
    gap: .65rem;
    min-width: 0;
    padding: 1.5rem 1rem;
    border: 1px solid rgb(139 69 31 / 12%);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgb(52 19 4 / 5%);
    text-align: center;
}
.contact-info-card__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-main);
}
.contact-info-card__icon svg { width: 21px; height: 21px; fill: currentColor; }
.contact-info-card h3 { margin: 0; color: var(--brand-dark); font-size: 1.1rem; }
.contact-info-card a,
.contact-info-card p { margin: 0; color: var(--muted); font-size: .98rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-info-card a:hover { color: var(--brand-main); text-decoration: underline; }
.contact-section .contact-layout { gap: clamp(1.5rem, 4vw, 4rem); }
.contact-section .contact-form { background: #fff; box-shadow: 0 12px 36px rgb(52 19 4 / 7%); }
.contact-location { padding-top: clamp(2.5rem, 5vw, 4rem); background: #fff; }
.contact-location__heading { padding-bottom: 1.5rem; }
.contact-location__heading h2 { margin: 0 0 .5rem; color: var(--brand-dark); font-size: clamp(1.75rem, 3vw, 2.5rem); }
.contact-location__heading > p:last-child { margin: 0; color: var(--muted); }
.contact-location__map { display: block; width: 100%; height: clamp(320px, 48vw, 600px); border: 0; }
.contact-card h3 { margin: .5rem 0 1.5rem; color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.contact-card .eyebrow { color: var(--brand-light); }
.contact-form h3 { margin: 0 0 1.25rem; color: var(--brand-dark); font-size: 1.7rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
.form-grid label { display: grid; gap: .35rem; color: rgb(255 255 255 / 86%); font-size: .86rem; font-weight: 700; }
.form-grid__wide { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea {
    width: 100%; padding: .8rem .9rem; color: #fff; border: 1px solid rgb(205 149 103 / 65%);
    border-radius: 3px; outline: 0; background: rgb(255 255 255 / 7%);
}
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--brand-light); box-shadow: 0 0 0 2px rgb(205 149 103 / 25%); }
.form-grid textarea { resize: vertical; }
.form-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-footer__bottom {
    width: min(var(--content-width), calc(100% - 48px)); min-height: 72px; margin: auto; padding: 1rem 0;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
    border-top: 1px solid rgb(255 255 255 / 18%); color: rgb(255 255 255 / 70%); font-size: .8rem;
}
.site-footer__bottom a { color: #fff; }
.site-footer__bottom a:hover { color: #fff; }
.page-hero {
    padding: clamp(4.5rem, 9vw, 8rem) 0;
    color: #fff;
    background: linear-gradient(110deg, rgb(52 19 4 / 94%), rgb(139 69 31 / 84%));
}
.consultation-page-hero {
    position: relative;
    isolation: isolate;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(90deg, rgb(25 12 4 / 75%), rgb(25 12 4 / 30%)), var(--consultation-hero-image);
    background-position: center;
    background-size: cover;
}
.consultation-page-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}
.consultation-page-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    margin-bottom: 1rem;
    color: rgb(255 255 255 / 88%);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}
.consultation-page-hero h1 {
    max-width: none;
    margin: 0;
    text-align: center;
    margin-inline: auto;
}
.consultation-page-hero__breadcrumb,
.consultation-page-hero h1 {
    animation: consultation-hero-enter .8s cubic-bezier(.2, .75, .25, 1) both;
}
.consultation-page-hero__breadcrumb { animation-delay: .08s; }
.consultation-page-hero h1 { animation-delay: .22s; }
@keyframes consultation-hero-enter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .consultation-page-hero__breadcrumb,
    .consultation-page-hero h1 { animation: none; }
}
.consultation-page-hero__breadcrumb a { color: #fff; text-decoration: none; }
.consultation-page-hero__breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { max-width: 900px; margin: 0; color: #fff; font-size: clamp(2.5rem, 6vw, 4.7rem); line-height: 1.08; }
.page-hero p:not(.eyebrow) { max-width: 760px; margin: 1rem 0 0; color: rgb(255 255 255 / 86%); font-size: 1.08rem; }
.content-narrow { max-width: 850px; }
.content-narrow p { margin: 0 0 1.1rem; }
.about-story { background: linear-gradient(180deg, #fff 0%, #f8f2ee 100%); }
.about-story__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, .9fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
}
.about-story__copy { max-width: none; }
.about-story__copy p { text-align: justify; }
.about-story__stats {
    display: grid;
    gap: 1rem;
}
.about-metric-card {
    display: grid;
    gap: .45rem;
    padding: clamp(1.25rem, 2vw, 1.6rem);
    border: 1px solid rgb(139 69 31 / 12%);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff 0%, #f3e3d3 100%);
    box-shadow: 0 18px 38px rgb(67 35 15 / 8%);
    text-align: center;
}
.about-metric-card__value {
    display: block;
    color: var(--brand-main);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}
.about-metric-card__label {
    color: var(--brand-dark);
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.about-purpose { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); background: var(--soft); }
.about-purpose__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.about-purpose__card { padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 3px solid var(--brand-light); background: #fff; }
.about-purpose__card h2 { margin: 0 0 .75rem; color: var(--brand-dark); font-size: clamp(1.5rem, 3vw, 2rem); }
.about-purpose__card p:last-child { margin: 0; color: var(--muted); line-height: 1.75; }
.about-team { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.people-grid, .detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.person-card, .detail-card { border: 1px solid #eadfd6; background: #fff; }
.person-card img { width: 100%; height: 300px; object-fit: cover; object-position: top center; }
.person-card__body, .detail-card { padding: 1.5rem; }
.person-card h3, .detail-card h3 { margin: 0 0 .5rem; color: var(--brand-dark); }
.person-card p, .detail-card p { margin: 0; color: var(--muted); }
.team-empty { grid-column: 1 / -1; color: var(--muted); }
.detail-grid { grid-template-columns: repeat(2, 1fr); }
.detail-card ul { margin: .8rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.service-industry-card { overflow: hidden; border: 1px solid #eadfd6; background: #fff; }
.service-industry-card > img { width: 100%; height: clamp(190px, 25vw, 300px); object-fit: cover; }
.service-industry-card__content { padding: 1.5rem; }
.service-industry-card__content h2 { margin: 0 0 .65rem; color: var(--brand-dark); font-size: 1.35rem; }
.service-industry-card__content p { margin: 0; color: var(--muted); white-space: pre-wrap; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-card { padding: 2rem; color: #fff; background: var(--brand-dark); }
.contact-card h2 { color: #fff; }
.contact-card address { display: grid; gap: 1rem; font-style: normal; }
.contact-card a { color: var(--brand-light); }
.contact-card a:hover { color: #fff; }
.contact-card .site-footer__social-link,
.contact-card .site-footer__social-link:hover { color: #fff; }
.contact-form { padding: clamp(1.5rem, 4vw, 3rem); background: var(--soft); }
.contact-form .form-grid label { color: var(--brand-dark); }
.contact-form .form-grid input, .contact-form .form-grid textarea { color: var(--ink); border-color: #d8c3b2; background: #fff; }
.contact-status { padding: .85rem 1rem; margin-bottom: 1rem; border-left: 4px solid var(--brand-main); color: var(--brand-dark); background: #f2e8de; }
.consultation-form { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid #eadfd6; background: #fff; }
.consultation-form .form-grid { margin-top: 0; }
.consultation-form .form-grid label,
.consultation-form .consultation-consent { color: var(--ink); }
.consultation-form .form-grid input,
.consultation-form .form-grid select,
.consultation-form .form-grid textarea {
    width: 100%;
    min-height: 48px;
    padding: .8rem .9rem;
    border: 1px solid #d8c3b2;
    border-radius: 3px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}
.consultation-form .form-grid textarea { min-height: 150px; }
.consultation-form .form-grid input:focus,
.consultation-form .form-grid select:focus,
.consultation-form .form-grid textarea:focus { border-color: var(--brand-main); outline: 2px solid rgb(139 69 31 / 18%); }
.consultation-form__privacy { margin: 0 0 1.5rem; color: var(--muted); }
.consultation-consents { display: grid; gap: 1rem; margin: 1.5rem 0; }
.consultation-consent { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .65rem; font-size: .88rem; line-height: 1.6; }
.consultation-consent input { margin-top: .3rem; accent-color: var(--brand-main); }
.consultation-form .form-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: process; }
.process-step { padding: 1.5rem; border-top: 3px solid var(--brand-light); background: var(--soft); }
.process-step h3 { color: var(--brand-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-card { padding: 1.5rem; text-align: center; background: var(--soft); }
.stat-card strong { display: block; color: var(--brand-main); font-size: 2rem; }
@media (max-width: 900px) {
    .site-header__inner { min-height: 94px; }
    .site-logo { width: min(228px, 50.4vw); }
    .site-menu { position: static; }
    .site-menu__toggle { display: flex; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 0; background: transparent; cursor: pointer; }
    .site-menu__toggle span { width: 23px; height: 2px; background: var(--brand-dark); }
    .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 1.2rem 24px 1.5rem; flex-direction: column; align-items: stretch; gap: 1rem; background: #fff; box-shadow: 0 16px 20px rgb(52 19 4 / 10%); }
    .site-menu.is-open .site-nav { display: flex; }
    .site-nav__item { display: grid; grid-template-columns: 1fr auto; align-items: center; }
    .site-nav__item > a { padding: .25rem 0; }
    .site-nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 6px; color: var(--brand-dark); background: transparent; font: inherit; cursor: pointer; }
    .site-nav__toggle span { width: .5rem; height: .5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.12rem) rotate(45deg); }
    .site-nav__toggle:hover, .site-nav__toggle:focus-visible { background: var(--soft); }
    .site-nav__dropdown { position: static; grid-column: 1 / -1; min-width: 0; padding: .25rem 0 .25rem 1rem; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
    .site-nav__dropdown a { white-space: normal; }
    .site-nav .button { align-self: flex-start; }
    .hero { min-height: 570px; }
    .intro-grid { grid-template-columns: 1fr; }
    .intro-grid__images { max-width: 700px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .people-grid { grid-template-columns: repeat(2, 1fr); }
    .about-story__layout { grid-template-columns: 1fr; }
    .about-purpose__grid { grid-template-columns: 1fr; }
    .service-industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 681px) and (max-width: 900px) {
    .site-header__inner { gap: .75rem; }
    .site-logo { width: 180px; }
    .site-menu__toggle { display: none; }
    .site-nav {
        position: static;
        display: flex;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: clamp(.55rem, 1.1vw, .85rem);
        background: transparent;
        box-shadow: none;
    }
    .site-nav > a:not(.button) { font-size: .9rem; }
    .site-nav .button { align-self: auto; }
}
@media (max-width: 600px) {
    .site-header__inner, .container, .hero__content, .site-footer__main, .site-footer__bottom { width: min(100% - 32px, var(--content-width)); }
    .site-logo { width: min(192px, 62.4vw); }
    .hero { min-height: 540px; }
    .hero__controls { right: 16px; bottom: 1.25rem; }
    .hero__content { padding: 5rem 0; }
    .intro-grid__images { gap: .65rem; }
    .intro-grid__images img { height: 220px; }
    .intro-grid__images img:nth-child(2) { margin-top: 2rem; }
    .service-grid, .project-grid, .site-footer__main, .form-grid { grid-template-columns: 1fr; }
    .people-grid, .detail-grid, .process-list, .stats-grid { grid-template-columns: 1fr; }
    .service-industry-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 0; }
    .service-card__image-wrap { aspect-ratio: 4 / 3; }
    .project-card { min-height: 300px; }
    .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 35vw, 220px); gap: .65rem; }
    .project-gallery__item--featured { grid-column: span 2; grid-row: span 1; }
    .project-lightbox { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 3.25rem 2.75rem 3rem; }
    .project-lightbox__image { max-height: calc(100dvh - 120px); }
    .project-lightbox__close, .project-lightbox__previous, .project-lightbox__next { width: 36px; height: 36px; font-size: 1.4rem; }
    .project-detail__footer { align-items: flex-start; flex-direction: column; }
    .form-grid__wide { grid-column: auto; }
    .site-footer__bottom { align-items: flex-start; flex-direction: column; }
}
