/* ============================================================
   Local Fonts
   ============================================================ */
@font-face {
    font-family: 'Montserrat';
    src: url('../../Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../Montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
    --color-bg: #ffffff;
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-gray: #888;
    --font-display: 'Montserrat', sans-serif;
    --font-script: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --max-width: 1320px;
    --content-width: 1320px;
    --gutter: 5%;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;   /* verhindert horizontalen Scroll */
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-black);
    line-height: 1.5;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader__logo {
    width: clamp(280px, 40vw, 500px);
    text-align: center;
}

.preloader__christoph {
    display: block;
    width: 100%;
    height: auto;
    fill: var(--color-black);
    opacity: 0;
    animation: preloaderFadeIn 0.6s ease 0.2s forwards;
}

.preloader__studio {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    fill: var(--color-black);
    clip-path: inset(0 100% 0 0);
    animation: preloaderReveal 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

@keyframes preloaderFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes preloaderReveal {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0% 0 0); }
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    display: flex;
    align-items: center;
    padding: 44px var(--gutter);
    max-width: var(--content-width);
    margin: 0 auto;
}

.site-header .site-nav { margin-left: auto; }

.site-logo {
    display: block;
    flex-shrink: 0;
}

.site-logo__img {
    display: block;
    width: 350px;
    height: auto;
    filter: brightness(0);
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.site-nav a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.site-nav a:hover { opacity: 0.5; }

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-black);
    transition: all 0.3s;
}

/* ============================================================
   Hero Section (Homepage)
   ============================================================ */
.hero {
    position: relative;
    min-height: min(calc(100vh - 166px), 680px);
    padding: 0 var(--gutter);
    max-width: var(--content-width);
    margin: 0 auto;
}

.hero-images {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    pointer-events: none;
}

.hero-image {
    position: absolute;
    object-fit: cover;
    max-width: none;
}

/* Bild 1: oben links-mitte, kleiner */
.hero-image:nth-child(1) {
    top: 30px;
    left: 23vw;
    width: 18vw;
    aspect-ratio: 4 / 3;
    height: auto;
    transform: rotate(-4deg);
}

/* Bild 2: oben rechts, bricht rechts raus */
.hero-image:nth-child(2) {
    top: 20px;
    right: -3vw;
    width: 24vw;
    aspect-ratio: 4 / 3;
    height: auto;
    transform: rotate(4deg);
}

/* Bild 3: unten links, bricht links raus */
.hero-image:nth-child(3) {
    bottom: 30px;
    left: -5vw;
    width: 22vw;
    aspect-ratio: 4 / 3;
    height: auto;
    transform: rotate(-7deg);
}

/* Bild 4: unten rechts, bricht rechts raus, größer */
.hero-image:nth-child(4) {
    bottom: 10px;
    right: -5vw;
    width: 28vw;
    aspect-ratio: 4 / 3;
    height: auto;
    transform: rotate(6deg);
}

/* Text: volle Breite, großes Display-Typo, nach Bild 1 */
.hero-text {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: clamp(160px, 11vw, 280px);
    padding-bottom: clamp(140px, 8vw, 240px);
    text-align: center;
    mix-blend-mode: difference;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 3.2vw, 50px);
    line-height: 1.03;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--color-white);
}

/* ============================================================
   Section Headers
   ============================================================ */
.section-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.4rem, 3vw, 40px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* ============================================================
   Work / Artwork Grid Section
   ============================================================ */
.work-section,
.archive-section {
    padding: 180px var(--gutter) 80px;
    max-width: var(--content-width);
    margin: 0 auto;
}

.artwork-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 110px 147px;
}

/* ============================================================
   Artwork Card
   ============================================================ */
.artwork-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.artwork-card:hover .artwork-card__img { opacity: 0.9; }

.artwork-card__img-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artwork-card__img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s;
}

.artwork-card__title {
    font-family: var(--font-body);
    font-weight: 650;
    font-size: 16px;
    color: #000;
    margin-bottom: 10px;
    padding-left: 0;
}

.artwork-card__dims {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: 6px;
    padding-left: 0;
}

.artwork-card__status {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    padding-left: 0;
}

.artwork-card__status-badge {
    display: inline-block;
    margin-left: 0;
    background: var(--color-black);
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 6px 14px;
}

/* ============================================================
   Single Artwork Page
   ============================================================ */
.artwork-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 var(--gutter);
    max-width: var(--content-width);
    margin: 0 auto;
    align-items: start;
    height: calc(95vh - 166px);
    min-height: 620px;
}


.artwork-info {
    align-self: center;
}

.artwork-slider {
    align-self: center;
}

.artwork-info__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 28px;
    color: var(--color-black);
    text-transform: none;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 15px;
}

.artwork-info__artist {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: 40px;
}

.artwork-info__specs {
    font-size: 14px;
    font-weight: 350;
    line-height: 1.7;
    color: var(--color-black);
    margin-top: 30px;
    margin-bottom: 25px;
}

.artwork-info__available {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
    font-size: 15px;
    color: var(--color-black);
    margin-bottom: 25px;
}

.artwork-info__available svg {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
}

.artwork-info__copyright {
    font-size: 12px;
    font-weight: 300;
    color: #a6a6a6;
    line-height: 1.6;
    margin-bottom: 65px;
}

.artwork-info__btn {
    display: inline-block;
    border: 2px solid var(--color-black);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-white);
    background: var(--color-black);
    transition: background 0.2s, color 0.2s;
}

.artwork-info__btn:hover {
    background: transparent;
    color: var(--color-black);
}

.artwork-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.like-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--color-black);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.like-btn:hover,
.like-btn:focus-visible { transform: scale(1.08); outline: none; }

.like-btn svg path { transition: fill 0.15s ease; }
.like-btn[aria-pressed="true"] svg path { fill: currentColor; }

@keyframes heart-pulse {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.35); }
    60%  { transform: scale(0.92); }
    100% { transform: scale(1); }
}

.like-btn.is-pulsing,
.site-favorites.is-pulsing {
    animation: heart-pulse 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   Site Favorites (Nav)
   ============================================================ */
.site-favorites {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 24px;
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--color-black);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.site-favorites:hover,
.site-favorites:focus-visible { transform: scale(1.08); outline: none; }

.site-favorites[hidden] { display: none; }

.site-favorites__badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border-radius: 999px;
}

/* ============================================================
   Image Slider (Swiper)
   ============================================================ */
.artwork-swiper {
    overflow: visible !important;
}

.artwork-swiper .swiper-slide {
    width: 85%;
}

.artwork-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 200px);
    object-fit: contain;
}

.artwork-slider .swiper-pagination {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.artwork-slider .swiper-pagination-bullet {
    width: 14px;
    height: 15px;
    border-radius: 0;
    background: transparent;
    opacity: 1;
    mask-image: url("data:image/svg+xml,%3Csvg width='14' height='15' viewBox='0 0 14 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5.08627L1.48715 2.4126L5.51285 4.82746V0H8.48715V4.82746L12.5129 2.4126L14 5.08627L9.9743 7.50113L14 9.91373L12.5129 12.5874L8.48715 10.1748V15H5.51285V10.1748L1.48715 12.5874L0 9.91373L4.02571 7.50113L0 5.08627Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='14' height='15' viewBox='0 0 14 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5.08627L1.48715 2.4126L5.51285 4.82746V0H8.48715V4.82746L12.5129 2.4126L14 5.08627L9.9743 7.50113L14 9.91373L12.5129 12.5874L8.48715 10.1748V15H5.51285V10.1748L1.48715 12.5874L0 9.91373L4.02571 7.50113L0 5.08627Z'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    background-color: #ccc;
}

.artwork-slider .swiper-pagination-bullet-active {
    background-color: var(--color-black);
}

/* ============================================================
   Portfolio PDF Viewer
   ============================================================ */
.portfolio-viewer {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0px 0 120px;
    overflow: hidden;
}

.portfolio-viewer__swiper {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible !important;
}

.portfolio-viewer .portfolio-viewer__slide {
    width: min(calc(var(--content-width) * 0.9), 90vw);
    flex-shrink: 0;
    height: auto;
    background: #ededed;
    border-radius: 25px;
    box-shadow: -10px 0 10px 0 #a6a6a625;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-viewer__canvas {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.portfolio-viewer__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
    padding: 0 var(--gutter);
}

.portfolio-viewer__nav {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 999px;
    padding: 6px 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.portfolio-viewer__pager {
    min-width: 58px;
    text-align: center;
    padding: 0 6px;
    font-variant-numeric: tabular-nums;
}

.portfolio-viewer__slash {
    margin: 0 4px;
    opacity: 0.6;
}

.portfolio-viewer__btn {
    background: transparent;
    border: 0;
    color: var(--color-white);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    padding: 0;
}

.portfolio-viewer__btn:hover { background: rgba(255, 255, 255, 0.12); }
.portfolio-viewer__btn:disabled { opacity: 0.3; cursor: default; background: transparent; }

.portfolio-viewer__download {
    background: var(--color-black);
    color: var(--color-white);
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: opacity 0.2s;
}

.portfolio-viewer__download:hover { opacity: 0.85; }

/* ============================================================
   Other Pieces Section
   ============================================================ */
.other-pieces {
    padding: 60px var(--gutter) 80px;
    max-width: var(--content-width);
    margin: 0 auto;
}

.other-pieces-swiper {
    overflow: visible !important;
}

.other-pieces-swiper .swiper-slide {
    width: auto;
}

/* ============================================================
   Contact Section
   ============================================================ */
.contact-section {
    padding: 60px var(--gutter) 80px;
    max-width: var(--content-width);
    margin: 0 auto;
}

.contact-section__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 24px;
}

.contact-section__email a {
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--color-gray);
}

.contact-section__email a:hover { text-decoration-color: var(--color-black); }

.contact-section__location {
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--color-gray);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--color-white);
}

.site-footer-brand {
    padding: 40px 0 0;
    overflow: hidden;
    width: 100vw;
    max-width: none;
    margin: 0 0 -5px 0;
}

.site-footer-brand__logo {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.site-footer-meta {
    background: var(--color-black);
    padding: 140px 0 80px;
}

.site-footer-meta__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-footer-meta__inner p,
.site-footer-meta__inner a {
    color: var(--color-white);
    font-size: 0.8rem;
}

.site-footer-meta__inner a { text-decoration: none; }
.site-footer-meta__inner a:hover { opacity: 0.7; }

.site-footer-social {
    list-style: none;
    padding: 0;
    margin: 0 0 0 auto;
    display: flex;
    gap: 20px;
}

.site-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer-social svg {
    width: 22px;
    height: 22px;
    fill: var(--color-white);
    display: block;
}

/* ============================================================
   About Page
   ============================================================ */
.about-page {
    padding: 60px var(--gutter) 80px;
    max-width: var(--content-width);
    margin: 0 auto;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
    padding-bottom: 120px;
}

.about-intro__text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-black);
}

.about-intro__text p { margin-bottom: 18px; }

.about-intro__text p:first-child {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
}

.about-intro__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.exhibitions { padding: 40px 0 100px; }

.exhibitions .section-title { margin-bottom: 60px; }

.exhibitions__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.exhibition-item {
    display: grid;
    grid-template-columns: 80px 24px 1fr;
    gap: 24px;
    align-items: start;
}

.exhibition-item__year {
    font-weight: 600;
    font-size: 15px;
    padding-top: 2px;
    color: var(--color-black);
}

.exhibition-item__icon {
    display: inline-flex;
    align-items: flex-start;
    padding-top: 4px;
    color: var(--color-black);
}

.exhibition-item__title {
    font-weight: 700;
    font-size: 15px;
    color: var(--color-black);
    margin-bottom: 4px;
}

.exhibition-item__title a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #aaa;
}
.exhibition-item__title a:hover { text-decoration-color: var(--color-black); }

.exhibition-item__subtitle {
    font-size: 14px;
    color: var(--color-black);
    font-weight: 400;
}

@media (max-width: 900px) {
    .about-intro { grid-template-columns: 1fr; gap: 32px; padding-bottom: 60px; }
    .exhibition-item { grid-template-columns: 60px 20px 1fr; gap: 16px; }
}

/* ============================================================
   Favorites / Inquire Modal
   ============================================================ */
.has-modal-open { overflow: hidden; }

.favorites-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
}

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

.favorites-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.favorites-modal__panel {
    position: relative;
    width: 100%;
    max-width: 720px;
    background: #fff;
    border-radius: 4px;
    padding: 48px 56px 56px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
    margin: auto 0;
}

.favorites-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    padding: 0;
    color: #666;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
}
.favorites-modal__close:hover { color: var(--color-black); transform: scale(1.05); }

.favorites-modal__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.6rem, 2.6vw, 32px);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-black);
    margin-bottom: 32px;
}

.favorites-modal__list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.favorites-modal__empty {
    text-align: center;
    color: #999;
    padding: 30px 0;
    margin-bottom: 24px;
}

.fav-item {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 16px 44px 16px 16px;
    background: #f3f3f3;
    border-radius: 8px;
}

.fav-item__thumb {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fav-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fav-item__body {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-black);
}

.fav-item__title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.fav-item__artist,
.fav-item__dims {
    font-weight: 400;
    color: var(--color-black);
}

.fav-item__status {
    font-weight: 700;
    margin-top: 2px;
}

.fav-item__remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: transparent;
    border: 0;
    padding: 0;
    color: #888;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}
.fav-item__remove:hover { color: var(--color-black); }

/* Form */
.favorites-modal__form { display: flex; flex-direction: column; gap: 22px; }

.ff-row { display: flex; gap: 24px; }
.ff-row > .ff-field { flex: 1; }

.ff-field { display: flex; flex-direction: column; gap: 6px; }

.ff-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-black);
}

.ff-required { color: #e0234c; margin-left: 2px; }

.ff-input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #aaa;
    padding: 6px 2px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-black);
    transition: border-color 0.15s;
}

.ff-input::placeholder { color: #c5c5c5; }
.ff-input:focus { outline: none; border-bottom-color: var(--color-black); }

.ff-textarea {
    width: 100%;
    border: 1px solid #555;
    background: transparent;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-black);
    resize: vertical;
}

.ff-textarea::placeholder { color: #c5c5c5; }
.ff-textarea:focus { outline: none; border-color: var(--color-black); }

.ff-checks {
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ff-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ff-check {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
}

.ff-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ff-check__box {
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--color-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    transition: background 0.15s;
}

.ff-check__box::after {
    content: '✱';
    font-size: 16px;
    color: var(--color-black);
    opacity: 0;
    transition: opacity 0.15s;
}

.ff-check input:checked + .ff-check__box::after { opacity: 1; }
.ff-check input:focus-visible + .ff-check__box { outline: 2px solid var(--color-black); outline-offset: 2px; }

.ff-check__label {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-black);
}

.ff-status {
    min-height: 22px;
    font-size: 14px;
    text-align: center;
}
.ff-status[data-kind="error"]   { color: #c92a4a; }
.ff-status[data-kind="success"] { color: #1f8a3a; }
.ff-status[data-kind="pending"] { color: #888; }

.ff-submit-wrap { text-align: center; margin-top: 8px; }

.ff-submit {
    display: inline-block;
    background: var(--color-black);
    color: var(--color-white);
    border: 0;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.15s;
}
.ff-submit:hover { opacity: 0.85; }
.ff-submit:disabled { opacity: 0.5; cursor: default; }

@media (max-width: 600px) {
    .favorites-modal__panel { padding: 32px 22px 36px; }
    .favorites-modal__close { top: 14px; right: 14px; }
    .ff-row { flex-direction: column; gap: 22px; }
    .fav-item { padding-right: 32px; }
    .fav-item__thumb { flex-basis: 70px; width: 70px; height: 70px; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    :root { --gutter: 4%; }

    .artwork-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .artwork-detail { grid-template-columns: 1fr; gap: 40px; }
    .other-pieces__scroll > * { flex: 0 0 calc(33% - 12px); }

    /* Hero Tablet */
    .hero { min-height: 500px; }
}

@media (max-width: 600px) {
    .site-nav { display: none; }
    .site-nav.open { display: flex; position: fixed; inset: 0; background: var(--color-white); z-index: 100; align-items: center; justify-content: center; }
    .site-nav.open ul { flex-direction: column; align-items: center; gap: 32px; }
    .site-nav.open a { font-size: 1.2rem; }
    .site-header { display: block; }
    .site-logo { width: 100%; }
    .site-logo__img { width: 100%; }
    .nav-toggle {
        display: flex;
        z-index: 101;
        position: fixed;
        bottom: 24px;
        right: 24px;
        background: var(--color-black);
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        padding: 0;
    }
    .nav-toggle span { background: var(--color-white); }
    .artwork-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .other-pieces__scroll > * { flex: 0 0 calc(45% - 12px); }
    .contact-section__inner { flex-direction: column; gap: 12px; }
    .site-footer-meta { padding: 60px 0 40px; }
    .site-footer-meta__inner { flex-direction: column; gap: 16px; text-align: center; }
    .site-footer-social { margin: 0 auto; }

    /* Hero Mobile */
    .hero { min-height: calc(100vh - 80px); }
    .hero-text { padding-top: 120px; padding-bottom: 100px; }
    .hero-image:nth-child(1) { width: clamp(160px, 45vw, 220px); }
    .hero-image:nth-child(2) { width: clamp(130px, 35vw, 180px); }
    .hero-image:nth-child(3) { width: clamp(150px, 40vw, 200px); }
}
