/* Client brief page: brand hero, 4-step wizard, visual tiles, LED preview, review ticket. */

body.brief { background: #050506; padding-bottom: 96px; }
.hp { position: absolute; left: -9999px; }
.opt { font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid #1c1c21; }
.hero-glow { position: absolute; inset: -20%; pointer-events: none; }
.hero-glow span { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); opacity: .5; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
.hero-glow span:nth-child(1) { background: radial-gradient(circle, rgba(255,40,40,.75), transparent 62%); left: -10%; top: -20%; }
.hero-glow span:nth-child(2) { background: radial-gradient(circle, rgba(40,90,255,.8), transparent 62%); right: -15%; top: 10%; animation-duration: 26s; animation-delay: -6s; }
.hero-glow span:nth-child(3) { background: radial-gradient(circle, rgba(40,255,110,.45), transparent 62%); left: 30%; bottom: -45%; animation-duration: 30s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6%, 4%) scale(1.08); } 100% { transform: translate(-4%, -3%) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .hero-glow span { animation: none; } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #050506); pointer-events: none; }
.hero-in { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 28px 24px 56px; }
.hero-top { display: flex; justify-content: space-between; align-items: center; }
.hero-top .logo { height: 24px; }
.hero-help { font-size: 14px; color: rgba(255,255,255,.75); text-decoration: none; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; padding: 7px 14px; backdrop-filter: blur(8px); background: rgba(0,0,0,.2); cursor: pointer; }
.hero-help:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.hero-copy { margin-top: 64px; max-width: 860px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.eyebrow::before { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--brand); vertical-align: middle; margin-right: 10px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 66px); line-height: 1.02; margin-top: 18px; letter-spacing: .005em; }
.hero-lead { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 560px; margin: 22px 0 0; }
.hero-stats { display: flex; gap: 44px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 40px; line-height: 1; }
.hero-stats span { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 8px; }
.hero-stats b { font-weight: 600; color: rgba(255,255,255,.8); }

/* ---------- Wizard ---------- */
.wizard { max-width: 760px; margin: -24px auto 0; padding: 0 20px; position: relative; z-index: 2; }
.stepper { list-style: none; margin: 0 0 26px; padding: 6px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: rgba(19,19,22,.85); border: 1px solid #26262c; border-radius: 14px; backdrop-filter: blur(12px); position: sticky; top: 10px; z-index: 5; }
.stepper button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: none; border: 0; border-radius: 10px; padding: 9px 6px; color: var(--faint); font-size: 14px; font-weight: 600; cursor: pointer; }
.stepper button:disabled { cursor: default; }
.stepper .n { width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: 11px; flex: none; }
.stepper li.done button { color: var(--muted); }
.stepper li.done .n { background: var(--ok); border-color: var(--ok); color: #062b14; font-size: 0; }
.stepper li.done .n::after { content: '✓'; font-size: 12px; }
.stepper li.on button { color: var(--text); background: #1f1f24; }
.stepper li.on .n { background: #fff; border-color: #fff; color: #050506; }

.step { animation: stepIn .28s ease-out; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } }
.step-head { margin-bottom: 16px; }
.step-head h2 { font-family: var(--display); font-size: 26px; text-transform: none; letter-spacing: .01em; color: var(--text); }
.step-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.card { background: rgba(19,19,22,.92); border-color: #24242a; }
.input-lg { font-size: 17px; padding: 13px 14px; }
.rush-row { cursor: pointer; padding: 14px; border-radius: 12px; border: 1px solid var(--line); }
.rush-row .t { display: block; font-weight: 600; }
.rush-row:has(.switch:checked) { border-color: rgba(255,181,71,.5); background: rgba(255,181,71,.07); }
.note-warn { font-size: 13px; color: var(--warn); }
.draft-note { text-align: center; margin-top: 26px; }

/* drop zones */
.drop { margin-top: 8px; display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--muted); font-size: 13px; cursor: pointer; transition: border-color .15s, background .15s; min-width: 0; position: relative; }
.drop:hover, .drop.over { border-color: #6a6a73; background: #18181c; color: var(--text); }
.drop input[type=file] { display: none; }
.drop .status { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.drop.ok { border-style: solid; border-color: rgba(61,220,132,.45); color: var(--ok); }
.drop.bad { border-color: rgba(255,92,92,.5); color: var(--danger); }
.drop.busy { cursor: progress; }
.drop .bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--brand); width: 0; transition: width .1s; }
.drop .clear { margin-left: auto; color: var(--muted); padding: 2px; background: none; border: 0; cursor: pointer; display: flex; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 12px 0 10px; }
.chip { border: 1px solid var(--line-strong); background: transparent; border-radius: 99px; padding: 5px 11px; font-size: 13px; cursor: pointer; color: var(--muted); }
.chip:hover { color: var(--text); border-color: #55555d; }

/* LED preview: each screen drawn to scale */
.led-preview { display: flex; align-items: flex-end; justify-content: center; gap: 14px; min-height: 160px; padding: 22px 16px 34px; border-radius: 12px; background:
  linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 20px, #0b0b0d; border: 1px solid var(--line); overflow: hidden; }
.led-preview .scr { position: relative; display: grid; place-items: center; border-radius: 4px; background:
  radial-gradient(120% 120% at 0% 0%, rgba(255,45,45,.55), transparent 60%),
  radial-gradient(120% 120% at 100% 100%, rgba(45,91,255,.6), transparent 60%),
  radial-gradient(90% 90% at 60% 0%, rgba(45,255,106,.35), transparent 60%), #111; box-shadow: 0 0 40px rgba(80,120,255,.25), inset 0 0 0 1px rgba(255,255,255,.12); transition: width .25s, height .25s; }
.led-preview .scr span { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.9); text-shadow: 0 1px 6px rgba(0,0,0,.6); text-align: center; line-height: 1.25; padding: 2px; }
.led-preview .scr em { position: absolute; top: 100%; margin-top: 6px; font-style: normal; font-size: 11px; color: var(--faint); white-space: nowrap; }
.led-preview .empty-led { color: var(--faint); font-size: 13px; align-self: center; }

/* ---------- Visual tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tiles .item { margin: 0; border-radius: 14px; background: rgba(19,19,22,.92); border: 1px solid #24242a; transition: border-color .15s, transform .15s; }
.tiles .item + .item { margin-top: 0; }
.tiles .item:not(.on):hover { border-color: #3a3a42; transform: translateY(-1px); }
.tiles .item:not(.on) .item-head { flex-direction: column; align-items: flex-start; gap: 14px; min-height: 132px; padding: 16px; position: relative; }
.tiles .item:not(.on) .item-head .check { position: absolute; top: 14px; right: 14px; }
.tiles .item:not(.on) .item-head .name { font-size: 15px; }
.tiles .item.on { grid-column: 1 / -1; border: 1px solid transparent; background: linear-gradient(#131316, #131316) padding-box, var(--brand) border-box; }
.item-icon { width: 40px; height: 40px; border-radius: 11px; background: #1c1c21; border: 1px solid #2a2a31; display: grid; place-items: center; color: var(--muted); }
.item-icon .icon { width: 18px; height: 18px; }
.item.on .item-icon { background: #fff; color: #050506; border-color: #fff; }
.item-head .check { order: 3; }

/* ---------- Review ticket ---------- */
.ticket-card { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid #2a2a31; background:
  radial-gradient(80% 120% at 0% 0%, rgba(255,45,45,.14), transparent 60%),
  radial-gradient(80% 120% at 100% 100%, rgba(45,91,255,.18), transparent 60%), #111114; }
.ticket-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand); }
.tk-top { padding: 24px 24px 20px; }
.tk-top .eyebrow { font-size: 11px; }
.tk-name { font-family: var(--display); font-size: 28px; line-height: 1.1; margin-top: 10px; }
.tk-meta { color: var(--muted); margin-top: 8px; }
.tk-cut { position: relative; height: 1px; margin: 0 22px; border-top: 1px dashed #34343c; }
.tk-cut::before, .tk-cut::after { content: ''; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: #050506; border: 1px solid #2a2a31; }
.tk-cut::before { left: -35px; } .tk-cut::after { right: -35px; }
.tk-body { padding: 20px 24px 24px; display: grid; gap: 18px; }
.tk-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: 14px; }
.tk-row > span:first-child { color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; padding-top: 2px; }
.tk-items { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-items span { border: 1px solid #34343c; border-radius: 8px; padding: 4px 10px; font-size: 13px; }
.tk-warn { margin-top: 14px; font-size: 13px; color: var(--warn); }
.tk-edit { background: none; border: 0; color: var(--info); font-size: 13px; cursor: pointer; padding: 0; margin-left: 8px; }

/* ---------- Dock ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(8,8,10,.86); backdrop-filter: blur(14px); border-top: 1px solid #1f1f24; padding-bottom: env(safe-area-inset-bottom); }
.dock-in { max-width: 760px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 12px; }
.dock-sum { flex: 1; text-align: center; font-size: 13px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock-sum strong { color: var(--text); }
.dock .btn { padding: 12px 22px; }
#next-btn { min-width: 128px; }
#next-btn.send { background: linear-gradient(#fff, #fff) padding-box, var(--brand) border-box; border: 2px solid transparent; }

/* ---------- Done ---------- */
.hero-done { min-height: 100vh; display: grid; place-items: center; border: 0; }
.done-in { position: relative; z-index: 1; max-width: 520px; padding: 48px 20px; text-align: center; }
.done-ring { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(#050506, #050506) padding-box, conic-gradient(#ff2d2d, #2dff6a, #2d5bff, #ff2d2d) border-box; border: 3px solid transparent; animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.done-in h1 { font-size: clamp(40px, 9vw, 64px); margin-top: 12px; }
.done-in .hero-lead { margin: 16px auto 0; }
.ticket { margin-top: 26px; text-align: left; background: rgba(19,19,22,.9); border: 1px solid #2a2a31; border-radius: 14px; padding: 16px; }
.ticket .mono { overflow-wrap: anywhere; margin-top: 4px; }
.ticket-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.done-in .btn-wa { margin-top: 16px; }

@media (max-width: 640px) {
  .hero-in { padding: 20px 16px 48px; }
  .hero-copy { margin-top: 44px; }
  .hero-lead { font-size: 15px; }
  .hero-stats { gap: 26px; margin-top: 34px; }
  .hero-stats strong { font-size: 30px; }
  .hero-help { font-size: 12px; padding: 6px 11px; }
  .wizard { padding: 0 14px; }
  .stepper .t { display: none; }
  .stepper li.on .t { display: inline; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tiles .item:not(.on) .item-head { min-height: 120px; padding: 14px; }
  .tiles .item:not(.on) .item-head .desc { font-size: 12px; }
  .tk-row { grid-template-columns: 1fr; gap: 4px; }
  .dock-in { padding: 10px 14px; }
  .dock .btn { padding: 11px 16px; }
  #next-btn { min-width: 0; }
}
.hero-help { white-space: nowrap; }
@media (max-width: 640px) {
  .hero-top .logo { height: 19px; }
  .hero-help .long { display: none; }
  .hero-copy { margin-top: 34px; }
  .hero h1 { font-size: 34px; }
  .hero-lead { margin-top: 14px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
  .hero-stats strong { font-size: 24px; }
  .hero-stats span { font-size: 11px; margin-top: 4px; }
  .hero-in { padding-bottom: 40px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 29px; }
  .step-head h2 { font-size: 22px; }
}

/* Screen rows: mirror toggle + test card download */
.led-row .px { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.led-row .px-t { flex: 1; min-width: 140px; }
.mirror { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 500; margin: 0; }
.mirror input { accent-color: #fff; margin: 0; }
.tc-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 1px solid var(--line-strong); border-radius: 99px; padding: 3px 10px; font-size: 12px; color: var(--text); cursor: pointer; }
.tc-btn .icon { width: 13px; height: 13px; }
.tc-btn:hover { border-color: #6a6a73; }
.tc-btn:disabled { opacity: .4; cursor: default; }
.screen-actions { display: flex; gap: 8px; margin-top: 10px; }
.screen-actions .btn { flex: 1; }
.led-preview .scr { background-size: cover; background-position: center; }
.field .led-row label.mirror { display: inline-flex; margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }

/* ---------- Project page ---------- */
.project .hero-in { padding-bottom: 40px; }
.p-copy { margin-top: 48px; }
.project .hero h1 { font-size: clamp(30px, 5vw, 56px); overflow-wrap: anywhere; }
.status-card { max-width: 720px; }
.sc-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sc-label { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.sc-status { font-family: var(--display); font-weight: 700; font-size: 34px; margin-top: 6px; line-height: 1; }
.sc-ring { --p: 0; width: 86px; height: 86px; border-radius: 50%; flex: none; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, #0c0c0f 78%, transparent 80% 100%), conic-gradient(#2dff6a calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
.sc-ring strong { font-family: var(--display); font-size: 20px; line-height: 1; }
.sc-ring span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 3px; }
.sc-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.status-card .steps div { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.5); }
.status-card .steps div.done, .status-card .steps div.now { border-top-color: #fff; color: #fff; }
.p-main { margin-top: 28px; padding-bottom: 60px; }
.project .section { margin-top: 36px; }
.project .section > h2 { font-family: var(--display); font-size: 20px; text-transform: none; letter-spacing: .01em; color: var(--text); margin-bottom: 14px; }
.project .card { border-radius: 14px; }
.project .card + .card { margin-top: 10px; }
.project body, body.project { padding-bottom: 0; }
@media (max-width: 640px) {
  .p-copy { margin-top: 30px; }
  .project .hero h1 { font-size: 28px; }
  .sc-status { font-size: 26px; }
  .sc-ring { width: 72px; height: 72px; }
}
@media print {
  .hero { background: #fff; }
  .hero h1, .sc-status { color: #000; }
  .status-card { border-color: #ccc; background: #fff; backdrop-filter: none; }
}

.quote-note { margin-top: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid #2a2a31; background: rgba(19,19,22,.9); font-size: 14px; color: var(--muted); line-height: 1.55; }
.quote-note strong { color: var(--text); }
.project .hero-in { max-width: 800px; }
.project .status-card { max-width: none; }
.sc-ring strong { font-size: 18px; }

/* 12 visual types: three across on desktop, compact tiles */
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tiles .item:not(.on) .item-head { min-height: 118px; }
@media (max-width: 640px) { .tiles .item:not(.on) .item-head { min-height: 108px; gap: 10px; } .tiles .item:not(.on) .item-head .name { font-size: 14px; } }

/* Long event names step down in size */
.project .hero h1.long { font-size: clamp(24px, 3.6vw, 40px); }
.project .hero h1.xlong { font-size: clamp(20px, 2.8vw, 30px); line-height: 1.15; }

.hero-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; padding: 2px; background: rgba(0,0,0,.25); backdrop-filter: blur(8px); }
.lang-toggle button { background: none; border: 0; color: rgba(255,255,255,.6); font: 700 12px var(--sans); letter-spacing: .06em; padding: 5px 10px; border-radius: 99px; cursor: pointer; }
.lang-toggle button[aria-pressed=true] { background: #fff; color: #050506; }

.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero.has-video .hero-glow span { opacity: .3; }
.hero.has-video::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,6,.85), rgba(5,5,6,.35) 70%); z-index: 0; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero.has-video::before { z-index: 1; }
.hero-in { z-index: 2; }
/* Showreel: brighter on the right, darker behind the copy on the left */
.hero-video { opacity: .62; }
.hero.has-video::before { background: linear-gradient(90deg, rgba(5,5,6,.9) 0%, rgba(5,5,6,.72) 38%, rgba(5,5,6,.25) 75%, rgba(5,5,6,.15) 100%); }
@media (max-width: 640px) { .hero.has-video::before { background: linear-gradient(180deg, rgba(5,5,6,.55), rgba(5,5,6,.85)); } }

/* Screen rows must shrink to the phone width */
.led-row > input { min-width: 0; }
.card.grid > *, .card .field { min-width: 0; }
@media (max-width: 640px) {
  .led-row { grid-template-columns: minmax(0, 1fr) 54px 10px 54px 30px; gap: 6px; }
  .led-row .px { gap: 6px 12px; }
  .led-row .px-t { flex-basis: 100%; }
  .led-preview { gap: 8px; padding-left: 10px; padding-right: 10px; }
}
.led-preview .scr em { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }

/* Four hero numbers: one row on desktop, 2 x 2 on phones */
@media (max-width: 640px) { .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 14px; } }
