/* event.css — Jungle Rhythms booth landing.
   Extends site.css tokens. Mobile-first: every scan is a phone held one-handed
   in bright Arizona sun, so type is larger and contrast higher than the desktop site. */

.wrap-narrow { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
/* Forms stay narrow — a full-width input row is harder to fill in, not easier. */
.wrap-form { max-width: 640px; margin: 0 auto; padding: 0 22px; }

/* Desktop uses the width: prose on the left, the thing being described on the right.
   Below 880px it stacks, which is the phone case every QR scan actually hits. */
.cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: start; }
@media (max-width: 880px) { .cols { grid-template-columns: 1fr; gap: 26px; } }
.cols .lead { max-width: 520px; }

/* event ribbon */
.ribbon {
  background: var(--panel-2); border-bottom: 1px solid var(--line);
  padding: 10px 0; text-align: center;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dim); font-weight: 600;
}
.ribbon strong { color: var(--ink); font-weight: 600; }

/* hero tuned for phone */
.hero-copy h1 { font-size: 40px; }

/* On a phone the hero copy is taller than the hero image, so overlaying it spills
   the headline up over the ribbon and off the top of the page (measured: -58px).
   Below 760px we stop overlaying and stack instead — image, then copy on solid
   ground. Also the more legible arrangement outdoors in direct Arizona sun. */
@media (max-width: 760px) {
  .hero-overlay { position: static; background: none; display: block; }
  .hero-copy { padding: 24px 22px 30px; max-width: 620px; }
  .hero-media { border-bottom: none; }
  .hero { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .hero-copy h1 { font-size: 31px; } .hero-copy p { font-size: 17px; } }

/* the contrast block — competitor vs zencora */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
@media (max-width: 620px) { .versus { grid-template-columns: 1fr; } }
.versus > div {
  border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  background: var(--panel);
}
.versus .them { opacity: 0.72; }
.versus .us { border-color: var(--accent); }
.versus h3 { font-size: 17px; margin-bottom: 10px; }
.versus .them h3 { color: var(--dim); }
.versus p { font-size: 15px; color: var(--dim); }

/* diagram: the sandwich */
.sandwich { margin: 26px 0 6px; }
.layerbar {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 16px; margin-bottom: 9px; background: var(--panel);
  font-size: 15px;
}
.layerbar.active { border-color: var(--accent); background: rgba(79,163,199,0.07); }
.layerbar .tag {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dim); min-width: 74px; font-weight: 700;
}
.layerbar.active .tag { color: var(--accent); }
.layerbar .body { color: var(--ink); }
.layerbar.body-row { background: var(--panel-2); border-style: dashed; }

/* measurement chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chips.stack { flex-direction: column; align-items: flex-start; }
.chip {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 15px; font-size: 14px; color: var(--ink); background: var(--panel);
}
.chip span { color: var(--dim); }

/* price ladder */
.ladder { margin-top: 26px; }
.rung {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--line); padding: 16px 0;
}
.rung:first-child { border-top: none; }
.rung .name { font-weight: 600; font-size: 17px; }
.rung .desc { color: var(--dim); font-size: 14px; margin-top: 3px; }
.rung .amt { font-size: 20px; font-weight: 600; white-space: nowrap; }
.rung.feature .name { color: var(--accent); }

/* form */
.form-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 26px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 14px; font-weight: 600;
  margin-bottom: 7px; color: var(--ink);
}
.field .hint { font-weight: 400; color: var(--dim); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 14px; font-size: 16px; /* 16px stops iOS zoom-on-focus */
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.checkrow { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.checkrow input[type=checkbox] {
  width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto;
  accent-color: var(--accent);
}
.checkrow label { font-size: 14px; color: var(--dim); line-height: 1.5; }
.checkrow label strong { color: var(--ink); font-weight: 600; }

.interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .interest-grid { grid-template-columns: 1fr; } }
.interest-grid .opt {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 14px; cursor: pointer;
  display: flex; gap: 10px; align-items: center; background: var(--bg);
}
.interest-grid .opt input { width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.interest-grid .opt.sel { border-color: var(--accent); background: rgba(79,163,199,0.07); }

.btn-lg { display: block; width: 100%; text-align: center; font-size: 17px; padding: 17px; border: none; cursor: pointer; }
.form-status { margin-top: 14px; font-size: 14px; color: var(--dim); min-height: 20px; }
.form-status.err { color: #d99a9a; }

/* success panel */
.done { display: none; text-align: center; padding: 30px 6px; }
.done.show { display: block; }
.done h2 { margin-bottom: 12px; }
.done p { color: var(--dim); font-size: 16px; }
.done .tick {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 18px;
  border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 26px; line-height: 1;
}

/* ---- before/after self-report scale ---- */
.scale { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin-top: 8px; }
.scale label {
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  padding: 13px 4px 10px; text-align: center; cursor: pointer; user-select: none;
}
.scale label input { position: absolute; opacity: 0; pointer-events: none; }
.scale .n { display: block; font-size: 21px; font-weight: 600; line-height: 1; }
.scale .t { display: block; font-size: 10.5px; color: var(--dim); margin-top: 6px; letter-spacing: .02em; }
.scale label.sel { border-color: var(--accent); background: rgba(79,163,199,.12); }
.scale label.sel .t { color: var(--ink); }

.checkin { text-align: center; padding: 26px 6px; }
.checkin .big { font-size: 40px; font-weight: 600; letter-spacing: .04em; margin: 10px 0 6px; }
.checkin .code {
  font: 600 30px/1 ui-monospace, Menlo, monospace; letter-spacing: .18em;
  border: 2px solid var(--accent); border-radius: 14px; padding: 16px 20px;
  display: inline-block; color: var(--accent); margin: 12px 0;
}
