:root {
    --ink: #202521;
    --forest: #23483d;
    --teal: #4b8177;
    --copper: #a95c3c;
    --paper: #f5f6f2;
    --white: #ffffff;
    --muted: #68706a;
    --line: #d9ded6;
    --shadow: 0 24px 80px rgba(32, 37, 33, .18);
    --header-h: 72px;
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

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

.skip-link:focus {
    z-index: 120;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    padding: 10px 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.site-header {
    position: fixed;
    z-index: 90;
    top: 16px;
    left: 24px;
    right: 24px;
    height: var(--header-h);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 0 16px 0 18px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(217, 222, 214, .9);
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(32, 37, 33, .12);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--forest);
    border-radius: 50%;
    font-family: "Marcellus", Georgia, serif;
    font-size: 24px;
}

.brand-text {
    font-family: "Marcellus", Georgia, serif;
    font-size: 25px;
    line-height: 1;
}

.header-center {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.header-center i {
    width: 28px;
    height: 1px;
    background: var(--line);
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.call-link {
    height: 48px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 14px;
    color: var(--white);
    background: var(--ink);
    border-radius: 8px;
    text-decoration: none;
}

.call-link span {
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    line-height: 1.2;
}

.call-link strong {
    font-size: 14px;
    line-height: 1.2;
}

.menu-toggle {
    height: 52px;
    min-width: 118px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 0 12px 0 15px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.menu-toggle:hover,
body.menu-open .menu-toggle {
    color: var(--white);
    background: var(--forest);
    border-color: var(--forest);
}

.menu-toggle-copy {
    display: grid;
    gap: 1px;
    text-align: left;
}

.menu-toggle-copy strong {
    font-size: 13px;
    line-height: 1.1;
}

.menu-toggle-copy small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    transition: color .18s ease;
}

.menu-toggle:hover .menu-toggle-copy small,
body.menu-open .menu-toggle-copy small {
    color: rgba(255, 255, 255, .7);
}

.menu-toggle-icon {
    position: relative;
    width: 28px;
    height: 22px;
}

.menu-toggle-line {
    position: absolute;
    right: 0;
    width: 28px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .24s ease, top .24s ease, width .24s ease, opacity .18s ease;
}

.menu-toggle-line:nth-child(1) {
    top: 2px;
}

.menu-toggle-line:nth-child(2) {
    top: 10px;
    width: 20px;
}

.menu-toggle-line:nth-child(3) {
    top: 18px;
    width: 12px;
}

.menu-toggle:hover .menu-toggle-line:nth-child(2),
.menu-toggle:hover .menu-toggle-line:nth-child(3) {
    width: 28px;
}

body.menu-open .menu-toggle-line:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

body.menu-open .menu-toggle-line:nth-child(2) {
    opacity: 0;
}

body.menu-open .menu-toggle-line:nth-child(3) {
    top: 10px;
    width: 28px;
    transform: rotate(-45deg);
}

.site-menu {
    position: fixed;
    z-index: 80;
    inset: 0;
    color: var(--ink);
    pointer-events: none;
}

.site-menu.open {
    pointer-events: auto;
}

.site-menu-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(32, 37, 33, .62);
    opacity: 0;
    cursor: pointer;
    transition: opacity .28s ease;
}

.site-menu.open .site-menu-backdrop {
    opacity: 1;
}

.site-menu-shell {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity .28s ease, transform .34s ease;
}

.site-menu.open .site-menu-shell {
    opacity: 1;
    transform: translateX(0);
}

.site-menu-rail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 34px 0;
    color: var(--white);
    background: var(--forest);
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.rail-mark,
.rail-caption {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
}

.rail-mark {
    font-family: "Marcellus", Georgia, serif;
    font-size: 22px;
}

.rail-line {
    width: 1px;
    min-height: 120px;
    background: rgba(255, 255, 255, .45);
}

.rail-caption {
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    font-weight: 900;
}

.site-menu-panel {
    height: calc(100vh - 32px);
    margin: 16px 24px 16px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 44px;
    overflow: hidden auto;
    padding: 100px 48px 34px;
    background:
        linear-gradient(125deg, rgba(245, 246, 242, .98), rgba(255, 255, 255, .94)),
        url("../img/home/miras.jpg") center / cover;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.site-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.site-menu-close {
    min-height: 38px;
    padding: 0 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.site-menu-links {
    display: grid;
}

.site-menu-links > a,
.site-menu-links > button {
    position: relative;
    width: 100%;
    min-height: 72px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 38px;
    align-items: center;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(32, 37, 33, .14);
    font-family: "Marcellus", Georgia, serif;
    font-size: 60px;
    line-height: 1;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .42s ease, transform .42s ease, color .18s ease;
    transition-delay: calc(var(--i, 1) * 70ms + 120ms);
}

.site-menu.open .site-menu-links > a,
.site-menu.open .site-menu-links > button {
    opacity: 1;
    transform: translateY(0);
}

.site-menu-links > a:hover,
.site-menu-links > button:hover,
.site-menu-links > a.active,
.site-menu-links > button.active {
    color: var(--copper);
}

.site-menu-links > a span,
.site-menu-links > button span {
    align-self: start;
    padding-top: 21px;
    color: var(--teal);
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
}

.site-menu-links > button i {
    width: 30px;
    height: 30px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-4px);
    transition: transform .22s ease;
}

.site-menu-links > button.open i {
    transform: rotate(225deg) translate(-5px, -2px);
}

.site-menu-submenu {
    max-height: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-left: 54px;
    opacity: 0;
    transition: max-height .28s ease, opacity .18s ease, padding-top .18s ease, padding-bottom .18s ease;
}

.site-menu-submenu.open {
    max-height: 340px;
    opacity: 1;
    padding-top: 16px;
    padding-bottom: 20px;
}

.site-menu-submenu a {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(217, 222, 214, .9);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.site-menu-social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .32s ease .55s, transform .32s ease .55s;
}

.site-menu.open .site-menu-social {
    opacity: 1;
    transform: translateY(0);
}

.site-menu-social a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    color: var(--muted);
    background: rgba(255, 255, 255, .66);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.site-menu-projects {
    display: grid;
    align-content: start;
    gap: 12px;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .38s ease .28s, transform .38s ease .28s;
}

.site-menu.open .site-menu-projects {
    opacity: 1;
    transform: translateX(0);
}

.site-menu-projects > a:not(.site-menu-cta) {
    min-height: 118px;
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    padding: 10px;
    color: var(--ink);
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(217, 222, 214, .9);
    border-radius: 8px;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease;
}

.site-menu-projects > a:not(.site-menu-cta):hover {
    transform: translateX(6px);
    background: var(--white);
}

.site-menu-projects img {
    width: 136px;
    height: 94px;
    object-fit: cover;
    border-radius: 6px;
}

.site-menu-projects span {
    display: grid;
    gap: 5px;
}

.site-menu-projects small {
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
}

.site-menu-projects strong {
    font-size: 18px;
    line-height: 1.16;
}

.site-menu-cta {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--copper);
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

main {
    min-height: 60vh;
}

.hero,
.compact-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.home-hero,
.detail-hero {
    height: calc(100vh - 56px);
    min-height: 680px;
    max-height: 780px;
}

.hero-media,
.hero-media img,
.compact-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay,
.compact-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(32, 37, 33, .88), rgba(32, 37, 33, .34));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 150px 0 92px;
}

.hero h1,
.compact-hero h1 {
    max-width: 820px;
    margin: 0;
    font-family: "Marcellus", Georgia, serif;
    font-size: 92px;
    font-weight: 400;
    line-height: .95;
}

.hero p:not(.eyebrow),
.compact-hero p:not(.eyebrow) {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.btn.primary {
    color: var(--white);
    background: var(--copper);
}

.btn.secondary {
    color: var(--ink);
    background: var(--white);
    border-color: var(--line);
}

.btn.glass,
.btn.light {
    color: var(--white);
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .34);
}

.btn.compact {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
}

.hero-note {
    position: absolute;
    right: max(24px, calc((100% - var(--max)) / 2));
    bottom: 28px;
    z-index: 1;
    width: 280px;
    padding: 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 8px;
    backdrop-filter: blur(14px);
}

.hero-note span {
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-note strong {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.25;
}

.metric-band {
    width: min(var(--max), calc(100% - 48px));
    margin: -42px auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.metric-band div {
    min-height: 112px;
    display: grid;
    align-content: center;
    padding: 20px;
    border-right: 1px solid var(--line);
}

.metric-band div:last-child {
    border-right: 0;
}

.metric-band strong {
    font-family: "Marcellus", Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
}

.metric-band span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.section {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    padding: 96px 0;
}

.split-section,
.corporate-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: 48px;
    align-items: start;
}

.section-copy h2,
.section-heading h2,
.content-block h1,
.legal-content h1 {
    margin: 0;
    font-family: "Marcellus", Georgia, serif;
    font-size: 54px;
    font-weight: 400;
    line-height: 1.05;
}

.section-copy p:not(.eyebrow),
.content-block p,
.legal-content p {
    color: var(--muted);
    font-size: 18px;
}

.text-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--copper);
    font-weight: 900;
    text-decoration: none;
}

.image-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.image-stack img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 8px;
}

.image-stack img:nth-child(2) {
    margin-top: 58px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.section-heading h2 {
    max-width: 720px;
}

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

.project-card {
    position: relative;
    min-height: 420px;
    display: grid;
    grid-template-rows: 260px 1fr;
    overflow: hidden;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.project-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #e8ece7;
}

.project-card > div {
    padding: 22px;
}

.project-card p {
    margin: 0 0 7px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 900;
}

.project-card h2,
.project-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.18;
}

.project-card span:not(.project-status) {
    color: var(--muted);
    font-weight: 800;
}

.project-status {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    color: var(--white);
    background: var(--forest);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 900;
}

.wide-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 76px max(24px, calc((100% - var(--max)) / 2));
    color: var(--white);
    background:
        linear-gradient(100deg, rgba(32, 37, 33, .94), rgba(53, 82, 71, .92)),
        url("../img/home/yasam.jpg") center / cover;
}

.wide-cta h2 {
    max-width: 760px;
    margin: 0;
    font-family: "Marcellus", Georgia, serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.08;
}

.compact-hero {
    min-height: 460px;
    display: flex;
    align-items: end;
    padding: 150px max(24px, calc((100% - var(--max)) / 2)) 70px;
}

.compact-hero > div {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.compact-hero h1 {
    font-size: 68px;
}

.project-grid-large {
    grid-template-columns: repeat(3, 1fr);
}

.project-summary {
    width: min(var(--max), calc(100% - 48px));
    margin: -50px auto 0;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.project-summary div {
    padding: 24px;
    border-right: 1px solid var(--line);
}

.project-summary div:last-child {
    border-right: 0;
}

.project-summary span {
    display: block;
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.project-summary strong {
    display: block;
    margin-top: 5px;
    font-size: 20px;
}

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

.gallery-grid button {
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery-modal {
    position: fixed;
    z-index: 130;
    inset: 0;
    display: none;
    place-items: center;
    padding: 28px;
    background: rgba(0, 0, 0, .86);
}

.gallery-modal.open {
    display: grid;
}

.gallery-modal button {
    position: absolute;
    top: 22px;
    right: 22px;
    min-height: 38px;
    padding: 0 12px;
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    cursor: pointer;
}

.gallery-modal img {
    max-width: min(100%, 1120px);
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
}

.side-nav {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 8px;
}

.side-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: var(--muted);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.side-nav a.active {
    color: var(--white);
    background: var(--forest);
    border-color: var(--forest);
}

.content-block,
.contact-card,
.contact-form,
.legal-content {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 44px rgba(32, 37, 33, .08);
}

.content-block {
    padding: 40px;
}

.content-block .lead {
    color: var(--ink);
    font-size: 22px;
    line-height: 1.45;
}

.contact-card,
.contact-form {
    padding: 32px;
}

.contact-card h2 {
    margin: 0 0 18px;
    font-family: "Marcellus", Georgia, serif;
    font-size: 34px;
    font-weight: 400;
}

.contact-card a,
.contact-card span {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-weight: 800;
    text-decoration: none;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

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

.legal-content {
    padding: 44px;
}

.site-footer {
    color: rgba(255, 255, 255, .72);
    background: var(--ink);
}

.footer-grid {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 36px;
    padding: 58px 0 40px;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--white);
    font-family: "Marcellus", Georgia, serif;
    font-size: 30px;
    text-decoration: none;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 13px;
    text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
    display: block;
    margin: 8px 0;
    text-decoration: none;
}

.footer-bottom {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 13px;
}

@media (max-width: 1080px) {
    .site-header {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .header-center {
        display: none;
    }

    .site-menu-shell {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .site-menu-panel {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 104px 34px 34px;
    }

    .site-menu-links > a,
    .site-menu-links > button {
        font-size: 52px;
    }

    .site-menu-projects {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-menu-projects .eyebrow,
    .site-menu-cta {
        grid-column: 1 / -1;
    }

    .site-menu-projects > a:not(.site-menu-cta) {
        grid-template-columns: 1fr;
        align-content: start;
    }

    .site-menu-projects img {
        width: 100%;
        height: 128px;
    }

    .hero h1 {
        font-size: 78px;
    }

    .split-section,
    .corporate-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .project-grid,
    .project-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }

    .side-nav {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 760px) {
    :root {
        --header-h: 64px;
    }

    .site-header {
        top: 8px;
        left: 8px;
        right: 8px;
        padding: 0 10px 0 12px;
        gap: 8px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        font-size: 21px;
    }

    .brand-text {
        font-size: 22px;
    }

    .call-link {
        display: none;
    }

    .menu-toggle {
        width: 52px;
        min-width: 52px;
        justify-content: center;
        padding: 0;
    }

    .menu-toggle-copy {
        display: none;
    }

    .site-menu-shell {
        display: block;
    }

    .site-menu-rail {
        display: none;
    }

    .site-menu-panel {
        height: calc(100vh - 16px);
        margin: 8px;
        padding: 92px 18px 24px;
        display: block;
    }

    .site-menu-top {
        margin-bottom: 12px;
    }

    .site-menu-links > a,
    .site-menu-links > button {
        min-height: 74px;
        grid-template-columns: 38px minmax(0, 1fr) 28px;
        font-size: 42px;
    }

    .site-menu-links > a span,
    .site-menu-links > button span {
        padding-top: 17px;
        font-size: 11px;
    }

    .site-menu-links > button i {
        width: 22px;
        height: 22px;
    }

    .site-menu-submenu {
        grid-template-columns: 1fr;
        padding-left: 38px;
    }

    .site-menu-submenu.open {
        max-height: 520px;
    }

    .site-menu-projects {
        display: none;
    }

    .home-hero,
    .detail-hero {
        height: auto;
        min-height: 620px;
        max-height: none;
    }

    .hero-content {
        width: calc(100% - 32px);
        padding-top: 150px;
        padding-bottom: 76px;
    }

    .hero h1,
    .compact-hero h1 {
        font-size: 56px;
    }

    .hero p:not(.eyebrow),
    .compact-hero p:not(.eyebrow) {
        font-size: 17px;
    }

    .hero-note {
        display: none;
    }

    .metric-band {
        width: calc(100% - 32px);
        grid-template-columns: repeat(2, 1fr);
    }

    .metric-band div {
        min-height: 102px;
    }

    .metric-band div:nth-child(2) {
        border-right: 0;
    }

    .section {
        width: calc(100% - 32px);
        padding: 70px 0;
    }

    .section-copy h2,
    .section-heading h2,
    .content-block h1,
    .legal-content h1 {
        font-size: 38px;
    }

    .section-heading {
        display: grid;
        align-items: start;
    }

    .image-stack {
        grid-template-columns: 1fr;
    }

    .image-stack img {
        height: 280px;
    }

    .image-stack img:nth-child(2) {
        margin-top: 0;
    }

    .project-grid,
    .project-grid-large,
    .project-summary,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .project-summary div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .project-summary div:last-child {
        border-bottom: 0;
    }

    .compact-hero {
        min-height: 420px;
        padding: 130px 16px 54px;
    }

    .wide-cta {
        display: grid;
        padding: 56px 16px;
    }

    .wide-cta h2 {
        font-size: 36px;
    }

    .side-nav {
        grid-template-columns: 1fr;
    }

    .content-block,
    .contact-card,
    .contact-form,
    .legal-content {
        padding: 24px;
    }

    .footer-bottom {
        display: grid;
    }
}
