:root {
  --sand: #f5f1e8;
  --sand-deep: #ece5d6;
  --ink: #1e2426;
  --teal: #14575f;
  --teal-deep: #0d3f45;
  --muted: #5f6a68;
  --serif: Georgia, 'Palatino Linotype', 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--sand); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img { display: block; }

/* Hero */
.hero {
  position: relative;
  min-height: 780px;
  background: url('img/hero.jpg') center 38% / cover no-repeat;
  display: flex; align-items: flex-end;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,22,.16) 0%, rgba(10,20,22,.30) 50%, rgba(10,20,22,.78) 100%);
}
.hero-inner { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 32px 72px; color: #fff; }
.hero-kicker { font-family: var(--sans); font-size: 13px; letter-spacing: .32em; text-transform: uppercase; margin-bottom: 18px; opacity: .95; text-shadow: 0 1px 10px rgba(6,24,28,.55); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1.05; letter-spacing: .01em; margin-bottom: 18px; text-shadow: 0 2px 16px rgba(6,24,28,.45); }
.hero-tagline { font-size: 20px; line-height: 1.55; max-width: 680px; opacity: .97; margin-bottom: 30px; text-shadow: 0 1px 12px rgba(6,24,28,.55); }
.hero-cta {
  display: inline-block; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.75);
  padding: 14px 30px; border-radius: 2px; transition: background .25s, color .25s;
}
.hero-cta:hover { background: #fff; color: var(--teal-deep); }

/* Intro */
.intro { max-width: 780px; margin: 0 auto; padding: 96px 32px; text-align: center; }
.intro p { font-family: var(--serif); font-size: 26px; line-height: 1.6; color: var(--teal-deep); }

/* Collection */
.collection { max-width: 1160px; margin: 0 auto; padding: 24px 32px 40px; }
.collection > h2 {
  font-family: var(--serif); font-weight: 400; font-size: 40px; text-align: center;
  color: var(--ink); margin-bottom: 72px;
}
.collection > h2::after { content: ''; display: block; width: 56px; height: 2px; background: var(--teal); margin: 22px auto 0; }
.piece {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center;
  margin-bottom: 96px;
}
.piece.flip .piece-img { order: 2; }
.piece-img { position: relative; text-align: center; }
.piece-img img {
  max-width: 100%; max-height: 560px; width: auto; height: auto; margin: 0 auto;
  border-radius: 2px; box-shadow: 0 6px 24px rgba(20,30,32,.08);
}
.sold-badge {
  position: absolute; top: 18px; left: 18px;
  background: rgba(13,63,69,.92); color: #fff; font-size: 12px; letter-spacing: .24em;
  text-transform: uppercase; padding: 8px 16px; border-radius: 2px;
}
.piece-no { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.piece h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.2; margin-bottom: 16px; }
.piece-desc { color: var(--muted); margin-bottom: 26px; max-width: 46ch; }
.piece-meta { border-top: 1px solid #d8d0bf; }
.piece-meta div { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid #d8d0bf; }
.piece-meta dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.piece-meta dd { font-weight: 600; color: var(--ink); }
.piece-meta dd.sold-text { color: var(--teal-deep); }

/* About */
.about { background: var(--teal-deep); color: #eef3f1; padding: 96px 32px; }
.about-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { display: flex; flex-direction: column; gap: 28px; }
.about-img img { max-width: 100%; max-height: 360px; width: auto; height: auto; margin: 0 auto; border-radius: 2px; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.about h2 { font-family: var(--serif); font-weight: 400; font-size: 38px; margin-bottom: 24px; }
.about p { margin-bottom: 18px; color: rgba(238,243,241,.88); }
.about p:last-child { margin-bottom: 0; }

/* Contact */
.contact { max-width: 760px; margin: 0 auto; padding: 96px 32px 64px; text-align: center; }
.contact h2 { font-family: var(--serif); font-weight: 400; font-size: 38px; margin-bottom: 18px; }
.contact h2::after { content: ''; display: block; width: 56px; height: 2px; background: var(--teal); margin: 20px auto 0; }
.contact-lede { color: var(--muted); margin: 26px 0 40px; }
.contact-list { max-width: 480px; margin: 0 auto 56px; text-align: left; }
.contact-list div { display: flex; justify-content: space-between; padding: 14px 2px; border-bottom: 1px solid #d8d0bf; }
.contact-list dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); align-self: center; }
.contact-list dd { font-weight: 600; }
.contact-list dd.placeholder { font-weight: 400; font-style: italic; color: #9a917c; letter-spacing: .06em; }
.footer-line { font-size: 13px; letter-spacing: .12em; color: var(--muted); }

/* Mobile */
@media (max-width: 760px) {
  .hero { min-height: 560px; background-position: center 30%; }
  .hero-inner { padding: 0 22px 48px; }
  .hero h1 { font-size: 40px; }
  .hero-tagline { font-size: 17px; }
  .hero-kicker { font-size: 11px; letter-spacing: .24em; }
  .br-d { display: none; }
  .intro { padding: 64px 24px; }
  .intro p { font-size: 21px; }
  .collection { padding: 12px 22px 24px; }
  .collection > h2 { font-size: 30px; margin-bottom: 48px; }
  .piece { grid-template-columns: 1fr; gap: 26px; margin-bottom: 72px; }
  .piece.flip .piece-img { order: 0; }
  .piece-img img { max-height: none; }
  .piece h3 { font-size: 26px; }
  .about { padding: 64px 22px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about h2 { font-size: 30px; }
  .contact { padding: 64px 22px 48px; }
  .contact h2 { font-size: 30px; }
}

/* Artwork close-ups */
.zoomable-art { cursor: zoom-in; }
.zoomable-art:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.piece-img.zoomable-art:focus-visible { outline-color: var(--teal); outline-offset: 6px; }
body.lightbox-open { overflow: hidden; }
.art-lightbox {
  width: 100vw; max-width: none; height: 100dvh; max-height: none;
  border: 0; padding: 0; margin: 0; background: rgba(7, 12, 13, .97); color: #fff;
  overflow: hidden;
}
.art-lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.art-lightbox::backdrop { background: rgba(7, 12, 13, .88); }
.lightbox-stage {
  min-width: 0; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center;
  padding: 52px 28px 18px; touch-action: pinch-zoom; overscroll-behavior: contain;
}
.lightbox-image {
  display: block; max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto;
  object-fit: contain; user-select: none; -webkit-user-drag: none;
}
.lightbox-close {
  position: fixed; z-index: 2; top: max(12px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right));
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%;
  background: rgba(0,0,0,.5); color: #fff; font: 300 34px/38px Arial, sans-serif; cursor: pointer;
}
.lightbox-close:hover, .lightbox-close:focus-visible { background: #fff; color: var(--teal-deep); outline: none; }
.lightbox-footer { text-align: center; padding: 8px 60px max(16px, env(safe-area-inset-bottom)); }
.lightbox-caption { font-family: var(--serif); font-size: 16px; line-height: 1.3; }
.lightbox-hint { margin-top: 3px; color: rgba(255,255,255,.65); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 760px) {
  .lightbox-stage { padding: 58px 10px 12px; }
  .lightbox-image { max-height: calc(100dvh - 125px); }
  .lightbox-footer { padding-left: 44px; padding-right: 44px; }
}
