/*
 * NOWON Radio - Donate page.
 *
 * TABLE OF CONTENTS
 *  1. Give panel
 *  2. Dial
 *  3. Membership tiers
 *  4. Budget
 *  5. Monthly goal
 *  6. Supporter wall
 *  7. Small print (FAQ)
 *  8. Media queries
 */

/* ==========================================================================
   1. Give panel
   ========================================================================== */
.section-note--wide {
  max-width: 440px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr));
  gap: 30px;
  align-items: stretch;
}

.give-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 2.6vw, 40px);
  border: 1.5px solid var(--line);
  border-radius: 26px;
  background: var(--surface-1);
}

.give-panel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.freq-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: min(100%, 340px);
  padding: 4px;
  border-radius: var(--radius-pill);
  background: #0e0d0c;
}

.freq-switch__item {
  height: 46px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  transition: background .25s ease, color .25s ease;
}

.freq-switch__item[aria-pressed="true"] {
  background: var(--acc);
  color: var(--ink-dark);
}

.give-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-top: 34px;
}

.give-amount__value {
  color: var(--acc);
  font-weight: 900;
  font-size: clamp(72px, 6.7vw, 128px);
  line-height: .85;
  letter-spacing: -.06em;
}

.give-amount__per {
  color: var(--ink-75);
  font-weight: 200;
  font-size: 34px;
}

.give-impact {
  max-width: 640px;
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.5;
}

.give-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(245, 237, 216, .1);
}

.give-stat {
  padding: 20px 22px;
  background: var(--bg);
}

.give-stat__key {
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
}

.give-stat__value {
  margin: 8px 0 0;
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -.03em;
}

.give-stat__note {
  margin: 4px 0 0;
  color: var(--ink-60);
  font-size: 12px;
}

.give-panel__label {
  margin-top: 30px;
}

.split-bar {
  display: flex;
  gap: 2px;
  height: 12px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 6px;
}

.split-bar__seg:nth-child(1) { flex: 18; }
.split-bar__seg:nth-child(2) { flex: 27; }
.split-bar__seg:nth-child(3) { flex: 21; }
.split-bar__seg:nth-child(4) { flex: 28; }
.split-bar__seg:nth-child(5) { flex: 6; }

.split-colour--streams { background: #5b8def; }
.split-colour--licences { background: var(--acc); }
.split-colour--studio { background: var(--live); }
.split-colour--people { background: var(--ok); }
.split-colour--archive { background: #e9a0b8; }

.split-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.split-legend__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 12px;
}

.split-legend__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.split-legend__value {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 13px;
}

.give-goal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
}

.give-goal__name {
  color: var(--ink-60);
}

.give-goal__bar {
  position: relative;
  height: 10px;
  margin-top: 10px;
  border-radius: 5px;
  background: rgba(245, 237, 216, .08);
}

.give-goal__base {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 68.667%;
  border-radius: 5px;
  background: color-mix(in srgb, var(--acc) 55%, transparent);
}

.give-goal__add {
  position: absolute;
  left: 68.667%;
  top: 0;
  bottom: 0;
  width: var(--add, 0%);
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc-80);
  transition: width .3s ease;
}

.give-panel__spacer {
  flex: 1;
  min-height: 30px;
}

.give-panel__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pay-method {
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid rgba(245, 237, 216, .18);
  border-radius: 12px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
}

.pay-method[aria-pressed="true"] {
  border-color: var(--acc);
  background: var(--acc);
  color: var(--ink-dark);
}

.give-cta {
  flex: 1;
  min-width: 240px;
  height: 62px;
  font-weight: 900;
  font-size: 15px;
}

.give-cta.is-given {
  background: var(--ok);
}

/* ==========================================================================
   2. Dial. --k is one design pixel: every size scales with it on small screens.
   ========================================================================== */
.dial-panel {
  --k: 1px;
  --knob-grip: repeating-conic-gradient(#6f6a61 0 1.5deg, #2c2a26 1.5deg 3deg);
  --knob-face: conic-gradient(from 20deg, #bdb7ab, #efeadf 12%, #8e897f 30%, #d8d2c6 48%, #7d786e 62%, #e8e2d6 78%, #a9a397 90%, #bdb7ab);
  --knob-brush: repeating-radial-gradient(circle, rgba(0, 0, 0, .05) 0 1px, transparent 1px 3px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 60px 20px 40px;
  overflow: hidden;
  border: 1px solid rgba(245, 237, 216, .07);
  border-radius: 26px;
  background: linear-gradient(160deg, #2e2c28, #1a1917 70%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(245, 237, 216, .08);
}

.dial-panel__top {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .25em;
}

.screw {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5a5650;
}

.screw--tl { left: 18px; top: 18px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .6); }
.screw--tr { right: 18px; top: 18px; }
.screw--bl { left: 18px; bottom: 18px; }
.screw--br { right: 18px; bottom: 18px; }

.dial {
  position: relative;
  flex: none;
  width: calc(var(--k) * 560);
  height: calc(var(--k) * 560);
}

.led {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--led-angle, 0deg));
}

.led__bar {
  position: absolute;
  left: calc(var(--k) * -4);
  top: calc(var(--k) * -272);
  width: calc(var(--k) * 8);
  height: calc(var(--k) * 22);
  border-radius: 4px;
  background: rgba(245, 237, 216, .08);
  transition: background .2s ease, box-shadow .2s ease;
}

.led--green { --led: var(--ok); }
.led--accent { --led: var(--acc); }
.led--red { --led: var(--live); }

.led.is-on .led__bar {
  background: var(--led);
  box-shadow: 0 0 10px var(--led);
}

.led__text {
  position: absolute;
  left: -30px;
  top: calc(var(--k) * -244);
  width: 60px;
  color: var(--ink-60);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  transform: rotate(calc(var(--led-angle, 0deg) * -1));
}

.led.is-on .led__text {
  color: var(--acc);
}

.dial__well {
  position: absolute;
  left: calc(var(--k) * 90);
  top: calc(var(--k) * 90);
  width: calc(var(--k) * 380);
  height: calc(var(--k) * 380);
  border-radius: 50%;
  background: #0d0c0b;
  box-shadow: inset 0 6px 20px rgba(0, 0, 0, .9), 0 1px 0 rgba(245, 237, 216, .08);
}

.knob {
  position: absolute;
  left: calc(var(--k) * 110);
  top: calc(var(--k) * 110);
  width: calc(var(--k) * 340);
  height: calc(var(--k) * 340);
  border-radius: 50%;
  box-shadow: 0 30px 50px rgba(0, 0, 0, .7), 0 8px 14px rgba(0, 0, 0, .5);
  cursor: grab;
  touch-action: none;
}

.knob.is-dragging {
  cursor: grabbing;
}

.knob__grip,
.knob__face,
.knob__brush,
.knob__pointer {
  position: absolute;
  border-radius: 50%;
}

.knob__grip {
  inset: 0;
  background: var(--knob-grip);
  transform: rotate(var(--knob-angle, 0deg));
  transition: transform .45s cubic-bezier(.3, 1.3, .5, 1);
}

.knob__face,
.knob__brush,
.knob__pointer {
  inset: calc(var(--k) * 16);
}

.knob__face {
  background: var(--knob-face);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .5), inset 0 -6px 14px rgba(0, 0, 0, .35);
}

.knob__brush {
  background: var(--knob-brush);
}

.knob__pointer {
  transform: rotate(var(--knob-angle, 0deg));
  transition: transform .45s cubic-bezier(.3, 1.3, .5, 1);
}

.knob.is-dragging .knob__grip,
.knob.is-dragging .knob__pointer {
  transition: none;
}

.knob__mark {
  position: absolute;
  left: 50%;
  top: calc(var(--k) * 18);
  width: calc(var(--k) * 8);
  height: calc(var(--k) * 60);
  margin-left: calc(var(--k) * -4);
  border-radius: 4px;
  background: var(--acc);
  box-shadow: 0 0 14px var(--acc-80), inset 0 1px 1px rgba(255, 255, 255, .6);
}

.knob__cap {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--k) * 90);
  height: calc(var(--k) * 90);
  margin: calc(var(--k) * -45) 0 0 calc(var(--k) * -45);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #d8d2c6, #8e897f);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35);
  color: #121110;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .16em;
}

.dial-presets {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.dial-preset {
  width: 84px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(180deg, #3a3732, #24221f);
  box-shadow: 0 5px 0 #121110, 0 10px 18px rgba(0, 0, 0, .4);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, color .15s ease;
}

.dial-preset[aria-pressed="true"] {
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .7);
  color: var(--acc);
  transform: translateY(3px);
}

.dial-panel__hint {
  margin-top: 16px;
}

/* ==========================================================================
   3. Membership tiers
   ========================================================================== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  background: var(--surface-1);
  transition: transform .35s var(--ease-slide), border-color .35s ease, background .35s ease, color .35s ease;
}

.tier-card > * {
  position: relative;
}

.tier-card:hover {
  border-color: var(--acc);
}

.tier-card:hover:not(.is-selected) {
  transform: translateY(-6px);
}

.tier-card.is-selected {
  border-color: var(--acc);
  background: var(--acc);
  color: var(--ink-dark);
}

.tier-card > .tier-card__disc {
  position: absolute;
  right: -70px;
  top: -70px;
  width: 200px;
  height: 200px;
  opacity: .15;
  animation: spin 4s linear infinite;
  animation-play-state: paused;
  transition: opacity .35s ease;
}

.tier-card:hover > .tier-card__disc {
  opacity: .5;
  animation-play-state: running;
}

.tier-card.is-selected > .tier-card__disc {
  opacity: .9;
  animation-play-state: running;
}

.tier-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
}

.tier-card__tag {
  display: flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--acc);
  color: var(--ink-dark);
  font-family: var(--font);
  font-weight: 800;
  font-size: 10px;
}

.tier-card.is-selected .tier-card__tag {
  background: var(--ink-dark);
  color: var(--acc);
}

.tier-card__name {
  margin-top: 26px;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -.025em;
}

.tier-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
}

.tier-card__amount {
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.05em;
}

.tier-card__per {
  font-size: 14px;
}

.tier-card__perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tier-card.is-selected .tier-card__perks {
  border-top-color: var(--line-dark);
}

.tier-card__perk {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.tier-card__tick {
  font-weight: 900;
}

.tier-card__spacer {
  flex: 1;
  min-height: 22px;
}

.tier-card__btn {
  height: 52px;
  padding: 0 12px;
  border: 1.5px solid var(--acc);
  border-radius: var(--radius-pill);
  color: var(--acc);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .1em;
}

.tier-card.is-selected .tier-card__btn {
  border-color: transparent;
  background: var(--ink-dark);
}

/* ==========================================================================
   4. Budget
   ========================================================================== */
.mode-switch {
  background: var(--surface-2);
}

.mode-switch__item {
  height: 44px;
  padding: 0 20px;
  font-weight: 800;
  letter-spacing: .1em;
}

.spend-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 24px;
}

.spend-total__value {
  color: var(--acc);
  font-weight: 900;
  font-size: clamp(40px, 3.4vw, 64px);
  letter-spacing: -.04em;
}

.spend-total__label {
  color: rgba(245, 237, 216, .65);
  font-size: 16px;
}

.spend-segs {
  display: flex;
  gap: 6px;
  height: clamp(440px, 30vw, 560px);
}

.spend-seg {
  position: relative;
  flex: var(--share) 1 0;
  min-width: 72px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--seg-bg);
  color: var(--seg-ink);
  transition: flex .6s var(--ease-slide);
}

.spend-seg.is-open {
  flex: 5 1 0;
}

/* Text on the red and blue columns is black: cream fails AA on them at small sizes. */
.spend-seg--streams { --share: 1.8; --seg-bg: #5b8def; --seg-ink: #121110; --seg-line: rgba(18, 17, 16, .25); }
.spend-seg--licences { --share: 2.7; --seg-bg: var(--acc); --seg-ink: #121110; --seg-line: rgba(18, 17, 16, .25); }
.spend-seg--studio { --share: 2.1; --seg-bg: var(--live); --seg-ink: var(--on-live); --seg-line: rgba(0, 0, 0, .3); }
.spend-seg--people { --share: 2.8; --seg-bg: var(--ok); --seg-ink: #121110; --seg-line: rgba(18, 17, 16, .25); }
.spend-seg--archive { --share: .6; --seg-bg: #e9a0b8; --seg-ink: #121110; --seg-line: rgba(18, 17, 16, .25); }

.spend-seg__top {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
}

.spend-seg.is-open .spend-seg__top {
  left: 26px;
  right: 26px;
}

.spend-seg__pct {
  font-weight: 700;
}

.spend-seg__side {
  position: absolute;
  left: 16px;
  bottom: 26px;
  font-weight: 900;
  font-size: clamp(16px, 1.3vw, 22px);
  white-space: nowrap;
  transform: rotate(180deg);
  transition: opacity .3s ease;
  writing-mode: vertical-rl;
}

.spend-seg.is-open .spend-seg__side {
  opacity: 0;
}

.spend-seg__open {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  opacity: 0;
  transition: opacity .35s ease;
}

.spend-seg.is-open .spend-seg__open {
  opacity: 1;
  transition-delay: .25s;
}

.spend-seg__value {
  font-weight: 900;
  font-size: clamp(48px, 4.6vw, 88px);
  line-height: .9;
  letter-spacing: -.05em;
}

.spend-seg__name {
  margin-top: 10px;
  font-weight: 900;
  font-size: 22px;
  white-space: nowrap;
}

.spend-seg__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s ease;
}

.spend-seg.is-open .spend-seg__more {
  grid-template-rows: 1fr;
}

.spend-seg__inner {
  min-height: 0;
  overflow: hidden;
}

.spend-seg__text {
  max-width: 460px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
}

.spend-seg__items {
  max-width: 460px;
  margin-top: 16px;
  border-top: 1.5px solid var(--seg-line);
}

.spend-seg__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--seg-line);
  font-weight: 600;
  font-size: 14px;
}

.spend-seg__sum {
  font-family: var(--mono);
}

.spend-seg__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.spend-seg__hit:focus-visible {
  outline-color: var(--seg-ink);
  outline-offset: -4px;
}

/* ==========================================================================
   5. Monthly goal
   ========================================================================== */
.goal-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-75);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
}

.goal-left .live-dot {
  width: 8px;
  height: 8px;
}

.goal-panel {
  padding: clamp(24px, 3vw, 50px);
  border: 1.5px solid rgba(245, 237, 216, .1);
  border-radius: 24px;
  background: var(--surface-inset);
  box-shadow: inset 0 2px 30px rgba(0, 0, 0, .8);
}

.goal-panel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.goal-panel__sum {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
}

.goal-panel__raised {
  color: var(--acc);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 112px);
  line-height: 1;
  letter-spacing: -.05em;
}

.goal-panel__of {
  color: var(--ink-75);
  font-weight: 200;
  font-size: clamp(22px, 2.4vw, 44px);
}

.goal-panel__pct {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .15em;
}

.level-meter {
  display: flex;
  gap: 4px;
  height: 70px;
  margin-top: 30px;
}

.level-meter__cell {
  flex: 1;
  border-radius: 3px;
  background: rgba(245, 237, 216, .06);
  transition: background .4s ease;
}

.level-meter__cell--green { --level: var(--ok); }
.level-meter__cell--accent { --level: var(--acc); }
.level-meter__cell--red { --level: var(--live); }

.level-meter__cell.is-lit {
  background: var(--level);
}

.level-meter__cell.is-peak {
  box-shadow: 0 0 16px var(--level);
}

.level-scale {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .15em;
}

.goal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(245, 237, 216, .1);
}

.goal-stat {
  padding: 22px;
  background: var(--surface-inset);
}

.goal-stat__key {
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
}

.goal-stat__value {
  margin: 8px 0 0;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -.03em;
}

/* ==========================================================================
   6. Supporter wall
   ========================================================================== */
.wall {
  position: relative;
  margin: 0 calc(-1 * var(--gutter));
  padding-bottom: 10px;
  overflow: hidden;
}

.wall__head {
  position: relative;
  z-index: 3;
  margin: 0 var(--gutter) 50px;
}

.wall__tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.wall-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
}

.wall-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wall-legend__aa {
  font-weight: 900;
}

.wall-legend__aa--patron {
  color: var(--acc);
}

.wall-legend__aa--thin {
  font-weight: 200;
}

.wall-legend__aa--once {
  color: transparent;
  -webkit-text-stroke: 1px var(--cream);
}

.wall__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.wall-speed {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
}

.wall-speed__track {
  position: relative;
  display: block;
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: rgba(245, 237, 216, .15);
}

.wall-speed__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--speed, 50%);
  border-radius: 2px;
  background: var(--acc);
}

.wall__add {
  height: 50px;
  padding: 0 24px;
  font-weight: 900;
}

.wall__add.is-added {
  background: var(--ok);
}

.wall__rows {
  position: relative;
}

.wall-row {
  position: relative;
  padding: 4px 0;
  overflow: hidden;
  border-top: 1px solid rgba(245, 237, 216, .07);
}

.wall-row__track,
.wall-tape__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.wall-name {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-weight: 900;
  font-size: clamp(56px, 5.4vw, 104px);
  line-height: 1.12;
  letter-spacing: -.045em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, opacity .3s ease;
}

.wall-name__dot {
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--acc) 55%, transparent);
}

.wall-name--patron,
.wall-name--you {
  color: var(--acc);
}

.wall-name--you .wall-name__dot {
  background: var(--live);
}

.wall-name--thin {
  font-weight: 200;
}

.wall-name--once {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cream);
}

.wall.is-reading .wall-name {
  opacity: .35;
}

.wall.is-reading .wall-name.is-on {
  color: var(--acc);
  opacity: 1;
  -webkit-text-stroke: 0;
}

.wall-tape {
  position: absolute;
  left: -200px;
  right: -200px;
  z-index: 2;
  height: 56px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
  color: var(--ink-dark);
  pointer-events: none;
}

.wall-tape__track {
  align-items: center;
  height: 100%;
}

.wall-tape--1 {
  top: 90px;
  transform: rotate(-5deg);
}

.wall-tape--2 {
  top: 250px;
  transform: rotate(4deg);
}

.wall-tape--accent {
  background: var(--acc);
}

.wall-tape--cream {
  background: var(--cream);
}

.wall-tape__word {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: .16em;
  white-space: nowrap;
}

.wall-tape__star {
  font-size: 14px;
}

.wall-card {
  position: absolute;
  left: var(--card-x, 0);
  top: var(--card-y, 0);
  z-index: 5;
  width: 340px;
  padding: 20px 22px;
  border: 1.5px solid rgba(245, 237, 216, .15);
  border-radius: 18px;
  background: #1d1c1a;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translate(24px, -50%) scale(.9);
  transition: opacity .2s ease, transform .25s cubic-bezier(.3, 1.4, .5, 1);
}

.wall-card.is-shown {
  opacity: 1;
  transform: translate(24px, -50%) scale(1);
}

.wall-card.is-special {
  border-color: var(--acc);
}

.wall-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wall-card__avatar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 237, 216, .12);
  font-weight: 900;
  font-size: 16px;
}

.wall-card.is-special .wall-card__avatar {
  background: var(--acc);
  color: var(--ink-dark);
}

.wall-card__name {
  display: block;
  font-weight: 900;
  font-size: 20px;
}

.wall-card__city {
  display: block;
  margin-top: 2px;
  color: rgba(245, 237, 216, .65);
  font-size: 13px;
}

.wall-card__note {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
}

.wall-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(245, 237, 216, .1);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
}

.wall-card.is-special .wall-card__tier {
  color: var(--acc);
}

.wall-card__station {
  color: var(--ink-60);
}

.wall__hints {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin: 40px var(--gutter) 0;
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
}

/* ==========================================================================
   7. Small print (FAQ)
   ========================================================================== */
.print-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: clamp(30px, 3.2vw, 60px);
  align-items: stretch;
}

.print-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.print-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.print-progress__bar {
  flex: 1;
}

.print-progress__fill {
  width: var(--fill, 11.11%);
  transition: width .4s ease;
}

.print-progress__text {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .15em;
}

.print-group {
  margin-top: 28px;
}

.print-group__head {
  display: flex;
  justify-content: space-between;
  color: var(--ink-60);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .2em;
}

.print-row {
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  gap: 12px;
  align-items: center;
  width: calc(100% + 28px);
  margin: 0 -14px;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 10px;
  text-align: left;
  transition: background .25s ease, color .25s ease;
}

.print-row:hover {
  background: rgba(245, 237, 216, .03);
}

.print-row[aria-pressed="true"] {
  background: color-mix(in srgb, var(--acc) 10%, transparent);
  color: var(--acc);
}

.print-row__num {
  font-family: var(--mono);
  font-size: 13px;
}

.print-row__question {
  font-weight: 700;
  font-size: 16px;
  transition: transform .25s ease;
}

.print-row:hover .print-row__question,
.print-row[aria-pressed="true"] .print-row__question {
  transform: translateX(6px);
}

.print-row__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(245, 237, 216, .2);
  border-radius: 50%;
  color: var(--ink-dark);
  font-weight: 900;
  font-size: 11px;
}

.print-row.is-read .print-row__mark {
  border-color: var(--acc);
  background: var(--acc);
}

.print-list__hint {
  margin-top: 20px;
  color: var(--ink-60);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
}

.print-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(640px, 51.1vw, 973px);
  padding: clamp(28px, 3vw, 60px);
  overflow: hidden;
  border-radius: 30px;
  background: var(--cream);
  color: var(--ink-dark);
}

.print-page > * {
  position: relative;
}

.print-page > .print-page__ghost {
  position: absolute;
  right: -20px;
  bottom: -80px;
  color: transparent;
  font-weight: 900;
  font-size: clamp(240px, 27vw, 520px);
  line-height: 1;
  letter-spacing: -.07em;
  pointer-events: none;
  -webkit-text-stroke: 2px rgba(18, 17, 16, .13);
}

.print-page__ghost::before {
  content: attr(data-text);
}

.print-page__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .2em;
}

.print-page__cat {
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--ink-dark);
  color: var(--cream);
}

.print-dots {
  display: flex;
  flex-wrap: wrap;
}

.print-dot {
  position: relative;
  width: 24px;
  height: 24px;
}

.print-dot::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(18, 17, 16, .2);
  transition: background .3s ease;
}

.print-dot[aria-pressed="true"] {
  width: 44px;
}

.print-dot[aria-pressed="true"]::before {
  background: var(--ink-dark);
}

.print-page__body.is-turning {
  animation: print-turn .5s var(--ease-slide) both;
}

@keyframes print-turn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: none; }
}

.print-page__question {
  max-width: 900px;
  margin-top: 46px;
  font-weight: 900;
  font-size: clamp(36px, 3.8vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
}

.print-page__short {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin-top: 30px;
  padding: 14px 22px;
  border-radius: 16px;
  background: var(--ink-dark);
  color: var(--acc);
}

.print-page__short-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
}

.print-page__short-text {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -.02em;
}

.print-page__answer {
  max-width: 860px;
  margin-top: 30px;
  font-weight: 500;
  font-size: clamp(17px, 1.15vw, 22px);
  line-height: 1.6;
}

.print-page__spacer {
  flex: 1;
  min-height: 30px;
}

.print-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.print-related__label {
  margin-right: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
}

.print-related__list {
  display: contents;
}

.print-related__btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1.5px solid var(--ink-dark);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
}

.print-page__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 2px solid rgba(18, 17, 16, .2);
}

.print-page__nav {
  display: flex;
  gap: 8px;
}

.print-nav {
  width: 56px;
  height: 56px;
  border: 2px solid var(--ink-dark);
  border-radius: 50%;
  font-size: 18px;
}

.print-nav--next {
  background: var(--ink-dark);
  color: var(--cream);
}

.print-vote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}

.print-vote__label {
  font-weight: 800;
  font-size: 15px;
}

.print-vote__btn {
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: rgba(18, 17, 16, .2);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .1em;
}

.print-vote__btn[aria-pressed="true"] {
  background: var(--ink-dark);
  color: var(--cream);
}

.print-vote__pct {
  font-family: var(--mono);
  font-size: 12px;
}

.print-ask {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 8px 0 22px;
  border-radius: var(--radius-pill);
  background: var(--ink-dark);
  color: var(--cream);
  font-weight: 800;
  font-size: 14px;
}

.print-ask__badge {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--ink-dark);
  font-weight: 900;
  font-size: 13px;
}

/* ==========================================================================
   8. Media queries (widest first)
   ========================================================================== */
@media (max-width: 1599.98px) {
  .wall-tape--1 {
    top: 24%;
  }

  .wall-tape--2 {
    top: 64%;
  }
}

@media (max-width: 1229.98px) {
  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .wall__tools {
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .dial-panel {
    --k: min(1px, calc((100vw - 80px) / 560));
  }

  .dial-panel__top,
  .give-stat__key,
  .give-goal,
  .goal-stat__key,
  .level-scale,
  .wall-speed,
  .wall-card__foot,
  .wall__hints,
  .tier-card__tag,
  .tier-card__top,
  .print-group__head,
  .print-related__label,
  .print-page__short-label,
  .print-list__hint,
  .pay-method,
  .give-panel__top .meta,
  .dial-panel__hint {
    font-size: 12px;
    letter-spacing: .06em;
  }

  .led__text {
    font-size: 12px;
  }

  .knob__cap {
    font-size: 12px;
    letter-spacing: 0;
  }

  .dial-panel {
    padding: 80px 20px 40px;
  }

  .dial-panel__top {
    top: 34px;
  }

  .dial-presets {
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
  }

  .dial-preset {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 48px;
    font-size: 13px;
  }

  .give-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .give-stat {
    padding: 16px 18px;
  }

  .give-amount__per {
    font-size: 26px;
  }

  .give-cta {
    flex: 1 1 100%;
    min-width: 0;
    white-space: normal;
  }

  .mode-switch {
    display: flex;
    width: 100%;
  }

  .mode-switch__item {
    flex: 1;
    padding: 0 6px;
    letter-spacing: .02em;
  }

  .spend-segs {
    flex-direction: column;
    height: auto;
  }

  .spend-seg,
  .spend-seg.is-open {
    flex: none;
    padding: 22px;
  }

  .spend-seg__top,
  .spend-seg.is-open .spend-seg__top {
    position: static;
  }

  .spend-seg__side,
  .spend-seg__hit {
    display: none;
  }

  .spend-seg__open {
    position: static;
    margin-top: 18px;
    opacity: 1;
  }

  .spend-seg__more {
    grid-template-rows: 1fr;
  }

  .spend-seg__name {
    white-space: normal;
  }

  .level-meter {
    gap: 2px;
    height: 54px;
  }

  .level-scale {
    letter-spacing: 0;
  }

  .goal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .goal-stat {
    padding: 16px;
  }

  .goal-stat__value {
    font-size: 26px;
  }

  .tier-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wall-tape--1 {
    transform: rotate(-3deg);
  }

  .wall-tape--2 {
    transform: rotate(2deg);
  }

  .wall-tape {
    height: 44px;
  }

  .wall-tape__word {
    font-size: 15px;
  }

  .wall-name {
    gap: 20px;
    padding-right: 20px;
    font-size: 44px;
  }

  .wall-card {
    display: none;
  }

  .print-row {
    grid-template-columns: 30px 1fr 26px;
    gap: 8px;
  }

  .print-row__question {
    font-size: 15px;
  }

  .print-page {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 22px;
  }

  .print-page__short-text {
    font-size: 20px;
  }

  .print-related__btn {
    padding: 10px 14px;
    text-align: left;
  }

  .print-page__foot {
    justify-content: flex-start;
  }

  .print-vote {
    justify-content: flex-start;
  }
}

@media (max-width: 379.98px) {
  .print-ask {
    width: 100%;
    justify-content: space-between;
    padding-left: 16px;
    font-size: 13px;
  }

  .freq-switch__item {
    font-size: 12px;
    letter-spacing: .04em;
  }

  .goal-stats {
    grid-template-columns: minmax(0, 1fr);
  }

}
