:root {
  --ink: #140a22;
  --ivory: #f8f1e4;
  --muted: #d4c4de;
  --gold: #f0c14a;
  --ruby: #e23d55;
  --cobalt: #4c7dff;
  --emerald: #2ec98a;
  --max: 68rem;
  --pad: clamp(1.1rem, 4vw, 2rem);
  font-family: "SF Pro Rounded", system-ui, sans-serif;
  color: var(--ivory);
  background: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
a { color: var(--gold); }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1rem;
}
.skip:focus { left: 1rem; z-index: 99; }

.margin-dots {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 20;
}
.margin-dots .dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  text-decoration: none;
  position: relative;
}
.margin-dots .dot.is-active,
.margin-dots .dot:focus-visible {
  background: var(--gold);
}
.margin-dots .dot::after {
  content: attr(data-label);
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.margin-dots .dot:hover::after,
.margin-dots .dot:focus-visible::after { opacity: 1; }

main { max-width: var(--max); margin: 0 auto; padding: var(--pad); }

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding: 4rem 0 3rem;
  overflow: hidden;
}
.hero.diagonal-band::before {
  content: "";
  position: absolute;
  inset: -20% -10% 10% 30%;
  background: linear-gradient(135deg, var(--ruby) 0%, var(--cobalt) 45%, var(--emerald) 100%);
  opacity: 0.35;
  transform: skewY(-8deg);
  z-index: 0;
}
.hero-copy { position: relative; z-index: 1; max-width: 36rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.hero h1 {
  font-family: "New York", "Iowan Old Style", serif;
  font-size: clamp(2.4rem, 8vw, 4rem);
  margin: 0 0 0.75rem;
  color: var(--gold);
}
.tagline { font-size: 1.25rem; margin: 0 0 1rem; max-width: 32rem; }
.lede { color: var(--muted); margin: 0; max-width: 34rem; }
.hero-art {
  position: absolute;
  right: -5%;
  bottom: 5%;
  width: min(42vw, 320px);
  height: min(42vw, 320px);
  background:
    linear-gradient(45deg, transparent 46%, rgba(240, 193, 74, 0.9) 46%, rgba(240, 193, 74, 0.9) 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, rgba(226, 61, 85, 0.85) 46%, rgba(226, 61, 85, 0.85) 54%, transparent 54%),
    linear-gradient(90deg, var(--cobalt) 0 33%, var(--emerald) 33% 66%, var(--ruby) 66%);
  opacity: 0.55;
  clip-path: polygon(8% 0, 100% 12%, 92% 100%, 0 88%);
  z-index: 0;
}

.section-intro.centered {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}
.section-intro h2 {
  font-family: "New York", serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 0.5rem;
}
.section-intro p { color: var(--muted); margin: 0; }

.features { padding: 4rem 0 2rem; }
.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 193, 74, 0.25);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
}
.tile h3 { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--gold); }
.tile p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.tile.wide { grid-column: 1 / -1; }
.tile.tall { grid-row: span 2; }

.visuals { padding: 3rem 0 4rem; }
.polaroid-field {
  position: relative;
  min-height: 280px;
  margin-top: 1rem;
}
.polaroid {
  position: absolute;
  width: min(220px, 70vw);
  margin: 0;
  padding: 0.75rem 0.75rem 2.5rem;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: rotate(var(--rot, -4deg));
}
.polaroid .pane {
  height: 140px;
  border-radius: 4px;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(8% 0, 100% 12%, 92% 100%, 0 88%);
}
.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.polaroid figcaption {
  position: absolute;
  bottom: 0.65rem;
  left: 0.75rem;
  font-size: 0.85rem;
}
.p1 { --rot: -6deg; left: 5%; top: 10%; }
.p2 { --rot: 4deg; left: 32%; top: 0; z-index: 2; }
.p3 { --rot: -2deg; right: 5%; top: 18%; }

.legal {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(212, 196, 222, 0.2);
}
.legal h2 {
  font-family: "New York", serif;
  margin: 0 0 0.75rem;
}
.legal-summary { color: var(--muted); max-width: 46rem; }
.legal-body { margin-top: 1rem; color: var(--muted); max-width: 46rem; }
.legal-body p { margin: 0 0 0.85rem; }
details summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.5rem;
}

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

@media (max-width: 720px) {
  .margin-dots { right: 0.65rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .tile.tall { grid-row: auto; }
  .hero-art { opacity: 0.35; width: 55vw; height: 55vw; }
  .p2 { left: 18%; }
}
