:root {
  --ink: #17152b;
  --muted: #6e6a79;
  --paper: #f8f6f2;
  --white: #ffffff;
  --line: #ddd8d2;
  --violet: #342360;
  --violet-2: #563594;
  --pink: #e54b92;
  --blue: #236bc1;
  --mint: #e2f4ed;
  --sold: #f1e9ef;
  --shadow: 0 16px 48px rgba(23, 21, 43, .08);
  --radius: 18px;
  --max: 1220px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
.page-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  height: 74px; padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(248,246,242,.92); border-bottom: 1px solid rgba(221,216,210,.8);
  position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px);
}
.brand { font-size: 17px; letter-spacing: .24em; font-weight: 800; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav a:not(.button):hover, .footer a:hover { color: var(--violet-2); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--ink); }

.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  background: var(--violet); color: white; border: 1px solid var(--violet); border-radius: 7px;
  padding: 13px 20px; font-weight: 700; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.button:hover { background: var(--violet-2); transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button-small { padding: 10px 15px; }
.button-secondary { background: white; color: var(--violet); }
.text-link { display: inline-flex; gap: 7px; align-items: center; color: var(--violet); font-weight: 750; }
.text-link:hover span { transform: translateX(2px); }

.hero { display: grid; grid-template-columns: .85fr 1.35fr; min-height: 600px; align-items: center; gap: clamp(40px, 6vw, 90px); padding-block: 64px; }
.hero-copy h1, h2, .art-detail h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; margin: 0; }
.hero-copy h1 { font-size: clamp(48px, 6.2vw, 78px); line-height: .98; max-width: 640px; }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; color: var(--violet-2); margin: 0 0 16px; }
.hero-intro { max-width: 520px; color: var(--muted); font-size: 18px; line-height: 1.65; margin: 25px 0 28px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-art { filter: drop-shadow(0 28px 32px rgba(23,21,43,.14)); }

.art-placeholder { aspect-ratio: 16/9; overflow: hidden; position: relative; background: #ddd; }
.art-placeholder span { position: absolute; left: 16px; bottom: 13px; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; background: rgba(255,255,255,.72); padding: 6px 8px; backdrop-filter: blur(10px); }
.art-cosmic { background:
  radial-gradient(circle at 23% 38%, #f6ea31 0 2%, #e82e91 3% 5%, #3822e7 6% 10%, #101024 11% 21%, transparent 22%),
  radial-gradient(circle at 35% 45%, #42f0d3 0 5%, transparent 14%),
  linear-gradient(135deg, transparent 34%, rgba(255,255,255,.62) 35% 37%, transparent 38% 45%, rgba(129,123,137,.7) 47% 53%, transparent 56%),
  #121217; }
.art-deep-current { background: radial-gradient(ellipse at 50% 40%, #effcff 0 10%, #3166cd 28%, transparent 45%), linear-gradient(155deg,#1aa6a8,#173e9e 68%,#091756); }
.art-in-bloom { border-radius: 50%; background: radial-gradient(circle at 56% 48%, #fff 0 25%, transparent 26%), conic-gradient(from 15deg,#386bc5,#89b5e9,#fff,#2f6dd0,#e9519a,#1aa1ae,#486bd0,#fff); }
.art-violet-current { background: radial-gradient(ellipse at 48% 40%,#250f32 0 10%,#7825a7 30%,#c997e9 55%,transparent 60%), linear-gradient(100deg,#fff 10%,#eee 50%,#fff); }
.art-pink-momentum { background: linear-gradient(150deg,#ff345f,#ec238f 30%,#f6aac6 50%,#b9006d 72%,#ffc1d8); }
.art-default { background: linear-gradient(135deg,#4b2c83,#48a9c5,#e84d9a); }

.collection { padding-block: 38px 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 28px; }
.section-heading h2, .about-copy h2 { font-size: clamp(36px, 4.7vw, 58px); line-height: 1; }
.section-note { color: var(--muted); max-width: 520px; line-height: 1.6; margin: 0; }
.artwork-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.art-card { background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(23,21,43,.04); display: flex; flex-direction: column; min-width: 0; }
.art-card-media { aspect-ratio: 1/1; padding: 14px; display: grid; place-items: center; background: #f1efeb; overflow: hidden; }
.art-card-media img { width: 100%; height: 100%; object-fit: contain; }
.art-card-media .art-placeholder { width: 100%; height: 100%; aspect-ratio: auto; }
.art-card-body { padding: 16px; display: flex; flex-direction: column; gap: 7px; min-height: 190px; }
.art-card h3 { font-family: Georgia,serif; font-weight: 500; font-size: 21px; margin: 0; }
.art-meta { color: var(--muted); font-size: 13px; }
.art-price { font-size: 18px; font-weight: 800; margin-top: auto; }
.status-pill { align-self: flex-start; padding: 6px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.status-available { background: var(--mint); color: #1a5d46; }
.status-sold { background: var(--sold); color: #76355b; }
.status-reserved { background: #fff4cf; color: #725d18; }
.art-card-actions { display: flex; gap: 8px; margin-top: 8px; }
.art-card-actions .button { width: 100%; padding: 10px 12px; font-size: 13px; }
.loading, .empty { grid-column: 1/-1; padding: 50px 0; text-align: center; color: var(--muted); }

.about-band { background: white; border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 360px 1fr; gap: 68px; align-items: center; padding-block: 70px; }
.portrait-wrap { aspect-ratio: 1; background: #efeae7; overflow: hidden; }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: white; font: 500 150px/1 Georgia,serif; background: radial-gradient(circle at 65% 20%,#e24796,transparent 18%), linear-gradient(135deg,#162342,#412571 48%,#e855a4); }
.about-copy { max-width: 660px; }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.75; }

.events-preview { padding-block: 76px; }
.event-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.event-card { background: white; border: 1px solid var(--line); padding: 22px; display: grid; grid-template-columns: 68px 1fr; gap: 20px; min-height: 135px; }
.event-date { border-right: 1px solid var(--line); padding-right: 15px; text-align: center; text-transform: uppercase; color: var(--violet); font-weight: 800; }
.event-date strong { font: 500 34px/1 Georgia,serif; display: block; }
.event-card h3 { margin: 0 0 7px; font-family: Georgia,serif; font-weight: 500; font-size: 22px; }
.event-card p { color: var(--muted); margin: 3px 0; font-size: 13px; }

.trust-band { background: var(--violet); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid div { padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.18); }
.trust-grid div:last-child { border: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid span { opacity: .72; margin-top: 5px; font-size: 13px; }

.footer { display: grid; grid-template-columns: 1fr auto; gap: 28px; padding-block: 48px; align-items: start; }
.footer p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 22px; font-size: 13px; }
.copyright { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 22px; }

.art-detail { padding-block: 58px 80px; }
.art-detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; }
.art-detail-media { background: white; border: 1px solid var(--line); padding: 24px; min-height: 560px; display: grid; place-items: center; }
.art-detail-media img { max-height: 720px; width: 100%; object-fit: contain; }
.art-detail-media .art-placeholder { width: 100%; min-height: 520px; }
.art-detail h1 { font-size: clamp(44px,5vw,70px); }
.detail-price { font-size: 28px; font-weight: 800; margin: 18px 0; }
.detail-copy { color: var(--muted); line-height: 1.75; }
.detail-list { margin: 25px 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.detail-list li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.detail-list li:last-child { border: 0; }
.detail-actions { display: grid; gap: 10px; }
.back-link { display: inline-flex; margin-bottom: 24px; color: var(--violet); font-weight: 750; }

.page-hero { padding: 72px 0 36px; }
.page-hero h1 { font: 500 clamp(48px,6vw,76px)/1 Georgia,serif; margin: 0; }
.page-hero p { max-width: 680px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.events-page-list { display: grid; gap: 18px; padding-bottom: 80px; }
.events-page-list .event-card { grid-template-columns: 90px 1fr auto; align-items: center; }

.dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(650px, calc(100% - 30px)); box-shadow: var(--shadow); }
.dialog::backdrop { background: rgba(17,14,31,.55); backdrop-filter: blur(5px); }
.dialog-card { padding: 34px; position: relative; display: grid; gap: 15px; }
.dialog-card h2 { font: 500 36px/1.1 Georgia,serif; margin: 0; }
.dialog-card > p { color: var(--muted); line-height: 1.55; }
.dialog-card label { display: grid; gap: 6px; font-size: 13px; font-weight: 750; }
.dialog-card input, .dialog-card textarea { border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; background: #fff; color: var(--ink); }
.dialog-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.form-status { min-height: 20px; margin: 0 !important; }

@media (max-width: 1050px) {
  .artwork-grid { grid-template-columns: repeat(3,1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 850px; }
  .event-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 66px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 66px; inset-inline: 0; padding: 22px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .hero { min-height: auto; padding-block: 42px; }
  .hero-copy h1 { font-size: 49px; }
  .hero-intro { font-size: 16px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .artwork-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 45px; }
  .portrait-wrap { max-width: 360px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .art-detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .art-detail-media { min-height: 360px; }
  .events-page-list .event-card { grid-template-columns: 72px 1fr; }
  .events-page-list .event-card .event-action { grid-column: 2; }
}

@media (max-width: 480px) {
  .page-shell { width: min(calc(100% - 28px), var(--max)); }
  .brand { font-size: 14px; letter-spacing: .18em; }
  .artwork-grid { grid-template-columns: 1fr; }
  .art-card-body { min-height: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
}


/* Artwork formats and multi-photo presentation */
.diptych-media {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}
.diptych-media img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
  background: #eeeae7;
}
.detail-image-stack {
  width: 100%;
  display: grid;
  gap: 14px;
}
.diptych-detail {
  min-height: 500px;
  gap: 14px;
}
.detail-extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.detail-extra-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #eeeae7;
  border: 1px solid var(--line);
}
.round-art-photo {
  max-width: 680px;
  margin-inline: auto;
}

@media (max-width: 620px) {
  .diptych-detail { min-height: 340px; gap: 8px; }
  .detail-extra-grid { grid-template-columns: repeat(2, 1fr); }
}
