body.home-page,
body.exhibition-page,
body.projects-page,
body.legal-page {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(199, 95, 47, 0.14), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(16, 16, 16, 0.08), transparent 28%),
        linear-gradient(180deg, #f5f0e8 0%, #f9f7f2 42%, #eee7dc 100%);
    color: #1f1d1a;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.home-page .page-shell,
.exhibition-page .page-shell,
.projects-page .page-shell,
.legal-page .page-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.home-page .page-shell::before,
.home-page .page-shell::after,
.exhibition-page .page-shell::before,
.exhibition-page .page-shell::after,
.projects-page .page-shell::before,
.projects-page .page-shell::after,
.legal-page .page-shell::before,
.legal-page .page-shell::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    filter: blur(50px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.home-page .page-shell::before,
.exhibition-page .page-shell::before,
.projects-page .page-shell::before,
.legal-page .page-shell::before {
    width: 320px;
    height: 320px;
    right: -80px;
    top: 160px;
    background: rgba(199, 95, 47, 0.18);
}

.home-page .page-shell::after,
.exhibition-page .page-shell::after,
.projects-page .page-shell::after,
.legal-page .page-shell::after {
    width: 260px;
    height: 260px;
    left: -100px;
    bottom: 140px;
    background: rgba(20, 20, 20, 0.08);
}

.home-page .home-main,
.exhibition-page .home-main,
.projects-page .home-main,
.legal-page .home-main {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100vw - 40px));
    margin: 0 auto;
    padding: 48px 0 72px;
}

.home-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 16px 20px;
    border-radius: 24px;
    border: 1px solid rgba(32, 32, 32, 0.08);
    background: rgba(255, 255, 255, 0.46);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 34px rgba(24, 18, 10, 0.06);
}

.home-banner__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(31, 29, 26, 0.72);
}

.home-banner__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1f1d1a;
}

.home-banner__dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(199, 95, 47, 0.9);
    box-shadow: 0 0 0 6px rgba(199, 95, 47, 0.08);
}

.home-banner__meta-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.home-banner__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.home-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(32, 32, 32, 0.08);
    box-shadow: 0 8px 20px rgba(24, 18, 10, 0.05);
    color: #1f1d1a;
}

.home-chip strong {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
}

.home-chip span {
    font-size: 0.78rem;
    line-height: 1.2;
    color: rgba(31, 29, 26, 0.7);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 24px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.project-card {
    border: 1px solid rgba(32, 32, 32, 0.08);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 50px rgba(24, 18, 10, 0.08);
}

.hero-copy {
    border-radius: 34px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    overflow: hidden;
    position: relative;
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(199, 95, 47, 0.16), transparent 65%);
    pointer-events: none;
}

.hero-kicker {
    margin: 0 0 18px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(32, 32, 32, 0.58);
}

.hero-copy h1 {
    margin: 0;
    max-width: 11ch;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: clamp(3.2rem, 7vw, 6.9rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
    font-weight: 600;
}

.hero-lede {
    margin: 18px 0 0;
    max-width: 42ch;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(31, 29, 26, 0.82);
}

.hero-text {
    margin: 14px 0 0;
    max-width: 34rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(31, 29, 26, 0.72);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.button-primary {
    background: #1f1d1a;
    color: #f8f5ee;
    border: 1px solid #1f1d1a;
}

.button-secondary {
    border: 1px solid rgba(32, 32, 32, 0.15);
    color: #1f1d1a;
    background: rgba(255, 255, 255, 0.45);
}

.hero-panel {
    border-radius: 34px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.panel-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(32, 32, 32, 0.56);
}

.panel-label::before {
    content: "";
    width: 34px;
    height: 1px;
    background: rgba(32, 32, 32, 0.28);
}

.hero-panel h2 {
    margin: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
    font-weight: 600;
}

.hero-panel p {
    margin: 0;
    color: rgba(31, 29, 26, 0.72);
    line-height: 1.6;
}

.exhibition {
    margin-top: 30px;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(32, 32, 32, 0.08);
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 50px rgba(24, 18, 10, 0.08);
    display: grid;
    gap: 22px;
}

.exhibition-copy {
    display: grid;
    gap: 12px;
}

.exhibition-copy h2 {
    margin: 0;
    max-width: 100%;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 0.95;
    font-weight: 600;
    width: 100%;
}

.exhibition-copy p {
    margin: 0;
    max-width: 100%;
    color: rgba(31, 29, 26, 0.72);
    line-height: 1.6;
}

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

.exhibition-card {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(32, 32, 32, 0.08);
    box-shadow: 0 16px 40px rgba(24, 18, 10, 0.08);
}

.exhibition-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.exhibition-card__price {
    padding: 12px 14px 14px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    line-height: 1.1;
    font-weight: 600;
    color: #1f1d1a;
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
}

.exhibition-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-top: 4px;
    flex-wrap: wrap;
}

.exhibition-contact {
    margin: 0;
    color: rgba(31, 29, 26, 0.72);
    line-height: 1.6;
}

.exhibition-contact {
    font-size: 0.92rem;
}

.exhibition-contact a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(31, 29, 26, 0.2);
}

.exhibition-contact a:hover,
.exhibition-contact a:focus-visible {
    border-bottom-color: currentColor;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.stat {
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(32, 32, 32, 0.08);
}

.stat strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.stat span {
    display: block;
    font-size: 0.8rem;
    color: rgba(31, 29, 26, 0.64);
    line-height: 1.4;
}

.project-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 18px;
}

.projects-overview-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.project-card {
    position: relative;
    display: block;
    border-radius: 30px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    min-height: 320px;
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card--overview {
    min-height: 360px;
}

.legal-main {
    display: grid;
    gap: 22px;
}

.legal-hero {
    display: grid;
    gap: 12px;
    max-width: 72ch;
}

.legal-hero .eyebrow {
    margin: 0;
}

.legal-hero h1 {
    margin: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 600;
}

.legal-hero p {
    margin: 0;
    max-width: 58ch;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(31, 29, 26, 0.74);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.legal-card {
    padding: 28px;
    border-radius: 30px;
    border: 1px solid rgba(32, 32, 32, 0.08);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 50px rgba(24, 18, 10, 0.08);
}

.legal-card h2 {
    margin: 0 0 16px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1;
    font-weight: 600;
}

.legal-card p {
    margin: 0 0 12px;
    color: rgba(31, 29, 26, 0.72);
    line-height: 1.65;
}

.legal-card a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(31, 29, 26, 0.2);
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 999;
    max-width: min(920px, calc(100vw - 32px));
    width: 100%;
    padding: 18px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(32, 32, 32, 0.15);
    box-shadow: 0 22px 60px rgba(24, 18, 10, 0.12);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner--hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(16px);
}

.cookie-banner__text {
    margin: 0;
    color: #1f1d1a;
    font-size: 0.94rem;
    line-height: 1.5;
    flex: 1 1 0;
}

.cookie-banner__text a {
    color: #1f1d1a;
    text-decoration: underline;
}

.cookie-banner__text a:hover,
.cookie-banner__text a:focus-visible {
    text-decoration-thickness: 2px;
}

.cookie-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid #1f1d1a;
    background: #1f1d1a;
    color: #f8f5ee;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cookie-banner__button:hover,
.cookie-banner__button:focus-visible {
    transform: translateY(-1px);
    background: #3b3935;
}

@media (max-width: 700px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner__button {
        width: 100%;
    }
}

.legal-card a:hover,
.legal-card a:focus-visible {
    border-bottom-color: currentColor;
}

.legal-dl {
    margin: 0;
    display: grid;
    gap: 16px;
}

.legal-dl div {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(32, 32, 32, 0.08);
}

.legal-dl dt {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(31, 29, 26, 0.55);
}

.legal-dl dd {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(31, 29, 26, 0.8);
}

.legal-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
    color: rgba(31, 29, 26, 0.72);
    line-height: 1.6;
}

.legal-note {
    color: rgba(31, 29, 26, 0.62);
    font-size: 0.94rem;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 54px rgba(24, 18, 10, 0.15);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    background: linear-gradient(180deg, rgba(16, 16, 16, 0.06) 0%, rgba(16, 16, 16, 0.56) 100%);
    color: #f7f2eb;
}

.project-index {
    align-self: flex-start;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.75;
}

.project-title {
    margin: auto 0 6px;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    line-height: 0.95;
    font-weight: 600;
}

.project-copy {
    max-width: 20ch;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(247, 242, 235, 0.82);
}

.project-card--wide {
    min-height: 520px;
}

.project-card--tall {
    min-height: 520px;
}

.section-label {
    margin: 28px 0 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(31, 29, 26, 0.52);
}

.section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(31, 29, 26, 0.16);
}

@media (max-width: 980px) {
    .home-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-banner__chips {
        width: 100%;
        justify-content: flex-start;
    }

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

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

    .projects-overview-grid {
        grid-template-columns: 1fr;
    }

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

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

    .project-card--wide,
    .project-card--tall {
        min-height: 360px;
    }
}

@media (max-width: 720px) {
    .home-page .home-main,
    .exhibition-page .home-main,
    .projects-page .home-main {
        width: min(100vw - 20px, 1200px);
        padding: 24px 0 58px;
    }

    .hero-copy,
    .hero-panel,
    .project-card {
        border-radius: 26px;
    }

    .hero-copy {
        padding: 28px 22px 24px;
        min-height: auto;
    }

    .home-banner {
        padding: 14px 16px;
        border-radius: 20px;
    }

    .hero-copy h1 {
        max-width: 9ch;
        font-size: clamp(2.8rem, 14vw, 4.8rem);
    }

    .hero-panel {
        padding: 22px;
    }

    .exhibition {
        padding: 20px;
        border-radius: 26px;
    }

    .legal-card {
        padding: 22px;
        border-radius: 24px;
    }

    .exhibition-card img {
        aspect-ratio: 1 / 1;
    }

    .exhibition-footer {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .project-card,
    .project-card--wide,
    .project-card--tall {
        min-height: 300px;
    }
}
