:root {
  --bg: #FAF6F0;
  --surface: #F3ECE1;
  --surface-elevated: #FFFFFF;
  --text: #24160F;
  --text-muted: #6B5446;
  --accent: #9A4E2E;
  --accent-hover: #74361C;
  --gold: #C8A882;
  --border: rgba(44, 30, 22, 0.12);
  --espresso: #1A100B;
  --radius: 12px;
  --shadow: 0 14px 34px rgba(36, 22, 15, 0.07);
  --shadow-hover: 0 22px 46px rgba(36, 22, 15, 0.12);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .22s ease; }
a:hover { color: var(--accent-hover); }

.paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.24'/%3E%3C/svg%3E");
}

.container {
  width: min(1200px, 91%);
  margin: 0 auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0;
  gap: 1rem;
}
.brand { display: flex; flex-direction: column; color: var(--text); }
.brand-title {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
}
.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.site-nav { display: flex; gap: 1.65rem; align-items: center; }
.nav-link {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .22s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-light { background: #FAF6F0; color: var(--espresso); }
.btn-light:hover { background: #fff; color: var(--espresso); transform: translateY(-1px); }
.btn-sm { padding: 0.52rem 1.05rem; font-size: 0.82rem; margin-top: 0.85rem; }

/* Typography */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  margin-top: 0;
  color: var(--text);
}
h1 { font-size: clamp(2.55rem, 4.8vw, 4.1rem); margin-bottom: 1.15rem; letter-spacing: -0.02em; }
h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.45rem; margin-bottom: 0.35rem; }
.lead { font-size: 1.06rem; color: var(--text-muted); margin-bottom: 1.85rem; max-width: 58ch; }

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-frame-wrap {
  padding: 1rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.hero-frame-wrap .artwork-frame { aspect-ratio: 4 / 5; max-height: 520px; }
.hero-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Highlights Strip */
.highlights-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem 0;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.highlight-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--text);
}
.highlight-item span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Artwork Protection & Uniform CSS Watermark */
.artwork-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
}
.artwork-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.art-card:hover .artwork-frame img { transform: scale(1.04); }
.artwork-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}
.artwork-watermark {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(26, 16, 11, 0.88);
  color: #FAF6F0;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.68rem;
  border-top-left-radius: 6px;
  pointer-events: none;
}
.badge-available, .badge-archive {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}
.badge-available { background: var(--accent); color: #fff; }
.badge-archive { background: rgba(26, 16, 11, 0.74); color: #FAF6F0; }

/* Sections */
.section { padding: 4.25rem 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.page-hero {
  padding: 3.75rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.quote-banner {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.32;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2.75rem;
  color: var(--text);
}
.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.story-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
}

/* Dark Espresso Commission Banner */
.commission-banner {
  background: var(--espresso);
  color: #FAF6F0;
  border-radius: 16px;
  padding: 3rem 2.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.commission-banner h2 { color: #FAF6F0; margin-bottom: 0.5rem; }
.commission-banner p { color: #D5C5B5; margin: 0; max-width: 58ch; }

/* Gallery Grid */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
  align-items: center;
}
.filter-btn {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.52rem 1.15rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}
.art-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.art-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.art-card .artwork-frame {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}
.art-card-body {
  padding: 1.25rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.art-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.55rem;
}
.art-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

/* AdSense Containers */
.ad-container { padding: 1.6rem 0; }
.ad-box {
  background: var(--surface);
  border: 1px dashed rgba(44, 30, 22, 0.18);
  border-radius: var(--radius);
  padding: 0.9rem 1rem 1rem;
  text-align: center;
  min-height: 108px;
}
.ad-label {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

/* Studio Journal */
.journal-grid { display: grid; gap: 2rem; max-width: 880px; }
.journal-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}
.journal-date {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Contact & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: start;
}
.form-card, .info-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  background: var(--bg);
  color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}
.qr-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  text-align: center;
}
.qr-box svg { margin: 0 auto 0.55rem; }

/* Prose & FAQ */
.prose { max-width: 820px; }
.faq-item {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem 1.85rem;
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: var(--espresso);
  color: #E4D9C8;
  padding: 4rem 0 2.25rem;
  margin-top: 3.5rem;
}
.footer-eyebrow {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.site-footer h3, .site-footer h4 { color: #FAF6F0; }
.site-footer a { color: #E4D9C8; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(228, 217, 200, 0.16);
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.84rem;
  color: #B8A596;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(18, 10, 6, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 3.5rem;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute;
  top: 1.15rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #FAF6F0;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250, 246, 240, 0.12);
  border: 1px solid rgba(250, 246, 240, 0.25);
  color: #FAF6F0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-nav:hover { background: var(--accent); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-content { max-width: 920px; width: 100%; }
.lightbox-frame { max-height: 72vh; background: #120A06; cursor: default; }
.lightbox-frame img { object-fit: contain; max-height: 72vh; width: 100%; }
.lightbox-eyebrow {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.lightbox-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.1rem;
  color: #FAF6F0;
}
.lightbox-meta h3 { color: #FAF6F0; margin: 0 0 0.2rem; }
.lightbox-meta p { color: #D4C3B3; margin: 0; font-size: 0.9rem; max-width: 56ch; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .two-col, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .site-nav.open { display: flex; }
  .art-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 1.25rem; }
  .lightbox-nav { display: none; }
  .commission-banner { padding: 2rem 1.5rem; }
}
