/* Event Core website. System fonts only and no third-party requests, so the
   site sets no cookies and shares nothing with anyone. */

:root {
  --gold: #ffd700;
  --gold-deep: #8a6500;
  --bg: #f6f6f6;
  --surface: #ffffff;
  --border: #e0e0e0;
  --text: #111111;
  --text-2: #555555;
  --muted: #6e6e6e;
  --accent: var(--gold-deep);
  --todo-bg: #fff3b0;
  --todo-text: #5c4600;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0e;
    --surface: #1a1a1a;
    --border: #2a2a2a;
    --text: #ffffff;
    --text-2: #b0b0b0;
    --muted: #8c8c8c;
    --accent: var(--gold);
    --todo-bg: #4a3b00;
    --todo-text: #ffe680;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ── header / footer ───────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.site-nav { display: flex; gap: 20px; font-size: 15px; }
.site-nav a { color: var(--text-2); text-decoration: none; }
.site-nav a:hover { color: var(--text); }

.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

/* ── landing ───────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 760px);
  padding: 96px 0 48px;
  overflow: hidden;
  background: #0e0e0e;
  color: #fff;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  animation: drift 24s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.18) 100%);
}
@keyframes drift { to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .hero-photo { animation: none; } }
.hero-copy { width: 100%; }
.hero .eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(40px, 8vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 18px 0 16px;
  max-width: 13ch;
}
.hero p.lead { font-size: 19px; color: #e8e8e8; max-width: 46ch; margin: 0 0 28px; }

.weave { height: 24px; background: url("/assets/weave.svg") repeat-x; }

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 170px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #fff;
  color: #000;
  text-decoration: none;
  line-height: 1.2;
}
.store-badge small { font-size: 11px; opacity: 0.75; }
.store-badge strong { font-size: 17px; }
.store-badge[aria-disabled="true"] { opacity: 0.8; cursor: default; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 24px 0;
}
/* four cards: all in a row, or two and two, never one left on its own */
.features:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) {
  .features:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .features:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--gold) 20%, transparent);
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }

.section-title { font-size: clamp(28px, 5vw, 40px); font-weight: 900; letter-spacing: -0.025em; line-height: 1.1; margin: 56px 0 8px; }
.section-lead { color: var(--text-2); margin: 0 0 8px; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
}
.steps li::before {
  content: counter(step);
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  font-size: 14px;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
  margin: 24px 0 0;
}
.tile { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: #1a1a1a; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
}
.tile figcaption {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.tile-wide { grid-column: span 2; }
.tile-tall { grid-row: span 2; }

.band {
  margin-top: 64px;
  padding: 8px 0 56px;
  background: #0e0e0e;
  color: #fff;
  clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%);
  --surface: #1a1a1a;
  --border: #2a2a2a;
  --text-2: #b0b0b0;
}
.band .section-title { margin-top: 64px; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: end; }
.band-photo { display: none; width: 100%; height: 100%; max-height: 620px; object-fit: cover; border-radius: 24px; }
@media (min-width: 900px) {
  .band-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .band-photo { display: block; }
}
.fee-note {
  display: inline-block;
  margin: 12px 0 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--gold);
  color: #000;
}

/* ── legal pages ───────────────────────────────── */

.doc { padding-top: 48px; padding-bottom: 72px; } /* keeps .wrap's side gutters */
.doc h1 { font-size: clamp(30px, 6vw, 42px); letter-spacing: -0.02em; margin: 0 0 6px; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
  padding-top: 8px;
  scroll-margin-top: 80px;
}
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }

.summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 0 0 24px;
}
.summary p { margin: 0 0 6px; color: var(--text); font-weight: 700; }
.summary ul { margin: 0; }

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 20px;
  margin: 0 0 8px;
  font-size: 15px;
}
.toc ol { margin: 6px 0 0; padding-left: 20px; }

.table-wrap { overflow-x: auto; margin: 12px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--text); font-weight: 700; background: var(--surface); }
td { color: var(--text-2); }

/* Details still to fill in before launch. Search the site for class="todo". */
.todo {
  background: var(--todo-bg);
  color: var(--todo-text);
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 600;
}

.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 720px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 560px) {
  .site-nav { display: none; }
  .hero { min-height: 82vh; padding-top: 48px; }
}
