@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: "Unbounded";
    src: url("../fonts/Unbounded-Variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
}

:root {
    --forest: #003f25;
    --forest-2: #075132;
    --forest-deep: #062016;
    --moss: #183126;
    --milk: #f7fbf6;
    --ground: #eef1ee;
    --ink: #12231d;
    --muted: #586860;
    --brass: #ba8b45;
    --line: rgba(18, 35, 29, 0.14);
    --radius-control: 10px;
    --radius-surface: 16px;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --container: 1420px;
    --header-layer: 30;
    --menu-layer: 40;
    --modal-layer: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: clip;
    background: var(--ground);
    color: var(--ink);
    font-family: Manrope, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
    color: inherit;
    font-family: Unbounded, Arial, sans-serif;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 4.2vw, 4.75rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 3.2vw, 3.75rem); line-height: 1.12; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.55rem); line-height: 1.25; }
p { text-wrap: pretty; }

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}
.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;
}
.skip-link {
    position: fixed;
    top: 0;
    left: 8px;
    z-index: 100;
    padding: 10px 14px;
    transform: translateY(-130%);
    border-radius: var(--radius-control);
    background: var(--milk);
    color: var(--forest-deep);
}
.skip-link:focus { top: 8px; transform: none; }
.icon { display: inline-grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; }
.icon svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-control);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 220ms var(--ease), background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}
.button-primary { background: var(--forest); color: var(--milk); }
.button-primary:hover { background: var(--forest-2); }
.button-secondary { border-color: rgba(247, 251, 246, 0.42); background: rgba(247, 251, 246, 0.1); color: var(--milk); }
.button-secondary:hover { background: var(--milk); color: var(--forest-deep); }
.button-outline-dark { border-color: rgba(18,35,29,.28); background: transparent; color: var(--forest-deep); }
.button-outline-dark:hover { border-color: var(--forest); background: var(--milk); color: var(--forest); }
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--forest);
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

/* Header */
.site-header {
    position: relative;
    z-index: var(--header-layer);
    width: 100%;
    background: var(--forest-deep);
    color: var(--milk);
}
.kd-home .site-header {
    position: absolute;
    inset: 0 0 auto;
    background: linear-gradient(180deg, rgba(6, 32, 22, .96) 0%, rgba(6, 32, 22, .78) 72%, rgba(6, 32, 22, 0) 100%);
}
.header-shell {
    display: grid;
    min-height: 94px;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.35fr) auto;
    grid-template-areas: "identity contacts actions";
    align-items: center;
    gap: clamp(18px, 2.2vw, 34px);
}
.header-identity {
    display: flex;
    grid-area: identity;
    min-width: 0;
    align-items: center;
    gap: 16px;
}
.brand {
    display: grid;
    width: 112px;
    height: 72px;
    flex: 0 0 112px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(247, 251, 246, .96);
}
.brand img { width: 100%; height: 100%; object-fit: contain; }
.header-address {
    display: inline-flex;
    min-width: 0;
    max-width: 205px;
    align-items: flex-start;
    gap: 8px;
    color: rgba(247, 251, 246, .78);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}
.header-address .icon { width: 18px; height: 18px; flex-basis: 18px; color: var(--brass); }
.header-contacts {
    display: flex;
    grid-area: contacts;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}
.header-contacts > a {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(247, 251, 246, .13);
    border-radius: var(--radius-control);
    background: rgba(247, 251, 246, .08);
    color: rgba(247, 251, 246, .92);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.header-contacts > a:hover { background: rgba(247, 251, 246, .16); }
.header-contacts > .header-vk {
    width: 42px;
    min-width: 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
    border-color: rgba(210, 173, 117, .36);
    color: var(--milk);
}
.header-vk .vk-mark, .mobile-vk .vk-mark { font-size: 12px; font-weight: 900; letter-spacing: -.04em; }
.header-actions {
    display: grid;
    grid-area: actions;
    min-width: 178px;
    justify-items: stretch;
    gap: 5px;
}
.header-hours {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: rgba(247, 251, 246, .72);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.header-hours .icon { width: 16px; height: 16px; flex-basis: 16px; color: var(--brass); }
.header-call { min-width: 178px; min-height: 48px; padding: 12px 16px; font-size: 14px; }
.desktop-nav { min-height: 48px; border-top: 1px solid rgba(247, 251, 246, .11); }
.desktop-menu {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.desktop-menu a {
    position: relative;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.desktop-menu a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    background: var(--brass);
    transition: transform 220ms var(--ease);
}
.desktop-menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* Hero */
.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    isolation: isolate;
    background: var(--forest-deep);
    color: var(--milk);
}
.hero-bg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(4, 25, 17, .92) 0%, rgba(4, 25, 17, .72) 45%, rgba(4, 25, 17, .28) 72%, rgba(4, 25, 17, .52) 100%),
        linear-gradient(0deg, rgba(4, 25, 17, .72), transparent 42%);
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 760px;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, .72fr);
    align-items: end;
    gap: clamp(40px, 5vw, 86px);
    padding-top: 168px;
    padding-bottom: 54px;
}
.hero-copy { max-width: 850px; }
.hero-kicker {
    display: inline-flex;
    max-width: 560px;
    padding: 9px 12px;
    margin-bottom: 24px;
    border: 1px solid rgba(247, 251, 246, .24);
    border-radius: var(--radius-control);
    background: rgba(6, 32, 22, .48);
    color: rgba(247, 251, 246, .9);
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}
.hero h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(2.8rem, 4.35vw, 4.7rem); }
.hero-text { max-width: 760px; margin-bottom: 30px; color: rgba(247, 251, 246, .82); font-size: clamp(1.05rem, 1.35vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .button { min-width: 240px; }
.hero-benefits {
    padding: 22px;
    border-radius: var(--radius-surface);
    background: rgba(6, 32, 22, .82);
    box-shadow: 0 8px 24px rgba(6, 32, 22, .18);
    backdrop-filter: blur(12px);
}
.benefits-title { margin-bottom: 6px; color: rgba(247, 251, 246, .64); font-size: 13px; font-weight: 800; }
.hero-benefits ol { padding: 0; margin: 0; list-style: none; }
.hero-benefits li {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(247, 251, 246, .13);
    color: rgba(247, 251, 246, .94);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
}
.hero-benefits li:last-child { border-bottom: 0; }
.benefit-number { color: var(--brass); font-family: Unbounded, Arial, sans-serif; font-size: 12px; }

/* Sections */
.section-pad { padding: clamp(78px, 9vw, 132px) 0; }
.section-heading { min-width: 0; max-width: 860px; margin-bottom: clamp(42px, 5vw, 72px); }
.section-heading h2 { margin-bottom: 20px; }
.section-heading > p:last-child { max-width: 68ch; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.section-kicker { margin-bottom: 16px; color: var(--forest); font-size: 14px; font-weight: 800; }

.principles-section { background: linear-gradient(180deg, #f7f9f7 0%, var(--ground) 100%); }
.principles-layout { display: grid; grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.principles-visual { position: sticky; top: 24px; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border-radius: var(--radius-surface); background: var(--moss); }
.principles-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04); }
.principles-list { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.principle > span { color: var(--brass); font-family: Unbounded, Arial, sans-serif; font-size: 13px; }
.principle h3 { margin-bottom: 8px; }
.principle p { max-width: 60ch; margin-bottom: 0; color: var(--muted); }

.services-section { background: #f6f8f5; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-card {
    position: relative;
    display: grid;
    min-height: 310px;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 36%);
    overflow: hidden;
    border: 1px solid rgba(18, 35, 29, .08);
    border-radius: var(--radius-surface);
    background: var(--milk);
    box-shadow: 0 14px 40px rgba(18, 35, 29, .05);
}
.service-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 3vw, 36px);
}
.service-content h3 { max-width: 18ch; margin: 22px 0 12px; font-size: clamp(1.25rem, 1.55vw, 1.65rem); }
.service-content p { max-width: 48ch; margin-bottom: 24px; color: var(--muted); font-size: 15px; }
.service-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 10px;
    background: var(--forest);
    color: var(--milk);
}
.service-icon svg { width: 23px; height: 23px; fill: currentColor; }
.service-number {
    position: absolute;
    top: 26px;
    right: 26px;
    color: var(--brass);
    font-family: Unbounded, Arial, sans-serif;
    font-size: 12px;
}
.service-action { min-height: 44px; padding: 10px 16px; margin-top: auto; font-size: 13px; }
.service-image { position: relative; display: block; min-height: 100%; overflow: hidden; background: var(--moss); }
.service-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 32, 22, .12), transparent 45%); pointer-events: none; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 650ms var(--ease); }
.service-card:hover .service-image img { transform: scale(1.035); }

.process-section { background: var(--forest-deep); color: var(--milk); }
.section-heading-light .section-kicker { color: #d2ad75; }
.section-heading-light > p:last-child { color: rgba(247, 251, 246, .68); }
.process-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin: 0; border-top: 1px solid rgba(247, 251, 246, .16); list-style: none; }
.process-list li { display: grid; min-height: 116px; grid-template-columns: 48px 1fr; align-items: center; gap: 18px; padding: 26px 6px; border-bottom: 1px solid rgba(247, 251, 246, .16); }
.process-list li:nth-child(odd) { padding-right: 32px; border-right: 1px solid rgba(247, 251, 246, .16); }
.process-list li:nth-child(even) { padding-left: 32px; }
.process-list span { color: var(--brass); font-family: Unbounded, Arial, sans-serif; font-size: 13px; }
.process-list strong { max-width: 32ch; font-family: Unbounded, Arial, sans-serif; font-size: clamp(1rem, 1.4vw, 1.3rem); }

.projects-section { background: var(--ground); }
.project-rail, .document-rail { display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 2px 22px; scroll-behavior: smooth; scroll-padding-inline: 2px; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.project-rail::-webkit-scrollbar, .document-rail::-webkit-scrollbar, .gallery-slider::-webkit-scrollbar { display: none; }
.project-card { flex: 0 0 min(480px, 78vw); overflow: hidden; border-radius: var(--radius-surface); background: var(--milk); scroll-snap-align: start; }
.project-card-link { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.project-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 500ms var(--ease); }
.project-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px; }
.project-card h3 { margin-bottom: 12px; }
.project-card p { color: var(--muted); }
.project-card-action { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 16px; color: var(--forest); font-weight: 850; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.project-card-link:hover img { transform: scale(1.025); }
.project-card-link:hover .project-card-action { color: var(--forest-2); }
.project-card-link:focus-visible { outline: 3px solid var(--brass); outline-offset: -3px; }
.rail-shell { min-width: 0; }
.rail-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.rail-controls[hidden] { display: none; }
.rail-controls button { display: grid; width: 46px; height: 46px; place-items: center; padding: 0; border: 0; border-radius: var(--radius-control); background: var(--forest-deep); color: var(--milk); font-size: 20px; cursor: pointer; transition: background-color 180ms var(--ease), transform 180ms var(--ease), opacity 180ms var(--ease); }
.rail-controls button:hover { background: var(--forest); }
.rail-controls button:active { transform: translateY(1px); }
.rail-controls button:disabled { cursor: default; opacity: .36; transform: none; }
.rail-count { min-width: 62px; color: var(--muted); font-weight: 800; text-align: center; }

.about-section { background: var(--forest); color: var(--milk); }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-copy > p:not(.section-kicker) { max-width: 64ch; color: rgba(247, 251, 246, .76); font-size: 18px; }
.about-copy .about-subtitle { max-width: 52ch; color: var(--milk); font-weight: 800; }
.about-copy .section-kicker { color: #d2ad75; }
.about-facts { display: flex; gap: 36px; margin: 34px 0; }
.about-facts div { display: grid; gap: 4px; max-width: 190px; }
.about-facts strong { color: var(--milk); font-family: Unbounded, Arial, sans-serif; font-size: 34px; }
.about-facts span { color: rgba(247, 251, 246, .66); font-size: 14px; }
.about-image { aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border-radius: var(--radius-surface); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.reviews-section { background: #f9fbf9; }
.gratitude-section { background: var(--ground); }
.gratitude-section .section-heading { max-width: 940px; }
.gratitude-card { background: var(--milk); }
.document-card { display: grid; flex: 0 0 min(360px, 78vw); gap: 18px; padding: 22px; border-radius: var(--radius-surface); background: var(--ground); scroll-snap-align: start; }
.document-preview { display: grid; min-height: 280px; align-content: end; gap: 12px; padding: 24px; border-radius: 10px; background: linear-gradient(145deg, #dce6df, #c9d8ce); color: var(--forest-deep); }
.document-preview.has-image { position: relative; isolation: isolate; overflow: hidden; background: #fff; }
.document-preview.has-image::after { content: ""; position: absolute; inset: 45% 0 0; z-index: -1; background: linear-gradient(transparent, rgba(6,32,22,.86)); }
.document-preview.has-image img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.document-preview.has-image strong { color: var(--milk); }
.document-preview span { color: var(--brass); font-family: Unbounded, Arial, sans-serif; }
.document-preview strong { min-width: 0; overflow-wrap: anywhere; font-family: Unbounded, Arial, sans-serif; font-size: 20px; }

/* Lead and footer */
.lead-section { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 8vw, 116px) 0; background: var(--forest-deep); color: var(--milk); }
.lead-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,32,22,.94) 0%, rgba(6,32,22,.78) 48%, rgba(6,32,22,.58) 100%); }
.lead-background { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.lead-layout { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(38px, 7vw, 100px); align-items: start; }
.lead-copy .section-kicker { color: #d2ad75; }
.lead-copy > p:last-child { max-width: 52ch; color: rgba(247,251,246,.78); font-size: 18px; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-surface); background: var(--milk); color: var(--ink); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.lead-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 800; }
.lead-form input:not([type="checkbox"]), .lead-form textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #91a198;
    border-radius: var(--radius-control);
    background: #fff;
    color: var(--ink);
}
.lead-form textarea { min-height: 100px; resize: vertical; }
.lead-form input::placeholder { color: var(--muted); opacity: 1; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--forest); outline: 2px solid var(--forest); outline-offset: 2px; }
.form-wide { grid-column: 1 / -1; }
.form-consent { grid-template-columns: 22px 1fr !important; align-items: start; font-weight: 600 !important; }
.form-consent input { width: 20px; height: 20px; accent-color: var(--forest); }
.form-consent a { color: var(--forest); font-weight: 800; text-underline-offset: 4px; }
.form-status {
    min-height: 0;
    padding: 13px 15px;
    margin: 0;
    border-radius: var(--radius-control);
    background: #e6f3eb;
    color: #064828;
    font-weight: 750;
}
.form-status[hidden] { display: none; }
.form-status.is-pending { background: #eef1ee; color: var(--graphite, #12231d); }
.form-status.is-success::before { content: "✓"; margin-right: 9px; font-weight: 900; }
.form-status.is-warning { background: #fff2da; color: #68460a; }
.form-status.is-warning::before { content: "!"; display: inline-grid; width: 20px; height: 20px; place-items: center; margin-right: 9px; border-radius: 50%; background: #68460a; color: #fff; font-size: 13px; }
.form-status.is-error { background: #fde9e7; color: #812b22; }
.form-status.is-error::before { content: "×"; margin-right: 9px; font-size: 20px; line-height: 0; }
.lead-form button[disabled] { cursor: wait; opacity: .72; transform: none; }

.site-footer { padding: 68px 0 24px; background: #03170f; color: var(--milk); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .85fr 1fr 1.25fr; gap: 36px; }
.footer-brand img { width: 128px; height: 92px; object-fit: contain; border-radius: 8px; background: var(--milk); }
.footer-brand p { max-width: 34ch; margin-top: 20px; color: rgba(247, 251, 246, .62); }
.footer-title { margin-bottom: 18px; font-family: Manrope, Arial, sans-serif; font-size: 17px; letter-spacing: 0; }
.footer-menu { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
.footer-menu a { color: rgba(247, 251, 246, .7); text-decoration: none; }
.footer-menu a:hover { color: var(--milk); text-decoration: underline; text-underline-offset: 4px; }
.footer-contacts { display: grid; align-content: start; gap: 12px; }
.footer-contacts p, .footer-contacts a { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: rgba(247, 251, 246, .74); text-decoration: none; }
.footer-contacts a:hover { color: var(--milk); }
.vk-link { width: fit-content; padding: 10px 13px; border-radius: var(--radius-control); background: #3478b9; color: #fff !important; }
.vk-mark { display: inline-grid; width: 26px; height: 20px; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: -.04em; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 26px; padding-top: 26px; margin-top: 48px; border-top: 1px solid rgba(247, 251, 246, .12); color: rgba(247, 251, 246, .5); font-size: 13px; }

/* Internal pages */
.page-hero { position: relative; min-height: 560px; overflow: hidden; background: var(--forest-deep); color: var(--milk); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,32,22,.95), rgba(6,32,22,.34)); }
.page-hero-inner { position: relative; z-index: 1; display: flex; min-height: 560px; max-width: 920px; flex-direction: column; justify-content: flex-end; padding-top: 90px; padding-bottom: 64px; margin-left: max(20px, calc((100vw - min(var(--container), calc(100vw - 40px))) / 2)); }
.page-hero-inner h1 { max-width: 16ch; margin-bottom: 20px; }
.page-hero-inner p { max-width: 66ch; margin-bottom: 0; color: rgba(247,251,246,.8); font-size: 19px; }
.page-hero-inner .section-kicker { display: inline-flex; width: fit-content; align-self: flex-start; padding: 9px 13px; margin-bottom: 18px; border-radius: var(--radius-control); background: rgba(6,32,22,.78); color: var(--milk); font-size: 14px; line-height: 1.2; }
.page-content { background: #f9fbf9; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr); gap: 64px; align-items: start; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 48px; font-size: clamp(1.7rem, 2.6vw, 2.7rem); }
.prose p, .prose li { color: var(--muted); }
.prose li + li { margin-top: 8px; }
.side-image { position: sticky; top: 24px; margin: 0; overflow: hidden; border-radius: var(--radius-surface); }
.side-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.price-list { margin-top: 54px; }
.price-list h2 { margin-bottom: 24px; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.price-row strong { color: var(--forest); text-transform: none; }
.service-bottom-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.gallery-slider { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 18px; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.gallery-slider figure { flex: 0 0 min(560px, 84vw); margin: 0; overflow: hidden; border-radius: var(--radius-surface); scroll-snap-align: start; }
.gallery-slider img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.project-gallery { position: relative; min-width: 0; }
.project-gallery .gallery-slider img { object-fit: contain; background: #fff; }
.project-gallery-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--forest-deep);
    color: var(--milk);
}
.project-gallery-controls button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(247,251,246,.24);
    border-radius: var(--radius-control);
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 20px;
    cursor: pointer;
}
.project-gallery-controls button:hover { background: rgba(247,251,246,.1); }
.project-gallery-controls button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.project-gallery-controls button:disabled { cursor: default; opacity: .35; }
.project-gallery-count { min-width: 58px; text-align: center; font-weight: 800; }
.service-gallery { max-width: 1180px; margin-inline: auto; }
.service-gallery .project-gallery { overflow: hidden; border-radius: var(--radius-surface); background: var(--milk); }
.service-gallery .gallery-slider { gap: 0; padding: 0; }
.service-gallery .gallery-slider figure { flex: 0 0 100%; border-radius: 0; }
.service-gallery .project-gallery .gallery-slider img { aspect-ratio: 16 / 9; object-fit: cover; background: var(--ground); }
.service-gallery .project-gallery-controls { justify-content: space-between; }
.project-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-detail { overflow: hidden; border-radius: var(--radius-surface); background: var(--milk); }
.project-detail .gallery-slider { gap: 0; padding: 0; }
.project-detail .gallery-slider figure { flex-basis: 100%; border-radius: 0; }
.project-detail-content { padding: 26px; }
.project-detail-content h2 { font-size: clamp(1.35rem, 2vw, 2rem); }
.project-detail-content h2 a { color: inherit; text-decoration: none; }
.project-detail-content h2 a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 5px; }
.project-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; padding: 0; color: var(--muted); list-style: none; }
.project-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.project-actions .button { min-width: 0; }
.project-page-hero { position: relative; min-height: 620px; overflow: hidden; background: var(--forest-deep); color: var(--milk); }
.project-page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.project-page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,32,22,.94), rgba(6,32,22,.24)), linear-gradient(0deg, rgba(6,32,22,.72), transparent 56%); }
.project-page-hero-content { position: relative; z-index: 1; display: flex; min-height: 620px; max-width: var(--container); flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: 70px; }
.project-page-hero-content h1 { max-width: 15ch; margin: 24px 0 18px; }
.project-page-hero-content p { max-width: 64ch; margin: 0; color: rgba(247,251,246,.82); font-size: 19px; }
.project-back-link { width: fit-content; color: var(--milk); font-weight: 800; text-underline-offset: 4px; }
.project-page-content { background: #f9fbf9; }
.project-page-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .55fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.project-page-layout .gallery-slider { gap: 0; padding: 0; }
.project-page-layout .gallery-slider figure { flex-basis: 100%; border-radius: 0; }
.project-page-layout .project-gallery { overflow: hidden; border-radius: var(--radius-surface); background: var(--milk); }
.project-specification { position: sticky; top: 24px; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-surface); background: var(--forest-deep); color: var(--milk); }
.project-specification h2 { margin-bottom: 20px; font-size: clamp(1.45rem, 2.4vw, 2.2rem); }
.project-specification dl { margin: 0 0 28px; }
.project-specification dl div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(247,251,246,.14); }
.project-specification dt { color: rgba(247,251,246,.68); }
.project-specification dd { margin: 0; font-weight: 800; text-align: right; }
.project-specification .button { width: 100%; }
.contact-layout { display: grid; grid-template-columns: minmax(320px,.72fr) minmax(0,1.28fr); gap: 34px; }
.contact-details { padding: clamp(24px,4vw,42px); border-radius: var(--radius-surface); background: var(--milk); }
.contact-details h2 { font-size: clamp(1.45rem,2.3vw,2.2rem); }
.contact-details p { display: grid; gap: 6px; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--line); }
.contact-details p:last-child { border-bottom: 0; }
.contact-details p > span { color: var(--muted); font-size: 13px; font-weight: 800; }
.contact-details p a { width: fit-content; color: var(--forest); font-weight: 800; }
.contact-details .contact-vk { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 9px 12px; border-radius: var(--radius-control); background: #3478b9; color: #fff; text-decoration: none; }
.map-embed { min-height: 560px; overflow: hidden; border-radius: var(--radius-surface); background: #dbe4de; }
.map-embed iframe { width: 100%; height: 100%; min-height: 560px; border: 0; }
.legal-header { padding: 90px 0 54px; background: var(--forest-deep); color: var(--milk); }
.legal-header-layout { display: flex; gap: 24px; align-items: flex-start; }
.legal-mark { display: grid; width: 64px; height: 64px; flex: 0 0 64px; place-items: center; border: 1px solid rgba(247,251,246,.2); border-radius: var(--radius-surface); color: var(--brass); }
.legal-mark svg { width: 30px; height: 30px; fill: currentColor; }
.legal-header h1 { max-width: 14ch; margin-bottom: 16px; }
.legal-header p { margin: 0; color: rgba(247,251,246,.65); }
.legal-prose { padding: clamp(28px,5vw,64px); border-radius: var(--radius-surface); background: var(--milk); }
.documents-block { padding-bottom: 0; }

/* Blog */
.blog-index, .article-page { background: #f9fbf9; }
.blog-hero { padding: clamp(46px, 7vw, 94px) 0; background: var(--forest-deep); color: var(--milk); }
.blog-hero-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr); gap: clamp(38px, 7vw, 104px); align-items: center; }
.blog-hero-copy h1 { margin: 10px 0 22px; font-size: clamp(3rem, 7vw, 5.8rem); }
.blog-hero-copy > p:last-child { max-width: 52ch; margin: 0; color: rgba(247,251,246,.74); font-size: 19px; }
.blog-hero-copy .section-kicker { color: var(--brass); }
.blog-hero-image { aspect-ratio: 3 / 2; margin: 0; overflow: hidden; border-radius: var(--radius-surface); }
.blog-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.blog-feed-heading h2 { max-width: 13ch; margin: 0; }
.blog-feed-heading p { max-width: 54ch; margin: 0; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.blog-card { min-width: 0; overflow: hidden; border-radius: var(--radius-surface); background: var(--milk); }
.blog-card-link { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.blog-card-image { aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: var(--moss); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.blog-card-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3vw, 30px); }
.blog-card-content time { margin-bottom: 14px; color: var(--muted); font-size: 13px; font-weight: 800; }
.blog-card-content h2 { margin-bottom: 14px; font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.25; }
.blog-card-content p { margin-bottom: 22px; color: var(--muted); }
.blog-card-content .text-link { margin-top: auto; }
.blog-card-link:hover .blog-card-image img { transform: scale(1.035); }
.blog-card-link:hover h2 { color: var(--forest); }
.blog-card-link:focus-visible { outline: 3px solid var(--brass); outline-offset: -3px; }
.blog-pagination { margin-top: 44px; }
.blog-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-pagination .page-numbers { display: inline-grid; min-width: 44px; min-height: 44px; place-items: center; padding: 8px 13px; border-radius: var(--radius-control); background: var(--milk); color: var(--forest); font-weight: 800; text-decoration: none; }
.blog-pagination .page-numbers.current, .blog-pagination a.page-numbers:hover { background: var(--forest); color: var(--milk); }
.blog-empty { padding: 56px; border-radius: var(--radius-surface); background: var(--milk); }

.article-hero { position: relative; min-height: 620px; overflow: hidden; background: var(--forest-deep); color: var(--milk); }
.article-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.article-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,32,22,.96), rgba(6,32,22,.34)), linear-gradient(0deg, rgba(6,32,22,.66), transparent 62%); }
.article-hero-content { position: relative; z-index: 1; display: flex; min-height: 620px; max-width: var(--container); flex-direction: column; justify-content: flex-end; padding-top: 100px; padding-bottom: 66px; }
.article-back { width: fit-content; margin-bottom: auto; color: var(--milk); font-weight: 800; text-underline-offset: 4px; }
.article-hero-content time { margin-bottom: 16px; color: var(--brass); font-weight: 800; }
.article-hero-content h1 { max-width: 18ch; margin-bottom: 18px; font-size: clamp(2.25rem, 5vw, 4.8rem); }
.article-hero-content p { max-width: 66ch; margin: 0; color: rgba(247,251,246,.78); font-size: 18px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .42fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.article-content { max-width: 72ch; }
.article-content > p:first-child { color: var(--ink); font-size: 20px; font-weight: 650; }
.article-content h2:first-child { margin-top: 0; }
.article-aside { position: sticky; top: 24px; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-surface); background: var(--forest-deep); color: var(--milk); }
.article-aside > span { color: var(--brass); font-size: 13px; font-weight: 850; }
.article-aside h2 { margin: 12px 0 16px; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.article-aside p { color: rgba(247,251,246,.7); }
.article-aside .button { width: 100%; margin-top: 8px; }

.document-viewer-page { padding: clamp(54px,7vw,96px) 0; background: #f9fbf9; }
.document-viewer-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.document-viewer-header h1 { max-width: 18ch; margin-bottom: 0; font-size: clamp(1.9rem,4vw,3.7rem); }
.document-viewer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.document-viewer-frame { overflow: hidden; border-radius: var(--radius-surface); background: var(--milk); }
.document-viewer-frame iframe { display: block; width: 100%; min-height: 82vh; border: 0; }
.document-viewer-frame img { width: 100%; height: auto; }
.document-viewer-empty { padding-block: 90px; }

/* Motion */
.hero-copy > *, .hero-benefits { animation: hero-in 650ms var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: 80ms; }
.hero-copy > *:nth-child(3) { animation-delay: 150ms; }
.hero-copy > *:nth-child(4) { animation-delay: 220ms; }
.hero-benefits { animation-delay: 180ms; }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1240px) {
    .header-shell {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "identity actions"
            "contacts contacts";
        column-gap: 24px;
        row-gap: 8px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .header-address { max-width: 240px; }
    .header-contacts { flex-wrap: wrap; padding-bottom: 2px; }
    .header-email, .header-phone-secondary { display: inline-flex !important; }
    .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr); gap: 36px; padding-top: 218px; }
    .hero h1 { font-size: clamp(2.65rem, 4.4vw, 3.9rem); }
}

@media (max-width: 1023px) {
    .brand { width: 96px; height: 66px; flex-basis: 96px; }
    .header-address { max-width: 240px; }
    .desktop-menu { justify-content: flex-start; overflow-x: auto; }
    .hero-grid { grid-template-columns: 1fr; align-items: end; padding-top: 218px; }
    .hero-copy { max-width: 780px; }
    .hero-benefits { display: none; }
    .hero-scrim { background: linear-gradient(90deg, rgba(4,25,17,.92), rgba(4,25,17,.48)), linear-gradient(0deg, rgba(4,25,17,.78), transparent 46%); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-hero-layout { grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); }
}

@media (max-width: 767px) {
    html { scroll-behavior: auto; }
    .container { width: min(100% - 32px, var(--container)); }
    h1 { font-size: clamp(2rem, 9vw, 3rem); }
    h2 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
    .section-pad { padding: 74px 0; }

    .site-header, .kd-home .site-header { position: relative; background: var(--forest-deep); }
    .header-shell {
        min-height: 76px;
        grid-template-columns: 80px minmax(0, 1fr) 46px;
        grid-template-areas: "identity contacts toggle";
        gap: 10px;
        padding-top: 0;
        padding-bottom: 0;
    }
    .header-identity { display: block; }
    .brand { width: 80px; height: 58px; flex-basis: 80px; }
    .header-address { display: none; }
    .header-contacts { justify-self: end; }
    .header-contacts > * { display: none !important; }
    .header-phone-primary { display: inline-flex !important; padding: 9px 10px !important; font-size: 12px !important; }
    .header-phone-primary .icon { display: none; }
    .header-actions { display: none; }
    .desktop-nav { display: none; }
    .menu-toggle {
        display: grid;
        grid-area: toggle;
        width: 46px;
        height: 46px;
        place-items: center;
        padding: 0;
        border: 1px solid rgba(247,251,246,.2);
        border-radius: var(--radius-control);
        background: rgba(247,251,246,.08);
        cursor: pointer;
    }
    .menu-toggle svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
    .menu-toggle .close-icon { display: none; }
    .menu-toggle[aria-expanded="true"] .menu-icon { display: none; }
    .menu-toggle[aria-expanded="true"] .close-icon { display: grid; }
    .mobile-nav { position: absolute; top: 76px; right: 0; left: 0; z-index: var(--menu-layer); display: block; max-height: calc(100dvh - 76px); overflow: auto; background: var(--forest-deep); box-shadow: 0 8px 24px rgba(6,32,22,.18); }
    .mobile-nav[hidden] { display: none; }
    .mobile-nav-inner { padding-top: 10px; padding-bottom: 24px; }
    .mobile-menu { display: grid; padding: 0; margin: 0; list-style: none; }
    .mobile-menu li { border-bottom: 1px solid rgba(247,251,246,.14); }
    .mobile-menu a { display: block; padding: 15px 2px; color: var(--milk); font-size: 17px; font-weight: 750; text-decoration: none; }
    .mobile-contact-row { display: grid; gap: 8px; padding-top: 18px; }
    .mobile-contact-row a { color: rgba(247,251,246,.72); font-size: 14px; }
    .mobile-contact-row .mobile-vk { display: inline-flex; width: fit-content; align-items: center; gap: 8px; color: var(--milk); font-weight: 800; }

    .hero { min-height: auto; }
    .hero-bg { position: relative; z-index: 0; height: 36vh; min-height: 260px; object-position: center 56%; }
    .hero-scrim { z-index: 1; height: 36vh; min-height: 260px; background: linear-gradient(0deg, rgba(6,32,22,.42), rgba(6,32,22,.04)); }
    .hero-grid { z-index: 2; min-height: 0; grid-template-columns: 1fr; gap: 28px; padding-top: 34px; padding-bottom: 48px; margin-top: 0; background: transparent; }
    .hero-kicker { max-width: 100%; margin-bottom: 20px; background: rgba(247,251,246,.07); backdrop-filter: none; }
    .hero h1 { margin-bottom: 20px; font-size: clamp(2rem, 9.8vw, 3rem); line-height: 1.08; }
    .hero-text { font-size: 16px; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .button { width: 100%; min-width: 0; }
    .hero-benefits { display: block; padding: 18px; background: var(--moss); backdrop-filter: none; }
    .hero-benefits li { grid-template-columns: 32px 1fr; padding: 13px 0; font-size: 14px; }

    .principles-layout, .about-layout, .lead-layout, .content-grid, .contact-layout, .project-page-layout, .blog-hero-layout, .article-layout { grid-template-columns: 1fr; }
    .principles-visual, .side-image { position: relative; top: auto; aspect-ratio: 16 / 10; }
    .principle { grid-template-columns: 38px 1fr; gap: 12px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 0; grid-template-columns: 1fr; }
    .service-image { min-height: 220px; grid-row: 1; }
    .service-content { grid-row: 2; }
    .process-list { grid-template-columns: 1fr; }
    .process-list li:nth-child(n) { min-height: 92px; padding: 20px 0; border-right: 0; }
    .about-facts { gap: 20px; }
    .about-facts { flex-direction: column; }
    .about-facts div { max-width: none; }
    .about-facts strong { font-size: 29px; }
    .lead-form { grid-template-columns: 1fr; padding: 22px; }
    .form-wide { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-legal { flex-direction: column; }
    .page-hero { min-height: 480px; }
    .page-hero-inner { min-height: 480px; padding: 62px 16px 44px; margin-left: 0; }
    .page-hero-inner h1, .legal-header h1 { max-width: 100%; overflow-wrap: anywhere; }
    .project-card, .document-card { flex-basis: calc(100% - 8px); }
    .project-rail, .document-rail { gap: 14px; }
    .document-preview strong { hyphens: auto; font-size: 17px; line-height: 1.35; }
    .rail-controls { justify-content: space-between; }
    .project-detail-grid { grid-template-columns: 1fr; }
    .project-meta { grid-template-columns: 1fr; }
    .project-actions { display: grid; }
    .project-page-hero, .project-page-hero-content { min-height: 520px; }
    .project-page-hero-content { padding-top: 76px; padding-bottom: 44px; }
    .project-page-hero-content p { font-size: 16px; }
    .project-specification { position: relative; top: auto; }
    .service-bottom-actions { display: grid; }
    .service-gallery { width: 100%; }
    .service-gallery .project-gallery .gallery-slider img { aspect-ratio: 4 / 3; }
    .map-embed, .map-embed iframe { min-height: 420px; }
    .legal-header { padding-top: 62px; }
    .legal-header-layout { flex-direction: column; }
    .document-viewer-header { align-items: stretch; flex-direction: column; }
    .document-viewer-actions { display: grid; }
    .document-viewer-frame { width: 100%; }
    .blog-hero { padding-top: 40px; }
    .blog-hero-copy h1 { font-size: clamp(2.6rem, 16vw, 4.2rem); }
    .blog-hero-copy > p:last-child { font-size: 16px; }
    .blog-hero-image { aspect-ratio: 16 / 10; }
    .blog-feed-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .blog-feed-heading h2 { max-width: 100%; }
    .blog-grid { grid-template-columns: 1fr; }
    .article-hero, .article-hero-content { min-height: 540px; }
    .article-hero-content { padding-top: 62px; padding-bottom: 42px; }
    .article-hero-content h1 { max-width: 100%; font-size: clamp(2rem, 9vw, 3rem); overflow-wrap: anywhere; }
    .article-hero-content p { font-size: 16px; }
    .article-aside { position: relative; top: auto; }
}

@media (max-width: 420px) {
    .header-contacts > a:nth-child(2) span:last-child { font-size: 11px; }
    .hero h1 { font-size: clamp(1.88rem, 9.4vw, 2.55rem); }
    .hero-text { line-height: 1.5; }
}

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

@media (pointer: coarse) {
    .rail-controls button { width: 48px; height: 48px; }
}
