:root {
    --color-text-primary: #333333;
    --color-text-secondary: #000000;
    --color-text-muted: #888888;
    --color-accent: #ffbe98;
    --color-white: #ffffff;
    --color-bg-body: #ffffff;
    --color-bg-light: #f5f5f5;
    --color-bg-surface: #ffffff;
    --color-border: rgba(0, 0, 0, 0.1);
    --color-header-shadow: rgba(0, 0, 0, 0.05);

    /* Updated fonts to Jost (similar to Century Gothic, full Cyrillic support) */
    --font-heading: 'Jost', 'Century Gothic', sans-serif;
    --font-body: 'Jost', 'Century Gothic', sans-serif;

    --container-width: 1200px;
    --padding-section: 80px;
    /* Increased from 60px for better whitespace */
}

body.dark-mode {
    --color-text-primary: #e0e0e0;
    --color-text-secondary: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-white: #121212;
    --color-bg-body: #121212;
    --color-bg-light: #1e1e1e;
    --color-bg-surface: #1e1e1e;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-header-shadow: rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    line-height: 1.6;
    background-color: var(--color-bg-body);
    -webkit-font-smoothing: antialiased;
    letter-spacing: normal;
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: normal;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--padding-section) 0;
}

.section__title {
    font-family: var(--font-heading);
    font-size: 36px;
    /* Slightly increased */
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.05em;
    /* Cleaner scaling */
    margin-bottom: 60px;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn--outline {
    background: transparent;
    border-color: var(--color-text-primary);
    color: var(--color-text-primary);
}

.btn--outline:hover {
    background-color: var(--color-accent);
    border-color: var(--color-text-primary);
    /* Keep border or remove? Tilda kept it */
}

.btn--filled {
    background-color: var(--color-accent);
    border-color: var(--color-text-primary);
    color: var(--color-text-primary);
}

.btn--filled:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Header */
.header {
    background-color: var(--color-bg-body);
    box-shadow: 0 2px 20px var(--color-header-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    transition: all 0.3s ease;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--color-border);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    color: var(--color-text-primary);
    margin-left: 20px;
}

.theme-toggle:hover {
    background-color: var(--color-bg-light);
    border-color: var(--color-accent);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.theme-toggle .sun-icon {
    display: none;
}

body.dark-mode .theme-toggle .moon-icon {
    display: none;
}

body.dark-mode .theme-toggle .sun-icon {
    display: block;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header Branding */
.header__branding {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header__logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-text-primary);
}

.header__tagline {
    position: relative;
    height: 24px;
    /* Match logo height */
    width: 140px;
    /* Space for words */
    overflow: hidden;
    display: flex;
    align-items: center;

    /* Separator line */
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    padding-left: 20px;
}

/* Разделитель логотипа в темной теме */
body.dark-mode .header__tagline {
    border-left-color: rgba(255, 255, 255, 0.3);
}

/* Тэглайн слова в темной теме */
body.dark-mode .header__tagline-word {
    color: var(--color-text-muted);
}

.header__tagline-word {
    position: absolute;
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    opacity: 0;
    animation: taglineFade 9s infinite;
    white-space: nowrap;
    font-weight: 400;
}

.header__tagline-word:nth-child(1) {
    animation-delay: 0s;
}

.header__tagline-word:nth-child(2) {
    animation-delay: 3s;
}

.header__tagline-word:nth-child(3) {
    animation-delay: 6s;
}

@keyframes taglineFade {

    0%,
    100% {
        opacity: 0;
        transform: translateY(5px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    33% {
        opacity: 1;
        transform: translateY(0);
    }

    43% {
        opacity: 0;
        transform: translateY(-5px);
    }
}

@media (max-width: 600px) {
    .header__tagline {
        display: none;
        /* Hide on mobile if too cramped, or adjust */
    }
}


.header__nav {
    display: flex;
}

.header__nav-list {
    display: flex;
    gap: 30px;
}

.header__nav-link {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    /* letter-spacing: 0.5px; Removed */
}

.header__nav-link:hover {
    color: var(--color-accent);
}

.header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.header__burger span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-primary);
}

@media (max-width: 900px) {
    .header__nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg-body);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 90;
    }

    .header__nav.active {
        transform: translateY(0);
        display: flex;
    }

    .header__nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .header__nav-link {
        font-size: 24px;
    }

    .header__cta {
        display: none;
    }

    .header__burger {
        display: flex;
        z-index: 100;
        position: relative;
    }

    .header__burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .header__burger.active span:nth-child(2) {
        opacity: 0;
    }

    .header__burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .header__burger span {
        transition: all 0.3s ease;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-primary);
    height: auto;
    padding-bottom: 80px;
}

.hero__bg {
    position: relative;
    height: 50vh;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.hero__content {
    margin-top: -80px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero__avatar-wrapper {
    display: inline-block;
    padding: 5px;
    background: var(--color-bg-body);
    border-radius: 50%;
}

.hero__avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 42px;
    margin-top: 20px;
    font-weight: 300;
}

.hero__subtitle {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

body.dark-mode .hero__subtitle {
    color: var(--color-text-muted);
}

/* Separator */
.separator-line {
    height: 1px;
    background: linear-gradient(to right, transparent, #333333, transparent);
    opacity: 0.2;
    margin: 0 auto;
    max-width: 800px;
}

body.dark-mode .separator-line {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* About Section */
.about__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    font-weight: 300;
}

.about__text {
    margin-bottom: 20px;
    text-wrap: balance;
    /* Modern solution for even lines */
    max-width: 100%;
    /* Ensure it takes space */
}

/* Portfolio Grid */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio__grid--featured {
    grid-template-columns: repeat(2, 1fr);
}

.portfolio__item {
    position: relative;
    cursor: pointer;
}

.portfolio__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 4px;
}

.portfolio__item:hover img {
    transform: scale(1.03);
}

.portfolio__title {
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: 18px;
    text-align: center;
    color: var(--color-text-primary);
    font-weight: 600;
}

@media (max-width: 900px) {
    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio__grid--featured {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .portfolio__grid {
        grid-template-columns: 1fr;
    }
}

.portfolio__footer {
    margin-top: 60px;
    text-align: center;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay-1 {
    transition-delay: 0.2s;
}

.reveal--delay-2 {
    transition-delay: 0.4s;
}

/* Services */
.services__table {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e0e0e0;
}

.service-row {
    display: flex;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
    gap: 40px;
}

.service-row__main {
    flex: 2;
    min-width: 250px;
}

.service-row__label {
    flex: 1;
    font-size: 12px;
    color: #999;
    /* letter-spacing: 1px; Removed */
    text-transform: uppercase;
    padding-top: 5px;
}

body.dark-mode .service-row__label {
    color: var(--color-text-muted);
}

.service-row__desc {
    flex: 3;
}

.service-row__title {
    font-family: var(--font-heading);
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.2;
}

.service-row__price {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

body.dark-mode .service-row__price {
    color: var(--color-text-muted);
}

.service-row__subprice {
    font-size: 13px;
    color: #999;
}

body.dark-mode .service-row__subprice {
    color: var(--color-text-muted);
}

.service-row__desc ul {
    list-style: none;
    margin-bottom: 20px;
}

.service-row__desc li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.service-row__link {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    /* letter-spacing: 1px; Removed */
    color: var(--color-text-primary);
    font-weight: 600;
    margin-top: 10px;
}

.services__footer {
    margin-top: 60px;
    text-align: center;
    /* Or right aligned? Reference has centered button usually */
}

@media (max-width: 900px) {
    .service-row {
        flex-direction: column;
        gap: 20px;
    }

    .service-row__label {
        display: none;
        /* Hide label on mobile to save space, or keep it? Reference usually stacks. */
    }
}

/* Stages */
.stages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stage-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--color-bg-surface);
    padding: 40px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border-radius: 4px;
}

.stage-item:hover {
    box-shadow: 0 15px 40px var(--color-header-shadow);
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.stage-item__number {
    font-family: var(--font-heading);
    font-size: 80px;
    color: var(--color-text-secondary);
    line-height: 1;
    opacity: 1;
    margin-bottom: 15px;
    font-weight: 700;
}

.stage-item__title {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stage-item__desc ul {
    list-style: none;
    /* Remove default bullets */
    padding-left: 0;
    font-size: 15px;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
}

body.dark-mode .stage-item__desc ul {
    color: var(--color-text-primary);
}

.stage-item__desc li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    /* Space for custom bullet */
}

.stage-item__desc li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
    top: 2px;
}

.stage-item__meta {
    font-size: 14px;
    color: #888;
    margin-top: auto;
    /* Push to bottom */
}

body.dark-mode .stage-item__meta {
    color: var(--color-text-muted);
}

.stage-item__meta em {
    display: block;
    font-style: normal;
    margin-bottom: 0;
    line-height: 1.4;
    color: var(--color-text-secondary);
}

/* Fix for 4th item */
.stage-item:nth-child(4) {
    grid-column: auto;
}

@media (max-width: 900px) {
    .stages__grid {
        grid-template-columns: 1fr;
    }

    .stage-item:nth-child(4) {
        grid-column: auto;
    }

    .service-card {
        flex-direction: column !important;
        /* Force stack on mobile */
        text-align: left;
    }

    .service-card__image-col {
        width: 100%;
    }
}

/* CTA Section */
.cta-section {
    text-align: center;
    background-color: var(--color-white);
    padding: 80px 0;
}

/* Footer */
.footer {
    padding: 80px 0 0;
    background-color: var(--color-bg-body);
    border-top: 1px solid var(--color-border);
    overflow: hidden;
}

.footer__top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.footer__col-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.footer__col-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dark-mode .footer__col-content {
    color: var(--color-text-muted);
}

.footer__link {
    transition: color 0.3s;
}

.footer__link:hover {
    color: var(--color-accent);
}

.footer__socials {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 500;
}

.social-link:hover {
    color: var(--color-accent);
}

.footer__copyright {
    margin-top: 20px;
    font-size: 10px;
    color: #999;
}

body.dark-mode .footer__copyright {
    color: var(--color-text-muted);
}

.footer__big-text {
    font-family: var(--font-heading);
    font-size: 34vw;
    /* Increased to fill width */
    line-height: 0.8;
    text-align: center;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: -0.02em;
    width: 100%;
    overflow: hidden;
    user-select: none;
    margin-bottom: -5vw;
    /* Pull bottom closer if needed, or let it sit */
    display: flex;
    /* Helps with vertical alignment/cropping */
    justify-content: center;
    align-items: flex-end;
    /* Align bottom */
}

/* Mobile Typography & Hero Adjustments */
@media (max-width: 600px) {
    .footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer__socials {
        justify-content: center;
    }

    .section {
        padding: 40px 0;
    }

    .section__title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .hero {
        min-height: 300px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 14px;
    }

    .hero__avatar {
        width: 120px;
        height: 120px;
    }

    .header__logo-text {
        font-size: 20px;
    }

    .header__logo-img {
        width: 40px;
    }
}

/* NKT Interiors art direction v16 */
body.art-site {
    --art-bg: #10100f;
    --art-surface: #191918;
    --art-text: #f1f0ec;
    --art-muted: #aaa79f;
    --art-accent: #ffbe98;
    --art-line: rgba(241, 240, 236, 0.22);
    --art-soft-line: rgba(241, 240, 236, 0.11);
    --art-gutter: clamp(18px, 3.2vw, 56px);
    margin: 0;
    overflow-x: hidden;
    background: var(--art-bg);
    color: var(--art-text);
    font-family: 'Jost', 'Century Gothic', sans-serif;
    font-weight: 300;
    line-height: 1.5;
    color-scheme: dark;
}

body.page-home {
    --hero-logo: #1b1a18;
    --hero-nav: #1b1a18;
    --hero-cta: #663c31;
    --hero-copy: #f4f0e8;
    --hero-choice: #f4f0e8;
}

body.page-home[data-hero-palette="olive"] {
    --hero-logo: #f3eee3;
    --hero-nav: #f3eee3;
    --hero-cta: #f3eee3;
    --hero-copy: #f4efe4;
    --hero-choice: #f4efe4;
}

body.page-home[data-hero-palette="bordeaux"] {
    --hero-logo: #fff0e5;
    --hero-nav: #fff0e5;
    --hero-cta: #fff0e5;
    --hero-copy: #fff3e9;
    --hero-choice: #fff3e9;
}

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

.art-site ::selection {
    background: var(--art-accent);
    color: var(--art-bg);
}

.art-site::-webkit-scrollbar {
    width: 8px;
}

.art-site::-webkit-scrollbar-track {
    background: var(--art-bg);
}

.art-site::-webkit-scrollbar-thumb {
    background: #595853;
    border: 2px solid var(--art-bg);
}

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

.art-site a,
.art-site button,
.art-site summary {
    -webkit-tap-highlight-color: transparent;
}

.art-site a:focus-visible,
.art-site button:focus-visible,
.art-site summary:focus-visible {
    outline: 2px solid var(--art-accent);
    outline-offset: 5px;
}

.art-site a:active,
.art-site button:active {
    transform: translateY(1px);
}

.art-site h1,
.art-site h2,
.art-site h3,
.art-site p {
    margin: 0;
}

.art-site h1,
.art-site h2,
.art-site h3 {
    color: var(--art-text);
    font-family: 'Jost', 'Century Gothic', sans-serif;
    font-weight: 300;
    letter-spacing: -0.03em;
}

.art-site h2 {
    max-width: 14ch;
    font-size: clamp(2.75rem, 6.5vw, 6rem);
    line-height: 0.96;
}

.art-site .section-art {
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: clamp(88px, 11vw, 176px) var(--art-gutter);
    scroll-margin-top: 64px;
}

.art-site.motion-ready .reveal-art {
    opacity: 0;
    transform: translateY(32px);
}

.art-site.motion-ready .reveal-art.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site .media-reveal {
    overflow: hidden;
    background: var(--art-surface);
}

.art-site .media-reveal img {
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site a:hover .media-reveal img {
    transform: scale(1.025);
}

/* Navigation */
.art-site .header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    height: 72px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--art-text);
    transition: color 0.65s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.45s ease;
}

.art-site .header--solid {
    background: rgba(16, 16, 15, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.art-site .header__container {
    width: 100%;
    max-width: none;
    height: 72px;
    margin: 0;
    padding: 0 var(--art-gutter);
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 28px;
}

.art-site .header__logo {
    width: max-content;
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    color: var(--art-text);
    transition: color 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site .header__logo-text {
    color: inherit;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
}

.art-site .header__logo-signature {
    color: inherit;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.12em;
}

.art-site .header__nav {
    display: block;
}

.art-site .header__nav-list {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 36px);
}

.art-site .header__nav-link,
.art-site .header__cta,
.art-site .header__nav-contact {
    position: relative;
    color: var(--art-text);
    font-size: 0.69rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: color 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site .header__nav-link::after,
.art-site .header__cta::after,
.art-site .header__nav-contact::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site .header__nav-link:hover::after,
.art-site .header__cta:hover::after,
.art-site .header__nav-contact:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.art-site .header__cta {
    justify-self: end;
    color: var(--art-accent);
}

.art-site .header__nav-contact {
    display: none;
}

.art-site .header__burger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 12px 6px;
    border: 0;
    background: transparent;
}

.art-site .header__burger span {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--art-text);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site .header__burger span + span {
    margin-top: 8px;
}

.page-home.hero-visible:not(.menu-open) .header__logo {
    color: var(--hero-logo);
}

.page-home.hero-visible:not(.menu-open) .header__nav-link {
    color: var(--hero-nav);
}

.page-home.hero-visible:not(.menu-open) .header__cta {
    color: var(--hero-cta);
}

.page-home.hero-visible:not(.menu-open) .header__burger span {
    background: var(--hero-logo);
}

.page-home:not(.hero-visible) .header,
.page-home.menu-open .header {
    background: rgba(16, 16, 15, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Home hero */
.art-site .hero-art {
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
    background: var(--art-bg);
    color: var(--art-text);
}

.art-site .hero-art__slides,
.art-site .hero-art__slide {
    position: absolute;
    inset: 0;
}

.art-site .hero-art__slide {
    z-index: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site .hero-art__slide.is-active {
    z-index: 2;
    opacity: 1;
}

.art-site .hero-art__slide.is-leaving {
    z-index: 1;
}

.art-site .hero-art__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.art-site .hero-art__slide--graphite::after {
    background:
        linear-gradient(180deg, rgba(244, 242, 237, 0.18) 0%, rgba(244, 242, 237, 0) 32%),
        linear-gradient(180deg, rgba(14, 14, 13, 0) 43%, rgba(14, 14, 13, 0.82) 100%),
        linear-gradient(90deg, rgba(14, 14, 13, 0.2) 0%, rgba(14, 14, 13, 0) 46%);
}

.art-site .hero-art__slide--olive::after {
    background:
        linear-gradient(180deg, rgba(17, 21, 17, 0.48) 0%, rgba(17, 21, 17, 0) 29%),
        linear-gradient(180deg, rgba(20, 24, 18, 0) 42%, rgba(20, 24, 18, 0.82) 100%),
        linear-gradient(90deg, rgba(20, 24, 18, 0.26) 0%, rgba(20, 24, 18, 0) 48%);
}

.art-site .hero-art__slide--bordeaux::after {
    background:
        linear-gradient(180deg, rgba(37, 13, 15, 0.46) 0%, rgba(37, 13, 15, 0) 34%),
        linear-gradient(180deg, rgba(32, 9, 12, 0) 43%, rgba(32, 9, 12, 0.72) 100%);
}

.art-site .hero-art__slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.art-site .hero-art__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.art-site.motion-ready .hero-art__slide img {
    transform: scale(1.035);
    transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site.motion-ready.page-loaded .hero-art__slide.is-active img {
    transform: scale(1);
}

.art-site .hero-art__content {
    position: absolute;
    right: var(--art-gutter);
    bottom: clamp(28px, 5vw, 78px);
    left: var(--art-gutter);
    z-index: 3;
    color: var(--hero-copy);
    pointer-events: none;
    text-shadow: 0 2px 24px rgba(12, 12, 11, 0.24);
    transition: color 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site .hero-art__role {
    margin-bottom: clamp(16px, 2vw, 28px);
    color: inherit;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    letter-spacing: 0.04em;
}

.art-site .hero-art__title {
    max-width: 12ch;
    color: inherit;
    font-size: clamp(3.6rem, 8vw, 6rem);
    line-height: 0.86;
}

.art-site .hero-art__title span {
    display: block;
}

.art-site.motion-ready .hero-art__role,
.art-site.motion-ready .hero-art__title {
    opacity: 0;
    transform: translateY(24px);
}

.art-site.motion-ready.page-loaded .hero-art__role,
.art-site.motion-ready.page-loaded .hero-art__title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s 0.15s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site.motion-ready.page-loaded .hero-art__title {
    transition-delay: 0.24s;
}

.art-site .hero-art__choices {
    position: absolute;
    right: var(--art-gutter);
    bottom: clamp(36px, 5vw, 74px);
    z-index: 4;
    display: grid;
    width: min(280px, 22vw);
    color: var(--hero-choice);
    transition: color 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site .hero-art__choice {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 54px;
    align-items: center;
    gap: 18px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    opacity: 0.58;
    text-align: right;
    transition: opacity 0.35s ease;
}

.art-site .hero-art__choice::after {
    content: '';
    width: 54px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0.32);
    transform-origin: right;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site .hero-art__choice:hover,
.art-site .hero-art__choice:focus-visible,
.art-site .hero-art__choice.is-active {
    opacity: 1;
}

.art-site .hero-art__choice.is-active::after {
    transform: scaleX(1);
}

/* About */
.art-site .about-art {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: 0 clamp(18px, 2vw, 34px);
}

.art-site .about-art__portrait {
    grid-column: 1 / span 4;
    aspect-ratio: 4 / 5;
}

.art-site .about-art__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-site .about-art__body {
    grid-column: 6 / -1;
    padding-top: clamp(24px, 5vw, 76px);
}

.art-site .about-art__body h2 {
    margin-bottom: clamp(42px, 7vw, 98px);
}

.art-site .about-art__copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 64px);
    max-width: 72ch;
}

.art-site .about-art__copy p {
    color: #d0cec8;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.65;
}

/* Selected work */
.art-site .work {
    padding-top: clamp(48px, 6vw, 96px);
}

.art-site .work__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(64px, 9vw, 140px);
}

.art-site .text-link {
    padding: 10px 0;
    border-bottom: 1px solid var(--art-text);
    color: var(--art-text);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.art-site .text-link:hover {
    border-color: var(--art-accent);
    color: var(--art-accent);
}

.art-site .work__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(56px, 9vw, 150px) clamp(18px, 2.6vw, 44px);
}

.art-site .work-card {
    color: var(--art-text);
}

.art-site .work-card--wide {
    grid-column: 1 / span 8;
}

.art-site .work-card--portrait {
    grid-column: 9 / -1;
    margin-top: 16vw;
}

.art-site .work-card--offset {
    grid-column: 2 / span 5;
}

.art-site .work-card--tall {
    grid-column: 8 / span 4;
    margin-top: -4vw;
}

.art-site .work-card__media {
    aspect-ratio: 16 / 10;
}

.art-site .work-card--portrait .work-card__media,
.art-site .work-card--tall .work-card__media {
    aspect-ratio: 3 / 4;
}

.art-site .work-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-site .work-card__caption,
.art-site .project-tile__caption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding-top: 16px;
}

.art-site .work-card__caption h3,
.art-site .project-tile__caption h2 {
    max-width: none;
    font-size: clamp(1.05rem, 1.6vw, 1.5rem);
    line-height: 1.15;
}

.art-site .work-card__caption span,
.art-site .project-tile__caption span {
    color: var(--art-muted);
    font-size: 0.78rem;
    white-space: nowrap;
}

/* Services */
.art-site .services-art__intro {
    display: block;
    margin-bottom: clamp(56px, 8vw, 124px);
}

.art-site .services-art__intro h2 {
    margin-bottom: 30px;
}

.art-site .services-art__intro p {
    max-width: 48ch;
    color: var(--art-muted);
    font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.art-site .services-art__list {
    border-top: 1px solid var(--art-line);
}

.art-site .service-art {
    border-bottom: 1px solid var(--art-line);
}

.art-site .service-art summary {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(160px, 0.7fr) 34px;
    align-items: center;
    gap: 28px;
    min-height: clamp(110px, 12vw, 168px);
    cursor: pointer;
    list-style: none;
}

.art-site .service-art summary::-webkit-details-marker {
    display: none;
}

.art-site .service-art__name {
    font-size: clamp(1.5rem, 3.3vw, 3.8rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1;
}

.art-site .service-art__price {
    color: #d0cec8;
    font-size: clamp(0.95rem, 1.3vw, 1.2rem);
}

.art-site .service-art__toggle {
    position: relative;
    width: 30px;
    height: 30px;
}

.art-site .service-art__toggle::before,
.art-site .service-art__toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 3px;
    width: 24px;
    height: 1px;
    background: var(--art-text);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site .service-art__toggle::after {
    transform: rotate(90deg);
}

.art-site .service-art[open] .service-art__toggle::after {
    transform: rotate(0deg);
}

.art-site .service-art__content {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.2fr);
    gap: 24px 56px;
    max-width: 920px;
    padding: 4px 0 clamp(44px, 6vw, 84px) 28%;
    color: #d0cec8;
}

.art-site .service-art__content p {
    color: var(--art-muted);
    font-size: 0.9rem;
}

.art-site .service-art__content ul {
    display: grid;
    gap: 10px;
    list-style: none;
}

.art-site .service-art__content li {
    font-size: clamp(0.96rem, 1.2vw, 1.1rem);
}

.art-site .service-art__content a {
    grid-column: 2;
    width: max-content;
    margin-top: 10px;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    color: var(--art-accent);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

/* Process */
.art-site .stages-art h2 {
    margin-bottom: clamp(62px, 9vw, 138px);
}

.art-site .stages-art__list {
    border-top: 1px solid var(--art-line);
}

.art-site .stage-art {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr 2.3fr 1fr;
    align-items: start;
    gap: clamp(18px, 3vw, 54px);
    padding: clamp(38px, 5vw, 72px) 0;
    border-bottom: 1px solid var(--art-line);
}

.art-site .stage-art__number {
    color: var(--art-accent);
    font-size: clamp(2.5rem, 4.6vw, 4.8rem);
    font-variant-numeric: tabular-nums;
    line-height: 0.9;
}

.art-site .stage-art h3 {
    max-width: 15ch;
    font-size: clamp(1.2rem, 2vw, 2rem);
    line-height: 1.05;
}

.art-site .stage-art ul {
    display: grid;
    gap: 14px;
    color: #d0cec8;
    list-style: none;
}

.art-site .stage-art li {
    font-size: clamp(0.95rem, 1.1vw, 1.08rem);
}

.art-site .stage-art__meta {
    display: grid;
    gap: 8px;
    color: var(--art-muted);
    font-size: 0.8rem;
}

/* Contact and footer */
.art-site .contact-art {
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: clamp(96px, 14vw, 220px) var(--art-gutter);
    border-top: 1px solid var(--art-soft-line);
}

.art-site .contact-art p {
    max-width: 18ch;
    margin-bottom: clamp(46px, 7vw, 96px);
    font-size: clamp(2.7rem, 6.5vw, 6rem);
    letter-spacing: -0.03em;
    line-height: 0.98;
}

.art-site .contact-art a {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 1px solid var(--art-accent);
    background: var(--art-accent);
    color: var(--art-bg);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.art-site .contact-art a:hover {
    background: transparent;
    color: var(--art-accent);
}

.art-site .footer {
    position: relative;
    padding: clamp(56px, 7vw, 100px) var(--art-gutter) 0;
    overflow: hidden;
    border-top: 1px solid var(--art-line);
    background: var(--art-bg);
    color: var(--art-text);
}

.art-site .footer__top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 36px;
    margin: 0 0 clamp(54px, 8vw, 110px);
}

.art-site .footer__identity,
.art-site .footer__contact,
.art-site .footer__socials {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    color: #d0cec8;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.art-site .footer__identity strong {
    margin-bottom: 10px;
    color: var(--art-text);
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.art-site .footer__top a,
.art-site .footer__legal a {
    color: inherit;
}

.art-site .footer__top a:hover,
.art-site .footer__legal a:hover {
    color: var(--art-accent);
}

.art-site .footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding-top: 22px;
    border-top: 1px solid var(--art-soft-line);
    color: var(--art-muted);
    font-size: 0.62rem;
    letter-spacing: 0.05em;
}

.art-site .footer__legal span {
    margin-left: auto;
}

.art-site .footer__notice {
    margin-top: 14px;
    color: #aaa9a2;
    font-size: 0.72rem;
}

.art-site .footer__wordmark {
    margin-bottom: -5vw;
    color: var(--art-accent);
    font-size: min(34vw, 520px);
    font-weight: 600;
    letter-spacing: -0.08em;
    line-height: 0.78;
    text-align: center;
    user-select: none;
}

/* Portfolio index */
.art-site .projects-hero {
    position: relative;
    min-height: 56dvh;
    overflow: hidden;
}

.art-site .projects-hero__media,
.art-site .projects-hero__shade {
    position: absolute;
    inset: 0;
}

.art-site .projects-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-site .projects-hero__shade {
    background: linear-gradient(180deg, rgba(16, 16, 15, 0.35), rgba(16, 16, 15, 0.72));
}

.art-site .projects-hero h1 {
    position: absolute;
    right: var(--art-gutter);
    bottom: clamp(36px, 6vw, 88px);
    left: var(--art-gutter);
    font-size: clamp(3.7rem, 8vw, 6rem);
    line-height: 0.9;
}

.art-site .projects-hero__index {
    position: absolute;
    right: var(--art-gutter);
    bottom: clamp(38px, 6vw, 90px);
    display: grid;
    gap: 8px;
    color: rgba(241, 240, 236, 0.78);
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    text-align: right;
}

.art-site .projects-index {
    padding-top: clamp(48px, 4vw, 64px);
}

.art-site .projects-index__intro {
    max-width: 35ch;
    margin: 0 0 clamp(28px, 3vw, 42px) auto;
    color: #d0cec8;
    font-size: clamp(1.25rem, 2.4vw, 2.25rem);
    line-height: 1.25;
}

.art-site .projects-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(70px, 10vw, 150px) clamp(18px, 2.8vw, 48px);
}

.art-site .project-tile {
    grid-column: span 5;
    color: var(--art-text);
}

.art-site .project-tile:nth-child(3n + 1) {
    grid-column: 1 / span 4;
}

.art-site .project-tile:nth-child(3n + 2) {
    grid-column: 7 / span 5;
    margin-top: 9vw;
}

.art-site .project-tile:nth-child(3n) {
    grid-column: 3 / span 8;
}

.art-site .project-tile__media {
    aspect-ratio: 4 / 3;
}

.art-site .project-tile:nth-child(3n + 1) .project-tile__media,
.art-site .project-tile:nth-child(3n + 2) .project-tile__media {
    aspect-ratio: 3 / 4;
}

.art-site .project-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project detail */
.art-site .project-hero {
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
    background: var(--art-surface);
}

.art-site .project-hero__image,
.art-site .project-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.art-site .project-hero__image {
    object-fit: cover;
}

.art-site .project-hero__shade {
    background: linear-gradient(180deg, rgba(16, 16, 15, 0.32), rgba(16, 16, 15, 0.08) 45%, rgba(16, 16, 15, 0.82));
}

.art-site .project-hero__content {
    position: absolute;
    right: var(--art-gutter);
    bottom: clamp(30px, 5vw, 72px);
    left: var(--art-gutter);
    display: grid;
    grid-template-columns: minmax(140px, 0.6fr) minmax(0, 2.2fr) minmax(140px, 0.6fr);
    align-items: end;
    gap: 24px;
}

.art-site .project-hero__content h1 {
    max-width: 18ch;
    font-size: clamp(3rem, 6.5vw, 6rem);
    line-height: 0.92;
    text-align: center;
}

.art-site .project-hero__back,
.art-site .project-hero__open {
    width: max-content;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--art-text);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    cursor: pointer;
}

.art-site .project-hero__open {
    justify-self: end;
}

.art-site .project-gallery {
    max-width: 1800px;
}

.art-site .project-gallery__single {
    display: grid;
    grid-template-columns: minmax(80px, 0.35fr) minmax(0, 1.4fr) auto;
    align-items: end;
    gap: 32px;
    width: 100%;
    padding: clamp(48px, 7vw, 96px) 0;
    border-top: 1px solid var(--art-soft-line);
    border-bottom: 1px solid var(--art-soft-line);
}

.art-site .project-gallery__single span,
.art-site .project-gallery__single a {
    color: var(--art-muted);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.art-site .project-gallery__single p {
    max-width: 32ch;
    font-size: clamp(1.3rem, 2.2vw, 2rem);
    line-height: 1.25;
}

.art-site .project-gallery__single a {
    padding-bottom: 8px;
    border-bottom: 1px solid currentColor;
}

.art-site .project-gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: clamp(40px, 7vw, 110px) clamp(16px, 2vw, 36px);
}

.art-site .project-gallery__item {
    grid-column: 1 / span 7;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--art-surface);
    cursor: zoom-in;
}

.art-site .project-gallery__item:nth-child(4n + 2) {
    grid-column: 9 / span 4;
    margin-top: 9vw;
}

.art-site .project-gallery__item:nth-child(4n + 3) {
    grid-column: 3 / span 5;
}

.art-site .project-gallery__item:nth-child(4n) {
    grid-column: 7 / span 6;
}

.art-site .project-gallery__item--wide {
    grid-column: 1 / -1 !important;
    margin-top: 0 !important;
}

.art-site .project-gallery__item img {
    width: 100%;
    height: auto;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-site .project-gallery__item:hover img {
    transform: scale(1.018);
}

.art-site .project-loading,
.art-site .project-empty {
    grid-column: 1 / -1;
    min-height: 40vh;
    color: var(--art-muted);
    font-size: 1.1rem;
}

.art-site .project-empty a {
    display: inline-block;
    margin-top: 28px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--art-accent);
    color: var(--art-accent);
    font-size: 0.75rem;
}

.art-site .lightbox-art {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    grid-template-rows: 70px minmax(0, 1fr) 70px;
    padding: 0 var(--art-gutter);
    background: rgba(16, 16, 15, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.art-site .lightbox-art.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.art-site .lightbox-art__bar,
.art-site .lightbox-art__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--art-muted);
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
}

.art-site .lightbox-art button {
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--art-text);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    cursor: pointer;
}

.art-site .lightbox-art__stage {
    display: flex;
    min-height: 0;
    align-items: center;
    justify-content: center;
}

.art-site .lightbox-art__stage img {
    max-width: 100%;
    max-height: calc(100dvh - 160px);
    object-fit: contain;
}

.art-site .lightbox-art__controls {
    justify-content: center;
    gap: 54px;
}

.art-site.menu-open,
.art-site.lightbox-open {
    overflow: hidden;
}

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

    .art-site .header__nav {
        position: fixed;
        inset: 0;
        z-index: -1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        padding: 110px var(--art-gutter) 56px;
        background: var(--art-bg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-16px);
        transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .art-site .header__nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .art-site .header__nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .art-site .header__nav-link {
        font-size: clamp(2rem, 5vw, 4.5rem);
        font-weight: 300;
        letter-spacing: -0.03em;
    }

    .art-site .header__nav-contact {
        display: block;
        margin-top: 46px;
        color: var(--art-accent);
        font-size: 0.8rem;
    }

    .art-site .header__cta {
        display: none;
    }

    .art-site .header__burger {
        position: relative;
        z-index: 3;
        display: block;
        justify-self: end;
    }

    .art-site .header__burger.active span:first-child {
        transform: translateY(4.5px) rotate(45deg);
    }

    .art-site .header__burger.active span:last-child {
        transform: translateY(-4.5px) rotate(-45deg);
    }

    .art-site .stage-art {
        grid-template-columns: 0.4fr 1.2fr 2fr;
    }

    .art-site .stage-art__meta {
        grid-column: 2 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .art-site {
        --art-gutter: 18px;
    }

    body.page-home[data-hero-palette="graphite"],
    body.page-home[data-hero-palette="olive"],
    body.page-home[data-hero-palette="bordeaux"] {
        --hero-logo: #1b1a18;
        --hero-nav: #1b1a18;
        --hero-cta: #1b1a18;
        --hero-choice: #1b1a18;
    }

    .art-site .header,
    .art-site .header__container {
        height: 64px;
    }

    .art-site .header__logo-text {
        font-size: 1.16rem;
    }

    .art-site .header__logo-signature {
        font-size: 0.59rem;
    }

    .art-site .section-art {
        padding-top: 88px;
        padding-bottom: 88px;
    }

    .art-site h2 {
        font-size: clamp(2.75rem, 15vw, 4.5rem);
    }

    .art-site .hero-art__slide--graphite::after {
        background:
            linear-gradient(180deg, rgba(242, 240, 235, 0.22) 0%, rgba(242, 240, 235, 0) 24%),
            linear-gradient(180deg, rgba(14, 14, 13, 0) 46%, rgba(14, 14, 13, 0.86) 100%);
    }

    .art-site .hero-art__slide--olive::after {
        background:
            linear-gradient(180deg, rgba(239, 235, 225, 0.18) 0%, rgba(239, 235, 225, 0) 24%),
            linear-gradient(180deg, rgba(20, 24, 18, 0) 45%, rgba(20, 24, 18, 0.86) 100%);
    }

    .art-site .hero-art__slide--bordeaux::after {
        background:
            linear-gradient(180deg, rgba(246, 239, 233, 0.16) 0%, rgba(246, 239, 233, 0) 25%),
            linear-gradient(180deg, rgba(32, 9, 12, 0) 46%, rgba(32, 9, 12, 0.8) 100%);
    }

    .art-site .hero-art__content {
        bottom: 28px;
        padding-right: 32px;
    }

    .art-site .hero-art__title {
        font-size: clamp(3.25rem, 16vw, 5rem);
        line-height: 0.9;
    }

    .art-site .hero-art__choices {
        top: 82px;
        right: 18px;
        bottom: auto;
        width: 72px;
        color: var(--hero-choice);
    }

    .art-site .hero-art__choice {
        display: block;
        width: 72px;
        min-height: 44px;
    }

    .art-site .hero-art__choice span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .art-site .hero-art__choice::after {
        position: absolute;
        top: 50%;
        right: 0;
        width: 72px;
        transform: scaleX(0.34);
    }

    .art-site .hero-art__choice.is-active::after {
        transform: scaleX(1);
    }

    .art-site .about-art {
        display: block;
    }

    .art-site .about-art__portrait {
        width: 72%;
        margin-left: auto;
    }

    .art-site .about-art__body {
        padding-top: 64px;
    }

    .art-site .about-art__body h2 {
        margin-bottom: 42px;
    }

    .art-site .about-art__copy {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .art-site .work__heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 56px;
    }

    .art-site .work__grid,
    .art-site .projects-grid,
    .art-site .project-gallery__grid {
        display: block;
    }

    .art-site .work-card,
    .art-site .project-tile,
    .art-site .project-gallery__item {
        display: block;
        width: 100%;
        margin: 0 0 64px;
    }

    .art-site .work-card--portrait,
    .art-site .work-card--tall {
        width: 78%;
        margin-left: auto;
    }

    .art-site .work-card--offset {
        width: 88%;
    }

    .art-site .work-card__media,
    .art-site .work-card--portrait .work-card__media,
    .art-site .work-card--tall .work-card__media {
        aspect-ratio: 4 / 5;
    }

    .art-site .services-art__intro {
        margin-bottom: 48px;
    }

    .art-site .services-art__intro h2 {
        margin-bottom: 24px;
    }

    .art-site .service-art summary {
        grid-template-columns: minmax(0, 1fr) 28px;
        gap: 16px;
        min-height: 108px;
    }

    .art-site .service-art__name {
        font-size: clamp(1.45rem, 8vw, 2.4rem);
        line-height: 1.03;
    }

    .art-site .service-art__price {
        grid-column: 1;
        grid-row: 2;
        padding-bottom: 20px;
    }

    .art-site .service-art__toggle {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .art-site .service-art__content {
        display: block;
        padding: 4px 0 44px;
    }

    .art-site .service-art__content p,
    .art-site .service-art__content ul {
        margin-bottom: 24px;
    }

    .art-site .service-art__content a {
        display: inline-block;
    }

    .art-site .stages-art h2 {
        margin-bottom: 54px;
    }

    .art-site .stage-art {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 24px 16px;
        padding: 38px 0;
    }

    .art-site .stage-art h3 {
        align-self: end;
    }

    .art-site .stage-art ul,
    .art-site .stage-art__meta {
        grid-column: 2;
    }

    .art-site .stage-art__meta {
        grid-template-columns: 1fr;
    }

    .art-site .contact-art {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .art-site .contact-art p {
        font-size: clamp(2.7rem, 13vw, 4.3rem);
    }

    .art-site .footer__top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .art-site .footer__legal {
        display: grid;
        gap: 12px;
    }

    .art-site .footer__legal span {
        margin: 16px 0 0;
    }

    .art-site .footer__wordmark {
        margin-top: 56px;
        margin-bottom: -2vw;
        font-size: 35vw;
    }

    .art-site .projects-hero {
        min-height: 66dvh;
    }

    .art-site .projects-hero__index {
        top: 96px;
        bottom: auto;
    }

    .art-site .projects-hero h1 {
        font-size: clamp(3.5rem, 17vw, 5rem);
    }

    .art-site .projects-index__intro {
        margin-bottom: 72px;
        margin-left: 15%;
    }

    .art-site .project-tile:nth-child(2n) {
        width: 82%;
        margin-left: auto;
    }

    .art-site .project-tile__media,
    .art-site .project-tile:nth-child(3n + 1) .project-tile__media,
    .art-site .project-tile:nth-child(3n + 2) .project-tile__media {
        aspect-ratio: 4 / 5;
    }

    .art-site .project-hero__content {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 24px;
    }

    .art-site .project-hero__content h1 {
        grid-column: 1 / -1;
        grid-row: 1;
        min-width: 0;
        width: calc(100vw - (2 * var(--art-gutter)));
        max-width: none;
        font-size: clamp(2.65rem, 12vw, 4rem);
        overflow-wrap: break-word;
        text-align: left;
    }

    .art-site .project-hero__back {
        grid-column: 1;
        grid-row: 2;
    }

    .art-site .project-hero__open {
        grid-column: 2;
        grid-row: 2;
    }

    .art-site .project-gallery__item,
    .art-site .project-gallery__item:nth-child(n) {
        width: 100%;
        margin: 0 0 22px;
    }

    .art-site .project-gallery__single {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .art-site .project-gallery__item:nth-child(3n + 2) {
        width: 78%;
        margin: 64px 0 64px auto;
    }

    .art-site .lightbox-art {
        grid-template-rows: 58px minmax(0, 1fr) 64px;
    }
}

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