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

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

@font-face {
    font-family: "Onest";
    src: url("../fonts/onest/onest-600.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

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

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

@font-face {
    font-family: "Material Symbols Rounded";
    src: url("../fonts/material-symbols-rounded/material-symbols-rounded.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: block;
}

:root {
    --bg: #edf1f3;
    --bg-soft: #e3eaee;
    --surface: #f8fbfc;
    --text: #172b3a;
    --muted: #5d6f7c;
    --line: #cad5dd;
    --accent: #40657e;
    --accent-soft: #d8e4ea;
    --accent-deep: #144566;
    --accent-fog: #e8eef1;
    --radius: 4px;
    --shadow: none;
    --page-gutter: clamp(16px, 2.2vw, 40px);
    --content-max: 1480px;
    --narrow-max: 860px;
    --wide-max: 1820px;
    --step--1: clamp(0.75rem, 0.72rem + 0.14vw, 0.84rem);
    --step-0: clamp(0.95rem, 0.91rem + 0.18vw, 1.06rem);
    --step-1: clamp(1.08rem, 1.01rem + 0.34vw, 1.3rem);
    --step-2: clamp(1.35rem, 1.18rem + 0.8vw, 1.9rem);
    --step-3: clamp(1.9rem, 1.45rem + 1.9vw, 3.2rem);
    --step-4: clamp(2.5rem, 1.8rem + 3vw, 5rem);
    --space-1: clamp(6px, 0.4vw, 10px);
    --space-2: clamp(10px, 0.7vw, 16px);
    --space-3: clamp(14px, 1vw, 22px);
    --space-4: clamp(18px, 1.35vw, 30px);
    --space-5: clamp(24px, 1.8vw, 40px);
    --space-6: clamp(32px, 2.6vw, 56px);
    --space-7: clamp(44px, 3.6vw, 76px);
    --space-8: clamp(64px, 5vw, 108px);
}

body.maintenance-body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 44%),
        linear-gradient(180deg, #edf4f8 0%, #e6eef3 100%);
}

.maintenance-page {
    min-height: 100vh;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 28px;
    padding: clamp(24px, 4vw, 48px);
}

.maintenance-head {
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
    max-width: 42rem;
}

.maintenance-kicker {
    font-size: var(--step--1);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(20, 69, 102, 0.72);
}

.maintenance-logo {
    width: min(280px, 72vw);
    height: auto;
}

.maintenance-title {
    margin: 0;
    font-size: clamp(2.3rem, 2rem + 1.1vw, 3.1rem);
    line-height: 1.08;
    color: var(--accent-deep);
}

.maintenance-subtitle {
    margin: 0;
    max-width: 34rem;
    font-size: clamp(1rem, 0.92rem + 0.25vw, 1.12rem);
    line-height: 1.6;
    color: var(--muted);
}

.maintenance-card {
    width: min(100%, 32rem);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(20, 69, 102, 0.12);
    border-radius: calc(var(--radius) + 8px);
    box-shadow: 0 22px 50px rgba(15, 42, 58, 0.08);
    padding: clamp(22px, 3vw, 30px);
}

.maintenance-form {
    display: grid;
    gap: 18px;
}

.maintenance-pin {
    min-height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(20, 69, 102, 0.14);
    border-radius: 14px;
    background: #fbfdfe;
    color: var(--accent-deep);
    font-size: clamp(1.15rem, 1rem + 0.45vw, 1.4rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.maintenance-error {
    margin-top: -4px;
    color: #8c3131;
    font-size: var(--step--1);
    text-align: center;
}

.maintenance-keypad {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.maintenance-key {
    min-height: 56px;
    border: 1px solid rgba(20, 69, 102, 0.14);
    border-radius: 14px;
    background: #ffffff;
    color: var(--accent-deep);
    font: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.maintenance-key:hover {
    transform: translateY(-1px);
    border-color: rgba(20, 69, 102, 0.28);
    background: #f7fbfd;
}

.maintenance-key--muted {
    color: var(--muted);
}

.maintenance-submit {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: #144566;
    color: #ffffff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 180ms ease, transform 180ms ease;
}

.maintenance-submit:hover:not(:disabled) {
    opacity: 0.94;
    transform: translateY(-1px);
}

.maintenance-submit:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Onest, system-ui, sans-serif;
    font-size: var(--step-0);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.ms-icon {
    --icon-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size);
    height: var(--icon-size);
    overflow: hidden;
    font-family: "Material Symbols Rounded";
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    letter-spacing: normal !important;
    text-transform: none !important;
    white-space: nowrap;
    direction: ltr;
    user-select: none;
    vertical-align: -0.12em;
    font-size: 0;
    color: transparent;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.icons-ready .ms-icon {
    font-size: var(--icon-size);
    color: currentColor;
}

.icon-inline,
.icon-link,
.icon-button,
.icon-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.icon-button .ms-icon,
.button .ms-icon {
    --icon-size: 1.1rem;
}

.icon-inline .ms-icon,
.icon-link .ms-icon,
.back-link .ms-icon,
.drawn-section-link .ms-icon {
    --icon-size: 1rem;
}

.icon-heading .ms-icon {
    --icon-size: 1.1rem;
    color: var(--accent);
}

.container,
.container-content {
    width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
    margin: 0 auto;
}

.container-shell {
    width: min(var(--wide-max), calc(100% - (var(--page-gutter) * 2)));
    margin: 0 auto;
}

.container-narrow,
.narrow {
    width: min(var(--narrow-max), calc(100% - (var(--page-gutter) * 2)));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 251, 252, 0.96);
    border-bottom: 1px solid rgba(202, 213, 221, 0.95);
    backdrop-filter: blur(8px);
}

.header-inner,
.nav,
.nav-links,
.nav-mobile-top,
.header-actions,
.brand,
.hero-actions,
.section-heading-split,
.cta-inner,
.footer-grid,
.contact-layout,
.product-layout {
    display: flex;
}

.header-inner {
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: clamp(78px, 7vw, 96px);
    position: relative;
}

.brand {
    align-items: center;
    gap: var(--space-2);
}

h1,
h2,
h3 {
    font-family: Onest, system-ui, sans-serif;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
    min-height: 0;
}

.brand-lockup-footer {
    background: transparent;
    padding: 0;
    border: 0;
}

.brand-logo {
    display: block;
    width: auto;
    height: clamp(42px, 4vw, 56px);
    filter: saturate(.9) contrast(1.02);
}

.eyebrow,
.project-category,
.footer-title,
.back-link {
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: var(--step--1);
}

.nav {
    align-items: center;
    gap: clamp(16px, 1.4vw, 26px);
}

.nav-links,
.nav-mobile-top {
    align-items: center;
    gap: clamp(16px, 1.4vw, 26px);
}

.nav-mobile-top {
    display: contents;
}

.nav-home {
    order: 0;
}

.nav-vk {
    order: 1;
}

.nav-links {
    order: 2;
}

.nav-contact {
    order: 3;
}

.nav-toggle {
    display: none;
}

.header-actions {
    display: none;
}

.nav a:not(.button) {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    position: relative;
    color: var(--muted);
    font-size: var(--step--1);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 180ms ease, opacity 180ms ease;
}

.nav a:not(.button)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0.65);
    transform-origin: center;
    transition: opacity 180ms ease, transform 180ms ease;
}

.nav a:not(.button):hover {
    color: var(--accent-deep);
}

.nav a:not(.button):hover::after {
    opacity: 0.58;
    transform: scaleX(1);
}

.nav .ms-icon {
    --icon-size: 0.95rem;
    transition: transform 180ms ease, color 180ms ease;
}

.nav a:not(.button):hover .ms-icon {
    transform: translateY(-1px);
}

.nav-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(34px, 2.8vw, 40px);
    height: clamp(34px, 2.8vw, 40px);
    margin-right: clamp(2px, 0.5vw, 8px);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--accent-deep) !important;
    background: rgba(248, 251, 252, 0.82);
    letter-spacing: normal !important;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-home .ms-icon {
    --icon-size: 1.05rem;
}

.nav-home::after {
    display: none;
}

.nav-home:hover {
    background: rgba(20, 69, 102, 0.08);
    border-color: rgba(20, 69, 102, 0.3);
    transform: translateY(-1px);
}

.social-icon {
    display: block;
    width: 100%;
    height: 100%;
}

.social-icon-vk {
    width: 100%;
    height: 100%;
}

.nav-vk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(36px, 2.9vw, 42px);
    height: clamp(36px, 2.9vw, 42px);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(248, 251, 252, 0.82);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nav-vk::after {
    display: none !important;
}

.nav-vk .social-icon-vk {
    width: clamp(16px, 1.2vw, 18px);
    height: clamp(16px, 1.2vw, 18px);
}

.nav-vk:hover {
    background: rgba(20, 69, 102, 0.08);
    border-color: rgba(20, 69, 102, 0.3);
    transform: translateY(-1px);
}

.nav-contact {
    flex: 0 0 auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(42px, 3.4vw, 48px);
    padding: 0 clamp(18px, 1.8vw, 26px);
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    font-weight: 500;
    border: 1px solid var(--accent);
    box-shadow: none;
}

.button:hover {
    opacity: 1;
    background: var(--accent-deep);
    border-color: var(--accent-deep);
}

.button-small {
    min-height: clamp(38px, 3vw, 42px);
    padding: 0 clamp(14px, 1.2vw, 18px);
}

.button-mini {
    min-height: 34px;
    padding: 0 16px;
    font-size: var(--step--1);
}

.button-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    color: #ffffff;
}

.button-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.button-light {
    background: rgba(248, 251, 252, 0.98);
    color: var(--accent-deep);
    border-color: rgba(248, 251, 252, 0.98);
}

.button-light:hover {
    color: #ffffff;
}

.button-danger {
    background: #b84b4b;
    border-color: #b84b4b;
    color: #ffffff;
}

.button-danger:hover,
.button-danger:focus-visible {
    background: #993d3d;
    border-color: #993d3d;
    color: #ffffff;
}

.button-outline {
    background: transparent;
    color: var(--accent-deep);
    border-color: var(--line);
}

.button-disabled,
.button[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.ui-modal[hidden] {
    display: none;
}

.ui-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
}

.ui-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 32, 45, 0.52);
    backdrop-filter: blur(3px);
}

.ui-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 520px);
    margin: min(14vh, 120px) auto 0;
    background: #f8fbfc;
    border: 1px solid rgba(20, 69, 102, 0.12);
    border-radius: 12px;
    box-shadow: 0 28px 60px rgba(10, 30, 44, 0.18);
    padding: 24px;
    display: grid;
    gap: 18px;
}

.ui-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(248, 251, 252, 0.96);
    color: var(--accent-deep);
}

.ui-modal-content {
    display: grid;
    gap: 10px;
    padding-right: 40px;
}

.ui-modal-kicker {
    margin: 0;
    color: var(--muted);
    font-size: var(--step--1);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ui-modal-title {
    margin: 0;
    font-size: clamp(1.3rem, 1.12rem + 0.55vw, 1.75rem);
    line-height: 1.18;
    color: var(--accent-deep);
}

.ui-modal-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.58;
}

.ui-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.hero,
.page-head,
.section {
    padding: var(--space-8) 0;
}

.drawn-home {
    padding: var(--space-2) 0 var(--space-6);
}

.drawn-hero {
    position: relative;
    border: 0;
    background: #dfe6ea;
    overflow: hidden;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.drawn-hero-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.drawn-hero-track::-webkit-scrollbar {
    display: none;
}

.drawn-hero-slide {
    margin: 0;
    scroll-snap-align: start;
}

.drawn-hero-image {
    height: clamp(460px, 62vw, 860px);
    width: 100%;
    object-fit: cover;
}

.drawn-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: var(--space-5);
    background: linear-gradient(180deg, rgba(236, 241, 244, 0.02) 0%, rgba(17, 33, 45, 0.18) 100%);
}

.drawn-hero-caption {
    margin-bottom: var(--space-3);
    max-width: min(920px, 100%);
}

.drawn-hero-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(2.25rem, 1.4rem + 4vw, 5rem) !important;
    line-height: 1.02;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-wrap: balance;
}

.drawn-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.drawn-hero-overlay h1 {
    margin: 0 0 10px;
    font-size: var(--step-4);
    line-height: 1.04;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.drawn-hero-overlay p {
    margin: 0 0 24px;
    font-size: var(--step-1);
    color: #f2f7fb;
}

.drawn-hero-overlay h1 {
    color: #ffffff;
}

.drawn-hero-controls {
    display: flex;
    gap: 10px;
    margin-top: 0;
}

.drawn-board {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-5);
}

.drawn-carousel-block {
    margin-top: 16px;
    padding: 26px;
    background: #dfe8ef;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.drawn-carousel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.drawn-carousel-head h2 {
    margin: 6px 0 0;
    font-size: 28px;
    line-height: 1.05;
    text-transform: uppercase;
}

.drawn-carousel-controls {
    display: flex;
    gap: 10px;
}

.drawn-carousel-button {
    width: clamp(38px, 3vw, 44px);
    height: clamp(38px, 3vw, 44px);
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 4px;
    background: rgba(247, 250, 251, 0.12);
    color: #ffffff;
}

.drawn-carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(360px, 42vw);
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.drawn-carousel-track::-webkit-scrollbar {
    display: none;
}

.drawn-carousel-slide {
    margin: 0;
    scroll-snap-align: start;
}

.drawn-carousel-slide img {
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
    border-radius: var(--radius);
}

.drawn-column {
    display: grid;
    gap: var(--space-6);
}

.drawn-card,
.drawn-contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: clamp(22px, 2vw, 32px);
    border-radius: var(--radius);
}

.drawn-intro-card-plain {
    background: var(--surface);
    border: 1px solid var(--line);
}

.drawn-awards-panel {
    background: transparent;
    border: 0;
    padding: 0;
}

.drawn-intro-grid {
    display: grid;
    grid-template-columns: clamp(120px, 10vw, 160px) minmax(0, 1fr);
    gap: var(--space-5);
    align-items: start;
}

.drawn-portrait-frame {
    border: 1px solid #d7e0e6;
    padding: 0;
    background: #fbfcfd;
    border-radius: var(--radius);
    overflow: hidden;
}

.drawn-portrait-frame img {
    aspect-ratio: 1 / 1.1;
    object-fit: cover;
}

.drawn-intro-copy h2,
.drawn-contact-card h2 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem);
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
}

.drawn-intro-copy p,
.drawn-contact-card p {
    margin: 0;
    color: var(--text);
    font-size: var(--step-0);
}

.drawn-intro-copy .eyebrow {
    display: block;
    margin-bottom: 8px;
}

.drawn-intro-lead {
    font-size: var(--step-1);
    line-height: 1.28;
    font-weight: 600;
    max-width: 620px;
}

.drawn-intro-quote {
    margin-top: 14px !important;
    padding-left: 16px;
    border-left: 1px solid #90a2af;
    color: var(--muted) !important;
    font-size: var(--step--1) !important;
    line-height: 1.45;
    max-width: 620px;
    margin-bottom: 16px !important;
}

.drawn-intro-body {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
    max-width: 700px;
}

.drawn-intro-body p {
    color: var(--text) !important;
    font-size: var(--step--1) !important;
    line-height: 1.58;
}

.drawn-intro-list,
.drawn-intro-tags {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawn-intro-list {
    display: grid;
    gap: 12px;
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.drawn-intro-list li {
    position: relative;
    padding-left: 20px;
    font-size: var(--step-0);
    line-height: 1.5;
    color: var(--accent-deep);
    font-weight: 500;
}

.drawn-intro-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(20, 69, 102, 0.72);
}

.drawn-block-title {
    margin: 0 0 18px;
    font-family: Onest, system-ui, sans-serif;
    font-size: var(--step-2);
    line-height: 1.14;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
}

.drawn-section-block {
    display: grid;
    gap: var(--space-3);
}

.drawn-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--line);
}

.drawn-section-head-plain {
    margin-bottom: 18px;
}

.drawn-section-head .drawn-block-title {
    margin: 0;
}

.drawn-section-link {
    color: var(--muted);
    font-size: var(--step--1);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.drawn-exhibit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4) var(--space-3);
}

.drawn-exhibit-item img {
    aspect-ratio: 1.16 / 1;
    object-fit: cover;
    border-radius: var(--radius);
}

.drawn-exhibit-meta {
    padding-top: 10px;
}

.drawn-exhibit-item h4,
.drawn-journal-meta h4,
.drawn-shop-meta h4 {
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.2;
    text-transform: uppercase;
}

.drawn-recognition-strip,
.drawn-awards-wall {
    display: grid;
    gap: 14px;
}

.drawn-recognition-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 20px;
}

.drawn-awards-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.drawn-award-card {
    display: grid;
    gap: var(--space-2);
    align-content: start;
    min-height: 232px;
    padding: var(--space-2);
    border: 1px solid #d3dce2;
    border-radius: var(--radius);
    background: #f8fbfd;
}

.drawn-award-logo-wrap {
    display: grid;
    place-items: center;
    min-height: 110px;
    padding: var(--space-2);
    border: 1px solid #dde5ea;
    border-radius: calc(var(--radius) - 1px);
    background: #ffffff;
    overflow: hidden;
}

.drawn-award-logo {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 88px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.drawn-award-copy {
    display: grid;
    gap: 5px;
}

.drawn-award-card p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.42;
    color: var(--muted);
}

.drawn-award-mark {
    min-height: 0;
    font-family: Onest, system-ui, sans-serif;
    font-size: var(--step-0);
    line-height: 1.08;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
}

.drawn-journal-grid,
.drawn-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
}

.services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.drawn-journal-item img,
.drawn-shop-item img {
    aspect-ratio: 1.1 / 0.9;
    object-fit: cover;
    border-radius: var(--radius);
}

.drawn-shop-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services-item {
    min-height: 100%;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.drawn-journal-meta,
.drawn-shop-meta {
    display: grid;
    gap: 10px;
    padding: 10px 0 0;
}

.drawn-shop-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.drawn-journal-meta p {
    margin: 8px 0 8px;
    color: var(--muted);
    font-size: var(--step--1);
    line-height: 1.4;
}

.drawn-journal-meta span {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.drawn-shop-meta p {
    margin: 6px 0 0;
    font-size: var(--step--1);
}

.services-meta {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px 16px;
}

.services-meta h3 {
    margin: 0;
    font-size: clamp(1.1rem, 0.95rem + 0.35vw, 1.5rem);
    line-height: 1.14;
}

.services-meta h3 a {
    color: inherit;
}

.services-meta > p:last-of-type {
    color: var(--muted);
    margin-bottom: 0;
}

.services-section-head {
    margin-bottom: var(--space-4);
}

.services-item > a {
    display: block;
}

.services-item img {
    border-radius: 0;
}

.drawn-shop-price {
    margin: 0;
    color: var(--accent-deep) !important;
    font-weight: 600;
}

.drawn-actions-center {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.drawn-contact-card {
    background: transparent;
    border: 1px solid var(--line);
}

.drawn-contact-card > p {
    margin-bottom: 20px;
}

.drawn-contact-lead {
    margin: 0 0 24px !important;
    font-family: Onest, system-ui, sans-serif;
    font-size: clamp(1.8rem, 1.25rem + 1.7vw, 2.5rem) !important;
    line-height: 1.12 !important;
    color: var(--accent-deep) !important;
    letter-spacing: 0.01em;
}

.drawn-contact-form {
    display: grid;
    gap: var(--space-3);
}

.drawn-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2) var(--space-3);
}

.drawn-form-grid label {
    display: grid;
    gap: 6px;
}

.drawn-form-grid .form-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    font-size: var(--step--1);
    line-height: 1.55;
    color: var(--muted);
}

.drawn-form-grid .form-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    border: 1px solid #96a9b7;
}

.drawn-form-grid .form-consent span {
    font-size: inherit;
}

.drawn-form-grid span {
    font-size: var(--step--1);
}

.drawn-form-grid input,
.drawn-form-grid textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #96a9b7;
    background: transparent;
    padding: 10px 0 9px;
    color: var(--text);
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.drawn-form-grid textarea {
    border: 1px solid #96a9b7;
    padding: 10px 12px;
    background: rgba(249, 251, 252, 0.55);
    border-radius: var(--radius);
}

.drawn-form-grid input:focus,
.drawn-form-grid textarea:focus,
.drawn-form-grid input:focus-visible,
.drawn-form-grid textarea:focus-visible {
    outline: none;
    box-shadow: none;
    border-color: #6f8798;
}

.drawn-form-grid textarea:focus,
.drawn-form-grid textarea:focus-visible {
    background: rgba(249, 251, 252, 0.78);
}

.drawn-form-wide {
    grid-column: 1 / -1;
}

.drawn-submit {
    width: 100%;
    justify-content: center;
    background: #607b8f;
    border-color: #607b8f;
}

.hero-grid,
.stats-grid,
.achievement-grid,
.project-grid,
.product-grid,
.gallery-grid,
.news-list {
    display: grid;
}

.hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-6);
    align-items: center;
}

.hero h1,
.page-head h1 {
    margin: 0;
    font-size: var(--step-4);
    line-height: 1.02;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
}

.lead,
.prose p,
.product-note {
    color: var(--muted);
    font-size: var(--step-0);
}

.not-found-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: var(--space-5);
    align-items: center;
}

.not-found-visual img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
}

.not-found-copy {
    display: grid;
    gap: var(--space-3);
}

.not-found-copy h2 {
    margin: 0;
    font-size: var(--step-3);
    line-height: 1.08;
    color: var(--accent-deep);
}

.not-found-copy p {
    margin: 0;
    color: var(--muted);
    max-width: 42ch;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 4px;
}

.hero {
    padding: 0 0 var(--space-8);
}

.hero-visual {
    position: relative;
    min-height: clamp(420px, 64vw, 980px);
}

.hero-visual > img,
.project-image img,
.news-image img,
.product-image img,
.product-visual img,
.gallery-item img {
    object-fit: cover;
}

.hero-visual > img {
    width: 100%;
    height: clamp(420px, 64vw, 980px);
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(9, 27, 42, 0.04) 0%, rgba(10, 28, 43, 0.4) 100%);
}

.hero-copy {
    color: #fff;
    max-width: 420px;
    padding: 0 0 var(--space-7);
}

.hero-eyebrow {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: var(--space-3);
}

.hero-actions {
    gap: var(--space-2);
    margin: var(--space-4) 0 0;
    flex-wrap: wrap;
}

.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.stat-card,
.achievement-card,
.project-card,
.news-card,
.product-card,
.contact-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
}

.stat-card,
.achievement-card,
.contact-panel {
    padding: clamp(18px, 1.8vw, 24px);
}

.stat-card strong {
    display: block;
    font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem);
    line-height: 1;
    margin-bottom: 8px;
}

.section-muted {
    background: var(--bg-soft);
}

.page-content-section {
    background: var(--bg-soft);
}

.page-head + .section {
    padding-top: clamp(18px, 1.8vw, 28px);
}

.section-heading {
    margin-bottom: var(--space-5);
}

.section-heading h2 {
    margin: 10px 0 0;
    font-size: var(--step-3);
    line-height: 1.14;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
    max-width: 820px;
}

.portfolio-sections {
    display: grid;
    gap: var(--space-5);
}

.portfolio-topic-block {
    display: grid;
    gap: var(--space-4);
}

.portfolio-topic-head {
    display: grid;
    gap: 8px;
}

.portfolio-topic-head h2 {
    margin: 0;
    font-size: var(--step-3);
    line-height: 1.08;
    color: var(--accent-deep);
}

.portfolio-topic-years {
    display: grid;
    gap: var(--space-5);
}

.portfolio-year-block {
    display: grid;
    gap: var(--space-3);
}

.portfolio-year-block + .portfolio-year-block {
    padding-top: var(--space-4);
    border-top: 1px solid rgba(20, 69, 102, 0.1);
}

.portfolio-year-head h3 {
    margin: 0;
    font-size: var(--step-2);
    line-height: 1.12;
    color: var(--accent-deep);
}

.portfolio-filter-bar {
    margin-bottom: var(--space-4);
}

.portfolio-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.portfolio-filter-chip,
.project-tag-pill {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent-deep);
    font-size: var(--step-0);
    font-weight: 500;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.portfolio-filter-chip:hover,
.project-tag-pill:hover {
    background: rgba(20, 69, 102, 0.08);
    border-color: rgba(20, 69, 102, 0.24);
    transform: translateY(-1px);
}

.portfolio-filter-chip.is-active {
    background: var(--accent-deep);
    color: #ffffff;
    border-color: var(--accent-deep);
}

.project-tags-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.portfolio-index-section {
    padding-top: var(--space-4);
}

.section-heading-split,
.cta-inner,
.footer-grid,
.product-layout {
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-5);
}

.text-link,
.back-link {
    color: var(--muted);
}

.achievement-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
}

.intro-block {
    max-width: 760px;
}

.intro-block h2 {
    margin: 10px 0 18px;
    font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem);
    line-height: 1.14;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
}

.project-grid,
.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: var(--space-4);
    align-items: start;
}

.article-hero {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #eef3f6;
}

.article-hero img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.article-copy {
    display: grid;
    gap: var(--space-3);
    min-width: 0;
}

.article-lead {
    margin: 0;
    font-size: clamp(1.1rem, 1rem + 0.45vw, 1.38rem);
    line-height: 1.52;
    color: var(--accent-deep);
}

.article-body {
    gap: var(--space-2);
}

.article-body p {
    margin: 0;
    line-height: 1.72;
    text-align: justify;
    text-wrap: pretty;
}

.article-gallery {
    display: grid;
    gap: var(--space-4);
}

.article-gallery-head {
    display: grid;
    gap: 8px;
}

.article-gallery-head h2 {
    margin: 0;
    font-size: clamp(1.4rem, 1.15rem + 0.9vw, 2rem);
    line-height: 1.18;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
}

.article-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.article-gallery-item {
    margin: 0;
}

.article-gallery-item img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.project-story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.78fr);
    gap: var(--space-4);
    align-items: start;
}

.project-hero-visual {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #eef3f6;
    cursor: pointer;
}

.project-hero-visual img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 220ms ease;
}

.project-hero-visual:hover img {
    transform: scale(1.015);
}

.project-hero-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: rgba(20, 69, 102, 0.82);
    color: #fff;
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.project-story-copy {
    display: grid;
    gap: var(--space-3);
    min-width: 0;
}

.project-story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.project-story-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    background: rgba(20, 69, 102, 0.06);
    border: 1px solid rgba(20, 69, 102, 0.12);
    border-radius: 999px;
    color: var(--accent-deep);
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-story-lead {
    margin: 0;
    font-size: clamp(1.4rem, 1.18rem + 0.75vw, 2rem);
    line-height: 1.22;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
}

.project-story-text {
    gap: var(--space-2);
}

.project-story-text p {
    margin: 0;
    line-height: 1.58;
    text-align: justify;
    text-wrap: pretty;
}

.project-story-note {
    margin: 0;
    padding-top: var(--space-2);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: var(--step--1);
    line-height: 1.55;
}

.project-gallery-panel {
    display: grid;
    gap: var(--space-2);
}

.project-gallery-head {
    display: grid;
    gap: 8px;
}

.project-gallery-head h2 {
    margin: 0;
    font-size: clamp(1.2rem, 1.02rem + 0.55vw, 1.55rem);
    line-height: 1.18;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
}

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

.project-gallery-item {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #f8fbfc;
    cursor: pointer;
}

.project-gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 220ms ease, filter 220ms ease;
}

.project-gallery-item:hover img {
    transform: scale(1.02);
    filter: saturate(1.02);
}

.project-gallery-section {
    padding-top: var(--space-2);
}

.lightbox[hidden] {
    display: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 19, 28, 0.78);
    backdrop-filter: blur(10px);
}

.lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(95vw, 1800px);
    height: min(92vh, 1100px);
    margin: 4vh auto;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: calc(var(--radius) + 6px);
    box-shadow: 0 18px 60px rgba(9, 19, 28, 0.22);
}

.lightbox-stage {
    position: relative;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
}

.lightbox-image {
    max-width: 100%;
    max-height: calc(92vh - 170px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: calc(var(--radius) - 1px);
}

.lightbox-close,
.lightbox-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1px solid rgba(20, 69, 102, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--accent-deep);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: #fff;
    border-color: rgba(20, 69, 102, 0.34);
    transform: translateY(-1px);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
}

.lightbox-nav .ms-icon,
.lightbox-close .ms-icon {
    --icon-size: 1.35rem;
}

.lightbox-meta {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    color: var(--accent-deep);
}

.lightbox-counter {
    font-size: var(--step--1);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.lightbox-caption {
    font-size: var(--step-0);
    line-height: 1.4;
}

.news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    align-items: start;
}

.news-card {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    height: 100%;
}

.project-card,
.product-card {
    overflow: hidden;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-image {
    display: block;
}

.featured-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
    align-items: start;
}

.mosaic-card a {
    display: block;
}

.mosaic-card img {
    width: 100%;
    display: block;
}

.mosaic-card-1 img,
.mosaic-card-4 img {
    aspect-ratio: 1 / 1;
}

.mosaic-card-2 img {
    aspect-ratio: 1 / 1.42;
}

.mosaic-card-3 img {
    aspect-ratio: 1 / 0.72;
}

.mosaic-caption {
    padding: 10px 0 0;
}

.mosaic-caption h3 {
    margin: 4px 0 0;
    font-size: var(--step-1);
}

.project-image img,
.product-image img {
    aspect-ratio: 4 / 5;
}

.news-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.project-meta,
.news-meta,
.product-meta {
    padding: var(--space-3) var(--space-3) var(--space-4);
}

.product-meta {
    display: grid;
    gap: 12px;
    flex: 1 1 auto;
}

.news-meta {
    display: grid;
    align-content: start;
    gap: 10px;
    height: 100%;
}

.project-meta h2,
.project-meta h3,
.news-meta h2,
.product-meta h2 {
    font-size: var(--step-2);
    line-height: 1.1;
    margin: 8px 0 10px;
    letter-spacing: 0.008em;
    color: var(--accent-deep);
}

.project-meta p:last-child,
.news-meta p:last-child,
.product-meta p:last-child {
    color: var(--muted);
}

.product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.product-card-price {
    color: var(--accent-deep);
    font-weight: 600;
}

.news-card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.news-card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(20, 69, 102, 0.06);
    border: 1px solid rgba(20, 69, 102, 0.12);
    color: var(--accent-deep);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-card-link {
    margin-top: auto;
    padding-top: 8px;
    color: var(--accent-deep);
    font-size: var(--step--1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cta-block {
    background: var(--accent);
    color: #f6f4ef;
}

.section-soft {
    background: var(--accent-fog);
}

.achievement-line {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
}

.achievement-inline {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.achievement-inline h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    font-family: Inter, system-ui, sans-serif;
    font-weight: 500;
}

.achievement-icon {
    width: 15px;
    height: 15px;
    border: 1px solid var(--accent);
    opacity: 0.65;
    margin-top: 2px;
    flex: 0 0 auto;
}

.cta-band {
    background: var(--accent-deep);
    color: #f3f1eb;
    padding: var(--space-8) 0;
}

.cta-band-inner {
    text-align: center;
}

.cta-band h2 {
    margin: 0 0 14px;
    font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: 0.01em;
}

.cta-band .lead {
    color: rgba(243, 241, 235, 0.74);
    max-width: 560px;
    margin: 0 auto 26px;
}

.cta-band .button {
    background: transparent;
    border-color: rgba(243, 241, 235, 0.4);
}

.page-head {
    padding-top: clamp(18px, 2vw, 28px);
    padding-bottom: var(--space-5);
}

.page-head-inner {
    max-width: min(72rem, 100%);
}

.prose {
    display: grid;
    gap: var(--space-3);
}

.legal-doc {
    gap: var(--space-4);
}

.legal-doc h2 {
    margin: var(--space-3) 0 0;
    font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.55rem);
    line-height: 1.28;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
}

.legal-doc p {
    margin: 0;
    line-height: 1.72;
    text-align: justify;
    text-wrap: pretty;
}

.legal-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 1.15rem;
}

.legal-list li {
    line-height: 1.68;
}

.page-panel {
    padding: clamp(22px, 2.2vw, 34px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.about-story-image {
    margin: 0 0 8px;
}

.about-story-image img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-page-section {
    padding-top: clamp(16px, 1.8vw, 28px);
}

.about-page-columns {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(300px, 3fr);
    gap: clamp(18px, 2vw, 32px);
    align-items: start;
}

.about-page-layout {
    display: grid;
    grid-template-columns: fit-content(420px) minmax(0, 1fr);
    gap: clamp(18px, 1.8vw, 30px);
    align-items: start;
    justify-content: start;
}

.about-page-portrait {
    margin: 0;
    width: clamp(300px, 25vw, 420px);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
}

.about-page-portrait img {
    width: 100%;
    aspect-ratio: 0.9 / 1;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-page-copy {
    display: grid;
    gap: var(--space-4);
    min-width: 0;
}

.about-page-lead {
    margin: 0;
    font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
    line-height: 1.34;
    color: var(--accent-deep);
    font-weight: 500;
}

.about-page-quote {
    margin: 0;
    padding-left: 20px;
    border-left: 2px solid rgba(20, 69, 102, 0.28);
    font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.35rem);
    line-height: 1.16;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
    text-wrap: balance;
}

.about-page-quote-secondary {
    margin-top: var(--space-2);
}

.about-page-body {
    display: grid;
    gap: var(--space-3);
}

.about-page-body p {
    margin: 0;
    font-size: var(--step-0);
    line-height: 1.72;
    text-align: justify;
    text-wrap: pretty;
    color: var(--text);
}

.about-page-footer {
    display: grid;
    gap: var(--space-4);
    padding-top: var(--space-3);
    max-width: 42rem;
}

.about-page-footer p {
    margin: 0;
    font-size: var(--step-0);
    line-height: 1.56;
    text-align: justify;
    text-wrap: pretty;
    color: var(--accent-deep);
}

.about-page-regalia-panel {
    display: grid;
    gap: var(--space-4);
}

.about-page-regalia-head {
    display: grid;
    gap: 10px;
    max-width: 42rem;
}

.about-page-regalia-head h2 {
    margin: 0;
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
}

.about-page-regalia-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.about-page-regalia-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    background: rgba(249, 251, 252, 0.9);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.about-page-regalia-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(20, 69, 102, 0.08);
    border-radius: calc(var(--radius) - 2px);
}

.about-page-regalia-logo {
    max-width: 100%;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.about-page-regalia-copy {
    display: grid;
    gap: 8px;
}

.about-page-regalia-copy h3 {
    margin: 0;
    font-size: clamp(0.98rem, 0.92rem + 0.2vw, 1.08rem);
    line-height: 1.26;
    letter-spacing: 0.01em;
    color: var(--accent-deep);
}

.about-page-regalia-copy p {
    margin: 0;
    font-size: var(--step--1);
    line-height: 1.52;
    text-align: justify;
    text-wrap: pretty;
    color: var(--muted);
}

@media (max-width: 1500px) and (min-width: 961px) {
    .about-page-layout {
        display: block;
    }

    .about-page-layout::after {
        content: "";
        display: block;
        clear: both;
    }

    .about-page-portrait {
        float: left;
        width: clamp(240px, 22vw, 320px);
        margin: 0 clamp(16px, 1.8vw, 28px) 16px 0;
    }

    .about-page-copy {
        display: block;
    }

    .about-page-lead,
    .about-page-quote,
    .about-page-body,
    .about-page-footer {
        display: block;
    }

    .about-page-quote:not(.about-page-quote-secondary) {
        clear: left;
        margin-top: var(--space-4);
    }

    .about-page-body,
    .about-page-footer,
    .about-page-quote-secondary {
        margin-top: var(--space-4);
    }

    .about-page-footer .button {
        margin-top: var(--space-3);
    }
}

.gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    padding: clamp(22px, 2.2vw, 34px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.gallery-item img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
}

.product-layout,
.contact-layout {
    gap: var(--space-4);
}

.product-layout.page-panel,
.contact-layout.page-panel {
    align-items: stretch;
}

.product-layout > * {
    flex: 1 1 0;
}

.product-price {
    display: block;
    font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem);
    margin-bottom: var(--space-2);
}

.contact-layout {
    align-items: stretch;
}

.contact-layout > * {
    flex: 1 1 0;
}

.contact-form {
    display: grid;
    gap: var(--space-3);
}

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

.contact-form .form-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    font-size: var(--step--1);
    line-height: 1.55;
    color: var(--muted);
}

.contact-form .form-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcfd;
    padding: 14px 16px;
}

.flash {
    border-radius: var(--radius);
    padding: var(--space-2) var(--space-3);
    margin-bottom: var(--space-3);
}

.flash-success {
    background: var(--accent-soft);
    color: var(--accent);
}

.flash-error {
    background: #f8dfdf;
    color: #842b2b;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: var(--space-6) 0 var(--space-5);
    background: #f3f7f9;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: var(--space-5);
    align-items: flex-start;
}

.footer-grid > * {
    min-width: 0;
}

.footer-brand .brand {
    margin-bottom: 22px;
}

.footer-brand {
    justify-self: start;
}

.footer-copy,
.footer-links {
    color: var(--muted);
    font-size: var(--step--1);
}

.footer-copy {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}

.footer-copy .ms-icon {
    width: 1rem;
    min-width: 1rem;
    height: 1rem;
    margin-top: 0.12em;
    flex: 0 0 1rem;
}

.footer-links {
    display: grid;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links .icon-link {
    align-items: flex-start;
    gap: 10px;
}

.footer-links .ms-icon,
.footer-inline-icon {
    width: 1rem;
    min-width: 1rem;
    height: 1rem;
    margin-top: 0.12em;
    flex: 0 0 1rem;
}

.footer-legal-links {
    gap: 4px;
    margin-top: 4px;
}

.footer-sections {
    justify-self: center;
    width: max-content;
    text-align: left;
}

.footer-sections .footer-title {
    text-align: center;
}

.footer-sections .footer-links {
    justify-items: start;
}

.footer-contact {
    display: grid;
    align-content: start;
    justify-self: end;
    width: max-content;
    justify-items: start;
}

.footer-creator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: rgba(20, 69, 102, 0.76);
    font-size: 0.66rem;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.footer-creator:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.footer-creator-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) saturate(0) brightness(0.72) contrast(1.02);
    transition: filter 180ms ease, transform 180ms ease;
}

.footer-creator-badge {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #eef2f5;
    border: 1px solid rgba(20, 69, 102, 0.14);
    box-shadow: 0 6px 16px rgba(15, 42, 58, 0.05);
    flex: 0 0 26px;
}

.footer-creator:hover .footer-creator-logo {
    filter: none;
    transform: scale(1.02);
}

.footer-inline-icon {
    display: block;
}

@media (max-width: 965px) {
    .header-inner {
        align-items: flex-start;
        min-height: 72px;
        padding: 14px 0;
    }

    .brand-logo {
        height: 46px;
    }

    .header-actions {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .nav-vk-header {
        display: inline-flex;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 42px;
        padding: 0 14px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: rgba(248, 251, 252, 0.96);
        color: var(--accent-deep);
        font: inherit;
        font-size: var(--step--1);
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .nav-toggle .ms-icon {
        --icon-size: 1.1rem;
    }

    .nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 18px;
        background: rgba(248, 251, 252, 0.98);
        border: 1px solid var(--line);
        border-radius: calc(var(--radius) + 2px);
        box-shadow: 0 18px 40px rgba(10, 30, 44, 0.08);
    }

    .site-header.nav-open .nav {
        display: flex;
    }

    .nav-mobile-top {
        display: flex;
        justify-content: flex-start;
        gap: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(20, 69, 102, 0.08);
    }

    .nav-links {
        display: grid;
        gap: 4px;
        order: 1;
    }

    .nav a:not(.button) {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 0;
    }

    .nav-mobile-top a:not(.button) {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        flex: 0 0 44px;
    }

    .nav a:not(.button)::after {
        display: none;
    }

    .nav-home,
    .nav-vk {
        width: 44px;
        height: 44px;
        margin-right: 0;
    }

    .nav-mobile-top .nav-vk {
        display: none;
    }

    .nav-contact {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
}

@media (max-width: 1270px) {
    .drawn-board {
        grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
        gap: clamp(20px, 2vw, 30px);
    }

    .drawn-contact-lead {
        font-size: clamp(1.45rem, 1.1rem + 1.05vw, 2rem) !important;
        line-height: 1.18 !important;
    }

    .drawn-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .drawn-form-grid label,
    .drawn-form-wide {
        grid-column: auto;
    }
}

@media (max-width: 1050px) and (min-width: 966px) {
    .nav {
        gap: 14px;
    }

    .nav-links,
    .nav-mobile-top {
        gap: 14px;
    }

    .nav-links .ms-icon {
        display: none;
    }

    .nav a:not(.button) {
        gap: 0;
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    .nav-contact {
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 999px;
    }

    .nav-contact span:last-child {
        display: none;
    }

    .nav-contact .ms-icon {
        margin: 0;
    }
}

@media (max-width: 1180px) {
    .drawn-board {
        grid-template-columns: 1fr;
    }

    .drawn-column {
        gap: clamp(28px, 3vw, 40px);
    }

    .drawn-contact-lead {
        max-width: 16ch;
    }
}

@media (max-width: 960px) {
    .drawn-board,
    .drawn-recognition-strip,
    .drawn-awards-wall,
    .drawn-journal-grid,
    .drawn-shop-grid,
    .drawn-form-grid,
    .hero-grid,
    .achievement-grid,
    .project-grid,
    .product-grid,
    .footer-grid,
    .product-layout,
    .contact-layout,
    .news-card {
        grid-template-columns: 1fr;
        display: grid;
    }

    .featured-mosaic,
    .achievement-line {
        grid-template-columns: 1fr;
    }

    .nav,
    .section-heading-split,
    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-visual,
    .hero-visual > img {
        min-height: 70vh;
        height: 70vh;
    }

    .stats-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-sections,
    .footer-contact {
        justify-self: stretch;
        width: auto;
        text-align: left;
    }

    .footer-sections .footer-links {
        justify-items: start;
    }

    .about-page-columns {
        grid-template-columns: 1fr;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .project-story-layout {
        grid-template-columns: 1fr;
    }

    .about-page-layout {
        grid-template-columns: fit-content(360px) minmax(0, 1fr);
    }

    .about-page-regalia-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page-regalia-panel {
        margin-top: 0;
    }

    .drawn-carousel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .drawn-carousel-track {
        grid-auto-columns: 82%;
    }

    .drawn-exhibit-grid {
        grid-template-columns: 1fr 1fr;
    }

    .drawn-intro-grid {
        grid-template-columns: 1fr;
    }

    .drawn-hero-image {
        height: clamp(360px, 58vw, 520px);
    }

    .drawn-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .lightbox-dialog {
        width: min(95vw, 1200px);
        height: min(90vh, 960px);
        grid-template-columns: 52px minmax(0, 1fr) 52px;
        padding: 18px;
    }

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

    .project-gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hero,
    .page-head,
    .section {
        padding: clamp(44px, 10vw, 56px) 0;
    }

    .hero {
        padding-top: 0;
    }

    .container,
    .container-content,
    .container-shell,
    .container-narrow,
    .narrow {
        width: min(calc(100% - 24px), 1180px);
    }

    .nav {
        gap: 14px;
    }

    .project-meta h2,
    .project-meta h3,
    .news-meta h2,
    .product-meta h2 {
        font-size: 24px;
    }

    .hero-copy {
        padding-bottom: 48px;
    }

    .drawn-exhibit-grid,
    .drawn-journal-grid,
    .drawn-shop-grid,
    .article-gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .about-page-columns,
    .about-page-layout,
    .about-page-regalia-grid {
        grid-template-columns: 1fr;
    }

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

    .project-hero-badge {
        left: 12px;
        right: 12px;
        bottom: 12px;
        justify-content: center;
    }

    .lightbox-dialog {
        width: min(95vw, 1000px);
        height: min(92vh, 960px);
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: 12px;
        padding: 14px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 46px;
        height: 46px;
    }

    .lightbox-stage {
        grid-column: 1 / -1;
        min-height: 0;
    }

    .lightbox-nav {
        width: 46px;
        height: 46px;
    }

    .lightbox-nav-prev {
        justify-self: start;
    }

    .lightbox-nav-next {
        justify-self: end;
    }

    .lightbox-meta {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .drawn-carousel-block {
        padding: 18px;
    }

    .drawn-carousel-track {
        grid-auto-columns: 92%;
    }

    .drawn-card,
    .drawn-contact-card {
        padding: 18px;
    }

    .page-head-inner,
    .page-panel,
    .gallery-grid {
        padding: 18px;
    }

    .drawn-hero-overlay p {
        font-size: var(--step-0);
    }
}
