:root {
  --primary: #0b3d5c;
  --accent: #c9a227;
  --ink: #16222e;
  --muted: #5a6570;
  --line: #e3e8ed;
  --bg: #f4f6f8;
  --card: #ffffff;
  --ok: #1a7f4b;
  --bad: #b3261e;
  --radius: 12px;
  --display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --ui: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--ui);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); }

.site-head {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-head .brand {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 21px;
              letter-spacing: .01em; }
.brand-full { font-size: 11.5px; color: #cfe0ec; letter-spacing: .02em;
              text-transform: uppercase; margin-top: 2px; }
.brand-logo { height: 60px; width: auto; display: block; }
.site-head nav a { color: #d8e2ea; text-decoration: none; font-size: 14px; }
.site-head nav a:hover { color: #fff; }

.wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
.wrap.wide { max-width: 1100px; }

.site-foot {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 40px;
  font-size: 13px;
  color: var(--muted);
}

/* ---- presenting sponsor ---- */
.sponsor-bar {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 18px 16px;
  margin-bottom: 22px;
}
.sponsor-bar-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}
.sponsor-kicker {
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.sponsor-link { display: inline-flex; align-items: center; text-decoration: none; }
.sponsor-logo { height: 46px; width: auto; display: block; }
.sponsor-tagline { font-size: 13px; color: var(--muted); }

@media (max-width: 560px) {
  .sponsor-bar-inner { gap: 8px; }
  .sponsor-tagline { flex-basis: 100%; font-size: 12.5px; }
  .brand-logo { height: 46px; }
  .sponsor-logo { height: 38px; }
  /* The landing hero already spells the name out; two lines of it in the
     header only pushes the Book button further down a small screen. */
  .brand-full { display: none; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 18px;
}
.card.tight { padding: 16px 18px; }

h1 { font-family: var(--display); font-size: 30px; font-weight: 700;
     margin: 0 0 6px; line-height: 1.2; letter-spacing: -.01em;
     text-wrap: balance; }
h2 { font-family: var(--display); font-size: 21px; font-weight: 600; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 0 0 10px; text-transform: uppercase;
     letter-spacing: .6px; color: var(--muted); font-weight: 600; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Used on the cards and as the eyebrow above an event page title. */
.city {
  font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}

.pill {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
  background: #eef2f6; color: var(--muted);
}
.pill.open { background: #e6f4ec; color: var(--ok); }
.pill.closed { background: #fbeae9; color: var(--bad); }
.pill.draft { background: #fdf3e0; color: #8a6300; }

/* ---- facts ---- */
.facts { width: 100%; border-collapse: collapse; font-size: 15px; }
.facts td { padding: 7px 0; vertical-align: top; }
.facts td:first-child {
  color: var(--muted); width: 108px; padding-right: 14px; font-size: 13.5px;
}
.facts td:last-child { font-weight: 600; }

/* ---- forms ---- */
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=datetime-local], select, textarea {
  width: 100%; padding: 10px 12px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--primary) 30%, transparent);
  border-color: var(--primary);
}
textarea { min-height: 78px; resize: vertical; }
.field { margin-bottom: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > .field { flex: 1 1 200px; }

.btn {
  display: inline-block; background: var(--primary); color: #fff; border: none;
  padding: 12px 22px; font-size: 15px; font-weight: 600; border-radius: 8px;
  cursor: pointer; text-decoration: none; font-family: inherit;
}
.btn:hover { filter: brightness(1.08); }
.btn.block { display: block; width: 100%; text-align: center; }
.btn.ghost { background: #fff; color: var(--primary); border: 1px solid var(--line); }
.btn.small { padding: 7px 13px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.attendee {
  border: 1px solid var(--line); border-radius: 10px; padding: 15px;
  margin-bottom: 12px; background: #fbfcfd;
}
.attendee .who {
  font-size: 12px; letter-spacing: .8px; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 10px;
}

.notice { border-radius: 9px; padding: 12px 15px; margin-bottom: 16px; font-size: 14px; }
.notice.error { background: #fbeae9; border: 1px solid #f2c9c6; color: #7d1a15; }
.notice.ok { background: #e6f4ec; border: 1px solid #bfe0cd; color: #0f5c35; }
.notice.warn { background: #fdf3e0; border: 1px solid #f0dcb4; color: #7a5600; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }

/* ---- verify page ---- */
.verdict { text-align: center; padding: 30px 20px; border-radius: var(--radius); }
.verdict.valid { background: #e6f4ec; border: 1px solid #bfe0cd; }
.verdict.invalid { background: #fbeae9; border: 1px solid #f2c9c6; }
.verdict.used { background: #fdf3e0; border: 1px solid #f0dcb4; }
.verdict .mark { font-size: 40px; line-height: 1; }
.verdict .head { font-size: 21px; font-weight: 700; margin: 8px 0 4px; }

/* ---- tables ---- */
table.grid { width: 100%; border-collapse: collapse; font-size: 14px; }
table.grid th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px;
  color: var(--muted); border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0;
  font-weight: 600; white-space: nowrap;
}
table.grid td { padding: 9px 10px 9px 0; border-bottom: 1px solid #f0f3f5; vertical-align: top; }
.scroll-x { overflow-x: auto; }

.stats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.stat {
  flex: 1 1 120px; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 15px;
}
.stat .n { font-size: 24px; font-weight: 700; line-height: 1.15; }
.stat .k { font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }

.ticket-list { list-style: none; padding: 0; margin: 0; }
.ticket-list li {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid #f0f3f5;
}
.ticket-list li:last-child { border-bottom: none; }
.ticket-list .serial { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

@media (max-width: 560px) {
  h1 { font-size: 21px; }
  .card { padding: 17px; }
  .facts td:first-child { width: 92px; }
}


/* ---- landing hero ---------------------------------------------------- */
.hero { padding: 30px 0 22px; }
.hero-kicker {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 9px;
}
.hero h1 { font-size: 35px; line-height: 1.12; margin-bottom: 12px; }
.hero-lede {
  font-size: 16.5px; color: var(--muted); max-width: 54ch; margin: 0 0 18px;
}
.trust {
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
  font-size: 12.5px; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 14px;
}
.trust .dot { color: var(--line); }

.section-head {
  font-family: var(--ui); font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin: 4px 0 12px; border: none; padding: 0;
}

/* ---- event cards: two columns, so price and button never sit below the
   fold on a phone the way a stacked card puts them ---- */
.event-card {
  display: grid; grid-template-columns: 1fr 210px; gap: 20px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; margin-bottom: 14px;
  text-decoration: none; color: inherit;
}
.event-card:hover { border-color: var(--primary); transform: none; }
.event-card.muted-card { opacity: .78; }
.event-name {
  font-family: var(--display); font-size: 23px; font-weight: 700;
  margin: 3px 0 12px; line-height: 1.2;
  /* The base h3 is an uppercase muted label; an event title is neither. */
  text-transform: none; letter-spacing: -.005em; color: var(--ink);
}
.event-meta { margin: 0; font-size: 14.5px; }
.event-meta > div { display: flex; gap: 12px; padding: 3px 0; }
.event-meta dt {
  color: var(--muted); font-size: 12px; text-transform: uppercase;
  letter-spacing: .07em; min-width: 52px; padding-top: 2px;
}
.event-meta dd { margin: 0; font-weight: 600; }

.event-card-act {
  display: flex; flex-direction: column; justify-content: center; gap: 9px;
  border-left: 1px solid var(--line); padding-left: 20px;
}
.price { line-height: 1.05; }
.price .amount {
  font-family: var(--display); font-size: 29px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.price .per { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.scarcity { font-size: 12.5px; color: var(--muted); }
.scarcity strong { color: var(--bad); }

/* ---- good to know ---- */
.detail-list { margin: 0; font-size: 14.5px; }
.detail-list > div {
  display: grid; grid-template-columns: 140px 1fr; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid #f0f3f5;
}
.detail-list > div:last-child { border-bottom: none; }
.detail-list dt { color: var(--muted); font-size: 13px; }
.detail-list dd { margin: 0; font-weight: 600; }

@media (max-width: 620px) {
  /* Tightened so the Book button clears the fold on a short phone too --
     most members will meet this page from a WhatsApp forward. */
  .wrap { padding-top: 14px; }
  .hero { padding: 12px 0 14px; }
  .hero h1 { font-size: 26px; margin-bottom: 8px; }
  .hero-lede { font-size: 15px; margin-bottom: 12px; }
  .trust { padding-top: 11px; font-size: 12px; }
  .section-head { margin-top: 2px; }
  .event-card { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .event-card-act {
    border-left: none; border-top: 1px solid var(--line);
    padding-left: 0; padding-top: 15px;
  }
  .detail-list > div { grid-template-columns: 1fr; gap: 1px; }
}
