@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Roboto+Slab:wght@400;700&display=swap');

:root {
    --ink: #101012;
    --ink-soft: #17181b;
    --paper: #f2f1ee;
    --white: #fff;
    --muted: #aaa9ad;
    --line: rgba(255,255,255,.16);
    --accent: #00a58d;
    --gold: #d1b780;
    --shadow: 0 24px 65px rgba(0,0,0,.24);
    --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: 'DM Sans', Arial, sans-serif; font-size: 16px; line-height: 1.65; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
p { margin: 0 0 1.25rem; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 600; letter-spacing: -.04em; }
h1 { font-size: clamp(3.5rem, 7vw, 7.7rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 5rem); }
h3 { font-size: 1.2rem; }
::selection { background: var(--accent); color: #fff; }

.container { width: min(1280px, calc(100% - 10vw)); margin: 0 auto; }
.section { padding: 9rem 0; }
.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; }
.muted { color: var(--muted); }
.eyebrow, .section-kicker { color: var(--paper); font-size: .82rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.section-kicker { color: var(--accent); }
.text-link { display: inline-flex; gap: .65rem; align-items: center; color: var(--paper); font-size: .9rem; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: .55rem; transition: color .25s, border-color .25s; }
.text-link span, .button span { color: var(--accent); font-size: 1.1em; transition: transform .25s; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link:hover span, .button:hover span { transform: translate(3px, -3px); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 52px; padding: .85rem 1.35rem; border: 1px solid transparent; border-radius: 0; background: var(--accent); color: #fff; cursor: pointer; font-size: .84rem; font-weight: 600; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.button:hover { transform: translateY(-2px); background: #008b78; }
.button--outline { border-color: rgba(255,255,255,.36); background: transparent; }
.button--outline:hover { border-color: var(--accent); background: transparent; }
.button--light { background: var(--paper); color: var(--ink); }
.button--light span { color: var(--ink); }
.button--light:hover { background: var(--white); }
.button--flat { background: transparent; color: var(--paper); border-color: transparent; padding-inline: .8rem; }
.button--flat:hover { background: var(--accent); }
.button--small { min-height: 38px; padding: .45rem .75rem; }

/* Header and menus */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; height: 116px; background: var(--ink); display: flex; align-items: flex-start; }
.site-header--hero { background: transparent; }
.menu-trigger-wrap { position: absolute; left: 28px; top: 29px; }
.menu-trigger { width: 55px; height: 55px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; transition: background .25s, transform .25s; }
.menu-trigger:hover { background: rgba(255,255,255,.18); transform: scale(1.04); }
.menu-trigger span { width: 22px; height: 1px; background: var(--paper); display: block; }
.brand { position: absolute; top: 19px; left: 101px; width: 185px; height: 75px; display: flex; align-items: center; }
.brand img { width: 185px; max-height: 75px; object-fit: contain; object-position: left center; }
.main-nav { margin-left: auto; padding: 31px 62px 0 0; display: flex; align-items: flex-start; gap: clamp(22px, 2.3vw, 45px); }
.nav-link { position: relative; padding-top: 15px; white-space: nowrap; font-size: .92rem; font-weight: 600; color: #c4c3c5; transition: color .25s; }
.nav-link:hover, .nav-link.is-active { color: var(--accent); }
.nav-number { position: absolute; left: 0; top: 0; color: inherit; font-size: .51rem; line-height: 1; }
.language-switcher { position: relative; min-width: 78px; }
.language-trigger { padding: 8px 0 0; border: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; font-size: .9rem; font-weight: 600; }
.language-trigger .flag { font-size: .7rem; line-height: 1; letter-spacing: .08em; color: var(--accent); }
.language-trigger .chevron { font-size: .55rem; margin-left: 4px; color: var(--muted); }
.language-menu { position: absolute; top: 67px; right: -8px; min-width: 160px; padding: .4rem; display: none; background: #202125; box-shadow: var(--shadow); }
.language-switcher.is-open .language-menu { display: grid; }
.language-menu button { border: 0; background: transparent; padding: .55rem .7rem; text-align: left; cursor: pointer; color: var(--paper); }
.language-menu button:hover { background: rgba(0,165,141,.18); }
.social-rail { position: fixed; z-index: 40; right: 27px; top: 43%; display: flex; flex-direction: column; align-items: center; gap: 14px; color: #d7d6d7; }
.social-rail a { width: 20px; text-align: center; font-size: .85rem; font-weight: 700; transition: color .2s, transform .2s; }
.social-rail a:hover { color: var(--accent); transform: scale(1.2); }
.social-rail__label { order: 10; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .78rem; font-weight: 600; letter-spacing: .02em; margin-top: 2px; }
.mobile-menu { position: fixed; inset: 0; z-index: 100; visibility: hidden; opacity: 0; background: rgba(9,9,10,.95); transition: opacity .3s, visibility .3s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu__inner { width: min(470px, 88vw); height: 100%; padding: 38px 35px; background: #16171a; display: flex; flex-direction: column; align-items: flex-start; overflow-y: auto; transform: translateX(-20px); transition: transform .3s; }
.mobile-menu.is-open .mobile-menu__inner { transform: translateX(0); }
.mobile-menu__close { align-self: flex-end; border: 0; background: transparent; color: var(--paper); font-size: 2rem; cursor: pointer; line-height: 1; }
.mobile-menu__logo { width: 210px; margin: 20px 0 60px; }
.mobile-menu__inner > a { display: flex; gap: 14px; align-items: baseline; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.4rem; font-weight: 500; }
.mobile-menu__inner > a span { color: var(--accent); font-size: .65rem; }
.mobile-menu__languages { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.mobile-menu__languages button { border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 8px 11px; cursor: pointer; font: inherit; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.mobile-menu__languages button.is-active, .mobile-menu__languages button:hover { color: var(--paper); border-color: var(--accent); }
.mobile-menu__socials { display: flex; gap: 18px; margin-top: auto; padding-top: 50px; color: var(--muted); }

/* Alerts and footer */
.flash-message { position: fixed; z-index: 110; right: 28px; top: 28px; max-width: 360px; padding: 1rem 1.2rem; background: #23252a; box-shadow: var(--shadow); color: var(--paper); font-size: .9rem; }
.flash-success { border-left: 3px solid var(--accent); }
.flash-error { border-left: 3px solid #db6d6d; }
.site-footer { background: #0d0e10; padding: 5.75rem 0 2rem; border-top: 1px solid rgba(255,255,255,.03); }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr 1.5fr; gap: 6vw; align-items: start; padding-bottom: 5.5rem; }
.footer-brand img { width: 218px; }
.footer-column h3 { margin-bottom: .9rem; font-size: 1.2rem; }
.footer-column p { color: var(--muted); margin-bottom: .5rem; }
.footer-email { color: var(--accent); font-weight: 600; }
.footer-newsletter h3 { margin-bottom: 1.5rem; }
.newsletter-row { display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.42); }
.newsletter-row input { width: 100%; border: 0; outline: 0; background: transparent; padding: 1rem 0; color: var(--paper); }
.newsletter-row input::placeholder { color: #aaa9ad; }
.consent { display: flex; gap: .55rem; align-items: flex-start; padding-top: .8rem; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.consent input { margin-top: 3px; accent-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); padding-top: 1.3rem; color: #89888b; font-size: .78rem; }
.footer-bottom span:last-child { display: flex; gap: .7rem; }
.footer-bottom a:hover { color: var(--paper); }
.footer-bottom b { font-weight: 400; color: var(--line); }

/* Home */
.home-hero { position: relative; min-height: 620px; height: 66vh; background-image: linear-gradient(90deg, rgba(4,9,17,.2), rgba(4,9,17,.05)), var(--hero-image); background-position: center; background-size: cover; display: flex; align-items: flex-start; overflow: hidden; }
.home-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,6,11,.25) 0%, transparent 38%, rgba(8,8,10,.08) 100%); pointer-events: none; }
.home-hero__content { position: relative; z-index: 1; padding-top: 190px; }
.home-hero h1 { margin-top: 1.15rem; max-width: 1250px; color: #eee; font-size: clamp(3.6rem, 4.8vw, 5.4rem); text-shadow: 0 3px 22px rgba(0,0,0,.2); }
.home-hero h1 span { position: relative; }
.home-hero h1 span::after { content: ''; display: inline-block; width: 3px; height: .9em; margin-left: .08em; vertical-align: -.06em; background: var(--accent); animation: blink 1s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-dots { position: absolute; left: 50%; bottom: 38px; z-index: 2; display: flex; gap: 9px; transform: translateX(-50%); }
.hero-dots span { width: 7px; height: 7px; border-radius: 50%; border: 1px solid #fff; opacity: .7; }
.hero-dots span:first-child { background: #fff; }
.partner-strip { background: #111113; padding: 35px 0 58px; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 80px; align-items: center; }
.partner-logo { min-height: 86px; display: flex; justify-content: center; align-items: center; opacity: .9; transition: opacity .25s, transform .25s; }
.partner-logo:hover { opacity: 1; transform: scale(1.04); }
.partner-logo img { max-width: 170px; max-height: 72px; width: auto; object-fit: contain; }
.home-about { padding-top: 7rem; }
.home-about__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8vw; margin-top: 3.2rem; }
.home-about h2 { max-width: 570px; font-size: clamp(2.5rem, 4vw, 4.5rem); }
.home-about__grid p, .services-intro__bottom p { color: #b4b3b6; max-width: 680px; }
.home-about__grid .lead { color: var(--paper); font-size: clamp(1.6rem, 2.3vw, 2.55rem); line-height: 1.25; letter-spacing: -.035em; }
.home-about__grid p:last-of-type { margin-bottom: 2rem; }
.services-intro { background: #17181b; }
.services-intro h2 { max-width: 920px; margin-top: 1.8rem; }
.services-intro__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-top: 3.2rem; }
.services-intro__bottom p { max-width: 565px; margin: 0; }
.home-projects { padding-top: 7rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.6rem; }
.section-heading h2 { margin-top: 1.1rem; }
.featured-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.mission-section { background: linear-gradient(120deg, #111214, #202329); }
.mission-section__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8vw; }
.mission-section h2 { max-width: 800px; margin-bottom: 2rem; }
.mission-list { list-style: none; counter-reset: mission; padding: 0; margin: 0 0 2.5rem; color: #b4b3b6; max-width: 660px; }
.mission-list li { counter-increment: mission; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 1rem 0; border-top: 1px solid var(--line); }
.mission-list li::before { content: '0' counter(mission); color: var(--accent); font-size: .76rem; }

/* Inner page scaffolding */
.content-page { min-height: 68vh; padding-bottom: 8rem; }
.page-intro { padding-top: 185px; padding-bottom: 105px; }
.page-intro h1 { margin-top: 1.15rem; max-width: 900px; }
.page-intro__description { max-width: 680px; margin-top: 1.6rem; color: var(--muted); font-size: 1.1rem; }
.two-column-copy { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8vw; padding: 5.5rem 0; border-top: 1px solid var(--line); }
.two-column-copy p { color: #b6b5b8; }
.two-column-copy .lead { color: var(--paper); font-size: clamp(1.6rem, 2.3vw, 2.55rem); line-height: 1.25; letter-spacing: -.035em; }
.about-logos { display: flex; align-items: center; gap: 5vw; padding: 3.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-logos img { width: 180px; max-height: 75px; object-fit: contain; filter: brightness(0) invert(1); }
.download-row { display: flex; flex-wrap: wrap; gap: 1rem; padding-top: 3rem; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 70px 1.15fr 1.2fr 40px; gap: 2rem; align-items: center; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.service-row__number { color: var(--accent); font-size: .75rem; }
.service-row h2 { font-size: clamp(1.55rem, 2.8vw, 3rem); }
.service-row p { color: var(--muted); margin: 0; max-width: 430px; }
.service-row__arrow { font-size: 1.35rem; color: var(--accent); text-align: right; }
.services-outro { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding-top: 5rem; }
.services-outro p { max-width: 600px; color: var(--muted); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-tile { position: relative; min-height: 280px; padding: 0; border: 0; background: #202125; overflow: hidden; cursor: pointer; text-align: left; }
.gallery-tile--wide { grid-column: span 2; }
.gallery-tile img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform .6s, filter .4s; }
.gallery-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.65)); opacity: .6; }
.gallery-tile span { position: absolute; left: 20px; bottom: 18px; z-index: 1; font-size: .84rem; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.gallery-tile:hover img { transform: scale(1.05); filter: brightness(.8); }
.gallery-tile:hover span { opacity: 1; transform: translateY(0); }
.lightbox { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 5vw; background: rgba(5,5,7,.94); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lightbox > button { position: absolute; right: 30px; top: 20px; border: 0; background: transparent; font-size: 2.5rem; cursor: pointer; }

/* Projects */
.project-archive .page-intro { padding-bottom: 92px; }
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 0; margin-bottom: 2.2rem; color: var(--muted); }
.filter-bar > span { margin-right: 1rem; }
.filter-tab { position: relative; border: 0; background: transparent; color: var(--paper); padding: .25rem .9rem; cursor: pointer; font-size: .9rem; }
.filter-tab::after { content: '/'; position: absolute; right: -.1rem; color: var(--muted); }
.filter-tab:last-child::after { display: none; }
.filter-tab.is-active { color: var(--accent); font-weight: 700; }
.filter-tab sup { top: -.7em; position: relative; color: inherit; font-size: .5rem; margin-left: .1rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 38px; }
.project-card { min-width: 0; }
.project-card__image { display: block; position: relative; aspect-ratio: 1.55 / 1; overflow: hidden; background: #222328; }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; }
.project-card__overlay { position: absolute; inset: auto 0 0; z-index: 1; display: flex; justify-content: space-between; padding: 1.15rem 1.25rem; background: linear-gradient(transparent, rgba(0,0,0,.78)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.project-card__overlay b { color: var(--accent); font-size: 1.2rem; }
.project-card:hover .project-card__image img { transform: scale(1.05); filter: brightness(.75); }
.project-card:hover .project-card__overlay { opacity: 1; transform: translateY(0); }
.project-card__meta { padding: 1.25rem .1rem 0; }
.project-card__category { color: var(--muted); font-size: .82rem; }
.project-card__category:hover { color: var(--accent); }
.project-card h2 { margin-top: .55rem; font-size: clamp(1.2rem, 1.9vw, 1.7rem); text-transform: uppercase; }
.project-card h2 a:hover { color: var(--accent); }
.empty-filter { padding: 3rem 0; color: var(--muted); }

/* News and forms */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.news-card__image { display: block; aspect-ratio: 1.45 / 1; overflow: hidden; background: #1d1e22; margin-bottom: 1.5rem; }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card__image img { transform: scale(1.05); }
.news-card__date { margin-bottom: .8rem; color: var(--accent); font-size: .78rem; }
.news-card h2 { font-size: clamp(1.35rem, 2.3vw, 2.1rem); }
.news-card p:not(.news-card__date) { margin-top: 1rem; color: var(--muted); }
.news-card .text-link { margin-top: .4rem; }
.pagination { margin-top: 4rem; border-top: 1px solid var(--line); padding-top: 1rem; color: var(--accent); }
.pagination .is-current { display: inline-flex; width: 30px; height: 30px; justify-content: center; align-items: center; border: 1px solid var(--accent); border-radius: 50%; font-size: .8rem; }
.news-post__intro { padding-top: 185px; padding-bottom: 6rem; }
.news-post__intro h1 { max-width: 1050px; margin-top: 1.1rem; }
.news-post__body { max-width: 820px; border-top: 1px solid var(--line); padding-top: 4rem; color: #b6b5b8; font-size: 1.08rem; }
.news-post__body h2 { color: var(--paper); font-size: clamp(1.8rem, 3vw, 3rem); margin: 3rem 0 1rem; }
.news-post__body p:first-child { color: var(--paper); font-size: 1.3rem; line-height: 1.45; }
.news-post > .container > .button { margin-top: 3.5rem; }
.contact-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 10vw; border-top: 1px solid var(--line); padding-top: 5.5rem; }
.contact-grid section > h2 { margin: 1rem 0; font-size: clamp(2rem, 3.5vw, 4rem); }
.contact-grid section > p { color: var(--muted); }
.contact-form { margin-top: 3rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1.8rem; }
.contact-form label { display: flex; flex-direction: column; gap: .5rem; }
.contact-form label > span { color: #d8d7d8; font-size: .78rem; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.32); outline: 0; padding: .65rem 0 .9rem; resize: vertical; background: transparent; color: var(--paper); border-radius: 0; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #818186; }
.form-grid__full { grid-column: 1 / -1; }
.contact-form > .button { margin-top: 2rem; }
.contact-details { padding-top: 3.2rem; }
.contact-detail { border-top: 1px solid var(--line); padding: 1.7rem 0; }
.contact-detail h3 { margin-bottom: .8rem; font-size: 1rem; }
.contact-detail p { color: var(--muted); font-size: .9rem; }
.contact-detail a { color: var(--paper); }
.contact-detail a:hover { color: var(--accent); }
.agent-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12vw; border-top: 1px solid var(--line); padding-top: 5.5rem; }
.agent-copy h2 { margin: 1.2rem 0 1.4rem; font-size: clamp(2.4rem, 4.4vw, 4.8rem); }
.agent-copy p { color: var(--muted); max-width: 500px; }
.agent-form { margin-top: 0; }
.agent-form label { margin-bottom: 1.7rem; }

/* Project detail and availability */
.project-breadcrumb { display: flex; gap: .8rem; padding-top: 155px; color: var(--muted); font-size: .78rem; }
.project-breadcrumb a:hover { color: var(--accent); }
.project-heading { padding: 3rem 0 4rem; }
.project-heading h1 { max-width: 1050px; margin-top: 1rem; text-transform: uppercase; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-gallery__item { min-height: 290px; padding: 0; border: 0; overflow: hidden; background: #24252a; cursor: pointer; }
.project-gallery__item--hero { grid-column: span 2; grid-row: span 2; min-height: 600px; }
.project-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; }
.project-gallery__item:hover img { transform: scale(1.05); filter: brightness(.78); }
.project-copy { display: grid; grid-template-columns: 1.4fr .7fr; gap: 10vw; padding: 6rem 0; }
.project-copy__main { color: #b5b4b7; font-size: 1.08rem; max-width: 750px; }
.project-copy__main p:first-child { color: var(--paper); font-family: 'Roboto Slab', Georgia, serif; font-size: 1.35rem; }
.project-sidebar { align-self: start; position: sticky; top: 140px; border-top: 1px solid var(--line); }
.project-fact { display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.project-fact span { color: var(--muted); }
.project-fact strong { text-align: right; font-weight: 500; }
.project-sidebar .button { margin-top: 1.6rem; width: 100%; }
.project-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2rem 0 4rem; border-top: 1px solid var(--line); }
.project-navigation a { display: flex; flex-direction: column; gap: .45rem; }
.project-navigation a:last-child { text-align: right; }
.project-navigation span { color: var(--muted); font-size: .78rem; }
.project-navigation strong { font-size: clamp(1.2rem, 2.3vw, 2rem); }
.project-navigation a:hover strong { color: var(--accent); }
.availability-note { display: flex; justify-content: space-between; gap: 3rem; align-items: end; padding: 3.5rem; background: #1a1b1f; margin-bottom: 5rem; }
.availability-note h2 { max-width: 600px; margin: 1rem 0; font-size: clamp(2rem, 3.5vw, 4rem); }
.availability-note p { max-width: 600px; color: var(--muted); margin: 0; }
.availability-projects > h2 { font-size: 2.2rem; margin-bottom: 2rem; }

.legal-copy { max-width: 760px; border-top: 1px solid var(--line); padding-top: 4rem; color: var(--muted); }
.legal-copy h2 { color: var(--paper); font-size: 2rem; margin-top: 3rem; }
.legal-copy a { color: var(--accent); }
.error-page { min-height: 58vh; padding-top: 220px; }
.error-page h1 { margin: 1rem 0; }
.error-page p:not(.eyebrow) { color: var(--muted); margin-bottom: 2rem; }

@media (max-width: 1280px) {
    .main-nav { gap: 20px; padding-right: 42px; }
    .nav-link { font-size: .82rem; }
    .brand { left: 92px; }
    .social-rail { right: 18px; }
}

@media (max-width: 980px) {
    h1 { font-size: clamp(3rem, 10vw, 6.2rem); }
    .container { width: min(100% - 48px, 720px); }
    .main-nav { display: none; }
    .brand { left: 96px; }
    .social-rail { right: 15px; }
    .home-hero { height: 620px; }
    .home-hero__content { padding-top: 155px; }
    .partner-grid { gap: 24px 30px; }
    .home-about__grid, .mission-section__grid, .two-column-copy, .contact-grid, .agent-grid, .project-copy { grid-template-columns: 1fr; gap: 3rem; }
    .home-about__grid h2 { max-width: 700px; }
    .featured-project-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
    .project-sidebar { position: static; max-width: 430px; }
    .service-row { grid-template-columns: 45px 1.1fr 1fr 25px; gap: 1rem; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .container { width: calc(100% - 38px); }
    .site-header { height: 96px; }
    .menu-trigger-wrap { left: 18px; top: 20px; }
    .menu-trigger { width: 48px; height: 48px; }
    .brand { left: 80px; top: 16px; width: 156px; height: 60px; }
    .brand img { width: 156px; max-height: 60px; }
    .social-rail { display: none; }
    .home-hero { min-height: 620px; height: 78vh; background-position: 62% center; }
    .home-hero__content { padding-top: 145px; }
    .home-hero h1 { font-size: clamp(2.8rem, 14vw, 5rem); }
    .partner-strip { padding: 30px 0 40px; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .partner-logo { min-height: 62px; }
    .partner-logo img { max-width: 120px; max-height: 54px; }
    .section { padding: 5.5rem 0; }
    .home-about { padding-top: 5.5rem; }
    .home-about__grid, .mission-section__grid { gap: 2rem; }
    .services-intro__bottom, .section-heading, .services-outro, .availability-note { flex-direction: column; align-items: flex-start; }
    .featured-project-grid, .project-grid, .news-grid, .gallery-grid { grid-template-columns: 1fr; }
    .gallery-tile--wide { grid-column: auto; }
    .gallery-tile, .gallery-tile img { min-height: 240px; }
    .page-intro { padding-top: 142px; padding-bottom: 65px; }
    .page-intro h1 { font-size: clamp(3rem, 15vw, 5rem); }
    .news-post__intro { padding-top: 142px; padding-bottom: 3.5rem; }
    .two-column-copy, .contact-grid, .agent-grid, .project-copy { padding-top: 3.5rem; }
    .about-logos { flex-wrap: wrap; gap: 2rem 2.5rem; }
    .about-logos img { width: 130px; max-height: 56px; }
    .service-row { grid-template-columns: 34px 1fr 24px; gap: .8rem; }
    .service-row p { grid-column: 2 / -1; }
    .service-row__arrow { grid-column: 3; grid-row: 1; }
    .filter-bar { align-items: flex-start; }
    .filter-tab { padding-inline: .55rem; font-size: .77rem; }
    .filter-bar > span { width: 100%; margin-bottom: .5rem; }
    .project-card__image { aspect-ratio: 1.25 / 1; }
    .project-gallery { grid-template-columns: repeat(2, 1fr); }
    .project-gallery__item { min-height: 180px; }
    .project-gallery__item--hero { grid-column: span 2; min-height: 340px; }
    .project-navigation { gap: 1rem; }
    .project-navigation strong { font-size: 1.1rem; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid__full { grid-column: auto; }
    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3.5rem; }
    .footer-newsletter { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: .8rem; }
    .footer-bottom span:last-child { flex-wrap: wrap; }
    .flash-message { right: 12px; top: 12px; max-width: calc(100% - 24px); }
    .availability-note { padding: 2rem; }
}
