/* Man of Many 2026 Wrapped. Direction contract lives in the comment at the top of index.html. */

@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage-var.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted";
  src: url("fonts/schibsted-var.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  /* MoM web brand, drenched one per card */
  --rust: #a4193d;
  --rust-deep: #b93a1d;
  --mustard: #dda94b;
  --mustard-deep: #b97c17;
  --navy: #1e4174;
  --navy-deep: #1d3a4e;
  --night: #121c26;
  --ink: #16130f;
  --bone: #f3ede2;
  --white: #fdfbf7;

  /* Card themes: premium two-colour pairs (bg, text, accent). Theme keys kept from v1. */
  /* three 2colors pairs, each used both ways round */
  --bg-rust: #a4193d;    --fg-rust: #ffdfb9;    --acc-rust: #ffdfb9;    /* burgundy on peach cream */
  --bg-bone: #ffdfb9;    --fg-bone: #a4193d;    --acc-bone: #a4193d;    /* reversed */
  --bg-navy: #02343f;    --fg-navy: #f0edcc;    --acc-navy: #f0edcc;    /* deep teal + buttercream */
  --bg-night: #f0edcc;   --fg-night: #02343f;   --acc-night: #02343f;   /* reversed */
  --bg-ink: #1e4174;     --fg-ink: #dda94b;     --acc-ink: #dda94b;     /* royal navy + ochre */
  --bg-mustard: #dda94b; --fg-mustard: #1e4174; --acc-mustard: #1e4174; /* reversed */

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-slap: cubic-bezier(.2, .9, .25, 1.15);
  --card-r: 28px;
  --shadow-stuck: drop-shadow(0 .35cqw .5cqw rgb(22 19 15 / .34));
  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --body: "Schibsted", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Board: the laptop lid the stickers collect on (desktop) ---------- */
.board {
  position: fixed; inset: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 80% at 50% 40%, rgb(255 255 255 / .05), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow: hidden;
  container-type: size;
}
.board .stk { position: absolute; width: clamp(70px, 9vw, 150px); }
.board .stk-txt { font-size: clamp(14px, 1.3vw, 22px); }

/* ---------- Stage + phone card ---------- */
.stage {
  position: relative;
  height: 100dvh;
  display: grid;
  grid-template-columns: auto auto auto;
  place-content: center;
  align-items: center;
  gap: clamp(12px, 2.4vw, 36px);
}
.phone {
  position: relative;
  height: min(100dvh - 40px, 920px);
  aspect-ratio: 9 / 16;
  border-radius: var(--card-r);
  overflow: hidden;
  isolation: isolate;
  container-type: size;
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .06);
  background: var(--bg-rust);
  transition: background-color .6s var(--ease-out);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.bars {
  position: absolute; z-index: 5;
  top: max(10px, env(safe-area-inset-top)); left: 14px; right: 14px;
  display: flex; gap: 4px;
}
.bar { flex: 1; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .32); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }
.bar.is-done i { transform: scaleX(1); }
.phone[data-ink="dark"] .bar { background: rgb(22 19 15 / .22); }
.phone[data-ink="dark"] .bar i { background: var(--ink); }

.chrome {
  position: absolute; z-index: 5;
  top: calc(max(10px, env(safe-area-inset-top)) + 14px); left: 16px; right: 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.chrome__logo { height: 18px; width: auto; transition: filter .4s; }
.phone[data-ink="dark"] .chrome__logo { filter: brightness(0) saturate(100%); }

.pill {
  border: 0; cursor: pointer;
  border-radius: 999px;
  background: rgb(255 255 255 / .16);
  color: var(--white);
  padding: 10px 18px;
  font-weight: 700;
  transition: transform .15s var(--ease-out), background-color .2s;
}
.pill:hover { background: rgb(255 255 255 / .26); }
.pill:active { transform: scale(.96); }
.pill:focus-visible, .nav:focus-visible, .pick:focus-visible, .cta:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.phone[data-ink="dark"] .pill { background: rgb(22 19 15 / .1); color: var(--ink); }
.phone[data-ink="dark"] .pill:hover { background: rgb(22 19 15 / .18); }
.pill--icon { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; }
.pill--icon svg { width: 18px; height: 18px; fill: currentColor; }
.pill--icon .i-play { display: none; }
.pill--icon[aria-pressed="true"] .i-play { display: block; }
.pill--icon[aria-pressed="true"] .i-pause { display: none; }

.nav {
  width: 56px; height: 56px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bone); color: var(--ink);
  font: 800 22px/1 var(--display);
  box-shadow: 0 0 0 4px var(--white), 0 10px 24px -8px rgb(0 0 0 / .6);
  transition: transform .2s var(--ease-slap), opacity .2s;
}
.nav:hover { transform: rotate(-6deg) scale(1.06); }
.nav:active { transform: scale(.94); }
.nav[disabled] { opacity: .25; cursor: default; transform: none; }

.tap { position: absolute; z-index: 3; top: 70px; bottom: 0; border: 0; background: none; padding: 0; cursor: pointer; }
.tap--prev { left: 0; width: 30%; }
.tap--next { right: 0; width: 70%; }

/* ---------- Cards ---------- */
.deck { position: absolute; inset: 0; }
.card {
  position: absolute; inset: 0;
  padding: calc(max(10px, env(safe-area-inset-top)) + 72px) 7cqw calc(max(14px, env(safe-area-inset-bottom)) + 22px);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out), visibility 0s .35s;
}
.card.is-active { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-out); }
.card.is-active .rise { animation: rise .7s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(4cqh); } }

.card[data-t="rust"] { --cfg: var(--fg-rust); --cbg: var(--bg-rust); }
.card[data-t="mustard"] { --cfg: var(--fg-mustard); --cbg: var(--bg-mustard); }
.card[data-t="navy"] { --cfg: var(--fg-navy); --cbg: var(--bg-navy); }
.card[data-t="night"] { --cfg: var(--fg-night); --cbg: var(--bg-night); }
.card[data-t="ink"] { --cfg: var(--fg-ink); --cbg: var(--bg-ink); }
.card[data-t="bone"] { --cfg: var(--fg-bone); --cbg: var(--bg-bone); }
/* strict two-colour cards: every brand token inside a card resolves to that card's pair */
.card[data-t] { color: var(--cfg); --white: var(--cfg); --bone: var(--cfg); --mustard: var(--cfg); --rust: var(--cfg); --navy: var(--cfg);
  --ink: var(--cbg); --night: var(--cbg); --rust-deep: var(--cfg); --mustard-deep: var(--cfg); --navy-deep: var(--cbg); }

/* interactive layers sit above the tap zones */
.card .live { position: relative; z-index: 4; }

/* ---------- Type ---------- */
.kicker {
  font: 700 3.4cqw/1.2 var(--body);
  letter-spacing: .02em;
  margin: 0 0 3cqh;
  max-width: 34ch;
}
.huge {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: 30cqw;
  line-height: .82;
  letter-spacing: -.035em;
  margin: 0;
}
.big {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 82%;
  font-size: 11.5cqw;
  line-height: .9;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}
.mid {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 90%;
  font-size: 6.8cqw;
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
.body {
  font: 500 4.1cqw/1.35 var(--body);
  margin: 2.4cqh 0 0;
  max-width: 30ch;
  text-wrap: pretty;
}
.note {
  margin-top: auto;
  font: 500 2.9cqw/1.35 var(--body);
  opacity: .9;
  max-width: 48ch;
}
.note a { text-underline-offset: 2px; }

/* die-cut sticker lettering: white vinyl edge outside the glyph, then a lifted shadow */
.cut { color: var(--cfg); filter: drop-shadow(0 .06em 0 rgb(0 0 0 / .18)); }

/* ---------- Stickers ---------- */
.stk {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--w, 24cqw);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  filter: var(--shadow-stuck);
  pointer-events: none;
  z-index: 4;
}
.stk img { width: 100%; height: auto; }
.card.is-active .stk { animation: slap .55s var(--ease-slap) both; animation-delay: var(--d, 120ms); }
@keyframes slap {
  0%   { opacity: 0; transform: translate(-50%, -50%) rotate(calc(var(--r, 0deg) - 16deg)) scale(1.75); filter: drop-shadow(0 6cqw 5cqw rgb(22 19 15 / .18)); }
  55%  { opacity: 1; transform: translate(-50%, -50%) rotate(calc(var(--r, 0deg) + 2deg)) scale(.93); filter: drop-shadow(0 .2cqw .2cqw rgb(22 19 15 / .5)); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(1); filter: var(--shadow-stuck); }
}

/* text stickers: printed label with a white die-cut margin */
.stk-txt {
  position: relative;
  display: inline-block;
  padding: .45em .8em .5em;
  background: var(--bg, var(--bone));
  color: var(--fg, var(--ink));
  font: 800 4.2cqw/1 var(--display);
  font-stretch: 85%;
  letter-spacing: -.01em;
  border-radius: var(--rad, .5em);
  box-shadow: 0 0 0 .28em var(--white);
  white-space: nowrap;
}
.stk-txt--bubble { border-radius: 1.1em 1.1em 1.1em .25em; font-family: var(--body); font-weight: 700; font-stretch: 100%; letter-spacing: 0; white-space: normal; max-width: 52cqw; line-height: 1.15; }
.stk-txt--round { border-radius: 999px; }

/* ---------- Card layouts ---------- */

/* cover */
.c-cover { justify-content: flex-end; }
.c-cover .zone { position: relative; flex: 1; min-height: 0; margin: 0 -7cqw 2cqh; }
.c-cover .zone .stk { --w: 30cqw; }
.c-cover .zone .stk img { max-height: 28cqh; width: auto; margin: 0 auto; }
.c-cover .huge { font-size: 41cqw; }
.c-cover .year { display: flex; flex-wrap: wrap; }
.c-cover .year span { display: inline-block; }
.c-cover .year span:nth-child(odd) { transform: rotate(-4deg) translateY(1cqh); }
.c-cover .year span:nth-child(even) { transform: rotate(3deg); }
.c-cover .wrapped { font: 800 13cqw/.9 var(--display); font-stretch: 75%; letter-spacing: -.03em; margin: 1.5cqh 0 0; }
.c-cover .start { margin-top: 3.5cqh; align-self: flex-start; }
.cta {
  border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.4em;
  border-radius: 999px;
  background: var(--white); color: var(--ink);
  font: 800 4.4cqw/1 var(--display); font-stretch: 90%;
  box-shadow: 0 0 0 .22em rgb(255 255 255 / .35), 0 1.4cqw 3cqw -1cqw rgb(22 19 15 / .5);
  transition: transform .2s var(--ease-slap);
}
.cta:hover { transform: rotate(-2deg) scale(1.03); }
.cta:active { transform: scale(.97); }
.cta--ink { background: var(--ink); color: var(--white); }

/* reading time */
.c-time .huge { margin-top: auto; }
.c-time .unit { font: 800 10cqw/.95 var(--display); font-stretch: 80%; letter-spacing: -.02em; margin: 1.5cqh 0 0; }

/* story of the year */
.c-story .polaroid {
  position: relative;
  width: 74cqw; margin: 1cqh auto 0;
  background: var(--white);
  padding: 2.6cqw 2.6cqw 9cqw;
  transform: rotate(-3deg);
  box-shadow: 0 2cqw 5cqw -1.5cqw rgb(22 19 15 / .45);
}
.c-story .polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bone); }
.c-story .polaroid figcaption { position: absolute; left: 3cqw; right: 3cqw; bottom: 2.2cqw; font: 700 3.2cqw/1.1 var(--body); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-story .mid { margin-top: 4cqh; }
.c-story .read { align-self: flex-start; margin-top: 2cqh; text-decoration: none; background: var(--ink); color: var(--white); }
.c-story .read:hover { background: var(--navy-deep); }
.c-story .tape { position: absolute; top: -2.2cqw; left: 50%; width: 22cqw; height: 6cqw; transform: translateX(-50%) rotate(4deg); background: rgb(237 174 73 / .78); }

/* top five */
.rank { list-style: none; margin: 3cqh 0 0; padding: 0; display: grid; gap: 2.2cqh; }
.rank li { display: grid; grid-template-columns: 13cqw 1fr; align-items: center; gap: 3cqw; }
.rank .n { font: 800 13cqw/.8 var(--display); font-stretch: 75%; color: var(--mustard); }
.rank li:first-child .n { color: var(--rust); }
.rank .t { font: 700 4.1cqw/1.18 var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rank small { display: block; font: 600 2.8cqw/1.3 var(--body); opacity: .65; margin-top: .4em; }

/* months: a sticker calendar */
.months { margin-top: 3cqh; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqh 2cqw; }
.mo { position: relative; display: grid; justify-items: center; text-align: center; }
.mo img { width: 15.5cqw; height: 15.5cqw; object-fit: contain; filter: var(--shadow-stuck); transform: rotate(var(--r, 0deg)); }
.card.is-active .mo img { animation: slap-in .5s var(--ease-slap) both; animation-delay: var(--d); }
@keyframes slap-in {
  0% { opacity: 0; transform: rotate(calc(var(--r, 0deg) - 18deg)) scale(1.8); }
  60% { opacity: 1; transform: rotate(calc(var(--r, 0deg) + 3deg)) scale(.92); }
}
.mo b { font: 800 3.3cqw/1 var(--display); letter-spacing: .02em; margin-top: .5cqh; }
.mo span { font: 600 2.6cqw/1.15 var(--body); opacity: .78; }

/* heatmap */
.heat { margin-top: 3cqh; display: grid; grid-template-columns: 7cqw repeat(24, 1fr); gap: .55cqw; align-items: center; }
.heat .d { font: 700 2.5cqw/1 var(--body); opacity: .7; }
.heat i { aspect-ratio: 1; border-radius: 50%; background: var(--mustard); opacity: var(--o, .08); transform: scale(var(--s, .55)); }
.heat i.peak { background: var(--rust); opacity: 1; transform: scale(1.35); box-shadow: 0 0 0 .5cqw var(--white); }
.heat .hrs { grid-column: 2 / -1; display: flex; justify-content: space-between; font: 600 2.3cqw/1 var(--body); opacity: .55; margin-top: .6cqh; }

/* where */
.cities { margin: 3cqh 0 0; padding: 0; list-style: none; display: grid; gap: 1.2cqh; }
.cities li { display: flex; align-items: baseline; gap: 3cqw; }
.cities .bar-s { display: block; height: 7cqw; border-radius: 1.2cqw; background: var(--white); box-shadow: 0 0 0 .7cqw rgb(255 255 255 / .35); width: calc(var(--p) * 1%); min-width: 6cqw; }
.cities b { font: 800 6.4cqw/1 var(--display); font-stretch: 85%; white-space: nowrap; }
.cities .row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3cqw; width: 100%; }
.cities small { font: 700 3cqw/1 var(--body); opacity: .8; }

/* searches: speech bubbles slapped around */
.c-search .bubbles { position: relative; flex: 1; margin-top: 2cqh; }
.c-search .bubbles .stk { width: auto; }

/* rising */
.rising { margin: 3cqh 0 0; padding: 0; list-style: none; display: grid; gap: 2cqh; }
.rising li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3cqw; padding-bottom: 1.6cqh; border-bottom: 2px solid rgb(22 19 15 / .14); }
.rising q { font: 700 4.6cqw/1.15 var(--body); quotes: "\201C" "\201D"; }
.rising b { font: 800 6cqw/1 var(--display); font-stretch: 80%; color: #8f2a12; }

/* biggest day */
.c-day .date { margin-top: auto; }
.c-day .date .huge { font-size: 36cqw; }
.c-day .date .mo-name { font: 800 12cqw/.9 var(--display); font-stretch: 75%; letter-spacing: -.02em; }

/* newsroom */
.cats { margin-top: 3cqh; display: grid; gap: 1.1cqh; }
.cats .row { display: grid; grid-template-columns: 30cqw 1fr auto; gap: 2.5cqw; align-items: center; font: 700 3.3cqw/1 var(--body); }
.cats .fill { height: 4.4cqw; border-radius: 999px; background: var(--white); width: calc(var(--p) * 1%); min-width: 4cqw; transform-origin: left; }
.card.is-active .cats .fill { animation: grow .9s var(--ease-out) both; animation-delay: var(--d); }
@keyframes grow { from { transform: scaleX(0); } }

/* personality picker */
.c-you .picks { margin-top: 3cqh; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqh 3cqw; }
.pick {
  position: relative; border: 0; background: none; cursor: pointer; padding: 0;
  display: grid; justify-items: center; gap: .6cqh;
  color: inherit; font: 700 3cqw/1.1 var(--body);
  transition: transform .25s var(--ease-slap);
}
.pick img { width: 21cqw; height: 21cqw; object-fit: contain; filter: drop-shadow(0 .6cqw .8cqw rgb(22 19 15 / .3)) saturate(.35) opacity(.75); transition: filter .25s, transform .3s var(--ease-slap); }
.pick:hover img { transform: rotate(-6deg) scale(1.05); }
.pick[aria-pressed="true"] img { filter: var(--shadow-stuck); transform: rotate(var(--r, -5deg)) scale(1.12); }
.pick[aria-pressed="true"]::after {
  content: attr(data-n); position: absolute; top: -1cqw; right: 2cqw;
  width: 7cqw; height: 7cqw; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--white); font: 800 3.6cqw/1 var(--display);
  box-shadow: 0 0 0 .7cqw var(--white);
}
.c-you .go { margin-top: 3cqh; align-self: flex-start; }
.c-you .go[disabled] { opacity: .45; cursor: default; transform: none; }

.result { display: none; flex-direction: column; flex: 1; }
.c-you.is-result .result { display: flex; }
.c-you.is-result .picker { display: none; }
.result .stack { position: relative; height: 38cqh; margin-top: 1cqh; }
.result .stack .stk { width: 38cqw; }
.result .acts { display: flex; flex-wrap: wrap; gap: 2.5cqw; margin-top: 2.4cqh; }
.result .pill { font-size: 3.6cqw; }

/* close: the year, stuck together */
.c-close .collage { position: relative; flex: 1; margin: 1cqh -3cqw 2cqh; }
.c-close .collage .stk { width: 23cqw; }
.c-close .acts { display: flex; flex-wrap: wrap; gap: 2.5cqw; align-items: center; }
.c-close .note { margin-top: 2cqh; }

.noscript { position: fixed; inset: auto 0 40px; text-align: center; font: 600 16px/1.4 var(--body); }

/* ---------- Responsive ---------- */
@media (max-width: 640px), (max-height: 520px) and (max-width: 960px) {
  .stage { display: block; height: 100dvh; }
  .phone { height: 100dvh; width: 100vw; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .nav { display: none; }
  .board { display: none; }
}
@media (min-width: 641px) and (max-width: 900px) { .nav { width: 46px; height: 46px; } }

/* ---------- Reduced motion: no slaps, no auto-advance (handled in JS) ---------- */
@media (prefers-reduced-motion: reduce) {
  .card.is-active .stk, .card.is-active .mo img, .card.is-active .rise, .card.is-active .cats .fill { animation: none; }
  .phone { transition: none; }
}

/* instagram highlights */
.c-ig .ig { list-style: none; margin: 3cqh 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3cqw; }
.c-ig .ig li { transform: rotate(var(--r)); }
.c-ig .ig figure { position: relative; margin: 0; background: var(--white); padding: 1.4cqw 1.4cqw 0; box-shadow: 0 1.2cqw 3cqw -1cqw rgb(22 19 15 / .45); }
.c-ig .ig img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.c-ig .ig .v { position: absolute; left: 50%; bottom: -2.4cqw; transform: translateX(-50%) rotate(-3deg); background: var(--rust); color: var(--white); font: 800 4.6cqw/1 var(--display); font-stretch: 80%; padding: .3em .5em .35em; border-radius: .4em; box-shadow: 0 0 0 .22em var(--white); white-space: nowrap; }
.c-ig .ig .t { display: block; margin-top: 4.2cqw; font: 700 3.2cqw/1.2 var(--body); }
.c-ig .ig small { display: block; font: 600 2.7cqw/1.3 var(--body); opacity: .65; margin-top: .3em; }
.c-ig .body { margin-top: 2.2cqh; }
.go-out { align-self: flex-start; margin-top: 1.8cqh; text-decoration: none; }
.out-row { display: flex; align-items: center; gap: 4cqw; margin-top: 1.8cqh; }
.out-row .go-out { margin-top: 0; white-space: nowrap; }
.tag { transform: rotate(-4deg); filter: var(--shadow-stuck); }

/* youtube */
.c-yt .huge { font-size: 26cqw; }
.c-yt .unit { font: 800 8.5cqw/.95 var(--display); font-stretch: 80%; letter-spacing: -.02em; margin: 1cqh 0 0; }
.c-yt .body { margin-top: 1.6cqh; }
.c-yt .rank.yt { margin-top: 2cqh; gap: 1.4cqh; }
.c-yt .rank.yt li { grid-template-columns: 9cqw 1fr; gap: 2.5cqw; }
.c-yt .rank.yt .n { font-size: 9cqw; color: var(--ink); }
.c-yt .rank.yt li:first-child .n { color: var(--white); }
.c-yt .rank.yt small { opacity: .8; }
.c-yt .sm { font-size: 3.4cqw; margin-top: 1.4cqh; }

/* daddies podcast */
.c-pod .huge { font-size: 27cqw; margin-top: 1cqh; }
.c-pod .body { margin-top: 2cqh; }
.c-pod .mid { margin-top: 2.4cqh; font-size: 5.6cqw; }
.c-pod .guests { list-style: none; margin: 1.6cqh 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2.2cqw; }
.c-pod .guests li { transform: rotate(var(--r)); background: var(--white); color: var(--ink); font: 800 4.2cqw/1 var(--display); font-stretch: 85%; padding: .45em .75em .5em; border-radius: .5em; box-shadow: 0 0 0 .22em var(--ink); }
.c-pod .acts { display: flex; flex-wrap: wrap; gap: 2.5cqw; align-items: center; margin-top: 2.6cqh; }
.c-pod .cta { text-decoration: none; }
.c-pod .pill { text-decoration: none; }

/* awards */
.c-aw .huge { font-size: 34cqw; margin-top: auto; }
.c-aw .mid { margin-top: 1cqh; color: var(--mustard); }
.c-aw .wins { list-style: none; margin: 2.4cqh 0 0; padding: 0; display: grid; gap: 1.3cqh; }
.c-aw .wins li { font: 700 4.3cqw/1.2 var(--body); padding-left: 6cqw; position: relative; }
.c-aw .wins li::before { content: "★"; position: absolute; left: 0; color: var(--rust); }
.c-aw .note { margin-top: 2cqh; }

/* click-through: Read/Watch pills on ranked rows, linked month and Instagram tiles */
.rank li:has(.go-pill) { grid-template-columns: 13cqw 1fr auto; }
.c-yt .rank.yt li:has(.go-pill) { grid-template-columns: 9cqw 1fr auto; }
.go-pill { align-self: center; text-decoration: none; font: 800 3.3cqw/1 var(--display); font-stretch: 85%; padding: .6em 1em .65em; border-radius: 999px; background: var(--mustard); color: var(--ink); white-space: nowrap; transition: transform .15s var(--ease-out); }
.go-pill:hover { scale: 1.08; box-shadow: 0 .5em 1em -.45em rgb(0 0 0 / .45); }
.go-pill:focus-visible, .mo:focus-visible, .c-ig .ig a:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
a.mo { color: inherit; text-decoration: none; }
a.mo:hover img { transform: rotate(var(--r, 0deg)) scale(1.08); }
a.mo span { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.c-ig .ig a { color: inherit; text-decoration: none; display: block; }

/* music toggle */
.chrome__ctrl { display: flex; gap: 8px; }
#sound .i-on { display: none; }
#sound[aria-pressed="true"] .i-on { display: inline; }
#sound[aria-pressed="true"] .i-off { display: none; }
#sound[data-waiting] { animation: nudge 2.4s var(--ease-out) 1.2s 2; }
@keyframes nudge { 0%, 100% { transform: none; } 10% { transform: rotate(-12deg) scale(1.1); } 20% { transform: rotate(10deg) scale(1.1); } 30% { transform: none; } }

/* shorts */
.c-shorts .sh { list-style: none; margin: 3cqh 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3cqw; }
.c-shorts .sh li { transform: rotate(var(--r)); }
.c-shorts .sh a { display: block; color: inherit; text-decoration: none; }
.c-shorts .frame { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 3cqw; background: var(--ink) center / cover no-repeat; box-shadow: 0 0 0 1.2cqw var(--white), 0 2cqw 4cqw -1cqw rgb(0 0 0 / .6); }
.c-shorts .frame iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; border: 0; transform: translate(-50%, -50%) scale(1.22); pointer-events: none; opacity: 0; transition: opacity .4s; }
.c-shorts .frame iframe.playing { opacity: 1; }
.c-shorts .frame:has(iframe.playing) .play { opacity: 0; }
.c-shorts .v { display: inline-block; margin-top: 2.6cqw; background: var(--rust); color: var(--white); font: 800 4.4cqw/1 var(--display); font-stretch: 80%; padding: .3em .5em .35em; border-radius: .4em; transform: rotate(-3deg); }
.c-shorts .t { display: block; margin-top: 1.4cqw; font: 700 3.1cqw/1.2 var(--body); }
.play { position: absolute; right: 2cqw; bottom: 2cqw; width: 7cqw; height: 7cqw; border-radius: 999px; background: rgb(22 19 15 / .7); }
.play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-left: 2.2cqw solid var(--white); border-top: 1.4cqw solid transparent; border-bottom: 1.4cqw solid transparent; }
.c-shorts .sh a:hover .frame, .c-long .lf a:hover .thumb { transform: scale(1.04); }
.c-shorts .frame, .c-long .thumb { transition: transform .25s var(--ease-out); }

/* long form */
.c-long .lf { list-style: none; margin: 3cqh 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3cqh 4cqw; }
.c-long .lf a { display: block; color: inherit; text-decoration: none; }
.c-long .thumb { position: relative; display: block; border-radius: 2cqw; overflow: hidden; box-shadow: 0 0 0 .9cqw var(--white); }
.c-long .thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.c-long .thumb .n { position: absolute; left: 1.6cqw; top: 1.2cqw; font: 800 8cqw/.9 var(--display); font-stretch: 75%; color: var(--mustard); -webkit-text-stroke: .1em var(--ink); paint-order: stroke fill; }
.c-long .t { display: block; margin-top: 1.6cqw; font: 700 3.4cqw/1.2 var(--body); }

/* daddies guests: episode links */
.c-pod .guests li { padding: 0; transition: transform .25s var(--ease-slap), background-color .2s, color .2s; }
.c-pod .guests li a { display: block; padding: .45em .75em .5em; color: inherit; text-decoration: none; }
.c-pod .guests li a span { font-size: .7em; margin-left: .3em; opacity: .6; }
.c-pod .guests li:hover, .c-pod .guests li:focus-within { transform: rotate(0deg) translateY(-.6cqh) scale(1.07); background: var(--ink); color: var(--white); }
.c-pod .guests li a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: .5em; }

/* reader result: guides */
.guides { margin-top: 1.6cqh; display: grid; gap: .9cqh; }
.guides .g-k { margin: 0 0 .3cqh; font: 700 3.1cqw/1.2 var(--body); opacity: .85; }
.guides a { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; padding: 1.2cqh 3.6cqw; border-radius: 2.4cqw; background: var(--cfg); color: var(--cbg); text-decoration: none; font: 700 3.4cqw/1.2 var(--body); transition: transform .2s var(--ease-out); }
.guides a:hover { transform: translateX(1.4cqw); }
.guides a b { font: 800 4.4cqw/1 var(--display); color: var(--rust); }
/* make room for guides on the result: smaller sticker stack, tighter type */
.result:has(.guides) .stack { height: 15cqh; margin-top: .6cqh; }
.result:has(.guides) .stack .stk { width: 20cqw; }
.result:has(.guides) .mid { font-size: 5.6cqw; }
.result:has(.guides) .body { margin-top: 1cqh; font-size: 3.8cqw; }
.result:has(.guides) .acts { margin-top: 1.6cqh; }
.result .guides a { padding: .9cqh 3.2cqw; font-size: 3.2cqw; }
.c-time .huge { font-size: 21cqw; }

/* ---------- Events: photos fall onto the card and pile up ---------- */
.c-ev .pile { position: relative; flex: 1 1 auto; min-height: 30cqh; margin: 1.5cqh -2cqw 0; }
.c-ev .snap { position: absolute; left: var(--x); top: calc((100% - 37cqw) * var(--yf)); width: 40cqw; margin: 0; padding: 1.4cqw 1.4cqw 0; background: var(--cfg);
  box-shadow: 0 1.2cqw 3cqw rgba(0,0,0,.45); transform: rotate(var(--r)); }
.c-ev .snap img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.c-ev .snap figcaption { font: 700 2.9cqw/1.2 var(--body, sans-serif); color: var(--ink); padding: 1.1cqw .3cqw 1.3cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.is-active .snap { animation: fall .9s cubic-bezier(.16,1,.3,1) both; animation-delay: var(--d); }
@keyframes fall {
  from { opacity: 0; transform: translateY(-110cqh) rotate(calc(var(--r) * -4)) scale(1.25); }
  55% { opacity: 1; }
  to { opacity: 1; transform: rotate(var(--r)); }
}
.c-ev .evs { list-style: none; margin: 1.6cqh 0 0; padding: 0; display: grid; gap: .7cqh; position: relative; z-index: 3; }
.c-ev .evs a, .c-ev .evs > li > span { display: flex; flex-direction: column; gap: .3cqh; color: inherit; text-decoration: none;
  font: 700 3.8cqw/1.2 var(--body, sans-serif); padding: 1cqh 3.4cqw; border-radius: 2.4cqw; background: rgba(243,237,226,.1); }
.c-ev .evs a:hover { background: var(--mustard); color: var(--ink); }
.c-ev .evs .when { font-weight: 500; font-size: 3.2cqw; opacity: .75; }

/* ---------- Brands: fast logo wall ---------- */
.c-br .logowall { flex: 1 1 auto; min-height: 30cqh; margin: 1.5cqh -1cqw 1cqh; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3cqw; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.c-br .lcol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3.6cqh; animation: logos var(--s) linear infinite; }
.c-br .lcol.up { animation-direction: reverse; }
.c-br .lcol li { display: grid; place-items: center; height: 4.4cqh; }
.c-br .lcol img { max-width: 78%; max-height: 4.4cqh; width: auto; height: auto; object-fit: contain; opacity: .92; }
@keyframes logos { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 1.8cqh)); } }
.card:not(.is-active) .lcol { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .card.is-active .snap { animation: none; }
  .c-br .lcol { animation: none; }
}

/* filled chips, pills and badges: the card's text colour as fill, its background colour as text */
.card .stk-txt, .card .cta--ink, .card.c-story .read, .card .pick[aria-pressed="true"]::after, .card.c-ig .ig .v, .card.c-shorts .v,
.card.c-pod .guests li:hover, .card.c-pod .guests li:focus-within, .card .pill.go-out, .card .pill.live { background: var(--cfg); color: var(--cbg); }
.card .pill:not(.go-out):not(.live) { background: color-mix(in srgb, var(--cfg) 16%, transparent); color: var(--cfg); }
.card .pill:not(.go-out):not(.live):hover { background: color-mix(in srgb, var(--cfg) 28%, transparent); }
.card .stk-txt { box-shadow: 0 0 0 .28em color-mix(in srgb, var(--cbg) 70%, var(--cfg)); }

/* holographic text stickers (Most read, search bubbles, view counts, followers): iridescent foil, black ink, white die-cut edge */
.stk-txt, .card .stk-txt, .card.c-ig .ig .v, .card.c-shorts .v {
  background: linear-gradient(115deg, #bfe6ff 0%, #dccbff 22%, #ffd3ea 42%, #fff0c4 60%, #c8f5e0 78%, #c3ccff 100%);
  background-size: 220% 100%;
  color: #121212;
  box-shadow: 0 0 0 .09em #121212, 0 0 0 .3em #fff, 0 .5em .9em -.3em rgb(0 0 0 / .45);
}
.board .stk-txt, .fly .stk-txt, .card.is-active .stk-txt, .card.is-active.c-ig .ig .v, .card.is-active.c-shorts .v { animation: holo-shift 5s ease-in-out infinite alternate; }
@keyframes holo-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.stk--logo img { filter: var(--shadow-stuck); }
@media (prefers-reduced-motion: reduce) { .card.is-active .stk-txt, .card.is-active.c-ig .ig .v, .card.is-active.c-shorts .v { animation: none; } }

/* ---------- Click affordances: arrows, hover lifts, idle nudges ---------- */
a.pill, .go-pill, a.cta, .cta.start, .cta.go { display: inline-flex; align-items: center; gap: .45em; }
a.pill::after, .go-pill::after, a.cta::after, .cta.start::after, .cta.go::after {
  content: "→"; display: inline-block; font-weight: 800; transition: translate .35s var(--ease-out);
}
a.pill:hover::after, .go-pill:hover::after, a.cta:hover::after, .cta.start:hover::after, .cta.go:not([disabled]):hover::after { translate: .3em 0; }
a.pill, .go-pill, a.cta, .cta { transition: transform .35s var(--ease-out), scale .35s var(--ease-out), box-shadow .35s, background-color .25s, filter .25s; }
a.pill:hover, a.cta:hover, .cta:not([disabled]):hover { scale: 1.06; box-shadow: 0 .6em 1.2em -.5em rgb(0 0 0 / .45); }
a.pill:active, .go-pill:active, .cta:active { scale: .96; }

/* primary calls to action keep nudging until clicked */
.card.is-active .cta.start::after, .card.is-active .read::after, .card.is-active .go-out::after, .card.is-active a.cta::after {
  animation: nudge 1.6s var(--ease-out) 1.2s infinite;
}
@keyframes nudge { 0%, 55%, 100% { translate: 0 0; } 25% { translate: .35em 0; } }
.card.is-active .cta.start { animation: rise .7s var(--ease-out) both, ping 2.4s ease-out 1.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cfg) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 1.1em transparent; } }

/* tiles, thumbnails and stickers lift under the cursor */
.c-ig .ig a figure, .c-ev .snap, .c-ev .evs a, .mo, .guides a { transition: scale .25s var(--ease-out), translate .25s var(--ease-out), rotate .25s var(--ease-out), background-color .2s; }
.c-ig .ig a:hover figure { scale: 1.05; rotate: 2deg; }
.c-ev .snap:hover { scale: 1.12; z-index: 6; }
.mo:hover { scale: 1.08; }
.nav { transition: transform .2s var(--ease-out), scale .2s var(--ease-out); }
.nav:hover { scale: 1.12; }
@media (prefers-reduced-motion: reduce) {
  .card.is-active .cta.start, .card.is-active .cta.start::after, .card.is-active .read::after, .card.is-active .go-out::after, .card.is-active a.cta::after { animation: none; }
}
