/* The public site: partycue.app, /contact, /about, /privacy.
 * The app's Night palette and type (themes.css): a dark room, a gold light.
 * Phone first; one column until there's room for two. */

:root {
  --bg: #08090C;
  --bg-2: #0D0F13;
  --surface: #12151B;
  --surface-2: #181C23;
  --line: #222832;
  --text: #F4F2ED;
  --muted: #9AA2AE;
  --accent: #E9B455;
  --accent-ink: #08090C;
  --accent-soft: rgba(233, 180, 85, .14);
  --good: #4FC2A6;
  --bad: #E07A73;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Outfit", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --r: 18px;
  --r-sm: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── At a party? (guests who typed the address from the booth screen) ── */
.join {
  background: var(--accent); color: var(--accent-ink);
  font-size: 15px;
}
.join .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; padding-top: 8px; padding-bottom: 8px; }
.join label { font-weight: 600; }
.join form { display: flex; gap: 6px; }
.join input {
  width: 9.5ch; font: 700 17px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; text-align: center;
  padding: 8px 10px; border-radius: 10px; border: 0; background: rgba(8, 9, 12, .12); color: var(--accent-ink);
}
.join input::placeholder { color: rgba(8, 9, 12, .45); }
.join button { font: 700 15px/1 var(--body); padding: 8px 14px; border-radius: 10px; border: 0; background: var(--accent-ink); color: var(--accent); cursor: pointer; }
.join .msg { width: 100%; text-align: center; font-size: 14px; margin: 0; }
.join .msg:empty { display: none; }

/* ── Header ── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(8, 9, 12, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 400 28px/1 var(--display); letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; flex: 0 0 auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 10px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a { white-space: nowrap; }
.nav .hide-sm, .nav .hide-xs { display: none; }
@media (min-width: 480px) { .nav .hide-xs { display: inline-block; } }
@media (min-width: 720px) { .nav .hide-sm { display: inline-block; } }
/* Language switch: two letters each, the current one lit. */
.nav .lang { display: inline-flex; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 2px; margin: 0 4px; }
.nav .lang a { padding: 5px 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; border-radius: 999px; line-height: 1; }
.nav .lang a[aria-current="true"] { background: var(--surface-2); color: var(--text); }
/* Phones: the header button says less, and on the narrowest the logo drops its word. */
.nav .btn .short { display: none; }
@media (max-width: 479px) {
  .nav .btn .long { display: none; }
  .nav .btn .short { display: inline; }
  .nav .btn.small { padding: 0 12px; }
}
@media (max-width: 399px) {
  .brand { font-size: 24px; gap: 8px; }
  .nav .lang { margin: 0 2px; }
}
@media (max-width: 349px) { .brand .brand-name { display: none; } }
/* Spanish labels run about a third longer: keep the short button and drop the
   extra links until there's room for them. */
@media (min-width: 480px) and (max-width: 599px) {
  :lang(es) .nav .hide-xs { display: none; }
  :lang(es) .nav .btn .long { display: none; }
  :lang(es) .nav .btn .short { display: inline; }
}
@media (min-width: 720px) and (max-width: 879px) { :lang(es) .nav .hide-sm { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .2s ease;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #F0C46E; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 620px; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 30%, rgba(233, 180, 85, .20), transparent 70%);
}
.hero .wrap { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; } .hero { padding: 88px 0 72px; } }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; margin: 0; }
.hero h1 { font-size: clamp(46px, 10vw, 84px); line-height: .98; text-wrap: balance; }
.hero h1 em { color: var(--accent); }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 34em; margin: 20px 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* Phones and a screen, side by side */
.shots { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 16px; }
.phone {
  width: min(46%, 250px); aspect-ratio: 390 / 844; border-radius: 34px; padding: 8px;
  background: #1A1D24; border: 1px solid #2B313B; box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; }
.phone.lift { transform: translateY(-28px); }

/* ── Sections ── */
section { padding: 64px 0; }
@media (min-width: 960px) { section { padding: 96px 0; } }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 680px; margin: 0 0 40px; }
.head h2 { font-size: clamp(36px, 6vw, 56px); line-height: 1.02; text-wrap: balance; }
.head p { color: var(--muted); margin: 14px 0 0; font-size: 18px; }

.problem { display: grid; gap: 14px; }
@media (min-width: 720px) { .problem { grid-template-columns: repeat(3, 1fr); } }
.problem div { padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.problem b { display: block; font: 400 26px/1.1 var(--display); margin-bottom: 6px; }
.problem p { margin: 0; color: var(--muted); font-size: 16px; }

.features { display: grid; gap: 14px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.feature .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 26px; line-height: 1.1; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* A screenshot with words beside it */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.flip > :first-child { order: 2; } }
.split h2 { font-size: clamp(34px, 5.5vw, 52px); line-height: 1.03; text-wrap: balance; }
.split p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.screen { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: var(--surface); }
.screen img { width: 100%; height: auto; }
.pair { display: flex; justify-content: center; gap: 16px; }
figure.screen.wide { margin: 40px 0 0; }
figure.screen figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 840px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 14px; }
.steps b { display: block; font: 400 26px/1.1 var(--display); margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* Works with */
.works { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.works span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Closing call */
.closing { text-align: center; }
.closing h2 { font-size: clamp(38px, 7vw, 64px); line-height: 1; text-wrap: balance; }
.closing p { color: var(--muted); max-width: 34em; margin: 16px auto 28px; font-size: 18px; }
.closing .cta { justify-content: center; }

/* ── Plain pages (contact, about, privacy) ── */
.page { padding: 48px 0 72px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(44px, 9vw, 68px); line-height: 1; margin-bottom: 14px; }
.page h2 { font-size: 30px; margin: 40px 0 10px; }
.page p, .page li { color: #D9D6CF; }
.page .lede { margin-top: 0; }

/* Contact form */
.form { display: grid; gap: 16px; margin-top: 28px; }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 15px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 17px/1.4 var(--body); color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.trap { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; font-weight: 600; }
.status.err { color: var(--bad); }
.done { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); margin-top: 28px; }
.done h2 { margin-top: 0; }

/* ── Footer ── */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
.foot .wrap { display: grid; gap: 18px; }
@media (min-width: 720px) { .foot .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ── Event pages ── */
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.event-hero h1 { font-size: clamp(40px, 7.5vw, 66px); line-height: 1.02; text-wrap: balance; }
.event-hero figure { margin: 0; }
.vip-box { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.vip-lede { font: 400 clamp(24px, 3.2vw, 30px)/1.2 var(--display); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.event-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.event-card { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; transition: transform .15s ease, border-color .2s ease; }
.event-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.event-card img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; }
.event-name { display: block; padding: 14px 16px; font: 400 24px/1.1 var(--display); }

/* ── Booth looks: one screen, a tab per look ── */
.looks-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.looks-tabs button { font: 600 15px/1 var(--body); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.looks-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.looks-frame img { width: 100%; height: auto; }
