/* Public landing only. Standalone CSS leaves the existing Mix/Tailwind bundle untouched. */
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter/cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter/latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --navy: #1b1f23;
    --teal: #846638;
    --sand: #b89a67;
    --white: #ffffff;
    --cloud: #fafaf8;
    --mist: #f1f2f2;
    --ink: var(--navy);
    --paper: var(--cloud);
    --surface: var(--mist);
    --muted: #62615e;
    --button-bg: var(--sand);
    --button-text: var(--ink);
    --field-border: #a6a39d;
    --gutter: clamp(20px, 4vw, 64px);
    --section-space: clamp(64px, 6vw, 96px);
    --ease: cubic-bezier(.215,.61,.355,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.6 Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1,h2,h3,p,figure,dl,dd { margin: 0; }
h1,h2,h3 { font-weight: 500; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(42px, 4.8vw, 76px); }
h2 { font-size: clamp(32px, 3.2vw, 46px); }
h3 { font-size: clamp(25px, 2.4vw, 36px); letter-spacing: -.025em; line-height: 1.15; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 6px; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; border: 0; color: inherit; }
a,button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .5; cursor: not-allowed; }
img { display: block; width: auto; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
[hidden],.hidden { display: none !important; }
.frame { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-space); }
.section-heading { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 64px; margin-bottom: 56px; }
.section-heading p { max-width: 44ch; }
.section-description { justify-self: end; }
.section-description .text-link { margin-top: 16px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 14px 24px; min-height: 52px; border-radius: 999px; background: var(--button-bg); color: var(--button-text); font-weight: 500; text-align: center; line-height: 1.4; transition: transform .25s var(--ease), background-color .25s; }
.button:hover { background: #dbc094; transform: translateY(-1px); text-decoration: none; }
.button:active { transform: translateY(0); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #353b40; color: var(--white); }
.button span { font-size: 22px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; text-decoration: underline; text-underline-offset: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 100; padding: 12px; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; color: var(--white); background: var(--navy); transition: transform .3s var(--ease), background-color .3s; }
.site-header.is-scrolled,.site-header.menu-open { background: var(--navy); }
.site-header.is-away { transform: translateY(-100%); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-weight: 600; font-size: 17px; line-height: 1.3; }
.brand picture { display: block; }
.brand img { width: 64px; height: auto; object-fit: contain; }
.site-footer .brand img { width: 150px; }
.brand:hover { text-decoration: none; }
.header-navigation { margin-left: auto; }
.desktop-nav { display: flex; justify-content: flex-end; gap: clamp(20px,2.4vw,40px); align-items: center; min-height: 48px; font-size: 15px; }
.desktop-nav a { transition: color .25s; }
.desktop-nav a:hover { color: var(--sand); }
.desktop-nav a { padding-block: 12px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-cta { min-height: 48px; padding: 12px 22px; font-size: 16px; background: var(--sand); }
.menu-toggle { display: none; background: transparent; min-height: 48px; padding: 12px; }
.mobile-nav { display: grid; gap: 10px; padding: 24px var(--gutter); max-height: calc(100svh - 84px); overflow: auto; background: var(--navy); }
.mobile-nav a { padding-block: 10px; }
.hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 20px; padding: 112px var(--gutter) 24px; max-width: 1600px; margin-inline: auto; }
.hero-showcase { position: relative; isolation: isolate; min-height: 560px; overflow: hidden; border-radius: 16px; background: var(--navy); color: var(--white); }
.hero-showcase::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,transparent 30%,rgba(14,20,24,.5) 55%,rgba(14,20,24,.96) 100%); }
.hero-media { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { position: relative; padding: 32px; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.hero-copy h1 { font-size: clamp(38px,3.8vw,58px); line-height: 1.08; letter-spacing: -.03em; }
.hero-copy p { margin-top: 16px; font-size: 17px; line-height: 1.5; max-width: 38ch; }
.hero-copy .actions { margin-top: 24px; gap: 16px; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: #ececea; }
.hero-secondary { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.visualization-note { position: absolute; top: 20px; left: 24px; padding: 6px 10px; border-radius: 6px; font-size: 12px; background: rgba(27,31,35,.85); }
.hero-projects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 20px; }
.hero-project { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--navy); color: var(--white); min-width: 0; }
.hero-project img { width: 100%; height: 100%; min-height: 0; object-fit: contain; flex: 1 1 0; transition: transform .5s var(--ease); }
.hero-project:hover img { transform: scale(1.02); }
.hero-project:hover { text-decoration: none; }
.hero-project-caption { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: clamp(16px,1.4vw,21px); font-weight: 500; line-height: 1.2; }
.hero-project-caption > span:first-child { overflow-wrap: anywhere; }
.round-arrow { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--ink); }
.hero:not(:has(.hero-projects)) { grid-template-columns: 1fr; }
.hero:not(:has(.hero-projects)) .hero-showcase { max-width: none; }
.quick-paths { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding-block: 0 32px; }
.quick-paths a { position: relative; display: flex; flex-direction: column; padding: 24px 60px 24px 24px; background: var(--surface); border-radius: 12px; transition: background-color .2s; }
.quick-paths a:hover { background: #e8e9e9; text-decoration: none; }
.quick-paths a > span:first-child { font-weight: 500; font-size: 18px; }
.quick-paths a > span:nth-child(2) { font-size: 14px; color: var(--muted); margin-top: 6px; }
.quick-paths svg { position: absolute; right: 24px; top: 26px; }
.button-outline { background: transparent; border: 1px solid #b8bbbd; color: var(--ink); }
.button-outline:hover { background: var(--surface); }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 32px; }
.catalog-heading h2 span { color: var(--muted); }
.catalog-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.project-filter { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) auto auto; gap: 24px; align-items: center; padding: 16px 24px; margin-bottom: 32px; border-radius: 16px; background: var(--surface); }
.project-filter label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.project-filter input,.project-filter select { width: 100%; min-width: 0; min-height: 44px; border: none; border-bottom: 1px solid #9b9fa1; padding: 6px 0; color: var(--ink); background: transparent; font-size: 16px; border-radius: 0; }
.filter-reset { min-height: 44px; padding: 10px 14px; background: var(--white); border-radius: 999px; font-size: 14px; }
#projectCount { font-size: 14px; color: var(--muted); }
.project-empty { padding: 32px; border-radius: 12px; background: var(--surface); }
.project-badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; background: var(--white); color: var(--ink); border-radius: 6px; font-size: 13px; }
.mobile-dock { display: none; }
.notice { position: relative; margin-top: 100px; padding: 24px var(--gutter); background: var(--surface); z-index: 25; }
.notice + .notice { margin-top: 0; }
.notice-error { color: #8b2424; }
.advantages { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; align-items: start; }
.advantages-intro { position: sticky; top: 148px; }
.advantages-intro p { margin-top: 28px; max-width: 35ch; color: var(--ink); }
.advantages-intro .text-link { margin-top: 24px; }
.advantages-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 40px; }
.advantages-list li { padding-left: 0; }
.advantages-list li::marker { color: var(--teal); font-size: 25px; }
.advantages-list h3 { font-size: 27px; }
.advantages-list p { margin-top: 12px; max-width: 46ch; color: var(--ink); }
.advantages-list .text-link { margin-top: 8px; }
.projects-section { background: var(--white); padding-top: 48px; }
.projects-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 28px; }
.project { min-width: 0; display: grid; grid-template-rows: subgrid; grid-row: span 5; padding-bottom: 32px; }
.project-image { position: relative; display: block; overflow: hidden; background: var(--surface); aspect-ratio: 4/3; width: 100%; border-radius: 16px; }
.project-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.project-image:hover > img { transform: scale(1.015); }
.project-image-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 24px; background: var(--navy); color: var(--white); text-align: center; }
.project-image:has(> img[data-project-photo]:not([hidden])) .project-image-fallback { visibility: hidden; }
.project-image-fallback img { width: 112px; height: 112px; object-fit: contain; }
.project-summary { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: subgrid; grid-row: span 4; gap: 20px; min-width: 0; }
.project-title h3 { overflow-wrap: anywhere; font-size: clamp(24px,2vw,30px); }
.project-title p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.project-facts { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.project-facts div { display: flex; align-items: baseline; gap: 10px; }
.project-facts dt { color: var(--muted); font-size: 14px; }
.project-facts dd { font-size: 20px; font-variant-numeric: tabular-nums; }
.project-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.project-tools { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; }
.project-tools a { min-height: 44px; padding-block: 10px; }
.map-layout { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(0,1.35fr); gap: 24px; background: var(--white); padding: 24px; border-radius: 16px; }
.map-list { display: flex; flex-direction: column; gap: 8px; max-height: 580px; overflow: auto; padding: 5px; }
.map-list-item { padding: 8px; border-radius: 0; background: var(--paper); }
.map-list-item:has(button[aria-pressed=true]) { background: var(--surface); }
.map-list-item button { display: block; text-align: left; width: 100%; background: transparent; font-size: 22px; letter-spacing: -.03em; line-height: 1.25; min-height: 52px; padding: 12px; border-radius: 0; }
.map-list-item button[aria-pressed=true] { background: var(--teal); color: var(--white); }
.map-list-item p { padding: 8px 12px 0; color: var(--muted); font-size: 14px; }
.map-list-item a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.map-canvas { height: 580px; min-width: 0; background: var(--surface); border-radius: 12px; overflow: hidden; }
iframe { width: 100%; height: 100%; border: 0; display: block; }
.gallery-section { background: var(--surface); }
.gallery-section > .frame { display: grid; grid-template-columns: .65fr 1.35fr; align-items: center; gap: 64px; }
.gallery-section .section-heading { display: block; margin: 0; }
.gallery-section .section-heading p { margin-top: 28px; }
.mySwiper { overflow: hidden; width: 100%; min-width: 0; }
.swiper-slide img { width: 100%; height: clamp(320px,42vw,600px); object-fit: cover; }
.swiper-slide figcaption { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; font-size: 14px; }
.swiper-slide figcaption p { max-width: 36ch; }
.gallery-controls { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.gallery-controls button { border-radius: 0; padding: 12px 24px; background: var(--white); min-height: 48px; transition: background-color .2s; }
.gallery-controls button:hover { background: var(--navy); color: var(--white); }
.mySwiper:not(.swiper-initialized) .swiper-wrapper { display: block; }
.mySwiper:not(.swiper-initialized) .swiper-slide { margin-bottom: 24px; }
.gallery-controls:has(.swiper-button-lock) { display: none; }
.calculator-section { background: var(--paper); }
.calculator-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; background: var(--white); border-radius: 16px; padding: 12px; }
.calculator-fields { padding: 36px; display: grid; gap: 24px; }
.field { display: grid; align-content: start; gap: 10px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; }
.field input,.field select,.field textarea { width: 100%; min-width: 0; min-height: 58px; border: 1px solid var(--field-border); border-radius: 10px; padding: 14px 16px; background: var(--white); color: var(--ink); }
.field input[readonly] { background: var(--paper); }
.field textarea { resize: vertical; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-value { float: right; color: var(--teal); }
.field-hint { font-size: 14px; color: var(--muted); }
.field-error { color: #8b2424; background: #fff0ee; padding: 16px; border-radius: 0; }
.calculator-result { padding: 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; background: var(--navy); color: var(--white); border-radius: 12px; }
.payment-number { font-size: clamp(40px,4.4vw,66px); color: var(--sand); line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 18px 0 36px; overflow-wrap: anywhere; }
.calculation-details { display: grid; gap: 20px; }
.calculation-details > div { display: flex; justify-content: space-between; gap: 24px; }
.calculation-details dt { color: var(--muted); font-size: 14px; }
.calculation-details dd { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.calculation-note { color: var(--muted); font-size: 14px; max-width: 44ch; }
.calculator-result .button { background: var(--sand); color: var(--ink); }
.calculator-result .calculation-details dt,.calculator-result .calculation-note { color: #d3d1cb; }
.contacts-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-details { display: flex; flex-direction: column; }
.contact-phone { font-size: clamp(28px,3vw,46px); letter-spacing: -.03em; line-height: 1.3; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; margin-bottom: 36px; }
.social-links a { display: flex; align-items: center; justify-content: center; background: var(--surface); border-radius: 0; padding: 10px 20px; min-height: 48px; }
.office-map { height: 300px; background: var(--surface); overflow: hidden; border-radius: 0; margin-top: 16px; margin-bottom: 16px; }
.contact-form { display: grid; gap: 24px; padding: 40px; background: var(--white); border-radius: 16px; }
.contact-form h3 { margin-bottom: 4px; }
.site-footer { background: var(--navy); color: var(--white); padding-block: 56px 90px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 64px; align-items: start; }
.footer-brand p { margin-top: 20px; color: #d3d1cb; font-size: 16px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 12px; min-width: 0; }
.footer-column h2 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 16px; color: var(--sand); }
.footer-column a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-phone { font-size: clamp(22px,2.2vw,32px); letter-spacing: -.03em; white-space: nowrap; }
.footer-sales p { color: #d3d1cb; font-size: 15px; max-width: 30ch; }
.footer-messengers { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; font-size: 13px; color: #d3d1cb; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
dialog { width: min(540px,calc(100% - 32px)); max-height: calc(100svh - 32px); border: 0; border-radius: 16px; padding: 0; background: var(--white); color: var(--ink); overscroll-behavior: contain; }
dialog::backdrop { background: rgba(27,31,35,.65); }
.dialog-content { padding: 56px 36px 36px; }
.dialog-content h2 { font-size: 32px; padding-right: 12px; }
.dialog-content > p { margin-top: 20px; color: var(--muted); }
.dialog-content form { display: grid; gap: 24px; margin-top: 28px; }
.dialog-close { position: absolute; top: 8px; right: 12px; width: 44px; height: 44px; background: transparent; font-size: 32px; }
@media (max-width:1100px) {
    .desktop-nav,.header-navigation { display: none; }
    html { scroll-padding-top: 104px; }
    .hero { grid-template-columns: 1.15fr 1fr; }
    .hero-copy { padding: 24px; }
    .hero-projects { gap: 12px; }
    .hero-project-caption { padding: 12px; font-size: 16px; }
    .menu-toggle { display: block; }
    .advantages { gap: 48px; }
    .section-heading { gap: 40px; }
    .projects-grid { column-gap: 28px; }
    .map-layout { grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr); padding: 16px; gap: 16px; }
    .gallery-section > .frame { gap: 32px; }
    .calculator-fields,.calculator-result { padding: 24px; }
    .field-pair { grid-template-columns: 1fr; }
    .footer-top { gap: 28px; }
    .contacts-layout { gap: 32px; }
    .contact-form { padding: 28px; }
}
@media (max-width:767px) {
    :root { --gutter: 20px; --section-space: 72px; }
    h2 { font-size: clamp(32px,8.5vw,44px); }
    h3 { font-size: 26px; }
    .header-row { min-height: 84px; gap: 10px; }
    .header-cta { display: none; }
    .brand { font-size: 15px; gap: 8px; }
        .brand img { width: 64px; height: auto; }
    .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
    .section-description { justify-self: start; }
    .advantages { grid-template-columns: 1fr; gap: 40px; }
    .advantages-intro { position: static; }
    .advantages-list { gap: 32px; }
    .advantages-list h3 { font-size: 25px; }
    .projects-grid { grid-template-columns: 1fr; gap: 56px; }
    .project { display: block; grid-row: auto; padding-bottom: 0; }
    .project:nth-child(n) .project-image { aspect-ratio: 4/3; }
    .project:nth-child(n) .project-summary { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; }
    .project:nth-child(n) .project-actions,.project:nth-child(n) .project-tools { justify-content: flex-start; }
    .project-facts { gap: 16px; }
    .project-facts div { gap: 8px; }
    .project-actions { gap: 20px; }
    .project-actions .button { padding-inline: 22px; }
    .map-layout { grid-template-columns: 1fr; padding: 12px; border-radius: 0; }
    .map-list { max-height: none; }
    .map-list-item button { font-size: 20px; }
    .map-canvas { height: 400px; }
    .gallery-section > .frame { display: block; }
    .gallery-section .section-heading { margin-bottom: 32px; }
    .swiper-slide figcaption { align-items: start; flex-direction: column; gap: 8px; }
    .calculator-panel { grid-template-columns: 1fr; padding: 8px; border-radius: 0; }
    .calculator-fields,.calculator-result { padding: 24px 16px; }
    .calculator-result { gap: 28px; border-radius: 0; }
    .payment-number { font-size: clamp(36px,10.5vw,56px); }
    .calculation-details > div { gap: 16px; }
    .contacts-layout { grid-template-columns: 1fr; gap: 32px; }
    .contact-phone { font-size: 30px; }
    .contact-form { padding: 28px 20px; }
    .social-links { gap: 8px; }
    .social-links a { padding: 10px 14px; font-size: 16px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-column { padding-top: 0; }
    .footer-column h2 { margin-bottom: 8px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 32px; }
    .site-footer { padding-top: 40px; }
    .dialog-content { padding-inline: 24px; }
}
::selection { background: var(--sand); color: var(--ink); }
input,textarea { caret-color: var(--teal); }
html { scrollbar-color: var(--sand) var(--paper); }
.button span,.text-link span { transition: transform .3s var(--ease); }
.button:hover span,.text-link:hover span { transform: translate(3px,-3px); }
.site-header :focus-visible,.calculator-result :focus-visible,.site-footer :focus-visible { outline-color: var(--sand); }
.map-list-item button { transition: background-color .3s,color .3s; }

@media (max-width:1100px) {
    .hero-copy h1 { font-size: clamp(34px,4vw,46px); }
    .hero-copy .actions { gap: 8px; }
    .quick-paths a { padding: 20px 44px 20px 20px; }
    .quick-paths svg { right: 16px; }
    .project-filter { gap: 16px; }
}
@media (max-width:767px) {
    html { scroll-padding-top: 100px; scroll-padding-bottom: 92px; }
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .mobile-nav { max-height: calc(100svh - 172px); }
    .hero { display: flex; flex-direction: column; padding: 100px 12px 20px; gap: 12px; }
    .hero-showcase,.hero-copy { min-height: 520px; }
    .hero-media { height: 300px; }
    .hero-media img { object-fit: cover; object-position: center; }
    .hero-showcase::after { background: linear-gradient(180deg,transparent 30%,rgba(27,31,35,.3) 45%,var(--navy) 61%); }
    .hero-copy { padding: 24px; }
    .hero-copy h1 { font-size: clamp(34px,8.5vw,44px); }
    .hero-copy p { font-size: 15px; max-width: 30ch; }
    .desktop-break { display: none; }
    .hero-copy .actions { margin-top: 20px; }
    .hero-copy .button { padding-inline: 20px; }
    .hero-projects { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: none; gap: 12px; overflow: visible; padding: 0; }
    .hero-project { height: auto; }
    .hero-project img { flex: none; height: auto; aspect-ratio: 4/3; object-fit: contain; }
    .hero-project-caption { min-height: 60px; padding: 12px 16px; }
    .visualization-note { left: 16px; top: 16px; font-size: 11px; }
    .quick-paths { grid-template-columns: 1fr; gap: 8px; padding-bottom: 16px; }
    .quick-paths a { padding: 16px 48px 16px 16px; }
    .quick-paths a > span:first-child { font-size: 16px; }
    .quick-paths a > span:nth-child(2) { margin-top: 2px; font-size: 13px; }
    .catalog-heading { align-items: start; flex-direction: column; gap: 24px; }
    .catalog-heading h2 { font-size: 34px; }
    .catalog-actions { width: 100%; }
    .catalog-actions .button { min-height: 44px; font-size: 14px; padding: 10px 16px; }
    .project-filter { grid-template-columns: minmax(0,1fr) auto; padding: 20px; gap: 16px; }
    .project-filter label { grid-column: 1/-1; }
    #projectCount { text-align: right; }
    .project-image { border-radius: 12px; }
    .project-title h3 { font-size: 26px; }
    .project-badge { top: 12px; left: 12px; font-size: 12px; }
    .contact-phone { font-size: clamp(25px,7.5vw,30px); }
    .mobile-dock { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); min-height: 72px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid #dedfdf; }
    .mobile-dock a { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-height: 52px; font-size: 11px; border-radius: 12px; }
    .mobile-dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
    .mobile-dock .dock-contact { background: var(--sand); color: var(--ink); }
    .mobile-dock a:hover { text-decoration: none; background: var(--surface); }
    body:has(dialog[open]) .mobile-dock { visibility: hidden; }
}
@media (prefers-reduced-motion:reduce) {
    html { scroll-behavior: auto; }
    *,*::before,*::after { animation: none !important; scroll-behavior: auto !important; }
    .button,.text-link span,.button span,.project-image > img,.hero-project img,.site-header { transform: none !important; transition: background-color .12s, color .12s; }
}

/* Shared rows align each pair; legacy engines keep equal flexible cards. */
@supports not (grid-template-rows: subgrid) {
 .project { grid-row: auto; grid-template-rows: auto 1fr; gap: 24px; }
 .project-summary { grid-row: auto; grid-template-rows: auto auto 1fr auto; }
 .project-actions { align-self: end; }
}
