/* The Rahath case study (rahath.html): each chapter of the story gets its own graphic. */

.pg #overview > .rh {
  order: 5;
  margin-top: 40px;
}

.cs-text {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.015em;
}

.cs-panel {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 24px;
}

/* ---------- The problem: how well people already know you ---------- */
.cs-known {
  padding: clamp(24px, 3.4vw, 48px);
  background: #e9e0cf;
}

.cs-known__title {
  margin: 0 0 26px;
  font: 400 clamp(26px, 2.6vw, 38px)/1.05 var(--serif);
  letter-spacing: -0.02em;
}

.cs-known ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-known li {
  display: grid;
  grid-template-columns: minmax(130px, 200px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cs-known i {
  display: block;
  width: var(--w);
  height: clamp(24px, 3vw, 40px);
  background: #14213d;
  border-radius: 999px;
  transform-origin: 0 50%;
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--n) * 0.1s);
}

.cs-known li.is-new i {
  background: #d99757;
}

.cs-known:not(.is-in) i {
  transform: scaleX(0);
}

.cs-known__note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- The audience: who we spoke to ---------- */
.cs-aud {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  color: #f4ede0;
  background: #14213d;
}

.cs-aud__side {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: clamp(24px, 3.2vw, 44px);
}

.cs-aud__side + .cs-aud__side {
  color: rgba(244, 237, 224, 0.62);
  border-left: 1px solid rgba(244, 237, 224, 0.16);
}

.cs-aud__age {
  font: 400 clamp(54px, 7vw, 104px)/0.9 var(--serif);
  letter-spacing: -0.03em;
}

.cs-aud__who {
  margin: 10px 0 auto;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cs-aud ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.cs-aud li {
  padding: 10px 16px;
  color: #14213d;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: #e6ad61;
  border-radius: 999px;
}

.cs-aud__line {
  margin: 40px 0 0;
  font: 400 clamp(25px, 2.5vw, 36px)/1.06 var(--serif);
  letter-spacing: -0.02em;
}

/* ---------- The idea: the two words ---------- */
.cs-idea {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(380px, 44vw, 600px);
  padding: clamp(24px, 3.4vw, 48px);
  color: #f4ede0;
  isolation: isolate;
}

.cs-idea::before,
.cs-idea::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cs-idea::before {
  background: url("deck-gradient.webp") 0 20% / 100% 600% no-repeat;
}

.cs-idea::after {
  background: url("deck-grain.png") 0 0 / 170px 170px;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.cs-idea small {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cs-idea p {
  margin: 0;
  font: 400 clamp(62px, 11.2vw, 176px)/0.88 var(--serif);
  letter-spacing: -0.04em;
}

/* ---------- The storytelling: one plain video and its numbers, straight on the cream ---------- */
.cs-reel {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  margin-top: 44px;
}

.cs-reel__phone {
  position: relative;
  overflow: hidden;
  /* A real phone's proportions, so the insights screen fits whole */
  aspect-ratio: 540 / 1169;
  background: #0b1014;
  border: clamp(5px, 0.7vw, 9px) solid #0b1014;
  border-radius: clamp(26px, 3vw, 40px);
  box-shadow: 0 30px 60px -22px rgba(20, 33, 61, 0.5);
}

.cs-reel__phone img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The screen swaps between the reel and its insights, holding each for a few seconds */
.cs-reel__shot--insights {
  opacity: 0;
  animation: cs-reel-swap 10s ease-in-out infinite;
}

@keyframes cs-reel-swap {
  0%, 40% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-reel__shot--insights { animation: none; opacity: 1; }
}

.cs-reel__q {
  max-width: 480px;
  margin: 0;
  font: 400 clamp(24px, 2.3vw, 34px)/1.08 var(--serif);
  letter-spacing: -0.02em;
}

.cs-reel__big {
  margin: clamp(10px, 2vw, 26px) 0 0;
  font: 400 clamp(130px, 21vw, 330px)/0.82 var(--serif);
  letter-spacing: -0.05em;
}

.cs-reel__label {
  margin: 14px 0 22px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cs-reel dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px clamp(20px, 3vw, 48px);
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cs-reel dl div {
  display: flex;
  flex-direction: column;
}

.cs-reel dd {
  order: -1;
  margin: 0;
  font: 400 clamp(38px, 3.8vw, 56px)/1 var(--serif);
  letter-spacing: -0.03em;
}

.cs-reel dt {
  margin-top: 4px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---------- The reaction: what people said, and a close-up of what they did ---------- */
.cs-fb {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  margin-top: 40px;
}

.cs-fb__say {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 2.8vw, 40px);
  color: #fff;
  background: url("rahath-hero-fg.webp") 100% 100% / auto 62% no-repeat, url("rahath-sky.webp") center / cover no-repeat, #1078e0;
  border-radius: 20px;
}

.cs-fb__say p {
  margin: 0;
  font: 400 clamp(50px, 6vw, 94px)/0.95 var(--serif);
  letter-spacing: -0.035em;
}

.cs-fb__say small {
  max-width: 230px;
  margin-top: 28px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cs-eng {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 5 / 8;
  background: #0b1014;
  border-radius: 20px;
}

.cs-eng img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.cs-eng figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: 8px;
  padding: 44px 16px 14px;
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 16, 20, 0), rgba(11, 16, 20, 0.86) 48%);
}

.cs-eng span {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.cs-eng strong {
  font: 400 clamp(48px, 5vw, 72px)/0.9 var(--serif);
  letter-spacing: -0.03em;
}

.cs-eng em {
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
}

.cs-eng small {
  grid-column: 1 / -1;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

/* ---------- The content: their feed, moving ---------- */
.cs-feed {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  height: clamp(520px, 56vw, 720px);
  padding: 0 10px;
  background: #0b1014;
}

.cs-feed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0b1014 0%, rgba(11, 16, 20, 0) 13%, rgba(11, 16, 20, 0) 87%, #0b1014 100%);
  pointer-events: none;
}

.cs-feed__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: cs-rise var(--t, 48s) linear infinite;
}

.cs-feed__col:nth-child(even) {
  animation-direction: reverse;
}

.cs-feed:hover .cs-feed__col {
  animation-play-state: paused;
}

.cs-feed img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@keyframes cs-rise {
  to { transform: translateY(calc(-50% - 5px)); }
}

/* ---------- The proof: the places people check ---------- */
.cs-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.cs-proof__copy {
  position: sticky;
  top: 112px;
}

.cs-proof__stack {
  position: relative;
  display: flex;
  flex-direction: column;
}

.cs-shot {
  position: relative;
  display: block;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 50px -22px rgba(20, 33, 61, 0.42);
}

.cs-shot--fb {
  width: 92%;
}

.cs-shot--ig {
  z-index: 1;
  align-self: flex-end;
  width: 80%;
  margin-top: -56px;
}

.cs-google {
  position: relative;
  z-index: 2;
  width: min(390px, 78%);
  margin: -44px 0 0 4%;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 26px 54px -22px rgba(20, 33, 61, 0.5);
}

.cs-google__top {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.cs-google__top b {
  font: 400 52px/1 var(--serif);
  letter-spacing: -0.02em;
}

.cs-google__stars {
  color: #e0a23c;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.cs-google__count {
  margin: 4px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.cs-google blockquote {
  margin: 0;
  font: 400 24px/1.12 var(--serif);
  letter-spacing: -0.015em;
}

.cs-google cite {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font: 500 14px/1.2 var(--sans);
}

/* ---------- The website: three phones on their sky ---------- */
.cs-site {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 34px);
  padding: clamp(28px, 4vw, 60px) clamp(20px, 4.4vw, 64px) 0;
  background: url("rahath-sky.webp") center / cover no-repeat #1078e0;
}

.cs-site figure {
  margin: 0;
  transform: translateY(var(--drop, 0));
}

.cs-site figure:nth-child(2) {
  --drop: 56px;
}

.cs-site figure:nth-child(3) {
  --drop: 18px;
}

.cs-site figcaption {
  margin-bottom: 14px;
  color: #fff;
  font: 400 clamp(23px, 2.2vw, 32px)/1 var(--serif);
  letter-spacing: -0.02em;
}

.cs-phone {
  overflow: hidden;
  aspect-ratio: 750 / 1560;
  background: #fff;
  border: clamp(5px, 0.7vw, 9px) solid #0b1014;
  border-bottom: 0;
  border-radius: clamp(26px, 3.2vw, 44px) clamp(26px, 3.2vw, 44px) 0 0;
  box-shadow: 0 30px 60px -18px rgba(5, 25, 70, 0.55);
}

.cs-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.cs-site__foot {
  height: 56px;
}

/* ---------- Results ---------- */
.pg .cs-results .ed-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1023px) {
  .cs-proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .cs-proof__copy {
    position: static;
  }

  .pg .cs-results .ed-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .cs-fb__say {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 300px;
  }

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

  .cs-aud__side {
    min-height: 0;
  }

  .cs-aud__side + .cs-aud__side {
    border-top: 1px solid rgba(244, 237, 224, 0.16);
    border-left: 0;
  }

  .cs-aud__who {
    margin-bottom: 0;
  }

  .cs-feed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 0 6px;
  }

  .cs-feed__col {
    gap: 6px;
  }

  .cs-feed__col:nth-child(4) {
    display: none;
  }

  @keyframes cs-rise {
    to { transform: translateY(calc(-50% - 3px)); }
  }

  /* Phones sit in a strip you can swipe, so each one stays readable. */
  .cs-site {
    display: flex;
    gap: 14px;
    padding: 24px 20px 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .cs-site::-webkit-scrollbar {
    display: none;
  }

  .cs-site figure {
    flex: 0 0 min(62vw, 250px);
    scroll-snap-align: center;
    --drop: 0 !important;
  }

  .cs-known li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

/* Closer views: the question leads, the video and its number sit side by side, the details close it. */
@media (max-width: 1023px) {
  .cs-reel {
    grid-template-areas:
      "q q"
      "phone big"
      "phone label"
      "stats stats";
    grid-template-columns: min(46%, 280px) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto auto;
    gap: 0 clamp(16px, 4vw, 40px);
    align-items: end;
  }

  .cs-reel__nums {
    display: contents;
  }

  .cs-reel__phone {
    grid-area: phone;
    width: 100%;
  }

  .cs-reel__q {
    grid-area: q;
    max-width: none;
    margin-bottom: 22px;
    font-size: clamp(30px, 6vw, 44px);
  }

  .cs-reel__big {
    grid-area: big;
    margin: 0;
    font-size: clamp(100px, 37vw, 220px);
  }

  .cs-reel__label {
    grid-area: label;
    margin: 10px 0 6px;
    font-size: clamp(15px, 2.4vw, 18px);
    line-height: 1.25;
  }

  .cs-reel dl {
    grid-area: stats;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 14px;
    margin-top: 24px;
  }

  .cs-reel dd {
    font-size: clamp(30px, 7vw, 46px);
  }

  .cs-reel dt {
    font-size: clamp(13px, 3.2vw, 16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-feed__col {
    animation: none;
  }

  .cs-known i {
    transition: none;
  }
}

/* ---------- The art direction: desk against location, then the rules the look runs on ---------- */
.cs-ad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: #f4ede0;
  background: #14213d;
}

.cs-ad__side {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 40px);
  color: rgba(244, 237, 224, 0.62);
}

.cs-ad__side--won {
  color: #f4ede0;
  background: #294073;
}

.cs-ad__tag {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cs-ad__shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 10px);
}

.cs-ad__shots img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 271 / 410;
  object-fit: cover;
  border-radius: clamp(10px, 1.2vw, 16px);
}

.cs-ad__side:not(.cs-ad__side--won) .cs-ad__shots img {
  opacity: 0.72;
}

.cs-ad__num {
  margin: clamp(22px, 3vw, 40px) 0 0;
  font: 400 clamp(64px, 8vw, 128px)/0.85 var(--serif);
  letter-spacing: -0.04em;
}

.cs-ad__side--won .cs-ad__num {
  color: #e6ad61;
}

.cs-ad__what {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pg .cs-ad__fine {
  margin-top: 12px;
}

.cs-rules {
  padding: clamp(24px, 3.4vw, 48px);
  background: #e9e0cf;
}

.cs-rules__title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font: 400 clamp(30px, 3.2vw, 48px)/1 var(--serif);
  letter-spacing: -0.02em;
}

.cs-rules ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 40px) clamp(20px, 3vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
}

.cs-rules li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 33, 61, 0.16);
  counter-increment: rule;
}

.cs-rules li::before {
  content: "0" counter(rule);
  margin-bottom: 6px;
  color: #bd784d;
  font: 400 clamp(34px, 3.4vw, 50px)/0.9 var(--serif);
  letter-spacing: -0.03em;
}

.cs-rules b {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cs-rules li span {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.cs-rules__credit {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin: clamp(30px, 4vw, 52px) 0 0;
  padding-top: 18px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid rgba(20, 33, 61, 0.16);
}

.cs-rules__credit b {
  margin-left: 6px;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 1023px) {
  .cs-rules ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .cs-ad {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .cs-rules__credit {
    flex-direction: column;
  }
}

/* ---------- The art direction, continued: what location did, and the relatable videos ---------- */
.cs-after {
  margin-top: 56px;
}

.cs-grow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: clamp(24px, 4vw, 60px);
  margin-top: 24px;
  padding: clamp(24px, 3.4vw, 48px);
  background: #e9e0cf;
}

.cs-grow__label,
.cs-rate__label {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cs-grow__big {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  margin: 14px 0 0;
  font: 400 clamp(64px, 6.6vw, 112px)/0.85 var(--serif);
  letter-spacing: -0.04em;
}

.cs-grow__big span:first-child {
  color: rgba(20, 33, 61, 0.38);
}

.cs-grow__big i {
  color: #bd784d;
  font-size: 0.5em;
  font-style: normal;
}

.cs-grow__note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.cs-grow__bars {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-grow__bars li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
}

.cs-grow__bars i {
  display: block;
  width: var(--w);
  height: clamp(28px, 3.4vw, 48px);
  background: rgba(20, 33, 61, 0.3);
  border-radius: 999px;
  transform-origin: 0 50%;
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-grow__bars .is-now i {
  background: #d99757;
  transition-delay: 0.15s;
}

.cs-grow:not(.is-in) .cs-grow__bars i {
  transform: scaleX(0);
}

.cs-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(12px, 1.6vw, 20px);
}

.cs-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(12px, 1.4vw, 18px);
  color: #f4ede0;
  background: #14213d;
  border-radius: 24px;
}

.cs-card__thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 235 / 419;
  object-fit: cover;
  border-radius: 14px;
}

.cs-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 6px 6px 4px 0;
}

.cs-card__where {
  margin: 0;
  color: rgba(244, 237, 224, 0.62);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cs-card__title {
  margin: 10px 0 auto;
  font: 400 clamp(22px, 2vw, 30px)/1.06 var(--serif);
  letter-spacing: -0.02em;
}

.cs-card__big {
  margin: 22px 0 0;
  color: #e6ad61;
  font: 400 clamp(56px, 5.6vw, 88px)/0.85 var(--serif);
  letter-spacing: -0.04em;
}

.cs-card__label {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.cs-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 237, 224, 0.16);
}

.cs-card dl div {
  display: flex;
  flex-direction: column;
}

.cs-card dd {
  order: -1;
  margin: 0;
  font: 400 clamp(26px, 2.4vw, 36px)/1 var(--serif);
  letter-spacing: -0.02em;
}

.cs-card dt {
  margin-top: 4px;
  color: rgba(244, 237, 224, 0.7);
  font-size: 13px;
  line-height: 1.2;
}

.cs-rate {
  padding: clamp(24px, 3.4vw, 48px);
  color: #f4ede0;
  isolation: isolate;
}

.cs-rate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("deck-gradient.webp") 0 20% / 100% 600% no-repeat;
}

.cs-rate__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 60px);
  margin-top: clamp(24px, 4vw, 60px);
}

.cs-rate__pair > div {
  padding-top: 16px;
  border-top: 1px solid rgba(244, 237, 224, 0.3);
}

.cs-rate__pair > div:not(.is-won) {
  opacity: 0.6;
}

.cs-rate__big {
  margin: 0;
  font: 400 clamp(64px, 10vw, 160px)/0.85 var(--serif);
  letter-spacing: -0.04em;
}

.cs-rate__what {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

@media (max-width: 1023px) {
  .cs-cards {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 759px) {
  .cs-grow {
    grid-template-columns: minmax(0, 1fr);
  }

  .cs-card {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 14px;
  }

  .cs-card__title {
    font-size: 20px;
  }

  .cs-card__big {
    font-size: 52px;
  }

  .cs-card dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .cs-card dl div {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }

  .cs-card dd {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-grow__bars i {
    transition: none;
  }
}

/* ---------- The range, closed: the feed as it looks today ---------- */
.cs-grid {
  padding: clamp(24px, 3.4vw, 48px);
  color: #f4ede0;
  background: #14213d;
}

.cs-grid__title {
  margin: 0;
  font: 400 clamp(30px, 3.2vw, 48px)/1 var(--serif);
  letter-spacing: -0.02em;
}

.cs-grid__sub {
  max-width: 560px;
  margin: 12px 0 0;
  color: rgba(244, 237, 224, 0.7);
  font-size: 16px;
  line-height: 1.4;
}

.cs-grid__row {
  margin-top: clamp(24px, 3vw, 36px);
}

.cs-grid__where {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cs-grid__tiles {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 10px);
}

.cs-grid__tiles img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 281 / 436;
  object-fit: cover;
  border-radius: clamp(8px, 1vw, 12px);
}

/* Phones: each row becomes a strip you can swipe, so the view counts stay readable */
@media (max-width: 759px) {
  .cs-grid__tiles {
    display: flex;
    margin: 0 calc(clamp(24px, 3.4vw, 48px) * -1);
    padding: 0 clamp(24px, 3.4vw, 48px);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .cs-grid__tiles::-webkit-scrollbar {
    display: none;
  }

  .cs-grid__tiles img {
    flex: none;
    width: 34vw;
    min-width: 0;
    scroll-snap-align: start;
  }
}

/* ---------- Flow: sub-heads inside a chapter, the walk-in quote, the closing credits ---------- */
.cs-sub {
  margin: clamp(48px, 6vw, 80px) 0 0;
  font: 400 clamp(30px, 3.2vw, 46px)/1.02 var(--serif);
  letter-spacing: -0.02em;
}

.cs-sub + .cs-text {
  margin-top: 16px;
}

.cs-sub + .cs-cards,
.cs-sub + .cs-panel {
  margin-top: 24px;
}

.cs-say {
  display: flex;
  min-height: clamp(300px, 34vw, 460px);
  margin-top: 40px;
}

.cs-credit {
  margin-top: 40px;
}

.cs-ad__why {
  max-width: 300px;
  margin: 14px 0 0;
  padding-top: 14px;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  border-top: 1px solid rgba(244, 237, 224, 0.18);
}
