:root {
  --red: #e8002d;
  --dark: #111118;
  --dark-2: #191a22;
  --text: #f6f7fb;
  --muted: #aeb4c2;
  --soft: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.16);
  --green: #00a676;
  --blue: #2f7de1;
  --yellow: #f5b000;
  --purple: #805ad5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  color: var(--text);
  background: #07070b;
  font-family: "Segoe UI", "Inter", "Arial", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }

.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(232,0,45,.35), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(47,125,225,.22), transparent 34%),
    linear-gradient(135deg, #08080d, #171821 60%, #0b0b10);
}

.login-card {
  width: min(520px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(16,17,24,.82);
  box-shadow: 0 40px 120px rgba(0,0,0,.45);
  backdrop-filter: blur(20px);
}

.kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.login h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: .96;
}

.login p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.5;
}

.login-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.login input {
  min-width: 0;
  padding: 15px 16px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: rgba(255,255,255,.07);
}

.login button, .nav button {
  cursor: pointer;
  padding: 14px 18px;
  color: white;
  border: 0;
  border-radius: 14px;
  background: var(--red);
  transition: transform .2s ease, filter .2s ease;
}

.login button:hover, .nav button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.error { margin-top: 14px; color: #ff9aaa; min-height: 20px; }

.deck {
  position: relative;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(circle at 12% 15%, rgba(232,0,45,.20), transparent 30%),
    radial-gradient(circle at 85% 82%, rgba(47,125,225,.14), transparent 35%),
    var(--dark);
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(clamp(320px, 30vw, 420px), .98fr);
  gap: clamp(24px, 2.5vw, 40px);
  padding: clamp(32px, 4vh, 48px) clamp(40px, 5vw, 64px) clamp(48px, 5vh, 64px);
  opacity: 0;
  transform: scale(.985);
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  transition: opacity .55s ease, transform .55s ease;
}

.slide.section, .slide.cover, .slide.close {
  grid-template-columns: 1fr;
  align-content: center;
}

.slide.visualOnly {
  grid-template-columns: 1fr;
  align-content: stretch;
  padding-top: clamp(20px, 2.5vh, 30px);
}

.slide.visualOnly .visual {
  min-height: calc(100vh - 170px);
}

.slide.cover .visual,
.slide.close .visual {
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: 96px;
  z-index: -1;
  min-height: 190px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.slide.cover .visual-inner,
.slide.close .visual-inner {
  min-height: 190px;
  padding: 0;
}

.slide.cover .quote,
.slide.close .quote {
  left: 0;
  right: auto;
  bottom: 0;
  width: min(900px, 100%);
}

.copy { align-self: center; max-width: 820px; }
.copy.wide { max-width: 1100px; }

.eyebrow {
  margin-bottom: clamp(10px, 1.2vh, 14px);
  color: var(--red);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  line-height: .98;
  letter-spacing: -.05em;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 4.6vw, 74px); max-width: 980px; }
.slide.cover h1, .slide.close h1 { font-size: clamp(54px, 6.8vw, 96px); max-width: 1180px; }
h2 { font-size: clamp(42px, 5.6vw, 78px); max-width: 930px; }

.lead {
  margin: 18px 0 0;
  max-width: 780px;
  color: #d9dde7;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.42;
  text-wrap: pretty;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(10px, 1.2vw, 14px);
  margin-top: clamp(18px, 2vh, 24px);
}

.metric {
  min-height: clamp(80px, 10vh, 96px);
  padding: clamp(12px, 1.5vh, 15px) clamp(12px, 1.5vw, 16px);
  border: 1px solid var(--line);
  border-radius: clamp(16px, 2vw, 22px);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}

.metric small {
  display: block;
  color: var(--muted);
  font-size: clamp(9px, 0.9vw, 11px);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: clamp(5px, 0.8vh, 7px);
  font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: clamp(6px, 0.8vh, 8px);
  color: var(--muted);
  font-size: clamp(11px, 1.1vw, 13px);
  line-height: 1.35;
}

.metric-toggle {
  cursor: zoom-in;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

.metric-toggle.metric-open {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(920px, 84vw);
  min-height: 210px;
  transform: translate(-50%, -50%) scale(1.08);
  z-index: 140;
  border-width: 2px;
  cursor: zoom-out;
  animation: metricExpandIn .5s cubic-bezier(.2,.9,.2,1) both;
}

.metric-toggle.metric-open small {
  font-size: 18px;
  letter-spacing: .14em;
}

.metric-toggle.metric-open strong {
  margin-top: 12px;
  font-size: 64px;
}

.metric-toggle.metric-open span {
  margin-top: 12px;
  font-size: 30px;
  line-height: 1.25;
  color: #f3f6ff;
}

.bullets {
  display: grid;
  gap: clamp(10px, 1.2vh, 13px);
  margin: clamp(24px, 2.5vh, 30px) 0 0;
  padding: 0;
  list-style: none;
  max-width: min(780px, 90%);
}

.bullets li {
  position: relative;
  padding-left: 25px;
  color: #dce1ec;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.36;
  text-wrap: pretty;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(232,0,45,.14);
}

.visual {
  align-self: center;
  min-height: clamp(350px, 40vh, 440px);
  border: 1px solid var(--line);
  border-radius: clamp(24px, 2.5vw, 34px);
  overflow: hidden;
  background: rgba(255,255,255,.06);
  box-shadow: 0 clamp(20px, 2.5vh, 30px) clamp(60px, 8vh, 100px) rgba(0,0,0,.36);
}

.visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 440px;
  padding: 24px;
}

.image-shot {
  width: 100%;
  height: 100%;
  min-height: 388px;
  object-fit: cover;
  border-radius: 24px;
  filter: saturate(1.05) contrast(1.03);
}

.image-shot.contain {
  object-fit: contain;
  padding: 14px;
  background: #f7f8fb;
}

.orb {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .7;
  animation: drift 7s ease-in-out infinite alternate;
}

.orb.red { background: radial-gradient(circle, rgba(232,0,45,.8), transparent 68%); left: 36px; top: 58px; }
.orb.blue { background: radial-gradient(circle, rgba(47,125,225,.68), transparent 68%); right: 28px; bottom: 42px; animation-delay: -.8s; }

@keyframes drift {
  to { transform: translate3d(28px, -18px, 0) scale(1.08); }
}

.engine {
  display: grid;
  gap: clamp(10px, 1.5vh, 14px);
  padding: clamp(12px, 2vh, 20px);
}

.engine-row {
  display: grid;
  grid-template-columns: clamp(80px, 10vw, 120px) 1fr;
  gap: clamp(12px, 1.5vw, 18px);
  align-items: center;
  padding: clamp(12px, 1.8vh, 16px);
  border: 1px solid var(--line);
  border-radius: clamp(16px, 2vw, 22px);
  background: rgba(255,255,255,.07);
  transform: translateX(40px);
  opacity: 0;
  animation: rowIn .6s ease forwards;
}

.engine-row:nth-child(2) { animation-delay: .08s; }
.engine-row:nth-child(3) { animation-delay: .16s; }
.engine-row:nth-child(4) { animation-delay: .24s; }
.engine-row:nth-child(5) { animation-delay: .32s; }

@keyframes rowIn { to { opacity: 1; transform: translateX(0); } }

.engine-row b { color: white; font-size: clamp(18px, 1.8vw, 22px); }
.engine-row span { color: var(--muted); font-size: clamp(13px, 1.2vw, 16px); }
.code { color: var(--red); font-weight: 900; letter-spacing: .1em; }

.bars {
  position: absolute;
  inset: clamp(24px, 3vh, 36px);
  display: flex;
  align-items: end;
  gap: clamp(16px, 2vw, 22px);
}

.bar {
  flex: 1;
  position: relative;
  height: calc(var(--h) * 1%);
  min-height: clamp(32px, 4vh, 40px);
  border-radius: clamp(14px, 1.5vw, 18px) clamp(14px, 1.5vw, 18px) clamp(6px, 0.8vw, 8px) clamp(6px, 0.8vw, 8px);
  background: linear-gradient(180deg, var(--c), rgba(255,255,255,.12));
  transform-origin: bottom;
  animation: grow .95s cubic-bezier(.2,.9,.2,1) both;
}

.bar-value {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(-24px, -2.5vh, -30px);
  color: #fff;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 8px 18px rgba(0,0,0,.45);
}

.bar label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(-26px, -2.5vh, -31px);
  color: var(--muted);
  font-size: clamp(9px, 0.9vw, 11px);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.map-creative {
  display: grid;
  grid-template-rows: 1.9fr .6fr;
  gap: 18px;
  height: 100%;
}

.map-creative img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
}

.creative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 16px);
  height: 100%;
}

.creative-shot {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
  min-height: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.065);
}

.creative-shot img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  border-radius: 16px;
  background: #101116;
}

.creative-shot span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tbr-growth-anim {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  height: 100%;
}

.tbr-exec-plus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 12px;
  height: 100%;
}

.tbr-pillar {
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  margin-bottom: 8px;
}

.tbr-pillar b {
  display: block;
  font-size: 16px;
  color: #f5f7fd;
}

.tbr-pillar span {
  display: block;
  margin-top: 3px;
  color: #b6c0d4;
  font-size: 13px;
  line-height: 1.35;
}

.tbr-quarterly {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 10px;
  height: 100%;
}

.tq-head {
  color: #e7ecf7;
  font-size: 24px;
  font-weight: 800;
}

.tq-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 220px;
  padding: 14px 14px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
}

.tq-bar {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.tq-bar i {
  display: block;
  width: 100%;
  border-radius: 12px 12px 6px 6px;
  transform-origin: bottom;
  transform: scaleY(.05);
  opacity: 0;
}
.tq-bar b {
  position: absolute;
  left: 0;
  right: 0;
  top: -24px;
  text-align: center;
  font-size: 16px;
}
.tq-bar span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.tq-bar.q1 i { height: 42%; background: linear-gradient(180deg,#8a97ab,#51647f); animation: tqGrow .65s ease .2s forwards; }
.tq-bar.q2 i { height: 82%; background: linear-gradient(180deg,#5aa0ff,#326fcf); animation: tqGrow .65s ease .45s forwards; }
.tq-bar.q3 i { height: 100%; background: linear-gradient(180deg,#f5b000,#db7a00); animation: tqGrow .65s ease .7s forwards; }
.tq-bar.q4 i { height: 100%; background: linear-gradient(180deg,#2ad4a0,#1ea67f); animation: tqGrow .65s ease .95s forwards; }

.tq-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tq-card {
  padding: 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  opacity: 0;
  transform: translateY(8px);
  animation: tqCardIn .45s ease forwards;
}
.tq-card:nth-child(1) { animation-delay: 1.05s; }
.tq-card:nth-child(2) { animation-delay: 1.2s; }
.tq-card:nth-child(3) { animation-delay: 1.35s; }
.tq-card:nth-child(4) { animation-delay: 1.5s; }
.tq-card small { display: block; color: #aab6cc; font-size: 11px; }
.tq-card b { display: block; margin-top: 3px; font-size: 30px; line-height: 1; }
.tq-card span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }

.tq-note {
  padding: 10px 12px;
  border: 1px solid rgba(94,234,140,.35);
  border-radius: 12px;
  background: rgba(94,234,140,.08);
  color: #c9f8dc;
  font-size: 13px;
  line-height: 1.35;
}


.tbr-real-photo span {
  color: #d3deef;
  font-size: clamp(9px, 0.75vw, 12px);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

.tbr-portal-screens {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
  height: 100%;
}

.tbr-portal-shot {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  min-height: 0;
}

.tbr-portal-shot img {
  width: 100%;
  height: 190px;
  min-height: 190px;
  object-fit: contain;
  background: rgba(8,10,18,.85);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  cursor: zoom-in;
}

.tbr-portal-shot span {
  color: #d0dbef;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tbr-fi-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.tbr-fi-row span { color: #b6c0d4; font-size: 14px; }
.tbr-fi-row b { color: #f8fbff; font-size: 18px; }

.tbr-fi-kpi {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(94,234,140,.35);
  background: rgba(94,234,140,.09);
  color: #73ffaf;
  font-size: 17px;
  font-weight: 900;
}

.tbr-market-note {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border: 1px solid rgba(47,125,225,.32);
  border-radius: 12px;
  background: rgba(47,125,225,.08);
  color: #d2def5;
  font-size: 13px;
  line-height: 1.35;
}

.tg-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 14px;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.05);
}

.tg-bar {
  position: relative;
  border-radius: 18px 18px 8px 8px;
  transform-origin: bottom;
  opacity: 0;
  transform: scaleY(.04);
  overflow: hidden;
}

.tg-2025 {
  height: 60%;
  background: linear-gradient(180deg, rgba(47,125,225,.95), rgba(47,125,225,.25));
  animation: tgIn2025 .85s cubic-bezier(.2,.9,.2,1) .2s forwards;
}

.tg-2026 {
  height: 100%;
  background: linear-gradient(180deg, rgba(232,0,45,.95), rgba(232,0,45,.25));
  animation: tgIn2026 1s cubic-bezier(.2,.9,.2,1) 1.15s forwards;
}

.tg-plus {
  align-self: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(94,234,140,.4);
  color: #72ffac;
  font-size: 22px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  animation: tgPlusIn .45s ease .95s forwards;
}

.tg-val {
  position: absolute;
  left: 0;
  right: 0;
  top: -30px;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
  animation: tgValueIn .4s ease .95s forwards;
}

.tg-2026 .tg-val { animation-delay: 1.9s; }

.tg-bar label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.tg-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
}

.tg-foot span { color: #cdd4e4; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.tg-foot b { color: #6dffab; font-size: 30px; text-shadow: 0 0 16px rgba(109,255,171,.25); }

@keyframes grow { from { transform: scaleY(.08); opacity: .25; } }
@keyframes tgIn2025 {
  60% { opacity: 1; transform: scaleY(1.03); }
  100% { opacity: 1; transform: scaleY(1); }
}
@keyframes tgIn2026 {
  0% { opacity: 0; transform: scaleY(.04); }
  70% { opacity: 1; transform: scaleY(1.05); }
  100% { opacity: 1; transform: scaleY(1); }
}
@keyframes tgPlusIn { to { opacity: 1; transform: translateY(0); } }
@keyframes tgValueIn { to { opacity: 1; transform: translateY(0); } }
@keyframes tqGrow { to { transform: scaleY(1); opacity: 1; } }
@keyframes tqCardIn { to { opacity: 1; transform: translateY(0); } }


.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  height: 100%;
}

.panel {
  padding: clamp(16px, 2vh, 24px);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2vw, 26px);
  background: rgba(255,255,255,.07);
}

.panel h3 { margin: 0 0 clamp(12px, 1.5vh, 16px); font-size: clamp(22px, 2.4vw, 28px); }
.panel p { color: var(--muted); line-height: 1.45; }
.panel[data-expand-panel] { cursor: zoom-in; }

.budget-chart-box {
  position: relative;
  min-height: 330px;
  overflow: hidden;
}

.budget-seq-chart {
  position: absolute;
  inset: 38px 24px 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
}

.budget-seq-note {
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .04em;
}

.seq-bar {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.seq-col {
  border-radius: 18px 18px 10px 10px;
  min-height: 36px;
  transform-origin: bottom;
  transform: scaleY(.04);
  opacity: .4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

.seq-bar label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

.seq-val {
  position: absolute;
  top: max(14px, calc(100% - var(--bar-h) - 30px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  opacity: 0;
  text-shadow: 0 8px 18px rgba(0,0,0,.45);
  white-space: nowrap;
}

.y25-plan { --bar-h: 49%; }
.y25-actual { --bar-h: 39%; }
.y26-plan { --bar-h: 100%; }
.y26-actual { --bar-h: 44%; }

.y25-plan .seq-col { height: 49%; background: linear-gradient(180deg, var(--blue), rgba(255,255,255,.12)); }
.y25-actual .seq-col { height: 39%; background: linear-gradient(180deg, var(--purple), rgba(255,255,255,.12)); }
.y26-plan .seq-col { height: 100%; background: linear-gradient(180deg, var(--red), rgba(255,255,255,.12)); }
.y26-actual .seq-col { height: 44%; background: linear-gradient(180deg, var(--green), rgba(255,255,255,.12)); }

.y25-plan .seq-col,
.y25-actual .seq-col {
  animation: seqGrow .7s cubic-bezier(.2,.9,.2,1) forwards;
}

.y25-plan .seq-val,
.y25-actual .seq-val {
  animation: seqValue .35s ease forwards;
  animation-delay: .65s;
}

.y26-plan .seq-col,
.y26-actual .seq-col {
  animation: seqGrow .85s cubic-bezier(.2,.9,.2,1) forwards;
  animation-delay: 1.1s;
}

.y26-plan .seq-val,
.y26-actual .seq-val {
  animation: seqValue .35s ease forwards;
  animation-delay: 1.9s;
}

.budget-helper {
  position: absolute;
  z-index: 4;
  color: #dfe6f5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  opacity: 0;
  background: rgba(10,12,18,.72);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 3px 8px;
}

.budget-helper::before {
  content: "";
  position: absolute;
  left: -84px;
  top: 50%;
  width: 78px;
  height: 1px;
  background: rgba(255,255,255,.48);
  transform: scaleX(0);
  transform-origin: right;
}

.helper-plan {
  left: 62%;
  top: 15%;
  animation: helperIn .35s ease forwards;
  animation-delay: 2.1s;
}

.helper-actual {
  left: 62%;
  top: 57%;
  animation: helperIn .35s ease forwards;
  animation-delay: 2.25s;
}

.helper-plan::before,
.helper-actual::before {
  animation: helperLine .45s ease forwards;
  animation-delay: 2.25s;
}

@keyframes seqGrow {
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes seqValue {
  to { opacity: 1; transform: translateX(-50%) translateY(-2px); }
}

@keyframes helperIn {
  to { opacity: 1; }
}

@keyframes helperLine {
  to { transform: scaleX(1); }
}

.budget-insight {
  display: grid;
  gap: 8px;
  align-content: start;
}

.seg-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 4px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  display: inline-block;
}

.dot.y2025 { background: var(--blue); }
.dot.y2026 { background: var(--red); }

.seg-row {
  padding: 8px 0 9px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.seg-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.seg-top b { color: #fff; font-size: 15px; }
.seg-top span { color: #dfe6f5; font-size: 12px; font-weight: 800; }

.seg-bars {
  display: grid;
  gap: 4px;
}

.seg-bar {
  display: block;
  height: 8px;
  width: var(--w);
  border-radius: 999px;
}

.seg-2025 { background: linear-gradient(90deg, #5ca2ff, #2f7de1); }
.seg-2026 { background: linear-gradient(90deg, #ff4f7c, #e8002d); }

.seg-values {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.budget-row {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.budget-row b {
  font-size: 15px;
  color: #fff;
}

.budget-row span {
  color: var(--muted);
  font-size: 13px;
}

.budget-note {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(232,0,45,.28);
  background: rgba(232,0,45,.08);
  color: #e8ecf8;
  font-size: 13px;
  line-height: 1.4;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.portal-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.075);
}

.portal-card b { display:block; margin-bottom: 10px; font-size: 23px; }
.portal-card span { color: var(--muted); line-height: 1.4; }

.vk-scorecard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vk-proof {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.075);
}

.vk-proof.warning {
  border-color: rgba(232,0,45,.36);
  background: rgba(232,0,45,.08);
}

.vk-proof b {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 22px;
}

.vk-proof span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.vk-growth {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.vk-plan-dash {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  height: 100%;
}

.vk-plan-period {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(232,0,45,.16), rgba(47,125,225,.12));
}

.vk-plan-period small {
  display: block;
  color: #d4d9e5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.vk-plan-period b {
  display: block;
  margin-top: 7px;
  font-size: 28px;
  letter-spacing: -.02em;
}

.vk-plan-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vk-plan-kpi {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
}

.vk-plan-kpi small {
  display: block;
  color: #c6cedf;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vk-plan-kpi b {
  display: block;
  margin-top: 6px;
  font-size: 32px;
  line-height: 1;
}

.vk-plan-kpi.accent b { color: #5eea8c; }

.vk-plan-meters {
  display: grid;
  gap: 10px;
  align-content: start;
}

.vk-plan-meter {
  padding: 10px 12px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}

.vk-meter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.vk-meter-top span { color: #c8d0e1; }
.vk-meter-top b { color: #f2f5fb; font-size: 14px; }

.vk-meter-line {
  margin-top: 8px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.vk-meter-line i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00a676, #5eea8c);
  animation: vkMeterGrow 1.1s ease .2s forwards;
}

.vk-meter-line i.good { background: linear-gradient(90deg, #2f7de1, #6aa6ff); }
.vk-meter-line i.warm { background: linear-gradient(90deg, #e8002d, #f57d00); }

.vk-green-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.vk-green-card {
  padding: 12px 12px 10px;
  border: 1px solid rgba(94,234,140,.35);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(94,234,140,.16), rgba(94,234,140,.05));
}

.vk-green-card small {
  display: block;
  color: #b9ffd2;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 5px;
}

.vk-green-card b {
  display: block;
  color: #6aff9b;
  font-size: 31px;
  line-height: 1;
  text-shadow: 0 0 22px rgba(95,255,154,.35);
}

.vk-green-card span {
  display: block;
  margin-top: 6px;
  color: #cce6d6;
  font-size: 12px;
}

.vk-line-wrap {
  padding: 12px 14px 10px;
  border: 1px solid rgba(94,234,140,.22);
  border-radius: 16px;
  background: rgba(16,26,20,.45);
}

.vk-line-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.vk-line-head span {
  color: #cfe8d9;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.vk-line-head b {
  color: #79ffab;
  font-size: 28px;
  text-shadow: 0 0 20px rgba(122,255,171,.35);
}

.vk-line-chart {
  width: 100%;
  height: 180px;
}

.vk-area {
  fill: url(#vkFill);
  opacity: .9;
}

.vk-line-path {
  fill: none;
  stroke: #89ffc3;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: vkLineDraw 2.2s ease forwards;
}

.vk-line-dot {
  fill: #9bffcb;
  opacity: 0;
  animation: vkDotIn .3s ease forwards;
  animation-delay: 2.05s;
}

.vk-axis {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 3px;
}

.vk-axis span {
  color: #93a99d;
  font-size: 10px;
  text-align: center;
}

.vk-cleanse-chart { padding-bottom: 12px; }

.vk-cleanse-chart h3 { margin-bottom: 10px; }

.vk-cleanse-svg {
  width: 100%;
  height: 245px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}

.vk-cleanse-area {
  fill: rgba(47,125,225,.12);
}

.vk-cleanse-y {
  fill: #a9b3c8;
  font-size: 12px;
  font-weight: 700;
}

.vk-cleanse-line {
  fill: none;
  stroke: #83b5ff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: vkLineDraw 2s ease forwards;
}

.vk-cleanse-event-line {
  stroke: rgba(232,0,45,.92);
  stroke-width: 3;
  stroke-dasharray: 8 8;
  opacity: 0;
  animation: vkCleanseEventIn .35s ease 1.65s forwards, vkCleanseEventPulse 1.1s ease 2s infinite;
}

.vk-cleanse-event-dot {
  fill: #ff4b67;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(232,0,45,.9));
  transform-box: fill-box;
  transform-origin: center;
  animation: vkCleanseDotIn .25s ease 1.75s forwards, vkCleanseDotPulse 1.1s ease 2s infinite;
}

.vk-cleanse-point {
  fill: #d9e3f6;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  animation: vkCleansePointIn .35s ease 1.9s forwards;
}

.vk-cleanse-drop {
  fill: #ff6f87;
  font-size: 14px;
  font-weight: 900;
  opacity: 0;
  animation: vkCleansePointIn .35s ease 2s forwards;
}

.vk-cleanse-event-label {
  margin-top: 8px;
  color: #ff8ea0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vk-social-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  box-sizing: border-box;
}

.vk-social-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 60vh;
  min-height: 0;
}

.vk-neg-matrix {
  display: grid;
  gap: 10px;
  padding: 10px 10px 12px;
  height: 100%;
  align-content: start;
}

.vk-matrix-head,
.vk-matrix-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 10px;
}

.vk-matrix-head span {
  color: #e8edf9;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}

.vk-issue,
.vk-action {
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.38;
  min-height: 74px;
  display: flex;
  align-items: center;
}

.vk-issue {
  color: #ffd3dd;
  background: rgba(232,0,45,.09);
  border-color: rgba(232,0,45,.25);
}

.vk-action {
  color: #97ffc1;
  background: rgba(53,207,122,.09);
  border-color: rgba(53,207,122,.28);
  font-weight: 600;
}

.vk-action.type {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: typingBlock .85s ease forwards;
}

.vk-action.type-2 { animation-delay: .5s; }
.vk-action.type-3 { animation-delay: 1s; }
.vk-action.type-4 { animation-delay: 1.5s; }
.vk-action.type-5 { animation-delay: 2s; }

@keyframes typingBlock {
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes vkMeterGrow {
  from { width: 0; }
  to { width: var(--w); }
}

@keyframes vkLineDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes vkDotIn {
  to { opacity: 1; }
}

@keyframes vkCleanseEventIn {
  to { opacity: 1; }
}

@keyframes vkCleanseEventPulse {
  0%, 100% { stroke-opacity: .45; }
  50% { stroke-opacity: 1; }
}

@keyframes vkCleanseDotIn {
  to { opacity: 1; transform: scale(1); }
}

@keyframes vkCleanseDotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

@keyframes vkCleansePointIn {
  to { opacity: 1; }
}

.atl-activities {
  display: grid;
  gap: 14px;
  padding: 8px;
}

.atl-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2px 8px;
}

.atl-head span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.atl-head b {
  font-size: 14px;
  color: #e9eefb;
}

.atl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.atl-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  padding: 16px 16px 14px;
  min-height: 138px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.atl-card h4 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
}

.atl-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.atl-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.atl-meta span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.atl-meta strong {
  color: #fff;
  font-size: 20px;
}

.atl-card.ooh h4 { color: #6db2ff; }
.atl-card.radio h4 { color: #ff4f7c; }
.atl-card.press h4 { color: #ffcb55; }
.atl-card.vk h4 { color: #36c49b; }

.quote {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 36px;
  padding: 24px;
  border-left: 5px solid var(--red);
  border-radius: 0 20px 20px 0;
  background: rgba(0,0,0,.28);
  font-size: 24px;
  line-height: 1.24;
}

.nav {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(10,12,18,.62);
  backdrop-filter: blur(12px);
  color: var(--muted);
  font-size: 13px;
}

.nav-actions { display: flex; gap: 8px; }
.nav button {
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
}
.nav button.primary { background: var(--red); }

.progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 30;
  height: 4px;
  background: var(--red);
  transition: width .35s ease;
}

.brand-logo {
  position: fixed;
  top: 28px;
  right: 34px;
  z-index: 18;
  width: 172px;
  height: auto;
  opacity: .92;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}

.inventory-map {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0b0d13;
}

.press-layout {
  grid-template-columns: 1.05fr .95fr;
}

.press-covers {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.press-covers img {
  width: 100%;
  height: 154px;
  object-fit: contain;
  background: rgba(10,12,18,.88);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.16);
  cursor: zoom-in;
}

.press-plan {
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  overflow: hidden;
}

.press-plan-head,
.press-plan-row {
  display: grid;
  grid-template-columns: 1.7fr 1.1fr .9fr repeat(5, .58fr) .7fr;
  gap: 0;
}

.press-plan-head span {
  padding: 8px 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f4f7ff;
  background: rgba(232,128,45,.92);
  border-right: 1px solid rgba(255,255,255,.25);
}

.press-plan-row span {
  padding: 8px 6px;
  font-size: 12px;
  color: #e3e8f5;
  border-top: 1px solid rgba(255,255,255,.1);
  border-right: 1px solid rgba(255,255,255,.08);
  text-align: center;
}

.press-plan-row span:first-child,
.press-plan-head span:first-child {
  text-align: left;
}

.press-plan-row .on {
  background: rgba(232,128,45,.23);
  color: #fff;
  font-weight: 800;
}

.press-shot,
.creative-shot img[data-open-image],
.image-shot[data-open-image] {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0,0,0,.86);
}

.lightbox img {
  max-width: min(94vw, 1300px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 40px 140px rgba(0,0,0,.65);
}

.lightbox img.lightbox-uniform {
  width: min(86vw, 760px);
  height: min(86vh, 980px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  background: #0f131d;
  padding: 10px;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 24px;
  cursor: pointer;
  padding: 10px 14px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: rgba(255,255,255,.12);
}

.lightbox.gallery {
  grid-template-columns: auto minmax(420px, 1fr) auto;
  gap: 14px;
}

.lightbox.gallery .gallery-image {
  max-width: min(90vw, 1500px);
  max-height: 84vh;
  width: auto;
  background: #0f131d;
  padding: 8px;
}

.gallery-nav {
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.gallery-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.panel-zoom {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3,4,8,.82);
}

.panel-zoom-card {
  width: min(980px, 96vw);
  height: min(92vh, 980px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  background: linear-gradient(180deg, #1d212d, #232a3a);
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.panel-zoom-title {
  padding: 14px 20px 8px;
  color: #f3f6ff;
  font-size: 18px;
  font-weight: 800;
}

.panel-zoom-content {
  overflow: auto;
  padding: 8px 16px 16px;
}

.panel-zoom-content .budget-insight {
  min-height: calc(92vh - 120px);
}

.panel-zoom-content .budget-insight h3 {
  font-size: 40px;
  line-height: 1.02;
  margin-bottom: 18px;
}

.panel-zoom-content .seg-legend {
  font-size: 18px;
  gap: 14px;
  margin-bottom: 12px;
}

.panel-zoom-content .dot {
  width: 11px;
  height: 11px;
}

.panel-zoom-content .seg-row {
  padding: 12px 0 14px;
}

.panel-zoom-content .seg-top b {
  font-size: 27px;
}

.panel-zoom-content .seg-top span {
  font-size: 22px;
}

.panel-zoom-content .seg-bars {
  gap: 10px;
}

.panel-zoom-content .seg-bar {
  height: 12px;
}

.panel-zoom-content .seg-values {
  margin-top: 10px;
  font-size: 19px;
}

.panel-zoom-content .budget-note {
  margin-top: 16px;
  padding: 16px 20px;
  font-size: 20px;
  line-height: 1.35;
}

.panel-zoom-close {
  position: absolute;
  top: 10px;
  right: 12px;
  cursor: pointer;
  padding: 9px 12px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 10px;
  background: rgba(255,255,255,.12);
}

.fade-up { animation: fadeUp .7s ease both; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .24s; }
.delay-3 { animation-delay: .36s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes metricExpandIn {
  from { transform: translate(-50%, -50%) scale(.84); opacity: .15; }
  to { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

.metric-toggle.metric-open.metric-summer {
  background: linear-gradient(150deg, rgba(232,0,45,.98), rgba(255,116,56,.91));
  border-color: rgba(255,176,155,.9);
  box-shadow: 0 32px 120px rgba(232,0,45,.5), inset 0 1px 0 rgba(255,255,255,.35);
}

.metric-toggle.metric-open.metric-winter {
  background: linear-gradient(155deg, rgba(32,126,255,.98), rgba(77,200,255,.8));
  border-color: rgba(172,226,255,.95);
  box-shadow: 0 32px 120px rgba(56,149,255,.48), inset 0 1px 0 rgba(255,255,255,.42);
  animation: metricExpandIn .5s cubic-bezier(.2,.9,.2,1) both, winterPulse 2.6s ease-in-out infinite;
}

@keyframes winterPulse {
  0%, 100% { filter: saturate(1) brightness(1); }
  50% { filter: saturate(1.18) brightness(1.08); }
}

body.metric-focus-active::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(4,7,15,.28);
  pointer-events: none;
}

.tbr-design-vs-real {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(6px, 0.8vw, 12px);
  width: min(96%, calc(100% - clamp(160px, 12vw, 220px)));
  margin: auto;
  height: calc(100vh - clamp(120px, 15vh, 200px));
  max-height: 900px;
  padding: clamp(8px, 1.2vh, 20px) clamp(12px, 1.5vw, 24px) clamp(16px, 2vh, 32px);
  box-sizing: border-box;
  align-items: stretch;
}

.tbr-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  min-height: 0;
}

.tbr-col-title {
  color: #e5ebf7;
  font-size: clamp(10px, 0.9vw, 14px);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 clamp(6px, 1vh, 12px);
  text-align: center;
}

.tbr-design-gallery,
.tbr-real-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(4px, 0.6vh, 10px);
  flex: 1;
  min-height: 0;
}

.tbr-design-item,
.tbr-real-photo {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(3px, 0.4vh, 6px);
  padding: clamp(4px, 0.6vh, 8px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: clamp(8px, 0.8vw, 14px);
  background: rgba(255,255,255,.04);
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
}

.tbr-design-item img,
.tbr-real-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: clamp(5px, 0.5vw, 12px);
}

.tbr-design-item img {
  object-fit: contain;
  background: rgba(7,9,16,.8);
}

.tbr-real-photo img {
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.12);
  cursor: zoom-in;
}

.tbr-design-item span {
  color: #c8d3e8;
  font-size: clamp(9px, 0.75vw, 12px);
  font-weight: 800;
  text-align: center;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tbr-real-photo span {
  color: #d3deef;
  font-size: clamp(9px, 0.75vw, 12px);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 1200px) {
  .slide {
    grid-template-columns: 1fr;
    overflow: auto;
    padding: clamp(24px, 3vh, 32px) clamp(20px, 3vw, 40px);
  }
  .visual { min-height: clamp(300px, 35vh, 430px); }
  .nav {
    left: clamp(8px, 1vw, 12px);
    right: clamp(8px, 1vw, 12px);
    bottom: clamp(8px, 1vh, 12px);
  }
  .brand-logo {
    width: clamp(100px, 12vw, 140px);
    top: clamp(12px, 1.5vh, 18px);
    right: clamp(12px, 1.5vw, 18px);
  }
  .copy { max-width: 100%; }
  h1 { font-size: clamp(32px, 5vw, 54px); }
  h2 { font-size: clamp(28px, 4.5vw, 48px); }
  .lead { font-size: clamp(15px, 2.5vw, 20px); }
  .eyebrow { font-size: clamp(10px, 1.5vw, 12px); }
  .metric strong { font-size: clamp(20px, 4vw, 28px); }
  .engine-row { grid-template-columns: clamp(60px, 15vw, 100px) 1fr; }
  .engine-row b { font-size: clamp(16px, 3vw, 20px); }

  .tbr-design-vs-real {
    width: 98%;
    gap: 8px;
    padding: 10px 12px 16px;
    height: auto;
    max-height: none;
  }
}

/* Mobile-first hardening */
@media (max-width: 900px) {
  body { overflow: auto; }
  .deck { min-height: 100dvh; height: auto; }

  .slide {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 14px 92px;
    min-height: 100dvh;
  }

  .copy,
  .copy.wide,
  .lead,
  .bullets { max-width: 100%; }

  h1 { font-size: clamp(30px, 9vw, 42px); }
  h2 { font-size: clamp(26px, 8vw, 36px); }
  .lead { font-size: 15px; margin-top: 10px; line-height: 1.35; }
  .eyebrow { font-size: 10px; letter-spacing: .14em; }

  .metrics { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
  .metric { min-height: 72px; padding: 10px 12px; }
  .metric strong { font-size: clamp(20px, 6.5vw, 30px); }

  .visual { min-height: 280px; border-radius: 16px; }
  .visual-inner { min-height: 280px; padding: 10px; }

  .engine { padding: 8px; gap: 8px; }
  .engine-row { grid-template-columns: 60px 1fr; padding: 10px; gap: 10px; }
  .engine-row b { font-size: 16px; }
  .engine-row span { font-size: 12px; }

  .bars { inset: 20px 12px 36px; gap: 10px; }
  .bar-value { font-size: 12px; top: -20px; }
  .bar label { font-size: 9px; bottom: -22px; }

  .panel { padding: 12px; border-radius: 14px; }
  .panel h3 { font-size: 20px; margin-bottom: 8px; }

  .tbr-design-vs-real {
    width: 100%;
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 6px 4px 8px;
  }
  .tbr-col-title { font-size: 11px; margin-bottom: 6px; }
  .tbr-design-gallery,
  .tbr-real-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .tbr-design-item,
  .tbr-real-photo { padding: 4px; border-radius: 8px; }
  .tbr-design-item span,
  .tbr-real-photo span { font-size: 9px; }

  .brand-logo { width: 98px; top: 10px; right: 10px; opacity: .9; }

  .nav {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 8px;
    padding: 8px;
    font-size: 11px;
  }
  .nav > div:first-child {
    max-width: 44%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-actions { gap: 6px; }
  .nav button { padding: 8px 10px; font-size: 12px; border-radius: 10px; }

  .lightbox { padding: 10px; }
  .lightbox.gallery { grid-template-columns: 1fr; gap: 10px; }
  .gallery-nav { position: fixed; bottom: 56px; width: 40px; height: 40px; }
  .gallery-nav.prev { left: 12px; }
  .gallery-nav.next { right: 12px; }
  .lightbox.gallery .gallery-image { max-width: 95vw; max-height: 76vh; }
  .lightbox-close { top: 10px; right: 10px; padding: 8px 10px; }
}

@media (max-width: 640px) {
  .login { padding: 16px; }
  .login-card { padding: 20px 16px; border-radius: 18px; }
  .login-form { grid-template-columns: 1fr; }

  .slide { padding: 14px 10px 88px; }
  .slide.cover .visual,
  .slide.close .visual {
    position: static;
    min-height: 140px;
    left: auto;
    right: auto;
    bottom: auto;
  }

  h1 { font-size: clamp(26px, 10vw, 36px); }
  h2 { font-size: clamp(22px, 9vw, 30px); }
  .lead { font-size: 14px; }

  .bullets { gap: 8px; margin-top: 14px; }
  .bullets li { font-size: 14px; padding-left: 18px; }
  .bullets li::before { width: 7px; height: 7px; box-shadow: 0 0 0 4px rgba(232,0,45,.14); }

  .visual,
  .visual-inner { min-height: 240px; }
  .image-shot.contain { padding: 6px; }

  .tbr-design-gallery,
  .tbr-real-photo-grid { gap: 4px; }
  .tbr-design-item,
  .tbr-real-photo { padding: 3px; }

  .nav > div:first-child { display: none; }
  .nav { justify-content: flex-end; }
  .nav button { padding: 7px 9px; font-size: 11px; }

  .brand-logo { width: 82px; top: 8px; right: 8px; }
}

/* iPhone Pro Max tuned profile */
body.mobile-pro-max .slide {
  padding: 16px 12px 96px;
  gap: 12px;
}

body.mobile-pro-max h1 {
  font-size: clamp(30px, 9.2vw, 42px);
  line-height: 1.02;
}

body.mobile-pro-max .lead {
  font-size: 14px;
  line-height: 1.35;
  margin-top: 8px;
}

body.mobile-pro-max .metrics {
  grid-template-columns: 1fr;
  gap: 8px;
}

body.mobile-pro-max .metric {
  min-height: 74px;
  padding: 10px 11px;
}

body.mobile-pro-max .visual,
body.mobile-pro-max .visual-inner {
  min-height: 250px;
}

body.mobile-pro-max .tbr-design-vs-real {
  grid-template-columns: 1fr;
  width: 100%;
  height: auto;
  max-height: none;
  padding: 6px 2px 8px;
}

body.mobile-pro-max .tbr-design-gallery,
body.mobile-pro-max .tbr-real-photo-grid {
  gap: 4px;
}

body.mobile-pro-max .tbr-design-item,
body.mobile-pro-max .tbr-real-photo {
  padding: 3px;
  border-radius: 7px;
}

body.mobile-pro-max .tbr-design-item span,
body.mobile-pro-max .tbr-real-photo span {
  font-size: 9px;
}

body.mobile-pro-max .nav {
  left: 8px;
  right: 8px;
  bottom: max(8px, env(safe-area-inset-bottom));
  padding: 8px;
}

body.mobile-pro-max .nav > div:first-child {
  display: none;
}

body.mobile-pro-max .nav button {
  padding: 8px 10px;
  font-size: 11px;
}

body.mobile-pro-max .brand-logo {
  width: 84px;
  top: 8px;
  right: 8px;
}

/* Mobile width fix for previously narrow two-column blocks */
@media (max-width: 900px) {
  .split,
  .press-layout,
  .map-creative,
  .creative-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto;
    height: auto;
  }

  .split { gap: 10px; }

  .panel,
  .creative-shot,
  .press-shot {
    width: 100%;
    min-width: 0;
  }

  .budget-chart-box { min-height: 260px; }
  .budget-seq-chart {
    position: relative;
    inset: auto;
    padding: 8px 6px 0;
    gap: 10px;
  }

  .vk-cleanse-svg { height: 210px; }
  .vk-social-shot { padding: 10px; }
  .vk-social-img { max-height: 52vh; }

  .press-covers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .press-covers img { height: 120px; }

  .press-plan {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .press-plan-head,
  .press-plan-row {
    min-width: 760px;
  }
}

@media (max-width: 640px) {
  .split { gap: 8px; }
  .panel { padding: 10px; border-radius: 12px; }

  .budget-chart-box { min-height: 220px; }
  .budget-seq-chart { gap: 8px; }
  .bar-value { font-size: 11px; }

  .press-covers img { height: 98px; }
  .vk-cleanse-svg { height: 180px; }
}


/* Mobile hotfix: budget bars + quarterly cards */
@media (max-width: 900px) {
  .budget-seq-chart {
    min-height: 220px;
    align-items: end;
  }
  .seq-bar { height: 170px; }
  .seq-val { font-size: 12px; }
  .budget-helper { display: none; }

  .tq-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 180px;
    gap: 10px;
    padding: 12px 10px 24px;
  }
  .tq-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .tq-card b { font-size: clamp(26px, 6vw, 36px); }
  .tq-card small { font-size: 10px; }
  .tq-card span { font-size: 11px; }
}

@media (max-width: 640px) {
  .budget-seq-chart { min-height: 200px; }
  .seq-bar { height: 150px; }

  .tq-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 160px;
    gap: 8px;
  }
  .tq-cards { grid-template-columns: 1fr; }
  .tq-card b { font-size: clamp(24px, 8vw, 32px); }
}

/* Press table fit fix on mobile */
@media (max-width: 900px) {
  .press-plan-head,
  .press-plan-row {
    min-width: 0 !important;
    grid-template-columns: 1.35fr .9fr .75fr repeat(5, .45fr) .55fr;
  }
  .press-plan-head span {
    padding: 6px 4px;
    font-size: 9px;
    letter-spacing: .02em;
  }
  .press-plan-row span {
    padding: 6px 4px;
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .press-plan-head,
  .press-plan-row {
    grid-template-columns: 1.2fr .8fr .65fr repeat(5, .42fr) .5fr;
  }
  .press-plan-head span { font-size: 8px; padding: 5px 3px; }
  .press-plan-row span { font-size: 9px; padding: 5px 3px; }
}

/* Mobile beautification: Quarterly Volume Trajectory block */
@media (max-width: 900px) {
  .tq-head {
    font-size: clamp(24px, 6.8vw, 34px);
    line-height: 1.05;
    margin-bottom: 4px;
  }

  .tq-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 108px;
    gap: 10px;
    min-height: auto;
    padding: 10px;
    border-radius: 14px;
  }

  .tq-bar {
    height: auto;
    display: grid;
    grid-template-areas:
       bar
      label;
    grid-template-rows: 1fr auto;
    align-items: stretch;
  }

  .tq-bar i {
    grid-area: bar;
    width: 100%;
    height: 100% !important;
    min-height: 64px;
    border-radius: 12px;
    transform: none;
    opacity: 1;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
    animation: none;
  }

  .tq-bar b {
    grid-area: bar;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    align-self: center;
    justify-self: center;
    font-size: clamp(26px, 6.8vw, 34px);
    line-height: 1;
    text-shadow: 0 8px 18px rgba(0,0,0,.42);
    z-index: 2;
  }

  .tq-bar span {
    grid-area: label;
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .tq-cards { gap: 8px; }
  .tq-card {
    border-radius: 14px;
    padding: 10px 12px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  }
}

@media (max-width: 640px) {
  .tq-bars { grid-auto-rows: 96px; gap: 8px; padding: 8px; }
  .tq-bar i { min-height: 56px; }
  .tq-bar b { font-size: clamp(22px, 7vw, 30px); }
  .tq-bar span { font-size: 11px; margin-top: 5px; }
}

/* Premium mobile redesign: quarterly block */
@media (max-width: 900px) {
  .tbr-quarterly {
    gap: 12px;
  }

  .tq-head {
    font-size: clamp(28px, 7.6vw, 40px);
    line-height: 1.02;
    letter-spacing: -.02em;
    margin: 2px 2px 4px;
  }

  .tq-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 112px;
    min-height: auto;
    padding: 12px;
    gap: 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.14);
  }

  .tq-bar {
    position: relative;
    height: auto;
    border-radius: 14px;
    overflow: hidden;
  }

  .tq-bar i {
    width: 100%;
    height: 100% !important;
    min-height: 0;
    border-radius: 14px;
    transform: none;
    opacity: 1;
    animation: none;
    filter: saturate(1.08) contrast(1.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 20px rgba(0,0,0,.22);
  }

  .tq-bar b {
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: clamp(30px, 7.2vw, 40px);
    line-height: 1;
    color: #fff;
    text-shadow: 0 10px 22px rgba(0,0,0,.38);
    z-index: 2;
    white-space: nowrap;
  }

  .tq-bar span {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    margin: 0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    color: rgba(255,255,255,.92);
    text-transform: uppercase;
    z-index: 2;
    white-space: nowrap;
  }

  .tq-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tq-card {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  }

  .tq-card small { font-size: 11px; }
  .tq-card b {
    margin-top: 4px;
    font-size: clamp(34px, 8.4vw, 48px);
    line-height: .95;
  }
  .tq-card span { font-size: 12px; }

  .tq-note {
    margin-top: 2px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.35;
  }
}

@media (max-width: 640px) {
  .tq-bars {
    grid-auto-rows: 102px;
    padding: 10px;
    gap: 8px;
  }

  .tq-bar b { font-size: clamp(26px, 7vw, 34px); }
  .tq-bar span { font-size: 10px; bottom: 9px; }

  .tq-cards { grid-template-columns: 1fr; }
  .tq-card b { font-size: clamp(30px, 10vw, 42px); }
  .tq-note { font-size: 12px; }
}

/* Emergency fix: quarterly block visible on mobile */
@media (max-width: 900px) {
  .tq-bars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: auto;
    padding: 10px;
  }

  .tq-bar {
    position: relative;
    min-height: 104px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
  }

  .tq-bar i { display: none !important; }

  .tq-bar::before {
    content: ;
 position: absolute;
 inset: 0;
 border-radius: 14px;
 box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
 }

 .tq-bar.q1::before { background: linear-gradient(180deg,#8a97ab,#51647f); }
 .tq-bar.q2::before { background: linear-gradient(180deg,#5aa0ff,#326fcf); }
 .tq-bar.q3::before { background: linear-gradient(180deg,#f5b000,#db7a00); }
 .tq-bar.q4::before { background: linear-gradient(180deg,#2ad4a0,#1ea67f); }

 .tq-bar b {
 position: relative;
 z-index: 2;
 margin: 0;
 top: auto;
 left: auto;
 right: auto;
 font-size: clamp(30px, 7.2vw, 40px);
 line-height: 1;
 color: #fff;
 text-shadow: 0 10px 22px rgba(0,0,0,.38);
 transform: none;
 }

 .tq-bar span {
 position: relative;
 z-index: 2;
 margin-top: 8px;
 left: auto;
 right: auto;
 bottom: auto;
 transform: none;
 font-size: 11px;
 font-weight: 900;
 letter-spacing: .08em;
 color: rgba(255,255,255,.92);
 text-transform: uppercase;
 white-space: nowrap;
 }
}

@media (max-width: 640px) {
 .tq-bar { min-height: 94px; border-radius: 12px; }
 .tq-bar::before { border-radius: 12px; }
 .tq-bar b { font-size: clamp(26px, 7vw, 34px); }
 .tq-bar span { font-size: 10px; margin-top: 6px; }
}

/* Mobile only: hide quarterly colored bars block */
@media (max-width: 900px) {
  .tq-bars { display: none !important; }
}
