/* ═══════════════════════════════════════════════════════════════════════
   /advertise/ — how advertising on Mega Tickets USA works (the explainer
   in front of the reservation page /mega-sponsors/advertise/).

   Kit first: /marquee/site.css (tokens, type, buttons, cards, stats, feats,
   stubs, checks, callouts, FAQ, closing band) and the sponsor kit
   /mega-sponsors/advertise/advertise.css (billboard mocks .adv-mock/.adv-bb,
   radio cards .adv-opt/.adv-slot, .adv-price/.adv-sum/.adv-lock, notes,
   .adv-file, .adv-foot). Only what this page needs and neither has lives
   here. Behaviour: ./explainer.js. Light only (the site has no dark mode);
   literal px on the project's 2px grid, as the kit writes them.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Hero: copy on the left, the "Your brand here." plate on the right ── */

.exp-hero-split { align-items: center; }
.exp-hero-copy { display: grid; gap: 20px; min-width: 0; }
.exp-hero-copy .t-display { max-width: 15ch; }
.exp-hero-mock { margin: 0; min-width: 0; }
.exp-hero-mock .adv-mock-desk { box-shadow: 0 0 0 1px var(--ink-line-2), var(--sh-3); }
.exp-hero-page { gap: 8px; padding: 14px; }
@media (max-width: 960px) { .exp-hero-mock { max-width: 560px; } }
.exp-facts { margin-top: 8px; }
.exp-facts .stat-v { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* The empty space as v4 draws it (ads.css .adbb-plate): striped ticket
   stock, a dashed edge, the headline and the facts line, an ink button. */
.exp-plate { display: grid; gap: 6px; justify-items: start; padding: clamp(14px, 2vw, 22px) clamp(14px, 2.4vw, 26px); border: 2px dashed var(--line-3); border-radius: var(--r-sm); background: repeating-linear-gradient(135deg, var(--paper-2) 0 10px, var(--paper-3) 10px 20px); color: var(--text); }
.exp-plate-h { font-family: var(--font-display); font-stretch: var(--stretch-tight); font-weight: 860; font-size: clamp(1.25rem, 2.4vw, 1.9rem); line-height: 0.95; }
/* --red-2: the headline is under 24px below ~1000px wide (kit rule for red
   text on paper). */
.exp-plate-h em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--red-2); }
.exp-plate-f { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--text-2); }
.exp-plate-b { margin-top: 4px; padding: 6px 12px; border-radius: 6px; background: var(--ink); color: var(--on-ink); font-size: var(--fs-micro); font-weight: 650; }

/* ── Shared bits of the sections ─────────────────────────────────────── */

.exp-after { margin-top: clamp(18px, 2.4vw, 28px); font-size: var(--fs-sm); color: var(--muted); }
/* A link inside a sentence: the kit's prose link (red-2, underlined). */
.exp-inline { color: var(--red-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.exp-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
/* A 44px tap target on phones without moving the underline off the words.
   Stacked .exp-links keep 24px between rows, so two targets never overlap. */
@media (max-width: 767px) {
  .exp-links .link, .exp-who .link, .exp-after .link, #promises .card > .link, .exp-sheet-fail .link { position: relative; }
  .exp-links .link::after, .exp-who .link::after, .exp-after .link::after, #promises .card > .link::after, .exp-sheet-fail .link::after { content: ''; position: absolute; inset: -12px -4px; }
  .exp-links { row-gap: 24px; }
  .exp-inline { padding-block: 12px; }
}
.exp-fine { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }

/* (02) Who it's for: the ideas list under each pitch. */
.exp-who .card { align-content: start; }
.exp-ideas-k { margin-top: 4px; }
.exp-ideas { gap: 8px; font-size: var(--fs-sm); }
.exp-who-note { font-size: var(--fs-xs); }

/* ── (03) Where it shows: tabs × computer/phone over a wireframe ─────── */

.exp-where-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-bottom: 22px; }
.exp-tabs .count { font-weight: 600; }
.exp-device { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.exp-device > legend { float: left; padding: 0; margin-right: 6px; }
.exp-device .chip svg { width: 16px; height: 16px; }

/* Without JS the panels read one after another. With it (.is-tabbed) they
   share one grid cell, so the section keeps the height of the tallest and
   the page never jumps when the tab changes; explainer.js swaps .is-off. */
.exp-where { display: grid; gap: 48px; }
.exp-where.is-tabbed > .exp-panel { grid-area: 1 / 1; }
.exp-panel.is-off { visibility: hidden; }
.exp-panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(24px, 3.4vw, 56px); align-items: stretch; min-width: 0; }
/* The stage fills the shared cell, so it is one height on every tab. */
.exp-panel > .exp-copy { align-self: center; }
/* One column: the stage row takes any spare height of the shared cell, so
   the text sits right under the picture on every tab. */
@media (max-width: 960px) { .exp-panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; } .exp-panel > .exp-copy { align-self: start; } }

.exp-stage { display: grid; place-items: center; min-height: clamp(300px, 34vw, 470px); padding: clamp(14px, 2vw, 26px); border-radius: var(--r-lg); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.exp-desk { width: 100%; max-width: 760px; }
.exp-phone { width: min(230px, 72%); }
.exp-where[data-device='desk'] .exp-phone, .exp-where[data-device='phone'] .exp-desk { display: none; }

/* The wireframe: grey bars for the page, the sections named in mono, the
   billboard where it really sits — outlined, with its "Sponsored" tag. */
.exp-page { display: grid; gap: 6px; padding: 12px; }
.exp-nav { display: flex; align-items: center; gap: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.exp-nav b { width: 30px; height: 8px; border-radius: var(--r-xs); background: var(--red); }
.exp-nav i { width: 22px; height: 6px; border-radius: var(--r-xs); background: var(--paper-3); }
.exp-nav b + i { margin-left: auto; }
.exp-herobox { display: grid; gap: 6px; align-content: center; height: 46px; padding: 0 10px; border-radius: var(--r-xs); background: var(--ink-2); }
.exp-herobox .adv-ln { background: var(--ink-4); }
.exp-lbl { margin-top: 4px; font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1; color: var(--muted); }
.exp-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.exp-pills { display: flex; gap: 5px; }
.exp-pills i { width: 34px; height: 12px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--line-3); }
.exp-evhero, .exp-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px; align-items: center; }
.exp-img { display: block; aspect-ratio: 16 / 9; border-radius: var(--r-xs); background: var(--paper-3); }
.exp-desk .exp-img { aspect-ratio: 5 / 2; }
.exp-phone .exp-img { aspect-ratio: 2 / 1; }
.exp-evinfo { display: grid; gap: 6px; }
.exp-buy { justify-self: start; padding: 4px 8px; border-radius: var(--r-pill); background: var(--red); color: #fff; font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 600; line-height: 1.2; }
.exp-plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.exp-plan.is-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.exp-plan i { display: block; padding: 6px 4px; border-radius: var(--r-xs); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--font-mono); font-size: var(--fs-micro); font-style: normal; text-align: center; color: var(--text-2); line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exp-mast { font-family: var(--font-display); font-stretch: var(--stretch-poster); font-weight: 900; font-size: 1.25rem; line-height: 1; text-transform: uppercase; color: var(--text); }
.exp-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.exp-strip i { display: block; aspect-ratio: 3 / 2; border-radius: var(--r-xs); background: var(--paper-3); }
.exp-slot { display: grid; gap: 8px; margin-block: 4px; }
.exp-slot .adv-spon { margin-top: 0; }
.exp-slot .adv-bb { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--red); }
.exp-slot .adv-bb-ph { font-size: clamp(0.75rem, 1.2vw, 0.9375rem); }
.exp-phone .adv-mock-page { gap: 6px; padding: 16px 8px 14px; }
@media (prefers-reduced-motion: no-preference) {
  .exp-panel:not(.is-off) .exp-slot .adv-bb { animation: exp-ring 1.6s var(--ease-out) 0.2s 2; }
  @keyframes exp-ring {
    0% { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--red); }
    50% { box-shadow: 0 0 0 2px var(--paper), 0 0 0 6px var(--red-wash); }
    100% { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--red); }
  }
}

.exp-copy { display: grid; gap: 12px; align-content: start; min-width: 0; color: var(--text-2); }
.exp-copy strong { color: var(--text); }
.exp-size { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }
.exp-status { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: var(--fs-sm); color: var(--text-2); }
.exp-status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--line-3); transform: translateY(1px); }
.exp-status.is-live::before { background: var(--ok); }
.exp-status.is-open::before { background: var(--gold-ink); }
.exp-help { font-size: var(--fs-xs); color: var(--muted); }

/* ── (04) Price & open weeks ─────────────────────────────────────────── */

.exp-calc-nojs { font-size: var(--fs-lg); }
/* Wide: the choices and the open weeks on the left, the result beside them.
   One column: choices, result (with its button), then the weeks — the DOM
   order, so the keyboard reaches the button right after the choices. */
.exp-calc-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-areas: 'l r' 'o r'; grid-template-rows: auto 1fr; gap: 26px clamp(28px, 4vw, 56px); align-items: start; }
.exp-calc-l { grid-area: l; }
.exp-calc-r { grid-area: r; }
.exp-calc-in > .exp-open { grid-area: o; }
@media (max-width: 960px) { .exp-calc-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'l' 'r' 'o'; grid-template-rows: none; } }
.exp-calc-l { display: grid; gap: 26px; min-width: 0; }
.exp-calc-l .adv-slot { background: var(--card); }
.exp-calc-r { min-width: 0; }

/* Weeks: − [n] +. The number field stays typeable; the buttons step it. */
.exp-weeks-field { align-content: start; }
.exp-stepper { display: flex; align-items: stretch; gap: 8px; max-width: 280px; }
.exp-step { flex: none; width: 50px; min-height: 50px; padding: 0; background: var(--card); }
.exp-step svg { width: 20px; height: 20px; }
.exp-weeks-in { flex: 1 1 auto; min-width: 0; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.exp-weeks-in::-webkit-outer-spin-button, .exp-weeks-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn.exp-step[aria-disabled='true'] { cursor: not-allowed; --b-fg: var(--muted); --b-bd: var(--line-2); transform: none; }

/* The next 12 weeks of the chosen space: read-only, not focusable. */
.exp-open { display: grid; gap: 12px; min-width: 0; }
.exp-open-h { font-weight: 700; font-size: var(--fs-md); }
.exp-open-sum { font-size: var(--fs-sm); color: var(--text-2); }
.exp-open-sum strong { color: var(--text); }
.exp-wks { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.exp-wk { display: grid; align-content: center; justify-items: center; gap: 2px; min-height: 60px; height: 100%; padding: 8px 4px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--card); text-align: center; font-size: var(--fs-xs); line-height: 1.25; color: var(--muted); }
.exp-wk b { font-size: var(--fs-sm); font-weight: 700; color: var(--text); white-space: nowrap; }
.exp-wk em { font-style: normal; font-size: var(--fs-micro); font-weight: 700; color: var(--red-2); text-wrap: balance; }
.exp-wk.is-taken { background: transparent; border-style: dashed; }
.exp-wk.is-taken > b, .exp-wk.is-taken > span { text-decoration: line-through; }
.exp-wk.is-taken b, .exp-wk.is-taken em { color: var(--muted); }
.exp-wk.is-span { background: var(--ink); border-color: var(--ink); color: var(--on-ink-2); }
.exp-wk.is-span b { color: var(--on-ink); }
.exp-wk.is-span em { color: var(--red-hot); }

/* The result: a white sheet like the reservation page's booking card. */
.exp-sheet { display: grid; gap: 16px; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-2); }
.exp-sheet-load { color: var(--muted); }
.exp-sheet-fail { display: grid; gap: 12px; justify-items: start; color: var(--text-2); }
.exp-sheet-ok { display: grid; gap: 14px; min-width: 0; }
.exp-perday { font-size: var(--fs-sm); color: var(--text-2); }
.exp-nudge { padding: 9px 12px; border-radius: var(--r-sm); background: var(--ok-wash); color: var(--ok); font-size: var(--fs-sm); font-weight: 600; line-height: 1.45; }
.exp-nudge:empty { display: none; }
/* No run of that many open weeks: that count can't be booked, so the kit's
   error pair (.adv-note.is-err), which also keeps it apart from the gold
   founding-price box right under it. */
.exp-nudge.is-err { background: var(--red-wash); color: var(--red-2); }
.exp-go { display: grid; gap: 10px; justify-items: stretch; }
.exp-go .adv-closed { margin: 0; }
.exp-go > .btn:not(.btn-block) { justify-self: start; }
@media (max-width: 767px) { #exp-retry, #exp-retry-one { min-height: 44px; } }
@media (forced-colors: active) {
  /* The selected tab and view lose their ink fill here: outline them, and
     draw selected AND focused differently from selected alone. */
  .exp-tabs .chip[aria-selected='true'], .exp-device input:checked + .chip { outline: 2px solid Highlight; outline-offset: 2px; }
  .exp-tabs .chip[aria-selected='true']:focus-visible, .exp-device input:checked:focus-visible + .chip { outline: 4px double Highlight; outline-offset: var(--focus-off); }
  .exp-wk.is-span { border-style: double; border-width: 4px; border-color: Highlight; }
  .exp-wk.is-taken { color: GrayText; }
  .exp-slot .adv-bb { outline: 2px solid Highlight; outline-offset: 2px; }
}

/* ── (05) Steps: each stub carries its own "What if…" ────────────────── */

.exp-steps .stub { min-height: 0; }
.exp-if { border-top: 1px dashed var(--line-2); }
.exp-if + .exp-if { border-top-style: dotted; }
.exp-steps .stub-body > span + .exp-if { margin-top: 6px; }
.exp-if summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 0; font-size: var(--fs-sm); font-weight: 650; color: var(--text); cursor: pointer; list-style: none; }
.exp-if summary::-webkit-details-marker { display: none; }
.exp-if summary svg { width: 18px; height: 18px; flex: none; transition: transform var(--t) var(--ease); }
.exp-if[open] summary svg { transform: rotate(45deg); }
.exp-if p { padding-bottom: 10px; font-size: var(--fs-sm); color: var(--muted); }

/* ── (06) Your art ───────────────────────────────────────────────────── */

.exp-art-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(14px, 1.6vw, 22px); align-items: start; }
@media (max-width: 860px) { .exp-art-top { grid-template-columns: minmax(0, 1fr); } }
.exp-spec .kv > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 4px 18px; padding: 11px 0; font-size: var(--fs-sm); }
.exp-spec .kv > div:last-child { border-bottom: 0; }
.exp-spec .kv dt { font-weight: 650; color: var(--text); }
.exp-spec .kv dd { text-align: left; font-weight: 450; color: var(--text-2); }
@media (max-width: 520px) { .exp-spec .kv > div { grid-template-columns: minmax(0, 1fr); } }
.exp-nodesigner .checks { gap: 10px; font-size: var(--fs-sm); }
.exp-rules { font-size: var(--fs-sm); color: var(--muted); }
.exp-nodesigner .exp-rules + .exp-rules { margin-top: -2px; }

.exp-check { display: grid; gap: 14px; margin-top: clamp(32px, 4.4vw, 56px); padding-top: clamp(28px, 3.6vw, 44px); border-top: 1px dashed var(--line-3); }
.exp-check-intro { max-width: 68ch; color: var(--text-2); }
.exp-check-intro strong { color: var(--text); }
.exp-check-nojs { color: var(--muted); font-size: var(--fs-sm); }
.exp-check-in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; margin-top: 6px; }
@media (max-width: 960px) { .exp-check-in { grid-template-columns: minmax(0, 1fr); } }
.exp-files { display: grid; gap: 14px; min-width: 0; }
.exp-file { gap: 8px; }
.exp-drop { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 140px; padding: 20px 16px; border: 2px dashed var(--line-3); border-radius: var(--r); background: var(--card); text-align: center; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.exp-drop:hover { border-color: var(--text); }
.exp-drop .ico { width: 26px; height: 26px; color: var(--red); }
.exp-drop strong { font-weight: 700; color: var(--text); }
.exp-drop-hint, .exp-drop-idle { font-size: var(--fs-xs); color: var(--muted); }
.exp-file.is-over .exp-drop { border-color: var(--red); background: var(--red-wash); }
.exp-file.is-busy .exp-drop { cursor: progress; }
.exp-remove { justify-self: start; }
@media (max-width: 767px) { .exp-remove { min-height: 44px; } }
.exp-prev-wrap { display: grid; gap: 10px; min-width: 0; }
.exp-both { grid-column: 1 / -1; }
.exp-both p + p { margin-top: 12px; }
@media (forced-colors: active) { .exp-file.is-over .exp-drop { border-color: Highlight; } }

/* ── (07) Promises · (08) Policy · closing band ──────────────────────── */

.exp-nopromise { margin-top: clamp(18px, 2.4vw, 28px); max-width: 880px; }
.exp-policy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) { .exp-policy { grid-template-columns: minmax(0, 1fr); } }
.exp-policy-r { display: grid; gap: 16px; }
.exp-banned { gap: 14px; }
.exp-banned li { font-size: var(--fs-lg); font-weight: 700; color: var(--text); }
.exp-policy-p { margin-top: 16px; max-width: 62ch; color: var(--text-2); }
.exp-policy-r .exp-policy-p { margin-top: 0; }
.exp-policy-p strong { color: var(--text); }
.exp-close-safe { font-size: var(--fs-sm); color: var(--on-ink-2); text-wrap: balance; }
