
/* Partners in Progress — Descon AI Transformation Program skin (brand guide v1.0): Site Grey ground, Crimson + Chathams Blue, Helvetica Black headlines, 14° slant. */
:root {
  --red: #ED1C24;
  --red-deep: #C4141B;
  --burgundy: #124F85;
  --burgundy-deep: #0D1B2A;
  --sand: #FFE69C;
  --ground: #F4F6F8;
  --sky: #E9EEF2;
  --text: #0D1B2A;
  --card: #FFFFFF;
  --muted: #5B6B7A;
  --line: rgba(13, 27, 42, .08);
  --line-2: rgba(13, 27, 42, .16);
  --red-tint: #FCE4E5;
  --burg-tint: #E3ECF4;
  --sand-tint: #FFF6D9;
  --field: var(--burgundy);
  --radius: 2px;
  --radius-lg: 4px;
  --serif: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow-soft: 0 24px 48px -32px rgba(18, 79, 133, .35);
  --gutter: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--ground); color: var(--text); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--burgundy); }
button, input, select, textarea { font: inherit; color: inherit; }
main { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 16px var(--gutter) 72px; position: relative; }
.loading { color: var(--muted); }
::selection { background: var(--red-tint); color: var(--burgundy); }

/* host bar: Descon leads, top-left, in its own red */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px var(--gutter) 20px; max-width: 1440px; margin: 0 auto; width: 100%; }
.brand { display: flex; align-items: center; gap: 22px; min-width: 0; }
.logo-kq { height: 38px; width: auto; }
.sep { width: 1px; height: 30px; background: var(--line-2); }
.prog { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prog b { color: var(--text); font-weight: 600; }

/* partner strip: white marks on burgundy */
.foot { background: var(--burgundy); color: #fff; padding: 28px var(--gutter); position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--red), transparent 60%); }
.foot .inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.foot .logo-cct { height: 24px; width: auto; }
.foot .by { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .72); white-space: nowrap; }
.foot .logo-fw { height: 17px; width: auto; } .foot .logo-aws { height: 21px; width: auto; }
.foot .pillars { margin-left: auto; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .72); white-space: nowrap; }

/* type */
.kicker { display: flex; align-items: center; gap: 12px; flex: none; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; color: var(--text); margin: 24px 0 12px; white-space: nowrap; }
.kicker::before { content: ""; width: 32px; height: 1.5px; background: var(--red); flex: none; }
.kicker b { color: var(--red); font-weight: 600; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.02em; margin: 6px 0 14px; text-wrap: balance; max-width: 18ch; }
h1 .accent { color: var(--red); }
h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 6px; }
h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; }
.lede { color: var(--muted); max-width: 640px; margin: 8px 0 28px; font-size: 17px; line-height: 1.6; text-wrap: pretty; }

/* pieces */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--text); background: transparent; border-radius: 999px; padding: 11px 20px; cursor: pointer; font-weight: 500; font-size: 14px; letter-spacing: .01em; text-decoration: none; color: var(--text); white-space: nowrap; line-height: 1.2; min-height: 42px; }
.btn:hover { background: var(--text); color: #fff; }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.btn.small { padding: 7px 14px; font-size: 13px; min-height: 34px; }
.btn[disabled] { opacity: .4; cursor: default; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.pill { display: inline-block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; border-radius: 999px; padding: 4px 10px; white-space: nowrap; line-height: 1.3; }
.lev-New { background: var(--red-tint); color: #B3121A; }
.lev-Cost { background: var(--burg-tint); color: var(--burgundy); }
.lev-Risk { background: var(--sand-tint); color: #7A5A44; }
.muted { color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .lbl { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
input[type=text], input[type=number], input[type=password], input[type=email], select, textarea {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px 14px; width: 100%; outline: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input::placeholder, textarea::placeholder { color: rgba(13, 13, 13, .35); }
input:focus, select:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(237, 28, 36, .10); }
#toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(40px); opacity: 0; background: var(--text); color: #fff; padding: 13px 22px; border-radius: 999px; font-weight: 500; font-size: 14px; transition: .45s var(--ease); pointer-events: none; z-index: 50; max-width: 90vw; text-align: center; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.err { background: var(--red); }

/* Flight Grid: hero graphic on light grounds, held to the right edge, quiet */
.has-grid { position: relative; padding-right: min(30vw, 400px); min-height: 200px; }
.has-grid::after { content: ""; position: absolute; top: -110px; right: calc(-1 * var(--gutter)); width: min(36vw, 480px); height: calc(100% + 150px); background: none left center / cover no-repeat; mix-blend-mode: multiply; opacity: .5; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%), linear-gradient(180deg, transparent, #000 34%, #000 76%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 50%), linear-gradient(180deg, transparent, #000 34%, #000 76%, transparent); mask-composite: intersect; }
.has-grid > * { position: relative; z-index: 1; }
.view > .row { position: relative; z-index: 2; }
.view > .row:first-child { margin-top: 8px; }
.view > .row .kicker { margin: 0; }

/* the red field: covers only (landing, sign-in, room QR) */
.field-red { background: var(--field); color: #fff; border-radius: 14px; padding: clamp(36px, 6vw, 88px); }
.field-red .kicker { color: #fff; } .field-red .kicker::before { background: #fff; } .field-red .kicker b { color: rgba(255, 255, 255, .7); }
.field-red h1 { color: #fff; }
.field-red h1 .accent { color: #fff; font-style: italic; }
.field-red .lede, .field-red .muted { color: rgba(255, 255, 255, .8); }
.field-red .btn { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; } .field-red .btn:hover { background: #fff; border-color: #fff; color: var(--burgundy); }
.field-red .btn.primary { background: #fff; border-color: #fff; color: var(--red); } .field-red .btn.primary:hover { background: var(--ground); color: var(--burgundy); }
.field-red input { background: rgba(255, 255, 255, .97); color: var(--text); border-color: transparent; }
.field-red input:focus { box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }

/* landing: photo bed under the red field, right side, graded into the field */
.landing.field-red::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: none right center / cover no-repeat; opacity: .92;
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 62%); mask-image: linear-gradient(90deg, transparent 22%, #000 62%); animation: fade 2.8s var(--ease) both; }
.landing.field-red::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, var(--burgundy-deep) 0%, rgba(58,7,16,.55) 45%, rgba(58,7,16,.12) 100%); }
.landing.field-red .field-art .mandala { opacity: .28; right: -22%; }
@media (max-width: 900px) { .landing.field-red::before { -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 75%); mask-image: linear-gradient(180deg, transparent 35%, #000 75%); background-position: center 20%; } .landing.field-red::after { background: linear-gradient(180deg, var(--burgundy-deep) 30%, rgba(58,7,16,.5) 100%); } }
.landing { max-width: 980px; }
.landing .card { margin-top: 18px; }
.landing.field-red { max-width: none; min-height: min(74vh, 720px); display: flex; flex-direction: column; justify-content: center; }
.landing.field-red > :not(.field-art) { max-width: 720px; }
.landing.field-red h1 { font-size: clamp(42px, 6vw, 84px); max-width: 14ch; }
.landing.field-red .lede { font-size: 18px; max-width: 560px; }
.landing.field-red > .row { margin-top: 12px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .18); }

/* ── pre-workshop grid ── */
.gridbar { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; margin: 28px 0 18px; }
.gridbar .field { min-width: 280px; }
.counter { font-size: 14px; color: var(--muted); }
.counter b { color: var(--red); font-family: var(--serif); font-weight: 400; font-size: 24px; font-variant-numeric: tabular-nums; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
table.grid { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1500px; }
table.grid th { position: sticky; top: 0; background: #fff; text-align: left; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--text); padding: 14px 10px 12px; border-bottom: 1px solid var(--line-2); font-weight: 600; z-index: 1; }
table.grid th small { display: block; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--muted); margin-top: 3px; font-size: 11px; }
table.grid td { border-bottom: 1px solid var(--line); padding: 6px; vertical-align: top; }
table.grid tr:last-child td { border-bottom: 0; }
table.grid tr:hover td { background: #FCFAF8; }
table.grid textarea, table.grid input, table.grid select { border-color: transparent; background: transparent; padding: 8px 9px; border-radius: var(--radius); resize: none; min-height: 38px; font-size: 14px; line-height: 1.45; }
table.grid textarea:hover, table.grid input:hover, table.grid select:hover { border-color: var(--line-2); }
table.grid textarea:focus, table.grid input:focus, table.grid select:focus { background: #fff; }
td.ref { font-size: 12px; color: var(--muted); white-space: nowrap; padding: 15px 10px !important; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
td.ref .saving { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
td.ref .saving.ok { color: var(--muted); } td.ref .saving.err { color: var(--red); font-weight: 600; }
.star { background: #fff; border: 1px solid var(--line-2); border-radius: 999px; width: 38px; height: 38px; cursor: pointer; font-size: 16px; color: var(--muted); margin-top: 2px; display: inline-grid; place-items: center; }
.star:hover { border-color: var(--red); color: var(--red); }
.star.on { background: var(--red); border-color: var(--red); color: #fff; }
.del { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; padding: 10px; margin-top: 2px; opacity: .6; }
.del:hover { color: var(--red); opacity: 1; }
.empty { padding: 40px; text-align: center; color: var(--muted); }
.examples { margin-top: 40px; }
.examples summary { cursor: pointer; font-weight: 600; padding: 8px 0; list-style: none; display: flex; align-items: center; gap: 12px; }
.examples summary::before { content: ""; width: 32px; height: 1.5px; background: var(--red); }
.exgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 16px; }
.ex h3 { font-size: 21px; margin: 14px 0 8px; line-height: 1.2; }
.ex p { font-size: 14px; color: var(--muted); margin: 0 0 8px; line-height: 1.55; }
.ex p b { color: var(--text); font-weight: 600; }
.ex .ref { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px; }
.ex .btn { margin-top: 14px; }

@media (max-width: 900px) {
  table.grid { min-width: 0; }
  table.grid thead { display: none; }
  table.grid tbody { display: block; }
  table.grid tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 16px; border-bottom: 1px solid var(--line-2); }
  table.grid td { border: 0; padding: 0; display: flex; flex-direction: column; min-width: 0 !important; }
  table.grid td::before { content: attr(data-label); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 4px 0 4px; }
  table.grid td.wide { grid-column: 1 / -1; }
  table.grid td.ref::before, table.grid td.act::before { content: none; }
  table.grid textarea, table.grid input, table.grid select { border-color: var(--line); }
  td.act { flex-direction: row !important; gap: 8px; align-items: center; justify-content: flex-end; }
  .has-grid { padding-right: 0; }
  .has-grid::after { width: 52vw; top: -80px; height: calc(100% + 100px); opacity: .22; }
}

/* ── workshop (mobile first) ── */
.ws { max-width: 640px; margin: 0 auto; }
.ws h1 { font-size: clamp(36px, 9vw, 52px); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.tab { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 14px 16px; background: #fff; cursor: pointer; text-align: left; min-height: 64px; }
.tab b { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.tab span { font-family: var(--serif); font-size: 20px; line-height: 1.1; }
.tab.on { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.tab.on b { color: rgba(255, 255, 255, .7); }
.qs { display: flex; flex-direction: column; gap: 24px; }
.q > .lbl { display: block; margin-bottom: 6px; color: var(--text); font-size: 12px; }
.q .help { font-size: 14px; color: var(--muted); margin: 0 0 10px; line-height: 1.5; }
.q .req { color: var(--red); }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choice { text-align: left; border: 1px solid var(--line-2); background: #fff; border-radius: var(--radius-lg); padding: 13px 16px; cursor: pointer; min-height: 50px; font-size: 15px; line-height: 1.4; }
.choice:hover { border-color: var(--text); }
.choice.on { border-color: var(--red); background: var(--red-tint); box-shadow: inset 3px 0 0 var(--red); }
.choices.inline { flex-direction: row; flex-wrap: wrap; }
.choices.inline .choice { flex: 1 1 calc(50% - 8px); }
.ucpick { display: flex; flex-direction: column; gap: 8px; }
.ucpick .choice b { font-weight: 600; }
.ucpick .choice small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.5; }
.ucpick .choice .done { float: right; color: var(--burgundy); font-size: 12px; font-weight: 600; }
.submit { position: sticky; bottom: 0; padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(247, 242, 238, 0), var(--ground) 40%); }
.submit .btn { width: 100%; justify-content: center; padding: 17px; font-size: 16px; min-height: 54px; }
.sect { border-top: 1.5px solid var(--red); padding-top: 20px; }
.sect h2 { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.sect h2 .muted { font-family: var(--sans); font-size: 14px; }
.wshead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.wshead h1 { margin-bottom: 6px; }
.wshead .progress { margin-bottom: 10px; }

/* ── facilitator ── */
.units { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.unit h3 { margin: 12px 0 6px; font-size: 24px; line-height: 1.15; }
.unit .meta { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 16px 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--card); padding: 12px 8px 10px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--red); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.daygroup { margin-top: 40px; }
.daygroup > .lbl { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; color: var(--text); }
.daygroup > .lbl::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.dash { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(340px, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .dash { grid-template-columns: 1fr; } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 20px; }
.kpi { padding: 24px 26px 22px; }
.kpi b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 4.5vw, 64px); line-height: .95; color: var(--red); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi span { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 14px; }
.rank { display: flex; flex-direction: column; gap: 12px; }
.uc { display: grid; grid-template-columns: 64px minmax(0, 1fr) 184px; gap: 20px; align-items: start; padding: 22px 24px; }
.uc.top3 { border-color: var(--red); box-shadow: inset 3px 0 0 var(--red); }
.uc .num { font-family: var(--serif); font-size: 52px; line-height: .9; color: var(--line-2); letter-spacing: -.03em; font-variant-numeric: tabular-nums; padding-top: 4px; }
.uc.ranked .num { color: var(--red); }
.uc > div:nth-child(2) > .row { gap: 8px; }
.uc h3 { margin: 8px 0 4px; font-size: 24px; line-height: 1.15; }
.uc .sub { font-size: 12px; color: var(--muted); white-space: nowrap; letter-spacing: .02em; }
.uc p.sub { white-space: normal; font-style: italic; font-family: var(--serif); font-size: 14px; color: var(--muted); }
.bar { height: 3px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 14px 0 10px; }
.bar i { display: block; height: 100%; background: var(--field); border-radius: 999px; transition: width .9s var(--ease); }
.scores { display: flex; gap: 6px 18px; font-size: 12px; color: var(--muted); flex-wrap: wrap; white-space: nowrap; }
.scores b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.flags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.flag { font-size: 11px; border: 1px solid rgba(92, 11, 20, .35); color: var(--burgundy); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.cover { display: grid; grid-template-columns: auto repeat(5, 1fr); gap: 4px 6px; font-size: 9.5px; letter-spacing: .06em; color: var(--muted); align-items: center; text-transform: uppercase; }
.cover > span:nth-child(-n+6) { text-align: center; }
.cover > span:first-child, .cover > span:nth-child(7), .cover > span:nth-child(13) { text-align: left; white-space: nowrap; }
.cover .dot { height: 8px; border-radius: 2px; background: var(--ground); border: 1px solid var(--line); }
.cover .dot.on { background: var(--red); border-color: var(--red); } .cover .dot.on2 { background: var(--burgundy); border-color: var(--burgundy); }
.uc .acts { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.uc .acts .cover { margin-bottom: 8px; }
.uc .acts .btn { justify-content: center; }
.btn.on { background: var(--red); border-color: var(--red); color: #fff; }
.quad { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.3; }
.q-Quick { background: var(--red); color: #fff; }
.q-Big { background: var(--burgundy); color: #fff; }
.q-Fill-in { background: var(--sand-tint); color: #7A5A44; }
.q-Park { background: var(--ground); color: var(--muted); }
.matrix svg { width: 100%; height: auto; display: block; }
.matrix text { font-family: var(--sans); letter-spacing: .08em; }
.legend { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.updated { font-size: 12px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: 1px; animation: pulse 2.4s var(--ease-io) infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.outcome ol { margin: 12px 0 0; padding-left: 0; list-style: none; counter-reset: o; }
.outcome li { counter-increment: o; display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.outcome li::before { content: counter(o); font-family: var(--serif); font-size: 30px; color: var(--red); min-width: 24px; line-height: 1; }

/* QR screen */
.qrscreen { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; min-height: 72vh; }
.qrscreen .qr { background: #fff; padding: 28px; border-radius: 16px; max-width: 520px; width: 100%; justify-self: center; }
.qrscreen .qr img { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.qrscreen .url { font-size: clamp(16px, 2vw, 22px); word-break: break-all; color: #fff; margin-top: 16px; font-weight: 500; letter-spacing: .01em; }
@media (max-width: 900px) { .qrscreen { grid-template-columns: 1fr; } }
.qrsmall { background: #fff; padding: 6px; border-radius: var(--radius); width: 120px; border: 1px solid var(--line); }
.qrsmall img { width: 100%; display: block; image-rendering: pixelated; }

@media (max-width: 640px) {
  main { padding: 8px 16px 40px; }
  .top { padding: 18px 16px 12px; }
  .prog, .sep { display: none; }
  .logo-kq { height: 30px; }
  .foot { padding: 22px 16px; } .foot .inner { gap: 20px; } .foot .pillars { margin-left: 0; }
  .uc { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .uc .acts { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .uc .acts .cover { flex: 1 1 100%; }
  .kpis { grid-template-columns: 1fr; gap: 8px; }
  .kpi b { font-size: 40px; }
  .field-red { border-radius: 10px; }
}

/* ═══════════ Motion and graphic language (brand guide §05) ═══════════ */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rise-soft { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes trail { from { stroke-dashoffset: 80; } to { stroke-dashoffset: -920; } }
@keyframes runway { 0%, 100% { opacity: .22; } 10% { opacity: 1; } 30% { opacity: .22; } }
@keyframes pulse-dot { 0%, 100% { opacity: .15; } 50% { opacity: .85; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 100% { box-shadow: 0 0 0 34px rgba(255, 255, 255, 0); } }
@keyframes bump { 0% { background: var(--red-tint); } 100% { background: var(--card); } }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes drift { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }

/* staggered entrances: children of .enter rise in sequence (--i set in JS) — slow, settled, one easing */
.enter > *, .enter .stagger > * { animation: rise 1.1s var(--ease) both; animation-delay: calc(120ms + var(--i, 0) * 90ms); }
.enter .stagger > * { animation-name: rise-soft; animation-duration: .9s; animation-delay: calc(260ms + var(--i, 0) * 60ms); }
.enter h1 { animation: rise 1.3s var(--ease) both; animation-delay: 160ms; }
.enter .kicker { animation: fade 1s var(--ease) both; animation-delay: 60ms; }
.enter .bar i { animation: grow 1.4s .5s var(--ease) both; transform-origin: left; }
.enter .has-grid::after { animation: fade 2.2s var(--ease) both; animation-delay: .4s; }

/* red field: mandala turning, flight path crossing */
.field-red { position: relative; overflow: hidden; isolation: isolate; }
.field-red > :not(.field-art) { position: relative; z-index: 1; }
.field-art { position: absolute; inset: 0; pointer-events: none; z-index: 0; animation: fade 2.4s var(--ease) both; }
.field-art .mandala { position: absolute; right: -14%; top: 50%; width: min(82vh, 820px); height: auto; transform: translateY(-50%); opacity: .5; mix-blend-mode: multiply; }
.field-art .flightpath { display: none; }
/* rings turn about the mandala centre via SMIL (rotate 0 0) — immune to CSS transform-origin drift */
.mandala .ring { animation: none; }
@media (prefers-reduced-motion: reduce) { .mandala .ring animateTransform { display: none; } }
.flightpath .trail { stroke-dasharray: 140 1000; animation: trail 18s cubic-bezier(.45, 0, .2, 1) infinite; stroke-opacity: .7; }
.flightpath .trail, .flightpath animateMotion { animation-duration: 18s; }
.flightpath.white .trail { opacity: .85; }

/* light grounds: flight path behind the page heading */
.has-grid .flightpath { position: absolute; left: calc(-1 * var(--gutter)); top: -48px; width: calc(100% + 2 * var(--gutter)); height: calc(100% + 72px); z-index: 0; opacity: .4; pointer-events: none; }
.beadrule { display: block; width: min(560px, 100%); height: 14px; margin: 10px 0 24px; }
.beadrule .bead { animation: runway 5.2s var(--ease-io) infinite; }
.datacols { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; opacity: .45; pointer-events: none; }
.datacols .pulse-dot { animation: pulse-dot 5s var(--ease-io) infinite; }
.has-grid .datacols { right: min(30vw, 420px); height: 110%; top: -5%; opacity: .16; }
@media (max-width: 900px) { .has-grid .datacols { display: none; } }

/* progress circle */
.progress { flex: none; }
.progress .pfill { transition: stroke-dashoffset 1.6s var(--ease); }
.progress .ptext { font-family: var(--serif); font-size: 15px; fill: var(--text); }
.counter { display: inline-flex; align-items: center; gap: 14px; }
.unit .ringrow { display: flex; align-items: center; gap: 14px; }

/* interactions: tight, never springy */
.btn, .choice, .tab, .star { transition: transform .18s var(--ease), background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease); }
.btn:active, .choice:active, .tab:active, .star:active { transform: scale(.98); }
.choice.on { animation: fade .3s var(--ease); }
.star.on { animation: pop .5s var(--ease); }
.card { transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease); }
.unit:hover, .ex:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--line-2); }
td.ref .saving:not(:empty) { animation: fade .3s var(--ease); }
tr.new td { animation: bump 1.8s var(--ease); }

/* QR: a slow pulse invites the scan */
.qrscreen .qr { animation: glow 3.6s var(--ease-io) infinite; }

/* live dashboard */
.uc.bumped { animation: bump 2s var(--ease); }
.uc .num { transition: color .5s var(--ease); }
.matrix circle.dot { transition: cx 1s var(--ease), cy 1s var(--ease); }
.enter .matrix circle.dot, .enter .matrix text.dotlbl { animation: pop .8s var(--ease) both; animation-delay: calc(.6s + var(--i, 0) * 110ms); transform-box: fill-box; transform-origin: center; }

/* take-off after a submission */
.takeoff { position: fixed; inset: 0; pointer-events: none; z-index: 60; }
.takeoff .flightpath { width: 100%; height: 100%; }
.takeoff .flightpath .trail { stroke-dasharray: 260 1000; animation: trail 2s cubic-bezier(.6, 0, .2, 1) forwards; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .flightpath .plane { display: none; }
}

/* ── Descon skin: heavy headlines, 14° slant, no serif ── */
h1, h2, h3, .tab span, .unit h3, .uc h3, .ex h3, .kpi b, .stat b, .counter b, .uc .num, .outcome li::before, .progress .ptext { font-weight: 900 !important; letter-spacing: -.03em; }
h1 { font-style: italic; letter-spacing: -.04em; color: var(--burgundy); }
h1 .accent { color: var(--red); }
.uc p.sub { font-style: normal; }
.kicker b { color: var(--red); }
.field-red { background: var(--burgundy); border-radius: 0; }
.field-red::after { content: ""; position: absolute; inset: 0; background: var(--red); clip-path: polygon(74% 0, 100% 0, 100% 100%, 58% 100%); z-index: 0; pointer-events: none; }
.field-red h1 .accent { color: #fff; font-style: italic; }
.field-red .btn.primary { background: #fff; border-color: #fff; color: var(--burgundy); }
.field-red .btn.primary:hover { background: var(--ground); color: var(--red); }
.landing.field-red::before { background-image: url('assets/hero-plant.jpg'); background-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 70%); mask-image: linear-gradient(90deg, transparent 30%, #000 70%); opacity: .95; }
.landing.field-red::after { clip-path: none; background: linear-gradient(90deg, var(--burgundy) 0%, rgba(18,79,133,.78) 45%, rgba(18,79,133,.15) 100%); }
.landing.field-red .field-art { display: none; }
.field-art .mandala { display: none; }
.has-grid::after { display: none; }
.has-grid .datacols, .has-grid .flightpath { display: none; }
.has-grid { padding-right: 0; }
.has-grid::before { content: ""; position: absolute; top: -40px; right: calc(-1 * var(--gutter)); width: 22%; height: calc(100% + 80px); background: var(--red); clip-path: polygon(60% 0, 100% 0, 100% 100%, 0 100%); opacity: .08; pointer-events: none; z-index: 0; }
.beadrule { display: none; }
.bar i { background: var(--red); }
.uc.top3 { border-color: var(--burgundy); box-shadow: inset 3px 0 0 var(--burgundy); }
.uc.ranked .num { color: var(--red); }
.choice.on { border-color: var(--burgundy); background: var(--burg-tint); box-shadow: inset 3px 0 0 var(--burgundy); }
.star.on { background: var(--burgundy); border-color: var(--burgundy); }
.btn.on, .btn.primary { background: var(--red); border-color: var(--red); }
.q-Quick { background: var(--red); } .q-Big { background: var(--burgundy); } .q-Fill-in { background: var(--sand-tint); color: #7A5A1E; }
.lev-Risk { background: var(--sand-tint); color: #7A5A1E; }
.cover .dot.on2 { background: var(--burgundy); border-color: var(--burgundy); }
.kicker::before, .examples summary::before, .sect { border-color: var(--red); }
.logo-kq { height: 52px; }
@media (max-width: 640px) { .logo-kq { height: 40px; } }
.foot { background: var(--burgundy-deep); }
.foot::before { background: linear-gradient(90deg, var(--red), transparent 60%); }
.qrscreen .qr { border-radius: 4px; }
.qrscreen .qr { animation: glow 3.6s var(--ease-io) infinite; }
.flag { border-color: rgba(18,79,133,.4); color: var(--burgundy); }

/* ═══════════ Descon motion (14° slant), added ═══════════ */
@keyframes slant-in { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } to { clip-path: polygon(74% 0, 100% 0, 100% 100%, 58% 100%); } }
@keyframes kenburns { from { transform: scale(1.08) translateX(2%); } to { transform: scale(1) translateX(0); } }
@keyframes blade-in { from { transform: translateX(40%); opacity: 0; } to { transform: none; } }
@keyframes blade-drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-2.5%); } }
@keyframes tick { 0%, 100% { opacity: .15; } 30% { opacity: .9; } }
@keyframes st-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes glint { 0% { transform: translateX(-60px); opacity: 0; } 8% { opacity: .9; } 40%, 100% { transform: translateX(600px); opacity: 0; } }
@keyframes cell { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes wash-in { from { transform: translateX(30%); opacity: 0; } to { transform: none; opacity: .08; } }
@keyframes sweep { from { transform: translateX(-30%); } to { transform: translateX(130%); } }

.field-red::after { animation: slant-in 1.4s var(--ease) both; }
.landing.field-red::after { animation: none; }
.landing.field-red { overflow: hidden; }
.landing.field-red::before { animation: fade 2s var(--ease) both, kenburns 22s var(--ease-io) both; }
.landing.field-red .field-art { display: block; z-index: 0; }
.field-art .slants { position: absolute; right: 0; top: 0; height: 100%; width: 70%; }
.slants .blade { transform-box: fill-box; animation: blade-in 1.4s var(--ease) both, blade-drift 14s var(--ease-io) 1.6s infinite; }
.slants .b3 { animation-duration: 1.6s, 18s; }
.slants .ticks polygon { animation: tick 3.2s var(--ease-io) infinite; }
.qrscreen.field-red, .landing.field-red:not(:has(.lede)) { min-height: 60vh; }

.stripes { display: block; width: min(560px, 100%); height: 16px; margin: 12px 0 26px; overflow: visible; }
.stripes .st { transform-box: fill-box; transform-origin: left; animation: st-grow 1.1s var(--ease) both; }
.stripes .st2 { animation-delay: .25s; } .stripes .st3 { animation-delay: .45s; }
.stripes .glint { opacity: 0; mix-blend-mode: overlay; animation: glint 6s var(--ease-io) 1.6s infinite; }
.field-red .stripes .st1 { fill: #fff; }

.has-grid { isolation: isolate; }
.has-grid::before { opacity: .08; animation: wash-in 1.6s var(--ease) both; width: 26%; }
.has-grid .cells { display: block; position: absolute; right: 2%; top: 30px; height: 100%; width: auto; opacity: .7; pointer-events: none; z-index: 0; }
.cells .cell { animation: cell 5s var(--ease-io) infinite; }
@media (max-width: 900px) { .has-grid .cells { display: none; } }

.sweep { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.sweep svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: sweep 1.2s cubic-bezier(.6, 0, .2, 1) forwards; }
.sweep .sw1 { opacity: .9; } .sweep .sw2 { transform: translateX(120px); }

/* partner strip: CoCreate Tomorrow × AI Futuremakers, white on Steel Night */
.foot .logo-aifm { height: 22px; width: auto; }
.foot .x { color: rgba(255,255,255,.5); font-size: 14px; }
.q-Fill-ins { background: var(--sand-tint); color: #7A5A1E; }
.uc .acts .cover { grid-template-columns: auto repeat(5, 1fr); }
.landing.field-red h1 { color: #fff; }
.landing.field-red .kicker b { color: rgba(255,255,255,.75); }
.landing .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 6px 0 22px; background: rgba(255,255,255,.18); max-width: 720px; }
.landing .steps > div { background: rgba(13,27,42,.35); backdrop-filter: blur(6px); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.landing .steps b { font-weight: 900; font-style: italic; font-size: 22px; color: var(--sand); letter-spacing: -.02em; }
.landing .steps span { font-size: 14px; color: #fff; line-height: 1.45; }
@media (max-width: 760px) { .landing .steps { grid-template-columns: 1fr; } }
