:root {
  --cream: #F2EADB;
  --card: #E9DFCB;
  --ink: #1F2328;
  --muted: #4B4F54;
  --red: #CE2235;
  --gx: 56px;
  --max: 1360px;
  --sans: "Inter Tight", system-ui, sans-serif;
  --display: "Unbounded", sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
}

.page { width: 100%; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip:focus { top: 12px; color: var(--cream); }

h1, h2, h3, p { margin: 0; }

.kicker {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker-light { color: var(--card); }

.mark { color: var(--red); }

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gx);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--red);
}
.logo:hover { color: var(--red); }

.header-aside {
  display: flex;
  align-items: center;
  gap: 20px;
}

.place { font-size: 15px; color: var(--muted); }

.open-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.open-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.ticker-bar {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  height: 84px;
}
.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  align-items: center;
  height: 54px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.ticker-copy { padding-right: 40px; }
.ticker-sep { padding: 0 22px; color: var(--red); }
.ticker-dot {
  position: absolute;
  bottom: 10px;
  left: -24px;
  width: 18px;
  height: 18px;
}
.ticker-ball {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gx) 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 48px;
}
.hero-copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--red);
  text-wrap: balance;
}
.lede { font-size: 21px; max-width: 540px; }

.list-card {
  position: relative;
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  scroll-margin-top: 24px;
  scroll-margin-bottom: 96px;
}
#waitlist-form, #list-fields, .success {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.success { gap: 10px; }
.list-title, .success-title {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.list-title { font-size: 20px; line-height: 1.2; }
.success-title {
  font-size: 24px;
  line-height: 1.15;
  color: var(--red);
}

.goals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.goal { position: relative; display: inline-flex; }
.goal-input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.goal-text {
  font-weight: 600;
  font-size: 16px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}
.goal:has(.goal-input:checked) .goal-text {
  background: var(--ink);
  color: var(--cream);
}
.goal:has(.goal-input:focus-visible) .goal-text {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.goal-input:focus-visible { outline: none; }

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.field {
  flex: 1 1 160px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-grow { flex: 2 1 220px; }
.field label { font-weight: 600; font-size: 15px; }
.field input {
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
}

.form-alert {
  font-size: 14px;
  color: var(--cream);
  background: var(--red);
  padding: 8px 12px;
  border-radius: 10px;
}

.join-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.btn-join, .btn-undo, .closer-link, .stick-link {
  font-family: inherit;
  cursor: pointer;
}
.btn-join {
  font-weight: 600;
  font-size: 18px;
  padding: 16px 28px;
  border-radius: 14px;
  border: 0;
  background: var(--red);
  color: var(--cream);
}
.btn-join:hover { filter: brightness(0.95); }
.btn-join:disabled { cursor: wait; opacity: 0.7; }
.fine { font-size: 15px; color: var(--muted); }
.btn-undo {
  align-self: flex-start;
  font-weight: 600;
  font-size: 15px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.date-wrap {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
}
.date-card {
  position: relative;
  overflow: hidden;
  flex: 1;
  width: 100%;
  min-height: 360px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 28px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.date-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--card);
}
.date-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.date-ball {
  display: inline-block;
  width: 0.26em;
  height: 0.26em;
  margin-left: 0.04em;
  border-radius: 50%;
  background: var(--red);
  vertical-align: baseline;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  font-size: 13px;
  text-align: center;
}
.cal-day {
  padding: 6px 0;
  border-radius: 8px;
  background: rgba(242, 234, 219, 0.08);
}
.date-note { font-size: 16px; color: var(--card); }

.jobs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gx) 96px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.jobs h2, .vibe h2, .closer h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.jobs h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
}
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.job {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.job h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.job p { font-size: 17px; }
.job-dark { background: var(--ink); color: var(--cream); }

.vibe { background: var(--ink); color: var(--cream); }
.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px var(--gx);
}
.vibe h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.06;
}
.vibe .band, .closer-band, .footer-band {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.vibe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 28px;
}
.vibe-item {
  border-top: 3px solid var(--red);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vibe-item h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.vibe-item p { font-size: 17px; opacity: 0.9; }
.vibe :focus-visible,
.closer :focus-visible,
.site-footer :focus-visible { outline-color: var(--cream); }

.stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 24px;
  border-top: 1px solid rgba(242, 234, 219, 0.25);
  padding-top: 28px;
}
.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--red);
}
.stat > div {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-copy { font-size: 21px; }
.stat-source { font-size: 13px; opacity: 0.7; }

.lines-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px var(--gx);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.lines { display: flex; flex-direction: column; gap: 6px; }
.line {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.line-red { color: var(--red); }

.closer { background: var(--red); color: var(--cream); }
.closer-band {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 88px var(--gx);
}
.closer-copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.closer h2 {
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.06;
}
.closer p { font-size: 19px; }
.closer-link {
  background: var(--cream);
  color: var(--red);
  font-weight: 600;
  font-size: 20px;
  padding: 20px 36px;
  border-radius: 14px;
}
.closer-link:hover { color: var(--red); }

.site-footer { background: var(--ink); color: var(--cream); }
.footer-band {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding: 56px var(--gx);
}
.footer-brand, .footer-places {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-places { gap: 8px; font-size: 15px; }
.footer-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.02em;
}
.footer-brand p:nth-child(2) { font-size: 16px; }
.footer-meta { font-size: 14px; opacity: 0.8; }
.footer-when { font-weight: 600; }
.footer-places p:last-child { opacity: 0.8; }

.stick { display: none; }

.cl-tick { animation: cl-tick 30s linear infinite; }
.cl-dotx { animation: cl-dotx 9s cubic-bezier(.7, 0, .95, .55) infinite; }
.cl-doty { animation: cl-doty 9s linear infinite; }
.cl-land {
  animation: cl-landx 7s cubic-bezier(.3, .6, .4, 1) infinite, cl-landy 7s linear infinite;
}
.cl-in { animation: cl-in 0.35s ease-out both; }

@keyframes cl-tick {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes cl-dotx {
  0% { left: -24px; }
  86%, 100% { left: calc(100% + 24px); }
}
@keyframes cl-doty {
  0%, 100% { transform: translateY(0); }
  5% { transform: translateY(-5px); }
  10% { transform: translateY(0); }
  16% { transform: translateY(-7px); }
  22% { transform: translateY(0); }
  29% { transform: translateY(-9px); }
  36% { transform: translateY(0); }
  44% { transform: translateY(-6px); }
  50% { transform: translateY(0); }
  58% { transform: translateY(-3px); }
  64% { transform: translateY(0); }
}
@keyframes cl-landx {
  0% { transform: translateX(-11em); opacity: 1; }
  48% { transform: translateX(0); }
  92% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(0); opacity: 0; }
}
@keyframes cl-landy {
  0%, 48%, 100% { translate: 0 0; }
  8% { translate: 0 -0.35em; }
  16% { translate: 0 0; }
  24% { translate: 0 -0.25em; }
  32% { translate: 0 0; }
  40% { translate: 0 -0.12em; }
}
@keyframes cl-rise {
  from { opacity: 0.4; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes cl-in {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: none; }
}

@supports (animation-timeline: view()) {
  .rise {
    animation: cl-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
}

@media (max-width: 820px) {
  :root { --gx: 20px; }
  .site-header { padding: 16px var(--gx); }
  .logo { font-size: 28px; }
  .place { display: none; }
  .stick {
    display: flex;
    position: sticky;
    bottom: 0;
    z-index: 5;
    width: 100%;
    padding: 10px var(--gx) calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--cream);
    border-top: 2px solid var(--ink);
  }
  .stick-link {
    flex: 1;
    text-align: center;
    background: var(--red);
    color: var(--cream);
    font-weight: 600;
    font-size: 17px;
    padding: 14px 16px;
    border-radius: 12px;
  }
  .stick-link:hover { color: var(--cream); }
}

@media (prefers-reduced-motion: reduce) {
  .cl-tick,
  .cl-dotx,
  .cl-doty,
  .cl-land,
  .cl-in,
  .rise {
    animation: none !important;
  }
}
