/* Slow Pour v2 · waitlist components.
   Used by the home-page section AND the standalone v2 pages. Everything is prefixed .wl-
   so it can drop into whichever 3D hero wins without clashing. Tokens match src/style.css. */
:root {
  --espresso: #2a1b14; --roast: #6b3e26; --ember: #a8502c; --glow: #c8643b;
  --crema: #f5ede1; --oat: #e8d9c3; --sage: #7c8b6f; --honey: #d9a441;
  --serif: "Fraunces Variable", Georgia, serif; --sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- the form ---------- */
.wl-form { width: 100%; max-width: 520px; }
.wl-row { display: flex; gap: 10px; }
.wl-input {
  flex: 1; min-width: 0; font: 500 17px/1.2 var(--sans); color: var(--crema);
  background: rgba(245, 237, 225, .07); border: 1.5px solid rgba(245, 237, 225, .32);
  border-radius: 999px; padding: 16px 22px; outline: none; transition: border-color .18s, background .18s;
}
.wl-input::placeholder { color: rgba(245, 237, 225, .5); }
.wl-input:focus { border-color: var(--honey); background: rgba(245, 237, 225, .11); }
.wl-btn {
  flex: none; font: 600 16px/1 var(--sans); color: var(--crema); background: var(--ember);
  border: 0; border-radius: 999px; padding: 17px 26px; cursor: pointer;
  transition: transform .18s var(--ease), background .18s, opacity .18s;
}
.wl-btn:hover { background: var(--glow); transform: translateY(-2px); }
.wl-btn:focus-visible, .wl-input:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; }
.wl-btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.wl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.wl-small { font-size: 14px; line-height: 1.5; color: rgba(245, 237, 225, .7); margin-top: 14px; max-width: 46ch; }
.wl-small a { color: var(--honey); }
.wl-msg { min-height: 1.5em; margin-top: 12px; font-size: 15px; font-weight: 500; }
.wl-msg[data-kind="error"] { color: #f2b08f; }
.wl-ts { margin-top: 10px; }
.wl-ts:empty { display: none; }
.wl-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- home-page section (sits after the Slow Club, on the crema background) ---------- */
.wl-home { position: relative; z-index: 2; padding: 40px clamp(16px, 6vw, 96px) 120px; color: var(--crema); }
.wl-card {
  position: relative; overflow: hidden; max-width: 1120px; margin: 0 auto; background: var(--espresso);
  border-radius: 28px; padding: clamp(32px, 5vw, 72px); display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: center;
}
.wl-card::before { /* the giant back-word, same move as the hero */
  content: "MIDNIGHT"; position: absolute; right: -2%; bottom: -8%; font: 800 clamp(90px, 15vw, 240px)/.8 var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.04em; color: rgba(245, 237, 225, .05); pointer-events: none;
}
.wl-card .eyebrow { color: var(--oat); }
.wl-card h2 { font: 600 clamp(40px, 5.4vw, 80px)/.98 var(--serif); font-variation-settings: "SOFT" 50; letter-spacing: -.02em; }
.wl-card h2 .accent { color: var(--honey); font-style: italic; }
.wl-card .wl-lead { font-size: clamp(17px, 1.4vw, 20px); color: rgba(245, 237, 225, .82); max-width: 40ch; margin: 18px 0 28px; }
.wl-notes { font: italic 500 clamp(18px, 1.6vw, 22px)/1.4 var(--serif); color: var(--honey); margin-top: 14px; }
.wl-bag { position: relative; justify-self: center; width: min(300px, 100%); }
.wl-bag img { width: 100%; display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); transform: rotate(4deg); }
.wl-bag::after { /* soft steam fade behind the bag */
  content: ""; position: absolute; inset: -10% -20%; z-index: -1;
  background: radial-gradient(closest-side, rgba(200, 100, 59, .28), transparent);
}
.wl-gift { display: flex; gap: 12px; align-items: center; margin-top: 22px; font-size: 15px; color: rgba(245, 237, 225, .85); }
.wl-gift img { width: 46px; border-radius: 4px; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); flex: none; }
.wl-more { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--honey); }

@media (max-width: 760px) {
  .wl-row { flex-direction: column; }
  .wl-btn { width: 100%; padding: 18px; }
  .wl-home { padding: 24px 12px 72px; }
  .wl-card { grid-template-columns: 1fr; border-radius: 22px; padding: 32px 20px 36px; }
  .wl-bag { order: -1; width: 170px; }
}
@media (prefers-reduced-motion: reduce) { .wl-btn, .wl-input { transition: none; } }
