:root {
  --bg: #0b0b0b;
  --bg-deep: #141414;
  --paper: #161616;
  --ink: #f3ebd4;
  --ink-soft: #c4b896;
  --line: rgba(201, 165, 76, 0.28);
  --line-strong: rgba(201, 165, 76, 0.5);
  --gold: #c9a54c;
  --gold-bright: #d4af37;
  --gold-deep: #a6862e;
  --gold-grad: linear-gradient(135deg, #d4af37 0%, #c9a54c 45%, #e6d18a 70%, #b8923a 100%);
  --accent: #d4af37;
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --header-h: 96px;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --display: "Cinzel", "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  direction: ltr;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 11, 11, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 11, 11, 0.96);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1280px, calc(100% - 40px));
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img {
  display: block;
  height: 80px;
  width: auto;
}
.nav-cats {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}
.nav-cats::-webkit-scrollbar { display: none; }
.nav-cats a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  white-space: nowrap;
  border: 1px solid transparent;
}
.nav-cats a:hover,
.nav-cats a.is-active {
  color: var(--bg);
  background: var(--gold-grad);
  border-color: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 820px);
  display: grid;
  place-items: end stretch;
  overflow: hidden;
  background: #0b0b0b;
  margin-bottom: 56px;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media picture, .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11,11,11,0.92) 0%, rgba(11,11,11,0.5) 38%, rgba(11,11,11,0.28) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto 64px;
  color: var(--ink);
  text-align: center;
  text-shadow: 0 2px 20px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.45);
  padding-bottom: 8px;
}
.hero-kicker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 16px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.kicker-aba {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--gold-bright);
  padding-left: 0.32em; /* optically center tracked caps */
}
.kicker-sub {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #f7efd8;
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 400;
  max-width: 38em;
  margin-inline: auto;
  opacity: 0.94;
  line-height: 1.7;
  color: #eadfb8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.hero-actions .btn { text-shadow: none; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 18px;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light {
  background: var(--gold-grad);
  color: #14110a;
  box-shadow: 0 4px 18px rgba(201, 165, 76, 0.28);
}
.btn-light:hover {
  background: linear-gradient(135deg, #e6d18a, #d4af37);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(201, 165, 76, 0.12);
  border-color: var(--gold-bright);
  color: #f3ebd4;
}
.btn-wa {
  background: var(--gold-grad);
  color: #14110a;
  box-shadow: 0 4px 18px rgba(201, 165, 76, 0.25);
}
.btn-wa:hover {
  background: linear-gradient(135deg, #e6d18a, #d4af37);
}
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; }
.btn-sm { padding: 7px 12px; font-size: 0.82rem; }

/* Sections */
.section, #contact, #prints, #about, #shipping, #calendar {
  scroll-margin-top: 84px;
}
.section {
  padding: 12px 0 48px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--gold-bright);
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1rem;
}
.section-count {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Gallery */
.grid {
  columns: 4;
  column-gap: 16px;
}
.card {
  break-inside: avoid;
  margin-bottom: 16px;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.25);
}
.card-media {
  position: relative;
  cursor: zoom-in;
  background: #1a1a1a;
}
.card-media img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 12px;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.icon-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gold-grad);
  color: #14110a;
  text-decoration: none;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--sans);
}
.icon-btn:hover {
  background: linear-gradient(135deg, #e6d18a, #d4af37);
}
.icon-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* Contact band */
.contact-band {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
  text-align: center;
}
.contact-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
  color: var(--gold-bright);
}
.contact-band p {
  color: var(--ink-soft);
  max-width: 36em;
  margin: 0 auto 24px;
  font-size: 1.08rem;
}

/* Footer */
.site-footer {
  padding: 28px 0 40px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.footer-aba {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold-bright);
  line-height: 1.15;
  padding-left: 0.08em;
}
.footer-sub {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.footer-copy {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.site-footer a {
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.site-footer a:hover { color: #e6d18a; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #0b0b0b;
  color: var(--ink);
  display: none;
  flex-direction: column;
  direction: ltr;
  isolation: isolate;
}
.lightbox.is-open { display: flex; }
body.lb-open { overflow: hidden; }
body.lb-open .site-header { visibility: hidden; }
.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
  background: #0b0b0b;
}
.lb-title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: var(--gold-bright);
}
.lb-actions { display: flex; align-items: center; gap: 8px; }
.lb-close, .lb-nav {
  background: rgba(201, 165, 76, 0.12);
  border: 1px solid var(--line);
  color: var(--gold-bright);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.lb-close:hover, .lb-nav:hover {
  background: rgba(201, 165, 76, 0.28);
  border-color: var(--gold);
  color: #f3ebd4;
}
.lb-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 4px;
  padding: 0 8px 12px;
}
.lb-stage .lb-nav { justify-self: center; }
.lb-figure {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.lb-figure img {
  max-width: 100%;
  max-height: calc(100vh - 230px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* Responsive */
@media (max-width: 1100px) {
  .grid { columns: 3; }
}
@media (max-width: 760px) {
  .grid { columns: 2; column-gap: 10px; }
  .card { margin-bottom: 10px; border-radius: 10px; }
  .card-body { padding: 8px 9px 10px; }
  .card-title { font-size: 0.98rem; }
  .icon-btn span { display: none; }
  .hero { min-height: 78vh; }
  .hero-copy { margin-bottom: 40px; }
  .site-header { height: auto; padding: 10px 0 8px; }
  .site-header .wrap {
    flex-wrap: wrap;
    width: min(1280px, calc(100% - 24px));
    gap: 8px;
  }
  .logo img { height: 70px; }
  .nav-cats {
    flex: 1 1 100%;
    max-width: none;
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 18px), transparent);
    padding-bottom: 2px;
  }
  .section { padding-bottom: 32px; }
  .section, #contact { scroll-margin-top: 96px; }
  .lb-stage { grid-template-columns: 36px 1fr 36px; }
  .lb-close, .lb-nav { width: 36px; height: 36px; }
}
@media (max-width: 520px) {
  .grid { columns: 1; }
  .wrap, .site-header .wrap { width: min(1280px, calc(100% - 24px)); }
  .logo img { height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}

/* Card price */
.card-meta { min-width: 0; }
.card-price {
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

/* Info sections */
.info-band {
  padding: 28px 0 56px;
  scroll-margin-top: 84px;
  border-top: 1px solid var(--line);
}
.info-band .section-head { border-bottom-color: var(--line); }
.info-prose { max-width: 720px; }
.info-prose p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 1em;
}
.info-prose p:last-child { margin-bottom: 0; }
.placeholder-note {
  color: var(--ink-soft);
  font-style: italic;
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

/* Price tables */
#price-tables {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 10px;
  box-shadow: var(--shadow);
}
.price-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 12px;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price-note {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: none;
}
.price-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.price-card th,
.price-card td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.price-card th {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-card td:last-child,
.price-card th:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--gold-bright);
  white-space: nowrap;
}
.price-card th:last-child { color: var(--ink-soft); }
.price-card tbody tr:last-child td { border-bottom: 0; }

/* Lightbox buy bar */
.lb-buy {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px 18px;
  padding: 14px 22px 18px;
  border-top: 1px solid var(--line);
  background: #101010;
}
.lb-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 160px;
  flex: 1 1 160px;
}
.lb-field span,
.lb-price-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lb-field select {
  appearance: none;
  background: #0b0b0b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4af37' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 36px 10px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}
.lb-field select:focus {
  outline: none;
  border-color: var(--gold-bright);
}
.lb-price-block { min-width: 90px; }
.lb-price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.1;
  padding-bottom: 2px;
}
.lb-buy .btn-wa { margin-left: auto; }

@media (max-width: 760px) {
  .info-band, #prints, #about, #shipping, #calendar { scroll-margin-top: 96px; }
  .lb-buy { padding: 12px 14px 16px; }
  .lb-buy .btn-wa { margin-left: 0; width: 100%; justify-content: center; }
  .lb-price { font-size: 1.7rem; }
  .lb-figure img { max-height: calc(100vh - 320px); }
}

/* Featured 2027 calendar product */
.calendar-product {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: start;
}
.calendar-cover {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.calendar-cover img {
  width: 100%;
  height: auto;
  display: block;
}
.calendar-kicker {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 8px;
}
.calendar-details h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 8px;
}
.calendar-price {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.1;
  margin-bottom: 14px;
}
.calendar-desc {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 36em;
}
.calendar-details .btn-wa {
  margin-bottom: 22px;
}
.calendar-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.calendar-thumbs button {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}
.calendar-thumbs button:hover,
.calendar-thumbs button.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.calendar-thumbs img {
  width: 100%;
  height: auto;
  display: block;
}
.lb-prints-only {
  flex: 1 1 100%;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-style: italic;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

@media (max-width: 860px) {
  .calendar-product {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .calendar-price { font-size: 1.8rem; }
  .calendar-thumbs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .calendar-thumbs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}
