/* Tokens are lifted from stateoftheparty.org as of 2026-09-28. Color comes only
   from their own posters and photos; the chrome stays ink on paper. */

:root {
  --ink: #141414;
  --paper: #f3f2ee;
  --muted: #9c9a93;
  --muted-dark: #65635c;
  --paper-2: #e9e7e1;
  --ink-2: #1f1f1e;

  --maxw: 1100px;
  --maxw-wide: 1280px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(64px, 11vh, 128px);

  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;

  --head-h: 76px;
  --accent: var(--ink);
}

@media (max-width: 760px) {
  :root { --head-h: 64px; }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

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

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-100%);
}
.skip-link:focus { transform: none; outline: 2px solid var(--paper); outline-offset: -5px; }
main, main [id] { scroll-margin-top: var(--head-h); }
main:focus { outline: none; }

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: calc(var(--maxw-wide) + 2 * var(--gutter)); }

.section { padding: var(--section) 0; }
.section--tight { padding: clamp(48px, 8vh, 88px) 0; }
.dark { background: var(--ink); color: var(--paper); }
.rule-top { border-top: 2px solid var(--ink); }
.dark .rule-top, .dark.rule-top { border-color: var(--paper); }

.stack > * + * { margin-top: var(--stack, 24px); }
.head-reserve { height: var(--head-h); }

/* ---------- type ---------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
}

.h1 { font-size: clamp(58px, 11.5vw, 150px); }
.h2 { font-size: clamp(40px, 7vw, 92px); text-wrap: balance; }
.h3 { font-size: clamp(30px, 4.2vw, 52px); line-height: 0.95; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.3;
}

.lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; max-width: 36em; }
.muted { color: var(--muted-dark); }
.dark .muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }

/* Their posters: extra-wide heavy grotesk titles. */
.poster-type {
  font-family: var(--body);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.88;
}

/* Their posters: italic serif month over a bold italic ordinal day. */
.when { display: inline-grid; justify-items: start; line-height: 0.82; }
.when-month {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--when-size, 30px);
  letter-spacing: -0.01em;
  line-height: 0.9;
}
.when-day {
  font-family: var(--body);
  font-style: italic;
  font-weight: 800;
  font-stretch: 110%;
  font-variation-settings: "wdth" 110;
  font-size: calc(var(--when-size, 30px) * 1.05);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.when-day sup { font-size: 0.62em; vertical-align: 0.34em; margin-left: 0.02em; }
.when-time {
  font-family: var(--body);
  font-style: italic;
  font-weight: 800;
  font-stretch: 118%;
  font-variation-settings: "wdth" 118;
  font-size: calc(var(--when-size, 30px) * 1.05);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

/* ---------- buttons, tags ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--display);
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  padding: 18px 38px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { font-size: 17px; padding: 11px 20px; }
.dark .btn, .btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dark .btn:hover, .btn--paper:hover { background: transparent; color: var(--paper); }
.dark .btn--ghost { background: transparent; color: var(--paper); }
.dark .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
/* A filled button's currentColor matches the page behind it, so pin its ring to the contrasting tone. */
.btn:focus-visible { outline-color: var(--ink); }
.dark .btn:focus-visible, .btn--paper:focus-visible { outline-color: var(--paper); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
@media (max-width: 560px) {
  .btn { padding: 16px 22px; }
  .btn-row { gap: 12px; }
}

/* ---------- Chip-in ---------- */

.chip-in { display: grid; justify-items: start; gap: 12px; }
.chip-in-apps { display: grid; gap: 4px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.chip-in-apps .text-link { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.chip-in-note { font-size: 13px; line-height: 1.45; color: var(--muted-dark); max-width: 21em; text-wrap: pretty; }
.dark .chip-in-note { color: var(--muted); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  padding: 7px 12px 6px;
  border: 1.5px solid var(--muted-dark);
  border-radius: 999px;
  white-space: nowrap;
}
.dark .tag { border-color: var(--muted); }
.tag--solid { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dark .tag--solid { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.tag--dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration-thickness: 3px; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--head-h);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.head-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: auto; height: 40px; }
@media (max-width: 760px) { .brand img { height: 34px; } }

.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.head-cta { flex: none; }

.menu-btn {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 0 0 12px;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-btn i { position: relative; display: block; width: 22px; height: 2px; background: currentColor; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; }
.menu-btn i::before { top: -7px; }
.menu-btn i::after { top: 7px; }

@media (max-width: 980px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}
.menu[data-open="true"] { visibility: visible; opacity: 1; transition: opacity 0.22s ease; }
.menu-top { height: var(--head-h); display: flex; align-items: flex-end; }
.menu-top .wrap { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--paper); }
.menu-top img { height: 34px; width: auto; }
.menu-close { border: 0; background: transparent; color: var(--paper); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 10px 0 10px 12px; cursor: pointer; }
.menu-list { flex: 1; overflow-y: auto; padding: 28px 0 40px; }
.menu-list a {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: baseline;
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 242, 238, 0.14);
}
.menu-list .num { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--muted); }
.menu-list .label { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 11vw, 60px); line-height: 1; }
.menu-foot { padding: 0 0 32px; font-size: 13px; color: var(--muted); }
.menu-foot .btn { width: 100%; margin-bottom: 20px; }
body[data-menu="open"] { overflow: hidden; }

/* ---------- footer ---------- */

.site-foot { border-top: 2px solid var(--ink); background: var(--paper); color: var(--ink); padding: 56px 0 28px; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}
.foot-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.foot-brand p { font-size: 15px; max-width: 22em; }
.foot-col h3 { margin-bottom: 14px; color: var(--muted-dark); }
.foot-col li + li { margin-top: 8px; }
.foot-col a { text-decoration: none; font-weight: 600; font-size: 15px; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-base {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 20, 20, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--muted-dark);
}
.foot-base a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.foot-logo { font-family: var(--display); font-size: 18px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

/* ---------- event cards ---------- */

.poster { position: relative; overflow: hidden; background: var(--ink-2); aspect-ratio: 4 / 5; }
.poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }

.ev-card { display: block; text-decoration: none; color: inherit; min-width: 0; }
.ev-card:hover .poster img { transform: scale(1.035); }
.ev-card .poster::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s ease;
}
.ev-card:hover .poster::after { transform: scaleY(1); }
.ev-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 2px solid currentColor;
}
.ev-meta .when { --when-size: 24px; min-width: 64px; }
.ev-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 0.95; letter-spacing: -0.005em; }
.ev-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px; }
.ev-venue { font-size: 14px; line-height: 1.4; margin-top: 6px; color: var(--muted-dark); }
.nowrap { white-space: nowrap; }
.dark .ev-venue { color: var(--muted); }
.ev-recap { font-size: 14px; line-height: 1.4; margin-top: 8px; color: var(--muted-dark); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.dark .ev-recap { color: var(--muted); }
.ev-flags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.ev-flags .tag { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.ev-flags .tag--solid { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.ev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 32px;
}
@media (max-width: 980px) { .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 20px; } }
@media (max-width: 560px) {
  .ev-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
}


.is-past .poster img { filter: grayscale(0.35); }

/* ---------- numbered steps (their pattern) ---------- */

.step {
  display: grid;
  grid-template-columns: minmax(90px, 0.5fr) 1fr;
  gap: 24px;
  padding: 28px 0 32px;
  border-top: 2px solid currentColor;
}
.step .num { font-family: var(--display); font-size: clamp(64px, 12vw, 150px); line-height: 0.8; letter-spacing: -0.02em; }
.step h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 44px); line-height: 0.95; margin-bottom: 12px; }
.step p { max-width: 34em; }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- forms ---------- */

.field { display: grid; gap: 8px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.input, .select, .textarea {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 14px 16px;
  appearance: none;
}
.textarea { min-height: 140px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--muted-dark); }
.dark .input, .dark .select, .dark .textarea { color: var(--paper); border-color: var(--paper); }

.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: block;
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  padding: 16px 8px;
  border: 2px solid var(--ink);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.chip:hover span { background: var(--paper-2); }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark .chip span { border-color: var(--paper); }
.dark .chip:hover span { background: var(--ink-2); }
.dark .chip input:checked + span { background: var(--paper); color: var(--ink); }
.dark .chip input:focus-visible + span { outline-color: var(--paper); }

/* The Signup form: an email beside its button, then the bot check, any alert and the privacy note. */
.signup-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: start;
}
.signup-fields .field { gap: 10px; }
.signup-fields label .muted { font-weight: 600; letter-spacing: 0.08em; text-transform: none; }
.signup .input { height: 60px; }
.signup .btn { height: 60px; padding-block: 0; margin-top: 28px; }
.signup .input[aria-invalid="true"] { border-style: dashed; }
.signup-err { font-size: 13px; font-weight: 700; line-height: 1.5; }
.signup-err:empty { display: none; }
.signup-done { display: grid; gap: 8px; padding: 18px 0 14px; outline: none; }
.signup-done .display { font-size: clamp(30px, 3vw, 40px); line-height: 0.95; }
.signup-check:empty, .signup-alert:empty { display: none; }
.signup-check, .signup-alert, .signup-fields .source-note { grid-column: 1 / -1; }
.signup-alert { font-weight: 700; line-height: 1.5; text-wrap: pretty; }
.signup-fields .source-note { margin-top: 8px; }
@media (max-width: 560px) {
  .signup-fields { grid-template-columns: minmax(0, 1fr); }
  .signup .btn { margin-top: 4px; width: 100%; }
}

/* ---------- misc ---------- */

.not-found { padding: clamp(40px, 7vh, 88px) 0 clamp(64px, 10vh, 112px); }
.not-found .h1 { font-size: clamp(58px, 9.4vw, 128px); margin: 20px 0 28px; text-wrap: balance; }
.not-found .btn-row { margin-top: 36px; }

.placeholder-note {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
  border: 1.5px dashed var(--muted-dark);
  padding: 6px 10px;
}
.dark .placeholder-note { color: var(--muted); border-color: var(--muted); }

.source-note { font-size: 13px; line-height: 1.45; color: var(--muted-dark); }
.dark .source-note { color: var(--muted); }

.rise { animation: rise 0.7s ease both; }
.rise.d1 { animation-delay: 0.08s; }
.rise.d2 { animation-delay: 0.16s; }
.rise.d3 { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
