:root {
    --navy: #00032a;
    --navy-soft: #0d123d;
    --cream: #f6f1e8;
    --paper: #fffdf9;
    --sand: #d7c1a2;
    --wood: #93683e;
    --wood-dark: #664421;
    --ink: #171715;
    --muted: #6c6a64;
    --line: #ddd8cf;
    --shadow: 0 22px 60px rgba(21, 18, 12, .12);
    --shell: min(1240px, calc(100vw - 48px));
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    margin: 0;
    overflow-x: clip;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    top: -100px;
    left: 18px;
    z-index: 1000;
    padding: 12px 18px;
    color: #fff;
    background: var(--navy);
}
.skip-link:focus { top: 18px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #fff;
    background: rgba(0, 3, 42, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px);
}
.site-header__inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 190px 1fr auto;
    align-items: center;
    gap: 32px;
}
.site-brand { display: inline-flex; align-items: center; width: 178px; text-decoration: none; }
.brand-logo { width: 100%; height: auto; }
.primary-nav { min-width: 0; }
.primary-nav__list { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.3vw, 36px); margin: 0; padding: 0; list-style: none; }
.primary-nav__list a { display: block; }
.primary-nav a {
    position: relative;
    padding: 30px 0 26px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    transition: color .25s ease;
}
.primary-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 19px;
    left: 0;
    height: 2px;
    background: var(--sand);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}
.primary-nav a:hover,
.primary-nav a.is-current,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a { color: #fff; }
.primary-nav a:hover::after,
.primary-nav a.is-current::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }
.header-socials { display: flex; align-items: center; gap: 8px; }
.header-socials__link {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    text-decoration: none;
    transition: transform .22s, color .22s, background .22s, border-color .22s;
}
.header-socials__link svg { width: 20px; height: 20px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-socials__link .icon-fill { fill: currentColor; stroke: none; }
.header-socials__link:hover { transform: translateY(-2px); color: var(--navy); background: #fff; border-color: #fff; }
.header-socials__link--instagram:hover { color: #c13584; }
.header-socials__link--facebook:hover { color: #1877f2; }
.header-socials__link--whatsapp:hover { color: #128c7e; }
.menu-toggle { display: none; }

/* Typography and controls */
.eyebrow {
    margin: 0 0 16px;
    color: var(--wood);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}
h1, h2, h3 { text-wrap: balance; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--wood-dark); border-color: var(--wood-dark); }
.button--primary:hover { background: var(--navy); border-color: var(--navy); }
.button--secondary { color: var(--navy); border-color: rgba(0, 3, 42, .28); background: transparent; }
.button--secondary:hover { color: #fff; background: var(--navy); }
.button--light { color: var(--navy); background: #fff; }
.button--light:hover { color: #fff; background: var(--wood); }
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wood-dark);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translateX(4px); }

/* Home hero */
.home-intro {
    min-height: min(730px, calc(100svh - 82px));
    display: grid;
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
    align-items: stretch;
    gap: clamp(40px, 6vw, 90px);
    padding-top: clamp(48px, 7vw, 94px);
    padding-bottom: clamp(48px, 7vw, 94px);
}
.home-intro__copy { align-self: center; max-width: 530px; }
.home-intro h1 {
    margin: 0;
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(52px, 5.7vw, 82px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .96;
}
.home-intro__lead { margin: 28px 0 0; color: #4f4d48; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.72; }
.home-intro__services { margin: 23px 0 0; color: var(--wood-dark); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.home-intro__visual {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: var(--navy);
    box-shadow: var(--shadow);
}
.home-intro__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 3, 42, .06), rgba(0, 3, 42, .52));
    pointer-events: none;
}
.home-intro__visual > img { width: 100%; height: 100%; object-fit: cover; }
.home-intro__logo {
    position: absolute;
    z-index: 2;
    top: 38px;
    right: 38px;
    width: 210px;
    padding: 15px 18px;
    background: rgba(0, 3, 42, .91);
}
.home-intro__caption {
    position: absolute;
    z-index: 2;
    right: 36px;
    bottom: 30px;
    left: 36px;
    margin: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.reveal { animation: reveal .8s cubic-bezier(.2, .7, .2, 1) both; }
.reveal--delay { animation-delay: .12s; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Feature strip */
.feature-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.feature-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-strip__inner > div {
    min-height: 108px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 22px;
    border-right: 1px solid var(--line);
}
.feature-strip__inner > div:first-child { border-left: 1px solid var(--line); }
.feature-strip__inner > div > span { color: var(--wood); font: 400 26px/1 var(--serif); }
.feature-strip p { display: grid; gap: 2px; margin: 0; }
.feature-strip strong { color: var(--navy); font-size: 12px; }
.feature-strip small { color: var(--muted); font-size: 11px; }

/* Sections */
.section { padding-top: clamp(72px, 9vw, 126px); padding-bottom: clamp(72px, 9vw, 126px); }
.section-heading { margin-bottom: 42px; }
.section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1;
}
.section-heading > p:last-child { max-width: 620px; margin: 16px auto 0; color: var(--muted); }
.section-heading--center { text-align: center; }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading--split .eyebrow { margin-bottom: 12px; }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    text-decoration: none;
    box-shadow: 0 8px 26px rgba(22, 18, 10, .05);
    transition: transform .3s, box-shadow .3s;
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.category-card__media { display: block; aspect-ratio: 1.28 / 1; overflow: hidden; background: #dedbd5; }
.category-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.category-card:hover img { transform: scale(1.045); }
.category-card__placeholder,
.project-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #dcd6cc, #f2eee8); }
.category-card__label { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; }
.category-card__label strong { color: var(--navy); font-family: var(--serif); font-size: 19px; }
.category-card__label b { color: var(--wood); font-size: 20px; font-weight: 400; transition: transform .25s; }
.category-card:hover .category-card__label b { transform: translateX(4px); }

/* Project cards */
.projects-preview { background: var(--cream); }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.project-card__image { display: block; aspect-ratio: 1.24 / 1; overflow: hidden; background: #ddd; }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-card__image img { transform: scale(1.045); }
.project-card__body { padding: 22px; }
.project-card__category { margin: 0 0 7px; color: var(--wood); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.project-card h2,
.project-card h3 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); font-weight: 400; line-height: 1.12; }
.project-card h2 a,
.project-card h3 a { text-decoration: none; }
.project-card__body > p:not(.project-card__category) { margin: 12px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.project-card--text { min-height: 260px; }

/* CTA */
.home-cta,
.project-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-top: clamp(72px, 9vw, 126px);
    margin-bottom: clamp(72px, 9vw, 126px);
    padding: clamp(38px, 6vw, 72px);
    color: #fff;
    background: var(--navy);
}
.home-cta > div,
.project-contact > div { max-width: 760px; }
.home-cta .eyebrow,
.project-contact .eyebrow { color: var(--sand); }
.home-cta h2,
.project-contact h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4.4vw, 58px); font-weight: 400; line-height: 1; }
.home-cta p:last-child,
.project-contact p:last-child { max-width: 650px; margin: 18px 0 0; color: rgba(255, 255, 255, .72); }

/* Archives */
.archive-hero,
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(70px, 9vw, 126px) 0; }
.archive-hero--plain,
.page-hero { color: #fff; background: var(--navy); }
.archive-hero--image { min-height: 440px; display: grid; align-items: end; color: #fff; background: var(--navy); }
.archive-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--archive-image) center / cover no-repeat; }
.archive-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 3, 42, .88), rgba(0, 3, 42, .22)); }
.archive-hero h1,
.page-hero h1 { max-width: 800px; margin: 0; font-family: var(--serif); font-size: clamp(54px, 7.5vw, 98px); font-weight: 400; letter-spacing: -.05em; line-height: .92; }
.archive-hero p:not(.eyebrow, .breadcrumb),
.archive-hero__description { max-width: 680px; margin: 20px 0 0; color: rgba(255, 255, 255, .8); font-size: 17px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 24px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.breadcrumb a { text-decoration: none; }
.filter-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: -8px 0 35px; }
.filter-nav a { padding: 9px 14px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.filter-nav a:hover,
.filter-nav a.is-current { color: #fff; background: var(--navy); border-color: var(--navy); }
.results-bar { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.results-bar strong { color: var(--navy); }
.empty-state { padding: 70px 20px; border: 1px solid var(--line); text-align: center; }
.empty-state h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 36px; font-weight: 400; }
.nav-links { display: flex; justify-content: center; gap: 7px; margin-top: 42px; }
.nav-links a,
.nav-links span { min-width: 42px; min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); text-decoration: none; }
.nav-links .current { color: #fff; background: var(--navy); border-color: var(--navy); }

/* Single project */
.single-project { padding-top: 28px; }
.single-project__breadcrumb { margin-bottom: 24px; color: var(--muted); }
.project-gallery { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; }
.project-gallery__main { min-height: 620px; overflow: hidden; background: #e5e1da; }
.project-gallery__main img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.project-gallery__thumbs { display: grid; align-content: start; gap: 12px; max-height: 620px; overflow-y: auto; }
.project-gallery__thumb { aspect-ratio: 1.25 / 1; padding: 0; overflow: hidden; border: 2px solid transparent; background: #ddd; cursor: pointer; }
.project-gallery__thumb.is-active { border-color: var(--wood); }
.project-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-overview { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 30px 70px; padding-top: 54px; }
.project-overview__intro h1 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(44px, 6vw, 76px); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.project-overview__lead { max-width: 760px; margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.project-overview__details,
.project-overview__content { padding: 28px; border: 1px solid var(--line); background: #fff; }
.project-overview__details h2,
.project-overview__content h2 { margin: 0 0 20px; color: var(--navy); font-family: var(--serif); font-size: 28px; font-weight: 400; }
.project-overview__details dl { margin: 0; }
.project-overview__details dl div { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.project-overview__details dl div:last-child { border: 0; }
.project-overview__details dt { color: var(--navy); font-size: 12px; font-weight: 800; }
.project-overview__details dd { margin: 0; color: var(--muted); font-size: 13px; }
.project-overview__content { grid-column: 1 / -1; }

/* Pages */
.page-content { min-height: 420px; padding-top: clamp(58px, 8vw, 100px); padding-bottom: clamp(70px, 9vw, 126px); }
.prose { color: #3f3e3a; }
.prose > * { max-width: 840px; }
.prose .lead { color: var(--navy); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.45; }
.contact-page-grid { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact-page-grid > div { padding: clamp(24px, 3.5vw, 42px); border: 1px solid var(--line); background: #fff; }
.contact-page-grid h2 { margin-top: 0; }
.contact-page-grid p:last-child { margin-bottom: 0; }
.contact-page { background: var(--cream); }
.contact-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.contact-hero::after { content: ""; position: absolute; right: -12vw; bottom: -38vw; width: min(60vw, 860px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018); }
.contact-hero__grid { position: relative; z-index: 1; min-height: 510px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr); align-items: center; gap: 70px; padding-top: 86px; padding-bottom: 86px; }
.contact-hero__copy { max-width: 850px; }
.contact-hero .eyebrow { color: var(--sand); }
.contact-hero h1 { max-width: 820px; margin: 18px 0 24px; font-family: var(--serif); font-size: clamp(46px, 6.4vw, 88px); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.contact-hero__copy > p:last-child { max-width: 700px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.75; }
.contact-hero__accent { justify-self: end; width: min(100%, 320px); display: grid; gap: 22px; padding: 30px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.contact-hero__accent picture { display: block; width: 100%; }
.contact-hero__accent img { width: 100%; height: auto; display: block; }
.contact-hero__accent p { margin: 0; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.8; text-transform: uppercase; }
.contact-options { padding-top: clamp(70px, 8vw, 115px); }
.contact-options__intro { display: grid; grid-template-columns: .55fr 1.45fr; align-items: end; gap: 40px; margin-bottom: 34px; }
.contact-options__intro h2,
.contact-social__intro h2,
.contact-map__heading h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(38px, 4.8vw, 64px); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.contact-options__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { min-height: 170px; display: grid; grid-template-columns: 58px 1fr auto; align-items: start; gap: 18px; padding: 28px; border: 1px solid var(--line); color: var(--navy); background: #fff; text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.contact-card:hover { transform: translateY(-5px); border-color: rgba(0,3,42,.22); box-shadow: 0 18px 42px rgba(0,3,42,.08); }
.contact-card__icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--navy); background: #f1ede4; }
.contact-card__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.contact-card__content { display: grid; gap: 6px; }
.contact-card__content small,
.social-card small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-card__content strong { font-family: var(--serif); font-size: 25px; font-weight: 400; }
.contact-card__content > span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.contact-card__arrow,
.social-card__arrow { color: var(--wood); font-size: 18px; }
.contact-social { display: grid; grid-template-columns: minmax(270px, .75fr) minmax(0, 1.65fr); gap: clamp(40px, 7vw, 110px); padding-top: clamp(90px, 10vw, 145px); padding-bottom: clamp(90px, 10vw, 145px); }
.contact-social__intro > p:last-child { max-width: 480px; margin: 24px 0 0; color: var(--muted); line-height: 1.75; }
.contact-social__grid { display: grid; gap: 12px; }
.social-card { min-height: 108px; display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 20px; padding: 18px 24px; border: 1px solid var(--line); color: var(--navy); background: #fff; text-decoration: none; transition: transform .25s ease, color .25s ease, border-color .25s ease; }
.social-card:hover { transform: translateX(6px); border-color: currentColor; }
.social-card__logo { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; color: #fff; }
.social-card__logo svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.65; }
.social-card__logo .social-card__fill { fill: currentColor; stroke: none; }
.social-card__logo .social-card__dot { fill: currentColor; stroke: none; }
.social-card--instagram .social-card__logo { background: radial-gradient(circle at 32% 100%, #ffd600 0 13%, #ff7a00 27%, #ff0169 49%, #d300c5 70%, #7638fa 100%); }
.social-card--facebook .social-card__logo { background: #1877f2; }
.social-card--whatsapp .social-card__logo { background: #25d366; }
.social-card > span:nth-child(2) { display: grid; gap: 6px; }
.social-card strong { font-size: 18px; }
.contact-map { padding-bottom: clamp(90px, 11vw, 155px); }
.contact-map__heading { display: grid; grid-template-columns: 1fr minmax(300px, .72fr); align-items: end; gap: 60px; margin-bottom: 34px; }
.contact-map__heading > p { margin: 0; color: var(--muted); line-height: 1.75; }
.contact-map__frame { position: relative; min-height: 520px; overflow: hidden; border: 1px solid var(--line); background: #dedbd3; }
.contact-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; filter: saturate(.82) contrast(1.03); }
.contact-map__link { width: fit-content; display: inline-flex; gap: 10px; margin-top: 20px; color: var(--navy); font-size: 13px; font-weight: 800; text-decoration: none; }
.contact-map__link:hover { color: var(--wood-dark); }
.prose h2,
.prose h3 { color: var(--navy); font-family: var(--serif); font-weight: 400; }
.prose h2 { margin-top: 44px; font-size: clamp(32px, 4vw, 48px); }
.prose h3 { margin-top: 30px; font-size: 26px; }
.prose p,
.prose li { line-height: 1.8; }
.prose a { color: var(--wood-dark); }
.error-page { min-height: 70vh; display: grid; align-content: center; justify-items: start; padding-block: 90px; }
.error-page h1 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(55px, 8vw, 100px); font-weight: 400; }
.error-page > p:not(.eyebrow) { max-width: 540px; color: var(--muted); }

/* Footer */
.site-footer { color: rgba(255, 255, 255, .72); background: var(--navy); }
.site-footer__main { display: grid; grid-template-columns: 1.55fr .8fr .8fr 1fr; gap: 50px; padding-top: 70px; padding-bottom: 60px; }
.site-footer__brand > a { display: block; width: 190px; }
.site-footer__brand p { max-width: 360px; margin: 20px 0 0; color: rgba(255, 255, 255, .6); font-size: 13px; }
.site-footer h2 { margin: 0 0 18px; color: #fff; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer li,
.site-footer__contact > a { font-size: 13px; }
.site-footer__contact { display: grid; align-content: start; gap: 8px; }
.site-footer__socials { display: flex; gap: 14px; margin-top: 10px; color: var(--sand); font-size: 12px; font-weight: 700; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 23px; padding-bottom: 23px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 11px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom-links { display: flex; align-items: center; gap: 9px; }
.site-footer .site-footer__legal-menu { display: flex; gap: 9px; }
.site-footer__legal-menu li:not(:last-child)::after { content: "·"; margin-left: 9px; color: rgba(255, 255, 255, .4); }

/* Knowledge chatbot */
.euren-chat {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 190;
    font-family: var(--sans);
}
.euren-chat__launcher {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 7px 18px 7px 7px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: #fff;
    background: var(--navy);
    box-shadow: 0 16px 42px rgba(0, 3, 42, .28);
    cursor: pointer;
}
.euren-chat__launcher-icon,
.euren-chat__avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--navy);
    background: var(--sand);
    font: 700 20px/1 var(--serif);
    overflow: hidden;
}
.euren-chat__symbol { width: 72%; height: 72%; display: block; object-fit: contain; }
.euren-chat__launcher-icon { width: 40px; height: 40px; }
.euren-chat__launcher-label { font-size: 13px; font-weight: 800; }
.euren-chat__panel {
    position: absolute;
    right: 0;
    bottom: 68px;
    width: min(380px, calc(100vw - 32px));
    height: min(610px, calc(100vh - 125px));
    min-height: 470px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 3, 42, .14);
    border-radius: 18px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 3, 42, .28);
}
.euren-chat__panel[hidden] { display: none; }
.euren-chat__header {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #fff;
    background: var(--navy);
}
.euren-chat__avatar { width: 44px; height: 44px; }
.euren-chat__header > div { min-width: 0; display: grid; gap: 2px; }
.euren-chat__header strong { font-size: 14px; }
.euren-chat__header small { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .68); font-size: 10px; }
.euren-chat__header small span { width: 7px; height: 7px; border-radius: 50%; background: #55d68a; box-shadow: 0 0 0 3px rgba(85, 214, 138, .14); }
.euren-chat__header > button { width: 38px; height: 38px; margin-left: auto; border: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .08); font-size: 25px; line-height: 1; cursor: pointer; }
.euren-chat__messages {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 16px 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #faf8f4;
}
.euren-chat__message { max-width: 86%; padding: 11px 13px; border-radius: 14px; font-size: 13px; line-height: 1.55; }
.euren-chat__message--bot { align-self: flex-start; border-bottom-left-radius: 4px; background: #fff; box-shadow: 0 4px 18px rgba(0, 3, 42, .07); }
.euren-chat__message--user { align-self: flex-end; border-bottom-right-radius: 4px; color: #fff; background: var(--wood-dark); }
.euren-chat__message.is-typing { color: var(--muted); font-size: 12px; }
.euren-chat__results { display: grid; gap: 8px; }
.euren-chat__result { display: grid; gap: 2px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; color: inherit; background: #fff; text-decoration: none; }
.euren-chat__result:hover { border-color: var(--wood); }
.euren-chat__result strong { color: var(--navy); font: 400 17px/1.2 var(--serif); }
.euren-chat__result span { color: var(--muted); font-size: 10px; line-height: 1.4; }
.euren-chat__suggestions { display: flex; gap: 7px; padding: 10px 16px; overflow-x: auto; background: #faf8f4; }
.euren-chat__suggestions[hidden] { display: none; }
.euren-chat__suggestions button { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: #fff; font-size: 10px; font-weight: 700; cursor: pointer; }
.euren-chat__suggestions button:hover { color: #fff; background: var(--wood-dark); border-color: var(--wood-dark); }
.euren-chat__form { display: grid; grid-template-columns: 1fr 44px; gap: 8px; padding: 12px 12px 6px; border-top: 1px solid var(--line); background: #fff; }
.euren-chat__form input { min-width: 0; height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; font-size: 13px; }
.euren-chat__form input:focus { border-color: var(--wood); outline: 0; box-shadow: 0 0 0 3px rgba(147, 104, 62, .12); }
.euren-chat__form button { width: 44px; height: 44px; border: 0; border-radius: 9px; color: #fff; background: var(--wood-dark); font-size: 22px; cursor: pointer; }
.euren-chat__form.is-loading button { opacity: .55; cursor: wait; }
.euren-chat__privacy { margin: 0; padding: 3px 12px 10px; color: #8b8984; background: #fff; font-size: 9px; text-align: center; }

@media (max-width: 1060px) {
    .site-header__inner { grid-template-columns: 165px 1fr auto; gap: 18px; }
    .site-brand { width: 155px; }
    .primary-nav__list { gap: 17px; }
    .primary-nav a { font-size: 12px; }
    .header-socials__link { width: 38px; height: 38px; }
    .home-intro { gap: 42px; }
    .feature-strip__inner { grid-template-columns: repeat(2, 1fr); }
    .feature-strip__inner > div:nth-child(3) { border-left: 1px solid var(--line); }
    .site-footer__main { grid-template-columns: 1.4fr 1fr 1fr; }
    .site-footer__contact { grid-column: 2 / -1; }
}

@media (max-width: 820px) {
    :root { --shell: min(100% - 32px, 720px); }
    .site-header { backdrop-filter: none; }
    .site-header__inner { min-height: 72px; display: flex; justify-content: space-between; }
    .site-brand { width: 150px; }
    .menu-toggle {
        width: 46px;
        height: 46px;
        display: grid;
        place-content: center;
        gap: 5px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .25);
        color: #fff;
        background: transparent;
        cursor: pointer;
    }
    .menu-toggle span:not(.screen-reader-text) { width: 20px; height: 2px; display: block; background: currentColor; transition: transform .25s, opacity .25s; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .primary-nav {
        position: fixed;
        top: 72px;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        padding: 28px 24px;
        background: var(--navy);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .35s ease, visibility .35s;
    }
    .primary-nav__list { display: grid; align-content: start; justify-content: stretch; gap: 0; }
    .primary-nav__list li { min-width: 0; }
    .primary-nav.is-open { transform: none; visibility: visible; }
    .primary-nav a { padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font: 400 30px/1.1 var(--serif); }
    .primary-nav a::after { display: none; }
    .header-socials { display: none; }
    .home-intro { min-height: 0; grid-template-columns: 1fr; gap: 38px; }
    .home-intro__copy { max-width: 690px; }
    .home-intro__visual { min-height: 520px; }
    .category-grid,
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-gallery { grid-template-columns: 1fr; }
    .project-gallery__main,
    .project-gallery__main img { min-height: 500px; }
    .project-gallery__thumbs { grid-template-columns: repeat(4, 1fr); max-height: none; overflow: visible; }
    .project-overview { grid-template-columns: 1fr; }
    .project-overview__content { grid-column: auto; }
    .home-cta,
    .project-contact { align-items: flex-start; flex-direction: column; }
    .site-footer__main { grid-template-columns: 1.4fr 1fr; }
    .site-footer__contact { grid-column: auto; }
    .contact-hero__grid { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding-top: 64px; padding-bottom: 64px; }
    .contact-hero__accent { justify-self: start; }
    .contact-options__intro,
    .contact-social,
    .contact-map__heading { grid-template-columns: 1fr; gap: 20px; }
    .contact-options__grid { grid-template-columns: 1fr; }
    .contact-social__grid { margin-top: 8px; }
    .contact-map__frame { min-height: 420px; }
}

@media (max-width: 560px) {
    :root { --shell: calc(100vw - 28px); }
    .home-intro { padding-top: 42px; }
    .home-intro h1 { font-size: clamp(46px, 14vw, 68px); }
    .home-intro__visual { min-height: 420px; }
    .home-intro__logo { top: 20px; right: 20px; width: 165px; }
    .home-intro__caption { right: 20px; bottom: 20px; left: 20px; font-size: 9px; }
    .feature-strip__inner { grid-template-columns: 1fr; }
    .feature-strip__inner > div { min-height: 84px; border-left: 1px solid var(--line); }
    .section-heading--split { align-items: flex-start; flex-direction: column; }
    .category-grid,
    .projects-grid { grid-template-columns: 1fr; }
    .category-card__media { aspect-ratio: 1.42 / 1; }
    .archive-hero--image { min-height: 390px; }
    .filter-nav { flex-wrap: nowrap; margin-right: -14px; margin-left: -14px; padding: 0 14px 8px; overflow-x: auto; }
    .filter-nav a { flex: 0 0 auto; }
    .project-gallery__main,
    .project-gallery__main img { min-height: 360px; }
    .project-gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
    .project-overview { padding-top: 38px; }
    .project-overview__details,
    .project-overview__content { padding: 22px; }
    .project-overview__details dl div { grid-template-columns: 100px 1fr; }
    .home-cta,
    .project-contact { width: 100%; margin-right: 0; margin-left: 0; padding: 42px 24px; }
    .site-footer__main { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__contact { grid-column: 1 / -1; }
    .site-footer__bottom { align-items: flex-start; flex-direction: column; }
    .site-footer__bottom-links { align-items: flex-start; flex-direction: column; }
    .contact-page-grid { grid-template-columns: 1fr; }
    .contact-hero h1 { font-size: clamp(42px, 13vw, 58px); }
    .contact-hero__accent { width: min(100%, 320px); padding: 24px; }
    .contact-card { grid-template-columns: 50px 1fr auto; padding: 22px 18px; }
    .contact-card__icon { width: 50px; height: 50px; }
    .social-card { grid-template-columns: 52px 1fr auto; padding: 16px; }
    .social-card__logo { width: 52px; height: 52px; border-radius: 15px; }
    .contact-map__frame { min-height: 360px; }
    .euren-chat { right: 12px; bottom: 12px; }
    .euren-chat__launcher { min-height: 50px; padding-right: 8px; }
    .euren-chat__launcher-icon { width: 36px; height: 36px; }
    .euren-chat__launcher-label { display: none; }
    .euren-chat__panel { right: -4px; bottom: 62px; width: calc(100vw - 16px); height: calc(100dvh - 92px); min-height: 0; border-radius: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
