/* ============================================
   ATELIER LUMEN — design system
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --cream: #FAF6F0;
  --cream-deep: #F2ECE2;
  --paper: #FEFBF6;
  --blush: #F4DCD0;
  --blush-soft: #F9E8DD;
  --blush-deep: #E8C5B3;
  --gold: #C9A961;
  --gold-deep: #A8893F;
  --gold-soft: #E6D3A3;
  --ink: #2B2420;
  --ink-soft: #5C524B;
  --ink-mute: #8A7F76;
  --hairline: rgba(43, 36, 32, 0.12);
  --hairline-strong: rgba(43, 36, 32, 0.2);
  --gold-line: rgba(201, 169, 97, 0.35);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 900px 600px at 80% 0%, var(--blush-soft) 0%, transparent 55%),
    radial-gradient(ellipse 700px 500px at 0% 100%, rgba(201, 169, 97, 0.08) 0%, transparent 55%);
  background-attachment: fixed;
}

/* Paper grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.14 0 0 0 0 0.12 0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.3;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.display-1 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(64px, 11vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.display-1 .rom { font-style: normal; font-weight: 400; }
.display-1 .gold { color: var(--gold-deep); font-weight: 400; }

.display-2 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.display-3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.lede {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 1.6vw, 26px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 54ch;
}

.label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.label.gold { color: var(--gold-deep); }

.meta {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.numero {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
  letter-spacing: 0.02em;
}

/* ============================================
   PRELOADER
   ============================================ */

.preloader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-frame {
  position: relative;
  width: 260px;
  height: 150px;
}
.preloader-frame svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.preloader-frame svg .outer {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  stroke-dasharray: 820;
  stroke-dashoffset: 820;
  animation: drawFrame 1.6s var(--ease-out) forwards;
}
.preloader-frame svg .inner {
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 0.5;
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: drawFrame 1.4s var(--ease-out) 0.2s forwards;
}
@keyframes drawFrame {
  to { stroke-dashoffset: 0; }
}
.preloader-mark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  animation: markFade 0.9s ease 1.1s forwards;
}
.preloader-mark .word {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.preloader-mark .sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
@keyframes markFade {
  to { opacity: 1; }
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: rgba(250, 246, 240, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: padding 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease);
}
.site-header.scrolled {
  padding: 14px 40px;
  background: rgba(250, 246, 240, 0.92);
  border-bottom-color: var(--hairline);
}
.wordmark {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.005em;
  z-index: 2;
}
.wordmark .monogram {
  font-style: normal;
  font-weight: 400;
  color: var(--gold-deep);
  font-size: 19px;
  border: 1px solid var(--gold);
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  position: relative;
  top: 2px;
}
.nav-list {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-list a {
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transition: right 0.45s var(--ease-out);
}
.nav-list a:hover { color: var(--gold-deep); }
.nav-list a:hover::after, .nav-list a.active::after { right: 0; }
.nav-list a.active { color: var(--gold-deep); }

.header-action {
  display: flex;
  align-items: center;
  gap: 18px;
}
.inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 10px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  position: relative;
}
.inquiry-btn:hover { background: var(--gold); color: var(--paper); }
.inquiry-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--gold);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0;
  border-radius: 10px;
  transition: background 0.35s, color 0.35s;
}
.inquiry-btn:hover .inquiry-count {
  background: var(--paper);
  color: var(--gold-deep);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 28px;
  padding: 6px 0;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ink);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 40px 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-left { position: relative; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.hero-meta .bar {
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  margin-bottom: 36px;
}
.hero-title .line-1 { display: block; }
.hero-title .line-2 { display: block; margin-left: 80px; }

.hero-tagline {
  margin-bottom: 48px;
  max-width: 44ch;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 34px;
  background: var(--ink);
  color: var(--paper);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn-primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-1px);
}
.btn-primary .arrow { display: inline-block; transition: transform 0.4s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline-strong);
  transition: color 0.3s, border-color 0.3s;
}
.btn-ghost:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }

/* Hero right — featured piece */
.hero-feature {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
  overflow: hidden;
}
.hero-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 12s ease;
}
.hero-feature:hover img { transform: scale(1.06); }
.hero-feature-label {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 6px 12px;
  background: rgba(254, 251, 246, 0.9);
  backdrop-filter: blur(6px);
}
.hero-feature-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 16px 20px;
  background: rgba(254, 251, 246, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.hero-feature-caption h3 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-feature-caption .num {
  color: var(--gold-deep);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1;
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  animation: orbFloat 22s ease-in-out infinite;
  will-change: transform;
}
.orb-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(244, 220, 208, 0.95), transparent 70%);
  box-shadow: 0 0 140px rgba(244, 220, 208, 0.45);
  top: -100px; right: -120px;
}
.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.32), transparent 70%);
  bottom: -80px; left: 10%;
  animation-delay: -7s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(249, 232, 221, 0.9), transparent 70%);
  top: 28%; left: -80px;
  animation-delay: -14s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -40px) scale(1.06); }
  66% { transform: translate(-30px, 30px) scale(0.94); }
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  bottom: -10px;
  animation: particleRise linear infinite;
  will-change: transform, opacity;
}
.particle.pink { background: var(--blush-deep); width: 4px; height: 4px; }
.particle.sm { width: 2px; height: 2px; }
@keyframes particleRise {
  0% { transform: translate(0, 0); opacity: 0; }
  8% { opacity: 0.55; }
  92% { opacity: 0.25; }
  100% { transform: translate(var(--drift, 0px), -110vh); opacity: 0; }
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 4;
}
.scroll-hint .rule {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  position: relative;
  padding: 120px 40px;
  z-index: 2;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}
.section-head-left { display: flex; flex-direction: column; gap: 18px; }
.section-head-left .tag {
  display: flex; align-items: center; gap: 14px;
}
.section-head-left .tag .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.section-head-right {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
  max-width: 54ch;
  justify-self: end;
}

/* Horizontal rule */
.hr-gold {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-line), transparent);
  border: none;
  margin: 0;
}

/* ============================================
   COLLECTIONS (home category cards)
   ============================================ */

.collections {
  background: var(--paper);
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.collection-card {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
  cursor: pointer;
  transition: transform 0.6s var(--ease-out);
  transform-style: preserve-3d;
  perspective: 1000px;
}
.collection-card.c-1 { grid-column: span 5; aspect-ratio: 4/5; }
.collection-card.c-2 { grid-column: span 4; aspect-ratio: 4/5; margin-top: 80px; }
.collection-card.c-3 { grid-column: span 3; aspect-ratio: 3/4; }
.collection-card.c-4 { grid-column: span 5; aspect-ratio: 5/4; margin-top: -40px; }
.collection-card.c-5 { grid-column: span 7; aspect-ratio: 16/10; }

.collection-card .img-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.collection-card .img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(43, 36, 32, 0.55) 0%, transparent 45%, transparent 100%);
  z-index: 1;
}
.collection-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.collection-card:hover img { transform: scale(1.08); }

.collection-card .content {
  position: absolute;
  left: 28px; right: 28px; bottom: 28px;
  z-index: 2;
  color: var(--paper);
  display: flex; flex-direction: column; gap: 10px;
}
.collection-card .num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-soft);
  font-size: 18px;
}
.collection-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 3.2vw, 54px);
  color: var(--paper);
  line-height: 1;
}
.collection-card .desc {
  font-size: 13px;
  color: rgba(254, 251, 246, 0.82);
  max-width: 32ch;
  line-height: 1.55;
}
.collection-card .view {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.collection-card .view .arrow {
  transition: transform 0.4s var(--ease);
}
.collection-card:hover .view .arrow { transform: translateX(6px); }

/* ============================================
   FEATURED WORKS (home)
   ============================================ */

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.featured-card {
  display: flex; flex-direction: column; gap: 16px;
  cursor: pointer;
}
.featured-card .img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream-deep);
  position: relative;
}
.featured-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.featured-card:hover img { transform: scale(1.05); }
.featured-card .num-badge {
  position: absolute;
  top: 14px; right: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--paper);
  font-size: 18px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
  z-index: 2;
}
.featured-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
}
.featured-card .info {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
}
.featured-card .info .price {
  color: var(--gold-deep);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
}

/* ============================================
   ABOUT TEASER
   ============================================ */

.about-teaser {
  background: linear-gradient(145deg, var(--blush-soft) 0%, var(--blush) 100%);
  position: relative;
  overflow: hidden;
}
.about-teaser::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.about-img {
  aspect-ratio: 4/5;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.about-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-img .frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(254, 251, 246, 0.6);
  z-index: 2;
  pointer-events: none;
}
.about-copy h2 {
  margin-bottom: 28px;
}
.about-copy p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 52ch;
}
.about-copy .signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  margin-top: 28px;
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

/* ============================================
   QUOTE / MANIFESTO
   ============================================ */

.manifesto {
  text-align: center;
  padding: 180px 40px;
}
.manifesto .container { max-width: 900px; }
.manifesto blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(30px, 3.5vw, 54px);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.manifesto blockquote .mark {
  color: var(--gold-deep);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.3em;
  margin: 0 0.1em;
}
.manifesto cite {
  display: block;
  margin-top: 40px;
  font-style: normal;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ============================================
   CATEGORY PAGE — hero
   ============================================ */

.category-hero {
  min-height: 72vh;
  padding: 180px 40px 80px;
}
.cat-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}
.cat-hero-left { max-width: 800px; }
.cat-hero-right {
  display: flex; flex-direction: column; gap: 20px;
  align-items: flex-end;
  padding-bottom: 10px;
}
.cat-hero-right .stat {
  text-align: right;
}
.cat-hero-right .stat .num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 48px;
  color: var(--gold-deep);
  line-height: 1;
}
.cat-hero-right .stat .lbl {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
}

/* ============================================
   TOOLBAR (search + filter)
   ============================================ */

.toolbar {
  position: sticky;
  top: 72px;
  z-index: 40;
  padding: 22px 40px;
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.toolbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.search-wrap {
  position: relative;
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--hairline-strong);
  padding: 10px 0;
  transition: border-color 0.35s;
}
.search-wrap:focus-within { border-color: var(--gold); }
.search-wrap svg {
  color: var(--ink-mute);
  flex-shrink: 0;
}
.search-wrap input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.search-wrap input::placeholder {
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
}
.toolbar-right {
  display: flex; align-items: center; gap: 28px;
}
.result-count {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.result-count .n { color: var(--gold-deep); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 18px; }

/* ============================================
   GALLERY GRID
   ============================================ */

.gallery {
  padding-top: 80px;
  padding-bottom: 120px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.artwork-card {
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1200px;
  transition: transform 0.5s var(--ease-out);
  display: flex; flex-direction: column; gap: 18px;
}
.artwork-card.hidden { display: none; }
.artwork-card .img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream-deep);
  transform-style: preserve-3d;
  transition: box-shadow 0.6s var(--ease-out);
}
.artwork-card:hover .img-wrap {
  box-shadow: 0 30px 60px -20px rgba(43, 36, 32, 0.15),
              0 20px 40px -30px rgba(201, 169, 97, 0.3);
}
.artwork-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.6s var(--ease);
  transform: translateZ(0);
}
.artwork-card:hover img {
  transform: scale(1.05) translateZ(20px);
  filter: brightness(1.03);
}
.artwork-card .num-badge {
  position: absolute;
  top: 14px; right: 16px;
  padding: 4px 10px;
  background: rgba(254, 251, 246, 0.88);
  backdrop-filter: blur(6px);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-deep);
  font-size: 15px;
  z-index: 2;
}
.artwork-card .hover-indicator {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(43, 36, 32, 0.75), transparent);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
}
.artwork-card:hover .hover-indicator { opacity: 1; transform: translateY(0); }

.artwork-card .info {
  display: flex; flex-direction: column; gap: 6px;
}
.artwork-card .info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
}
.artwork-card .info .detail {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  margin-top: 4px;
}
.artwork-card .info .detail .dim {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.artwork-card .info .detail .price {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--gold-deep);
}

/* Empty search state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--ink-mute);
  display: none;
}
.empty-state.show { display: block; }
.empty-state h3 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 32px;
  color: var(--ink);
  margin-bottom: 12px;
}

/* ============================================
   MODAL (artwork detail)
   ============================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(43, 36, 32, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--paper);
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.55s var(--ease-out) 0.1s, opacity 0.55s var(--ease) 0.1s;
  box-shadow: 0 40px 80px -20px rgba(43, 36, 32, 0.2);
}
.modal-backdrop.open .modal { transform: translateY(0); opacity: 1; }

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  z-index: 10;
  background: var(--paper);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.modal-close:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }

.modal-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream-deep);
}
.modal-img img { width: 100%; height: 100%; object-fit: cover; }

.modal-body {
  padding: 50px 44px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.modal-body .tag-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.modal-body .tag-row .bar { width: 32px; height: 1px; background: var(--gold); }
.modal-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.modal-body .specs {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 24px;
}
.modal-body .specs .row {
  display: flex; justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.14em;
}
.modal-body .specs .row .k {
  color: var(--ink-mute);
  text-transform: uppercase;
}
.modal-body .specs .row .v {
  color: var(--ink);
}
.modal-body .specs .row.price .v {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--gold-deep);
  letter-spacing: 0;
}
.modal-body .desc {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 18px;
}
.modal-body .artist-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  padding: 18px 22px;
  background: var(--blush-soft);
  border-left: 1px solid var(--gold);
  margin-bottom: 28px;
}
.modal-actions {
  display: flex; gap: 14px;
  margin-top: auto;
}
.btn-dark {
  flex: 1;
  padding: 16px 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s;
  text-align: center;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-dark:hover { background: var(--gold-deep); }
.btn-dark.added { background: var(--gold-deep); }
.btn-whats {
  flex: 1;
  padding: 16px 20px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.3s, color 0.3s;
}
.btn-whats:hover { background: var(--gold); color: var(--paper); }

/* ============================================
   INQUIRY SIDEBAR
   ============================================ */

.inquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 36, 32, 0.4);
  opacity: 0;
  visibility: hidden;
  z-index: 600;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.inquiry-overlay.open { opacity: 1; visibility: visible; }
.inquiry-panel {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 440px;
  max-width: 92vw;
  background: var(--paper);
  z-index: 700;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
  display: flex; flex-direction: column;
  box-shadow: -40px 0 80px -10px rgba(43, 36, 32, 0.15);
}
.inquiry-panel.open { transform: translateX(0); }
.inquiry-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center;
}
.inquiry-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
}
.inquiry-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}
.inquiry-close:hover { background: var(--ink); color: var(--paper); }

.inquiry-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.inquiry-empty {
  padding: 60px 32px;
  text-align: center;
  color: var(--ink-mute);
}
.inquiry-empty h3 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 10px;
}
.inquiry-empty p { font-size: 13px; line-height: 1.6; }

.inquiry-item {
  display: flex; gap: 14px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  animation: itemIn 0.4s var(--ease-out);
}
@keyframes itemIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.inquiry-item .thumb {
  width: 72px; height: 90px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--cream-deep);
}
.inquiry-item .body {
  flex: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.inquiry-item .body h4 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.15;
}
.inquiry-item .body .cat {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.inquiry-item .body .price {
  color: var(--gold-deep);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  margin-top: 4px;
}
.inquiry-item .remove {
  position: absolute;
  top: 20px; right: 28px;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.inquiry-item .remove:hover { color: var(--gold-deep); }

.inquiry-footer {
  padding: 24px 32px 28px;
  border-top: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 14px;
}
.inquiry-footer .sum {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0 10px;
}
.inquiry-footer .sum .lbl {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.inquiry-footer .sum .total {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
}
.inquiry-footer .btn-whats {
  padding: 18px;
  background: var(--gold-deep);
  color: var(--paper);
  border-color: var(--gold-deep);
}
.inquiry-footer .btn-whats:hover {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.inquiry-footer .note {
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.55;
  text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--cream-deep);
  padding: 100px 40px 40px;
  position: relative;
  z-index: 2;
}
.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--hairline);
}
.footer-brand .mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 18px;
}
.footer-brand p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
  max-width: 38ch;
}
.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.footer-col ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col ul a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--gold-deep); }

.footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.footer-bottom .ig {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.footer-bottom .ig:hover { color: var(--gold-deep); }

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 40ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 120ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 200ms; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 280ms; }

/* Hero entrance — kicks in as preloader fades */
.hero-enter > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 1s var(--ease-out) forwards;
}
.hero-enter > *:nth-child(1) { animation-delay: 2.25s; }
.hero-enter > *:nth-child(2) { animation-delay: 2.4s; }
.hero-enter > *:nth-child(3) { animation-delay: 2.55s; }
.hero-enter > *:nth-child(4) { animation-delay: 2.7s; }
.hero-enter > *:nth-child(5) { animation-delay: 2.85s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-feature.enter {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  animation: heroIn 1.2s var(--ease-out) 2.5s forwards;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-title .line-2 { margin-left: 0; }
  .section-head { grid-template-columns: 1fr; gap: 28px; }
  .section-head-right { justify-self: start; }
  .collections-grid { grid-template-columns: repeat(6, 1fr); }
  .collection-card.c-1 { grid-column: span 6; }
  .collection-card.c-2 { grid-column: span 3; margin-top: 0; }
  .collection-card.c-3 { grid-column: span 3; }
  .collection-card.c-4 { grid-column: span 6; margin-top: 0; }
  .collection-card.c-5 { grid-column: span 6; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-hero-grid { grid-template-columns: 1fr; }
  .cat-hero-right { flex-direction: row; align-items: center; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  body { font-size: 14px; }
  .site-header { padding: 16px 22px; }
  .site-header.scrolled { padding: 12px 22px; }
  .nav-list { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 130px 22px 60px; }
  section { padding: 80px 22px; }
  .category-hero { padding: 150px 22px 60px; }
  .toolbar { padding: 16px 22px; top: 64px; }
  .toolbar-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .search-wrap { max-width: 100%; width: 100%; }
  .gallery { padding: 60px 22px 100px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .featured-grid { grid-template-columns: 1fr; }
  .modal { grid-template-columns: 1fr; max-height: 94vh; }
  .modal-img { aspect-ratio: 1/1; }
  .modal-body { padding: 32px 26px; }
  .modal-body h2 { font-size: 34px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer { padding: 70px 22px 30px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 85vw;
  max-width: 380px;
  background: var(--paper);
  z-index: 90;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  padding: 100px 36px 40px;
  display: flex; flex-direction: column; gap: 28px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
}
.mobile-nav a.active { color: var(--gold-deep); }

/* ============================================
   UTILITIES
   ============================================ */

.no-scroll { overflow: hidden; }
.divider-gold {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
}

::selection { background: var(--gold); color: var(--paper); }
