@font-face {
    font-family: "Source Sans 3";
    src: url("/assets/fonts/source-sans-3-cyrillic.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("/assets/fonts/source-sans-3-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    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;
}

@font-face {
    font-family: "Source Serif 4";
    src: url("/assets/fonts/source-serif-4-cyrillic.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Source Serif 4";
    src: url("/assets/fonts/source-serif-4-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Source Serif 4";
    src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    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 {
    --forest: #244c3a;
    --forest-deep: #173427;
    --ink: #222a27;
    --paper: #f1ebdd;
    --paper-light: #faf7ef;
    --clay: #a95e43;
    --sky: #739ba8;
    --white: #fffef9;
    --line: rgba(34, 42, 39, 0.18);
    --shadow: 0 22px 70px rgba(23, 52, 39, 0.14);
    --shell: min(1180px, calc(100vw - 40px));
    --serif: "Source Serif 4", Georgia, serif;
    --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    color-scheme: light;
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper-light);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    z-index: 20;
    inset: 0 0 auto;
    height: 3px;
    content: "";
    background: var(--clay);
}

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

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    text-decoration-color: var(--clay);
}

button,
input,
textarea,
select {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--clay);
    outline-offset: 4px;
}

::selection {
    color: var(--white);
    background: var(--forest);
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 14px;
    left: 14px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--forest-deep);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.reading-progress {
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--clay);
    transform: scaleX(0);
    transform-origin: left;
}

@supports (animation-timeline: scroll()) {
    .reading-progress {
        animation: reading-progress linear both;
        animation-timeline: scroll(root);
    }
}

@keyframes reading-progress {
    to { transform: scaleX(1); }
}

.site-header {
    position: relative;
    z-index: 30;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper-light) 94%, transparent);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 98px;
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto auto;
    gap: 30px;
    align-items: center;
}

.brand {
    display: inline-flex;
    gap: 13px;
    align-items: center;
    width: fit-content;
    text-decoration: none;
}

.brand-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(36, 76, 58, 0.24);
    border-radius: 50%;
    background: var(--white);
}

.brand-mark img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 650;
}

.brand-copy span {
    margin-top: 7px;
    color: var(--forest);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    gap: clamp(13px, 1.6vw, 25px);
    align-items: center;
}

.desktop-nav a,
.language-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
    color: var(--forest);
    border-bottom-color: var(--clay);
}

.language-link {
    padding-inline: 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.language-link:hover {
    border-color: var(--forest);
}

.mobile-menu {
    display: none;
}

.hero {
    position: relative;
    overflow: hidden;
    background: var(--paper);
}

.hero-map {
    position: absolute;
    inset: 0;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(36, 76, 58, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 76, 58, 0.09) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero-grid {
    position: relative;
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
    gap: clamp(50px, 8vw, 112px);
    align-items: center;
    padding-block: 82px 96px;
}

.eyebrow {
    margin: 0 0 17px;
    color: var(--clay);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    font-family: var(--serif);
    font-weight: 620;
    line-height: 1.08;
}

.hero h1 {
    max-width: 800px;
    margin-bottom: 30px;
    color: var(--forest-deep);
    font-size: clamp(3.1rem, 5.9vw, 6.7rem);
    letter-spacing: -0.045em;
}

.hero-lede {
    max-width: 650px;
    margin: 0;
    color: rgba(34, 42, 39, 0.82);
    font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 38px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--forest);
}

.button-primary:hover {
    background: var(--forest-deep);
}

.button-text {
    color: var(--forest-deep);
    border-bottom-color: rgba(36, 76, 58, 0.45);
}

.button-light {
    color: var(--forest-deep);
    background: var(--paper);
}

.button-outline {
    color: var(--forest-deep);
    border-color: var(--forest);
}

.hero-figure {
    position: relative;
    margin: 0;
}

.hero-figure::before {
    position: absolute;
    z-index: -1;
    inset: -30px 34px 44px -30px;
    content: "";
    border: 1px solid rgba(36, 76, 58, 0.28);
}

.hero-figure img {
    width: 100%;
    aspect-ratio: 0.84;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.hero-figure figcaption {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 14px;
    color: rgba(34, 42, 39, 0.68);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mission-strip {
    color: var(--white);
    background: var(--forest-deep);
}

.mission-grid {
    min-height: 250px;
    display: grid;
    grid-template-columns: 70px 1fr minmax(280px, 0.55fr);
    gap: 38px;
    align-items: center;
    padding-block: 48px;
}

.section-number {
    margin: 0;
    color: var(--clay);
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.14em;
}

.mission-grid h2,
.section-heading h2,
.atlas-copy h2,
.strategy-title h2,
.founder-preview h2,
.contact-band h2 {
    margin-bottom: 0;
    font-size: clamp(2.4rem, 4.5vw, 5rem);
    letter-spacing: -0.035em;
}

.mission-grid > p:last-child {
    margin: 0;
    color: rgba(255, 254, 249, 0.76);
}

.section {
    position: relative;
    padding-block: clamp(82px, 10vw, 145px);
}

.section-heading {
    max-width: 730px;
    margin-bottom: 60px;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pillar-grid article {
    min-height: 315px;
    padding: 32px 25px 38px;
    border-right: 1px solid var(--line);
}

.pillar-grid article:first-child {
    border-left: 1px solid var(--line);
}

.pillar-grid article > span {
    color: var(--clay);
    font-size: 0.76rem;
    font-weight: 750;
}

.pillar-grid h3 {
    margin: 68px 0 18px;
    color: var(--forest-deep);
    font-size: 1.65rem;
}

.pillar-grid p {
    margin: 0;
    color: rgba(34, 42, 39, 0.7);
    font-size: 0.96rem;
}

.atlas-section {
    background: var(--paper);
}

.atlas-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: clamp(55px, 9vw, 130px);
    align-items: center;
}

.atlas-image {
    position: relative;
}

.atlas-image::after {
    position: absolute;
    inset: 16px;
    content: "";
    border: 1px solid rgba(255, 254, 249, 0.64);
    pointer-events: none;
}

.atlas-image img {
    width: 100%;
    aspect-ratio: 1.18;
    object-fit: cover;
}

.map-pin {
    position: absolute;
    z-index: 2;
    top: 38%;
    left: 57%;
    width: 17px;
    height: 17px;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--clay);
    box-shadow: 0 0 0 9px rgba(169, 94, 67, 0.35);
}

.atlas-copy > p:not(.eyebrow, .section-number) {
    color: rgba(34, 42, 39, 0.76);
}

.text-link {
    min-height: 44px;
    display: inline-flex;
    gap: 12px;
    align-items: center;
    color: var(--forest-deep);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(36, 76, 58, 0.4);
}

.strategy-preview {
    color: var(--white);
    background: var(--forest);
}

.strategy-grid {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: clamp(70px, 10vw, 150px);
}

.strategy-preview .eyebrow {
    color: #e1a98f;
}

.strategy-body > p {
    margin-top: 0;
    color: rgba(255, 254, 249, 0.8);
    font-size: 1.15rem;
}

.strategy-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 42px 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.strategy-points li {
    padding: 17px 10px 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.founder-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(60px, 10vw, 150px);
    align-items: center;
}

.founder-grid > div:first-child > p:not(.eyebrow, .section-number) {
    color: rgba(34, 42, 39, 0.74);
}

.founder-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.founder-mosaic img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.founder-mosaic img:first-child {
    grid-row: span 2;
    height: 495px;
}

.archive-preview {
    padding-top: 0;
}

.archive-card {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    padding: 42px;
    border: 1px solid var(--line);
    background: var(--paper);
}

.archive-card h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(1.8rem, 3.5vw, 3.2rem);
}

.contact-band {
    padding-block: 80px;
    color: var(--white);
    background: var(--sky);
}

.contact-band-inner {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.contact-band .eyebrow {
    color: var(--forest-deep);
}

.site-footer {
    padding-block: 66px 44px;
    color: rgba(255, 254, 249, 0.8);
    background: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr 0.9fr;
    gap: 50px;
}

.footer-kicker {
    margin: 0 0 12px;
    color: #d5a48e;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-title {
    margin: 0;
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.45rem;
}

.footer-note,
.footer-meta p {
    margin: 9px 0 0;
    font-size: 0.9rem;
}

.footer-email {
    color: var(--white);
    font-weight: 650;
}

.footer-meta {
    align-self: end;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(90px, 12vw, 170px) clamp(75px, 9vw, 125px);
    color: var(--white);
    background: var(--forest-deep);
}

.page-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.2;
    background-image: radial-gradient(circle at 85% 20%, var(--sky), transparent 28%), linear-gradient(125deg, transparent 70%, rgba(241, 235, 221, 0.18));
}

.page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr minmax(220px, 0.3fr);
    gap: 45px;
    align-items: end;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(3rem, 6.5vw, 7rem);
    letter-spacing: -0.045em;
}

.source-date {
    margin: 0;
    color: rgba(255, 254, 249, 0.7);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
    gap: clamp(50px, 9vw, 130px);
    align-items: start;
}

.content-rail {
    position: sticky;
    top: 30px;
    padding-top: 24px;
    color: rgba(34, 42, 39, 0.66);
    font-size: 0.9rem;
}

.rail-line {
    width: 58px;
    height: 2px;
    display: block;
    margin-bottom: 24px;
    background: var(--clay);
}

.prose {
    min-width: 0;
    font-family: var(--serif);
    font-size: clamp(1.08rem, 1.4vw, 1.22rem);
    line-height: 1.8;
}

.prose > :first-child {
    margin-top: 0;
}

.prose h2,
.prose h3,
.prose h4 {
    margin: 2.3em 0 0.72em;
    color: var(--forest-deep);
}

.prose h2 {
    font-size: clamp(2rem, 3.6vw, 3.6rem);
}

.prose h3 {
    font-size: clamp(1.5rem, 2.6vw, 2.35rem);
}

.prose p,
.prose li {
    max-width: 76ch;
}

.prose a {
    color: var(--forest);
    font-weight: 650;
}

.prose img {
    height: auto;
    margin-block: 38px;
}

.prose blockquote {
    margin: 2em 0;
    padding: 8px 0 8px 28px;
    border-left: 4px solid var(--clay);
    color: var(--forest-deep);
    font-size: 1.22em;
}

.prose table {
    width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    font-family: var(--sans);
    font-size: 0.92rem;
}

.prose th,
.prose td {
    padding: 12px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.resource-box {
    display: grid;
    gap: 12px;
    margin-top: 60px;
    padding: 32px;
    border-left: 5px solid var(--clay);
    background: var(--paper);
    font-family: var(--sans);
}

.resource-box h2 {
    margin: 0 0 10px;
    font-size: 1.7rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(50px, 10vw, 150px);
}

.contact-card {
    padding: clamp(30px, 5vw, 60px);
    color: var(--white);
    background: var(--forest);
}

.contact-card .eyebrow {
    color: #e1a98f;
}

.contact-card > a {
    display: inline-block;
    margin-bottom: 25px;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.4vw, 2rem);
    overflow-wrap: anywhere;
}

.contact-card > p:last-child {
    color: rgba(255, 254, 249, 0.72);
    font-size: 0.92rem;
}

.archive-feature {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(40px, 8vw, 110px);
    align-items: center;
}

.archive-feature img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.archive-feature h2 {
    font-size: clamp(2.1rem, 4vw, 4.3rem);
}

.gallery-section figure {
    margin: 0;
}

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

.photo-grid a {
    min-height: 44px;
    display: block;
    overflow: hidden;
    background: var(--paper);
}

.photo-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 350ms ease;
}

.photo-grid a:hover img {
    transform: scale(1.025);
}

.gallery-section figcaption {
    margin-top: 20px;
    color: rgba(34, 42, 39, 0.66);
}

.english-index {
    max-width: 920px;
}

.notice {
    display: grid;
    gap: 6px;
    margin-bottom: 35px;
    padding: 22px 25px;
    border-left: 4px solid var(--clay);
    background: var(--paper);
}

.english-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.english-list li {
    min-height: 82px;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 18px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.english-list li > span,
.english-list small {
    color: rgba(34, 42, 39, 0.58);
    font-size: 0.8rem;
}

.english-list a {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 650;
}

.error-page {
    min-height: 68vh;
    display: grid;
    place-items: center;
    padding-block: 100px;
    text-align: center;
}

.error-page .shell {
    max-width: 700px;
}

.error-code {
    margin: 0;
    color: var(--clay);
    font-size: 0.9rem;
    font-weight: 750;
    letter-spacing: 0.18em;
}

.error-page h1 {
    margin: 18px 0;
    color: var(--forest-deep);
    font-size: clamp(2.8rem, 6vw, 6rem);
}

.error-page .button {
    margin-top: 25px;
}

.has-js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.has-js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns: 1fr auto auto;
    }

    .desktop-nav,
    .header-inner > .language-link {
        display: none;
    }

    .mobile-menu {
        position: relative;
        display: block;
        grid-column: 3;
    }

    .mobile-menu summary {
        min-width: 70px;
        min-height: 46px;
        display: grid;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 999px;
        font-weight: 700;
        cursor: pointer;
        list-style: none;
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        width: min(340px, calc(100vw - 40px));
        display: grid;
        padding: 15px;
        border: 1px solid var(--line);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .mobile-menu nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding-inline: 12px;
        text-decoration: none;
    }

    .mobile-menu nav a[aria-current="page"] {
        color: var(--forest);
        background: var(--paper);
    }

    .hero-grid {
        grid-template-columns: 1fr 0.8fr;
        gap: 45px;
    }

    .hero h1 {
        font-size: clamp(3rem, 6.4vw, 5.2rem);
    }

    .pillar-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pillar-grid article:nth-child(3) {
        border-left: 1px solid var(--line);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-meta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    :root {
        --shell: min(100% - 28px, 1180px);
    }

    body {
        font-size: 1rem;
    }

    .header-inner {
        min-height: 82px;
        gap: 14px;
    }

    .brand-mark {
        width: 49px;
        height: 49px;
    }

    .brand-mark img {
        width: 46px;
        height: 46px;
    }

    .brand-copy strong {
        max-width: 190px;
        font-size: 0.86rem;
    }

    .brand-copy span {
        font-size: 0.65rem;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-block: 68px 65px;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 13vw, 4.7rem);
    }

    .hero-figure {
        width: calc(100% - 18px);
        margin-left: 18px;
    }

    .hero-figure img {
        aspect-ratio: 1.08;
    }

    .mission-grid,
    .atlas-grid,
    .strategy-grid,
    .founder-grid,
    .page-hero-grid,
    .content-layout,
    .contact-layout,
    .archive-feature {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        gap: 20px;
        padding-block: 60px;
    }

    .section {
        padding-block: 78px;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .pillar-grid article,
    .pillar-grid article:first-child,
    .pillar-grid article:nth-child(3) {
        min-height: 240px;
        border-right: 1px solid var(--line);
        border-left: 1px solid var(--line);
    }

    .pillar-grid h3 {
        margin-top: 36px;
    }

    .atlas-copy {
        order: -1;
    }

    .strategy-points {
        grid-template-columns: 1fr;
    }

    .founder-mosaic img,
    .founder-mosaic img:first-child {
        height: 270px;
    }

    .founder-mosaic img:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .archive-card,
    .contact-band-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-meta {
        grid-column: auto;
    }

    .page-hero {
        padding-block: 82px 70px;
    }

    .page-hero h1 {
        font-size: clamp(2.75rem, 13vw, 5rem);
    }

    .content-rail {
        position: static;
    }

    .archive-feature img {
        height: 340px;
    }

    .photo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .photo-grid img {
        height: 220px;
    }

    .english-list li {
        grid-template-columns: 40px 1fr;
        gap: 12px;
        padding-block: 16px;
    }

    .english-list small {
        grid-column: 2;
    }
}

@media (max-width: 460px) {
    .brand-copy strong {
        max-width: 142px;
    }

    .hero-actions,
    .hero-actions .button,
    .archive-card .button,
    .contact-band .button {
        width: 100%;
    }

    .founder-mosaic,
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .founder-mosaic img,
    .founder-mosaic img:first-child,
    .photo-grid img {
        height: 290px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .has-js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .site-header,
    .site-footer,
    .reading-progress,
    .hero-actions,
    .content-rail {
        display: none !important;
    }

    body,
    .page-hero {
        color: #000;
        background: #fff;
    }

    .section,
    .page-hero {
        padding-block: 24px;
    }
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-out 220ms ease both; }
::view-transition-new(root) { animation: page-in 520ms cubic-bezier(.22,1,.36,1) both; }
@keyframes page-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes gradient-drift { 50% { background-position: 90% 60%; } }
@keyframes ring-turn { to { transform: rotate(1turn); } }
@keyframes pin-pulse { 50% { box-shadow: 0 0 0 18px rgba(169,94,67,0); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } }

html { scroll-padding-top: 115px; scrollbar-color: #a95e43 #f1ebdd; scrollbar-width: thin; }
body::before { display: none; }
body::after {
    content: ''; position: fixed; inset: 0; z-index: 24; pointer-events: none; opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { border: 3px solid var(--paper); border-radius: 10px; background: var(--clay); }
.site-header { position: sticky; top: 0; }
.hero { background: linear-gradient(120deg,#f1ebdd,#e7e6d4,#f4e4d5,#ecedde); background-size: 240% 240%; animation: gradient-drift 16s ease-in-out infinite; }
.hero-grid { min-height: min(720px,88svh); padding-block: 62px 76px; gap: clamp(40px,6vw,85px); }
.hero h1 { font-size: clamp(3.1rem,4.8vw,5.4rem); }
.hero h1 span { color: #956047; }
.hero-image-frame { overflow: clip; box-shadow: var(--shadow); }
.hero-image-frame img { height: clamp(390px,54vw,550px); aspect-ratio: auto; box-shadow: none; }
.hero-figure::before { z-index: 0; pointer-events: none; }
.hero-image-frame, .hero-figure figcaption { position: relative; }
.mission-strip,.strategy-preview,.page-hero {
    background: linear-gradient(120deg,#173427,#315c44,#1e4850,#18372a);
    background-size: 240% 240%; animation: gradient-drift 18s ease-in-out infinite;
}
.mission-strip .eyebrow,.mission-strip .section-number,.page-hero .eyebrow { color: #e8b99b; }
.section-heading { position: relative; padding-top: 36px; }
.section-heading > :not(.ghost-word) { position: relative; }
.ghost-word { position: absolute; top: -30px; left: -4px; color: transparent; -webkit-text-stroke: 1px rgba(36,76,58,.28); font: 700 clamp(3.2rem,9vw,7rem)/1 var(--serif); letter-spacing: -.05em; pointer-events: none; user-select: none; }
.pillar-grid article { position: relative; overflow: clip; transition: background .4s, transform .4s; }
.pillar-grid article:hover { background: #ebe9d9; transform: translateY(-7px); }
.pillar-grid article > span { position: absolute; right: 20px; top: 18px; color: transparent; -webkit-text-stroke: 1px rgba(36,76,58,.32); font-size: 4.3rem; font-variant-numeric: tabular-nums; line-height: 1; }
.pillar-grid h3 { position: relative; }
.atlas-image { overflow: clip; }
.atlas-image img { transition: filter .5s; }
.atlas-image:hover img { filter: saturate(1.15); }
.map-pin { animation: pin-pulse 3s ease-out infinite; }
.button-primary { background: linear-gradient(120deg,#244c3a,#386149); }
.button-primary:hover { box-shadow: 0 10px 30px rgba(36,76,58,.28); }
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translateX(7px); }
.contact-band { color: #fffef9; background: linear-gradient(130deg,#375d5d,#254c40,#294d5c); background-size: 220% 220%; animation: gradient-drift 14s ease-in-out infinite; }
.contact-band .eyebrow { color: #edc7ad; }
.contact-band .button-primary { border-color: rgba(255,255,255,.45); }
.site-footer { position: relative; overflow: clip; }
.footer-grid { position: relative; z-index: 1; }
.site-footer::before { content: 'ЗАДУЖБИНА'; position: absolute; bottom: -.18em; right: -.03em; font: 700 clamp(4rem,15vw,15rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(255,254,249,.065); pointer-events: none; }
.motion-toggle { display: none; margin-top: 12px; min-height: 44px; padding: 7px 12px; border: 1px solid #9caa9f; background: transparent; color: var(--white); cursor: pointer; font-size: .85rem; }
.has-js .motion-toggle,.is-ready .motion-toggle { display: inline-block; }
.page-loader { position: fixed; z-index: 80; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 14px 22px; background: #173427; color: #fffef9; border-radius: 3px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s,visibility .3s,transform .3s; transform: translateY(10px); }
.is-loading .page-loader,.is-leaving .page-loader { visibility: visible; opacity: 1; transform: none; }
.loader-ring { width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.25); border-top-color: #e4b397; border-radius: 50%; animation: ring-turn .8s linear infinite; }
.has-js [data-reveal] { transition: opacity .75s ease,transform .85s cubic-bezier(.22,1,.36,1); }
.has-js [data-reveal][data-step="1"] { transition-delay: 75ms; }
.has-js [data-reveal][data-step="2"] { transition-delay: 150ms; }
.has-js [data-reveal][data-step="3"] { transition-delay: 225ms; }
.has-js [data-reveal].is-visible { will-change: auto; }
.has-js .hero-copy { transform: translateY(28px); }
.has-js .hero-copy.is-visible { transform: none; }
.scroll-guide { display: none; position: fixed; z-index: 10; top: 130px; bottom: 40px; left: max(18px,calc((100vw - 1400px)/2)); width: 36px; pointer-events: none; }
.scroll-guide svg { width: 100%; height: 100%; }
.scroll-guide-track { stroke: rgba(169,94,67,.15); stroke-width: 2; }
.scroll-guide-progress { stroke: #a95e43; stroke-width: 2; stroke-dasharray: 0 1; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 35; width: 48px; height: 48px; display: grid; place-items: center; color: #fffef9; background: #244c3a; border: 1px solid #b8c4b5; border-radius: 50%; text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s,transform .3s,visibility .3s; }
.back-to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.mobile-menu[open] nav { animation: menu-in .3s ease both; }
.mobile-menu nav { max-height: calc(100svh - 115px); overflow-y: auto; }
.reading-progress { animation: none; background: linear-gradient(90deg,#a95e43,#d6ac75,#739ba8); }
@media (min-width: 1500px) { .scroll-guide { display: block; } }
@media (max-width: 760px) {
    .hero-grid { padding-block: 48px 58px; }
    .hero h1 { font-size: clamp(2.65rem,10.8vw,4.4rem); }
    .hero-image-frame img { height: clamp(300px,78vw,460px); }
    .hero-figure { width: 100%; margin-left: 0; }
    .hero-figure::before { inset: -14px 16px 36px 10px; }
    .section-heading { padding-top: 18px; }
    .ghost-word { top: -20px; }
    .page-loader { right: 14px; bottom: 14px; padding: 12px 16px; }
    .back-to-top { right: 14px; bottom: 14px; }
}
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.motion-off [data-reveal] { opacity: 1 !important; transform: none !important; }
.motion-off [data-parallax] { transform: none !important; }
.motion-off .scroll-guide,.motion-off .page-loader { display: none; }
.motion-off::view-transition-old(root),.motion-off::view-transition-new(root) { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
    .scroll-guide,.page-loader { display: none; }
    [data-parallax] { transform: none !important; }
    ::view-transition-old(root),::view-transition-new(root) { animation: none; }
}
@media print { .scroll-guide,.back-to-top,.page-loader,body::after { display: none !important; } [data-reveal] { opacity: 1 !important; transform: none !important; } }
