/* ============ Tokens ============ */
:root {
  --plum: #2a1830;
  --plum-soft: #4a3350;
  --ink: #2a1830;
  --ink-soft: #6e5f74;
  --pink: #d93a6a;
  --pink-dark: #b82c58;
  --pink-soft: #f6dbe2;
  --blush: #f7e2da;
  --blush-2: #f4d5cd;
  --cream-white: #fdf9f3;
  --cream-gold: #f2e5bd;
  --cream-gold-2: #ecdba6;
  --cream-pink: #faece3;
  --paper: #fffbf6;
  --line: rgba(42, 24, 48, 0.14);
  --line-soft: rgba(42, 24, 48, 0.08);
  --teal: #2f9e8f;
  --orange: #ec9a3c;
  --purple: #6b46c1;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--plum);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p { line-height: 1.6; color: var(--ink-soft); margin: 0; }

a { color: inherit; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin-bottom: 18px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary,
.btn-submit {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(217, 58, 106, 0.55);
}
.btn-primary:hover,
.btn-submit:hover { background: var(--pink-dark); }

.btn-dark {
  background: var(--plum);
  color: #fff;
}
.btn-dark:hover { background: var(--plum-soft); }

.btn-outline {
  background: transparent;
  color: var(--plum);
  border-color: var(--line);
}
.btn-outline:hover { background: rgba(42,24,48,0.05); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 249, 243, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  color: var(--plum);
}
.logo-icon { color: var(--pink); font-size: 15px; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
}
.nav-link:hover { color: var(--plum); }

/* ============ Hero ============ */
.hero {
  background: linear-gradient(180deg, var(--blush) 0%, var(--blush-2) 60%, var(--cream-white) 100%);
  padding: 72px 0 96px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(38px, 5vw, 54px);
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero-lede {
  max-width: 46ch;
  margin-bottom: 28px;
  font-size: 16px;
}
.fine-print {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* seating chart visual */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.seat-circle {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fffaf2 0%, #fbeee0 70%, #f7e4d4 100%);
  box-shadow: 0 30px 60px -20px rgba(42,24,48,0.25), inset 0 0 0 1px rgba(42,24,48,0.06);
}
.seat-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -6px rgba(217,58,106,0.6);
  z-index: 3;
}
.seat-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
}
.seat-center strong {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--plum);
  font-weight: 500;
}
.seat-center span {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--pink);
  font-size: 16px;
}
.seat-center small {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
#badge-text,
#seat-count,
#table-size {
  display: inline-block;
  transition: opacity 0.35s ease;
}
#badge-text.is-fading,
#seat-count.is-fading,
#table-size.is-fading {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  #badge-text, #seat-count, #table-size { transition: none; }
}
.seat-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin: -11px 0 0 -11px;
}
/* Fixed positions around the circle (9 dots, 40deg apart, starting at top).
   Hardcoded x/y offsets instead of a rotate+translate+counter-rotate transform
   chain, which some Safari versions render incorrectly. */
.seat-dot:nth-child(1) { transform: translate(0px, -140px); }
.seat-dot:nth-child(2) { transform: translate(90px, -107px); }
.seat-dot:nth-child(3) { transform: translate(138px, -24px); }
.seat-dot:nth-child(4) { transform: translate(121px, 70px); }
.seat-dot:nth-child(5) { transform: translate(48px, 132px); }
.seat-dot:nth-child(6) { transform: translate(-48px, 132px); }
.seat-dot:nth-child(7) { transform: translate(-121px, 70px); }
.seat-dot:nth-child(8) { transform: translate(-138px, -24px); }
.seat-dot:nth-child(9) { transform: translate(-90px, -107px); }
.seat-dot.filled { box-shadow: 0 4px 10px -3px rgba(0,0,0,0.35); }
.seat-dot.c-pink { background: var(--pink); }
.seat-dot.c-teal { background: var(--teal); }
.seat-dot.c-purple { background: var(--purple); }
.seat-dot.c-orange { background: var(--orange); }
.seat-dot.open {
  background: transparent;
  border: 2px dashed var(--pink);
}

/* ============ How it works ============ */
.how-it-works {
  background: var(--cream-white);
  padding: 88px 0;
}
.how-it-works h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 44px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 48px;
}
.step {
  border-top: 1px solid var(--plum);
  padding-top: 20px;
}
.step:nth-child(2) { grid-column: 2; grid-row: 1; }
.step:nth-child(3) { grid-column: 1; grid-row: 2; }
.step-num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--pink);
  font-size: 14px;
  margin-bottom: 10px;
}
.step h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.step p { font-size: 15px; }

/* ============ Get seated ============ */
.get-seated {
  background: linear-gradient(180deg, var(--cream-gold) 0%, var(--cream-gold-2) 100%);
  padding: 88px 0;
}
.get-seated-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.get-seated-copy h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 14px;
}
.get-seated-copy > p {
  max-width: 40ch;
  margin-bottom: 28px;
}
.assurances {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(42,24,48,0.18);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.assurances li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--plum-soft);
}
.assurances li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--pink);
  font-size: 12px;
  top: 3px;
}

.waitlist-form {
  background: var(--paper);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 30px 60px -24px rgba(42,24,48,0.35);
}
.hidden-field { position: absolute; left: -9999px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input[type="email"],
.field input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
}
.field input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--plum-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}
.pill:hover { border-color: var(--pink); }
.pill.is-selected {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
}

.btn-submit {
  width: 100%;
  padding: 15px 26px;
  font-size: 15px;
  border: none;
  margin-top: 4px;
}
.form-success {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-align: center;
}

/* ============ For hosts ============ */
.for-hosts {
  background: var(--cream-pink);
  padding: 88px 0;
}
.for-hosts-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.for-hosts-copy h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin: 10px 0 16px;
}
.for-hosts-copy p { max-width: 48ch; }
.host-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.host-contact p { font-size: 13px; max-width: 32ch; }
.host-contact a { color: var(--pink-dark); text-decoration: underline; }

/* ============ Footer ============ */
.site-footer {
  background: var(--plum);
  color: #fff;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
}
.footer-fine {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}
.footer-nav { display: flex; gap: 20px; }
.footer-nav a {
  font-size: 13px;
  text-decoration: underline;
  color: rgba(255,255,255,0.85);
}
.footer-nav a:hover { color: #fff; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .get-seated-inner { grid-template-columns: 1fr; }
  .for-hosts-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(2), .step:nth-child(3) { grid-column: 1; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .header-nav { gap: 12px; }
  .nav-link { display: none; }
  .seat-circle { width: 260px; height: 260px; }
  .seat-dot:nth-child(1) { transform: translate(0px, -112px); }
  .seat-dot:nth-child(2) { transform: translate(72px, -86px); }
  .seat-dot:nth-child(3) { transform: translate(110px, -19px); }
  .seat-dot:nth-child(4) { transform: translate(97px, 56px); }
  .seat-dot:nth-child(5) { transform: translate(38px, 105px); }
  .seat-dot:nth-child(6) { transform: translate(-38px, 105px); }
  .seat-dot:nth-child(7) { transform: translate(-97px, 56px); }
  .seat-dot:nth-child(8) { transform: translate(-110px, -19px); }
  .seat-dot:nth-child(9) { transform: translate(-72px, -86px); }
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}
