:root {
  --bg: #fffbeb;
  --accent: #5b21b6;
  --accent2: #facc15;
  --text: #2e106b;
  --muted: #6b4ba8;
  --panel: rgba(255, 255, 255, 0.82);
  --shadow: 0 18px 50px rgba(46, 16, 107, 0.12);
  --max: 980px;
  --pad: clamp(20px, 4vw, 32px);
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, rgba(250, 204, 21, 0.35), transparent 40%),
              radial-gradient(circle at 90% 20%, rgba(124, 58, 237, 0.18), transparent 45%),
              var(--bg);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }

.scroll-hint {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.85;
  pointer-events: none;
  z-index: 5;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-hint.is-hidden { opacity: 0; transition: opacity 0.4s; }

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: calc(var(--pad) + 2rem) var(--pad) 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.15) 0%, rgba(255, 251, 235, 0.92) 68%, var(--bg) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  text-align: center;
}
.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__title {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero__tagline {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
}

.band { padding: 3.5rem var(--pad); }
.band__inner { max-width: var(--max); margin: 0 auto; }
.section-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: left;
}

.stripe-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border: 2px solid rgba(91, 33, 182, 0.18);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  backdrop-filter: blur(8px);
}
.stripe-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(91, 33, 182, 0.12);
}
.stripe-list li:last-child { border-bottom: none; }
.stripe-list__code {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.85rem;
  color: var(--accent2);
  background: var(--accent);
  align-self: start;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
}
.stripe-list h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.stripe-list p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.polaroid-scatter {
  position: relative;
  min-height: 420px;
  margin-top: 1rem;
}
.polaroid {
  position: absolute;
  margin: 0;
  width: min(280px, 78vw);
  background: #fff;
  padding: 0.75rem 0.75rem 2.5rem;
  box-shadow: var(--shadow);
  border-radius: 4px;
}
.polaroid img {
  width: 100%;
  border-radius: 2px;
  background: #f3f0ff;
}
.polaroid figcaption {
  position: absolute;
  bottom: 0.65rem;
  left: 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: ui-monospace, monospace;
}
.polaroid--a { top: 0; left: 0; transform: rotate(-4deg); z-index: 1; }
.polaroid--b { top: 2.5rem; left: 32%; transform: rotate(3deg); z-index: 2; }
.polaroid--c { top: 0.5rem; right: 0; transform: rotate(-2deg); z-index: 3; }

.about__prose p {
  margin: 0;
  max-width: 52rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.legal__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.25rem;
  align-items: start;
}
.legal__panel {
  background: var(--panel);
  border: 1px solid rgba(91, 33, 182, 0.15);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.legal__panel h2 { margin-top: 0; }
.legal__panel h3 { margin: 1.25rem 0 0.35rem; font-size: 1rem; }
.legal__panel p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.95rem; }

.site-footer {
  padding: 2rem var(--pad) 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 820px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .legal__grid { grid-template-columns: 1fr; }
  .polaroid-scatter {
    min-height: auto;
    display: grid;
    gap: 1.25rem;
    padding-bottom: 1rem;
  }
  .polaroid {
    position: relative;
    width: 100%;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }
}
