/* The Santa Claus Ring — draft page */
:root {
  --crimson: #801022;
  --crimson-deep: #4a0c16;
  --velvet: #2a0508;
  --velvet-2: #3d0a12;
  --ink: #342016;
  --green: #124628;
  --green-deep: #0b3d2e;
  --gold: #c9a24b;
  --gold-light: #e8d5a3;
  --cream: #fbf6ec;
  --cream-2: #f3ead7;
  --parchment: #faf3e0;
  --rule: #d4c4a0;
  --focus: #c9a24b;
  --shadow: 0 18px 40px rgba(42, 5, 8, 0.28);
  --font-display: "Cinzel", "Palatino Linotype", Palatino, serif;
  --font-serif: "Playfair Display", "Palatino Linotype", Palatino, serif;
  --font-sans: "Source Sans 3", "Segoe UI", Calibri, sans-serif;
  --wrap: 72rem;
  --pad: clamp(1.15rem, 4vw, 2.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson); }
a:hover { color: var(--green); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

/* Draft banner */
.draft-banner {
  margin: 0;
  background: var(--gold);
  color: var(--velvet);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
}

/* Header */
.site-header {
  background: var(--velvet);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.6rem;
  gap: 1rem;
}
.brand {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  white-space: nowrap;
}
.brand:hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--cream);
  width: 2.75rem;
  height: 2.5rem;
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--gold-light);
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
}
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}
.site-nav a:hover { color: var(--gold); }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--velvet-2);
    border-bottom: 2px solid var(--gold);
    flex-direction: column;
    padding: 0.75rem var(--pad) 1rem;
    gap: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.7rem 0; border-bottom: 1px solid rgba(201, 162, 75, 0.25); }
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 20% 0%, #5a1420 0%, transparent 50%),
    linear-gradient(180deg, var(--velvet-2), var(--velvet));
  color: var(--cream);
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 3.5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.9fr);
  grid-template-areas:
    "santa copy"
    "santa ring";
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}
.hero-santa { grid-area: santa; }
.hero-copy { grid-area: copy; }
.hero-ring { grid-area: ring; }
.hero-santa {
  margin: 0;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow), 0 0 0 8px rgba(30, 86, 49, 0.45);
  background: #111;
  overflow: hidden;
}
.hero-santa img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}
.hero-copy { text-align: center; }
.eyebrow {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
}
.hero h1 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: 0.03em;
  margin: 0 0 0.85rem;
  color: var(--gold-light);
}
.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.45;
  color: #f3ead7;
  margin: 0 auto 1.5rem;
  max-width: 26rem;
}
.hero-ring {
  margin: 0 auto;
  max-width: 20rem;
}
.hero-ring img {
  width: 100%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px var(--green), var(--shadow);
  background: #eee;
}
.hero-ring figcaption {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "santa"
      "ring";
    gap: 1.25rem;
  }
  .hero-ring { max-width: 16.5rem; }
  .hero-santa img { aspect-ratio: 3 / 4; object-position: center top; }
}

/* Shared section chrome */
section {
  padding: clamp(2.5rem, 6vw, 4.25rem) 0;
}
section h2 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--crimson);
  margin: 0 0 0.2rem;
  text-align: center;
}
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 2rem; }
.section-head .eyebrow { color: var(--green); }
.rule {
  color: var(--gold);
  font-size: 1.35rem;
  letter-spacing: 0.35em;
  margin: 0.35rem 0 0;
  text-align: center;
}
.lede {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--ink);
}

/* Story */
#story { background: var(--parchment); }
.meanings {
  margin: 0 auto;
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.meaning {
  margin: 0;
  padding: 1.15rem 0;
  border-bottom: 1px dotted var(--rule);
}
.meaning:last-child { border-bottom: 0; }
.meaning dt {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--crimson);
  font-size: 1.12rem;
  margin: 0 0 0.25rem;
}
.meaning dd {
  margin: 0;
  color: var(--ink);
}
.meaning-believe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 15rem);
  gap: 1.25rem 1.75rem;
  align-items: start;
  padding-top: 1.35rem;
}
.meaning-believe figure {
  margin: 0;
}
.meaning-believe img {
  width: 100%;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(42, 5, 8, 0.18);
}
.meaning-believe figcaption {
  font-size: 0.8rem;
  color: #6a5340;
  margin-top: 0.4rem;
  text-align: center;
}
.closing {
  font-family: var(--font-serif);
  font-style: italic;
  text-align: center;
  color: var(--green);
  font-size: 1.2rem;
  margin: 2rem auto 0;
  max-width: 32rem;
}

@media (max-width: 640px) {
  .meaning-believe {
    grid-template-columns: 1fr;
  }
  .meaning-believe figure { max-width: 20rem; margin-inline: auto; }
}

/* Gallery */
#gallery { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.gallery-grid figure {
  margin: 0;
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--cream-2);
  box-shadow: 0 6px 18px rgba(42, 5, 8, 0.08);
}
.gallery-grid .portrait img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}
.gallery-grid .lead {
  grid-column: span 3;
}
.gallery-grid .lead img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}
.gallery-grid .lead-pair {
  grid-column: span 3;
}
.gallery-grid a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}
.gallery-grid .tall img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}
.gallery-grid .wide {
  grid-column: 1 / -1;
}
.gallery-grid .wide img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fff;
  padding: 0.4rem;
}
.gallery-grid figcaption {
  font-size: 0.82rem;
  padding: 0.55rem 0.7rem 0.7rem;
  color: #5c4634;
}

@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid figure,
  .gallery-grid .portrait,
  .gallery-grid .lead,
  .gallery-grid .lead-pair { grid-column: auto; }
  .gallery-grid .wide { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure,
  .gallery-grid .portrait,
  .gallery-grid .lead,
  .gallery-grid .lead-pair,
  .gallery-grid .wide { grid-column: auto; }
  .gallery-grid .wide img { aspect-ratio: 16 / 9; }
}

/* Map & poster */
#map { background: var(--parchment); }
#poster { background: var(--cream); }
.frame-media {
  margin: 0 auto;
  max-width: 36rem;
}
.frame-media a { display: block; }
.frame-media img {
  width: 100%;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow);
  background: #fff;
}
.download {
  display: inline-block;
  margin-top: 1.15rem;
  background: var(--crimson);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.7rem 1.25rem;
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(128, 16, 34, 0.25);
}
.download:hover { background: var(--green); color: #fff; }
.center-actions { text-align: center; }

/* Indy Facets */
#indy-facets {
  background:
    radial-gradient(ellipse at 50% 0%, #5a1420 0%, transparent 55%),
    var(--velvet);
  color: var(--cream);
}
#indy-facets h2 { color: var(--gold-light); }
#indy-facets .section-head .eyebrow { color: var(--gold); }
#indy-facets .rule { color: var(--gold); }
#indy-facets .lede { color: var(--cream-2); }
.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.35;
  text-align: center;
  color: var(--gold-light);
  margin: 0 auto 0.5rem;
  max-width: 28rem;
}
.trademark {
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 1.5rem;
}
.facets-copy {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: var(--cream-2);
}
.facets-copy p { margin: 0 0 0.85rem; }
.facets-copy a { color: var(--gold-light); }
.facets-copy a:hover { color: #fff; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  margin: 1.25rem 0 0;
}
.cta {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: 2px;
}
.cta.gold { background: var(--gold); color: var(--velvet); }
.cta.gold:hover { background: var(--gold-light); color: var(--velvet); }
.cta.ghost {
  border: 1.5px solid var(--gold-light);
  color: var(--gold-light);
}
.cta.ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }

.facets-media {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-top: 2rem;
}
.facets-media figure { margin: 0; }
.facets-media img {
  width: 100%;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
  background: #1a080a;
}
.facets-media figcaption {
  font-size: 0.82rem;
  color: var(--gold-light);
  margin-top: 0.5rem;
  text-align: center;
}
@media (max-width: 800px) {
  .facets-media { grid-template-columns: 1fr; }
  .facets-media figure { max-width: 36rem; margin-inline: auto; }
}

/* Footer */
.site-footer {
  background: var(--velvet);
  color: var(--cream-2);
  text-align: center;
  padding: 1.75rem var(--pad) 2.25rem;
  border-top: 2px solid var(--gold);
  font-size: 0.92rem;
}
.site-footer a { color: var(--gold-light); }
.site-footer .note {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: #c4b49a;
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: rgba(20, 6, 8, 0.92);
  color: #fff;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}
.lightbox::backdrop { background: rgba(20, 6, 8, 0.92); }
.lightbox-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem 1.5rem;
  box-sizing: border-box;
}
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 6.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.lightbox-caption {
  margin: 0.75rem 0 0;
  text-align: center;
  color: var(--gold-light);
  font-size: 0.95rem;
}
.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 2px;
}
.lightbox-close:hover { background: rgba(255,255,255,0.08); }

/* Flyer — last section, full ad is the link */
#flyer {
  background: #1a080a;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}
#flyer .flyer-link {
  display: block;
  max-width: 56rem;
  margin: 0 auto;
  cursor: pointer;
  text-decoration: none;
}
#flyer .flyer-link img {
  width: 100%;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow);
  background: #111;
}
#flyer .flyer-link:hover img {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}
#flyer .flyer-caption {
  text-align: center;
  color: var(--gold-light);
  font-size: 0.82rem;
  margin: 0.65rem 0 0;
}

#indy-facets .frame-media figcaption {
  text-align: center;
  margin-top: 0.55rem;
  color: var(--gold-light);
  font-size: 0.82rem;
}
.enlarge-hint {
  text-align: center;
  font-size: 0.85rem;
  color: #6a5340;
  margin: 0.7rem 0 0;
}
