/* Codex Workshop Chiang Mai — the few pieces /event/event.css does not carry.
 *
 * Everything else on this page (wizard, tiles, dropzone, totals box, hero,
 * masthead) is the event stylesheet, loaded first. Only tokens defined there
 * are used here, so both themes follow automatically — a hard-coded surface
 * colour would go invisible on light (tasks/lessons.md, 2026-08-19).
 */

/* "1 PROJECT" is two characters longer than the free event's "YouTube", which
   is the word event.css tuned 20cqw against — unchanged, the second line runs
   past the copy column and under the card beside it. */
.hero__title { font-size: clamp(46px, 12vw, 104px); }
@media (min-width: 900px) {
  .hero__title { font-size: min(14.5cqw, 96px); }
}

/* ── Seat card ────────────────────────────────────────────── */
/* The free event fills this column with a poster. This page has a price and a
   seat count instead, and they are what a buyer scrolls back up to check. */
.seat-card {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-top: 2px solid var(--coral);
}

.seat-card__eyebrow {
  margin: 0;
  font: 500 11px/1.5 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.seat-card__price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.seat-card__price b {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 68px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--text);
}

.seat-card__price span {
  font: 500 13px/1 var(--mono);
  letter-spacing: .12em;
  color: var(--text-3);
}

.seat-card__off {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--coral-text);
}

.seat-card .pass-facts { margin-top: 6px; }

/* --mute is tuned for these labels on the page background; on the card's
   raised surface it lands at 2.8:1, so they step up one token. */
.seat-card .pass-facts dt { color: var(--text-2); }

.seat-card__fine {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-3);
}

/* ── FAQ ──────────────────────────────────────────────────── */
/* Not .topics: that list is a 34px + 1fr grid built for one-line topics, and a
   question in a <b> lands in the 34px column one letter per line. */
.faq {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.faq li {
  background: var(--bg);
  padding: 18px 0;
  display: grid;
  gap: 6px;
}

.faq b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.45;
  color: var(--text);
}

.faq span {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
}

/* ── Price card ───────────────────────────────────────────── */
.price-card {
  margin-top: 1.4rem;
  border: 1px solid var(--line-2, rgba(236, 231, 214, .16));
  border-radius: 18px;
  overflow: hidden;
}

.price-card__row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  padding: 1rem 1.15rem;
}

.price-card__row + .price-card__row {
  border-top: 1px solid var(--line, rgba(236, 231, 214, .08));
}

/* The group rate is the offer worth reading twice, so it carries the accent
   wash while the single-seat row stays plain. */
.price-card__row--hi {
  background: color-mix(in srgb, var(--coral, #ff5a45) 8%, transparent);
}

.price-card__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  font-size: .98rem;
}

.price-card__tag {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .25rem .5rem;
  border-radius: 6px;
  /* --btn-ink-fg is the ink event.css puts on a coral fill and is the only
     one that clears 4.5:1 in both themes; --bg is cream on light and drops
     this tag to 2.7:1 (axe, 2026-09-13). */
  color: var(--btn-ink-fg);
  background: var(--coral, #ff5a45);
  white-space: nowrap;
}

.price-card__num {
  font-size: 1rem;
  color: var(--text-2, #b9b4a4);
  white-space: nowrap;
}

.price-card__num b {
  font-family: var(--display, inherit);
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text, #ece7d6);
}

/* ── Perks ────────────────────────────────────────────────── */
.perks {
  list-style: none;
  display: grid;
  gap: .8rem;
  margin: 1.4rem 0 0;
  padding: 0;
}
@media (min-width: 760px) {
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.perks li {
  display: grid;
  gap: .35rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line, rgba(236, 231, 214, .1));
  border-radius: 16px;
}

.perks b {
  font-family: var(--display, inherit);
  font-size: 1.05rem;
  font-weight: 700;
}

.perks span {
  color: var(--text-2, #b9b4a4);
  font-size: .93rem;
  line-height: 1.65;
}

/* ── Party size ───────────────────────────────────────────── */
/* A number input on a phone is a keypad, which beats ten radio tiles for a
   field most people answer with "1". event.css styles text/email/tel inputs
   only, so the same box is repeated here rather than widening that selector
   and restyling the live /event/ form as a side effect. */
#party_size {
  width: 100%;
  max-width: 9rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  color: var(--text);
  background: var(--field-bg);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 12px 14px;
  min-height: 54px;
  transition: border-color .16s, background .16s;
}

#party_size:hover { border-color: var(--line-3); }
#party_size:focus { border-color: var(--coral); background: var(--bg-2); }
#party_size[aria-invalid="true"] { border-color: var(--coral); }

/* The discount nudge under the seat count: present but never shouting over
   the field label itself. */
#party-note {
  margin-top: .6rem;
}

#party-note:not([hidden]) {
  color: color-mix(in srgb, var(--lime, #c6ff5a) 78%, var(--text, #ece7d6));
}

/* ── Payment summary ──────────────────────────────────────── */
/* The breakdown carries the arithmetic (seats × rate, discount applied), so
   nobody has to trust the total blindly before transferring money. */
#total-breakdown {
  font-variant-numeric: tabular-nums;
}

/* The second lede, sitting between the numbered steps and the build cards —
   .section__body is tuned to follow a heading, so it needs the air back here. */
.topics + .section__body { margin-top: 1.8rem; }

/* ── LINE ask ─────────────────────────────────────────────── */
/* The "send me your page" block: a note and the button that acts on it,
   left-aligned with the section rather than centred like the hero CTA. */
.line-ask {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 1.5rem;
}

.line-ask .note { margin: 0; }

/* The handle is the part people copy, so it keeps the button's weight
   instead of sitting inside it as an afterthought. */
.line-ask .cta b { font-weight: 700; letter-spacing: .01em; }

/* Handles printed in the small print under a CTA — the hero and the submit
   note. event.css styles links inside .cta__note like body links, which on
   this page reads as a stray word rather than a tappable handle. */
.cta__note a {
  color: var(--coral-text);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--coral) 45%, transparent);
}

.cta__note a:hover { border-bottom-color: var(--coral); }
