/* =====================================================================
   Whop × Agree · Super Intelligence for Revenue · 11.11 · NYC
   Poster grammar on Agree's type, gradient, ribbon and buttons.
   ===================================================================== */

:root {
  --bg: #0b0d1a; --bg-2: #10132a; --surface: #15182c;
  --line: rgba(255, 255, 255, .09); --line-strong: rgba(255, 255, 255, .18);
  --text: #fff; --text-2: #d3d5e4; --muted: #9da1c4; --slate: #7a7fa4; --black: #15182c;
  --purple: #4d3cff; --pink: #f433ab; --orange: #fd5b16; --yellow: #f2a900;
  --gradient: linear-gradient(147deg, #4d3cff 0%, #f433ab 75%, #fd5b16 100%);
  --font-sans: Inter, system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius-md: 14px; --radius-lg: 18px; --radius-xl: 24px; --radius-pill: 999px;
  --wrap: clamp(1200px, 82vw, 1640px);
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(44px, 4.6vw, 72px);
  --hdr: 72px;
}
@property --glow-angle { syntax: "<angle>"; inherits: false; initial-value: 90deg; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hdr); -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; font-optical-sizing: auto; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: rgba(244, 51, 171, .45); }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 100; background: #fff; color: var(--black); padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 10px; }
.wrap { max-width: var(--wrap); padding-inline: var(--gutter); margin-inline: auto; position: relative; }
.msr { font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; font-size: var(--icon-size, 20px); line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; font-feature-settings: "liga"; }

/* film grain */
.grain { position: relative; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size: 220px 220px; }

/* ---------- type ---------- */
.serif { font-family: var(--font-serif); letter-spacing: -.01em; font-size: 1.085em; font-style: italic; font-weight: 400; }
.mono { font-family: var(--font-mono); font-feature-settings: "zero"; font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.h2 { letter-spacing: -.055em; font-size: clamp(46px, 6.4vw, 96px); font-weight: 600; line-height: .92; color: #fff; }
.h2--xl { font-size: clamp(52px, 7.6vw, 120px); line-height: .88; }
.stamp { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; color: #fff; white-space: nowrap; }
.stamp--ghost { color: rgba(255, 255, 255, .72); }
.stamp--pink { background: var(--pink); box-shadow: none; color: #fff; }
.stamp--idx { margin-bottom: 26px; }
.stamp .mono { color: var(--pink); font-size: 11.5px; letter-spacing: .04em; }

/* ---------- buttons ---------- */
.btn { border-radius: var(--radius-pill); white-space: nowrap; cursor: pointer; --icon-size: 18px; justify-content: center; align-items: center; gap: 8px; height: 46px; padding: 0 20px; font-size: 15px; font-weight: 550; display: inline-flex; border: 0; background: none; transition: background-color .15s, box-shadow .15s, transform .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .btn-shiny:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--outline { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--outline:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.btn--ghost { background: #fff; color: var(--black); box-shadow: inset 0 0 0 1px #e8e8ee; }
.btn--ghost:hover { background: #f6f6f8; }

.btn-shiny { --glow-angle: 90deg; color: #fff; text-align: center; isolation: isolate; border-radius: var(--radius-pill); justify-content: center; align-items: center; gap: .5rem; height: 52px; padding: 0 32px; font-size: 16px; font-weight: 700; line-height: 1.1; display: inline-flex; position: relative; white-space: nowrap; cursor: pointer; border: 0; background: none; transition: .125s linear; }
.btn-shiny::before { content: ""; z-index: -1; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(rgba(138, 126, 255, .22) 0%, rgba(138, 126, 255, .04) 50%, rgba(138, 126, 255, 0) 50%, rgba(138, 126, 255, 0) 100%), var(--black); box-shadow: 0 -8px 8px 0 #3c42fd33 inset, 0 0 48px color-mix(in srgb, var(--purple) 0%, transparent); transition: .125s linear; }
.btn-shiny::after { content: ""; z-index: -2; pointer-events: none; position: absolute; inset: -2px; border-radius: inherit; background: conic-gradient(from var(--glow-angle) at 50% 50%, #43bb5e 0deg, #eda922 51.9deg, #df4ea4 103.8deg, #4d3cff 169.6deg, #3c9aff 228.5deg, #43bb5e 360deg), var(--purple); box-shadow: inset 0 1px rgba(255, 255, 255, .25); animation: glow-spin 7s linear infinite; }
.btn-shiny:hover::before { box-shadow: 0 -8px 24px 0 #3c42fd80 inset, 0 0 56px color-mix(in srgb, var(--pink) 45%, transparent); }
.btn-shiny:active { transform: translateY(1px); }
.btn-shiny--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-shiny--lg { height: 56px; padding: 0 36px; font-size: 17px; }
@keyframes glow-spin { to { --glow-angle: 450deg; } }

.ic { width: 40px; height: 40px; color: #fff; --icon-size: 20px; border-radius: 12px; flex: 0 0 auto; place-items: center; display: grid; }
.ic--lg { --icon-size: 26px; border-radius: 16px; width: 52px; height: 52px; }
.ic--gradient { background: var(--gradient); box-shadow: 0 10px 22px -10px rgba(244, 51, 171, .6); }
.ribbon { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.ribbon img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--hdr); transition: background-color .25s, box-shadow .25s; }
.hdr.is-scrolled { background: rgba(11, 13, 26, .74); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.hdr__in { display: flex; align-items: center; gap: 20px; height: 100%; }
.lockup { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.lockup__agree { height: 26px; width: auto; }
.lockup__whop { height: 21px; width: auto; }
.lockup__x { font-family: var(--font-serif); font-style: italic; font-size: 24px; color: rgba(255, 255, 255, .5); line-height: 1; transform: translateY(-2px); }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.hdr__meta { font-size: 12px; color: rgba(255, 255, 255, .7); letter-spacing: .02em; }
.hdr__cta-short { display: none; }

/* ---------- poster ---------- */
.poster { position: relative; min-height: min(100svh, 1000px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.poster__photo { position: absolute; inset: 0; z-index: 0; }
.poster__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; transform: scale(1.06); will-change: transform; }
.poster__shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(to top, var(--bg) 0%, rgba(11, 13, 26, .9) 18%, rgba(11, 13, 26, .5) 50%, rgba(11, 13, 26, .3) 100%),
  linear-gradient(100deg, rgba(11, 13, 26, .82) 0%, rgba(11, 13, 26, .3) 48%, rgba(11, 13, 26, 0) 100%); }
/* Ribbons keep the SVG's aspect ratio and run 64px past both edges, so they always span the window, drift included. */
.poster__ribbon { z-index: 2; width: max(calc(100% + 64px), 820px); aspect-ratio: 2160 / 630; bottom: -10%; left: 50%; transform: translateX(-50%); opacity: .6; mix-blend-mode: screen; animation: ribbon-drift 16s ease-in-out infinite alternate; }
@keyframes ribbon-drift { from { transform: translateX(calc(-50% - 16px)); } to { transform: translateX(calc(-50% + 16px)); } }
/* the headline group is centered between the header and the details bar, which stays on the bottom edge */
.poster__in { position: relative; z-index: 3; width: 100%; flex: 1 0 auto; display: flex; flex-direction: column; padding-top: calc(var(--hdr) + 40px); padding-bottom: clamp(36px, 5vw, 64px); }
.poster__top { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; margin-bottom: clamp(28px, 4vw, 56px); }
.poster__date { font-size: clamp(40px, 4.6vw, 68px); font-weight: 600; letter-spacing: -.06em; line-height: .9; color: #fff; margin-left: -.02em; }
.poster__date i { font-style: normal; color: var(--pink); }
.poster__title { margin-top: clamp(10px, 1.4vw, 18px); font-size: clamp(54px, 8.2vw, 122px); letter-spacing: -.055em; font-weight: 600; line-height: .9; color: #fff; max-width: 12ch; }
.poster__sub { margin-top: 26px; margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 540px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, .8); }
.poster__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.details { display: flex; flex-wrap: wrap; gap: 8px 40px; }
.details dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 650; }
.details dd { font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; margin-top: 4px; color: #fff; letter-spacing: -.02em; white-space: nowrap; }
.poster__ctas { display: flex; gap: 12px; flex-wrap: wrap; }


/* ---------- sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: 0 var(--section); }

/* the invitation: a printed card */
.inv { max-width: 940px; margin-inline: auto; padding: clamp(40px, 5.4vw, 76px) clamp(24px, 7vw, 96px); border: 1px solid rgba(255, 255, 255, .14); border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); text-align: center; position: relative; box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 70px 140px -70px rgba(0, 0, 0, .9); }
.inv::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 20px; pointer-events: none; }
.inv__hosts { display: flex; justify-content: center; align-items: center; gap: 16px; }
.inv__hosts img { height: 20px; width: auto; opacity: .95; }
.inv__hosts .inv__agree { height: 24px; }
.inv__hosts .serif { font-size: 24px; color: var(--slate); line-height: 1; }
.inv__line { margin-top: 18px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.inv__name { margin-top: 16px; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 6.2vw, 84px); line-height: .98; letter-spacing: -.012em; color: #fff; }
.inv__name + .inv__line { margin-top: 20px; }
.inv__rule { width: 56px; height: 1px; background: rgba(255, 255, 255, .28); margin: clamp(32px, 4.5vw, 52px) auto; }
.inv__hook { font-size: clamp(26px, 3.1vw, 42px); letter-spacing: -.035em; font-weight: 600; line-height: 1.08; color: #fff; }
.inv__body { margin: 26px auto 0; max-width: 60ch; display: grid; gap: 18px; }
.inv__body p { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.65; color: rgba(255, 255, 255, .76); }
.inv__details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; margin: 0 auto; max-width: 820px; }
.inv__details dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); font-weight: 650; }
.inv__details dd { margin-top: 8px; font-size: 15.5px; font-weight: 600; color: #fff; letter-spacing: -.01em; line-height: 1.3; }
.inv__details small { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.inv__ctas { margin-top: clamp(32px, 4.5vw, 48px); display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* the space: full-bleed photo band */
/* heading sits mid-band; the shade darkens the left for the text and fades the edges into the page */
.band { position: relative; min-height: min(82svh, 860px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.band__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; z-index: 0; }
.band__shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(to top, var(--bg) 0%, rgba(11, 13, 26, 0) 24%),
  linear-gradient(to bottom, rgba(11, 13, 26, .6) 0%, rgba(11, 13, 26, 0) 30%),
  linear-gradient(100deg, rgba(11, 13, 26, .86) 0%, rgba(11, 13, 26, .55) 48%, rgba(11, 13, 26, .2) 100%); }
.band__in { position: relative; z-index: 3; width: 100%; padding-block: clamp(72px, 9vw, 140px); }
.band__sub { margin-top: 26px; max-width: 560px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, .85); }

/* film strip: bleeds to both window edges, first frame lined up with the text column */
.strip { --bleed: calc(max(0px, (100vw - var(--wrap)) / 2) + var(--gutter)); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bleed); padding: 4px var(--bleed) 10px; margin-inline: calc(-1 * var(--bleed)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.strip::-webkit-scrollbar { display: none; }
.strip:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.frame { flex: 0 0 clamp(260px, 30vw, 460px); aspect-ratio: 4 / 3; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); scroll-snap-align: start; box-shadow: inset 0 0 0 1px var(--line); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.frame:hover img { transform: scale(1.05); }
.frame figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: var(--radius-pill); background: rgba(11, 13, 26, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 550; color: #fff; }

/* the setlist */
.setlist { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.setlist__side { position: sticky; top: calc(var(--hdr) + 32px); }
.setlist__sub { margin-top: 22px; max-width: 420px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--muted); }
.vinyl { margin-top: clamp(36px, 4vw, 56px); width: clamp(260px, 30vw, 460px); aspect-ratio: 1; border-radius: 50%; position: relative; display: grid; place-items: center;
  background:
    conic-gradient(from 20deg, rgba(255, 255, 255, .07), transparent 28%, rgba(255, 255, 255, .05) 50%, transparent 72%, rgba(255, 255, 255, .07)),
    repeating-radial-gradient(circle at 50% 50%, #0a0b16 0 1.5px, #1a1d31 1.5px 3.5px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 120px -30px rgba(77, 60, 255, .5);
  animation: spin 14s linear infinite; container-type: inline-size; }
.vinyl__label { width: 36%; aspect-ratio: 1; border-radius: 50%; background: var(--gradient); display: grid; place-content: center; text-align: center; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.vinyl__label .num { font-size: 7.6cqi; font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.vinyl__label small { display: block; margin-top: 4px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; opacity: .9; }
.vinyl__label::after { content: ""; position: absolute; width: 4%; aspect-ratio: 1; border-radius: 50%; background: var(--bg); top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px rgba(0, 0, 0, .35); }
@container (max-width: 180px) { .vinyl__label small { display: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.tracks { display: grid; }
.side { padding: 6px 0 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.side + .track { border-top: 1px solid var(--line-strong); }
.side:not(:first-child) { margin-top: 34px; }
.track { display: grid; grid-template-columns: 56px 96px 1fr; gap: 24px; align-items: start; padding: 24px 0; border-top: 1px solid var(--line); transition: background-color .25s, padding-left .25s; }
.track:last-child { border-bottom: 1px solid var(--line); }
.track__n { font-size: 13px; color: var(--pink); padding-top: 9px; }
.track time { font-size: 13px; color: var(--muted); padding-top: 9px; }
.track h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.04em; font-weight: 600; line-height: 1.02; color: #fff; }
.track p { color: var(--muted); font-size: 15.5px; line-height: 1.5; margin-top: 8px; max-width: 520px; }
.track:hover { background: linear-gradient(90deg, rgba(255, 255, 255, .04), transparent); }

/* on the list */
.list__sub { margin-top: 26px; max-width: 680px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--text-2); }
.roles { margin-top: clamp(36px, 4.4vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.role { padding: clamp(24px, 2.6vw, 34px) clamp(20px, 3vw, 44px) clamp(26px, 2.8vw, 36px) 0; border-bottom: 1px solid var(--line); }
.role:nth-child(even) { padding-left: clamp(20px, 3vw, 44px); padding-right: 0; border-left: 1px solid var(--line); }
.role h3 { font-size: clamp(26px, 2.7vw, 40px); letter-spacing: -.045em; line-height: 1.02; font-weight: 600; color: #fff; }
.role h3 i { font-style: normal; color: var(--pink); }
.role p { margin-top: 12px; max-width: 470px; font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.55; color: var(--muted); }
.menu { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; padding-top: clamp(28px, 3.4vw, 48px); margin-bottom: clamp(24px, 2.8vw, 36px); }
.menu__big { font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -.045em; line-height: 1.04; font-weight: 600; color: #fff; }
.menu__note { font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.55; color: var(--muted); max-width: 420px; }

/* rsvp */
.rsvp { overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.rsvp__ribbon { width: max(calc(100% + 64px), 900px); aspect-ratio: 2160 / 630; top: 4%; left: 50%; transform: translateX(-50%); opacity: .55; mix-blend-mode: screen; }
.rsvp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; z-index: 1; }
.rsvp__sub { margin-top: 24px; max-width: 460px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--text-2); }
.rsvp__facts { margin-top: 32px; display: grid; gap: 10px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.rsvp__facts li::before { content: "◆"; font-size: 8px; margin-right: 12px; color: var(--pink); vertical-align: middle; }

.form-card { position: relative; color: #fff; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: clamp(30px, 3.6vw, 52px); box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 70px 140px -70px rgba(0, 0, 0, .9); }
.form-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 20px; pointer-events: none; }
.form { display: grid; gap: 26px; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: grid; gap: 4px; }
.field label, .pills legend { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 650; color: var(--slate); }
.field input, .field select { height: 46px; width: 100%; padding: 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); border-radius: 0; color: #fff; font-size: 17px; letter-spacing: -.01em; outline: none; appearance: none; -webkit-appearance: none; background: linear-gradient(90deg, #4d3cff, #f433ab 60%, #fd5b16) left bottom / 0% 1px no-repeat border-box; transition: background-size .4s cubic-bezier(.2, .7, .2, 1), border-color .2s; }
.field input::placeholder { color: rgba(255, 255, 255, .26); }
.field input:hover, .field select:hover { border-bottom-color: rgba(255, 255, 255, .34); }
.field input:focus { background-size: 100% 1px; border-bottom-color: transparent; }
.field input:user-invalid, .field select:user-invalid { border-bottom-color: #ff6b74; }
.field select { padding-right: 28px; cursor: pointer; color-scheme: dark; text-overflow: ellipsis;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%239da1c4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") right 4px center / 12px 8px no-repeat,
    linear-gradient(90deg, #4d3cff, #f433ab 60%, #fd5b16) left bottom / 0% 1px no-repeat border-box; }
.field select:focus { background-size: 12px 8px, 100% 1px; border-bottom-color: transparent; }
.field select:invalid { color: rgba(255, 255, 255, .26); }
.field select option { color: #fff; background: #14172b; }
.field input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #14172b inset; caret-color: #fff; transition: background-color 9999s; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills legend { width: 100%; margin-bottom: 12px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); font-size: 13.5px; font-weight: 550; color: var(--text-2); cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.pills span:hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
.pills input:checked + span { background: #fff; color: var(--black); box-shadow: inset 0 0 0 1px #fff; }
.pills input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.form__submit { width: 100%; margin-top: 6px; }
.form__fine { font-size: 12.5px; color: var(--slate); text-align: center; }
.form__error { font-size: 13.5px; color: #ff9aa0; background: rgba(255, 60, 63, .12); border-radius: 10px; padding: 10px 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success { position: relative; text-align: center; padding: 12px 8px 4px; display: grid; justify-items: center; gap: 14px; }
.success h3 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -.01em; line-height: 1; color: #fff; }
.success p { color: var(--muted); max-width: 380px; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); background: var(--bg-2); }
.ftr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 40px; }
.ftr__line { color: var(--muted); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.ftr__links { display: flex; gap: 22px; flex-wrap: wrap; }
.ftr__links a { color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; --icon-size: 14px; }
.ftr__links a:hover { color: #fff; }
.ftr__links .msr { color: var(--slate); }
.ftr__bar { color: var(--slate); border-top: 1px solid var(--line); font-size: 13px; }
.ftr__bar > .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 22px; }
.ftr__tag { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 11.5px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity .8s cubic-bezier(.2, .7, .2, 1), translate .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: 0 0; transition: none; }
  .btn-shiny::after, .poster__ribbon, .vinyl { animation: none; }
  .poster__photo img { transform: none; }
  .frame img { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .setlist { grid-template-columns: 1fr; }
  /* the record sits beside the heading instead of in a row of its own */
  .setlist__side { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(20px, 5vw, 64px); align-items: center; }
  .setlist__side > * { grid-column: 1; }
  .setlist__side .stamp { justify-self: start; }
  .setlist__side .vinyl { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; width: clamp(150px, 24vw, 260px); }
  .menu { grid-template-columns: 1fr; }
  .hdr__meta { display: none; }
}
@media (max-width: 980px) {
  .rsvp__grid { grid-template-columns: 1fr; }
  .rsvp__ribbon { top: auto; bottom: -8%; opacity: .35; }
  .band { min-height: min(70svh, 760px); }
  .track { grid-template-columns: 44px 84px 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  :root { --section: 44px; --hdr: 64px; }
  .inv { border-radius: 22px; }
  .inv::before { inset: 8px; border-radius: 15px; }
  .inv__name { font-size: min(44px, 11.4vw); }
  .inv__details { grid-template-columns: 1fr; gap: 20px; }
  .inv__ctas .btn-shiny { width: 100%; }
  .hdr__cta-long { display: none; }
  .hdr__cta-short { display: inline; }
  .lockup { gap: 9px; }
  .lockup__agree { height: 22px; }
  .lockup__whop { height: 18px; }
  .lockup__x { font-size: 20px; }
  .poster__in { padding-top: calc(var(--hdr) + 40px); }
  .poster__photo img { object-position: 60% 50%; }
  .poster__date { font-size: 40px; }
  .poster__title { font-size: clamp(44px, 12.5vw, 60px); }
  .poster__row { flex-direction: column; align-items: stretch; gap: 22px; }
  .details { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .details dd { white-space: normal; }
  .poster__ctas .btn, .poster__ctas .btn-shiny { width: 100%; }
  .band { min-height: 72svh; }
  .frame { flex-basis: 78vw; }
  .setlist__side .vinyl { grid-row: 1 / span 2; align-self: end; width: 96px; }
  .setlist__sub { grid-column: 1 / -1; }
  .track { grid-template-columns: 40px 1fr; grid-template-areas: "n time" "n body"; gap: 4px 14px; padding: 20px 0; }
  .track__n { grid-area: n; }
  .track time { grid-area: time; padding-top: 0; }
  .track > div { grid-area: body; }
  .roles { grid-template-columns: 1fr; }
  .role, .role:nth-child(even) { padding: 22px 0 24px; border-left: 0; }
  .form__row { grid-template-columns: 1fr; }
  .ftr__in { flex-direction: column; align-items: flex-start; gap: 18px; }
}
