:root {
  --ink: #050505;
  --ink-soft: #151515;
  --paper: #e7e7e8;
  --paper-light: #f2f2f2;
  --paper-bright: #fafafa;
  --line: rgba(7, 7, 7, 0.18);
  --line-light: rgba(7, 7, 7, 0.1);
  --muted: #6c6c6f;
  --acid: #d8ff44;
  --coral: #ff6b4a;
  --blue: #a9d8ff;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --pointer-x: 0;
  --pointer-y: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Instrument Sans", "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.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;
}

.noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.app {
  overflow: clip;
  background: var(--paper);
}

.topbar {
  position: absolute;
  z-index: 6;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  padding: 41px 25px 0;
  color: #55565a;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 1.04;
}

.wordmark,
.client-name,
.manifesto {
  margin: 0;
}

.wordmark {
  width: max-content;
  transition: opacity 180ms ease;
}

.wordmark:hover {
  opacity: 0.5;
}

.client-name {
  justify-self: center;
}

.manifesto {
  justify-self: end;
  text-align: right;
}

.hero {
  position: relative;
  min-height: max(710px, 100svh);
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.68) 0, rgba(255, 255, 255, 0.06) 34%, transparent 62%),
    linear-gradient(112deg, #d6d6d8 0%, #ebebec 37%, #e5e5e7 68%, #dcdcdf 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: -30%;
  opacity: 0.26;
  background:
    repeating-linear-gradient(170deg, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px 22px),
    linear-gradient(103deg, transparent 0 35%, rgba(255,255,255,.7) 48%, transparent 60%);
  transform: rotate(-9deg);
}

.hero::after {
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 43%, rgba(120, 120, 126, 0.14) 120%);
}

.hero-ambient {
  position: absolute;
  z-index: -1;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.3;
  pointer-events: none;
}

.hero-ambient-left {
  top: 20%;
  left: -21%;
  background: #bfc0c5;
}

.hero-ambient-right {
  right: -18%;
  bottom: -22%;
  background: #f9f9f9;
}

.hero-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.chrome-relic {
  position: absolute;
  z-index: -1;
  width: min(570px, 48vw);
  aspect-ratio: 617 / 1024;
  background:
    url("assets/chrome-lightning.png") center / cover no-repeat,
    radial-gradient(ellipse at 70% 17%, rgba(255,255,255,.98) 0 1.1%, rgba(255,255,255,0) 9%),
    linear-gradient(143deg, transparent 8%, rgba(255,255,255,.9) 13%, rgba(255,255,255,.05) 18%, transparent 31%, rgba(255,255,255,.65) 39%, rgba(255,255,255,0) 44%, transparent 58%, rgba(255,255,255,.76) 71%, rgba(255,255,255,0) 77%),
    linear-gradient(120deg, #030405 0%, #2e333b 13%, #090a0d 25%, #ebedf0 38%, #14171c 48%, #010102 62%, #9ca2aa 78%, #08090b 92%);
  -webkit-mask: url("lightning-bolt-4124_1024.png") center / contain no-repeat;
  mask: url("lightning-bolt-4124_1024.png") center / contain no-repeat;
  opacity: 0.98;
  filter: contrast(1.11) saturate(0.76) brightness(1.02) drop-shadow(12px 18px 0 rgba(15,17,21,.32)) drop-shadow(-4px 4px 5px rgba(255,255,255,.36)) drop-shadow(0 22px 18px rgba(0,0,0,.16));
  transform: translate(calc(var(--pointer-x) * 5px), calc(var(--pointer-y) * 4px)) rotate(-12deg) scale(0.94);
  transition: transform 700ms var(--ease-out), opacity 400ms ease;
  user-select: none;
}

.chrome-relic::before,
.chrome-relic::after {
  position: absolute;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.chrome-relic::before {
  inset: 7% 10%;
  opacity: .56;
  background: linear-gradient(112deg, transparent 23%, rgba(255,255,255,.96) 37%, rgba(255,255,255,.06) 42%, transparent 54%, rgba(255,255,255,.6) 72%, transparent 80%);
  filter: blur(3px);
  mix-blend-mode: screen;
  transform: rotate(6deg);
}

.chrome-relic::after {
  inset: 12% 17% 9%;
  border-radius: 46% 40% 51% 43%;
  opacity: .3;
  background: radial-gradient(ellipse at 43% 48%, rgba(255,255,255,.85) 0 2%, transparent 18%);
  filter: blur(5px);
}

.app[data-section="engagement"] .chrome-relic {
  transform: translate(calc(-3% + var(--pointer-x) * 5px), calc(1% + var(--pointer-y) * 4px)) rotate(22deg) scale(0.94);
}

.app[data-section="sentiment"] .chrome-relic {
  transform: translate(calc(1% + var(--pointer-x) * 5px), calc(-1% + var(--pointer-y) * 4px)) rotate(75deg) scale(0.94);
}

.app[data-section="ideas"] .chrome-relic {
  transform: translate(calc(-2% + var(--pointer-x) * 5px), calc(1% + var(--pointer-y) * 4px)) rotate(132deg) scale(0.94);
}

.switchboard {
  display: flex;
  align-items: center;
  width: min(680px, 92vw);
  margin-top: 26px;
  transform: translateX(-14px);
}

.medallion {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 0 0 240px;
  width: 240px;
  aspect-ratio: 1;
  margin-right: -2px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #000;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateZ(0);
  animation: medallion-arrive 800ms 170ms var(--ease-out) both;
}

.medallion::before {
  position: absolute;
  inset: 9px;
  content: "";
  border: 1px solid rgba(255,255,255,.08);
  border-radius: inherit;
}

.medallion-glow {
  position: absolute;
  inset: 30%;
  border-radius: inherit;
  opacity: 0;
  background: var(--acid);
  filter: blur(22px);
  transition: opacity 350ms ease, background 350ms ease;
}

.medallion-emoji {
  position: relative;
  z-index: 1;
  display: block;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 108px;
  line-height: 1;
  transform: translateY(2px) scale(1);
  filter: saturate(1.05) drop-shadow(0 9px 9px rgba(0, 0, 0, 0.24));
  transition: transform 220ms var(--ease-out), opacity 120ms ease;
}

.medallion-emoji.is-changing {
  opacity: 0;
  transform: translateY(9px) scale(0.75);
}

.app[data-section="engagement"] .medallion-glow { opacity: 0.2; background: #ffbd35; }
.app[data-section="sentiment"] .medallion-glow { opacity: 0.22; background: #ff4ea4; }
.app[data-section="ideas"] .medallion-glow { opacity: 0.17; background: #fff; }

.hero-menu-wrap {
  width: 336px;
  margin-left: 8px;
  animation: pills-arrive 650ms 250ms var(--ease-out) both;
}

.eyebrow {
  margin: 0;
  color: currentColor;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.2;
}

.hero-eyebrow {
  margin: 0 0 11px 18px;
  color: rgba(0,0,0,.45);
}

.section-menu {
  display: grid;
  gap: 12px;
}

.section-pill {
  position: relative;
  display: grid;
  width: 100%;
  height: 56px;
  padding: 0 21px;
  align-items: center;
  border-radius: 999px;
  color: #66666a;
  background: rgba(250, 250, 250, 0.84);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 1px 2px rgba(0,0,0,.03);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.055em;
  transition: color 250ms ease, background 250ms ease, transform 250ms var(--ease-out), box-shadow 250ms ease;
}

.section-pill span {
  justify-self: center;
  transition: transform 260ms var(--ease-out);
}

.section-pill i {
  position: absolute;
  right: 20px;
  top: 50%;
  opacity: 0;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0;
  transform: translateY(-50%) translateX(-3px);
  transition: opacity 180ms ease, transform 250ms var(--ease-out);
}

.section-pill:hover:not(.is-active) {
  color: #202023;
  background: #fff;
  transform: translateX(5px);
}

.section-pill.is-active {
  color: #fff;
  background: #000;
  box-shadow: 0 12px 23px rgba(0,0,0,.16), inset 0 0 0 1px rgba(255,255,255,.08);
}

.section-pill.is-active span {
  transform: translateX(-5px);
}

.section-pill.is-active i {
  opacity: 0.56;
  transform: translateY(-50%) translateX(0);
}

.view-report {
  display: inline-flex;
  margin: 20px 0 0 17px;
  padding: 0;
  align-items: center;
  gap: 9px;
  color: rgba(0,0,0,.56);
  background: transparent;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.07em;
  transition: color 180ms ease, transform 200ms var(--ease-out);
}

.view-report svg,
.back-to-top svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.view-report:hover {
  color: #000;
  transform: translateY(3px);
}

.hero-footer {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 23px;
  left: 25px;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  color: rgba(0,0,0,.46);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.report {
  position: relative;
  background: var(--paper-light);
}

.report-nav {
  position: sticky;
  z-index: 8;
  top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 54px;
  padding: 0 25px;
  align-items: center;
  color: #fff;
  background: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.report-nav-label,
.report-period {
  margin: 0;
}

.report-period {
  justify-self: center;
  color: rgba(255,255,255,.58);
}

.report-period span {
  padding: 0 3px;
  color: #fff;
}

.back-to-top {
  justify-self: end;
  display: inline-flex;
  padding: 0;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  transition: opacity 180ms ease;
}

.back-to-top:hover {
  opacity: 0.55;
}

.report-panel {
  width: min(1360px, calc(100% - 50px));
  min-height: 740px;
  padding: clamp(57px, 8vw, 116px) 0 clamp(80px, 10vw, 145px);
  margin: auto;
  animation: panel-enter 520ms var(--ease-out) both;
}

.report-panel[hidden] {
  display: none;
}

.report-intro {
  display: flex;
  min-height: 252px;
  padding-bottom: 39px;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}

.report-intro .eyebrow {
  margin-bottom: 23px;
  color: var(--muted);
}

.report-intro h1 {
  max-width: 800px;
  margin: 0;
  font-family: "Syne", "Arial Black", sans-serif;
  font-size: clamp(44px, 6.2vw, 96px);
  font-weight: 600;
  letter-spacing: -0.095em;
  line-height: 0.87;
}

.report-intro h1 em {
  color: #79797e;
  font-style: normal;
}

.intro-signal {
  display: flex;
  min-width: 235px;
  margin-top: 57px;
  padding: 15px 0 15px 16px;
  align-items: center;
  gap: 14px;
  border-left: 1px solid var(--ink);
}

.signal-arrow {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  font-size: 25px;
  line-height: 1;
}

.intro-signal strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.intro-signal small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.section-rule {
  display: flex;
  padding: 15px 0;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: #55555a;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--ink);
}

.week-card {
  position: relative;
  min-height: 312px;
  padding: 25px 23px 19px;
  border-right: 1px solid var(--line);
  background: transparent;
  opacity: 0;
  transform: translateY(18px);
  transition: background 240ms ease, opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

.week-card:nth-child(2) { transition-delay: 60ms; }
.week-card:nth-child(3) { transition-delay: 120ms; }
.week-card:nth-child(4) { transition-delay: 180ms; border-right: 0; }
.week-card.is-seen { opacity: 1; transform: translateY(0); }

.week-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: transparent;
  transition: background 220ms ease;
}

.week-card:hover {
  background: rgba(255,255,255,.55);
}

.week-card:hover::after,
.week-card.is-final::after {
  background: var(--ink);
}

.week-card header {
  display: flex;
  margin-bottom: 39px;
  justify-content: space-between;
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .055em;
}

.week-card header small {
  color: var(--muted);
  font-size: inherit;
}

.channel-row {
  display: grid;
  grid-template-columns: 10px 1fr auto auto;
  padding: 9px 0;
  align-items: center;
  column-gap: 8px;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
  letter-spacing: -0.035em;
}

.channel-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.channel-dot.ig { background: #f16a80; }
.channel-dot.tt { background: var(--ink); box-shadow: 2px 0 #55e1e2; }
.channel-dot.yt { background: #ff3b32; }
.channel-row b { font-weight: 500; }
.channel-row strong { margin-right: 5px; font-family: "DM Mono", monospace; font-size: 11px; font-weight: 500; letter-spacing: -0.04em; }
.channel-row em { color: #16823e; font-family: "DM Mono", monospace; font-size: 9px; font-style: normal; letter-spacing: -0.04em; }
.channel-row em.flat { color: #76767b; }

.micro-line {
  position: absolute;
  right: 23px;
  bottom: 24px;
  left: 23px;
  width: calc(100% - 46px);
  height: 40px;
  overflow: visible;
}

.micro-line path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
}

.insight {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 156px;
  min-height: 208px;
  margin-top: 62px;
  padding: 25px 27px 24px;
  align-items: center;
  column-gap: 25px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), box-shadow 220ms ease;
}

.insight.is-seen { opacity: 1; transform: translateY(0); }
.insight:hover { box-shadow: 0 16px 35px rgba(0,0,0,.08); }

.insight-positive { background: var(--acid); }
.insight-dark { color: #fff; background: var(--ink); }
.insight-neutral { background: #babac0; }

.insight-index {
  align-self: start;
  font-family: "Syne", sans-serif;
  font-size: 31px;
  line-height: 1;
}

.insight-copy .eyebrow {
  margin-bottom: 12px;
}

.insight-copy > p:last-child {
  max-width: 785px;
  margin: 0;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.sticker {
  display: grid;
  width: 127px;
  height: 127px;
  justify-self: end;
  padding: 17px;
  place-items: center;
  border-radius: 50%;
  font-family: "Syne", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.86;
  text-align: center;
  transform: rotate(-8deg);
  transition: transform 270ms var(--ease-out);
}

.insight:hover .sticker { transform: rotate(4deg) scale(1.06); }
.sticker b { display: block; margin-top: 5px; font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif; font-size: 25px; letter-spacing: 0; }
.sticker-good { color: var(--acid); background: var(--ink); }
.sticker-dark { color: var(--ink); background: var(--acid); }
.sticker-watch { color: #fff; background: var(--ink); }

/* Engagement */
.engagement-rate {
  display: flex;
  min-width: 248px;
  margin-top: 49px;
  align-items: flex-start;
  gap: 15px;
}

.engagement-rate > span {
  font-family: "Syne", sans-serif;
  font-size: 74px;
  font-weight: 700;
  letter-spacing: -0.14em;
  line-height: .75;
}

.engagement-rate sup {
  font-size: .4em;
  letter-spacing: -0.08em;
}

.engagement-rate small {
  padding-top: 4px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .04em;
  line-height: 1.45;
}

.engagement-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--ink);
}

.stat-block {
  min-height: 202px;
  padding: 30px 0 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 460ms var(--ease-out), transform 460ms var(--ease-out), background 220ms ease;
}

.stat-block + .stat-block { padding-left: 27px; border-left: 1px solid var(--line); }
.stat-block.is-seen { opacity: 1; transform: translateY(0); }
.stat-block:hover { background: rgba(255,255,255,.52); }
.stat-block:nth-child(2) { transition-delay: 70ms; }
.stat-block:nth-child(3) { transition-delay: 140ms; }

.stat-block span {
  font-family: "Syne", sans-serif;
  font-size: clamp(37px, 4.5vw, 65px);
  font-weight: 700;
  letter-spacing: -0.11em;
  line-height: .84;
}

.stat-block p,
.stat-block em {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: .06em;
}

.stat-block p { margin: 14px 0 0; color: var(--muted); }
.stat-block em { display: inline-block; margin-top: 7px; padding: 3px 5px; color: #fff; background: #1b883e; }

.engagement-table {
  border-bottom: 1px solid var(--ink);
}

.engagement-head,
.engagement-line {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr) .65fr;
  align-items: center;
}

.engagement-head {
  min-height: 39px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .05em;
}

.engagement-line {
  min-height: 82px;
  border-top: 1px solid var(--line);
  transition: background 220ms ease;
}

.engagement-line:hover { background: rgba(255,255,255,.58); }

.engagement-line > span:first-child b,
.engagement-line > span:first-child small {
  display: block;
}

.engagement-line > span:first-child b {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .05em;
}

.engagement-line > span:first-child small {
  margin-top: 5px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.engagement-line > span:not(:first-child) {
  position: relative;
  display: flex;
  width: min(148px, 89%);
  height: 22px;
  overflow: hidden;
  align-items: center;
}

.engagement-line > span:not(:first-child)::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--line);
}

.engagement-line > span:not(:first-child) i {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 0;
  height: 5px;
  width: calc(attr(data-value number) * 10%);
  max-width: 100%;
  background: var(--ink);
  transform: translateY(-50%);
}

/* Manual widths preserve support where attr(number) is not implemented. */
.engagement-line:nth-child(2) > span:nth-child(2) i { width: 59%; }
.engagement-line:nth-child(2) > span:nth-child(3) i { width: 71%; }
.engagement-line:nth-child(2) > span:nth-child(4) i { width: 38%; }
.engagement-line:nth-child(3) > span:nth-child(2) i { width: 62%; }
.engagement-line:nth-child(3) > span:nth-child(3) i { width: 78%; }
.engagement-line:nth-child(3) > span:nth-child(4) i { width: 41%; }
.engagement-line:nth-child(4) > span:nth-child(2) i { width: 60%; }
.engagement-line:nth-child(4) > span:nth-child(3) i { width: 84%; }
.engagement-line:nth-child(4) > span:nth-child(4) i { width: 43%; }
.engagement-line:nth-child(5) > span:nth-child(2) i { width: 65%; }
.engagement-line:nth-child(5) > span:nth-child(3) i { width: 81%; }
.engagement-line:nth-child(5) > span:nth-child(4) i { width: 42%; }

.engagement-line > span:not(:first-child) b {
  position: relative;
  z-index: 1;
  padding: 0 5px 0 0;
  background: var(--paper-light);
  font-family: "Syne", sans-serif;
  font-size: 15px;
  letter-spacing: -0.07em;
}

.engagement-line:hover > span:not(:first-child) b { background: rgba(255,255,255,.91); }

.engagement-line > strong {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .06em;
}

/* Sentiment */
.sentiment-score {
  display: flex;
  min-width: 222px;
  margin-top: 29px;
  align-items: center;
  gap: 13px;
}

.sentiment-score > span {
  font-family: "Syne", sans-serif;
  font-size: 112px;
  font-weight: 700;
  letter-spacing: -0.16em;
  line-height: .83;
}

.sentiment-score small {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .05em;
  line-height: 1.48;
}

.sentiment-meter {
  padding: 39px 0 31px;
  border-bottom: 1px solid var(--ink);
}

.meter-bar {
  display: flex;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--ink);
}

.meter-bar i { display: block; height: 100%; }
.fans-bar { width: 74%; background: var(--acid); }
.neutral-bar { width: 18%; background: #b5b5ba; }
.haters-bar { width: 8%; background: var(--coral); }

.meter-labels {
  display: flex;
  margin-top: 12px;
  justify-content: space-between;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .05em;
}

.meter-labels b { color: var(--ink); font-weight: 500; }

.sentiment-workspace {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  min-height: 438px;
  border-bottom: 1px solid var(--ink);
}

.sentiment-tabs {
  display: flex;
  padding: 27px 22px 27px 0;
  flex-direction: column;
  gap: 9px;
  border-right: 1px solid var(--line);
}

.sentiment-tab {
  display: flex;
  min-height: 48px;
  padding: 0 14px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .05em;
  text-align: left;
  transition: background 200ms ease, color 200ms ease, transform 220ms var(--ease-out);
}

.sentiment-tab span { font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif; font-size: 15px; letter-spacing: 0; }
.sentiment-tab:hover { transform: translateX(4px); }
.sentiment-tab.is-active { color: #fff; border-color: var(--ink); background: var(--ink); }

.sentiment-content {
  padding: 29px 0 29px 38px;
}

.sentiment-pane { animation: pane-enter 340ms var(--ease-out) both; }
.sentiment-pane[hidden] { display: none; }

.pane-title {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .05em;
}

.quote-card {
  padding: 18px 0 17px;
  border-top: 1px solid var(--line);
}

.quote-meta {
  display: grid;
  grid-template-columns: 94px 1fr auto;
  margin-bottom: 9px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .04em;
}

.quote-meta span { color: var(--muted); }
.quote-meta b { font-weight: 500; }
.quote-meta time { color: var(--muted); }
.quote-card > p { max-width: 710px; margin: 0; font-size: clamp(16px, 1.65vw, 22px); letter-spacing: -0.045em; line-height: 1.16; }
.quote-card.negative > p { color: #2d2d2f; }
.quote-card.positive > p { color: #166a37; }

.mention-pane { border-top: 1px solid var(--line); }

.mention-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 116px 19px;
  min-height: 76px;
  align-items: center;
  column-gap: 10px;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms var(--ease-out), background 220ms ease;
}

.mention-link:hover { padding: 0 13px; background: #fff; }
.mention-link > span,
.mention-link small { color: var(--muted); font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .05em; }
.mention-link b { font-size: 17px; font-weight: 500; letter-spacing: -0.045em; }
.mention-link i { font-family: "Syne", sans-serif; font-size: 21px; font-style: normal; }

/* Ideas */
.ideas-lede {
  width: 270px;
  margin: 68px 0 0;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.idea-category {
  padding: 27px 0 37px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}

.idea-category + .idea-category { border-top: 1px solid var(--ink); }
.idea-category.is-seen { opacity: 1; transform: translateY(0); }

.idea-category > header {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: baseline;
}

.idea-category > header > span {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .05em;
}

.idea-category h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: .9;
}

.idea-category > header > b { font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif; font-size: 25px; font-weight: 400; }

.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.idea-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.39);
  transition: transform 280ms var(--ease-out), background 280ms ease, box-shadow 280ms ease;
}

.idea-card:hover {
  z-index: 1;
  background: #fff;
  box-shadow: 0 16px 27px rgba(0,0,0,.09);
  transform: translateY(-6px);
}

.idea-print {
  position: relative;
  min-height: 164px;
  overflow: hidden;
  padding: 14px;
  color: #fff;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: .82;
}

.idea-print::before,
.idea-print::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.idea-print span,
.idea-print i { position: relative; z-index: 1; display: block; }
.idea-print span { font-size: clamp(17px, 1.8vw, 28px); }
.idea-print i { margin-top: 17px; font-size: 11px; font-style: normal; letter-spacing: -0.06em; }
.idea-card:hover .idea-print::before { transform: scale(1.13) rotate(7deg); }

.idea-copy {
  display: flex;
  min-height: 164px;
  padding: 15px 14px 13px;
  flex-direction: column;
  justify-content: space-between;
}

.idea-copy p {
  margin: 0;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.idea-copy a {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .06em;
}

.idea-copy a b { font-size: 14px; line-height: .6; transition: transform 220ms var(--ease-out); }
.idea-card:hover .idea-copy a b { transform: translate(2px, -2px); }

.kitchen-one .idea-print { background: #ff5d31; }
.kitchen-one .idea-print::before { right: -48px; bottom: -42px; width: 142px; height: 142px; border: 13px solid #ffdf71; border-radius: 50%; transition: transform 350ms var(--ease-out); }
.kitchen-one .idea-print::after { top: 25px; right: 22px; width: 56px; height: 7px; border-radius: 10px; background: var(--ink); transform: rotate(-23deg); }
.kitchen-two .idea-print { color: #1f5419; background: #b8e97e; }
.kitchen-two .idea-print::before { right: -26px; bottom: -38px; width: 126px; height: 126px; border-radius: 58% 42% 66% 34%; background: #feffd6; transition: transform 350ms var(--ease-out); }
.kitchen-two .idea-print::after { bottom: 28px; left: 13px; width: 40px; height: 62px; border-radius: 50% 8px 50% 8px; background: #398b46; transform: rotate(25deg); }
.kitchen-three .idea-print { color: #fff7e7; background: #173035; }
.kitchen-three .idea-print::before { top: -39px; right: -36px; width: 142px; height: 142px; border: 20px double #ffcc4d; border-radius: 50%; transition: transform 350ms var(--ease-out); }
.kitchen-three .idea-print::after { bottom: 18px; left: 12px; width: 92px; height: 31px; border-radius: 50%; background: #f85c3c; transform: rotate(-9deg); }

.life-one .idea-print { background: #5242a3; }
.life-one .idea-print::before { right: -33px; bottom: -58px; width: 138px; height: 152px; border-radius: 70px 70px 20px 20px; background: #b4f3d2; transition: transform 350ms var(--ease-out); }
.life-one .idea-print::after { top: 22px; right: 26px; width: 44px; height: 44px; border: 6px solid #ffcb69; border-radius: 50%; }
.life-two .idea-print { color: #200d29; background: #ffbdc6; }
.life-two .idea-print::before { top: -15px; right: -24px; width: 112px; height: 194px; border-radius: 50%; background: #ffefbc; transition: transform 350ms var(--ease-out); }
.life-two .idea-print::after { bottom: 7px; left: -11px; width: 121px; height: 58px; border-radius: 50% 50% 0 0; background: #f072a6; }
.life-three .idea-print { background: #1e1e1e; }
.life-three .idea-print span { color: var(--acid); font-size: 72px; line-height: .67; }
.life-three .idea-print::before { right: -19px; bottom: -13px; width: 103px; height: 103px; background: #fff; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 59%, 50% 100%, 40% 59%, 0 50%, 40% 40%); transition: transform 350ms var(--ease-out); }

.campaign-one .idea-print { background: #f6f2e8; color: var(--ink); }
.campaign-one .idea-print::before { right: -14px; bottom: -24px; width: 128px; height: 128px; border-radius: 50%; background: var(--acid); transition: transform 350ms var(--ease-out); }
.campaign-one .idea-print::after { top: 15px; right: 15px; width: 35px; height: 35px; border-radius: 50%; background: #ff604d; }
.campaign-two .idea-print { background: #e95939; }
.campaign-two .idea-print::before { right: -38px; bottom: -40px; width: 150px; height: 150px; border: 10px solid #efcfbe; border-radius: 50%; transition: transform 350ms var(--ease-out); }
.campaign-two .idea-print::after { top: 21px; right: 20px; width: 68px; height: 68px; background: #241a5b; transform: rotate(45deg); }
.campaign-three .idea-print { color: #141414; background: #ffe16b; }
.campaign-three .idea-print::before { right: -32px; bottom: -45px; width: 160px; height: 160px; border-radius: 48% 52% 41% 59%; background: #ff8f7f; transition: transform 350ms var(--ease-out); }
.campaign-three .idea-print::after { top: 17px; right: 17px; width: 54px; height: 54px; border: 5px solid #1f447a; border-radius: 50%; }

.other-one .idea-print { background: #1858d2; }
.other-one .idea-print::before { top: -51px; right: -11px; width: 150px; height: 150px; border: 19px solid #ffed4e; border-radius: 50%; transition: transform 350ms var(--ease-out); }
.other-one .idea-print::after { bottom: 18px; right: 19px; width: 54px; height: 8px; background: #fff; box-shadow: 0 14px 0 #fff; }
.other-two .idea-print { background: #202020; }
.other-two .idea-print::before { top: -48px; right: -40px; width: 164px; height: 164px; border-radius: 50%; background: #f06845; transition: transform 350ms var(--ease-out); }
.other-two .idea-print::after { bottom: -30px; left: -20px; width: 118px; height: 118px; border: 11px solid #a9d8ff; border-radius: 50%; }
.other-three .idea-print { color: #1e2637; background: #b9ddff; }
.other-three .idea-print::before { right: -38px; bottom: -28px; width: 138px; height: 138px; background: #fff3a9; clip-path: polygon(0 0, 100% 0, 100% 40%, 57% 40%, 49% 58%, 40% 40%, 0 40%); transition: transform 350ms var(--ease-out); }
.other-three .idea-print::after { top: 21px; right: 14px; width: 59px; height: 17px; border-radius: 999px; background: #1e2637; }

.report-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 84px;
  padding: 0 25px;
  align-items: center;
  color: rgba(255,255,255,.66);
  background: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .055em;
}

.report-footer button { justify-self: end; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: transparent; font-size: 17px; transition: background 180ms ease, color 180ms ease; }
.report-footer button:hover { color: #000; background: #fff; }

.toast {
  position: fixed;
  z-index: 50;
  bottom: 24px;
  left: 50%;
  max-width: calc(100vw - 36px);
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  background: rgba(5,5,5,.92);
  box-shadow: 0 13px 30px rgba(0,0,0,.18);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .035em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: opacity 220ms ease, transform 260ms var(--ease-out);
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@keyframes medallion-arrive {
  from { opacity: 0; transform: translateX(-26px) scale(.84); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes pills-arrive {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes panel-enter {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pane-enter {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1020px) {
  .report-panel { width: min(100% - 40px, 900px); }
  .report-intro h1 { font-size: clamp(44px, 8vw, 76px); }
  .week-card { padding-right: 15px; padding-left: 15px; }
  .channel-row { grid-template-columns: 9px 1fr auto; }
  .channel-row em { display: none; }
  .micro-line { right: 15px; left: 15px; width: calc(100% - 30px); }
  .idea-card { grid-template-columns: 1fr; }
  .idea-print { min-height: 136px; }
  .idea-copy { min-height: 124px; }
  .ideas-lede { width: 220px; }
}

@media (max-width: 760px) {
  .topbar {
    padding: 23px 17px 0;
    font-size: 14px;
    letter-spacing: -0.065em;
  }

  .client-name { display: none; }
  .topbar { grid-template-columns: 1fr 1fr; }
  .manifesto { grid-column: 2; }

  .hero {
    min-height: 720px;
  }

  .hero::before { opacity: .18; }
  .chrome-relic {
    width: min(420px, 108vw);
    opacity: .58;
    transform: translate(9%, -13%) rotate(-16deg) scale(.9);
  }
  .app[data-section="engagement"] .chrome-relic { transform: translate(4%, -13%) rotate(22deg) scale(.9); }
  .app[data-section="sentiment"] .chrome-relic { transform: translate(7%, -13%) rotate(73deg) scale(.9); }
  .app[data-section="ideas"] .chrome-relic { transform: translate(3%, -13%) rotate(132deg) scale(.9); }

  .switchboard {
    width: min(100% - 34px, 430px);
    margin-top: 24px;
    flex-direction: column;
    transform: none;
  }

  .medallion {
    flex-basis: 156px;
    width: 156px;
    margin: 0 0 -15px;
    box-shadow: 0 15px 28px rgba(0,0,0,.19), inset 0 0 0 1px rgba(255,255,255,.08);
  }
  .medallion-emoji { font-size: 73px; }
  .hero-menu-wrap { width: 100%; margin-left: 0; }
  .hero-eyebrow { margin-left: 10px; text-align: center; }
  .section-menu { gap: 8px; }
  .section-pill { height: 49px; padding: 0 19px; font-size: 19px; }
  .view-report { margin: 15px auto 0; }
  .hero-footer { right: 17px; bottom: 17px; left: 17px; font-size: 8px; }

  .report-nav { grid-template-columns: 1fr auto; min-height: 49px; padding: 0 17px; font-size: 8px; }
  .report-period { display: none; }
  .back-to-top { font-size: 8px; }

  .report-panel { width: calc(100% - 34px); min-height: 0; padding: 50px 0 73px; }
  .report-intro { min-height: 0; padding-bottom: 29px; flex-direction: column; gap: 25px; }
  .report-intro .eyebrow { margin-bottom: 16px; }
  .report-intro h1 { font-size: clamp(42px, 12vw, 67px); line-height: .88; }

  .intro-signal { min-width: auto; margin-top: 0; }
  .engagement-rate { min-width: 0; margin-top: 0; }
  .engagement-rate > span { font-size: 68px; }
  .sentiment-score { min-width: 0; margin-top: 0; }
  .sentiment-score > span { font-size: 93px; }
  .ideas-lede { width: min(100%, 390px); margin: 0; }

  .section-rule { padding: 12px 0; font-size: 8px; }
  .week-grid { grid-template-columns: 1fr; }
  .week-card { min-height: 232px; padding: 21px 0 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .week-card:last-child { border-bottom: 0; }
  .week-card header { margin-bottom: 18px; }
  .channel-row { grid-template-columns: 11px 1fr auto auto; max-width: 100%; padding: 8px 0; }
  .channel-row em { display: block; }
  .micro-line { right: 0; bottom: 18px; left: 0; width: 100%; }

  .insight { grid-template-columns: 25px 1fr; min-height: 0; margin-top: 36px; padding: 20px; column-gap: 14px; row-gap: 19px; }
  .insight-index { font-size: 23px; }
  .insight-copy > p:last-child { font-size: 17px; line-height: 1.18; }
  .sticker { grid-column: 2; width: 92px; height: 92px; padding: 12px; justify-self: start; font-size: 13px; }
  .sticker b { font-size: 18px; }

  .engagement-stat-grid { grid-template-columns: 1fr; }
  .stat-block { min-height: 135px; padding: 22px 0 20px; }
  .stat-block + .stat-block { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .stat-block span { font-size: 47px; }

  .engagement-head { display: none; }
  .engagement-line { grid-template-columns: 94px 1fr; min-height: 107px; padding: 14px 0; row-gap: 7px; }
  .engagement-line > span:first-child { grid-row: 1 / 3; }
  .engagement-line > span:not(:first-child) { width: 100%; height: 17px; }
  .engagement-line > span:not(:first-child) b { font-size: 12px; }
  .engagement-line > strong { display: none; }

  .sentiment-meter { padding: 28px 0 21px; }
  .meter-labels { font-size: 8px; }
  .sentiment-workspace { display: block; min-height: 0; }
  .sentiment-tabs { display: grid; padding: 20px 0; grid-template-columns: repeat(3, 1fr); gap: 6px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sentiment-tab { min-height: 43px; padding: 7px; flex-direction: column; align-items: flex-start; justify-content: center; font-size: 8px; }
  .sentiment-tab span { margin-top: 3px; font-size: 12px; }
  .sentiment-content { padding: 24px 0; }
  .quote-meta { grid-template-columns: 1fr auto; row-gap: 4px; }
  .quote-meta b { grid-row: 2; }
  .quote-meta time { grid-column: 2; grid-row: 1; }
  .quote-card > p { font-size: 17px; }
  .mention-link { grid-template-columns: 27px minmax(0, 1fr) 14px; min-height: 84px; }
  .mention-link small { grid-column: 2; }
  .mention-link i { grid-column: 3; grid-row: 1 / 3; }
  .mention-link b { font-size: 15px; }

  .idea-category { padding: 24px 0 30px; }
  .idea-category > header { grid-template-columns: 35px 1fr auto; }
  .idea-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 19px; }
  .idea-card { grid-template-columns: 118px 1fr; }
  .idea-print { min-height: 134px; }
  .idea-copy { min-height: 134px; }
  .idea-print span { font-size: 21px; }

  .report-footer { grid-template-columns: 1fr auto; min-height: 66px; padding: 0 17px; font-size: 8px; }
}

@media (max-width: 390px) {
  .hero { min-height: 690px; }
  .topbar { font-size: 12px; }
  .medallion { flex-basis: 136px; width: 136px; }
  .medallion-emoji { font-size: 64px; }
  .section-pill { height: 46px; font-size: 18px; }
  .report-intro h1 { font-size: 40px; }
  .channel-row { font-size: 12px; }
  .channel-row strong { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
