/* Format Strategics: project teaser dialog and the three mini apps */

.media-open { position: relative; display: block; color: inherit; text-decoration: none; cursor: pointer; }
.media-open img { transition: opacity .15s ease; }
.media-open:hover img { opacity: .9; }
.media-hint {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--white); padding: 9px 14px;
  font-size: .9375rem; font-weight: 650; letter-spacing: .01em;
}
.media-hint::before { content: ""; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.media-open:hover .media-hint { background: var(--graphite); }
.media-open:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.lightbox {
  width: min(1040px, calc(100vw - 24px)); max-height: calc(100vh - 24px);
  padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink);
  overflow: auto;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .78); }
.lb-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 14px 20px; border-bottom: 1px solid var(--rule); }
.lb-title { font-size: 1.125rem; font-weight: 700; font-stretch: 100%; letter-spacing: 0; line-height: 1.3; margin-right: auto; }
.lb-tag { color: var(--steel); font-size: .875rem; }
.lb-btn {
  min-height: 40px; padding: 0 14px; background: transparent; border: 2px solid var(--ink);
  font: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer; color: var(--ink);
}
.lb-btn:hover { background: var(--ink); color: var(--white); }
.lb-main { display: grid; gap: 20px; padding: 20px; }
.lb-side { align-self: center; }
.lb-note { font-size: 1.0625rem; color: var(--graphite); }
.lb-small { margin-top: 12px; font-size: .875rem; color: var(--steel); }
.lb-body { display: flex; justify-content: center; }
@media (min-width: 860px) {
  .lb-main { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; padding: 28px 32px; align-items: center; }
  .lb-side { order: 2; }
}
@media (max-width: 600px) {
  .lb-head { padding: 12px 16px; }
  .lb-tag { order: 3; width: 100%; }
  .lb-main { padding: 16px; }
  .lb-note { font-size: 1rem; }
}

.tz-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* shared mini app parts */
.tz-phone, .tz-window { width: 100%; text-align: left; -webkit-font-smoothing: antialiased; }
.tz-phone { max-width: 360px; height: 600px; display: flex; flex-direction: column; border-radius: 34px; border: 10px solid #0d0d0d; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.tz-window { max-width: 640px; min-height: 520px; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.25); display: flex; flex-direction: column; }
.tz-screen { flex: 1; overflow: auto; padding: 18px 20px 22px; }
.tz-h { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-stretch: 100%; font-size: 1.75rem; line-height: 1.15; letter-spacing: 0; }
.tz-h:focus { outline: none; }
.tz-big { font-size: 2.125rem; }
.tz-sub { margin: 6px 0 16px; font-size: .9375rem; opacity: .8; }
.tz-kicker { margin: 4px 0 6px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.tz-label { display: block; margin: 12px 0 6px; font-size: .875rem; font-weight: 600; }
.tz-input { display: block; width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; font-size: 1rem; border-radius: 6px; }
.tz-opts { display: grid; gap: 10px; }
.tz-opt { display: block; width: 100%; text-align: left; padding: 12px 44px 12px 14px; border-radius: 6px; font: inherit; cursor: pointer; position: relative; }
.tz-opt b { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.125rem; font-weight: 700; }
.tz-opt small { display: block; font-size: .8125rem; opacity: .8; margin-top: 2px; }
.tz-opt::after { content: ""; position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .35; }
.tz-opt[aria-pressed="true"]::after { opacity: 1; background: currentColor; box-shadow: inset 0 0 0 4px var(--tz-surface, #fff); }
.tz-cta { display: block; width: 100%; min-height: 48px; margin-top: 18px; border: 0; border-radius: 6px; font: inherit; font-size: .9375rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.tz-cta[disabled] { opacity: .4; cursor: default; }
.tz-ghost { background: transparent !important; border: 1.5px solid currentColor !important; }
.tz-back { background: none; border: 0; padding: 4px 0; margin-bottom: 8px; font: inherit; font-size: .9375rem; cursor: pointer; color: inherit; opacity: .8; }
.tz-phone :focus-visible, .tz-window :focus-visible { outline: 3px solid var(--tz-focus, #8fb8de); outline-offset: 2px; }

/* 1. event guest app (unbranded white-label look) */
.tz-ev { --tz-surface: #1a1d22; --tz-focus: #8fb8de; background: #111317; color: #f2f2ef; font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
.tz-ev-top { padding: 16px 20px 4px; text-align: center; font-family: Georgia, serif; font-size: 1rem; }
.tz-ev-bar { margin: 10px 20px 0; height: 3px; background: #2c3139; }
.tz-ev-bar span { display: block; height: 100%; width: 0; background: #8fb8de; transition: width .3s ease; }
.tz-ev .tz-input { background: #1a1d22; color: #f2f2ef; border: 1px solid #2c3139; }
.tz-ev .tz-opt { background: #1a1d22; color: #f2f2ef; border: 1px solid #2c3139; }
.tz-ev .tz-opt[aria-pressed="true"] { border-color: #8fb8de; background: #1b2733; }
.tz-ev .tz-opt[aria-pressed="true"]::after { color: #8fb8de; }
.tz-ev .tz-cta { background: #8fb8de; color: #0b1220; }
.tz-ev .tz-ghost { color: #f2f2ef; }
.tz-recipe { margin: 4px 0 0; padding: 14px 16px; list-style: none; background: #1a1d22; border: 1px solid #2c3139; border-radius: 6px; }
.tz-recipe li { padding: 5px 0; font-size: .9375rem; }
.tz-recipe li + li { border-top: 1px solid #2c3139; }
.tz-done-note { margin-top: 14px; font-size: .875rem; color: #a3a8b0; }

/* 2. roundtable registration (campaign colors, no names) */
.tz-rg { --tz-surface: #f8f6f0; --tz-focus: #4b4e3d; background: #f8f6f0; color: #2b2b26; font-family: Lato, "Helvetica Neue", Arial, sans-serif; }
.tz-rg-top { background: #4b4e3d; color: #f3efe2; padding: 14px 20px; font-family: Georgia, serif; font-size: 1rem; }
.tz-rg .tz-opt { background: #fff; color: #2b2b26; border: 1px solid #d9d4c5; }
.tz-rg .tz-opt.is-low { border-color: #b23a2e; }
.tz-rg .tz-opt[aria-pressed="true"] { border-color: #4b4e3d; box-shadow: inset 0 0 0 1px #4b4e3d; }
.tz-rg .tz-opt em { display: block; margin-top: 6px; font-style: normal; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a8642e; }
.tz-rg .tz-opt.is-low em { color: #b23a2e; }
.tz-rg .tz-opt.is-full { opacity: .45; cursor: not-allowed; }
.tz-rg .tz-input { background: #fff; color: #2b2b26; border: 1px solid #cfc9b8; }
.tz-rg .tz-cta { background: #e2c06b; color: #2b2b26; }
.tz-rg .tz-ghost { color: #2b2b26; }
.tz-rg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #4b4e3d; color: #f3efe2; font-size: .875rem; }
.tz-rg-btn { min-height: 42px; padding: 0 16px; border: 0; background: #e2c06b; color: #2b2b26; font: inherit; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.tz-rg-btn[disabled] { opacity: .45; cursor: default; }
.tz-flag { margin-top: 4px; padding: 12px 14px; background: #fff; border-left: 3px solid #4b4e3d; font-size: .9375rem; }

/* 3. artist booking portal (neutral dark) */
.tz-pt { --tz-surface: #201c17; --tz-focus: #e0a845; background: #17140f; color: #f0e8d8; font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
.tz-pt-top { display: flex; gap: 6px; padding: 10px 12px; background: #2a251e; }
.tz-pt-top span { width: 10px; height: 10px; border-radius: 50%; background: #4a4236; }
.tz-pt .tz-input { background: #100e0b; color: #f0e8d8; border: 1px solid #3a3329; }
.tz-pt .tz-cta { background: #e0a845; color: #17140f; }
.tz-pt .tz-ghost { color: #f0e8d8; }
.tz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tz-chip { padding: 10px 14px; border-radius: 6px; border: 1px solid #3a3329; background: #201c17; color: #f0e8d8; font: inherit; font-size: .9375rem; text-align: left; cursor: pointer; }
.tz-chip small { display: block; font-size: .75rem; opacity: .75; }
.tz-chip[aria-pressed="true"] { background: #e0a845; border-color: #e0a845; color: #17140f; }
.tz-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .75rem; color: #a99d86; }
.tz-track span { display: block; height: 4px; border-radius: 2px; background: #3a3329; margin-bottom: 6px; }
.tz-track li.on { color: #f0e8d8; }
.tz-track li.on span { background: #e0a845; }
.tz-panel { padding: 16px; border: 1px solid #3a3329; border-radius: 8px; background: #201c17; }
.tz-panel p { margin: 0; }
.tz-terms { margin: 10px 0 0; padding-left: 18px; font-size: .875rem; color: #cfc4ad; }
.tz-check { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-size: .9375rem; }
.tz-check input { width: 18px; height: 18px; }
.tz-err { margin-top: 8px; min-height: 1.2em; font-size: .875rem; color: #f2a08f; }
.tz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tz-demo { display: block; width: 100%; margin-top: 14px; min-height: 44px; border: 1.5px dashed #e0a845; background: transparent; color: #e0a845; font: inherit; font-weight: 600; border-radius: 6px; cursor: pointer; }
.tz-demo:hover { background: rgba(224, 168, 69, .1); }

@media (max-width: 600px) {
  .tz-phone { height: 540px; border-width: 8px; border-radius: 28px; }
  .tz-h { font-size: 1.5rem; }
  .tz-big { font-size: 1.75rem; }
  .tz-track { font-size: .625rem; }
}
@media (prefers-reduced-motion: reduce) { .tz-ev-bar span { transition: none; } }
.tz-phone .tz-h:focus-visible, .tz-window .tz-h:focus-visible { outline: none; }
