/* Brew Pass, marketing site. Palette mirrors packages/design-tokens/tokens.json */
:root {
  --espresso: #2D1810;
  --coffee: #4A2E1F;
  --mocha: #6B4A2D;
  --caramel: #8C5A3A;
  --gold: #C68A3A;
  --gold-light: #FAC775;
  --canvas: #E8DCC4;
  --cream: #F5EDE0;
  --card: #FFF8EC;
  --card-border: #EFE3CC;
  --divider: #E8D5B7;
  --ink: #2D1810;
  --ink-body: #5C4030;
  --ink-subtle: #7A5C46;
  --ink-on-dark: #F5EDE0;
  --ink-on-dark-subtle: #D4C09F;
  --success: #639922;
  --maxw: 1120px;
  --r-lg: 18px;
  --r-xl: 26px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-body);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
a { color: var(--coffee); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 237, 224, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--divider);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; }
.brand .name {
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: 19px; color: var(--ink); letter-spacing: -0.01em;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-subtle);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--coffee); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; border-radius: 999px;
  padding: 11px 22px; cursor: pointer; border: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s;
}
.btn-primary { background: var(--coffee); color: var(--cream); }
.btn-primary:hover { background: var(--espresso); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--coffee);
  border: 1px solid var(--card-border);
}
.btn-ghost:hover { background: var(--card); }
.nav .btn { padding: 9px 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(198,138,58,0.18), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--canvas) 100%);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center; padding-top: 76px; padding-bottom: 88px;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); }
.hero h1 .accent { color: var(--gold); }
.hero .lede {
  margin-top: 22px; font-size: 18px; color: var(--ink-body); max-width: 30em;
}
.hero .tagline {
  margin-top: 14px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-subtle);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--espresso); color: var(--ink-on-dark);
  padding: 11px 20px; border-radius: 14px; font-weight: 600; font-size: 14px;
  transition: transform 0.12s, opacity 0.15s;
}
.store-badge:hover { transform: translateY(-1px); }
.store-badge small {
  display: block; font-size: 10px; font-weight: 500;
  color: var(--ink-on-dark-subtle); letter-spacing: 0.04em;
}
.store-badge svg { width: 22px; height: 22px; flex: none; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--ink-subtle); }
.hero-art {
  display: flex; align-items: center; justify-content: center;
}
.hero-art .disc {
  width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, var(--card) 0%, var(--cream) 55%, var(--canvas) 100%);
  border: 1px solid var(--card-border);
  box-shadow: 0 30px 80px -30px rgba(45,24,16,0.45);
  display: flex; align-items: center; justify-content: center;
}
.hero-art .disc img { width: 78%; }

/* ---------- Section shell ---------- */
section { padding: 88px 0; }
.section-head { max-width: 40rem; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--ink-subtle); }

/* ---------- Mission ---------- */
.mission { background: var(--espresso); color: var(--ink-on-dark); }
.mission h2 { color: var(--cream); }
.mission .section-head p { color: var(--ink-on-dark-subtle); }
.mission .eyebrow { color: var(--gold-light); }
.mission .quote {
  font-family: "Fraunces", Georgia, serif; font-weight: 500;
  font-size: clamp(22px, 3vw, 32px); color: var(--cream);
  line-height: 1.35; max-width: 22em;
}
.mission .quote span { color: var(--gold-light); }
.mission .sub {
  margin-top: 26px; font-size: 16px; color: var(--ink-on-dark-subtle);
  max-width: 38em;
}

/* ---------- Feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--r-xl); padding: 30px 26px;
}
.card .ic {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--cream); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px; color: var(--coffee);
}
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--ink-subtle); }

/* ---------- For cafes ---------- */
.cafes { background: var(--canvas); }
.cafes .split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.cafes h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cafes p.lede { margin-top: 18px; font-size: 17px; color: var(--ink-body); }
.checklist { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: #E5EFD9; color: var(--success);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.checklist .tick svg { width: 14px; height: 14px; }
.checklist b { color: var(--ink); font-weight: 600; }
.checklist span { display: block; font-size: 14px; color: var(--ink-subtle); }
.cafes .panel {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--r-xl); padding: 38px;
}
.cafes .panel h3 { font-size: 22px; margin-bottom: 10px; }
.cafes .panel p { font-size: 15px; color: var(--ink-subtle); margin-bottom: 24px; }

/* ---------- Astoria ---------- */
.astoria .band {
  background: linear-gradient(120deg, var(--coffee), var(--mocha));
  color: var(--ink-on-dark); border-radius: var(--r-xl);
  padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px; align-items: center;
}
.astoria .band h2 { color: var(--cream); font-size: clamp(26px, 3.2vw, 38px); }
.astoria .band p { margin-top: 16px; color: var(--ink-on-dark-subtle); font-size: 16px; }
.astoria .pin {
  font-family: "Fraunces", serif; font-size: clamp(40px, 6vw, 64px);
  color: var(--gold-light); text-align: center; line-height: 1.05;
}
.astoria .pin small {
  display: block; font-family: "Inter", sans-serif; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-on-dark-subtle);
  margin-top: 10px; font-weight: 600;
}

/* ---------- Footer ---------- */
footer {
  background: var(--espresso); color: var(--ink-on-dark-subtle);
  padding: 60px 0 40px;
}
footer .row {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(245,237,224,0.12);
}
footer .name { color: var(--cream); font-family: "Fraunces", serif; font-size: 20px; }
footer .tag { font-size: 13px; margin-top: 8px; letter-spacing: 0.12em; text-transform: uppercase; }
footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
footer nav a { color: var(--ink-on-dark-subtle); font-size: 14px; }
footer nav a:hover { color: var(--cream); }
footer .legal { padding-top: 26px; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 60px; }
  .hero-art { order: -1; }
  .hero-art .disc { width: min(280px, 70%); }
  .grid-3 { grid-template-columns: 1fr; }
  .cafes .split { grid-template-columns: 1fr; gap: 36px; }
  .astoria .band { grid-template-columns: 1fr; padding: 38px 28px; text-align: center; }
  .nav-links .nav-only { display: none; }
  section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .nav-links { gap: 14px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .store-badge { justify-content: center; }
}

/* Waitlist form (Astoria #join, sits on the dark band) */
.waitlist {
  margin-top: 22px;
  background: rgba(245, 237, 224, 0.06);
  border: 1px solid rgba(245, 237, 224, 0.18);
  border-radius: 16px;
  padding: 18px;
}
.waitlist-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.waitlist-tabs .tab {
  flex: 1;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  background: rgba(245, 237, 224, 0.06);
  color: var(--cream);
  border: 1px solid rgba(245, 237, 224, 0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.waitlist-tabs .tab:hover { background: rgba(245, 237, 224, 0.12); }
.waitlist-tabs .tab.active {
  background: var(--gold);
  color: var(--coffee);
  border-color: var(--gold);
}
.waitlist-form .field { display: block; margin-bottom: 10px; }
.waitlist-form .field span {
  display: block;
  font-size: 12px;
  color: var(--cream);
  margin-bottom: 4px;
  font-weight: 500;
}
.waitlist-form .field span em { font-style: normal; color: var(--gold-light); }
.waitlist-form .field input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(245, 237, 224, 0.08);
  color: var(--cream);
  border: 1px solid rgba(245, 237, 224, 0.2);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  font-family: inherit;
}
.waitlist-form .field input::placeholder { color: rgba(245, 237, 224, 0.45); }
.waitlist-form .field input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  background: rgba(245, 237, 224, 0.12);
}
.waitlist-form .cafe-only > .field { margin-bottom: 10px; }
.waitlist-submit {
  width: 100%;
  margin-top: 4px;
  background: var(--gold);
  color: var(--coffee);
}
.waitlist-submit:hover { background: var(--gold-light); }
.waitlist-submit:disabled { opacity: 0.6; cursor: progress; }
.waitlist-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--cream);
  min-height: 16px;
}
.waitlist-note.ok { color: #C0DD97; }
.waitlist-note.err { color: #FFB3A8; }
.follow-note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(245, 237, 224, 0.7);
}
.follow-note a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
}
.follow-note a:hover { text-decoration: underline; }
