:root {
  --bg: #f6f0e8;
  --paper: rgba(255, 252, 247, 0.84);
  --paper-strong: #fffdf9;
  --ink: #181512;
  --ink-soft: #574d45;
  --line: rgba(24, 21, 18, 0.12);
  --line-strong: rgba(24, 21, 18, 0.22);
  --accent: #8e6c4d;
  --accent-deep: #5e4732;
  --shadow: 0 24px 70px rgba(35, 28, 22, 0.12);
  --radius: 24px;
  --content: 1200px;
  --nav-height: 84px;
  --transition: 220ms ease;
}
body[data-theme="dark"] {
  --bg: #141210;
  --paper: rgba(29, 24, 21, 0.86);
  --paper-strong: #1f1a17;
  --ink: #f4eee8;
  --ink-soft: #cdbfaf;
  --line: rgba(244, 238, 232, 0.1);
  --line-strong: rgba(244, 238, 232, 0.22);
  --accent: #d3b08c;
  --accent-deep: #f2dcc1;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(181, 152, 117, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(110, 88, 70, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 20%),
    var(--bg);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255,255,255,.04), rgba(255,255,255,.04)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.page-shell { overflow: clip; }
.container { width: min(calc(100% - 32px), var(--content)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(246, 240, 232, 0.78);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
body[data-theme="dark"] .site-header { background: rgba(20, 18, 16, 0.8); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 12px 32px rgba(28, 21, 16, 0.08); }
.nav-wrap { min-height: var(--nav-height); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  min-width: max-content;
  min-height: 28px;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  overflow: visible;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-mark::before {
  content: none;
}
.brand-copy, .footer-brand { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong, .hero-title, .section-title, h1, h2, h3, h4, .quote { font-family: "Cormorant Garamond", Georgia, serif; }
.brand-copy strong { font-size: 1.35rem; font-weight: 600; line-height: 1; }
.brand-copy span, .muted, p, li, label span { color: var(--ink-soft); }
.eyebrow, .pill, .microcopy, .footer-note { letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; }
.nav-panel, .nav-links, .nav-actions, .cta-row { display: flex; align-items: center; gap: 18px; }
.nav-panel { display: contents; }
.nav-links a, .footer-nav a { position: relative; color: var(--ink-soft); }
.nav-links a::after, .footer-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after, .footer-nav a:hover::after { transform: scaleX(1); }
.icon-button, .menu-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.36));
  color: var(--ink); display: grid; place-items: center;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(30, 24, 18, 0.08);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}
.icon-button:hover, .menu-toggle:hover, .btn:hover { transform: translateY(-2px); }
.icon-button:hover, .menu-toggle:hover {
  border-color: var(--line-strong);
  box-shadow: 0 16px 34px rgba(30, 24, 18, 0.12);
}
.menu-toggle { display: none; }
.hero, .page-hero { padding: 52px 0 28px; }
.hero-grid, .page-hero-grid, .brand-statement, .product-layout, .about-grid, .checkout-grid, .contact-grid, .newsletter-card, .split-grid {
  display: grid; gap: 24px;
}
.hero-grid { grid-template-columns: 1.08fr .92fr; align-items: stretch; }
.hero-copy, .panel, .quote-card, .testimonial-card, .newsletter-card, .product-card, .detail-panel, .cart-panel, .faq-item, .contact-card, .feature-card, .timeline-item, .exhibition-card, .stat-card, .collection-card, .gallery-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-copy { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.hero-title { margin: 12px 0; font-size: clamp(3.4rem, 8vw, 6.6rem); line-height: .92; font-weight: 600; }
.tagline { font-size: clamp(1.12rem, 2vw, 1.46rem); color: var(--ink-soft); max-width: 26rem; }
.cta-row { flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.24); color: var(--ink); font-weight: 600; letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(30, 24, 18, 0.08);
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, #1f1a17, #3a2d22);
  color: var(--paper-strong);
  border-color: rgba(24, 21, 18, 0.5);
  box-shadow: 0 16px 34px rgba(24, 21, 18, 0.18);
}
.btn-secondary {
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.46));
}
.btn:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 34px rgba(30, 24, 18, 0.12);
}
.btn-primary:hover {
  box-shadow: 0 20px 40px rgba(24, 21, 18, 0.24);
}
body[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, #f1e3d2, #cda983);
  color: #17120f;
  border-color: rgba(242, 220, 193, 0.45);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}
body[data-theme="dark"] .btn-secondary,
body[data-theme="dark"] .btn {
  border-color: var(--line-strong);
}
body[data-theme="dark"] .btn:not(.btn-primary) {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  color: var(--ink);
}
.btn:focus-visible,
.icon-button:focus-visible,
.menu-toggle:focus-visible,
.quick-view:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.hero-art, .portrait-card { min-height: 640px; border-radius: calc(var(--radius) + 8px); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.hero-art img, .portrait-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: auto 0 0; padding: 28px; color: #f5efe8;
  background: linear-gradient(180deg, transparent, rgba(19,14,11,.72)); display: flex; justify-content: space-between; gap: 16px; align-items: end;
}
.hero-overlay strong { font-size: 1.4rem; }
.hero-metrics, .feature-grid, .collection-grid, .shop-grid, .testimonial-grid, .timeline-grid, .instagram-grid, .footer-columns, .masonry-grid, .product-meta, .gallery-filter-row, .stats-grid {
  display: grid; gap: 20px;
}
.hero-metrics { margin-top: 28px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.metric strong, .stat-card strong { display: block; font-size: 1.6rem; font-family: "Cormorant Garamond", Georgia, serif; }
.stat-card {
  padding: 0 0 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.stat-card strong {
  margin-bottom: 6px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 0.95;
}
.stat-card .muted {
  display: block;
  max-width: 16rem;
}
.section { padding: 42px 0 72px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 24px; }
.section-title { margin: 8px 0 0; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: .95; font-weight: 600; }
.brand-statement { grid-template-columns: 1fr .85fr; }
.page-hero-grid, .product-layout, .about-grid, .checkout-grid, .contact-grid, .split-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.feature-grid, .collection-grid, .shop-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.instagram-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.testimonial-grid, .timeline-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.masonry-grid { grid-template-columns: repeat(3, minmax(0,1fr)); align-items: start; }
.panel, .feature-card, .timeline-item, .testimonial-card, .quote-card, .exhibition-card, .detail-panel, .contact-card, .cart-panel { padding: 28px; }
.collection-card, .product-card, .instagram-card, .gallery-card { overflow: hidden; position: relative; }
.collection-card img, .product-card img, .instagram-card img, .gallery-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 420ms ease; }
.gallery-card.tall img { aspect-ratio: 4/6; }
.gallery-card.wide img { aspect-ratio: 5/4; }
.collection-card:hover img, .product-card:hover img, .instagram-card:hover img, .gallery-card:hover img { transform: scale(1.04); }
.collection-copy, .product-copy, .instagram-copy, .gallery-copy { padding: 20px; }
.collection-card .pill, .gallery-card .pill, .product-card .pill {
  position: absolute; top: 18px; left: 18px; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,252,247,.88); border: 1px solid rgba(24,21,18,.08);
}
body[data-theme="dark"] .collection-card .pill, body[data-theme="dark"] .gallery-card .pill, body[data-theme="dark"] .product-card .pill { background: rgba(19,17,16,.92); }
.price { font-size: 1.05rem; font-weight: 700; }
.product-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; }
.quick-view {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: .02em;
  transition: color var(--transition), transform var(--transition);
}
.quick-view:hover {
  color: var(--ink);
  transform: translateX(2px);
}
.quote { margin: 0; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; }
.newsletter-card { grid-template-columns: 1.1fr .9fr; overflow: hidden; }
.newsletter-copy { padding: 34px; }
.newsletter-art { min-height: 320px; background: linear-gradient(180deg, rgba(0,0,0,.02), transparent), url("assets/artworks/artwork-6.svg") center/cover no-repeat; }
.newsletter-form, .search-bar, .filters-panel, .contact-form, .commission-form, .faq-list, .cart-list, .cart-summary { display: grid; gap: 14px; }
.newsletter-row, .search-row, .filter-group, .commission-grid, .thumbnail-row { display: grid; gap: 14px; }
.newsletter-row, .search-row { grid-template-columns: 1fr auto; }
.filter-group { grid-template-columns: repeat(2, minmax(0,1fr)); }
.commission-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.thumbnail-row { grid-template-columns: repeat(3, minmax(0,1fr)); }
input, select, textarea {
  width: 100%; padding: 14px 16px; color: var(--ink);
  border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.58);
}
body[data-theme="dark"] input, body[data-theme="dark"] select, body[data-theme="dark"] textarea { background: rgba(255,255,255,.04); }
select option {
  background: #fffdf9;
  color: #181512;
}
body[data-theme="dark"] select option {
  background: #1f1a17;
  color: #f4eee8;
}
input::placeholder,
textarea::placeholder {
  color: rgba(87, 77, 69, 0.72);
}
body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder {
  color: rgba(244, 238, 232, 0.46);
}
textarea { min-height: 150px; resize: vertical; }
.shop-grid { margin-top: 24px; }
.product-card .wishlist {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,252,247,.92); border: 1px solid rgba(24,21,18,.08);
}
.wishlist.is-active { background: var(--ink); color: var(--paper-strong); }
.product-gallery { display: grid; gap: 14px; }
.primary-image, .thumbnail-row button, .contact-map { overflow: hidden; border-radius: 18px; border: 1px solid var(--line); }
.thumbnail-row button { padding: 0; }
.primary-image img, .thumbnail-row img, .contact-map img { width: 100%; height: 100%; object-fit: cover; }
.product-specs { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.product-specs strong { display: inline-block; min-width: 110px; }
.info-band {
  padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.28);
}
.faq-item button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  justify-content: space-between;
  color: inherit;
}
.faq-answer[hidden] { display: none; }
.cart-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center;
  padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.22);
}
.cart-item img { aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; }
.summary-row, .footer-bottom { display: flex; justify-content: space-between; gap: 12px; }
.summary-row.total { color: var(--ink); font-weight: 700; font-size: 1.06rem; }
.lightbox {
  position: fixed; inset: 0; display: none; place-items: center; z-index: 80; padding: 24px;
  background: rgba(10,9,8,.82);
}
.lightbox.is-open { display: grid; }
.lightbox-frame {
  width: auto;
  max-width: min(92vw, 1040px);
  background: var(--paper-strong);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 120px rgba(0,0,0,.35);
  display: grid;
}
.lightbox-frame img {
  display: block;
  width: auto;
  max-width: min(92vw, 1040px);
  max-height: 74vh;
  object-fit: contain;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.06);
}
.lightbox-copy {
  padding: 18px 24px 24px;
  background: var(--paper-strong);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  font-size: 1.3rem;
  line-height: 1;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: attr(data-year); position: absolute; top: 18px; right: 24px;
  color: rgba(0,0,0,.16); font-size: 1.9rem; font-family: "Cormorant Garamond", Georgia, serif;
}
body[data-theme="dark"] .timeline-item::before { color: rgba(255,255,255,.18); }
.footer { padding: 26px 0 42px; border-top: 1px solid var(--line); background: rgba(255,255,255,.18); }
.footer-columns { grid-template-columns: 1.2fr 1fr 1fr 1fr; align-items: start; }
.footer-nav, .footer-meta { display: grid; gap: 10px; }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1080px) {
  .hero-grid, .page-hero-grid, .brand-statement, .product-layout, .about-grid, .checkout-grid, .contact-grid, .newsletter-card, .split-grid { grid-template-columns: 1fr; }
  .feature-grid, .collection-grid, .shop-grid, .testimonial-grid, .timeline-grid, .footer-columns, .instagram-grid, .masonry-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-art, .portrait-card { min-height: 520px; }
}
@media (max-width: 760px) {
  :root { --nav-height: 72px; }
  .menu-toggle { display: grid; }
  .nav-panel {
    position: fixed; inset: var(--nav-height) 16px auto; display: grid; gap: 18px; padding: 20px;
    border-radius: 24px; background: var(--paper-strong); border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity var(--transition), transform var(--transition);
  }
  .nav-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links, .nav-actions { flex-direction: column; align-items: stretch; }
  .hero-title { font-size: clamp(2.9rem, 18vw, 4.8rem); }
  .hero-metrics, .feature-grid, .collection-grid, .shop-grid, .testimonial-grid, .timeline-grid, .instagram-grid, .footer-columns, .masonry-grid, .filter-group, .commission-grid { grid-template-columns: 1fr; }
  .newsletter-row, .search-row, .cart-item { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
.admin-shortcut {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-strong);
  box-shadow: var(--shadow);
}

.admin-shell {
  display: grid;
  gap: 24px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.admin-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

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

.admin-preview {
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 240px;
  background: rgba(255, 255, 255, 0.24);
}

.admin-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-artwork-list {
  display: grid;
  gap: 14px;
}

.admin-artwork-card {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
}

.admin-artwork-card img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
}

.admin-artwork-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: end;
}

.admin-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-form-grid,
  .admin-artwork-card {
    grid-template-columns: 1fr;
  }

  .admin-artwork-actions {
    justify-content: start;
  }
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-status-success { color: #2f6b47; }
.admin-status-error { color: #9e3d2f; }
.admin-link-card {
  display: block;
}

.admin-select-list {
  display: grid;
  gap: 12px;
}

.admin-select-card {
  width: 100%;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  text-align: left;
}

.admin-select-card img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
}

.admin-select-card span {
  display: grid;
  gap: 4px;
}

.admin-select-card small {
  color: var(--ink-soft);
}
.crop-grid {
  display: grid;
  gap: 12px;
}

.crop-grid label {
  display: grid;
  gap: 6px;
}

.admin-preview,
.admin-preview-logo,
.brand-mark {
  display: grid;
  place-items: center;
}

.admin-preview img,
.brand-logo,
.admin-select-card img,
.admin-artwork-card img,
.product-card img,
.collection-card img,
.gallery-card img,
.instagram-card img,
.hero-art img,
.primary-image img,
.thumbnail-row img {
  object-position: center center;
}

.admin-preview img,
.admin-preview-logo img,
.brand-logo {
  transform-origin: center center;
}

.admin-preview-logo {
  min-height: 280px;
}
.admin-preview-stack {
  display: grid;
  gap: 18px;
}

.admin-thumb-preview {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.24);
}

.admin-thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
}

.brand-mark-preview {
  width: 120px;
  height: 120px;
  margin-top: 8px;
}

.brand-mark-preview::before {
  display: none;
}

.admin-preview {
  aspect-ratio: 4 / 5;
}

.admin-preview-logo {
  aspect-ratio: 1 / 1;
  max-width: 320px;
}

.admin-preview img,
.admin-preview-logo img,
.brand-mark-preview img,
.admin-select-card img,
.admin-artwork-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
}
.home-carousel {
  display: grid;
  gap: 18px;
}

.carousel-track {
  position: relative;
  min-height: 540px;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 380ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 32px;
  color: #f5efe8;
  background: linear-gradient(180deg, transparent, rgba(19, 14, 11, 0.8));
}

.carousel-overlay h3 {
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
}

.carousel-dot.is-active {
  background: var(--ink);
}

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

.store-card {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.store-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 420ms ease;
}

.store-card:hover img {
  transform: scale(1.03);
}

.store-copy {
  padding: 14px 16px 18px;
}

.store-copy h3 {
  margin: 0;
  font-size: 1.35rem;
}

.filter-group-simple {
  margin-top: 14px;
}

.contact-map iframe,
.contact-map .map-pin-link {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 18px;
}

.map-pin-link {
  display: grid;
  place-items: center;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.24);
}

.admin-section-block {
  display: grid;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-section-block:last-of-type {
  border-bottom: 0;
}

.admin-carousel-editor {
  display: grid;
  gap: 16px;
}

.admin-slide-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
}

.admin-slide-card h3 {
  margin: 0;
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-checkbox input {
  width: auto;
}

@media (max-width: 1080px) {
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carousel-track {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
  .store-grid {
    grid-template-columns: 1fr 1fr;
  }

  .carousel-track {
    min-height: 380px;
  }

  .carousel-controls {
    align-items: flex-start;
    flex-direction: column;
  }
}
.admin-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-image-slot {
  display: grid;
  gap: 10px;
}

.store-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.store-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

@media (max-width: 760px) {
  .admin-image-grid {
    grid-template-columns: 1fr;
  }
}
.gallery-card-equal img {
  aspect-ratio: 4 / 5;
}
.about-grid .stats-grid {
  margin-left: 52px;
}

body[data-page="about"] .page-hero-grid {
  grid-template-columns: 1fr;
}

body[data-page="about"] .page-hero-grid > div:first-child {
  max-width: none;
}

body[data-page="commissions"] .page-hero-grid {
  grid-template-columns: 1fr;
}

body[data-page="commissions"] .page-hero-grid > div:first-child {
  max-width: none;
}

body[data-page="shop"] .page-hero-grid {
  grid-template-columns: 1fr;
}

body[data-page="shop"] .page-hero-grid > div:first-child {
  max-width: none;
}

body[data-page="shop"] .page-hero .section-title {
  max-width: none;
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  line-height: 0.94;
}

body[data-page="shop"] .page-hero p {
  max-width: 46rem;
}

body[data-page="gallery"] .page-hero-grid {
  grid-template-columns: 1fr;
}

body[data-page="gallery"] .page-hero-grid > div:first-child {
  max-width: none;
}

body[data-page="gallery"] .page-hero .section-title {
  max-width: none;
  font-size: clamp(2.9rem, 7vw, 5.8rem);
  line-height: 0.94;
}

body[data-page="gallery"] .page-hero p {
  max-width: 52rem;
}

body[data-page="shop"] .filter-group-simple {
  grid-template-columns: 1fr;
}

@media (max-width: 760px) {
  .about-grid .stats-grid {
    margin-left: 0;
  }
}

.brand-mark.has-logo::before,
.brand-mark-preview.has-logo::before {
  display: none;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 6px;
}

.admin-preview-logo img,
.brand-mark-preview img {
  object-fit: contain;
  object-position: center center;
  padding: 10px;
}
.promo-strip {
  padding: 10px 16px;
  text-align: center;
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marketplace-carousel-section {
  padding-top: 28px;
}

.marketplace-head {
  align-items: center;
}

.hero-marketplace {
  padding-top: 12px;
}

.marketplace-metrics {
  margin-top: 34px;
}

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

.discover-card,
.trust-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.discover-card h3,
.trust-card strong {
  margin: 10px 0 8px;
  font-size: 1.45rem;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.artist-line {
  margin: 6px 0 10px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.artist-line a,
.artist-line span {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.artist-line a:hover {
  border-color: currentColor;
  color: var(--ink);
}

.artist-profile-image {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.artist-profile-copy {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.marketplace-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,.46), rgba(190,165,136,.15));
  box-shadow: var(--shadow);
}

.compact-banner {
  padding: 24px 28px;
}

.shop-hero-marketplace .panel {
  display: grid;
  gap: 18px;
}

.market-toolbar {
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.market-toolbar-label {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.trust-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: var(--ink-soft);
}

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

.icon-button,
.menu-toggle {
  min-width: 42px;
  padding: 0 14px;
  font-size: 0.82rem;
}

.nav-icon {
  padding: 0;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition), stroke var(--transition);
}

.nav-icon:hover svg {
  transform: scale(1.04);
}

@media (max-width: 1080px) {
  .discover-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .discover-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}


body[data-page="contact"] .page-hero-grid {
  grid-template-columns: 1fr;
}

body[data-page="contact"] .page-hero-grid > div:first-child {
  max-width: none;
}

body[data-page="contact"] .page-hero .section-title {
  max-width: none;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 0.94;
}

body[data-page="contact"] .page-hero p {
  max-width: 46rem;
}

body[data-page="contact"] .contact-grid {
  grid-template-columns: 1fr;
}
.cart-item-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.cart-remove {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.nav-actions a[href="cart.html"] {
  position: relative;
}

.nav-actions a[href="cart.html"].is-cart-pulsing {
  animation: cart-pulse 700ms ease;
}

.cart-flyer {
  position: fixed;
  z-index: 120;
  object-fit: cover;
  pointer-events: none;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  animation: cart-fly 700ms cubic-bezier(.2,.72,.22,1) forwards;
}

@keyframes cart-fly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--cart-target-x), var(--cart-target-y)) scale(0.18);
    opacity: 0;
  }
}

@keyframes cart-pulse {
  0%, 100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.12);
  }
}
.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 130;
  transform: translate(-50%, 18px);
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(24, 21, 18, 0.92);
  color: var(--paper-strong);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 84px;
  padding: 24px 28px;
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: inherit;
}

.faq-item button span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.faq-item button[aria-expanded="true"] span {
  transform: rotate(45deg);
  background: rgba(255,255,255,.4);
  border-color: var(--line-strong);
}

.faq-answer {
  padding: 0 28px 24px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.faq-answer[hidden] {
  display: none;
}
.brand-mark.has-logo {
  width: clamp(92px, 11vw, 132px);
  height: clamp(56px, 7vw, 78px);
  border-radius: 18px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(24, 21, 18, 0.08);
  box-shadow: 0 14px 30px rgba(30, 24, 18, 0.1);
}

body[data-theme="dark"] .brand-mark.has-logo {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.brand-mark.has-logo .brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 0;
}

@media (max-width: 760px) {
  .brand-mark.has-logo {
    width: 88px;
    height: 54px;
    padding: 6px 8px;
  }
}

.brand.brand-has-logo {
  gap: 18px;
  align-items: center;
}

.brand.brand-has-logo .brand-mark.has-logo {
  width: clamp(120px, 13vw, 160px);
  height: clamp(72px, 8vw, 96px);
  padding: 10px 12px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 244, 238, 0.88));
  box-shadow: 0 18px 34px rgba(30, 24, 18, 0.12);
}

body[data-theme="dark"] .brand.brand-has-logo .brand-mark.has-logo {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.brand.brand-has-logo .brand-copy {
  gap: 4px;
}

.brand.brand-has-logo .brand-copy strong {
  font-size: 1.65rem;
  line-height: 0.96;
}

.brand.brand-has-logo .brand-copy span {
  max-width: 18rem;
  font-size: 0.8rem;
  line-height: 1.2;
}

@media (max-width: 760px) {
  .brand.brand-has-logo {
    gap: 12px;
  }

  .brand.brand-has-logo .brand-mark.has-logo {
    width: 108px;
    height: 66px;
    padding: 8px 10px;
    border-radius: 18px;
  }

  .brand.brand-has-logo .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand.brand-has-logo .brand-copy span {
    font-size: 0.72rem;
    max-width: 10rem;
  }
}
.brand-mark.has-logo,
.brand.brand-has-logo .brand-mark {
  border: 0;
  background: transparent;
}

.brand-logo {
  display: none !important;
}

@media (max-width: 760px) {
  .brand-mark {
    font-size: 1.2rem;
    letter-spacing: 0.14em;
  }
}


:root {
  --bg: #f4ece2;
  --paper: rgba(255, 248, 241, 0.82);
  --paper-strong: #fffaf4;
  --ink: #1d1712;
  --ink-soft: #625247;
  --line: rgba(78, 49, 31, 0.14);
  --line-strong: rgba(78, 49, 31, 0.26);
  --accent: #ca6a3f;
  --accent-deep: #0f7c78;
  --shadow: 0 24px 80px rgba(58, 34, 18, 0.14);
}

body[data-theme="dark"] {
  --bg: #16110f;
  --paper: rgba(34, 24, 20, 0.84);
  --paper-strong: #221915;
  --ink: #f6eee6;
  --ink-soft: #d7bfab;
  --line: rgba(246, 228, 214, 0.12);
  --line-strong: rgba(246, 228, 214, 0.24);
  --accent: #ee8a5a;
  --accent-deep: #4fb6b0;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

body {
  background:
    radial-gradient(circle at 10% 12%, rgba(228, 122, 69, 0.16), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(27, 132, 126, 0.16), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(217, 177, 95, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 22%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(202, 106, 63, 0.08), transparent 18%),
    radial-gradient(circle at 74% 66%, rgba(15, 124, 120, 0.08), transparent 22%);
  mix-blend-mode: multiply;
}

.site-header {
  background: rgba(244, 236, 226, 0.8);
}

body[data-theme="dark"] .site-header {
  background: rgba(22, 17, 15, 0.82);
}

.hero-copy,
.panel,
.quote-card,
.testimonial-card,
.newsletter-card,
.product-card,
.detail-panel,
.cart-panel,
.faq-item,
.contact-card,
.feature-card,
.timeline-item,
.exhibition-card,
.stat-card,
.collection-card,
.gallery-card,
.artist-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent 46%),
    var(--paper);
  border-color: rgba(113, 73, 46, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #db845d);
  border-color: transparent;
  color: #fff8f2;
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(15, 124, 120, 0.14), rgba(202, 106, 63, 0.12));
  border-color: rgba(15, 124, 120, 0.22);
}

.icon-button,
.menu-toggle {
  background: linear-gradient(180deg, rgba(255, 249, 243, 0.82), rgba(242, 227, 214, 0.48));
}

body[data-theme="dark"] .icon-button,
body[data-theme="dark"] .menu-toggle {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.hero-overlay {
  background: linear-gradient(180deg, transparent, rgba(25, 16, 12, 0.22) 34%, rgba(16, 38, 40, 0.82));
}

.quote-card {
  background:
    radial-gradient(circle at top right, rgba(202, 106, 63, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 124, 120, 0.06), transparent 40%),
    var(--paper);
}

.newsletter-art {
  background:
    linear-gradient(180deg, rgba(10, 30, 31, 0.18), rgba(202, 106, 63, 0.08)),
    url("assets/artworks/artwork-6.svg") center/cover no-repeat;
}

.brand-mark,
.artist-credit a,
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent-deep);
}

.price,
.metric strong,
.stat-card strong {
  color: var(--accent);
}

.market-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.market-toolbar-label {
  color: var(--ink-soft);
}

.empty-cart-cta {
  margin-top: 10px;
}

.payment-shell {
  display: grid;
  gap: 16px;
  margin: 8px 0 10px;
}

.checkout-help {
  margin: -2px 0 2px;
  color: var(--ink-soft);
}

.payment-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
}

.payment-panel h3 {
  margin: 8px 0 14px;
}

[data-paypal-button-container],
[data-paypal-card-container] {
  min-height: 44px;
}

.status-shell {
  display: grid;
  gap: 20px;
}

.status-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 52%),
    var(--paper);
  box-shadow: var(--shadow);
}

.status-card-centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

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

.receipt-grid div,
.receipt-item {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.16);
}

.receipt-grid strong {
  display: block;
  margin-bottom: 6px;
}

.receipt-items {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.receipt-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  align-items: center;
}

.receipt-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
}

.status-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

body[data-page="checkout-success"] .page-hero-grid,
body[data-page="checkout-cancelled"] .page-hero-grid {
  grid-template-columns: 1fr;
}

body[data-page="checkout-success"] .page-hero-grid > div:first-child,
body[data-page="checkout-cancelled"] .page-hero-grid > div:first-child {
  max-width: none;
}

@media (max-width: 760px) {
  .receipt-grid,
  .receipt-item {
    grid-template-columns: 1fr;
  }
}
