/* ==========================================================================
   Core tokens
   ========================================================================== */
:root {
  /* Taken straight off the logo: its charcoal and its cream. */
  --ink: #2c2927;
  --ink-deep: #1e1c1a;
  --surface: #383431;
  --surface-2: #443f3b;
  --line: #4a4441;
  --text: #f8ebdb;
  --muted: #a79c91;

  --rf: #e4453e;   /* Red Flag      — siren red   */
  --mc: #7fa7d9;   /* Movie Club    — screen glow */
  --kn: #e9a13b;   /* Karaoke Night — lamp amber  */

  --accent: var(--rf);

  --font-display: "Anton", "Oswald", "Arial Narrow", "Haettenschweiler", Impact, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 78rem;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; }

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

::selection { background: var(--accent); color: var(--ink-deep); }

/* ==========================================================================
   Typography
   ========================================================================== */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: uppercase;
}

h1.display { font-size: clamp(2.7rem, 9.5vw, 7.5rem); }
h2.display { font-size: clamp(2.6rem, 8vw, 6rem); }
h3.display { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}

.section-title {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 2rem;
  color: var(--muted);
}

p { max-width: 62ch; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: clamp(4rem, 9vw, 7.5rem); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.15s var(--ease),
    color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn-solid {
  background: var(--accent);
  color: var(--ink-deep);
}
.btn-solid:hover { filter: brightness(1.12); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.btn-lg { padding: 1.15rem 2.2rem; font-size: 1.0625rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--gutter);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  background: rgba(30, 28, 26, 0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  max-width: 60vw;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.wordmark-mark {
  height: clamp(2.4rem, 3.4vw, 3.1rem);
  width: auto;
  flex: none;
}

.wordmark span {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  letter-spacing: 0.05em;
  line-height: 1.05;
}

/* below this width the armchair carries the brand on its own */
@media (max-width: 560px) {
  .wordmark span { display: none; }
}

.footer-lockup {
  width: 11.5rem;
  height: auto;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s var(--ease);
}
.nav a:hover { color: var(--text); }

@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .nav .btn { padding: 0.7rem 1.1rem; font-size: 0.9rem; }
}

/* ==========================================================================
   Hero — video wall
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.video-wall {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.video-wall video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.03) brightness(0.82);
}

.video-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      var(--ink) 3%,
      rgba(44, 41, 39, 0.9) 38%,
      rgba(44, 41, 39, 0.66) 100%
    );
}

@media (max-width: 860px) {
  .video-wall { grid-template-columns: 1fr; }
  .video-wall video:nth-child(n + 2) { display: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero h1 { margin-bottom: 1.5rem; }

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line > span {
  display: block;
  transform: translateY(102%);
  animation: rise 0.9s var(--ease) forwards;
}

.hero h1 .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.2s; }

@keyframes rise { to { transform: translateY(0); } }

.hero .lede {
  max-width: 34ch;
  color: #e6d9c8;
}

.hero-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.25rem;
}

.chip {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border: 1px solid rgba(248, 235, 219, 0.3);
  border-radius: 999px;
  background: rgba(30, 28, 26, 0.5);
  backdrop-filter: blur(6px);
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.chip:hover { border-color: currentColor; }
.chip.rf:hover { color: var(--rf); }
.chip.mc:hover { color: var(--mc); }
.chip.kn:hover { color: var(--kn); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 .line > span { transform: none; animation: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ==========================================================================
   Event panels
   ========================================================================== */
.event {
  position: relative;
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.event.rf { --accent: var(--rf); }
.event.mc { --accent: var(--mc); }
.event.kn { --accent: var(--kn); }

.event-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .event-grid { grid-template-columns: 1fr; }
}

.event-kicker {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
}

.event-kicker .idx {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.event h2 { color: var(--text); margin-bottom: 1.25rem; }

.event h2 em {
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--accent);
  color: transparent;
}

.event-body p { color: #e2d5c4; }

.event-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.price-note {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Media block */
.event-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 5;
}

.event-media video,
.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 28, 26, 0.66), transparent 55%);
  pointer-events: none;
}

/* ==========================================================================
   Ticket stub — the recurring device
   ========================================================================== */
.stub {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin-top: 1.75rem;
}

.stub::before,
.stub::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line);
  transform: translateY(-50%);
}
.stub::before { left: -10px; border-right-color: transparent; }
.stub::after { right: -10px; border-left-color: transparent; }

.stub dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 1.5rem;
  margin: 0;
  font-size: 0.975rem;
}

.stub dt { color: var(--muted); }
.stub dd { margin: 0; font-weight: 500; }

.stub .stub-perf {
  border-top: 1px dashed var(--line);
  margin: 1.15rem -1.6rem 1.1rem;
}

/* ==========================================================================
   Steps (a real sequence, so numbers earn their place)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  counter-reset: step;
}

@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.step { border-top: 2px solid var(--line); padding-top: 1.1rem; }

.step h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.step h3::before {
  counter-increment: step;
  content: counter(step) ". ";
  color: var(--muted);
}

.step p { color: var(--muted); font-size: 0.975rem; margin: 0; }

/* ==========================================================================
   Rules / FAQ
   ========================================================================== */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
@media (max-width: 800px) { .rules { grid-template-columns: 1fr; } }

details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
}
details[open] summary::after { content: "–"; }

details p { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.975rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem;
  color: var(--muted);
  font-size: 0.925rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ==========================================================================
   Forms
   ========================================================================== */
.page-shell {
  padding-top: 7rem;
  padding-bottom: 5rem;
  min-height: 100svh;
}

.form-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 900px) {
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { order: -1; }
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.field {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

/* pushes the control to the bottom so paired fields line up
   even when one label carries an extra line of help text */
.field-row .field > input,
.field-row .field > select,
.field-row .field > textarea { margin-top: auto; }

.field label {
  display: block;
  font-size: 0.925rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.field .help {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.field textarea { min-height: 6rem; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: var(--surface-2);
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder { color: #857a70; }

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--rf); }

.error-text {
  display: none;
  color: var(--rf);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}
.field.has-error .error-text { display: block; }

.checkline {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #e2d5c4;
}

.checkline input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
  flex: none;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1.25rem;
}

.form-alert {
  display: none;
  border: 1px solid var(--rf);
  background: rgba(228, 69, 62, 0.1);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.form-alert.is-visible { display: block; }

/* Summary panel */
.summary-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 6.5rem;
}

@media (max-width: 900px) { .summary-card { position: static; } }

.summary-media { aspect-ratio: 16 / 10; background: var(--ink-deep); }
.summary-media img { width: 100%; height: 100%; object-fit: cover; }

.summary-body { padding: 1.4rem 1.5rem 1.6rem; }

.summary-body h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 0.95;
  margin: 0 0 0.75rem;
  color: var(--accent);
}

.summary-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.25rem;
  margin: 0;
  font-size: 0.95rem;
}
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; }

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px dashed var(--line);
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  font-weight: 600;
}

.total-row .amount {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--text);
}

/* ==========================================================================
   Payment + success
   ========================================================================== */
.pay-hero { max-width: 34rem; }

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.pay-methods span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(30, 28, 26, 0.35);
  border-top-color: var(--ink-deep);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.success-mark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1;
  color: var(--kn);
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.ref-code {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 1.5rem;
}

.is-hidden { display: none !important; }


/* ==========================================================================
   What's on — month calendar
   ========================================================================== */
.cal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-bottom: 1.75rem;
}

.cal-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cal-month {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1;
  min-width: 11ch;
  text-align: center;
}

.cal-arrow {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.cal-arrow:hover:not([disabled]) { border-color: var(--text); }
.cal-arrow[disabled] { opacity: 0.3; cursor: not-allowed; }

.cal-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .cal-layout { grid-template-columns: 1fr; } }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.cal-dow {
  background: var(--ink);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 0.6rem 0;
}

.cal-day {
  background: var(--ink);
  min-height: 4.4rem;
  padding: 0.45rem 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border: 0;
  text-align: left;
  font-family: inherit;
}

@media (max-width: 620px) {
  .cal-day { min-height: 3.2rem; padding: 0.3rem 0.25rem; font-size: 0.75rem; }
  .cal-dow { font-size: 0.68rem; }
}

.cal-day.is-blank { background: var(--ink-deep); }
.cal-day.is-past { opacity: 0.4; }

.cal-day.is-today .cal-date {
  background: var(--surface-2);
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  margin: -0.15rem 0 0 -0.2rem;
}

.cal-day.has-event {
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.15s var(--ease);
}
.cal-day.has-event:hover { background: var(--surface-2); }
.cal-day.has-event.is-selected { outline: 2px solid var(--accent); outline-offset: -2px; }

.cal-tag {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0.15rem 0.35rem;
  border-radius: 2px;
  color: var(--ink-deep);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal-tag.rf { background: var(--rf); }
.cal-tag.mc { background: var(--mc); }
.cal-tag.kn { background: var(--kn); }
.cal-tag.is-full { background: var(--surface-2); color: var(--muted); }

@media (max-width: 620px) {
  .cal-tag { font-size: 0; padding: 0; height: 5px; border-radius: 999px; }
}

/* upcoming list beside the grid */
.cal-list { display: flex; flex-direction: column; gap: 0.75rem; }

.cal-item {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  gap: 0.9rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  text-decoration: none;
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.cal-item:hover { transform: translateX(2px); }
.cal-item.rf { --accent: var(--rf); }
.cal-item.mc { --accent: var(--mc); }
.cal-item.kn { --accent: var(--kn); }

.cal-item .when {
  text-align: center;
  line-height: 1;
}
.cal-item .when .d {
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: block;
}
.cal-item .when .m {
  font-size: 0.7rem;
  color: var(--muted);
  display: block;
  margin-top: 0.2rem;
}
.cal-item .what { font-weight: 600; font-size: 0.95rem; }
.cal-item .meta { color: var(--muted); font-size: 0.85rem; }
.cal-item.is-full { opacity: 0.55; }

.cal-empty {
  color: var(--muted);
  font-size: 0.95rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.cal-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.cal-legend i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  display: inline-block;
}
