/* =========================================================
   Henry Wilhelm Kirenga — Luxury Design System
   ========================================================= */
:root {
    --ink: #101018;
    --ink-soft: #1a1a24;
    --paper: #f7f3ec;
    --paper-deep: #efe8db;
    --gold: #b8965a;
    --gold-soft: #cdb083;
    --gold-bright: #e2c98f;
    --text: #2c2c30;
    --muted: #6f6f76;
    --line: rgba(184, 150, 90, 0.28);
    --shadow: 0 30px 70px -30px rgba(16, 16, 24, 0.45);
    --display: 'Cormorant Garamond', serif;
    --sans: 'Source Sans 3', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--text);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: 0.005em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.eyebrow {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 0.42em;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gold);
    display: inline-block;
}
::selection { background: var(--gold); color: #fff; }

/* ---------- Navigation ---------- */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 26px 6vw;
    display: flex; align-items: center; justify-content: space-between;
    transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
header.scrolled {
    padding: 16px 6vw;
    background: rgba(16, 16, 24, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px -20px rgba(0,0,0,0.6);
}
/* Pages with a light hero (no dark image behind nav) start solid */
header.solid { background: rgba(16, 16, 24, 0.96); }
.brand {
    font-family: var(--display); font-size: 1.35rem; font-weight: 600;
    letter-spacing: 0.06em; color: #fff; line-height: 1;
}
.brand span { color: var(--gold-soft); font-style: italic; }
.brand small {
    display: block; font-family: var(--sans); font-size: 0.55rem;
    letter-spacing: 0.42em; text-transform: uppercase;
    color: rgba(255,255,255,0.55); margin-top: 6px; font-weight: 400;
}
.nav-links { display: flex; align-items: center; gap: 42px; }
.nav-links a {
    color: rgba(255,255,255,0.82); font-size: 0.82rem; letter-spacing: 0.18em;
    text-transform: uppercase; font-weight: 400; position: relative; padding: 4px 0;
    transition: color 0.3s;
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -4px;
    width: 0; height: 1px; background: var(--gold); transition: width 0.4s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold-soft); }
.nav-cta {
    border: 1px solid var(--gold); padding: 11px 24px !important; border-radius: 40px;
    color: var(--gold-soft) !important; transition: all 0.4s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold); color: var(--ink) !important; }

.hamburger { display: none; background: none; border: none; width: 32px; height: 22px; cursor: pointer; position: relative; z-index: 1100; }
.hamburger span { position: absolute; left: 0; width: 100%; height: 1.6px; background: #fff; transition: all 0.35s ease; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.22em;
    text-transform: uppercase; font-weight: 500; padding: 17px 38px;
    border-radius: 46px; cursor: pointer; transition: all 0.4s ease; border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgba(184,150,90,0.9); }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.btn-outline-dark { border-color: rgba(16,16,24,0.3); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 0 6vw; color: #fff; overflow: hidden;
}
.hero.short { min-height: 78vh; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); animation: heroZoom 14s ease-out forwards; z-index: -2; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,16,24,0.92) 0%, rgba(16,16,24,0.72) 42%, rgba(16,16,24,0.35) 100%); z-index: -1; }
.hero.center { justify-content: center; text-align: center; }
.hero.center::before { background: rgba(16,16,24,0.7); }
.hero-content { max-width: 760px; }
.hero.center .hero-content { max-width: 820px; }
.hero .eyebrow { margin-bottom: 26px; opacity: 0; animation: fadeUp 1s ease 0.3s forwards; }
.hero h1 { font-size: clamp(3rem, 7.5vw, 6rem); font-weight: 600; margin-bottom: 24px; letter-spacing: 0; opacity: 0; animation: fadeUp 1s ease 0.5s forwards; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 520px; color: rgba(255,255,255,0.82); font-weight: 300; margin-bottom: 42px; opacity: 0; animation: fadeUp 1s ease 0.7s forwards; }
.hero.center p { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s ease 0.9s forwards; }
.hero.center .hero-actions { justify-content: center; }
.hero-scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,0.6); font-size: 0.62rem; letter-spacing: 0.35em; text-transform: uppercase; opacity: 0; animation: fadeUp 1s ease 1.3s forwards; }
.hero-scroll .line { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,0.6), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Section shell ---------- */
.section { padding: 130px 6vw; }
.section.tight { padding: 90px 6vw; }
.container { max-width: 1240px; margin: 0 auto; }
.section-head { max-width: 640px; margin-bottom: 70px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); color: var(--ink); margin-bottom: 22px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.band-dark { background: var(--ink); color: #fff; }
.band-dark .section-head h2 { color: #fff; }
.band-deep { background: var(--paper-deep); }

/* ---------- Marquee strip ---------- */
.strip { background: var(--ink); color: rgba(255,255,255,0.7); padding: 26px 0; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.strip-track { display: inline-flex; gap: 60px; animation: marquee 28s linear infinite; }
.strip-track span { font-family: var(--display); font-style: italic; font-size: 1.5rem; display: inline-flex; align-items: center; gap: 60px; }
.strip-track span::after { content: '✦'; color: var(--gold); font-size: 0.9rem; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Luxury image marquee (auto-scroll) ---------- */
.lux-marquee { overflow: hidden; position: relative; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lux-marquee-track { display: flex; gap: 26px; width: max-content; animation: luxscroll 48s linear infinite; }
.lux-marquee:hover .lux-marquee-track { animation-play-state: paused; }
.lux-marquee-item { flex: 0 0 auto; width: 270px; background: none; border: none; padding: 0; cursor: pointer; text-align: left; }
.lux-marquee-item img { width: 270px; height: 190px; object-fit: cover; border-radius: 4px; display: block; transition: transform 0.6s ease; box-shadow: 0 20px 40px -26px rgba(16,16,24,0.7); }
.lux-marquee-item:hover img { transform: scale(1.04); }
.lux-marquee-item span { display: block; margin-top: 12px; font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--gold-soft); }
@keyframes luxscroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lux-marquee-track, .strip-track { animation: none; } }

/* ---------- Luxury grid (limited edition, etc.) ---------- */
.lux-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; max-width: 1440px; margin: 0 auto; padding: 10px 0 0; }
@media (max-width: 560px) { .lux-marquee-item, .lux-marquee-item img { width: 220px; } .lux-marquee-item img { height: 160px; } }

/* ---------- Limited edition showcase (shared: gallery + limited-edition page) ---------- */
.limited-showcase { padding: 40px 0 20px; }
.limited-strip { margin: 0 6vw 6px; }
.limited-band { position: relative; margin: 28px 6vw 46px; border-radius: 6px; overflow: hidden; padding: 72px 8%; text-align: center; color: #fff; box-shadow: 0 40px 90px -40px rgba(16,16,24,0.6); }
.limited-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); z-index: -2; }
.limited-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(16,16,24,0.94) 0%, rgba(16,16,24,0.82) 100%); z-index: -1; }
.limited-band::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(226,201,143,0.6); border-radius: 4px; pointer-events: none; box-shadow: inset 0 0 60px rgba(184,150,90,0.12); }
.limited-inner { position: relative; max-width: 820px; margin: 0 auto; }
.limited-pill { display: inline-block; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: var(--gold-soft); border: 1px solid var(--gold); padding: 9px 20px; border-radius: 40px; margin-bottom: 26px; animation: limitedPulse 2.6s ease-in-out infinite; }
@keyframes limitedPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(184,150,90,0.55); } 60% { box-shadow: 0 0 0 14px rgba(184,150,90,0); } }
.limited-band h2 { font-family: var(--display); font-size: clamp(2rem,4.6vw,3.4rem); margin-bottom: 20px; color: #fff; letter-spacing: 0.01em; }
.limited-band > .limited-inner > p { color: rgba(255,255,255,0.82); max-width: 600px; margin: 0 auto 30px; font-size: 1.05rem; }
.limited-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 38px; }
.limited-chips span { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid rgba(184,150,90,0.4); border-radius: 40px; padding: 10px 20px; background: rgba(184,150,90,0.06); }
.limited-works { padding: 0 6vw 10px; }
.limited-works:empty { display: none; }
@media (max-width: 600px) { .limited-band { padding: 56px 26px; margin: 24px 5vw 40px; } .limited-strip { margin: 0 5vw 4px; } .limited-works { padding: 0 5vw; } }

/* ---------- Art cards ---------- */
.art-card { position: relative; overflow: hidden; border-radius: 4px; cursor: pointer; background: var(--ink); }
.art-card img { width: 100%; height: 440px; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.art-card:hover img { transform: scale(1.07); }
.art-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; background: linear-gradient(to top, rgba(16,16,24,0.88) 0%, rgba(16,16,24,0.15) 55%, transparent 100%); opacity: 0; transition: opacity 0.5s ease; }
.art-card:hover .art-overlay { opacity: 1; }
.art-overlay .num { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--gold-soft); text-transform: uppercase; margin-bottom: 10px; transform: translateY(12px); transition: transform 0.5s 0.05s; }
.art-overlay h3 { color: #fff; font-size: 1.6rem; transform: translateY(12px); transition: transform 0.5s 0.1s; }
.art-overlay .view { color: rgba(255,255,255,0.7); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 12px; transform: translateY(12px); transition: transform 0.5s 0.15s; }
.art-card:hover .art-overlay .num, .art-card:hover .art-overlay h3, .art-card:hover .art-overlay .view { transform: translateY(0); }
.art-badge { position: absolute; top: 18px; left: 18px; z-index: 5; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; padding: 7px 15px; border-radius: 40px; font-weight: 500; background: rgba(247,243,236,0.94); color: var(--ink); border: 1px solid var(--gold); }
.art-badge.sold { background: rgba(16,16,24,0.9); color: #fff; border-color: rgba(255,255,255,0.25); }

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: 4px; }
.split-media.framed::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); z-index: 0; border-radius: 4px; }
.split-media.framed img { position: relative; z-index: 1; }
.split-body .eyebrow { margin-bottom: 22px; }
.split-body h2 { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--ink); margin-bottom: 26px; }
.band-dark .split-body h2 { color: #fff; }
.split-body p { color: var(--muted); margin-bottom: 20px; font-weight: 300; }
.band-dark .split-body p { color: rgba(255,255,255,0.72); }
.signature { font-family: var(--display); font-style: italic; font-size: 1.9rem; color: var(--gold-soft); margin-top: 30px; }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; margin: 32px 0; }
.feature-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.band-dark .feature-list li { border-color: rgba(255,255,255,0.12); }
.feature-list li:last-child { border-bottom: none; }
.feature-list .fi-mark { flex-shrink: 0; width: 42px; height: 42px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: var(--display); font-style: italic; font-size: 1.2rem; }
.feature-list .fi-title { font-family: var(--display); font-size: 1.35rem; color: var(--ink); margin-bottom: 2px; }
.band-dark .feature-list .fi-title { color: #fff; }
.feature-list .fi-desc { color: var(--muted); font-size: 0.95rem; }
.band-dark .feature-list .fi-desc { color: rgba(255,255,255,0.68); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 70px; padding-top: 60px; border-top: 1px solid rgba(255,255,255,0.12); }
.stat { text-align: center; }
.stat .num { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--gold-soft); line-height: 1; }
.stat .lbl { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 14px; }

/* ---------- Cards grid ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.lux-card { background: #fff; padding: 44px 38px; border-radius: 4px; border-top: 2px solid var(--gold); box-shadow: 0 30px 60px -40px rgba(16,16,24,0.25); transition: transform 0.5s ease, box-shadow 0.5s ease; }
.lux-card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -35px rgba(16,16,24,0.35); }
.lux-card .idx { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 1.4rem; margin-bottom: 16px; }
.lux-card h3 { color: var(--ink); font-size: 1.4rem; margin-bottom: 18px; }
.lux-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 12px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 130px 6vw; text-align: center; color: #fff; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); z-index: -2; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: rgba(16,16,24,0.82); z-index: -1; }
.cta-band .eyebrow { margin-bottom: 22px; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 24px; max-width: 780px; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto 40px; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 100px 6vw 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 70px; border-bottom: 1px solid rgba(255,255,255,0.1); max-width: 1240px; margin: 0 auto; }
.footer-brand .brand { color: #fff; margin-bottom: 22px; }
.footer-brand p { max-width: 340px; font-weight: 300; }
.footer-col h4 { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 24px; font-weight: 500; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.7); margin-bottom: 14px; transition: color 0.3s; font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 30px 0; flex-wrap: wrap; gap: 14px; font-size: 0.8rem; letter-spacing: 0.05em; color: rgba(255,255,255,0.45); max-width: 1240px; margin: 0 auto; }
.footer-bottom .socials { display: flex; gap: 22px; }
.footer-bottom .socials a:hover { color: var(--gold-soft); }

/* ---------- Floating button ---------- */
.floating-btn { position: fixed; bottom: 28px; right: 28px; background: var(--gold); color: var(--ink); padding: 15px 26px; border-radius: 50px; z-index: 900; display: flex; align-items: center; gap: 10px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; box-shadow: 0 18px 40px -14px rgba(184,150,90,0.7); transition: all 0.4s ease; }
.floating-btn:hover { background: var(--ink); color: var(--gold-soft); transform: translateY(-4px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Modal ---------- */
.artwork-modal { display: none; position: fixed; inset: 0; background: rgba(16,16,24,0.95); z-index: 2000; overflow-y: auto; padding: 20px; opacity: 0; transition: opacity 0.4s ease; }
.artwork-modal.show { opacity: 1; }
.modal-content { background: var(--paper); max-width: 1080px; margin: 60px auto; border-radius: 4px; overflow: hidden; display: flex; box-shadow: var(--shadow); }
.modal-image-container { flex: 1.1; background: var(--ink); display: flex; align-items: center; justify-content: center; padding: 30px; }
.modal-image { max-width: 100%; max-height: 74vh; object-fit: contain; }
.modal-details { flex: 1; padding: 56px 48px; }
.modal-details .eyebrow { margin-bottom: 16px; }
.modal-title { font-family: var(--display); color: var(--ink); font-size: 2.2rem; margin-bottom: 24px; text-transform: capitalize; }
.modal-meta { margin: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.modal-meta p { margin: 10px 0; display: flex; justify-content: space-between; font-size: 0.95rem; }
.modal-meta strong { color: var(--muted); font-weight: 400; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; }
.modal-meta span { color: var(--ink); }
.modal-description { margin: 24px 0; color: var(--muted); }
.modal-close { position: fixed; top: 30px; right: 30px; color: #fff; font-size: 24px; cursor: pointer; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.4s; z-index: 2100; }
.modal-close:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(90deg); }
.whatsapp-button { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 15px 30px; border-radius: 46px; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 12px; transition: all 0.4s; }
.whatsapp-button:hover { background: #25D366; transform: translateY(-3px); }

/* ---------- Commission popup ---------- */
#commission-popup { display: none; position: fixed; inset: 0; background: rgba(16,16,24,0.9); z-index: 2000; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s; padding: 20px; }
.popup-card { background: var(--paper); width: 100%; max-width: 620px; max-height: 90vh; overflow-y: auto; padding: 54px 48px; border-radius: 4px; position: relative; transform: translateY(24px); transition: transform 0.4s; }
.popup-card .eyebrow { margin-bottom: 14px; }
.popup-card h2 { font-family: var(--display); color: var(--ink); font-size: 2rem; margin-bottom: 8px; }
.popup-card .sub { color: var(--muted); margin-bottom: 28px; font-size: 0.95rem; }
.popup-close { position: absolute; top: 22px; right: 22px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--muted); transition: color 0.3s; }
.popup-close:hover { color: var(--gold); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px; border: 1px solid rgba(16,16,24,0.15); border-radius: 3px;
    font-family: var(--sans); font-size: 0.95rem; background: #fff; color: var(--text); transition: border 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,150,90,0.15); }
.popup-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { border: 3px solid rgba(184,150,90,0.25); border-top-color: var(--gold); border-radius: 50%; width: 42px; height: 42px; animation: spin 1s linear infinite; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .cards-3, .cards-2 { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 50px; }
    .split.reverse .split-media { order: 0; }
    .split-media.framed::before { inset: 16px -16px -16px 16px; }
}
@media (max-width: 768px) {
    header { padding: 18px 6vw; }
    header.scrolled { padding: 14px 6vw; }
    .hamburger { display: block; }
    .nav-links {
        position: fixed; inset: 0; background: rgba(16,16,24,0.98);
        flex-direction: column; justify-content: center; gap: 34px;
        transform: translateX(100%); transition: transform 0.5s cubic-bezier(.7,0,.3,1);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 1.1rem; }
    .section, .section.tight { padding: 90px 6vw; }
    .cta-band { padding: 90px 6vw; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .modal-content { flex-direction: column; margin: 30px auto; }
    .art-card img { height: 360px; }
}
@media (max-width: 560px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .popup-card, .modal-details { padding: 40px 26px; }
}
