/* ===============================================================
   Survey Results Game — AxiaOrigin × ValuesMove
   PREMIUM PRODUCT/DASHBOARD edition (this site). Light, layered,
   crisply typeset; brand accents used as precise signals. Vanilla
   CSS, no dependencies. Motion ≤600ms; honours reduced-motion.
   =============================================================== */

:root {
  /* brand accents — precise signals only */
  --crimson:   #FC2454;   /* match score + the one CTA */
  --sky:       #00B4E4;   /* data + interaction */
  --sky-ink:   #0B7FA3;   /* sky, legible as icon/text on light */
  --purple:    #90489C;   /* eyebrows, sparing */
  --aubergine: #2A2140;

  /* warm plum-neutral surfaces & ink */
  --page:      #ECE8E1;
  --surface:   #FFFFFF;
  --surface-2: #FBFAF7;
  --ink:       #221C2B;
  --ink-soft:  #5B5566;
  --ink-mute:  #8E8796;
  --line:      color-mix(in srgb, var(--ink) 11%, transparent);
  --line-2:    color-mix(in srgb, var(--ink) 19%, transparent);
  --paper:     #F7F3EE;   /* warm near-white — used by the §14/§15 dark chrome */
  --hairline:  var(--line);

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* type ramp */
  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.85rem);
  --step-0:  1rem;
  --step-1:  clamp(1.05rem, 1rem + 0.2vw, 1.15rem);
  --step-2:  clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
  --step-3:  clamp(1.4rem, 1.2rem + 0.9vw, 1.95rem);
  --step-4:  clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  --step-5:  clamp(2.1rem, 1.6rem + 2.3vw, 3.3rem);

  /* spacing scale */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;   --s-7: 3rem;     --s-8: 4rem;

  /* radii */
  --r-1: 10px; --r-2: 14px; --r-3: 20px; --r-pill: 999px;

  /* layered, faintly aubergine-tinted elevation */
  --shadow-1: 0 1px 2px rgba(34,28,43,0.04), 0 2px 8px -2px rgba(34,28,43,0.06);
  --shadow-2: 0 2px 4px rgba(34,28,43,0.04), 0 10px 28px -10px rgba(34,28,43,0.14);
  --shadow-3: 0 4px 10px -2px rgba(34,28,43,0.06), 0 22px 50px -18px rgba(34,28,43,0.20);
  --shadow-4: 0 10px 20px -6px rgba(34,28,43,0.08), 0 36px 70px -22px rgba(34,28,43,0.26);

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-1: 0.15s; --t-2: 0.28s; --t-3: 0.45s; --t-4: 0.55s;

  --maxw: 1080px;
  --banner-h: 4.9rem;
  --credit-h: 3.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.06rem);
  line-height: 1.65;
  background-color: var(--page);
  background-image:
    radial-gradient(1100px 560px at 82% -12%, color-mix(in srgb, var(--sky) 12%, transparent), transparent 62%),
    radial-gradient(1000px 620px at -5% 108%, color-mix(in srgb, var(--purple) 9%, transparent), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
  background-attachment: fixed, fixed, fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-optical-sizing: auto; font-weight: 600; line-height: 1.08; margin: 0; color: var(--ink); }

/* --- a11y helpers ----------------------------------------------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 60; background: var(--aubergine); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 6px 0; text-decoration: none; }
.skip-link:focus { left: 0; }
a:focus-visible, input:focus-visible, button:focus-visible, [tabindex]:focus-visible, .brand:focus-visible, .card:focus-visible {
  outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px;
}
.screen:focus { outline: none; }
.sr-status, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===============================================================
   BANNER — premium masthead: white, hairline, soft glass shadow
   =============================================================== */
.banner {
  position: relative; z-index: 50;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 6px 24px -16px rgba(34,28,43,0.5);
}
.banner__spine { height: 2px; background: linear-gradient(90deg, var(--crimson), var(--purple) 55%, var(--sky)); opacity: 0.85; }
.banner__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0.85rem 1.5rem; display: flex; align-items: center; justify-content: center; }
.banner__home {
  position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-soft);
  text-decoration: none; white-space: nowrap; padding: 0.45rem 0.8rem;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface-2);
  transition: color var(--t-1) var(--ease), border-color var(--t-1) var(--ease), background var(--t-1) var(--ease), box-shadow var(--t-1) var(--ease);
}
.banner__home:hover { color: var(--crimson); border-color: color-mix(in srgb, var(--crimson) 38%, var(--line)); box-shadow: var(--shadow-1); }
.banner__home-icon { width: 15px; height: 15px; display: block; }
.banner__lockup { display: flex; align-items: center; gap: clamp(1rem, 4vw, 2.4rem); }
.brand { display: inline-flex; align-items: center; }
.brand img { width: auto; transition: opacity var(--t-1) ease; }
.brand:hover img { opacity: 0.78; }
.brand--axia img { height: 26px; }
.brand--values img { height: 34px; }
.brand-divider { width: 1px; height: 32px; background: var(--line); }

/* ===============================================================
   SCREEN / VIEW — each screen composes the available height
   =============================================================== */
.screen {
  min-height: calc(100svh - var(--banner-h) - 4.5rem);
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--t-4) var(--ease), transform var(--t-4) var(--ease);
}
.screen.is-active { opacity: 1; transform: none; }
.screen[hidden] { display: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(1.75rem, 4vw, 3rem) 1.5rem clamp(0.85rem, 2vw, 1.25rem); }
.wrap--narrow { max-width: 720px; }

/* --- shared type ------------------------------------------------ */
.screen-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); }
.kicker { font-family: var(--font-body); font-weight: 600; font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase; color: var(--purple); margin: 0 0 var(--s-3); }
.screen-title { font-size: var(--step-5); letter-spacing: -0.02em; text-wrap: balance; }
.screen-title--q { font-size: var(--step-4); letter-spacing: -0.014em; }
.lede { margin: var(--s-4) auto 0; max-width: 52ch; color: var(--ink-soft); font-size: var(--step-1); line-height: 1.6; text-wrap: balance; }
.subhead { font-family: var(--font-body); font-weight: 600; font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 var(--s-4); }
.hint { text-align: center; color: var(--ink-soft); font-size: 0.95rem; margin: 0 auto; max-width: 52ch; }

/* --- buttons ---------------------------------------------------- */
.btn { font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; letter-spacing: 0.01em; padding: 0.9rem 1.7rem; border-radius: var(--r-pill); border: 1px solid transparent; cursor: pointer; transition: background var(--t-2) var(--ease), color var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease), transform var(--t-1) var(--ease), opacity var(--t-2) var(--ease); }
.btn--primary { background: var(--aubergine); color: #fff; box-shadow: var(--shadow-2); background-image: linear-gradient(180deg, color-mix(in srgb, #fff 8%, var(--aubergine)), var(--aubergine)); }
.btn--primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-3), 0 0 0 4px color-mix(in srgb, var(--sky) 18%, transparent); }
.btn--primary:active:not(:disabled) { transform: translateY(0) scale(0.985); }
.btn--primary:disabled { opacity: 0.38; cursor: not-allowed; }

.slots, .deck, .bars, .reality-list, .dignity-cards, .poll-dist { list-style: none; margin: 0; padding: 0; }

/* ===============================================================
   NAV — bottom-centre forward + fixed centre-left glass back arrow
   =============================================================== */
/* bottom margin sets the gap before the footer (button is hidden on the last screen) */
.nav-forward { max-width: var(--maxw); margin: clamp(0.6rem, 1.6vw, 1rem) auto clamp(2rem, 4.5vw, 3.25rem); padding: 0 1.5rem; display: flex; justify-content: center; }
.nav-forward[hidden] { display: none; }
#nav-next { display: inline-flex; align-items: center; gap: 0.5rem; }
.nav-forward__icon { width: 18px; height: 18px; display: block; }

.nav-back {
  position: fixed; left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%);
  z-index: 45; width: 48px; height: 48px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-soft); border: 1px solid var(--line); border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow-2); cursor: pointer;
  transition: color var(--t-1) var(--ease), border-color var(--t-1) var(--ease), box-shadow var(--t-2) var(--ease), transform var(--t-1) var(--ease);
}
.nav-back svg { width: 20px; height: 20px; display: block; }
.nav-back:hover { color: var(--crimson); border-color: color-mix(in srgb, var(--crimson) 38%, var(--line)); box-shadow: var(--shadow-3); transform: translateY(-50%) scale(1.06); }
.nav-back[hidden] { display: none; }

/* ===============================================================
   SCREEN 1 — prediction
   =============================================================== */
.game { width: 100%; max-width: 980px; margin: 0 auto; display: grid; gap: clamp(1.4rem, 3.5vw, 2.2rem); }
.hint { order: -1; }

.deck-zone.is-empty { display: none; }
.deck-zone.is-over { outline: 2px dashed color-mix(in srgb, var(--sky) 55%, transparent); outline-offset: 6px; border-radius: var(--r-3); }
.deck { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-3); }

/* card (deck + slot) */
.card {
  position: relative; display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 62px;
  padding: 0.7rem 0.85rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2);
  box-shadow: var(--shadow-1); cursor: grab; user-select: none; touch-action: none;
  transition: box-shadow var(--t-2) var(--ease), transform var(--t-1) var(--ease), border-color var(--t-2) var(--ease);
}
.card:hover { box-shadow: var(--shadow-3); transform: translateY(-2px); border-color: var(--line-2); }
.card:active { cursor: grabbing; }
.card.is-dragging { opacity: 0.35; }
.card__icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; color: var(--sky-ink); background: color-mix(in srgb, var(--sky) 10%, var(--surface)); border-radius: 10px; }
.card__icon svg { width: 21px; height: 21px; }
.card__label { flex: 1; min-width: 0; font-weight: 500; font-size: var(--step-1); line-height: 1.25; overflow-wrap: anywhere; }

/* options sit in a row on top; keep them a touch smaller so the longer labels
   (e.g. "Care for the disadvantaged") wrap inside the card instead of bleeding */
.deck .card { padding: 0.7rem 0.8rem; }
.deck .card .card__icon { width: 32px; height: 32px; }
.deck .card .card__icon svg { width: 19px; height: 19px; }
.deck .card .card__label { font-size: 0.82rem; line-height: 1.22; }
.card__controls { display: inline-flex; gap: 0.25rem; flex: 0 0 auto; }
.card__step { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; color: var(--ink-soft); cursor: pointer; transition: color var(--t-1) ease, border-color var(--t-1) ease, background var(--t-1) ease, transform var(--t-1) ease; }
.card__step svg { width: 16px; height: 16px; display: block; }
.card__step:hover:not(:disabled) { color: var(--sky-ink); border-color: color-mix(in srgb, var(--sky) 50%, var(--line)); transform: translateY(-1px); }
.card__step:disabled { opacity: 0.3; cursor: default; }

.drag-clone { position: fixed; z-index: 80; margin: 0; pointer-events: none; transform: none; transition: transform var(--t-1) var(--ease), box-shadow var(--t-1) var(--ease); }
.drag-clone.is-lifted { transform: scale(1.05) rotate(2deg); box-shadow: var(--shadow-4); }

/* dropzone */
.dropzone { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); padding: clamp(0.9rem, 2.2vw, 1.4rem); box-shadow: var(--shadow-2); }
.dropzone__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); flex-wrap: wrap; }
.dropzone__title { font-family: var(--font-head); font-weight: 600; font-size: var(--step-2); }
.dropzone__legend { font-size: var(--step--1); color: var(--ink-mute); letter-spacing: 0.02em; }
.dropzone__legend b { color: var(--sky-ink); font-weight: 700; }

.slots { display: grid; gap: var(--s-3); }
.slot { display: flex; align-items: center; gap: var(--s-3); min-height: 64px; padding: 0.35rem 0.5rem 0.35rem 0.4rem; border-radius: var(--r-2); border: 1px solid transparent; transition: border-color var(--t-2) ease, background var(--t-2) ease, box-shadow var(--t-2) ease, transform var(--t-1) ease; }
.slot:not(.is-filled) { background: color-mix(in srgb, var(--ink) 3.5%, transparent); box-shadow: inset 0 1px 2px rgba(34,28,43,0.05); border-color: var(--line); }
.slot.is-over { border-color: var(--sky); background: color-mix(in srgb, var(--sky) 10%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 22%, transparent), var(--shadow-2); transform: translateY(-1px); }
.slot__num { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 1.1rem; color: var(--ink-mute); background: transparent; border: 1px solid var(--line-2); border-radius: 50%; transition: color var(--t-2) ease, background var(--t-2) ease, border-color var(--t-2) ease; }
.slot.is-filled .slot__num { color: #fff; background: var(--aubergine); border-color: transparent; box-shadow: var(--shadow-1); }
.slot__empty { flex: 1; color: var(--ink-mute); font-size: 0.92rem; padding-left: 0.1rem; }
.slot .card { box-shadow: none; border-color: transparent; background: transparent; }
.slot .card:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); border-color: var(--line); box-shadow: none; transform: none; }

.place-msg { min-height: 1.5em; margin: 0; text-align: center; font-family: var(--font-head); font-size: var(--step-1); color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity var(--t-2) ease, transform var(--t-2) ease; }
.place-msg.is-in { opacity: 1; transform: none; }

/* ===============================================================
   SCREEN 2 — dashboard
   =============================================================== */
.dashboard { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
@media (min-width: 820px) {
  .dashboard { grid-template-columns: 1.7fr 1fr; grid-template-areas: "score score" "chart reality"; align-items: stretch; }
  .score-card { grid-area: score; }
  .chart-card { grid-area: chart; }
  .reality-card { grid-area: reality; }
}
.score-card, .chart-card, .reality-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow-2); padding: clamp(1.3rem, 2.6vw, 1.9rem); }

/* score hero — compact, tinted wash */
.score-card { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 0.2rem; text-align: center; background-image: radial-gradient(420px 220px at 50% 0%, color-mix(in srgb, var(--crimson) 7%, transparent), transparent 70%); }
.score-card .kicker { color: var(--ink-mute); }
.score-ring { --p: 0; position: relative; width: clamp(150px, 34vw, 188px); aspect-ratio: 1; margin: 0.4rem auto 0.7rem; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(from -90deg, var(--crimson) calc(var(--p) * 1%), color-mix(in srgb, var(--ink) 8%, var(--page)) 0); }
.score-ring::before { content: ""; position: absolute; inset: 15px; background: var(--surface); border-radius: 50%; box-shadow: inset 0 1px 6px rgba(34,28,43,0.07); }
.score-ring__num { position: relative; font-family: var(--font-head); font-optical-sizing: auto; font-weight: 600; font-variant-numeric: tabular-nums; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3rem); letter-spacing: -0.02em; }
.score-band { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: var(--step-2); color: var(--crimson); }
.score-tagline { margin: 0.25rem 0 0; color: var(--ink-soft); font-size: var(--step-0); opacity: 0; transform: translateY(4px); transition: opacity var(--t-2) ease, transform var(--t-2) ease; }
.score-tagline.is-in { opacity: 1; transform: none; }

/* toggle */
.toggle { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-bottom: var(--s-5); }
.toggle__label { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.02em; color: var(--ink-mute); transition: color var(--t-2) ease; }
.chart-card.view-yours .toggle__label--yours { color: var(--ink); }
.chart-card.view-actual .toggle__label--actual { color: var(--ink); }
.toggle__switch { position: relative; flex: 0 0 auto; width: 52px; height: 28px; padding: 0; border: none; border-radius: var(--r-pill); background: var(--line-2); cursor: pointer; transition: background var(--t-2) ease; }
.toggle__switch[aria-checked="true"] { background: var(--sky); box-shadow: 0 0 16px -4px color-mix(in srgb, var(--sky) 70%, transparent); }
.toggle__knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform var(--t-2) var(--ease); }
.toggle__switch[aria-checked="true"] .toggle__knob { transform: translateX(24px); }

/* bars */
.bars { display: grid; gap: clamp(0.7rem, 1.6vw, 1rem); }
.bar-row { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: center; will-change: transform; }
.bar-rank { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 0.9rem; color: var(--ink-mute); background: transparent; border: 1px solid var(--line-2); border-radius: 50%; transition: background var(--t-2) ease, color var(--t-2) ease, border-color var(--t-2) ease, box-shadow var(--t-2) ease; }
.bar-row.is-correct .bar-rank { background: var(--sky); border-color: transparent; color: #fff; box-shadow: 0 0 14px -4px color-mix(in srgb, var(--sky) 70%, transparent); }
.bar-top { display: flex; align-items: center; gap: var(--s-2); margin-bottom: 0.35rem; font-size: 0.96rem; }
.bar-icon { flex: 0 0 auto; width: 22px; height: 22px; color: var(--ink-mute); display: inline-grid; place-items: center; }
.bar-icon svg { width: 18px; height: 18px; }
.bar-label { font-weight: 500; }
.bar-flag { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--crimson); border: 1px solid color-mix(in srgb, var(--crimson) 40%, transparent); border-radius: var(--r-pill); padding: 0.08rem 0.55rem; white-space: nowrap; }
.bar-pct { margin-left: auto; font-family: var(--font-head); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.05rem; }
.bar-track { height: 9px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 7%, var(--surface)); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, color-mix(in srgb, var(--sky) 72%, #0883ac), var(--sky)); box-shadow: 0 1px 7px -1px color-mix(in srgb, var(--sky) 50%, transparent); transition: width var(--t-3) var(--ease); }

/* current reality — sober, tinted panel */
.reality-card { background: linear-gradient(180deg, color-mix(in srgb, var(--aubergine) 4%, var(--surface)), var(--surface)); }
.reality-note { margin: 0 0 var(--s-5); color: var(--ink-soft); font-size: 0.95rem; }
.reality-list { display: grid; gap: clamp(0.7rem, 1.6vw, 1rem); }
.reality-row { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 0.6rem; align-items: center; }
.reality-label { font-weight: 500; }
.reality-pct { font-family: var(--font-head); font-variant-numeric: tabular-nums; font-weight: 600; color: var(--aubergine); }
.reality-track { grid-column: 1 / -1; height: 8px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--aubergine) 9%, var(--surface)); overflow: hidden; }
.reality-fill { display: block; height: 100%; border-radius: var(--r-pill); background: color-mix(in srgb, var(--aubergine) 78%, var(--ink-mute)); transition: width var(--t-3) var(--ease); }

/* standout callout to dignity */
.cta-callout { max-width: 46ch; margin: clamp(1.5rem, 4vw, 2.25rem) auto 0; text-align: center; font-family: var(--font-head); font-optical-sizing: auto; font-weight: 600; font-size: var(--step-3); line-height: 1.3; color: var(--ink); text-wrap: balance; }

/* ===============================================================
   SCREEN 3 — dignity
   =============================================================== */
.dignity-cards { display: grid; gap: clamp(0.9rem, 2.5vw, 1.5rem); }
@media (min-width: 760px) { .dignity-cards { grid-template-columns: repeat(3, 1fr); } }
.dignity-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow-2); padding: clamp(1.4rem, 2.6vw, 1.9rem); opacity: 0; transform: translateY(12px); transition: opacity var(--t-3) var(--ease), transform var(--t-3) var(--ease); transition-delay: calc(var(--i) * 70ms); }
.dignity-card::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--purple), color-mix(in srgb, var(--purple) 40%, var(--sky))); }
.dignity-card.is-in { opacity: 1; transform: none; }
.dignity-card__ghost { position: absolute; top: -0.6rem; right: 0.2rem; font-family: var(--font-head); font-weight: 600; font-size: 5.5rem; line-height: 1; color: color-mix(in srgb, var(--ink) 5%, transparent); pointer-events: none; }
.dignity-card__stat { position: relative; display: block; font-family: var(--font-head); font-optical-sizing: auto; font-weight: 600; font-variant-numeric: tabular-nums; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.2rem); line-height: 1; color: var(--aubergine); margin-bottom: var(--s-3); letter-spacing: -0.02em; }
.dignity-card__title { position: relative; font-size: var(--step-2); margin-bottom: var(--s-2); }
.dignity-card__body { position: relative; margin: 0; color: var(--ink-soft); font-size: var(--step-0); line-height: 1.6; }

/* ===============================================================
   SCREEN 4 — poll
   =============================================================== */
.poll-options { display: grid; gap: var(--s-3); margin: 0 auto; max-width: 640px; }
@media (min-width: 560px) { .poll-options { grid-template-columns: repeat(3, 1fr); } }
.poll-option { display: flex; align-items: center; gap: 0.65rem; padding: 1.05rem 1.15rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); cursor: pointer; box-shadow: var(--shadow-1); transition: transform var(--t-1) ease, box-shadow var(--t-2) ease, background var(--t-2) ease, border-color var(--t-2) ease, opacity var(--t-2) ease; }
.poll-option__key { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink-mute); transition: background var(--t-2) ease, color var(--t-2) ease, border-color var(--t-2) ease; }
.poll-option__label { font-size: var(--step-1); font-weight: 600; }
.poll-option:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-3); border-color: color-mix(in srgb, var(--sky) 45%, var(--line)); }
.poll-option:active:not(:disabled) { transform: translateY(0) scale(0.985); }
.poll-option.is-selected { background: color-mix(in srgb, var(--sky) 11%, var(--surface)); border-color: var(--sky); box-shadow: var(--shadow-2), 0 0 0 3px color-mix(in srgb, var(--sky) 22%, transparent); }
.poll-option.is-selected .poll-option__key { background: var(--sky); border-color: transparent; color: #fff; }
.poll-option:disabled:not(.is-selected) { opacity: 0.45; cursor: default; }

.poll-result { margin: clamp(1.6rem, 4vw, 2.25rem) auto 0; max-width: 30rem; }
.poll-result.is-in { } /* container reveal handled by children */
.poll-result[hidden] { display: none; }
.poll-result { opacity: 0; transform: translateY(12px); transition: opacity var(--t-4) var(--ease), transform var(--t-4) var(--ease); }
.poll-result.is-in { opacity: 1; transform: none; }
.poll-dist { display: grid; gap: var(--s-3); }
.poll-dist__row { display: grid; grid-template-columns: 4.25rem 1fr 2.75rem; align-items: center; gap: 0.7rem; }
.poll-dist__label { font-weight: 600; font-size: 0.95rem; color: var(--ink-mute); }
.poll-dist__track { height: 9px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 7%, var(--surface)); overflow: hidden; }
.poll-dist__fill { display: block; height: 100%; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 20%, var(--surface)); transition: width var(--t-3) var(--ease); }
.poll-dist__pct { text-align: right; font-family: var(--font-head); font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-mute); }
.poll-dist__row.is-chosen .poll-dist__label, .poll-dist__row.is-chosen .poll-dist__pct { color: var(--ink); }
.poll-dist__row.is-chosen .poll-dist__fill { background: linear-gradient(90deg, color-mix(in srgb, var(--sky) 72%, #0883ac), var(--sky)); box-shadow: 0 1px 7px -1px color-mix(in srgb, var(--sky) 50%, transparent); }
.poll-dist__pending { list-style: none; text-align: center; color: var(--ink-mute); font-size: 0.95rem; padding: 0.5rem 0; animation: pollPulse 1.2s ease-in-out infinite; }
@keyframes pollPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .poll-dist__pending { animation: none; } }
.poll-result__text { margin: var(--s-5) 0 0; text-align: center; color: var(--ink-soft); font-size: var(--step-1); }
.poll-result__pct { color: var(--sky-ink); font-family: var(--font-head); font-variant-numeric: tabular-nums; font-weight: 600; }
.poll-result__thanks { margin: var(--s-3) 0 0; text-align: center; font-family: var(--font-head); font-optical-sizing: auto; font-weight: 600; font-size: var(--step-2); color: var(--ink); }

.poll-note { margin: var(--s-4) auto 0; max-width: 40ch; text-align: center; color: var(--ink-mute); font-size: var(--step--1); }
.poll-cta { display: flex; justify-content: center; margin: clamp(1.5rem, 4vw, 2.25rem) auto 0; }
.cta-linkedin { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.85rem 1.6rem; background: var(--crimson); color: #fff; font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; line-height: 1; text-decoration: none; border-radius: var(--r-pill); box-shadow: var(--shadow-2); transition: background var(--t-1) ease; }
.cta-linkedin:hover { background: color-mix(in srgb, var(--crimson) 85%, #000); }
.cta-linkedin__icon { width: 20px; height: 20px; flex: 0 0 auto; }

/* ===============================================================
   §14 — "Why are we doing this?" disclosure (banner tab + drawer)
   =============================================================== */
.banner__why {
  position: absolute; right: clamp(1rem, 3vw, 2rem); top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 1rem; border: 0; border-radius: var(--r-pill);
  --why-shadow: 0 6px 18px -6px color-mix(in srgb, var(--crimson) 55%, transparent);
  background: linear-gradient(135deg, var(--crimson), var(--purple));
  color: #fff; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  line-height: 1; white-space: nowrap; cursor: pointer; box-shadow: var(--why-shadow);
  transition: box-shadow 0.15s ease, filter 0.15s ease;
}
.banner__why:hover { filter: brightness(1.06); box-shadow: 0 10px 26px -6px color-mix(in srgb, var(--crimson) 62%, transparent); }
.banner__why-chevron { width: 15px; height: 15px; flex: 0 0 auto; transition: transform 0.3s ease; }
.banner__why[aria-expanded="true"] .banner__why-chevron { transform: rotate(180deg); }
@keyframes whyPulse {
  0%   { box-shadow: var(--why-shadow), 0 0 0 0    color-mix(in srgb, var(--crimson) 50%, transparent); }
  70%  { box-shadow: var(--why-shadow), 0 0 0 13px color-mix(in srgb, var(--crimson) 0%, transparent); }
  100% { box-shadow: var(--why-shadow), 0 0 0 0    color-mix(in srgb, var(--crimson) 0%, transparent); }
}
.banner__why.is-hint { animation: whyPulse 1.5s ease-out 0s 3; }
.why-drawer { position: absolute; left: 0; right: 0; top: 100%; background: var(--aubergine);
  box-shadow: 0 24px 40px -18px rgba(36,31,43,0.55); display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s ease; }
.banner.is-why-open .why-drawer { grid-template-rows: 1fr; }
.why-drawer__clip { overflow: hidden; }
.why-drawer__content { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(1.9rem, 5vw, 2.9rem) clamp(1.5rem, 4vw, 2.6rem); }
.why-drawer__content h2 { margin: 0 0 1rem; font-size: clamp(1.4rem, 1.05rem + 1.1vw, 2rem); font-weight: 600; color: var(--surface); }
.why-drawer__content p { margin: 0 0 0.9rem; max-width: 66ch; line-height: 1.65; font-size: clamp(1rem, 0.96rem + 0.3vw, 1.12rem); color: color-mix(in srgb, var(--paper) 82%, var(--aubergine)); }
.why-drawer__contact { font-size: 0.95rem; color: color-mix(in srgb, var(--paper) 64%, var(--aubergine)); }
.why-drawer__contact a { color: var(--surface); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--paper) 30%, transparent); }
.why-drawer__contact a:hover { color: var(--crimson); border-color: var(--crimson); }
.why-drawer__close { position: absolute; top: clamp(1rem, 2.5vw, 1.5rem); right: clamp(1rem, 3vw, 1.8rem);
  width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--paper) 32%, transparent); background: transparent;
  color: color-mix(in srgb, var(--paper) 75%, var(--aubergine)); cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease; }
.why-drawer__close svg { width: 18px; height: 18px; }
.why-drawer__close:hover { color: #fff; border-color: var(--crimson); background: color-mix(in srgb, var(--crimson) 24%, transparent); }

/* ===============================================================
   §15 — Co-branded footer (deep near-black colophon)
   =============================================================== */
.footer { background: color-mix(in srgb, var(--ink) 82%, #000); color: var(--surface);
  border-top: 1px solid color-mix(in srgb, var(--paper) 12%, transparent);
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: clamp(1.6rem, 5vw, 3rem) clamp(2rem, 6vw, 4rem); }
.footer__message { flex: 1 1 420px; max-width: 640px; }
.footer__lead { margin: 0; font-family: var(--font-head); font-optical-sizing: auto; font-weight: 600; font-size: clamp(1.2rem, 1.02rem + 0.8vw, 1.6rem); line-height: 1.35; color: var(--surface); }
.footer__body { margin: clamp(0.9rem, 2vw, 1.15rem) 0 0; max-width: 60ch; font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--paper) 74%, var(--aubergine)); }
.footer__contact { flex: 0 0 auto; }
.footer__contact-title { margin: 0 0 0.75rem; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 56%, var(--aubergine)); }
.footer__contact-list { list-style: none; margin: 0; padding: 0; }
.footer__contact-list li { margin: 0 0 0.5rem; }
.footer__contact-list li:last-child { margin-bottom: 0; }
.footer__contact-list a { color: var(--surface); font-size: 1rem; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--paper) 26%, transparent); transition: color 0.15s ease, border-color 0.15s ease; }
.footer__contact-list a:hover { color: var(--crimson); border-color: var(--crimson); }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 1.75rem; margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: clamp(1.5rem, 4vw, 2.25rem); border-top: 1px solid color-mix(in srgb, var(--paper) 12%, transparent); }
.footer__lockup { display: inline-flex; align-items: center; gap: clamp(0.9rem, 3vw, 1.5rem); }
.footer__lockup .brand--axia img { height: 58px; }
.footer__lockup .brand--values img { height: 38px; }
.footer__lockup .brand-divider { height: 44px; background: color-mix(in srgb, var(--paper) 22%, transparent); }
.footer__meta { margin: 0; font-size: 0.82rem; letter-spacing: 0.02em; color: color-mix(in srgb, var(--paper) 56%, var(--aubergine)); }
.footer__methodology { margin: clamp(1rem, 3vw, 1.5rem) 0 0; font-size: 0.78rem; line-height: 1.5; color: color-mix(in srgb, var(--paper) 42%, var(--aubergine)); }

/* ===============================================================
   RESPONSIVE
   =============================================================== */
@media (max-width: 768px) {
  :root { --banner-h: 9.5rem; }
  .banner__inner { position: static; flex-direction: column; gap: 0.8rem; text-align: center; }
  .banner__home, .banner__why { position: static; transform: none; }
}
@media (max-width: 600px) {
  .banner__lockup { gap: 1.1rem; }
  .brand--axia img { height: 21px; }
  .brand--values img { height: 27px; }
  .brand-divider { height: 24px; }
  .nav-back { width: 42px; height: 42px; }
}

/* ===============================================================
   Motion — honour reduced-motion
   =============================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .screen { transform: none; }
}
