/* Independent Palate League – mockup styles */

:root {
  --paper: #F5F3EE;
  --paper-2: #ECE9E2;
  --card: #FFFFFF;
  --ink: #151413;
  --ink-2: #3F3B37;
  --muted: #57534E;
  --line: #D6D3CC;
  --line-soft: #E7E4DD;
  --dash: #A8A29E;
  --accent: #C2410C;
  --accent-on-dark: #FB923C;

  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --radius: 20px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--muted); }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 8px; z-index: 10;
}
.skip-link:focus { top: 16px; color: var(--paper); }

.container { max-width: var(--max); margin: 0 auto; padding-inline: 32px; }
@media (max-width: 600px) { .container { padding-inline: 20px; } }

.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.accent { color: var(--accent); }

.h-display {
  font-weight: 900; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(44px, 6.4vw, 88px);
}
.h-section {
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.02;
  font-size: clamp(36px, 4.4vw, 56px);
}
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { color: #fff; background: #A3360A; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { color: var(--paper); background: #000; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--outline-light { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-block: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-weight: 900; font-size: 15px; letter-spacing: 0.02em;
}
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.brand__by { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

.main-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.main-nav a { text-decoration: none; padding: 10px 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .link { text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 8px; }

/* Hero */
.hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 64px;
  padding-block: 88px 96px;
}
.hero__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__copy p { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { flex: 1 1 340px; display: flex; justify-content: center; }

/* Receipt */
.receipt {
  width: 360px; max-width: 100%;
  transform: rotate(2.5deg);
  filter: drop-shadow(0 18px 30px rgba(21, 20, 19, 0.18));
}
.receipt__body {
  background: var(--card); padding: 32px 28px 24px;
  font-family: var(--font-mono); font-size: 13px;
  display: flex; flex-direction: column; gap: 14px;
}
.receipt__head { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.receipt__title { font-weight: 600; font-size: 15px; letter-spacing: 0.06em; }
.receipt__sub { color: var(--muted); }
.receipt__rule { border-top: 1.5px dashed var(--dash); }
.receipt__row { display: flex; justify-content: space-between; gap: 12px; }
.receipt__row--bold { font-weight: 600; }
.receipt__paid { font-weight: 600; color: var(--accent); white-space: nowrap; }
.receipt__foot { text-align: center; font-size: 15px; font-weight: 600; padding-top: 4px; }
.receipt__edge {
  height: 14px;
  background: radial-gradient(circle at 7px 0, transparent 7px, var(--card) 7.5px) repeat-x;
  background-size: 14px 14px;
}
.receipt:hover { transform: rotate(0deg); transition: transform .3s ease; }

/* Sections */
.section { padding-block: 112px; }
.section--tight-bottom { padding-bottom: 48px; }
.section--tight-top { padding-top: 64px; }
.section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px;
}
.section__head .h-section { max-width: 640px; }
.section__head .lead { max-width: 420px; }
.stack-12 { display: flex; flex-direction: column; gap: 12px; }

/* Steps */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.step { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.step__num { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--accent); }
.step h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.step p { color: var(--muted); line-height: 1.6; }

/* Reviews */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.review { overflow: hidden; display: flex; flex-direction: column; }
.photo-ph {
  height: 260px;
  background: repeating-linear-gradient(135deg, #ECE9E2 0 14px, #E4E0D8 14px 28px);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 13px; color: var(--muted);
}
.review__body { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.review__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.author__name { font-weight: 700; }
.author__place { font-size: 14px; color: var(--muted); }
.badge {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--accent); border: 1.5px solid var(--accent);
  border-radius: 999px; padding: 6px 12px; white-space: nowrap;
}
.scores {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  border-block: 1px solid var(--line-soft); padding-block: 16px;
}
.score { display: flex; flex-direction: column; gap: 4px; }
.score span:first-child { font-size: 13px; color: var(--muted); }
.score span:last-child { font-weight: 800; font-size: 22px; }
.review__text { line-height: 1.6; color: var(--ink-2); }
.review a { font-weight: 700; font-size: 15px; }

/* Meetups */
.meetups { display: flex; flex-wrap: wrap; gap: 64px; }
.meetups__intro { flex: 1 1 380px; display: flex; flex-direction: column; gap: 24px; }
.meetups__intro p { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: center; }
.meetups__list { flex: 999 1 520px; min-width: 0; border-top: 2px solid var(--ink); }
.event {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; padding-block: 26px; border-bottom: 1px solid var(--line);
}
.event__info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; }
.event__date { font-family: var(--font-mono); font-size: 14px; font-weight: 600; min-width: 96px; }
.event__city { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; min-width: 140px; }
.event__venue { font-size: 15px; color: var(--muted); }
.note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Manifesto */
.manifesto { background: var(--ink); color: var(--paper); }
.manifesto .section { padding-block: 120px; }
.manifesto .eyebrow { color: var(--dash); }
.manifesto h2 { font-size: clamp(44px, 6vw, 80px); line-height: 0.98; font-weight: 900; letter-spacing: -0.035em; max-width: 900px; margin: 16px 0 56px; }
.manifesto h2 span { color: var(--accent-on-dark); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); column-gap: 48px; }
.principle { display: flex; gap: 20px; padding-block: 28px; border-top: 1px solid var(--ink-2); }
.principle__num { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--accent-on-dark); padding-top: 5px; }
.principle h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.principle p { line-height: 1.6; color: var(--line); }

/* Final CTA */
.final { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding-block: 120px; }
.final h2 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1; font-weight: 900; letter-spacing: -0.035em; max-width: 820px; }
.final p { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 560px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-block: 40px; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }

/* ---------- Join page ---------- */
.join { display: flex; flex-wrap: wrap; gap: 56px; padding-block: 72px 112px; }
.join__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.join__intro { display: flex; flex-direction: column; gap: 14px; }
.join__intro h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1; font-weight: 900; letter-spacing: -0.035em; }
.join__intro p { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }

.progress__label { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.progress__track { height: 10px; background: #E4E0D8; border-radius: 999px; overflow: hidden; }
.progress__bar { height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width .35s ease; }

.slots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.slot {
  display: flex; align-items: center; gap: 16px;
  border-radius: 16px; padding: 18px 20px; min-height: 64px;
}
.slot--empty { border: 1.5px dashed var(--dash); color: var(--muted); }
.slot--filled { background: var(--card); border: 1px solid var(--line); }
.slot--new { animation: pop .25s ease; }
.slot__num { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--muted); }
.slot__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.slot__title { font-weight: 700; }
.slot__meta { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes pop { from { transform: scale(.98); opacity: .4; } to { transform: none; opacity: 1; } }

.form { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.form h2 { font-size: 22px; font-weight: 800; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; min-height: 48px;
  border: 1.5px solid var(--dash); border-radius: 12px; background: var(--paper);
}
.field input[type="file"] { border-style: dashed; padding: 16px; }
.field input[aria-invalid="true"] { border-color: #B91C1C; }
.form__error { color: #B91C1C; font-size: 14px; font-weight: 600; min-height: 1.2em; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__hint { font-size: 14px; color: var(--muted); }

.done-panel {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius); padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.done-panel .eyebrow { color: var(--accent-on-dark); }
.done-panel h2 { font-size: 36px; font-weight: 900; letter-spacing: -0.02em; }
.done-panel p { font-size: 17px; line-height: 1.6; color: var(--line); }
.done-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.join__aside { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.why { background: var(--paper-2); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.why h2 { font-size: 22px; font-weight: 800; }
.why p { line-height: 1.6; color: var(--ink-2); }
.why ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.why li { display: flex; gap: 12px; }
.why li span:first-child { font-family: var(--font-mono); font-weight: 600; color: var(--accent); }
.unlock { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.unlock ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

[hidden] { display: none !important; }
