:root {
  --bg: #fff4ec;
  --ink: #1d0f1a;
  --muted: #6b4f61;
  --hot: #e8177d;
  --hot-dark: #b80d5f;
  --gold: #ffc53d;
  --card: #ffffff;
  --line: #f1d3e2;
  --radius: 18px;
  --display: "Shrikhand", Georgia, serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--hot-dark); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 56px;
}
.kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; margin: 0; }
h1 {
  font-size: clamp(64px, 11vw, 148px);
  color: var(--hot);
  text-shadow: 5px 5px 0 var(--ink);
  letter-spacing: -0.01em;
}
.tagline { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 22px 0 10px; }
.tagline em { color: var(--hot); font-style: normal; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--hot);
  color: #fff;
  font: 800 18px var(--body);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: var(--card); color: var(--ink); }
.btn.big { font-size: 21px; padding: 18px 36px; }

.hero-photo { margin: 0; transform: rotate(2.5deg); }
.hero-photo img, .hero-photo .photo-missing {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 12px 12px 0 var(--hot);
}
.hero-photo figcaption { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }
.photo-missing {
  display: grid;
  place-content: center;
  text-align: center;
  background: repeating-linear-gradient(45deg, #ffe0ef, #ffe0ef 14px, #fff 14px, #fff 28px);
  font-weight: 800;
  padding: 24px;
}
.photo-missing.wide { border: 3px dashed var(--hot); border-radius: var(--radius); min-height: 200px; }

/* Ticker */
.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--gold);
  border-block: 4px solid var(--hot);
  transform: rotate(-1deg);
  margin: 12px -10px 0;
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  padding: 14px 0;
  font-weight: 800;
  font-size: 19px;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: 1180px; margin: 0 auto; padding: 88px 24px 0; }
.section h2 { font-size: clamp(40px, 6vw, 68px); color: var(--ink); }
.section-lede { color: var(--muted); font-size: 19px; margin: 12px 0 36px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 5px 5px 0 var(--ink);
}
.stat:nth-child(even) { background: var(--gold); }
.stat-num { display: block; font-family: var(--display); font-size: 52px; color: var(--hot); line-height: 1.1; }
.stat:nth-child(even) .stat-num { color: var(--ink); }
.stat-label { display: block; margin-top: 8px; font-weight: 600; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 34px 26px;
}
.polaroid {
  margin: 0;
  padding: 12px 12px 0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(29, 15, 26, 0.18);
  transform: rotate(var(--tilt));
  transition: transform 0.2s;
}
.polaroid:hover { transform: rotate(0) scale(1.04); z-index: 1; position: relative; }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { padding: 12px 0 14px; text-align: center; font-family: var(--display); color: var(--hot); }

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
blockquote {
  margin: 0;
  padding: 26px 28px;
  background: var(--card);
  border-left: 8px solid var(--hot);
  border-radius: var(--radius);
}
blockquote p { margin: 0 0 10px; font-size: 21px; font-weight: 600; }
cite { color: var(--muted); font-style: normal; font-weight: 800; }
cite::before { content: "— "; }

.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.role-grid > div { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px 30px; }
.role-grid h3 { color: var(--gold); font-size: 30px; margin-bottom: 14px; }
.role-grid ul { margin: 0; padding-left: 1.2em; }
.role-grid li { margin: 6px 0; }
.role-grid li::marker { content: "♥  "; color: var(--hot); }

/* Form */
.apply { padding-bottom: 40px; }
.form {
  background: var(--card);
  border: 4px solid var(--ink);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--hot);
  padding: 36px;
  display: grid;
  gap: 26px;
}
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.q { font-weight: 800; font-size: 18px; padding: 0; }
.hint { color: var(--muted); font-size: 14px; }
input:not([type]), input[type="text"], textarea {
  width: 100%;
  padding: 13px 15px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fffafc;
  font: inherit;
  color: inherit;
}
input:focus, textarea:focus { outline: 3px solid var(--hot); outline-offset: 1px; border-color: transparent; }
textarea { resize: vertical; }

.yn { position: relative; display: flex; gap: 14px; flex-wrap: wrap; min-height: 54px; padding-top: 4px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font: 800 17px var(--body);
  cursor: pointer;
}
.pill.yes { background: var(--gold); }
.pill.yes:has(input:checked) { background: var(--hot); color: #fff; }
.pill.no { background: #fff; color: var(--ink); transition: transform 0.18s ease-out; }

.slider { display: flex; align-items: center; gap: 16px; }
.slider input { flex: 1; accent-color: var(--hot); }
.slider output { font-family: var(--display); font-size: 26px; color: var(--hot); min-width: 4.5em; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.check, .radio { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input, .radio input { accent-color: var(--hot); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.radio { margin-top: 4px; }
.consent { font-weight: 800; background: #fff0f7; border-radius: 12px; padding: 14px 16px; }
.alert { background: var(--hot); color: #fff; font-weight: 800; padding: 14px 18px; border-radius: 12px; }
.hp { position: absolute; left: -9999px; }

/* Thanks */
.thanks { max-width: 640px; margin: 0 auto; padding: 80px 24px 40px; text-align: center; }
.thanks h1 { margin-bottom: 20px; }
.thanks .lede { margin-inline: auto; }
.thanks-photo {
  width: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--hot);
  margin: 0 auto 26px;
}

.footer { max-width: 1180px; margin: 60px auto 0; padding: 36px 24px 48px; border-top: 3px dashed var(--line); text-align: center; color: var(--muted); }
.footer p { margin: 4px 0; font-weight: 600; }
.small { font-size: 14px; font-weight: 400 !important; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 36px; }
  .hero-photo { max-width: 420px; margin: 0 auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .quotes, .role-grid, .row.two, .checks { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; box-shadow: 6px 6px 0 var(--hot); }
  .section { padding-top: 64px; padding-inline: 16px; }
  .hero { padding-inline: 16px; }
}
@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  h1 { text-shadow: 3px 3px 0 var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}
