.site-body {
    --site-gradient-depth: 122rem;
    --site-pattern-size: clamp(16rem, 22vw, 24rem);
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 16% 18%, rgba(190, 118, 61, 0.08), transparent 30rem),
        radial-gradient(circle at 84% 18%, rgba(42, 165, 160, 0.07), transparent 28rem),
        linear-gradient(
            180deg,
            #130f0e 0,
            #161110 16rem,
            #1a1412 30rem,
            #211916 46rem,
            #302723 60rem,
            #4a3f37 78rem,
            #70675f 98rem,
            #aaa096 118rem,
            #d8cec2 138rem,
            var(--bg) 154rem,
            var(--bg-soft) 100%
        );
    color: var(--ink);
    overflow-x: hidden;
}

.site-body::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 100%;
    background:
        linear-gradient(
            180deg,
            rgba(247, 240, 231, 0.06) 0,
            rgba(247, 240, 231, 0.045) 44rem,
            rgba(247, 240, 231, 0.03) 72rem,
            rgba(247, 240, 231, 0.01) 94rem,
            transparent 112rem
        );
    -webkit-mask-image: url("../../img/visuals/pattern.png");
    -webkit-mask-position: center top;
    -webkit-mask-repeat: repeat;
    -webkit-mask-size: var(--site-pattern-size);
    mask-image: url("../../img/visuals/pattern.png");
    mask-position: center top;
    mask-repeat: repeat;
    mask-size: var(--site-pattern-size);
    pointer-events: none;
    z-index: 0;
}

.site-body::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 100%;
    background:
        linear-gradient(
            180deg,
            transparent 0,
            transparent 50rem,
            rgba(36, 25, 18, 0.02) 72rem,
            rgba(36, 25, 18, 0.045) 100rem,
            rgba(36, 25, 18, 0.04) 100%
        );
    -webkit-mask-image: url("../../img/visuals/pattern.png");
    -webkit-mask-position: center top;
    -webkit-mask-repeat: repeat;
    -webkit-mask-size: var(--site-pattern-size);
    mask-image: url("../../img/visuals/pattern.png");
    mask-position: center top;
    mask-repeat: repeat;
    mask-size: var(--site-pattern-size);
    pointer-events: none;
    z-index: 0;
}

.site-frame {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.site-ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.site-ambient__blob,
.site-ambient__mesh {
    position: absolute;
}

.site-ambient__blob {
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.7;
    animation: ambient-drift 18s ease-in-out infinite alternate;
}

.site-ambient__blob--wood {
    top: 5rem;
    left: -9rem;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, var(--wood-glow), transparent 70%);
}

.site-ambient__blob--resin {
    top: 7rem;
    right: -7rem;
    width: 26rem;
    height: 26rem;
    background: radial-gradient(circle, var(--resin-glow), transparent 68%);
    animation-duration: 22s;
}

.site-ambient__mesh {
    inset: 0 0 auto;
    height: 54rem;
    opacity: 0.18;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 72%),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 0,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px,
            transparent 108px
        );
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.page-shell {
    position: relative;
    flex: 1 0 auto;
    padding-bottom: 72px;
    overflow: hidden;
}

.site-body.page-contacts::before,
.site-body.page-contacts::after {
    bottom: 0;
    height: auto;
}

.page-home .site-ambient__blob {
    opacity: 0;
}

.site-body.page-portfolio,
.site-body.page-catalog {
    background:
        linear-gradient(
            180deg,
            transparent 0,
            transparent 34rem,
            rgba(24, 18, 16, 0.18) 48rem,
            rgba(78, 64, 53, 0.12) 62rem,
            rgba(242, 236, 227, 0.10) 82rem,
            transparent 106rem
        ),
        radial-gradient(circle at 16% 18%, rgba(190, 118, 61, 0.08), transparent 30rem),
        radial-gradient(circle at 84% 18%, rgba(42, 165, 160, 0.07), transparent 28rem),
        linear-gradient(
            180deg,
            #130f0e 0,
            #161110 16rem,
            #1a1412 30rem,
            #211916 46rem,
            #302723 60rem,
            #4a3f37 78rem,
            #70675f 98rem,
            #aaa096 118rem,
            #d8cec2 138rem,
            var(--bg) 154rem,
            var(--bg-soft) 100%
        );
}

.content-section {
    position: relative;
    z-index: 0;
    padding: clamp(48px, 7vw, 92px) 0;
}

.content-section--lifted {
    margin-top: -54px;
    z-index: 2;
}

.page-intro,
.hero {
    position: relative;
    padding: clamp(126px, 16vw, 170px) 0 clamp(58px, 7vw, 96px);
    color: var(--ink-inverse);
}

.page-intro {
    padding-top: clamp(96px, 11vw, 132px);
}

.page-intro .container,
.hero__grid {
    position: relative;
    z-index: 1;
}

.page-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    align-items: center;
    gap: clamp(24px, 5vw, 56px);
}

.page-intro__copy {
    min-width: 0;
}

.page-intro__visual {
    position: relative;
    justify-self: end;
    width: min(100%, 430px);
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 34px 24px 34px 20px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(19, 15, 13, 0.46);
    box-shadow: var(--shadow-hero);
}

.page-intro__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36%),
        radial-gradient(circle at 72% 18%, rgba(42, 165, 160, 0.18), transparent 46%);
    pointer-events: none;
}

.page-intro__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.98) contrast(1.04);
}

.page-intro__visual picture,
.hero-composition__picture,
.fallback-picture {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--resin-deep);
    font-size: 0.84rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
    opacity: 0.66;
}

.hero .section-kicker,
.page-intro .section-kicker {
    color: var(--resin-soft);
}

.section-title {
    max-width: 18ch;
    font-size: clamp(2rem, 3.8vw, 3.7rem);
}

.page-intro .section-title {
    color: var(--ink-inverse);
    max-width: 22ch;
}

.section-copy {
    max-width: 60ch;
    margin-top: 18px;
    color: var(--ink-muted);
    font-size: 1.06rem;
}

.hero__lead,
.page-intro .section-copy {
    color: var(--ink-inverse-muted);
}

.site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 30;
    padding-top: 5px;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 18px;
    border-radius: 34px;
    background: var(--surface-glass);
    border: 1px solid var(--line-strong);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(22px) saturate(120%);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark__emblem {
    position: relative;
    width: 38px;
    height: 44px;
    flex-shrink: 0;
}

.brand-mark__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.22)) drop-shadow(0 0 12px rgba(42, 165, 160, 0.18));
}

.brand-mark__copy {
    display: grid;
    gap: 2px;
}

.brand-mark__title {
    color: var(--ink-inverse);
    font-size: 1.04rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-mark__title span {
    color: var(--resin-soft);
}

.brand-mark__caption {
    color: var(--ink-inverse-muted);
    font-size: 0.54rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-header__menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: var(--ink-inverse);
}

.site-header__menu-toggle-box {
    display: grid;
    gap: 4px;
}

.site-header__menu-toggle-box span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.24s ease, opacity 0.24s ease;
    transform-origin: center;
}

.site-header__menu-toggle-label {
    font-size: 0.9rem;
    font-weight: 700;
}

.site-header__dock,
.site-header__actions,
.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.site-header__dock {
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
}

.site-nav {
    flex-shrink: 0;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.site-nav a {
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--ink-inverse-muted);
    font-size: 0.95rem;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ink-inverse);
}

.nav-pill {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--ink-inverse);
    background: rgba(255, 255, 255, 0.06);
    background-clip: padding-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.nav-pill--accent {
    background: linear-gradient(135deg, rgba(18, 90, 100, 0.92), rgba(42, 165, 160, 0.95));
    background-clip: padding-box;
    box-shadow: 0 18px 36px rgba(14, 90, 100, 0.24), 0 0 28px rgba(42, 165, 160, 0.18);
}

.nav-pill--utility {
    background: rgba(255, 255, 255, 0.08);
}

.messages-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: grid;
    gap: 12px;
    width: min(420px, calc(100vw - 32px));
}

.flash {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(20, 15, 13, 0.56);
    box-shadow: var(--shadow-card);
    color: var(--ink-inverse);
    backdrop-filter: blur(18px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.flash--closing {
    opacity: 0;
    transform: translateY(8px);
}

.flash__message {
    min-width: 0;
}

.flash__close {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--ink-inverse);
    cursor: pointer;
    font: inherit;
    line-height: 1;
}

.flash__close:hover,
.flash__close:focus-visible {
    background: rgba(255, 255, 255, 0.16);
}

.flash__close:focus-visible {
    outline: 2px solid rgba(42, 165, 160, 0.55);
    outline-offset: 2px;
}

.flash-success {
    border-color: rgba(47, 124, 99, 0.32);
}

.flash-error {
    border-color: rgba(166, 63, 54, 0.32);
}

.rich-panel,
.empty-panel {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(252, 244, 235, 0.84));
    color: var(--ink);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.rich-panel::before,
.empty-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.empty-panel {
    color: var(--ink-muted);
}

.rich-panel :where(h1, h2, h3, h4, h5, h6, label, legend, strong) {
    color: var(--ink);
}

.rich-panel :where(p, li, small) {
    color: var(--ink-muted);
}

.narrow-flow {
    display: grid;
    gap: 20px;
    max-width: 780px;
}

.card-grid,
.contact-card-grid,
.studio-panels,
.detail-form-layout,
.gallery-grid,
.detail-gallery,
.detail-layout,
.hero__grid,
.intro-split,
.section-head,
.cta-banner,
.detail-hero {
    display: grid;
    gap: 24px;
}

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

.card-grid.card-grid--listing {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    align-items: start;
}

.contact-card-grid,
.studio-panels,
.detail-form-layout,
.detail-layout,
.hero__grid,
.intro-split,
.cta-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-head,
.detail-hero {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
}

.section-head {
    position: relative;
    margin-bottom: 28px;
}

.section-head--with-stage {
    padding-left: 112px;
}

.section-stage {
    position: absolute;
    left: 0;
    top: -10px;
    color: rgba(31, 24, 18, 0.08);
    font-family: var(--display-font);
    font-size: clamp(3.4rem, 7vw, 5.2rem);
    line-height: 0.85;
}

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

.gallery-grid > *,
.detail-gallery > * {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.gallery-grid > .fallback-picture,
.detail-gallery > .fallback-picture {
    background:
        radial-gradient(circle at 28% 20%, rgba(190, 118, 61, 0.18), transparent 38%),
        radial-gradient(circle at 80% 24%, rgba(42, 165, 160, 0.16), transparent 42%),
        linear-gradient(135deg, #1c1513, #101818);
}

.gallery-grid img,
.detail-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    background: var(--surface);
}

.detail-specs,
.mini-stack {
    display: grid;
    gap: 12px;
}

.detail-specs div {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.detail-specs span {
    display: block;
    margin-bottom: 6px;
    color: var(--ink-inverse-muted);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--wood-dark);
}

.button:focus-visible,
.nav-pill:focus-visible,
.site-nav a:focus-visible,
.site-header__menu-toggle:focus-visible,
.text-link:focus-visible,
.filter-chip:focus-visible,
.mini-link-card:focus-visible {
    outline: 2px solid rgba(42, 165, 160, 0.72);
    outline-offset: 4px;
}

.text-link::after {
    content: ">";
    color: var(--resin-deep);
}

.site-footer {
    position: relative;
    margin-top: auto;
    padding: 20px 0 22px;
    background:
        radial-gradient(circle at 50% 0, rgba(42, 165, 160, 0.10), transparent 18rem),
        linear-gradient(180deg, rgba(24, 18, 16, 0.92), rgba(13, 10, 9, 0.96));
    color: var(--ink-inverse);
}

.site-footer__panel {
    position: relative;
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-brand,
.footer-social,
.footer-links,
.footer-meta {
    display: flex;
    align-items: center;
}

.footer-brand {
    gap: 10px;
    min-width: 0;
    color: var(--ink-inverse);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-brand__mark {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex: 1;
}

.footer-social {
    position: relative;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(247, 240, 231, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        color 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.footer-social:hover,
.footer-social:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(42, 165, 160, 0.48);
    background:
        radial-gradient(circle at 50% 15%, rgba(138, 210, 207, 0.22), rgba(42, 165, 160, 0.10)),
        rgba(255, 255, 255, 0.08);
    color: white;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24), 0 0 22px rgba(42, 165, 160, 0.14);
}

.footer-social:focus-visible {
    outline: 2px solid rgba(42, 165, 160, 0.72);
    outline-offset: 4px;
}

.footer-social--disabled {
    opacity: 0.45;
    pointer-events: none;
}

.footer-social__icon {
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
}

.footer-social__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.footer-social:first-child .footer-social__icon svg,
.footer-social:last-child .footer-social__icon svg {
    fill: currentColor;
    stroke: none;
}

.footer-social:first-child .footer-social__icon svg path + path {
    fill: var(--surface-deeper);
}

.footer-social__icon--text {
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer-social__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.footer-meta {
    justify-content: flex-end;
    gap: 16px;
    min-width: 0;
    color: rgba(247, 240, 231, 0.54);
    font-size: 0.84rem;
}

.footer-meta p {
    white-space: nowrap;
}

.footer-links {
    gap: 10px;
}

.footer-links a:hover {
    color: var(--ink-inverse);
}

@keyframes ambient-drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(18px, -22px, 0) scale(1.06);
    }
}

@media (max-width: 1100px) {
    .card-grid,
    .contact-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header__dock {
        justify-content: flex-start;
    }

    .site-footer__panel {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-brand,
    .footer-meta {
        flex: 1 1 220px;
    }

    .footer-socials {
        order: 3;
        flex-basis: 100%;
    }
}

@media (max-width: 820px) {
    .section-head,
    .page-intro__grid,
    .card-grid,
    .contact-card-grid,
    .detail-layout,
    .intro-split,
    .cta-banner,
    .detail-form-layout,
    .gallery-grid,
    .detail-gallery,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 20px 0 22px;
    }

    .site-footer__panel,
    .footer-meta {
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .site-footer__panel {
        gap: 14px;
        min-height: auto;
    }

    .footer-brand,
    .footer-meta,
    .footer-socials {
        flex: none;
    }

    .footer-socials {
        order: initial;
        flex-wrap: wrap;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 1100px) {
    .site-header {
        top: 0;
        padding-top: 5px;
    }

    .site-header__inner {
        position: relative;
        flex-wrap: nowrap;
        align-items: center;
        gap: 14px;
        padding: 10px 14px;
        border-radius: 28px;
    }

    .brand-mark {
        flex: 1;
        min-width: 0;
    }

    .site-header__menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-header__dock {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: auto;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        justify-content: flex-start;
        border-radius: 28px;
        border: 1px solid var(--line-strong);
        background: rgba(19, 15, 13, 0.94);
        box-shadow: var(--shadow-hero);
        backdrop-filter: blur(22px) saturate(120%);
    }

    .site-header--menu-open .site-header__dock {
        display: flex;
    }

    .site-header--menu-open .site-header__menu-toggle-box span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .site-header--menu-open .site-header__menu-toggle-box span:nth-child(2) {
        opacity: 0;
    }

    .site-header--menu-open .site-header__menu-toggle-box span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .site-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 8px;
        border-radius: 28px;
    }

    .site-header__actions {
        width: 100%;
        flex-direction: column;
    }

    .site-nav a,
    .site-header__actions .nav-pill {
        width: 100%;
        flex: none;
        justify-content: center;
        text-align: center;
    }

    .content-section--lifted {
        margin-top: -28px;
    }

    .page-intro__visual {
        justify-self: stretch;
        width: min(100%, 34rem);
        max-height: 22rem;
    }

    .section-head--with-stage {
        padding-left: 74px;
    }

    .section-stage {
        top: -4px;
    }

    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .rich-panel,
    .empty-panel {
        padding: 24px;
    }
}

@media (max-width: 560px) {
    .messages-stack {
        right: 16px;
        bottom: 16px;
        width: calc(100vw - 32px);
    }

    .site-header__inner {
        gap: 12px;
        padding: 10px 12px;
        border-radius: 26px;
    }

    .brand-mark {
        gap: 10px;
    }

    .brand-mark__emblem {
        width: 34px;
        height: 40px;
        border-radius: 14px;
    }

    .brand-mark__title {
        font-size: 0.96rem;
    }

    .brand-mark__caption {
        font-size: 0.5rem;
        letter-spacing: 0.04em;
    }

    .site-header__menu-toggle {
        gap: 8px;
        padding: 8px 12px;
    }

    .site-header__menu-toggle-label {
        font-size: 0.84rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .button:hover,
    .showcase-card:hover,
    .product-card:hover,
    .mini-link-card:hover,
    .footer-social:hover {
        transform: none;
    }
}

@media (max-width: 420px) {
    .brand-mark__caption {
        display: none;
    }
}
