:root {
  --paper: #f5f2eb;
  --paper-deep: #eae5da;
  --ink: #23231f;
  --muted: #6f6c64;
  --accent: #a14834;
  --line: rgba(35, 35, 31, .18);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; background: var(--ink); color: white; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 242, 235, .91);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled { border-color: var(--line); }
.brand { font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; letter-spacing: -.03em; }
.brand span { color: var(--accent); }
nav { display: flex; gap: clamp(1.4rem, 3vw, 2.8rem); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
nav a, .contact-links a { transition: color .2s ease; }
nav a:hover, .contact-links a:hover { color: var(--accent); }
.menu-toggle { display: none; border: 0; background: none; width: 42px; height: 42px; padding: 10px; }
.menu-toggle span { display: block; height: 1px; background: currentColor; margin: 7px 0; transition: transform .25s ease; }

main > section, footer { width: min(var(--max), calc(100% - clamp(2.5rem, 8vw, 8rem))); margin-inline: auto; }
.intro { min-height: 70vh; padding: clamp(7rem, 13vw, 12rem) 0 6rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { margin: 0 0 1.2rem; color: var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: .98; letter-spacing: -.045em; }
h1 { max-width: 900px; font-size: clamp(4rem, 10vw, 9.5rem); }
h2 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h3 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.lead { max-width: 570px; margin: 2rem 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.25rem); }
.text-link { display: inline-flex; gap: 1rem; padding-bottom: .25rem; border-bottom: 1px solid currentColor; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.catalog-section { padding: 6rem 0 8rem; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: clamp(4rem, 8vw, 8rem); }
.collection + .collection { margin-top: clamp(7rem, 12vw, 12rem); }
.collection-header { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.collection-header p { max-width: 440px; margin: 0 0 .35rem auto; color: var(--muted); }
.collection-index { display: block; margin-bottom: .7rem; color: var(--accent); font: 700 .7rem Arial, sans-serif; letter-spacing: .15em; }
.artwork-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(2.3rem, 5vw, 5rem) clamp(1rem, 2vw, 2rem); align-items: start; }
.artwork { min-width: 0; opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.artwork.is-visible { opacity: 1; transform: none; }
.artwork-image { width: 100%; padding: 0; border: 0; background: var(--paper-deep); cursor: zoom-in; overflow: hidden; }
.artwork-image img { width: 100%; height: auto; transition: transform .5s cubic-bezier(.2,.65,.3,1); }
.artwork-image:hover img { transform: scale(1.015); }
.artwork-meta { padding-top: .9rem; }
.artwork-title-row { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; }
.artwork-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; line-height: 1.25; }
.artwork-id { color: var(--muted); font-size: .62rem; letter-spacing: .08em; }
.artwork-tags { min-height: 1.5rem; margin: .25rem 0 .45rem; color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.limited { color: var(--accent); }
.inquiry-link { border: 0; border-bottom: 1px solid var(--line); background: none; padding: 0 0 .15rem; color: var(--muted); cursor: pointer; font-size: .68rem; letter-spacing: .06em; }
.inquiry-link:hover { color: var(--accent); border-color: var(--accent); }
.catalog-status { color: var(--muted); }

.price-section { padding: clamp(6rem, 12vw, 11rem) 0; border-top: 1px solid var(--line); }
.price-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(4rem, 10vw, 10rem); }
.price-list { margin: 0; }
.price-list div { display: flex; justify-content: space-between; gap: 2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.price-list dt, .price-list dd { margin: 0; }
.price-list dd { font-family: Georgia, serif; font-size: 1.2rem; text-align: right; }
.note { color: var(--muted); font-size: .8rem; }
.edition-note { align-self: start; padding: 2.5rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.edition-note p:last-child { color: var(--muted); }
.edition-price { margin: 1.4rem 0; font: 2rem Georgia, serif; }

.about-section { padding: clamp(6rem, 12vw, 11rem) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 9rem); align-items: center; }
.about-image { background: var(--paper-deep); }
.about-copy h2 { max-width: 650px; margin-bottom: 2.2rem; }
.about-copy > p:not(.eyebrow):not(.signature) { max-width: 540px; color: var(--muted); }
.signature { margin-top: 2.5rem; font: italic 1.5rem Georgia, serif; }

.contact-section { padding: clamp(7rem, 14vw, 13rem) 0 5rem; border-top: 1px solid var(--line); text-align: center; }
.contact-section h2 { max-width: 900px; margin-inline: auto; }
.contact-section > p:not(.eyebrow) { max-width: 530px; margin: 1.8rem auto 2.5rem; color: var(--muted); }
.primary-button { display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.3rem; background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .2s; }
.primary-button:hover { background: var(--accent); }
.contact-links { margin-top: 5rem; display: flex; justify-content: center; gap: 2rem; font-size: .78rem; letter-spacing: .06em; }
footer { padding: 2rem 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }

.lightbox { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; background: rgba(20,20,18,.96); color: #f7f4ed; }
.lightbox.is-open { display: flex; }
.lightbox-stage { position: relative; width: min(82vw, 1100px); height: 86vh; display: flex; align-items: center; justify-content: center; }
.lightbox-image { max-width: 100%; max-height: calc(100% - 3.5rem); width: auto; height: auto; opacity: 0; transition: opacity .3s; }
.lightbox-image.is-loaded { opacity: 1; }
.lightbox-caption { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; color: rgba(255,255,255,.72); font-size: .75rem; letter-spacing: .06em; }
.lightbox button { position: absolute; z-index: 2; border: 0; background: transparent; color: white; cursor: pointer; }
.lightbox-close { top: 1rem; right: 1.5rem; padding: .5rem; font-size: 2rem; font-weight: 200; }
.lightbox-nav { top: 50%; transform: translateY(-50%); padding: 1rem; font-size: 1.4rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.loader { position: absolute; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.25); border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; }
.loader[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .artwork-grid { grid-template-columns: repeat(3, 1fr); }
  .price-layout { gap: 4rem; }
}
@media (max-width: 700px) {
  .site-header { min-height: 64px; }
  .menu-toggle { display: block; }
  nav { position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 1rem 1.25rem 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  nav.is-open { display: flex; }
  nav a { padding: .85rem 0; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .intro { min-height: 66vh; padding-top: 5rem; }
  h1 { font-size: clamp(3.7rem, 19vw, 6rem); }
  .collection-header, .price-layout, .about-section { grid-template-columns: 1fr; }
  .collection-header p { margin-left: 0; }
  .artwork-grid { grid-template-columns: repeat(2, 1fr); }
  .about-image { width: 82%; }
  .lightbox-stage { width: 78vw; height: 82vh; }
  .lightbox-nav { padding: .5rem; }
  .lightbox-prev { left: .25rem; }
  .lightbox-next { right: .25rem; }
  .contact-links { flex-direction: column; gap: .8rem; }
}
@media (max-width: 380px) {
  .artwork-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

