:root {
  --ink: #140c1f;
  --dusk: #3b1d5c;
  --night: #1d0e36;
  --hot: #ff4fa0;
  --cyan: #4ff0ff;
  --cream: #fff6e6;
  --bone: #f1e7d3;
  --gold: #ffd27a;
  --pink: #ff5fa2;
  --cash: #8fe07a;
  --sand: #f0c999;
  --sand-line: #d9a877;
  --muted: #b9a9cc;
  --seg-off: #241a30;
  --rule: #e5d9c4;

  --display: "Passion One", "Arial Black", sans-serif;
  --mono: "Martian Mono", ui-monospace, Consolas, monospace;
  --body: "Archivo", "Arial Narrow", sans-serif;

  /* cover-art outline for display type: ink ring plus a hard drop shadow */
  --o3: -3px -3px 0 var(--ink), 0 -3px 0 var(--ink), 3px -3px 0 var(--ink), 3px 0 0 var(--ink),
        3px 3px 0 var(--ink), 0 3px 0 var(--ink), -3px 3px 0 var(--ink), -3px 0 0 var(--ink);
  --o6: -6px -6px 0 var(--ink), 0 -6px 0 var(--ink), 6px -6px 0 var(--ink), 6px 0 0 var(--ink),
        6px 6px 0 var(--ink), 0 6px 0 var(--ink), -6px 6px 0 var(--ink), -6px 0 0 var(--ink);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--body);
  font-stretch: 90%;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(100% - 10vw, 1280px); margin-inline: auto; }
.stack { display: flex; flex-direction: column; gap: 28px; }

/* ---------- ticker ---------- */

.ticker {
  background: var(--ink);
  border-bottom: 2px solid #000;
  overflow: hidden;
  padding: 9px 0;
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 48s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; }
.ticker-track span::before { content: ""; width: 6px; height: 6px; background: var(--pink); }
.ticker-track b { color: var(--gold); font-variant-numeric: tabular-nums; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */

.site-head { background: #170a2c; border-bottom: 3px solid var(--ink); }
.head-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 14px 0; }

.logo { display: block; line-height: 0; }
.logo img { height: 52px; width: auto; display: block; }

.site-head nav { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
.site-head nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-head nav a:hover { border-bottom-color: var(--gold); }

.head-right { margin-left: auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.clock-chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 9px 12px;
  background: var(--ink);
  border: 2px solid #000;
  border-radius: 10px;
}
.clock-chip b { color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- buttons, chips, cards ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  background: var(--hot);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--cyan);
  font-family: var(--body);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--cyan); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--cyan); }
.btn-ghost { background: var(--cream); box-shadow: 4px 4px 0 var(--hot); }
.btn-ghost:hover { box-shadow: 6px 6px 0 var(--hot); }
.btn-ghost:active { box-shadow: 1px 1px 0 var(--hot); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

[data-link].is-soon { opacity: .6; pointer-events: none; }
[data-link].is-soon::after {
  content: "soon";
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 6px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
}

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
}
.chip-dark { background: var(--ink); color: var(--cream); }
.chip-cream { background: var(--cream); border-color: var(--cream); }

.card {
  background: var(--cream);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--hot);
  padding: 18px 20px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: clamp(520px, 46vw, 700px);
  overflow: hidden;
  background: var(--night);
  border-bottom: 4px solid var(--ink);
}
.hero .scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.hero-copy {
  position: relative;
  padding-top: clamp(28px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  pointer-events: none;
}
.hero-copy a { pointer-events: auto; }
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { width: clamp(300px, 38vw, 560px); height: auto; display: block; }
.hero-tag {
  margin: 6px 0 0;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(12px, 1.15vw, 16px);
  letter-spacing: .26em;
  text-transform: uppercase;
  text-shadow: var(--o3);
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .actions { margin-top: 8px; }

.loading {
  position: absolute;
  right: 5vw;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.loading .bar { width: 120px; height: 10px; border: 2px solid var(--ink); background: rgba(20, 12, 31, .15); }
.loading .bar i { display: block; height: 100%; background: var(--ink); animation: crawl 9s ease-out infinite; }
@keyframes crawl { 0% { width: 0; } 30% { width: 82%; } 60%, 100% { width: 99%; } }

/* ---------- sections ---------- */

.section { padding: 96px 0 40px; }
.section-last { padding-bottom: 104px; }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(46px, 5.6vw, 84px);
  line-height: .9;
  text-transform: uppercase;
  text-shadow: var(--o3), 6px 7px 0 var(--hot);
}
.lede { margin: 0; font-size: 18px; max-width: 62ch; }

/* ---------- the clock board ---------- */

.board {
  background: var(--ink);
  border: 3px solid #000;
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--hot);
  padding: clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.board-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.status {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 2px solid var(--status, var(--pink));
  color: var(--status, var(--pink));
  border-radius: 6px;
}
.status-sub { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* seven-segment digits drawn with clip-path; script.js lights the segments */
.sevenseg {
  --h: clamp(64px, 15vw, 228px);
  --w: calc(var(--h) * .52);
  --t: calc(var(--h) * .11);
  --on: var(--gold);
  display: flex;
  align-items: center;
  gap: calc(var(--h) * .09);
  filter: drop-shadow(0 0 14px rgba(255, 210, 122, .35)) drop-shadow(4px 5px 0 #000);
}
.digit { position: relative; width: var(--w); height: var(--h); flex: none; }
.digit i { position: absolute; background: var(--seg-off); transition: background-color .15s; }
.digit i.on { background: var(--on); }
.digit i:nth-child(1), .digit i:nth-child(4), .digit i:nth-child(7) {
  left: calc(var(--t) * .55);
  width: calc(var(--w) - var(--t) * 1.1);
  height: var(--t);
  clip-path: polygon(var(--t) 0, calc(100% - var(--t)) 0, 100% 50%, calc(100% - var(--t)) 100%, var(--t) 100%, 0 50%);
}
.digit i:nth-child(1) { top: 0; }
.digit i:nth-child(7) { top: calc(50% - var(--t) / 2); }
.digit i:nth-child(4) { bottom: 0; }
.digit i:nth-child(2), .digit i:nth-child(3), .digit i:nth-child(5), .digit i:nth-child(6) {
  width: var(--t);
  height: calc(50% - var(--t) * .2);
  clip-path: polygon(50% 0, 100% var(--t), 100% calc(100% - var(--t)), 50% 100%, 0 calc(100% - var(--t)), 0 var(--t));
}
.digit i:nth-child(2) { right: 0; top: calc(var(--t) * .45); }
.digit i:nth-child(3) { right: 0; bottom: calc(var(--t) * .45); }
.digit i:nth-child(5) { left: 0; bottom: calc(var(--t) * .45); }
.digit i:nth-child(6) { left: 0; top: calc(var(--t) * .45); }
.colon {
  width: var(--t);
  height: calc(var(--h) * .5);
  flex: none;
  background:
    linear-gradient(var(--on), var(--on)) top / 100% var(--t) no-repeat,
    linear-gradient(var(--on), var(--on)) bottom / 100% var(--t) no-repeat;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: .2; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.hours { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 5px; }
.hours i { height: 22px; background: var(--seg-off); border: 2px solid #000; border-radius: 4px; }
.hours i.on { background: var(--pink); }
.hours i.now { animation: pulse 1s steps(1) infinite; }
@keyframes pulse { 50% { background: var(--cream); } }

.hours-cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hours-cap b { color: var(--gold); }
.board-local { margin: 0; font-size: 15px; color: var(--muted); }

.board .out { display: none; }
[data-state="out"] .board .out {
  display: block;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 80px);
  line-height: .9;
  color: var(--cash);
  text-shadow: var(--o3), 5px 5px 0 #000;
}
[data-state="out"] .sevenseg { --on: var(--cash); }
[data-state="out"] .colon { animation: none; }

.stat { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; }
.stat-n { font-family: var(--display); font-weight: 700; font-size: 48px; line-height: .9; font-variant-numeric: tabular-nums; }
.stat-l { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- midnight wave table ---------- */

.table-card { padding: 0; overflow: hidden; border-radius: 18px; box-shadow: 8px 8px 0 var(--cyan); }
.table-scroll { overflow-x: auto; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
thead tr { background: var(--ink); color: var(--cream); }
th {
  padding: 14px 12px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: left;
}
th:first-child, td:first-child { padding-left: 20px; }
th.r, td.r { text-align: right; padding-right: 20px; }
td { padding: 12px; border-top: 2px solid var(--rule); font-family: var(--mono); font-size: 12px; }
td b { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .01em; }
td small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #6b5a7e; margin-left: 6px; }
td.t { font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
tr.zero td { background: #ffe9b8; }
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--cream);
}
.pill.next { background: var(--gold); }
.pill.playing { background: var(--cash); }
.table-note { margin: 0; padding: 14px 20px; border-top: 2px solid var(--rule); font-family: var(--mono); font-size: 11px; color: #4a3b5c; }

/* ---------- lore ---------- */

.fact b { display: block; font-size: 16px; margin-bottom: 4px; }
.fact p { margin: 0; font-size: 14px; line-height: 1.45; }

.timeline { border-radius: 18px; box-shadow: 8px 8px 0 var(--cyan); padding: clamp(20px, 3vw, 36px); }
.card-label { display: block; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 12px 16px;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.45;
}
.timeline .yr { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; color: #d23a7a; text-transform: uppercase; }
.timeline li.zero { background: var(--cash); }
.timeline li.zero .yr { color: var(--ink); }

/* ---------- get $24 ---------- */

.step { display: flex; flex-direction: column; gap: 6px; }
.step .n { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; color: #8a7a9c; }
.step b { font-size: 17px; }
.step p { margin: 0; font-size: 14px; line-height: 1.45; }

.ca {
  background: var(--ink);
  border: 3px solid #000;
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--cyan);
  padding: 10px 10px 10px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.ca label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.ca input {
  flex: 1 1 280px;
  min-width: 0;
  min-height: 44px;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 14px;
}
.ca input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ---------- footer on the promenade ---------- */

.foot {
  background-color: #fff0e4;
  background-image: repeating-linear-gradient(90deg, #ff9fc4 0 44px, #fff0e4 44px 88px);
  color: var(--ink);
  border-top: 4px solid var(--ink);
  padding: 40px 0 48px;
}
.foot-row { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.foot-logo { height: 120px; width: auto; display: block; }
.foot-note {
  flex: 0 1 auto;
  background: var(--cream);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  padding: 12px 18px;
}
.foot-note p { margin: 0; }
.foot-note .mono { font-family: var(--mono); font-size: 12px; color: #4a3b5c; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- smaller screens ---------- */

@media (max-width: 900px) {
  .site-head nav { display: none; }
  .hours { gap: 3px; }
  .hours i { height: 16px; border-width: 1.5px; }
}

/* phones: the scene first, framed on the sun and the palm, the copy under it */
@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .head-row { gap: 12px; }
  .clock-chip { display: none; }
  .hero { height: auto; display: flex; flex-direction: column; }
  .hero-copy { padding: 28px 0 22px; gap: 14px; }
  .hero-logo img { width: min(100%, 360px); }
  .hero .scene { position: static; height: auto; aspect-ratio: 560 / 470; }
  .hero-tag { letter-spacing: .12em; font-size: 12px; }
  .hero .actions { padding-bottom: 8px; }
  .loading { display: none; }
  .section { padding-top: 72px; }
  .sevenseg { --h: clamp(40px, 13vw, 64px); gap: 5px; filter: drop-shadow(2px 3px 0 #000); }
  .board { padding: 18px 14px; }
  .hours { gap: 2px; }
  .hours i { height: 14px; border-radius: 2px; }
  .hours-cap span { display: none; }
  table { min-width: 0; }
  th:nth-child(2), td:nth-child(2) { display: none; }
  th:first-child, td:first-child { padding-left: 14px; }
  th.r, td.r { padding-right: 14px; }
  td b { font-size: 18px; }
  td small { display: block; margin: 2px 0 0; }
  .timeline li { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .timeline .yr { font-size: 24px; }
  .foot-logo { height: 84px; }
}
