/* ==========================================================================
   IDLC FINANCE OLYMPIAD 3.0 — "The Rally". The KV is a rising chart, so the
   page reads like a market rally: it opens on 17 Jan 2023, climbs through the
   online round and closes at the gala on 24 Feb. Ground is the KV's grey graph
   paper; the logo's own build (black italic on a white sticker body with a red
   keyline) is the page's device: one word in each headline is a sticker.
   Archivo for display, JetBrains Mono for numbers, Hind Siliguri for Bangla
   (the KV's own Bangla face).
   ========================================================================== */

.fo-page {
  --red: #e30613;
  --red-d: #b8000c;
  --ink: #0b0b0c;
  --ink-2: rgba(11, 11, 12, 0.72);
  --ink-3: rgba(11, 11, 12, 0.5);
  --paper: #ececec;
  --paper-2: #f6f6f6;
  --grid: rgba(11, 11, 12, 0.055);
  --line: rgba(11, 11, 12, 0.12);
  --green: #12a150;
  --coin: #fec55e;
  --night: #120a10;
  --fo-display: "Archivo", "Geist", system-ui, sans-serif;
  --fo-body: "Geist", system-ui, sans-serif;
  --fo-mono: "JetBrains Mono", "Google Sans Code", ui-monospace, monospace;
  --fo-bn: "Hind Siliguri", "Geist", sans-serif;
  --fo-gap: 104px;
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hdr: 121px; /* .site-header's height (site.css) */
  background: var(--paper);
  color: var(--ink);
}

.fo-page .site-header {
  position: relative;
  z-index: 5;
}

.fo-page .site-header .pill-chat {
  background: var(--red);
  color: #fff;
}


/* the hero's ground runs up behind the header, so the top reads as one surface */
@media (max-width: 767px) {
  .fo-page {
    --hdr: 66px;
  }
}

.fo {
  position: relative;
  margin-top: calc(-1 * var(--hdr));
  overflow: clip;
  font-family: var(--fo-body);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center top;
}

.fo-wrap {
  position: relative;
  z-index: 2;
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.fo figure {
  margin: 0;
}

.fo img[data-zoom] {
  cursor: zoom-in;
}

.fo [lang="bn"] {
  font-family: var(--fo-bn);
}

/* ---------- The sticker word: the logo's own build ---------- */
.fo-stk {
  display: inline-block;
  padding: 0.02em 0.2em 0.08em 0.14em;
  margin: 0 0.04em;
  background: #fff;
  border: 0.055em solid var(--red);
  border-radius: 0.2em;
  color: var(--ink);
  transform: rotate(-2.5deg);
  box-shadow: 0.05em 0.07em 0 rgba(11, 11, 12, 0.14);
  line-height: 1.04;
}

/* ---------- Market tags ---------- */
.fo-tag {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--fo-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fo-tag-m {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
}

.fo-tag-m.fo-up {
  background: var(--green);
}

.fo-tag-m.fo-live {
  background: var(--red);
  animation: fo-blink 1.6s steps(2, jump-none) infinite;
}

.fo-tag-w {
  color: var(--ink);
  font-weight: 700;
}

.fo-tag-t {
  color: var(--ink-3);
}

.fo-tag-t::before {
  content: "/";
  margin-right: 10px;
  color: var(--line);
}

@keyframes fo-blink {
  50% {
    opacity: 0.35;
  }
}

/* ---------- Section heads ---------- */
.fo-sec {
  position: relative;
  padding: var(--fo-gap) 0;
}

.fo-head {
  max-width: 820px;
}

.fo-head h2,
.fo-hero-t,
.fo-fin-t {
  margin: 0;
  font-family: var(--fo-display);
  font-size: clamp(36px, 4.6vw, 68px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.fo-lead {
  max-width: 660px;
  margin: 26px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
}

.fo-sub-k {
  margin: 88px 0 22px;
  font-family: var(--fo-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Hero ---------- */
.fo-hero {
  position: relative;
  padding: calc(76px + var(--hdr)) 0 0;
}

.fo-hero::before {
  /* the KV's faint rising chart behind the mark */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/idlc/el-chart.webp") right 4% top calc(40px + var(--hdr)) / min(58vw, 760px) auto no-repeat;
  opacity: 0.32;
  pointer-events: none;
}

.fo-hero-in {
  display: grid;
  justify-items: center;
  text-align: center;
}

.fo-kicker {
  margin: 0;
}

.fo-stage {
  position: relative;
  width: min(880px, 100%);
  margin: 26px auto 0;
  aspect-ratio: 728.6 / 315.4;
}

.fo-h1-logo {
  position: relative;
  z-index: 2;
  margin: 0;
}

.fo-logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.fo-props {
  position: absolute;
  inset: -12% -16%;
  z-index: 1;
  pointer-events: none;
}

.fo-prop {
  position: absolute;
  width: var(--w);
  height: auto;
  filter: drop-shadow(0 18px 18px rgba(11, 11, 12, 0.14));
}

.p-calc { --w: 7%; left: 2%; top: 46%; rotate: -24deg; }
.p-pct { --w: 8%; left: 6%; top: 6%; rotate: -12deg; }
.p-coin1 { --w: 7%; left: 24%; top: 14%; rotate: 14deg; }
.p-coin2 { --w: 8%; left: 15%; top: 80%; rotate: -18deg; }
.p-coin3 { --w: 8.5%; right: 9%; top: 74%; rotate: 8deg; }
.p-pie { --w: 8%; right: 7%; top: 2%; rotate: 10deg; }
.p-cards { --w: 10%; right: 1%; top: 38%; rotate: -8deg; }

.fo-hero-copy {
  max-width: 860px;
  margin-top: 64px;
}

.fo-hero-t {
  font-size: clamp(34px, 4.4vw, 62px);
}

.fo-hero-sub {
  max-width: 820px;
  margin: 26px auto 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}

.fo-credits {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1.3fr 0.6fr 1fr;
  width: 100%;
  margin: 64px 0 72px;
  text-align: left;
  border-top: 2px solid var(--ink);
}

.fo-credits div {
  padding: 18px 18px 0 0;
}

.fo-credits dt {
  font-family: var(--fo-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.fo-credits dd {
  display: grid;
  gap: 6px;
  justify-items: start;
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.45;
}

.fo-credits dd b {
  font-size: 17px;
  font-weight: 700;
}

.fo-credits a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}

.fo-credits a:hover {
  color: var(--red);
  border-color: var(--red);
}

/* ---------- Ticker ---------- */
.fo-ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  font-family: var(--fo-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.t-run {
  display: inline-flex;
  animation: fo-tick 46s linear infinite;
}

.t-i {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.t-i b {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

.t-v.up {
  color: #3ddc84;
}

@keyframes fo-tick {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 00 Brief ---------- */
.fo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ---------- 01 The mark: explode + blueprint ---------- */
.fo-explode {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 72px;
}

.fo-stack {
  position: relative;
  aspect-ratio: 1.2;
  perspective: 1800px;
}

.fo-stack-in {
  position: absolute;
  inset: 24% 8%;
  transform-style: preserve-3d;
}

.fo-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.35s, filter 0.35s;
}

.fo-layer svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.fo-layer::before {
  /* a faint pane so each layer reads as a sheet when apart */
  content: "";
  position: absolute;
  inset: -4% -3%;
  border: 1px solid rgba(11, 11, 12, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 30px 40px -34px rgba(11, 11, 12, 0.35);
  opacity: var(--pane, 0);
}

.fo-stack.is-focus .fo-layer {
  opacity: 0.18;
}

.fo-stack.is-focus .fo-layer.is-on {
  opacity: 1;
}

.fo-legend ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fo-legend li {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: default;
  transition: background-color 0.25s;
  outline: none;
}

.fo-legend li:hover,
.fo-legend li:focus-visible,
.fo-legend li.is-on {
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.lg-n {
  grid-row: 1 / 3;
  font-family: var(--fo-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  padding-top: 3px;
}

.fo-legend b {
  font-family: var(--fo-display);
  font-size: 19px;
  font-style: italic;
  font-weight: 800;
}

.fo-legend li > span:last-child {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.fo-btn-line {
  margin-top: 18px;
  height: 44px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 14px/1 var(--fo-body);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}

.fo-btn-line:hover {
  background: var(--ink);
  color: #fff;
}

.fo .fo-blue {
  margin-top: 168px;
  padding: clamp(24px, 4vw, 56px);
  border-radius: 20px;
  background-color: #0e1a2e;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #dfe9ff;
}

.fo-blue svg {
  display: block;
  width: min(100%, 1000px);
  margin-inline: auto;
  height: auto;
  overflow: visible;
}

.b-ghost path {
  fill: none !important;
  stroke: rgba(223, 233, 255, 0.55);
  stroke-width: 1.1;
}

.b-coins path {
  fill: none !important;
  stroke: var(--coin);
  stroke-width: 1.2;
}

.b-lines .g {
  fill: none;
  stroke: #ff5a64;
  stroke-width: 1.2;
  stroke-dasharray: 1;
  vector-effect: non-scaling-stroke;
}

.b-lines .d {
  stroke: #ffffff;
  stroke-width: 1.6;
  stroke-dasharray: 1;
  vector-effect: non-scaling-stroke;
}

.b-txt text {
  fill: #ffb3b8;
  font-family: var(--fo-mono);
  font-size: 13px;
  font-weight: 500;
}

.fo-blue figcaption {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(223, 233, 255, 0.72);
}

/* ---------- 02 The kit ---------- */
.fo-flat {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}

.k-cell {
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  gap: 14px;
  padding: 26px 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1px var(--line);
}

.k-cell img,
.k-cell svg {
  width: 100%;
  max-width: 120px;
  height: 120px;
  object-fit: contain;
  transition: transform 0.5s var(--pop);
  filter: drop-shadow(0 14px 14px rgba(11, 11, 12, 0.12));
}

.k-cell:hover img,
.k-cell:hover svg {
  transform: translateY(-8px) rotate(-6deg) scale(1.06);
}

.k-cell span {
  font-family: var(--fo-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--ink-2);
}

.fo-palette {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.pal-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.sw {
  display: grid;
  grid-template-rows: 64px auto auto;
  gap: 4px;
  padding: 10px 10px 14px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: copy;
  transition: transform 0.3s var(--pop);
}

.sw:hover {
  transform: translateY(-3px);
}

.sw i {
  margin-bottom: 8px;
  border-radius: 10px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(11, 11, 12, 0.08);
}

.sw b {
  font-size: 14px;
  font-weight: 600;
}

.sw span {
  font-family: var(--fo-mono);
  font-size: 12px;
  color: var(--ink-3);
}

.sw-red { --c: #e30613; }
.sw-ink { --c: #0b0b0c; }
.sw-white { --c: #ffffff; }
.sw-paper { --c: #ececec; }
.sw-coin { --c: #fec55e; }
.sw-pink { --c: #e8abcc; }
.sw-green { --c: #b5d9c2; }
.sw-blue { --c: #8fc2e8; }

.pal-type {
  display: grid;
  align-content: center;
  padding: 26px 28px;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
}

.pt-k {
  margin: 0;
  font-family: var(--fo-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.pt-bn {
  margin: 8px 0 6px;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.25;
}

.pt-n {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.86;
}

.fo-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--fo-mono);
  font-size: 13px;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

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

/* ---------- 03 The hook ---------- */
.fo-hook {
  background: #fff;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
}

.fo-hook-in {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.fo-hook-art {
  position: relative;
}

.fo-nine {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.h-notes {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.h-notes li {
  position: absolute;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--fo-mono);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.hn-1 { left: 0; bottom: -14%; }
.hn-2 { left: 40%; bottom: -14%; }
.hn-3 { right: -2%; top: -12%; }

/* ---------- Justified rows (formats, posts) ---------- */
.fo-just {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.fo-formats .fo-just {
  margin-top: 72px;
}

.fo-j {
  position: relative;
  width: var(--w);
}

.fo-j img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(11, 11, 12, 0.06), 0 18px 34px -24px rgba(11, 11, 12, 0.5);
}

.fo-j figcaption {
  margin-top: 10px;
  font-family: var(--fo-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

/* ---------- 04 The system ---------- */
.fo-anats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 72px;
}

.fo-anat {
  display: grid;
  gap: 26px;
  align-content: start;
}

.fo-anat figcaption {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
}

.a-img {
  position: relative;
}

.a-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 34px -24px rgba(11, 11, 12, 0.5);
}

.pins {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
}

.pin span,
.a-legend span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--fo-mono);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red);
}

.fo-anat figcaption b {
  display: block;
  margin-bottom: 14px;
  font-family: var(--fo-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 900;
}

.a-legend {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.a-legend li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: center;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-2);
}

.a-legend span {
  box-shadow: none;
}

.fo-posts .fo-j img {
  border-radius: 8px;
}

/* ---------- 05 Reels ---------- */
.fo-reels {
  background: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  color: #fff;
}

.fo-reels .fo-tag-w {
  color: #fff;
}

.fo-reels .fo-tag-t {
  color: rgba(255, 255, 255, 0.5);
}

.fo-reels .fo-tag-t::before {
  color: rgba(255, 255, 255, 0.25);
}

.fo-reels .fo-lead {
  color: rgba(255, 255, 255, 0.72);
}

.fo-reels-top {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: end;
}

.fo-endcard {
  display: grid;
  gap: 12px;
}

.ec-scr {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ec-scr video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background: #ececec;
}

.fo-endcard figcaption,
.fo-phone figcaption {
  display: grid;
  gap: 3px;
}

.fo-endcard b,
.fo-phone b {
  font-size: 14px;
  font-weight: 600;
}

.fo-endcard span,
.fo-phone figcaption span {
  font-family: var(--fo-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}

.fo-phones {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.fo-phone {
  display: grid;
  gap: 14px;
}

.ph-scr {
  position: relative;
  overflow: hidden;
  padding: 6px;
  border-radius: 26px;
  background: #1d1d20;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 50px -30px rgba(0, 0, 0, 0.9);
}

.ph-scr video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 404 / 720;
  border-radius: 20px;
  background: #222;
  object-fit: cover;
}

.ph-scr::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 34%;
  height: 14px;
  border-radius: 999px;
  background: #0b0b0c;
  transform: translateX(-50%);
}

/* ---------- 06 Voice ---------- */
.fo-credit-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 0;
  padding: 10px 16px 10px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  font-size: 15px;
}

.fo-credit-line span {
  font-family: var(--fo-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.fo-credit-line b {
  font-weight: 700;
}

.fo-voice-in {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.fo-shila {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fo-shila figure {
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 40px -28px rgba(11, 11, 12, 0.55), 0 0 0 1px var(--line);
}

.fo-shila img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.sh-1 {
  rotate: -3deg;
}

.sh-2 {
  margin-top: 56px;
  rotate: 2.5deg;
}

/* ---------- 07 The kit you could hold ---------- */
.fo-hold-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 70px;
  gap: 16px;
  margin-top: 72px;
}

.fo-hold-grid figure {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #ddd;
  box-shadow: 0 24px 40px -30px rgba(11, 11, 12, 0.6);
}

.fo-hold-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.fo-hold-grid figure:hover img {
  transform: scale(1.04);
}

.fo-hold-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--fo-mono);
  font-size: 11px;
  font-weight: 500;
  pointer-events: none;
}

.h-medals { grid-column: 1 / 8; grid-row: span 6; }
.h-lanyard { grid-column: 8 / 13; grid-row: span 6; }
.h-ticket { grid-column: 1 / 4; grid-row: span 5; }
.h-bundle { grid-column: 4 / 7; grid-row: span 5; }
.h-board { grid-column: 7 / 13; grid-row: span 5; }
.h-cert { grid-column: 1 / 4; grid-row: span 5; }
.h-cards { grid-column: 4 / 7; grid-row: span 5; }
.h-crest { grid-column: 7 / 10; grid-row: span 5; }
.h-trophy { grid-column: 10 / 13; grid-row: span 5; }
.h-mc { grid-column: 1 / 13; grid-row: span 5; }

/* the gala: the only night section */
.fo-night {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(227, 6, 19, 0.45), transparent 70%),
    radial-gradient(40% 40% at 90% 90%, rgba(140, 40, 200, 0.3), transparent 70%),
    var(--night);
  color: #fff;
}

.fo-night .fo-tag-w {
  color: #fff;
}

.fo-night .fo-tag-t {
  color: rgba(255, 255, 255, 0.55);
}

.fo-night .fo-tag-t::before {
  color: rgba(255, 255, 255, 0.25);
}

.fo-night-k {
  margin: 0;
}

.fo .fo-stagephoto {
  margin-top: 8px;
}

.fo-stagephoto img,
.fo-night-row img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.fo-night figcaption {
  margin-top: 12px;
  font-family: var(--fo-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.fo-night-row {
  display: grid;
  grid-template-columns: 2.1fr 0.62fr 0.82fr;
  gap: 18px;
  align-items: start;
  margin-top: 32px;
}

.fo-confetti {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.fo-confetti i {
  position: absolute;
  top: -20px;
  left: var(--x);
  width: 7px;
  height: 12px;
  border-radius: 2px;
  background: #fff;
  opacity: 0;
}

.fo-confetti i:nth-child(4n + 1) { background: var(--red); }
.fo-confetti i:nth-child(4n + 2) { background: var(--coin); }
.fo-confetti i:nth-child(4n + 3) { background: #8fc2e8; width: 6px; height: 6px; border-radius: 50%; }

.fo-night.is-party .fo-confetti i {
  animation: fo-fall var(--s) linear var(--d) infinite;
}

@keyframes fo-fall {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0);
  }

  8% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translateY(1400px) rotate(720deg);
  }
}

/* ---------- Trading-terminal panels: the bracket and the registrations chart ---------- */
.fo-term {
  position: relative;
  overflow: hidden;
  padding: 0 0 6px;
  border-radius: 22px;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  color: #fff;
  font-family: var(--fo-mono);
  box-shadow: 0 50px 80px -50px rgba(11, 11, 12, 0.75), 0 0 0 1px rgba(11, 11, 12, 0.9);
}

.tm-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.tm-dots {
  display: inline-flex;
  gap: 6px;
}

.tm-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.tm-dots i:first-child {
  background: var(--red);
}

.tm-title {
  color: #fff;
  font-weight: 700;
}

.up {
  color: #3ddc84;
}

.tm-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 20px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.38);
}

/* the bracket: four rounds, log-scale bars narrowing to the champion */
.br-rows {
  display: grid;
  margin: 0;
  padding: 8px 20px 12px;
  list-style: none;
}

.br-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "k n" "s n" "t t";
  column-gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.br-row:last-child {
  border-bottom: 0;
}

.br-k {
  grid-area: k;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.br-s {
  grid-area: s;
  margin-top: 4px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}

.br-n {
  grid-area: n;
  align-self: center;
  font-family: var(--fo-display);
  font-size: clamp(28px, 2.8vw, 42px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.br-track {
  grid-area: t;
  position: relative;
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.br-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--w) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-d), var(--red));
  box-shadow: 0 0 18px rgba(227, 6, 19, 0.55);
  transform-origin: left center;
}

.br-row.is-win .br-n,
.br-row.is-win .br-k {
  color: #3ddc84;
}

.br-row.is-win .br-track i {
  background: #3ddc84;
  box-shadow: 0 0 18px rgba(61, 220, 132, 0.7);
}

/* the registrations chart */
.ch-quote {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 22px 22px 0;
}

.ch-big {
  font-family: var(--fo-display);
  font-size: clamp(40px, 4.4vw, 64px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #3ddc84;
}

.ch-chg {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.ch-plot {
  position: relative;
  margin: 18px 22px 0;
  aspect-ratio: 600 / 280;
}

.ch-plot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ch-grid line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
}

.ch-line {
  fill: none;
  stroke: #3ddc84;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 8px rgba(61, 220, 132, 0.6));
}

.ch-dots {
  position: absolute;
  inset: 0;
}

.ch-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
}

.ch-dot i {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 0 0 3px #3ddc84;
}

.ch-dot b {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.ch-dot.is-last i {
  background: #3ddc84;
  box-shadow: 0 0 0 6px rgba(61, 220, 132, 0.2), 0 0 22px #3ddc84;
}

.ch-dot.is-last b {
  right: 14px;
  bottom: auto;
  top: -2px;
  background: #3ddc84;
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .fo-chart.is-live .ch-dot.is-last i::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #3ddc84;
    animation: fo-ping 1.8s ease-out infinite;
  }
}

@keyframes fo-ping {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

.ch-x {
  position: relative;
  height: 30px;
  margin: 10px 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.ch-x span {
  position: absolute;
  top: 9px;
  left: var(--x);
  transform: translateX(-50%);
  white-space: nowrap;
}

.ch-x span:first-child {
  transform: none;
  left: 0;
}

.ch-x span:last-child {
  transform: none;
  left: auto;
  right: 0;
}

.ch-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 12px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ch-stats div {
  padding: 18px 22px 16px;
}

.ch-stats div:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ch-stats div:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ch-stats dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}

.ch-stats dd {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
}

.ch-stats dd b {
  font-family: var(--fo-display);
  font-size: clamp(22px, 2vw, 30px);
  font-style: italic;
  font-weight: 900;
  color: #fff;
}

.ch-stats div:first-child dd b {
  color: #ff4b55;
}

.ch-stats dd span {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- 08 Impact ---------- */
.fo-impact-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
  align-items: center;
}

.fo-src {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--fo-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

.fo-src a {
  color: inherit;
}

/* ---------- 09 Trailer ---------- */
.fo-recap {
  background: #fff;
}

.fo-recap-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.fo-tv {
  width: min(560px, 100%);
  justify-self: end;
}

.tv-scr {
  position: relative;
  overflow: hidden;
  border: 10px solid var(--ink);
  border-radius: 26px;
  background: var(--ink);
  box-shadow: 0 40px 70px -40px rgba(11, 11, 12, 0.7);
}

.tv-scr video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.fo-snd {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.78);
  color: #fff;
  font: 600 12.5px/1 var(--fo-body);
  cursor: pointer;
}

.fo-snd[aria-pressed="true"] {
  border-color: var(--red);
  background: var(--red);
}

.fo-snd svg {
  width: 18px;
  height: 18px;
}

.fo-snd .s-on,
.fo-snd[aria-pressed="true"] .s-off {
  display: none;
}

.fo-snd[aria-pressed="true"] .s-on {
  display: inline;
}

.fo-tv.is-native .fo-snd,
.fo-tv.is-native .tv-bar {
  display: none;
}

.tv-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-family: var(--fo-mono);
  font-size: 12px;
  color: var(--ink-3);
}

.tv-t {
  color: var(--red);
}

.tv-track {
  position: relative;
  height: 2px;
  background: var(--line);
}

.tv-track i {
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
}

/* ---------- Finale ---------- */
.fo-finale {
  position: relative;
  padding: 96px 0 0;
  background: var(--paper);
  background-image:
    radial-gradient(50% 60% at 50% 40%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.fo-fin-in {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-bottom: 112px;
}

.fo-fin-logo {
  width: min(560px, 90%);
  margin-top: 28px;
}

.fo-fin-t {
  margin-top: 56px;
  font-size: clamp(32px, 4vw, 56px);
}

.fo-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.fo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red);
  transition: background-color 0.25s, transform 0.3s var(--pop);
}

.fo-btn svg {
  width: 12px;
  height: 12px;
}

.fo-btn:hover {
  background: var(--red-d);
  transform: translateY(-2px);
}

.fo-btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1.5px var(--ink);
}

.fo-btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.fo-ticker-end.is-closed .t-run {
  animation-play-state: paused;
}

.fo-page .site-footer {
  position: relative;
  margin-top: 0;
  padding-top: 64px;
  background: #fff;
}

/* ---------- Floating props (after the hero builds) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fo-props.is-float .fo-prop {
    animation: fo-bob 6s ease-in-out infinite;
    animation-delay: calc(var(--k, 0) * -0.9s);
  }
}

@keyframes fo-bob {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

.p-calc { --k: 1; }
.p-pct { --k: 2; }
.p-coin1 { --k: 3; }
.p-coin2 { --k: 4; }
.p-coin3 { --k: 5; }
.p-pie { --k: 6; }
.p-cards { --k: 7; }

.pre-motion .fo-hero-in > *:not(.fo-stage),
.pre-motion .fo-prop {
  opacity: 0;
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .fo-credits {
    grid-template-columns: repeat(3, 1fr);
  }

  .fo-flat {
    grid-template-columns: repeat(4, 1fr);
  }

  .fo-palette,
  .fo-anats {
    grid-template-columns: 1fr;
  }

  .fo-phones {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .fo-page {
    --fo-gap: 68px;
  }

  .fo-wrap {
    width: calc(100% - 32px);
  }

  .fo-head h2,
  .fo-fin-t {
    font-size: 34px;
    line-height: 1.14;
  }

  .fo-hero-t {
    font-size: 32px;
    line-height: 1.16;
  }

  .fo-lead,
  .fo-hero-sub {
    font-size: 16px;
  }

  .fo-hero {
    padding-top: calc(52px + var(--hdr));
  }

  .fo-hero::before {
    background-size: 90vw auto;
    background-position: right -20vw top calc(60px + var(--hdr));
  }

  .fo-stage {
    margin-top: 40px;
    width: 92%;
  }

  .fo-props {
    inset: -18% -8%;
  }

  .fo-hero-copy {
    margin-top: 56px;
  }

  .fo-credits {
    grid-template-columns: 1fr;
    margin: 44px 0 56px;
  }

  .fo-credits div {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .fo-credits dd {
    margin: 0;
  }

  .t-i {
    padding: 13px 22px;
  }

  .fo-split,
  .fo-hook-in,
  .fo-voice-in,
  .fo-recap-in,
  .fo-impact-in,
  .fo-reels-top,
  .fo-explode {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fo-explode {
    margin-top: 48px;
  }

  .fo-stack {
    aspect-ratio: 1.15;
  }

  .fo .fo-blue {
    margin-top: 72px;
    padding: 20px 14px;
  }

  .b-txt text {
    font-size: 22px;
  }

  .fo-flat {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 48px;
  }

  .k-cell img,
  .k-cell svg {
    height: 96px;
  }

  .k-chart {
    grid-column: 1 / -1;
  }

  .pal-chips {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .h-notes li {
    font-size: 10px;
  }

  .hn-1 { bottom: -20%; }
  .hn-2 { left: auto; right: 0; bottom: -32%; }
  .hn-3 { right: 0; top: -22%; }

  .fo .fo-hook-art {
    margin-bottom: 56px;
  }

  .fo-just {
    gap: 10px;
  }

  .fo-j {
    width: var(--wm);
  }

  .fo-j figcaption {
    font-size: 10.5px;
  }

  .fo-formats .fo-just,
  .fo-anats {
    margin-top: 48px;
  }

  .fo-anat {
    gap: 18px;
  }

  .fo-anat figcaption {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .fo-sub-k {
    margin-top: 64px;
  }

  .fo-endcard {
    width: 72%;
  }

  .fo-phones {
    display: flex;
    gap: 14px;
    margin: 48px -16px 0;
    padding: 0 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .fo-phones::-webkit-scrollbar {
    display: none;
  }

  .fo-phone {
    flex: 0 0 46%;
    scroll-snap-align: start;
  }

  .fo-shila {
    gap: 12px;
  }

  .sh-2 {
    margin-top: 32px;
  }

  .fo-hold-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 64px;
    grid-auto-flow: row dense;
    gap: 10px;
    margin-top: 48px;
  }

  .h-medals,
  .h-board,
  .h-mc {
    grid-column: 1 / -1;
    grid-row: span 4;
  }

  .h-lanyard,
  .h-ticket,
  .h-bundle,
  .h-cert,
  .h-cards,
  .h-crest,
  .h-trophy {
    grid-column: span 1;
    grid-row: span 4;
  }

  .h-trophy {
    grid-column: 1 / -1;
    grid-row: span 5;
  }

  .fo-hold-grid figcaption {
    left: 8px;
    bottom: 8px;
    font-size: 10px;
  }

  .fo-night {
    padding: 68px 0 72px;
  }

  .fo-night-row {
    grid-template-columns: 1fr 1fr;
  }

  .n-final {
    grid-column: 1 / -1;
  }

  .br-rows {
    padding: 4px 16px 8px;
  }

  .br-row {
    padding: 14px 0;
  }

  .br-s {
    font-size: 10.5px;
  }

  .tm-bar {
    padding: 12px 16px;
    font-size: 10px;
  }

  .tm-foot {
    padding: 10px 16px 8px;
    font-size: 9.5px;
  }

  .tm-foot span:last-child {
    text-align: right;
  }

  .ch-quote {
    padding: 18px 16px 0;
  }

  .ch-plot {
    margin: 22px 16px 0;
    aspect-ratio: 600 / 360;
  }

  .ch-dot b {
    font-size: 10.5px;
    padding: 4px 7px;
  }

  .ch-x {
    margin: 8px 16px 0;
    font-size: 9px;
  }

  .ch-x span:nth-child(2),
  .ch-x span:nth-child(3) {
    display: none;
  }

  .ch-stats div {
    padding: 14px 16px 12px;
  }

  .fo-tv {
    justify-self: stretch;
  }

  .fo-finale {
    padding-top: 68px;
  }

  .fo-fin-in {
    padding-bottom: 88px;
  }
}

/* ---------- Reduced motion: the ticker and the live dot stand still ---------- */
@media (prefers-reduced-motion: reduce) {
  .t-run,
  .fo-tag-m.fo-live {
    animation: none;
  }
}
