/* Taste in Motion waitlist. Colour Slam, matched to the app's src/style.css. */
:root {
  --ink: #1f1d19;
  --ink-soft: #55504a;
  --ink-faint: #6a655b;
  --ivory: #f7f4ed;
  --cream: #fffdf6;
  --onfield: #fbf7ee;
  --onfield-dim: #ede5d6;
  --gold: #ffe3b0;
  --gold-ink: #8a5a12;
  --bg: #1a1416;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
}
.w-movies { --c: #b3892a; } .w-music { --c: #0e7a66; } .w-games { --c: #2e2a9c; }
.w-books { --c: #a8511a; } .w-beer { --c: #b07914; } .w-whiskey { --c: #5a2d9c; }
.w-perfume { --c: #8a1e50; } .w-cocktails { --c: #0b6e62; } .w-wine { --c: #7a1e32; }
.w-podcasts { --c: #6a2c7a; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--onfield);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.card :focus-visible { outline-color: var(--gold-ink); }
button { font: inherit; color: inherit; }

/* ---------- the two fields, the seam ---------- */
.fields { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); }
.stage {
  position: absolute; left: 50%; top: 50%;
  width: 160vmax; height: 160vmax;
  transform: translate(-50%, -50%) rotate(var(--seam-angle, -7deg));
  will-change: transform;
}
.layer { position: absolute; inset: 0; transition: opacity 1.6s ease; }
.fA { position: absolute; left: 0; right: 0; top: 0; height: 50%; }
.fB { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; }
.stage::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px;
  background: var(--gold);
  box-shadow: 0 0 10px 1px rgba(255, 227, 176, 0.75), 0 0 34px 4px rgba(255, 227, 176, 0.28);
  transform-origin: 50% 50%;
  animation: seam-draw 1.6s var(--ease) 0.15s both;
}
@keyframes seam-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- layout ---------- */
.page { position: relative; z-index: 1; min-height: 100dvh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
header.top { padding-top: 18px; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: block; width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 8px 22px rgba(0,0,0,.4); }
.logo svg { display: block; width: 100%; height: 100%; }
.tilt {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(251,247,238,.35); background: rgba(26,20,22,.3);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
}
.tilt svg { width: 18px; height: 18px; }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; }

main { flex: 1; }
.hero { padding-top: 40px; padding-bottom: 40px; display: grid; gap: 36px; }
.eyebrow { color: var(--gold); margin: 0; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
h1 {
  font-family: var(--font-display);
  font-weight: 640;
  font-size: clamp(46px, 13.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 14px 0 0;
  text-shadow: 0 2px 24px rgba(0,0,0,.28);
}
h1 .w { display: inline-block; animation: rise 0.9s var(--ease) both; }
h1 .w:nth-child(1) { animation-delay: 0.35s; }
h1 .w:nth-child(2) { animation-delay: 0.5s; }
h1 .w:nth-child(3) { animation-delay: 0.65s; }
h1 em { font-style: italic; font-weight: 460; color: var(--gold); }
@keyframes rise { from { opacity: 0; transform: translateY(0.45em); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lede { font-size: 18px; line-height: 1.6; max-width: 34em; margin: 20px 0 0; text-shadow: 0 1px 14px rgba(0,0,0,.35); animation: fade 0.9s var(--ease) 0.85s both; }
.promises { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; animation: fade 0.9s var(--ease) 1s both; }
.promises li {
  font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.35;
  padding-left: 22px; position: relative; text-shadow: 0 1px 14px rgba(0,0,0,.35);
}
.promises li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(255,227,176,.7); }

.worlds { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; animation: fade 0.9s var(--ease) 1.15s both; }
.worlds li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px 5px 5px; border-radius: 999px;
  background: rgba(26, 20, 22, 0.34); border: 1px solid rgba(251, 247, 238, 0.18);
  font-size: 13px; font-weight: 500;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); flex: none; }
.ic svg { width: 15px; height: 15px; }

/* ---------- card ---------- */
.card {
  background: var(--ivory); color: var(--ink);
  border-radius: 18px; padding: 24px 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.5);
  animation: card-in 0.9s var(--ease) 0.9s both;
}
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.card h2 { font-family: var(--font-display); font-weight: 640; font-size: 32px; line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
.card h2 em { font-style: italic; font-weight: 460; color: var(--gold-ink); }
.card p { margin: 10px 0 0; }
.sub { color: var(--ink-soft); font-size: 15px; margin: 8px 0 20px !important; }
.field-label, .group-label { display: block; color: var(--ink-soft); margin-bottom: 8px; }
input[type=email], .linkbox input {
  width: 100%; min-height: 52px; padding: 0 16px; font: inherit; font-size: 16px;
  border-radius: 12px; border: 1px solid rgba(31,29,25,.22); background: var(--cream); color: var(--ink);
}
input[type=email]::placeholder { color: #7d776c; }
input[aria-invalid=true] { border-color: #b3402e; }
.err { color: #9c3524; font-size: 13.5px; margin: 8px 0 0 !important; }
fieldset { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
legend { padding: 0; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; display: inline-flex; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.pick > span {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px 0 6px;
  border-radius: 999px; border: 1px solid rgba(31,29,25,.22); background: var(--cream);
  font-size: 13.5px; font-weight: 500; transition: background .2s, color .2s, border-color .2s;
}
.pick .ic { width: 30px; height: 30px; }
.pick > input:checked + span { background: var(--c); border-color: var(--c); color: var(--onfield); }
.pick > input:checked + span .ic { background: rgba(255,255,255,.18); }
.pick > input:focus-visible + span { outline: 3px solid var(--gold-ink); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; cursor: pointer; }
.btn {
  width: 100%; min-height: 54px; margin-top: 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--onfield); font-size: 15.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-light { background: transparent; color: var(--ink); border: 1px solid rgba(31,29,25,.3); }
.row { display: flex; gap: 10px; }
.row .btn { margin-top: 12px; }
.note { font-size: 12.5px; line-height: 1.55; color: var(--ink-faint); margin: 16px 0 0 !important; }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--ink); font-size: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.tick { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #5a2d9c, #0e7a66); color: var(--gold); margin-bottom: 18px; }
.tick svg { width: 24px; height: 24px; }
.lead2 { color: var(--ink-soft); font-size: 16px; }
.place { font-family: var(--font-display); }
.place em { font-style: italic; color: var(--gold-ink); }
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; padding: 12px 14px; border-radius: 12px; background: var(--cream); border: 1px solid rgba(31,29,25,.12); }
.steps .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1.5px solid rgba(31,29,25,.3); font-family: var(--font-mono); font-size: 11px; }
.steps .done { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.steps .done svg { width: 14px; height: 14px; }
.linkbox { margin-top: 20px; }
.linkbox input { font-family: var(--font-mono); font-size: 14px; }

footer { padding: 28px 0 32px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; font-size: 13.5px; }
footer p { margin: 0; color: var(--onfield-dim); }
footer nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
footer a { display: inline-block; padding: 10px 0; text-underline-offset: 3px; }
footer, .intro { text-shadow: 0 1px 12px rgba(0,0,0,.3); }

/* ---------- privacy page ---------- */
.doc { background: var(--ivory); color: var(--ink); border-radius: 18px; padding: 28px 20px; margin: 28px 0 8px; box-shadow: 0 18px 50px rgba(0,0,0,.38); }
.doc h1 { font-size: clamp(36px, 9vw, 52px); text-shadow: none; margin-top: 8px; }
.doc h2 { font-family: var(--font-display); font-size: 22px; margin: 28px 0 0; }
.doc p, .doc li { font-size: 15.5px; line-height: 1.65; color: #34312b; }
.doc ul { padding-left: 20px; }
.doc .mono { color: var(--ink-faint); }

@media (min-width: 960px) {
  .wrap { padding-left: 48px; padding-right: 48px; }
  header.top { padding-top: 30px; }
  .hero { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 64px; padding-top: 64px; padding-bottom: 56px; min-height: calc(100dvh - 170px); }
  .lede { font-size: 19px; }
  .card { padding: 32px 30px; }
  .doc { padding: 44px 52px; max-width: 760px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* the card heading takes focus when the card changes (for screen readers); no ring for that */
.card h2[tabindex="-1"]:focus { outline: none; }
.card p.mono { margin: 0 0 10px; color: var(--ink-faint); }
