:root {
  --cream: #fffdde;
  --paper: #fbf6d0;
  --plum: #7a2e5d;
  --plum-deep: #3b1230;
  --ink: #2a1422;
  --muted: #6d5a66;
  --line: rgba(122, 46, 93, 0.18);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
}

* { box-sizing: border-box; }
[id] { scroll-margin-top: 88px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 253, 222, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand span { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--plum); }
.nav nav a.pill { color: var(--cream); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--plum); color: var(--cream);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.pill:hover { background: var(--plum-deep); transform: translateY(-1px); }
.pill.ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--plum); }
.pill.ghost:hover { background: rgba(122, 46, 93, 0.08); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url(assets/doodles.jpg) center / 620px auto;
  opacity: 0.55; pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  padding: 84px 0 96px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--plum);
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--plum); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(44px, 6.2vw, 78px); line-height: 1.02; margin-top: 18px; color: var(--plum-deep); }
h1 em { font-style: italic; color: var(--plum); }
.lede { font-size: 20px; color: #4a3542; max-width: 30em; margin: 24px 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hand { font-family: var(--hand); font-size: 24px; color: var(--plum); margin-top: 26px; transform: rotate(-2deg); display: inline-block; }

.stack { position: relative; height: 600px; }
.polaroid {
  position: absolute; margin: 0;
  background: #fff; padding: 12px 12px 44px;
  box-shadow: 0 18px 40px rgba(59, 18, 48, 0.22), 0 2px 6px rgba(59, 18, 48, 0.12);
  transition: transform 0.35s ease;
}
.polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: 8px; text-align: center;
  font-family: var(--hand); font-size: 21px; color: var(--plum-deep);
}
.polaroid:hover { transform: rotate(0deg) scale(1.03); z-index: 5; }
.stack .p1 { width: 56%; left: 8%; top: 0; transform: rotate(-5deg); }
.stack .p2 { width: 52%; right: 0; top: 90px; transform: rotate(4deg); z-index: 2; }
.stack .p3 { width: 42%; left: 5%; bottom: -20px; transform: rotate(-2deg); z-index: 3; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.kicker { font-family: var(--hand); font-size: 26px; color: var(--plum); }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; color: var(--plum-deep); margin-top: 4px; }
.sub { color: var(--muted); max-width: 38em; margin: 16px 0 0; font-size: 18px; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.card {
  background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px;
}
.card .num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--plum); }
.card h3 { font-size: 24px; margin: 10px 0 8px; color: var(--plum-deep); }
.card p { margin: 0; color: #4a3542; font-size: 16px; }

/* how it works */
.plum { background: var(--plum-deep); color: var(--cream); }
.plum h2 { color: var(--cream); }
.plum .kicker { color: #e8a9cf; }
.plum .sub { color: rgba(255, 253, 222, 0.72); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.step img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; }
.step .n { font-family: var(--hand); font-size: 24px; color: #e8a9cf; margin-top: 18px; }
.step h3 { font-size: 22px; color: var(--cream); margin: 2px 0 6px; }
.step p { margin: 0; font-size: 15.5px; color: rgba(255, 253, 222, 0.75); }

/* moments */
.wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px 20px; margin-top: 56px; }
.wall .polaroid { position: relative; padding: 9px 9px 38px; }
.wall .polaroid img { aspect-ratio: 3 / 4; }
.wall .polaroid figcaption { font-size: 19px; bottom: 7px; }
.wall .polaroid:nth-child(odd) { transform: rotate(-2.2deg); }
.wall .polaroid:nth-child(even) { transform: rotate(1.8deg) translateY(14px); }
.wall .polaroid:hover { transform: rotate(0) scale(1.05); }
.wide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.wide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }

/* where */
.where { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.chan { border-radius: 22px; padding: 30px 28px; background: var(--paper); border: 1px solid var(--line); }
.chan .tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(122, 46, 93, 0.12); color: var(--plum);
}
.chan .tag.soon { background: var(--plum); color: var(--cream); }
.chan h3 { font-size: 26px; margin: 16px 0 8px; color: var(--plum-deep); }
.chan p { margin: 0; color: #4a3542; font-size: 16px; }

/* about */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.about p { color: #4a3542; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; font-weight: 500; text-align: right; }

/* footer */
footer { background: var(--plum-deep); color: rgba(255, 253, 222, 0.75); padding: 56px 0 40px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
footer img { height: 38px; width: auto; margin-bottom: 12px; }
footer a { color: var(--cream); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer .legal { width: 100%; border-top: 1px solid rgba(255, 253, 222, 0.16); padding-top: 22px; font-size: 13.5px; }

/* legal pages */
.doc { padding: 72px 0 96px; }
.doc .wrap { width: min(760px, 100% - 48px); }
.doc h1 { font-size: clamp(36px, 5vw, 52px); }
.doc h2 { font-size: 26px; margin-top: 44px; }
.doc p, .doc li { color: #4a3542; }
.doc .date { color: var(--muted); font-size: 15px; margin-top: 12px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 56px 0 72px; }
  .stack { height: 480px; max-width: 460px; margin-inline: auto; width: 100%; }
  .three, .where, .wide { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .wall { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 72px 0; }
  .nav nav a:not(.pill) { display: none; }
}
@media (max-width: 520px) {
  .wall { grid-template-columns: repeat(2, 1fr); }
  .stack { height: 400px; }
  .lede { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .polaroid, .pill { transition: none; }
}
