/* Halves — vintage hospitality brand system
   cherry / cream / ink · mustard · olive · navy
   Yellowtail (script) · Jost (display) · Lora (body) · Space Mono (labels) */

:root {
  --cream: #FDF6E5;
  --cream-2: #f4e6c9;
  --paper: #fdf8ea;
  --ink: #221a12;
  --ink-soft: #4a3d2e;
  --cherry: #D03F1C;
  --cherry-deep: #a33412;
  --mustard: #d9a441;
  --olive: #6f7442;
  --navy: #2c3a55;
  --rule: rgba(34, 26, 18, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.075rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--cherry); color: var(--cream); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }
.center .prose { margin-left: auto; margin-right: auto; }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 1.2rem 0 1.4rem; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 0.9rem 0 1.6rem; }
h3 { font-size: 1.35rem; }

.script {
  font-family: 'Yellowtail', cursive;
  font-weight: 400;
  color: var(--cherry);
  letter-spacing: 0;
  padding-right: 0.08em;
}

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 220px;
}
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { display: none; }
.eyebrow .num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.prose { max-width: 62ch; }
.prose p + p { margin-top: 1.1em; }
.prose strong { font-weight: 600; }

.lede {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 34rem;
  margin: 0 auto;
  color: var(--ink-soft);
}

.fineprint {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 2.2rem;
  line-height: 1.7;
}

.mono-note { font-family: 'Space Mono', monospace; font-size: 0.8em; }

.sr {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: rgba(245, 237, 218, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1.5px solid var(--ink);
}
.wordmark {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.28em;
  text-decoration: none;
  color: var(--ink);
}
.topbar-meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.brandmark { display: inline-flex; align-items: center; }
.brandmark img {
  height: 38px;
  width: auto;
  display: block;
}
.wordmark-small { font-size: 1rem; }
.footer-mark {
  height: 64px;
  width: auto;
  border-radius: 8px;
  border: 2px solid var(--cream);
  background: #FDF6E5;
  box-shadow: 4px 4px 0 rgba(245, 237, 218, 0.25);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  background: var(--cherry);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-small { padding: 0.55rem 1.2rem; font-size: 0.8rem; }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 4.5rem 1.5rem 4rem;
  border-bottom: 1.5px solid var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(217, 164, 65, 0.25), transparent 70%),
    var(--cream);
}
.hero-inner { max-width: 820px; margin: 0 auto; }

.logo {
  width: min(430px, 84vw);
  height: auto;
  margin: 0 auto 1.8rem;
  display: block;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 6px 6px 0 rgba(34, 26, 18, 0.9);
  transform: rotate(-0.6deg);
}

.hero .eyebrow { justify-content: center; }
.hero .eyebrow::after { display: none; }
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 2.4rem;
}

.stamps { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.stamp {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cherry-deep);
  border: 2px solid var(--cherry-deep);
  border-radius: 4px;
  padding: 0.45rem 0.9rem;
  transform: rotate(-2deg);
  opacity: 0.9;
}
.stamp:nth-child(2) { transform: rotate(1.5deg); }
.stamp:nth-child(3) { transform: rotate(-1deg); }
.stamp-big {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.7rem 1.4rem;
  margin-top: 1.8rem;
  transform: rotate(-2deg);
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  border-bottom: 1.5px solid var(--ink);
  padding: 0.8rem 0;
}
.marquee-track {
  display: inline-flex;
  gap: 2.2rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.marquee .dot { color: var(--mustard); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */
.section { padding: 5.5rem 0; border-bottom: 1.5px solid var(--ink); }
.section-alt { background: var(--paper); }

.cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 0.5rem;
}

.factcard {
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--cream);
  padding: 2rem 1.8rem;
  box-shadow: 5px 5px 0 rgba(34, 26, 18, 0.9);
  transform: rotate(1.2deg);
}
.script-big {
  font-family: 'Yellowtail', cursive;
  font-size: 2.6rem;
  line-height: 1.15;
  color: var(--cherry);
  margin-bottom: 1rem;
}
.factcard-sub { font-size: 0.98rem; color: var(--ink-soft); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 3.5rem;
}
.stat {
  background: var(--cream);
  padding: 1.8rem 1rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
}
.stat-num .unit { font-size: 1.1rem; font-weight: 500; margin-left: 0.15rem; }
.stat-label {
  display: block;
  margin-top: 0.6rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- tickets ---------- */
.tickets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin: 3rem 0 0;
  counter-reset: step;
}
.ticket {
  position: relative;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 1.6rem 1.3rem 1.5rem;
  box-shadow: 4px 4px 0 rgba(34, 26, 18, 0.9);
}
.ticket::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  background: var(--cherry);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  border: 1.5px solid var(--ink);
}
.ticket h3 { margin-bottom: 0.6rem; font-size: 1.15rem; }
.ticket p { font-size: 0.95rem; color: var(--ink-soft); }
.ticket-day {
  position: absolute;
  top: 1.3rem;
  right: 1.1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 700;
}

/* ---------- savings calculator ---------- */
.savings {
  margin-top: 3.5rem;
  border: 2px dashed var(--ink-soft);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  background: rgba(245, 237, 218, 0.6);
}
.savings-head { text-align: center; margin-bottom: 2.2rem; }
.savings-head h3 { font-size: 1.8rem; margin: 0.6rem 0 0.5rem; }
.savings-head .eyebrow { justify-content: center; }
.savings-head .eyebrow::after { display: none; }
.savings-sub { color: var(--ink-soft); font-size: 1rem; max-width: 42rem; margin: 0 auto; }

.savings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}
.s-field { margin-bottom: 1.8rem; }
.s-field:last-child { margin-bottom: 0; }
.s-field > label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}
.s-val {
  float: right;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}
.savings .stepper { justify-content: flex-start; }
.stepper { display: flex; align-items: center; justify-content: center; gap: 0.7rem; }
.stepper button {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--cream);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s ease;
}
.stepper button:hover:not(:disabled) { background: var(--mustard); }
.stepper button:disabled { opacity: 0.3; cursor: default; }
.qty {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  min-width: 2ch;
  text-align: center;
}

input[type="range"].s-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  outline: none;
  cursor: pointer;
}
input[type="range"].s-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
}
input[type="range"].s-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
}
.s-range-marks {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

.s-household { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.s-hh {
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  padding: 0.9rem 0.6rem;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.s-hh:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.s-hh.is-active {
  background: var(--cherry);
  color: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
}
.s-hh.is-active .s-hh-sub { color: rgba(253, 246, 229, 0.85); }
.s-hh-title {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}
.s-hh-sub {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}

.savings-outputs {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--cream);
  padding: 2rem 1.8rem;
  box-shadow: 5px 5px 0 rgba(34, 26, 18, 0.9);
  text-align: center;
}
.s-result { margin-bottom: 1.4rem; }
.s-result-num {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--cherry);
}
.s-result-label {
  display: block;
  margin-top: 0.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.s-result-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.4rem; }
.s-result-row .s-result { margin-bottom: 0; }
.s-result-row .s-result-num { font-size: 2.1rem; }
.s-takeaway {
  font-family: 'Yellowtail', cursive;
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 1.6rem;
  line-height: 1.35;
  min-height: 2.6em;
}
.savings .fineprint { margin-top: 2rem; text-align: center; }

/* ---------- who cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.8rem;
}
.card {
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--cream);
  padding: 1.8rem 1.5rem;
  box-shadow: 4px 4px 0 rgba(34, 26, 18, 0.9);
}
.card:nth-child(2) { transform: rotate(-0.8deg); }
.card:nth-child(3) { transform: rotate(0.8deg); }
.card-no {
  font-family: 'Yellowtail', cursive;
  font-size: 1.6rem;
  color: var(--cherry);
  margin-bottom: 0.4rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.98rem; color: var(--ink-soft); }

.pull {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 3.2rem;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
}
.pull .script { font-size: 1.9rem; }

/* ---------- join ---------- */
.join-form {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.join-form input {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  padding: 0.85rem 1.3rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  min-width: min(320px, 80vw);
  outline: none;
}
.join-form input:focus { border-color: var(--cherry); box-shadow: 3px 3px 0 var(--ink); }
.form-note {
  margin-top: 1.4rem;
  font-family: 'Yellowtail', cursive;
  font-size: 1.5rem;
  color: var(--cherry);
}
.ref-banner {
  font-family: 'Yellowtail', cursive;
  font-size: 1.4rem;
  color: var(--cherry);
  margin-bottom: 1rem;
}
#ref-link-line { font-size: 1.15rem; }
#ref-link { color: var(--cherry); }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 2.6rem 0;
}
.footer-inner { text-align: center; }
.footer .wordmark { color: var(--cream); }
.footer-line {
  margin-top: 0.9rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(245, 237, 218, 0.75);
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; gap: 2rem; }
  .tickets { grid-template-columns: repeat(2, 1fr); }
  .savings-grid { grid-template-columns: 1fr; gap: 2rem; }
  .s-household { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .card:nth-child(2), .card:nth-child(3) { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .topbar-meta { display: none; }
}
@media (max-width: 560px) {
  .tickets { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .join-form input { min-width: 0; flex: 1; }
}

/* ---------- age gate ---------- */
.agegate {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--cream);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.agegate-card {
  text-align: center;
  max-width: 480px;
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  padding: 3rem 2.5rem;
  box-shadow: 6px 6px 0 rgba(34, 26, 18, 0.9);
  transform: rotate(-0.5deg);
}
.agegate-mark {
  height: 56px;
  width: auto;
  margin: 0 auto 1.4rem;
}
.agegate-card h2 { font-size: 2.1rem; margin-bottom: 0.7rem; }
.agegate-card > p { color: var(--ink-soft); margin-bottom: 1.8rem; }
.agegate-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.agegate-denied {
  font-family: 'Yellowtail', cursive;
  font-size: 1.45rem;
  color: var(--cherry);
  margin-top: 1.6rem;
  margin-bottom: 0;
}
.agegate.hidden { display: none; }
body.locked { overflow: hidden; }
