:root {
    --bg: #fafaf7;
    --fg: #1b1b1b;
    --muted: #6b6b6b;
    --line: #e6e3dc;
    --accent: #1b1b1b;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --max: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--sans);
    color: var(--fg);
    background: var(--bg);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: var(--serif);
    font-size: 26px;
    letter-spacing: 0.5px;
}
.brand-tag {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--muted);
    transition: color 0.2s;
    position: relative;
}
.site-nav a:hover, .site-nav a.active { color: var(--fg); }
.site-nav a.active::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -6px;
    height: 1px; background: var(--fg);
}
.lang-switch {
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px !important;
    letter-spacing: 1px;
}

.nav-toggle {
    display: none;
    background: none; border: 0;
    width: 32px; height: 32px;
    flex-direction: column; justify-content: center; gap: 5px;
    padding: 0;
}
.nav-toggle span {
    display: block; width: 22px; height: 1px; background: var(--fg);
    transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 760px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0;
        max-height: 0; overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .site-nav.open { max-height: 400px; }
    .site-nav a {
        padding: 16px 24px;
        border-bottom: 1px solid var(--line);
        width: 100%;
    }
    .site-nav a.active::after { display: none; }
    .lang-switch { margin: 12px 24px; align-self: flex-start; }
}

/* ---------- Main ---------- */
main { min-height: calc(100vh - 200px); }
section { padding: 80px 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: 0.5px; }
h1 { font-size: clamp(36px, 5vw, 64px); margin: 0 0 16px; }
h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 24px; }
h3 { font-size: 20px; margin: 0 0 8px; }

.page-title {
    text-align: center;
    margin: 60px 0 40px;
}
.page-title h1 { margin: 0; }
.page-title .sub { color: var(--muted); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }

/* ---------- Beige zone wraps hero + manifesto with shared waves ---------- */
.beige-zone {
    position: relative;
    overflow: hidden;
    background: #efe7da;
}

/* ---------- Slideshow (hero) — framed gallery wall ---------- */
.hero {
    position: relative;
    min-height: calc(100vh - 78px);
    padding: 90px 60px 110px;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
}
/* Outer wood frame */
.hero-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 920px;
    padding: 22px;
    background: linear-gradient(180deg, #3a2418 0%, #22130c 50%, #160b05 100%);
    box-shadow:
        inset 0 1px 1px 1px hsla(0,0%,100%,.18),
        inset 0 -2px 2px hsla(0,0%,0%,.55),
        0 12px 60px hsla(0,0%,0%,.35),
        0 30px 40px -25px hsla(0,0%,0%,.30),
        0 50px 40px -25px hsla(0,0%,0%,.22),
        0 70px 40px -25px hsla(0,0%,0%,.14);
}
/* Cream mat */
.hero-mat {
    position: relative;
    padding: 22px;
    background: #fbf3e3;
    box-shadow:
        inset 0 3px 4px 1px hsla(0,0%,0%,.22),
        inset 0 6px 4px 1px hsla(0,0%,0%,.18),
        inset 0 9px 4px 1px hsla(0,0%,0%,.10),
        0 -1px 0 1px hsla(0,0%,0%,.4);
}
/* Photo area inside mat */
.hero-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f0ece4;
    overflow: hidden;
}
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-empty {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #888; font-family: var(--serif); font-size: 28px;
}
.hero-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 0 24px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
@media (max-width: 760px) {
    .hero { padding: 50px 30px 70px; }
    .hero-frame { padding: 12px; }
    .hero-mat { padding: 12px; }
}
.hero-overlay h1 {
    font-size: clamp(54px, 11vw, 160px);
    margin: 0;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    color: #fff;
    text-shadow:
        0 0 1px rgba(0,0,0,0.9),
        0 2px 6px rgba(0,0,0,0.7),
        0 0 30px rgba(0,0,0,0.5);
}
.hero-overlay .tag {
    letter-spacing: 10px; text-transform: lowercase;
    font-size: 15px; margin-top: 22px;
    font-weight: 400;
    opacity: 1;
    color: #fff;
    text-shadow:
        0 0 1px rgba(0,0,0,0.9),
        0 1px 4px rgba(0,0,0,0.7),
        0 0 14px rgba(0,0,0,0.4);
}
.hero-cta {
    margin-top: 28px;
    display: inline-block;
    padding: 14px 32px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    letter-spacing: 2px; text-transform: uppercase; font-size: 12px;
    transition: background 0.2s, color 0.2s;
}
.hero-cta:hover { background: #fff; color: #111; }
/* Hover-revealed dots inside the frame */
.hero-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 12px; z-index: 5;
    opacity: 0; transition: opacity 0.25s;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
}
.hero-photo:hover .hero-dots { opacity: 1; }
.hero-dots button {
    width: 9px; height: 9px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.7);
    background: transparent;
    padding: 0; cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.hero-dots button.active { background: #fff; transform: scale(1.15); }

/* Side arrows — sit on the wood frame, hover reveal */
.hero-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,0.45);
    background: rgba(0,0,0,0.30);
    color: #fff;
    border-radius: 50%;
    font-size: 22px; line-height: 0;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.25s, background 0.2s, color 0.2s;
    backdrop-filter: blur(4px);
}
.hero-photo:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover {
    background: rgba(255,255,255,0.92);
    color: #111;
}
.hero-prev { left: 12px; }
.hero-next { right: 12px; }
@media (hover: none) {
    .hero-photo .hero-arrow,
    .hero-photo .hero-dots { opacity: 1; }
}
@media (max-width: 600px) {
    .hero-arrow { width: 36px; height: 36px; font-size: 18px; }
}

/* ---------- Featured / Gallery grid ---------- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 { margin: 0; }
.section-title .sub {
    color: var(--muted); font-size: 12px;
    letter-spacing: 4px; text-transform: uppercase;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 36px;
}
.grid-item {
    cursor: pointer;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 4/5;
    position: relative;
    padding: 14px;
    box-shadow:
        0 1px 0 rgba(0,0,0,0.04),
        0 10px 26px -12px rgba(0,0,0,0.18);
    transition: transform 0.5s cubic-bezier(.2,.7,.3,1), box-shadow 0.5s;
    animation: gridFadeIn 0.6s ease-out both;
}
.grid-item:nth-child(1) { animation-delay: 0ms; }
.grid-item:nth-child(2) { animation-delay: 60ms; }
.grid-item:nth-child(3) { animation-delay: 120ms; }
.grid-item:nth-child(4) { animation-delay: 180ms; }
.grid-item:nth-child(5) { animation-delay: 240ms; }
.grid-item:nth-child(6) { animation-delay: 300ms; }
.grid-item:nth-child(7) { animation-delay: 360ms; }
.grid-item:nth-child(8) { animation-delay: 420ms; }
.grid-item:nth-child(n+9) { animation-delay: 480ms; }
@keyframes gridFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.grid-item:hover {
    transform: translateY(-6px);
    box-shadow:
        0 1px 0 rgba(0,0,0,0.04),
        0 22px 40px -14px rgba(0,0,0,0.28);
}
.grid-item img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform 0.6s ease, filter 0.5s;
    filter: saturate(0.95);
}
.grid-item:hover img { transform: scale(1.025); filter: saturate(1.08); }
@media (prefers-reduced-motion: reduce) {
    .grid-item { animation: none; }
    .grid-item:hover { transform: none; }
}
.grid-item .meta {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 16px 18px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
    color: #fff;
    transform: translateY(20px); opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}
.grid-item:hover .meta { transform: translateY(0); opacity: 1; }
.grid-item .meta h3 {
    font-family: var(--serif); font-size: 18px; margin: 0;
}
.grid-item .meta p { margin: 4px 0 0; font-size: 12px; opacity: 0.85; }

.center-cta {
    text-align: center; margin-top: 50px;
}
.btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--fg); color: #fff;
    letter-spacing: 2px; text-transform: uppercase;
    font-size: 12px;
    border: 1px solid var(--fg);
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.btn:hover { background: transparent; color: var(--fg); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--fg); color: #fff; }

.empty-note {
    text-align: center; color: var(--muted); padding: 60px 0;
}

/* ---------- Exhibitions (public) ---------- */
.exh-list {
    max-width: 920px;
    margin: 0 auto;
}
.exh-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
    padding: 50px 0;
    border-bottom: 1px solid var(--line);
}
.exh-card:first-child { padding-top: 0; }
.exh-card:last-child  { border-bottom: 0; padding-bottom: 0; }

.exh-photo {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg);
    box-shadow:
        0 1px 0 rgba(0,0,0,0.04),
        0 10px 30px -10px rgba(0,0,0,0.20);
}
.exh-photo img { width: 100%; height: 100%; object-fit: contain; }

.exh-body { position: relative; }
.exh-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #3a3a3a;
    margin: 0 0 10px;
}
.exh-body p:first-of-type {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(19px, 2vw, 26px);
    line-height: 1.3;
    color: var(--fg);
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}
.exh-body { margin: 0; }

/* Text-only card (no photo): full width, centered */
.exh-card--text {
    display: block;
    text-align: center;
    padding: 38px 0;
}
.exh-card--text .exh-body {
    max-width: 640px;
    margin: 0 auto;
}
.exh-card--text .exh-body p:first-of-type {
    font-size: clamp(21px, 2.2vw, 28px);
}

@media (max-width: 760px) {
    .exh-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 36px 0;
        text-align: center;
    }
}

/* ---------- Exhibitions (admin list) ---------- */
.exh-admin-list { display: flex; flex-direction: column; gap: 12px; }
.exh-admin-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    padding: 12px;
}
.exh-admin-item img {
    width: 100px; height: 75px; object-fit: cover; background: #eee;
}
.exh-admin-noimg {
    width: 100px; height: 75px;
    background: #f0f0f0; color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.exh-admin-info { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.exh-admin-info strong { font-weight: 500; }
.exh-admin-info .muted { color: var(--muted); font-size: 12px; }
.exh-admin-actions { display: flex; gap: 8px; }

/* ---------- Manifesto (handwritten under hero) ---------- */
.manifesto {
    position: relative;
    padding: 14px 24px 36px;
    background: transparent;
}
.manifesto .container {
    max-width: 1200px;
    position: relative;
    z-index: 2;
}
.bg-wave {
    position: absolute;
    left: 0;
    width: 200%;
    pointer-events: none;
    z-index: 1;
    animation: waveTremble 0.36s linear infinite;
}
.wave-1  { animation-delay: 0.00s; }
.wave-2  { animation-delay: 0.01s; }
.wave-3  { animation-delay: 0.02s; }
.wave-4  { animation-delay: 0.03s; }
.wave-5  { animation-delay: 0.04s; }
.wave-6  { animation-delay: 0.05s; }
.wave-7  { animation-delay: 0.06s; }
.wave-8  { animation-delay: 0.07s; }
.wave-9  { animation-delay: 0.015s; }
.wave-10 { animation-delay: 0.045s; }
.wave-11 { animation-delay: 0.025s; }
.wave-12 { animation-delay: 0.065s; }
@keyframes waveTremble {
    0%   { translate:  0.5px  0.3px; }
    25%  { translate: -0.6px -0.2px; }
    50%  { translate:  0.3px -0.5px; }
    75%  { translate: -0.4px  0.4px; }
    100% { translate:  0.5px  0.3px; }
}
.bg-wave path {
    fill: none;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}
/* Big slow background wave */
.wave-1 { top: 8%;  height: 80%; }
.wave-1 path {
    stroke: #5a4830;
    stroke-width: 2;
    opacity: 0.18;
    animation: waveScroll 88s linear infinite;
}
/* Mid wave, opposite direction */
.wave-2 { top: 22%; height: 60%; }
.wave-2 path {
    stroke: #2e2010;
    stroke-width: 1.4;
    opacity: 0.26;
    animation: waveScroll 52s linear infinite reverse;
}
/* Tight ripples mid */
.wave-3 { top: 35%; height: 30%; }
.wave-3 path {
    stroke: #3a2a18;
    stroke-width: 1.2;
    opacity: 0.30;
    animation: waveScroll 36s linear infinite;
}
/* Large slow lower wave */
.wave-4 { top: 30%; height: 70%; }
.wave-4 path {
    stroke: #4a3820;
    stroke-width: 1.6;
    opacity: 0.14;
    animation: waveScroll 112s linear infinite reverse;
}
/* Very tight high-frequency near top */
.wave-5 { top: 0; height: 40%; }
.wave-5 path {
    stroke: #5a4830;
    stroke-width: 1.1;
    opacity: 0.20;
    animation: waveScroll 24s linear infinite;
}
/* Mid wave with vertical jitter (titreşim) */
.wave-6 { top: 18%; height: 64%; }
.wave-6 path {
    stroke: #3a2a18;
    stroke-width: 1.4;
    opacity: 0.20;
    animation: waveScroll 68s linear infinite;
}
.wave-6 .wave-jitter {
    animation: jitterY 1.28s ease-in-out infinite alternate;
    transform-origin: center;
}
.wave-2 .wave-jitter-slow {
    animation: jitterY 2.2s ease-in-out infinite alternate;
    transform-origin: center;
}
.wave-3 .wave-jitter-fast {
    animation: jitterY 0.88s ease-in-out infinite alternate;
    transform-origin: center;
}
/* Pulsing high-freq ripples */
.wave-7 { top: 5%; height: 45%; }
.wave-7 path {
    stroke: #4a3b28;
    stroke-width: 1;
    opacity: 0.22;
    animation:
        waveScroll 32s linear infinite reverse,
        strokeBeat 2.2s ease-in-out infinite,
        opacityFlicker 5.2s ease-in-out infinite;
}
/* Big slow wide arc */
.wave-8 { top: 25%; height: 75%; }
.wave-8 path {
    stroke: #2a1a08;
    stroke-width: 1.8;
    opacity: 0.13;
    animation: waveScroll 144s linear infinite;
}
/* Inverted-amplitude wave low */
.wave-9 { top: 45%; height: 55%; }
.wave-9 path {
    stroke: #6b5232;
    stroke-width: 1.1;
    opacity: 0.18;
    animation: waveScroll 76s linear infinite reverse;
}
/* Mid wide wave with jitter */
.wave-10 { top: 12%; height: 76%; }
.wave-10 path {
    stroke: #4a3820;
    stroke-width: 1.3;
    opacity: 0.15;
    animation: waveScroll 96s linear infinite;
}
.wave-10 .wave-jitter-slow {
    animation: jitterY 2.2s ease-in-out infinite alternate;
    transform-origin: center;
}
/* Tiny ripples mid */
.wave-11 { top: 38%; height: 26%; }
.wave-11 path {
    stroke: #8b7558;
    stroke-width: 0.7;
    opacity: 0.20;
    animation: waveScroll 20s linear infinite reverse;
}
/* Slow huge sweep */
.wave-12 { top: 5%; height: 95%; }
.wave-12 path {
    stroke: #3a2a18;
    stroke-width: 1.6;
    opacity: 0.10;
    animation: waveScroll 168s linear infinite reverse;
}
@keyframes waveScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes jitterY {
    from { transform: translateY(-2px); }
    to   { transform: translateY(2px); }
}
@keyframes strokeBeat {
    0%, 100% { stroke-width: 1; }
    50%      { stroke-width: 2.2; }
}
@keyframes opacityFlicker {
    0%, 100% { opacity: 0.14; }
    50%      { opacity: 0.36; }
}
@media (prefers-reduced-motion: reduce) {
    .bg-wave,
    .bg-wave path,
    .bg-wave .wave-jitter,
    .bg-wave .wave-jitter-slow,
    .bg-wave .wave-jitter-fast { animation: none; }
}
/* Mobile: drastically reduce animation load to avoid iOS Safari WebKit crashes.
   We keep a small slow-scrolling subset (waves 1, 5, 8) and disable jitter + tremble. */
@media (max-width: 760px) {
    .bg-wave:not(.wave-1):not(.wave-5):not(.wave-8) { display: none; }
    .bg-wave { animation: none !important; will-change: auto; }
    .bg-wave .wave-jitter,
    .bg-wave .wave-jitter-slow,
    .bg-wave .wave-jitter-fast { animation: none !important; }
    .wave-7 path { animation: none !important; }
}
.manifesto-text {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(18px, 1.7vw, 23px);
    line-height: 1.65;
    text-align: center;
    color: #2b2b2b;
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 16px;
}
.manifesto-text > span {
    display: block;
}
.manifesto-text > span + span { margin-top: 4px; }

/* "sezgi" — soft blur pulse (dreamy / intuitive feel) */
.word-blur {
    display: inline-block;
    color: #2b2b2b;
    font-weight: 500;
    animation: blurPulse 3.8s ease-in-out infinite;
    will-change: filter;
}
@keyframes blurPulse {
    0%, 100% { filter: blur(0);     opacity: 0.95; }
    50%      { filter: blur(2.4px); opacity: 0.65; }
}
/* iOS Safari: filter:blur is GPU-heavy and contributes to memory crashes.
   On mobile use a plain opacity pulse instead. */
@media (max-width: 760px) {
    .word-blur {
        animation: blurPulseMobile 3.8s ease-in-out infinite;
        will-change: auto;
    }
    @keyframes blurPulseMobile {
        0%, 100% { opacity: 1;    }
        50%      { opacity: 0.6;  }
    }
}

/* "frekans" — vibrates in place */
.word-vibrate {
    display: inline-block;
    color: #2e2010;
    font-weight: 500;
    animation: wordTremble 0.09s linear infinite;
}
@keyframes wordTremble {
    0%   { transform: translate( 0.4px,  0.3px) rotate(0.15deg);  }
    25%  { transform: translate(-0.5px, -0.2px) rotate(-0.18deg); }
    50%  { transform: translate( 0.3px, -0.4px) rotate(0.10deg);  }
    75%  { transform: translate(-0.4px,  0.4px) rotate(-0.12deg); }
    100% { transform: translate( 0.4px,  0.3px) rotate(0.15deg);  }
}

/* "enerji" — soft pulse glow */
.word-glow {
    display: inline-block;
    color: #2b2b2b;
    font-weight: 500;
    animation: glowPulse 4.2s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% {
        color: #2b2b2b;
        text-shadow:
            0 0 4px rgba(212, 167, 72, 0.15),
            0 0 10px rgba(212, 167, 72, 0.08);
    }
    50% {
        color: #221808;
        text-shadow:
            0 0 8px rgba(212, 167, 72, 0.65),
            0 0 18px rgba(212, 167, 72, 0.45),
            0 0 36px rgba(212, 167, 72, 0.25);
    }
}
@media (prefers-reduced-motion: reduce) {
    .word-vibrate, .word-glow, .word-blur { animation: none; }
}
.manifesto-signature {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(22px, 2vw, 28px);
    text-align: center;
    color: #2b2b2b;
    margin-top: 18px;
    letter-spacing: 0.5px;
}
@media (max-width: 600px) {
    .manifesto { padding: 10px 20px 28px; }
    .manifesto-signature { margin-top: 14px; }
}

/* ---------- About ---------- */
.about-stage {
    padding: 70px 24px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-stage.beige-zone { background: var(--bg); }
.about-portrait {
    position: relative;
    width: 320px; height: 320px;
    margin: 0;
    z-index: 2;
}
.about-portrait img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow:
        0 0 0 8px #fbf3e3,
        0 0 0 9px rgba(0,0,0,0.06),
        0 18px 36px -10px rgba(0,0,0,0.25);
    filter: saturate(1.05);
}
.about-portrait-ring {
    position: absolute;
    inset: -22px;
    border-radius: 50%;
    border: 1px dashed rgba(0,0,0,0.18);
    pointer-events: none;
    animation: portraitRingSpin 60s linear infinite;
}
@keyframes portraitRingSpin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .about-portrait-ring { animation: none; }
}
.about-text-only {
    max-width: 880px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    padding: 30px 0;
    text-wrap: pretty;
}
.about-text-only p {
    font-size: 16px;
    line-height: 1.85;
    color: #3a3a3a;
    margin: 0 0 18px;
}
.about-block--poetic {
    position: relative;
    padding: 50px 24px;
    overflow: hidden;
    text-align: center;
}
.about-poetic-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
    padding: 32px 0;
    border-top: 1px solid rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(0,0,0,0.15);
    text-wrap: balance;
}
.about-poetic-inner p {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.75;
    color: var(--fg);
    margin: 0 0 14px;
    letter-spacing: 0.2px;
}
.about-poetic-inner p:last-child { margin-bottom: 0; }

/* ---------- Contact form ---------- */
.contact-wrap {
    max-width: 640px; margin: 0 auto;
}
.contact-intro {
    text-align: center; color: var(--muted); margin-bottom: 40px;
}
.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin: 0 0 36px;
    font-size: 14px;
    color: var(--muted);
}
.contact-info--top { margin-bottom: 36px; }
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fg);
    transition: color 0.2s;
}
.contact-link svg { flex-shrink: 0; opacity: 0.85; transition: opacity 0.2s; }
.contact-link:hover { color: #6b5b46; }
.contact-link:hover svg { opacity: 1; }
.form-row { margin-bottom: 18px; }
.form-row label {
    display: block; font-size: 12px;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px;
}
.form-row input, .form-row select, .form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: #fff;
    font: inherit;
    color: var(--fg);
    border-radius: 0;
    transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: 0; border-color: var(--fg);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.alert {
    padding: 14px 18px;
    margin-bottom: 24px;
    border: 1px solid;
    font-size: 14px;
}
.alert-success { color: #1d6b3a; border-color: #b8e0c4; background: #effbf2; }
.alert-error   { color: #8a1a1a; border-color: #f0c5c5; background: #fcecec; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(10,10,10,0.94);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
    max-width: 92vw; max-height: 86vh;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-caption {
    position: absolute; bottom: 30px; left: 0; right: 0;
    text-align: center; color: #fff;
    font-family: var(--serif); font-size: 18px;
    padding: 0 24px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 48px; height: 48px;
    border-radius: 50%;
    font-size: 24px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 20px; }
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 30px 0;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}
.site-footer p { margin: 6px 0; }
.site-footer a { color: var(--fg); }

/* ---------- Admin ---------- */
.admin-body { background: #f4f4f0; }
.admin-card {
    max-width: 420px;
    margin: 100px auto;
    background: #fff;
    padding: 40px;
    border: 1px solid var(--line);
}
.admin-card h1 {
    text-align: center; margin: 0 0 24px;
    font-size: 26px;
}
.admin-shell { padding: 30px 0; }
.admin-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.admin-bar h1 { margin: 0; font-size: 28px; }
.admin-bar a { color: var(--muted); font-size: 14px; }

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}
.muted-note {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 16px;
}
.admin-grid[data-reorder] .admin-item {
    cursor: grab;
}
.admin-grid[data-reorder] .admin-item:active { cursor: grabbing; }
.admin-grid[data-reorder] .admin-item.dragging {
    opacity: 0.35;
    outline: 2px dashed var(--muted);
    outline-offset: -2px;
}
.admin-grid.saved .admin-item {
    box-shadow: 0 0 0 2px #b8e0c4;
    transition: box-shadow 0.6s;
}
.drag-handle {
    position: absolute;
    top: 6px; left: 6px;
    background: rgba(255,255,255,0.92);
    color: var(--muted);
    width: 26px; height: 26px;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700;
    pointer-events: none;
    z-index: 2;
    border: 1px solid var(--line);
    user-select: none;
}
.admin-item { position: relative; }
.admin-item {
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
}
.admin-item img {
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
    background: #eee;
}
.admin-item .info { padding: 12px 14px; font-size: 13px; }
.admin-item .info strong { display: block; margin-bottom: 4px; }
.admin-item .info .muted { color: var(--muted); font-size: 12px; }
.admin-item .actions {
    display: flex; gap: 6px; padding: 0 14px 14px;
}
.admin-item .actions form { flex: 1; }
.admin-item .actions button {
    width: 100%;
    padding: 8px;
    font-size: 12px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    transition: all 0.2s;
}
.admin-item .actions button:hover { border-color: #c33; color: #c33; }
.admin-item .actions button.featured-on { border-color: #1b1b1b; color: #1b1b1b; }

.admin-section {
    background: #fff;
    border: 1px solid var(--line);
    padding: 30px;
    margin-bottom: 30px;
}
.admin-section h2 { margin-top: 0; font-size: 22px; }

.checkbox-row {
    display: flex; align-items: center; gap: 8px;
    margin: 12px 0;
}
.checkbox-row input { width: auto; }
.checkbox-row label {
    margin: 0; text-transform: none; letter-spacing: 0;
    font-size: 14px; color: var(--fg);
}

/* ---------- Gallery (parallax cards) ---------- */
.gallery-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.gallery-cards .gcard {
    height: 420px;
    overflow: hidden;
    cursor: pointer;
    display: block;
    background: #eee;
}
.gallery-cards .gcard-img-wrap {
    height: 135%;
    width: 100%;
    will-change: transform;
}
.gallery-cards .gcard-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.4s;
    filter: saturate(0.95);
}
.gallery-cards .gcard:hover img {
    filter: saturate(1.08) brightness(1.04);
}
@media (max-width: 800px) {
    .gallery-cards { grid-template-columns: repeat(2, 1fr); }
    .gallery-cards .gcard { height: 320px; }
}
@media (max-width: 550px) {
    .gallery-cards { grid-template-columns: 1fr; }
    .gallery-cards .gcard { height: 280px; }
}
