/* LOCAL SIGNAL — YouTube Arabia case-study layer */

.case-page {
  --case-red: #f3152f;
  --case-red-dark: #8f0619;
  --case-red-soft: #ff5368;
  --case-black: #030303;
  --case-ink: #111114;
  --case-bone: #f2eee4;
  --case-bone-2: #ded8cc;
  --case-muted: #a7a19a;
  --case-rule: rgba(242, 238, 228, 0.23);
  --case-rule-dark: rgba(3, 3, 3, 0.22);
  --case-chrome: linear-gradient(180deg, #ffffff 0%, #7f858e 36%, #f7faff 49%, #5b6067 64%, #dce1e7 100%);
  color: var(--case-bone);
  background: var(--case-black);
}

.case-page main {
  overflow: clip;
}

.case-page .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.case-page .case-wrap,
.case-page .case-hero-wrap {
  position: relative;
}

.case-scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1200;
  height: 3px;
  pointer-events: none;
}

.case-scroll-progress-fill {
  display: block;
  width: var(--case-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--case-red) 0 72%, #fff 88%, #737983 100%);
  box-shadow: 0 0 14px rgba(243, 21, 47, 0.85);
  transition: width 80ms linear;
}

.case-hero {
  position: relative;
}

.case-local-hero {
  min-height: calc(100svh - var(--header));
  padding-block: clamp(70px, 8vw, 128px) clamp(64px, 8vw, 116px);
  overflow: hidden;
  border-bottom: 1px solid var(--case-rule);
  background:
    radial-gradient(circle at 79% 25%, rgba(243, 21, 47, 0.38), transparent 25%),
    linear-gradient(115deg, transparent 0 61%, rgba(243, 21, 47, 0.07) 61% 61.2%, transparent 61.2%),
    var(--case-black);
}

.case-local-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.44;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, black, transparent 83%);
}

.case-local-hero::after {
  position: absolute;
  top: -15vw;
  right: -18vw;
  width: 54vw;
  min-width: 620px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  box-shadow:
    0 0 0 5vw rgba(243, 21, 47, 0.045),
    0 0 0 10vw rgba(255, 255, 255, 0.018),
    0 0 0 15vw rgba(243, 21, 47, 0.025);
  pointer-events: none;
}

.case-local-hero-grid,
.case-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.72fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.case-hero-copy {
  position: relative;
  z-index: 2;
}

.case-kicker {
  margin: 0 0 22px;
  color: var(--case-red);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(0.66rem, 0.74vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.case-local-hero .case-kicker {
  color: #ff5368;
}

.case-local-hero h1 {
  max-width: 1040px;
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(4.5rem, 8.4vw, 9.5rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.8;
  text-transform: uppercase;
}

.case-local-hero h1 em {
  display: block;
  padding-right: 0.05em;
  color: #d8dde4;
  background: var(--case-chrome);
  background-clip: text;
  font-family: "Cormorant Display", Georgia, serif;
  font-size: 0.98em;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.82;
  text-transform: none;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.65)) drop-shadow(0 9px 20px rgba(0, 0, 0, 0.6));
}

.case-hero-thesis {
  max-width: 760px;
  margin: 34px 0 0;
  color: #d2cdc4;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.case-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.case-button {
  min-width: min(100%, 260px);
}

.case-button--ghost {
  color: var(--case-bone);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(3, 3, 3, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.case-button--ghost:hover {
  color: white;
  background: rgba(243, 21, 47, 0.15);
}

.case-signal-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.case-signal-stage::before {
  position: absolute;
  inset: 10% -9% -8% 10%;
  content: "";
  background: var(--case-red);
  filter: blur(58px);
  opacity: 0.22;
  pointer-events: none;
}

.case-signal-mount {
  position: relative;
  width: 100%;
  min-height: clamp(430px, 48vw, 680px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 37%),
    linear-gradient(180deg, #15171c 0%, #050506 68%, #230209 100%);
  box-shadow:
    inset 0 0 0 7px rgba(0, 0, 0, 0.65),
    inset 0 0 0 8px rgba(255, 255, 255, 0.1),
    0 32px 90px rgba(0, 0, 0, 0.62),
    20px 20px 0 var(--case-red-dark);
  isolation: isolate;
}

.case-signal-mount::before,
.case-signal-mount::after {
  position: absolute;
  z-index: 4;
  content: "";
  pointer-events: none;
}

.case-signal-mount::before {
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.case-signal-mount::after {
  top: 24px;
  right: 24px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--case-red);
  box-shadow: 0 0 20px var(--case-red), -22px 0 0 rgba(255, 255, 255, 0.3);
}

.case-signal-mount .youtube-scene__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100% !important;
  height: 100% !important;
}

.case-signal-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, transparent 0 23%, rgba(243, 21, 47, 0.82) 23.4% 25%, transparent 25.5%),
    radial-gradient(circle at 50% 43%, #ffffff 0 2%, #8f959e 8%, #1d2026 25%, #e4e7eb 29%, #25282e 38%, transparent 38.5%),
    linear-gradient(145deg, transparent 0 48%, rgba(255, 255, 255, 0.16) 48.2% 49%, transparent 49.2%),
    #08090c;
}

.case-signal-fallback::before,
.case-signal-fallback::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.45);
  transform: rotate(32deg);
}

.case-signal-fallback::before {
  top: 18%;
  left: 13%;
  width: 30%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #fafafa, #565b62 43%, #f9fbff 51%, #25282d 76%);
  box-shadow: 25px 22px 0 rgba(243, 21, 47, 0.7);
}

.case-signal-fallback::after {
  right: 9%;
  bottom: 13%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--case-red);
  box-shadow: inset 12px 10px 24px rgba(255, 255, 255, 0.28), inset -18px -22px 30px #6d0011;
}

.case-signal-mount.scene-ready .case-signal-fallback {
  opacity: 0;
  transition: opacity 500ms ease;
}

.case-signal-mount.scene-fallback .case-signal-fallback {
  opacity: 1;
}

.case-signal-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 0;
  color: #8e8a84;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-signal-caption::after {
  width: 56px;
  height: 1px;
  content: "";
  background: var(--case-red);
}

.case-boundary {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  margin-top: clamp(64px, 8vw, 120px);
  border-block: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.025);
}

.case-boundary > * {
  margin: 0;
  padding: clamp(22px, 3vw, 38px);
}

.case-boundary > p {
  color: #cac6be;
  border-left: 1px solid var(--case-rule);
  font-size: clamp(0.92rem, 1.2vw, 1.13rem);
  line-height: 1.62;
}

.case-boundary-lead {
  display: grid;
  align-content: space-between;
  min-height: 152px;
  background: var(--case-red);
}

.case-boundary-lead span,
.case-meta dt,
.case-hero-proof span {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-boundary-lead strong {
  max-width: 300px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.2rem, 1.7vw, 1.8rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.case-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-bottom: 1px solid var(--case-rule);
}

.case-meta div {
  min-width: 0;
  padding: 19px 20px;
  border-right: 1px solid var(--case-rule);
}

.case-meta div:first-child {
  border-left: 1px solid var(--case-rule);
}

.case-meta dt {
  color: #817d77;
}

.case-meta dd {
  margin: 5px 0 0;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
}

.case-hero-proof {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.case-hero-proof p {
  display: grid;
  min-height: 205px;
  margin: 0;
  padding: 20px;
  border-right: 1px solid var(--case-rule);
  grid-template-rows: auto 1fr auto;
}

.case-hero-proof p:last-child {
  border-right: 0;
}

.case-hero-proof span {
  color: #8f8a84;
}

.case-hero-proof strong {
  align-self: end;
  color: var(--case-red);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(3.3rem, 6vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.case-hero-proof small {
  margin-top: 12px;
  color: #c8c3ba;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-source-note {
  max-width: 900px;
}

.case-chapter-nav {
  position: sticky;
  top: var(--header);
  z-index: 700;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(3, 3, 3, 0.94);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.case-chapter-nav::-webkit-scrollbar {
  display: none;
}

.case-chapter-nav-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  padding-inline: var(--pad);
}

.case-chapter-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 19px;
  color: #85817b;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  font-family: "Inter Tight", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.case-chapter-nav a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.case-chapter-nav a span {
  color: var(--case-red);
  font-variant-numeric: tabular-nums;
}

.case-chapter-nav a:hover,
.case-chapter-nav a.case-active,
.case-chapter-nav a[aria-current="location"] {
  color: white;
  background: rgba(243, 21, 47, 0.14);
}

.case-section {
  position: relative;
  padding-block: clamp(88px, 10vw, 170px);
  border-top: 1px solid var(--case-rule);
  background: var(--case-black);
}

.case-section--paper {
  color: var(--case-ink);
  border-top-color: var(--case-rule-dark);
  background:
    linear-gradient(rgba(3, 3, 3, 0.04) 1px, transparent 1px),
    var(--case-bone);
  background-size: 100% 48px;
}

.case-section-head {
  display: grid;
  grid-template-columns: minmax(170px, 0.3fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 100px);
  margin-bottom: clamp(50px, 7vw, 96px);
}

.case-section-head .case-kicker {
  align-self: start;
  padding-top: 9px;
  border-top: 2px solid currentColor;
}

.case-section-head h2,
.case-closing-head h2,
.case-cta-panel h2 {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(3.3rem, 7.2vw, 8.1rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.84;
  text-transform: uppercase;
}

.case-section-head > div > p {
  max-width: 790px;
  margin: 30px 0 0;
  color: var(--case-muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.62;
}

.case-section--paper .case-section-head > div > p {
  color: #5e5a54;
}

.case-section--paper .case-kicker {
  color: var(--case-red-dark);
}

.case-context-statement {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--case-ink);
  background: var(--case-ink);
  gap: 2px;
}

.case-context-statement p {
  display: grid;
  min-height: 240px;
  margin: 0;
  padding: clamp(24px, 3vw, 42px);
  background: var(--case-bone);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.4rem, 2.3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  grid-template-rows: auto 1fr;
}

.case-context-statement p:nth-child(2) {
  color: white;
  background: var(--case-red);
}

.case-context-statement span {
  margin-bottom: 70px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-context-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(48px, 6vw, 84px);
  border-top: 1px solid var(--case-rule-dark);
}

.case-context-card {
  min-height: 360px;
  padding: clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--case-rule-dark);
}

.case-context-card:first-child {
  border-left: 1px solid var(--case-rule-dark);
}

.case-context-card > span,
.case-launch-card > span,
.case-operating-card > span,
.case-momentum-reading span,
.case-reels-lead > span,
.case-reels-window-note > span,
.case-creator-rail li span,
.case-yoodle-public span,
.case-community-scopes > article > span,
.case-learning-shift span,
.case-method-grid > article > span,
.case-cta-panel > div > span {
  color: var(--case-red-dark);
  font-family: "Inter Tight", sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.case-context-card h3 {
  margin: 104px 0 16px;
  font-size: clamp(1.65rem, 2.4vw, 2.8rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.case-context-card p {
  margin: 0;
  color: #625e58;
  font-size: 0.91rem;
  line-height: 1.62;
}

.case-section--launch {
  background:
    linear-gradient(115deg, transparent 0 75%, rgba(243, 21, 47, 0.12) 75% 75.2%, transparent 75.2%),
    var(--case-black);
}

.case-launch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.44);
  border-left: 1px solid var(--case-rule);
}

.case-launch-card {
  display: grid;
  min-height: 260px;
  padding: clamp(20px, 2.4vw, 34px);
  border-right: 1px solid var(--case-rule);
  border-bottom: 1px solid var(--case-rule);
  grid-template-rows: auto 1fr auto;
}

.case-launch-card > span {
  color: #918c84;
}

.case-launch-card strong {
  align-self: end;
  color: var(--case-red);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2.7rem, 4.3vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.85;
}

.case-launch-card p {
  margin: 14px 0 0;
  color: #a9a49d;
  font-size: 0.78rem;
  line-height: 1.45;
}

.case-scope-note,
.case-pause-note,
.case-method-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(36px, 5vw, 68px);
  padding: clamp(22px, 3vw, 38px) 0;
  border-block: 1px solid var(--case-rule);
}

.case-scope-note strong,
.case-pause-note strong,
.case-method-note strong {
  color: var(--case-red);
  font-family: "Inter Tight", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-scope-note p,
.case-pause-note p,
.case-method-note p {
  max-width: 860px;
  margin: 0;
  color: #aaa59e;
  font-size: 0.84rem;
  line-height: 1.65;
}

.case-section--paper .case-scope-note,
.case-section--paper .case-pause-note,
.case-section--paper .case-method-note {
  border-color: var(--case-rule-dark);
}

.case-section--paper .case-scope-note strong,
.case-section--paper .case-pause-note strong,
.case-section--paper .case-method-note strong {
  color: var(--case-red-dark);
}

.case-section--paper .case-scope-note p,
.case-section--paper .case-pause-note p,
.case-section--paper .case-method-note p {
  color: #5d5953;
}

.case-operating-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  padding: 2px;
  margin: 0;
  color: white;
  background: var(--case-ink);
  list-style: none;
}

.case-operating-card {
  display: grid;
  min-height: 400px;
  padding: clamp(25px, 3vw, 42px);
  background: var(--case-ink);
  grid-column: span 2;
  grid-template-rows: auto 1fr auto auto;
}

.case-operating-card:nth-child(2) {
  background: var(--case-red);
}

.case-operating-card:nth-child(2) > span,
.case-operating-card:nth-child(2) small {
  color: white;
}

.case-operating-card:nth-child(4),
.case-operating-card:nth-child(5) {
  grid-column: span 3;
}

.case-operating-card > span {
  color: #ff697a;
}

.case-operating-card h3 {
  align-self: end;
  margin: 80px 0 18px;
  font-size: clamp(1.8rem, 2.8vw, 3.3rem);
  line-height: 0.94;
}

.case-operating-card p {
  max-width: 470px;
  margin: 0;
  color: #c5c0b8;
  font-size: 0.88rem;
  line-height: 1.6;
}

.case-operating-card small {
  margin-top: 28px;
  color: #ff697a;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-creative-rule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 100px);
  margin: clamp(48px, 7vw, 100px) 0 0;
  padding: clamp(26px, 4vw, 54px) 0;
  border-block: 3px solid var(--case-ink);
}

.case-creative-rule p {
  margin: 0;
  color: var(--case-red-dark);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-transform: uppercase;
}

.case-creative-rule cite {
  align-self: end;
  max-width: 600px;
  color: #4f4b46;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-style: normal;
  line-height: 1.55;
}

.case-section--endpoints {
  background:
    radial-gradient(circle at 90% 15%, rgba(243, 21, 47, 0.17), transparent 24%),
    var(--case-black);
}

.case-endpoint-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--case-rule);
}

.case-endpoint-table,
.case-yoodle-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.case-endpoint-table caption,
.case-yoodle-table caption {
  padding: 15px 20px;
  color: #918d86;
  border-bottom: 1px solid var(--case-rule);
  font-family: "Inter Tight", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.case-endpoint-table th,
.case-endpoint-table td,
.case-yoodle-table th,
.case-yoodle-table td {
  padding: clamp(17px, 2.2vw, 30px) 20px;
  border-right: 1px solid var(--case-rule);
  border-bottom: 1px solid var(--case-rule);
  text-align: left;
}

.case-endpoint-table thead th,
.case-yoodle-table thead th {
  color: #9e9992;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-endpoint-table tbody th,
.case-yoodle-table tbody th {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
}

.case-endpoint-table tbody td {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.case-endpoint-table tbody td:nth-child(3) {
  color: white;
  background: var(--case-red);
}

.case-endpoint-table tbody td:last-child {
  color: #ff5368;
}

.case-endpoint-reading {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2px;
  background: var(--case-rule);
  gap: 1px;
}

.case-endpoint-reading article {
  display: grid;
  min-height: 190px;
  padding: 24px;
  background: var(--case-black);
  grid-template-rows: 1fr auto;
}

.case-endpoint-reading strong {
  color: var(--case-red);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2.7rem, 4.6vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.86;
}

.case-endpoint-reading span {
  color: #b4afa7;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.case-momentum-figure {
  margin: 0;
  overflow-x: auto;
  color: var(--case-ink);
  border: 2px solid var(--case-ink);
  background: var(--case-bone);
}

.case-momentum-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 2px solid var(--case-ink);
  font-family: "Inter Tight", sans-serif;
}

.case-momentum-figure figcaption strong {
  font-size: 0.77rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-momentum-figure figcaption span {
  color: #6c6862;
  font-size: 0.67rem;
}

.case-momentum-chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(62px, 1fr));
  gap: 5px;
  min-width: 900px;
  height: 470px;
  padding: 24px 20px 18px;
  margin: 0;
  list-style: none;
}

.case-momentum-chart li {
  display: grid;
  min-width: 0;
  grid-template-rows: 35px 1fr 25px;
}

.case-momentum-chart strong {
  align-self: start;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.68rem;
  letter-spacing: -0.02em;
  text-align: center;
}

.case-momentum-bar {
  align-self: end;
  display: block;
  width: 100%;
  height: var(--case-bar, 12%);
  min-height: 10px;
  border: 1px solid var(--case-ink);
  background: #28282b;
  transform-origin: bottom;
  transition: height 720ms cubic-bezier(0.2, 0.75, 0.2, 1), background 180ms ease;
}

.case-momentum-chart li:nth-child(odd) .case-momentum-bar {
  background: #55575c;
}

.case-momentum-chart .case-momentum-peak .case-momentum-bar {
  background: var(--case-red);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.16);
}

.case-momentum-chart small {
  align-self: end;
  padding-top: 8px;
  border-top: 1px solid var(--case-rule-dark);
  font-family: "Inter Tight", sans-serif;
  font-size: 0.66rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.case-momentum-reading {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 2px;
  color: var(--case-bone);
  background: var(--case-ink);
}

.case-momentum-reading article {
  min-height: 280px;
  padding: clamp(25px, 3.4vw, 48px);
  background: var(--case-ink);
}

.case-momentum-reading span {
  color: #ff6174;
}

.case-momentum-reading strong {
  display: block;
  margin-top: 68px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 5.6rem);
  letter-spacing: -0.07em;
  line-height: 0.86;
}

.case-momentum-reading p {
  max-width: 520px;
  margin: 20px 0 0;
  color: #bbb6ae;
  font-size: 0.83rem;
  line-height: 1.6;
}

.case-section--reels {
  background:
    linear-gradient(90deg, rgba(243, 21, 47, 0.08) 1px, transparent 1px),
    var(--case-black);
  background-size: 14.285% 100%;
}

.case-reels-comparison {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  border: 1px solid rgba(255, 255, 255, 0.37);
}

.case-reels-lead {
  display: grid;
  min-height: 520px;
  padding: clamp(28px, 4vw, 58px);
  color: white;
  background: var(--case-red);
  grid-template-rows: auto 1fr auto auto;
}

.case-reels-lead > span {
  color: white;
}

.case-reels-lead > strong {
  align-self: end;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(6rem, 12vw, 14rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.67;
}

.case-reels-lead p {
  max-width: 360px;
  margin: 34px 0 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.3rem, 2.1vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.case-reels-lead small {
  margin-top: 30px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-reels-bars {
  display: grid;
  padding: clamp(28px, 5vw, 70px);
  align-content: center;
  gap: 38px;
  background: #0b0c0f;
}

.case-reels-bars article > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}

.case-reels-bars article > div:first-child span {
  color: #b5b0a8;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-reels-bars article > div:first-child strong {
  color: var(--case-red);
  font-family: "Inter Tight", sans-serif;
  font-size: 1.3rem;
}

.case-meter-track {
  height: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #202126;
}

.case-meter-fill {
  display: block;
  width: var(--case-meter, 0%);
  height: 100%;
  background: linear-gradient(180deg, #fff, #777d85 39%, #f3f6fa 51%, #585d65 100%);
  transition: width 720ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.case-reels-bars article:first-child .case-meter-fill {
  background: var(--case-red);
}

.case-reels-bars small {
  display: block;
  margin-top: 8px;
  color: #77736d;
  font-size: 0.67rem;
}

.case-reels-window-note {
  display: grid;
  grid-template-columns: minmax(190px, 0.3fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  margin-top: 2px;
  padding: clamp(24px, 3vw, 40px);
  color: var(--case-ink);
  background: var(--case-bone);
}

.case-reels-window-note > span {
  color: var(--case-red-dark);
}

.case-reels-window-note p {
  max-width: 820px;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.62;
}

.case-section--evidence {
  background-color: var(--case-bone);
}

.case-section--yoodles {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.035) 1px, transparent 1px),
    var(--case-bone);
  background-size: 8.333% 100%;
}

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

.case-evidence-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.78fr) minmax(0, 1.22fr);
  min-height: 580px;
  overflow: hidden;
  color: var(--case-ink);
  border: 1px solid var(--case-ink);
  background: #faf7ef;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.case-evidence-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 5px;
  content: "";
  background: var(--case-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.case-evidence-card:hover,
.case-evidence-card:focus-visible {
  background: white;
  box-shadow: 11px 11px 0 var(--case-red-dark);
  transform: translate(-4px, -4px);
}

.case-evidence-card:hover::before,
.case-evidence-card:focus-visible::before {
  transform: scaleX(1);
}

.case-evidence-card picture {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #19191c;
}

.case-evidence-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: filter 200ms ease, transform 300ms ease;
}

.case-evidence-card:hover img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.025);
}

.case-evidence-copy {
  display: flex;
  min-width: 0;
  padding: clamp(23px, 2.8vw, 40px);
  flex-direction: column;
}

.case-evidence-copy > span {
  color: var(--case-red-dark);
  font-family: "Inter Tight", sans-serif;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-evidence-copy h3 {
  margin: 26px 0 20px;
  font-size: clamp(1.65rem, 2.4vw, 2.7rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.case-evidence-copy blockquote[lang="ar"] {
  margin: auto 0 15px;
  padding: 18px 18px 20px;
  color: #fff;
  border-right: 5px solid var(--case-red);
  background: var(--case-ink);
  font-family: Tahoma, Arial, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  font-weight: 700;
  line-height: 1.8;
  text-align: right;
}

.case-evidence-copy > p {
  margin: 0;
  color: #5e5a54;
  font-size: 0.76rem;
  line-height: 1.58;
}

.case-evidence-copy > p b {
  color: var(--case-ink);
}

.case-evidence-copy > strong {
  display: block;
  margin-top: 25px;
  color: var(--case-red-dark);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 3.2rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.case-evidence-copy > small {
  display: block;
  margin-top: 9px;
  color: #77716b;
  font-size: 0.63rem;
  line-height: 1.5;
}

.case-section--creators {
  background:
    radial-gradient(circle at 15% 30%, rgba(243, 21, 47, 0.16), transparent 28%),
    var(--case-black);
}

.case-creator-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-left: 1px solid var(--case-rule);
}

.case-creator-proof article {
  display: grid;
  min-height: 220px;
  padding: 24px;
  border-right: 1px solid var(--case-rule);
  border-bottom: 1px solid var(--case-rule);
  grid-template-rows: 1fr auto;
}

.case-creator-proof strong {
  color: var(--case-red);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(3.2rem, 5.7vw, 6.8rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.77;
}

.case-creator-proof span {
  color: #bbb6ae;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
}

.case-creator-rail-shell {
  margin-top: clamp(54px, 7vw, 96px);
}

.case-rail-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--case-rule);
}

.case-rail-controls p {
  margin: 0;
  color: #8d8881;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.case-rail-controls > div {
  display: flex;
  gap: 6px;
}

.case-rail-controls button {
  display: grid;
  width: 44px;
  height: 38px;
  padding: 0;
  color: var(--case-black);
  border: 1px solid white;
  background: var(--case-chrome);
  cursor: pointer;
  font-weight: 900;
  place-items: center;
}

.case-rail-controls button:disabled {
  cursor: default;
  filter: grayscale(1) brightness(0.55);
  opacity: 0.55;
}

.case-creator-rail {
  display: flex;
  gap: 12px;
  padding: 20px 2px 25px;
  margin: 0;
  overflow-x: auto;
  list-style: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--case-red) #202126;
  scrollbar-width: thin;
}

.case-creator-rail li {
  flex: 0 0 min(38vw, 430px);
  min-width: 330px;
  min-height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: #0d0e11;
  scroll-snap-align: start;
}

.case-creator-rail li:nth-child(2n) {
  background: #18191d;
}

.case-creator-rail li a {
  display: grid;
  min-height: 100%;
  padding: clamp(25px, 3vw, 40px);
  grid-template-rows: auto 1fr auto auto;
  transition: background 180ms ease, color 180ms ease;
}

.case-creator-rail li a:hover {
  color: white;
  background: var(--case-red-dark);
}

.case-creator-rail li span {
  color: #ff6072;
}

.case-creator-rail li a:hover span {
  color: white;
}

.case-creator-rail li strong {
  align-self: end;
  margin: 92px 0 18px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.7rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.case-creator-rail li p {
  margin: 0;
  color: #aaa59e;
  font-size: 0.82rem;
  line-height: 1.58;
}

.case-creator-rail li a:hover p {
  color: white;
}

.case-creator-rail li small {
  margin-top: 30px;
  color: var(--case-red-soft);
  font-family: "Inter Tight", sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.case-creator-rail li a:hover small {
  color: white;
}

.case-yoodle-summary {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 2px solid var(--case-ink);
  background: var(--case-ink);
  gap: 2px;
}

.case-yoodle-summary article {
  display: grid;
  min-height: 185px;
  padding: 22px;
  background: var(--case-bone);
  grid-template-rows: 1fr auto;
}

.case-yoodle-summary article:nth-child(4) {
  color: white;
  background: var(--case-red);
}

.case-yoodle-summary strong {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2rem, 3.5vw, 4.3rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.85;
}

.case-yoodle-summary span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.case-yoodle-experiment {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  margin-top: clamp(46px, 6vw, 84px);
  color: var(--case-bone);
  border: 2px solid var(--case-ink);
  background: var(--case-ink);
}

.case-yoodle-experiment .case-endpoint-table-wrap {
  border: 0;
}

.case-yoodle-table caption,
.case-yoodle-table th,
.case-yoodle-table td {
  border-color: rgba(255, 255, 255, 0.19);
}

.case-yoodle-table tbody td {
  color: #ff6072;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.case-yoodle-experiment > blockquote {
  display: flex;
  min-width: 0;
  padding: clamp(30px, 4vw, 58px);
  margin: 0;
  color: white;
  background: var(--case-red);
  flex-direction: column;
  justify-content: space-between;
}

.case-yoodle-experiment > blockquote p {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2.4rem, 4.6vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.86;
  text-transform: uppercase;
}

.case-yoodle-experiment > blockquote cite {
  margin-top: 70px;
  font-size: 0.83rem;
  font-style: normal;
  line-height: 1.58;
}

.case-yoodle-public {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(50px, 6vw, 86px);
}

.case-yoodle-public > a {
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: var(--case-ink);
  border: 1px solid var(--case-ink);
  background: #fffaf0;
  grid-template-columns: minmax(120px, 0.66fr) minmax(0, 1fr);
}

.case-yoodle-public picture {
  height: 100%;
}

.case-yoodle-public img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 250ms ease;
}

.case-yoodle-public > a:hover img {
  transform: scale(1.035);
}

.case-yoodle-public > a > div {
  display: flex;
  min-width: 0;
  padding: 20px;
  flex-direction: column;
  justify-content: flex-end;
}

.case-yoodle-public span {
  color: var(--case-red-dark);
}

.case-yoodle-public p[lang="ar"] {
  margin: auto 0 20px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  font-weight: 700;
  line-height: 1.75;
  text-align: right;
}

.case-yoodle-public small {
  color: #67625c;
  font-size: 0.68rem;
  line-height: 1.55;
}

.case-section--community {
  background:
    linear-gradient(145deg, transparent 0 63%, rgba(243, 21, 47, 0.09) 63% 63.2%, transparent 63.2%),
    var(--case-black);
}

.case-community-scopes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid var(--case-rule);
}

.case-community-scopes > article {
  display: grid;
  min-height: 410px;
  padding: clamp(25px, 3vw, 44px);
  border-right: 1px solid var(--case-rule);
  border-bottom: 1px solid var(--case-rule);
  grid-template-rows: auto 1fr auto auto;
}

.case-community-scopes > article:nth-child(2) {
  background: rgba(255, 255, 255, 0.04);
}

.case-community-scopes > article > span {
  color: #ff6072;
}

.case-community-scopes strong {
  align-self: end;
  margin-top: 90px;
  color: var(--case-red);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2.7rem, 5vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.case-community-scopes p {
  margin: 20px 0 0;
  color: #c1bcb4;
  font-size: 0.82rem;
  line-height: 1.58;
}

.case-community-scopes small {
  margin-top: 30px;
  color: #7e7973;
  font-size: 0.66rem;
  line-height: 1.5;
}

.case-community-rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(50px, 6vw, 90px);
  border-top: 3px solid var(--case-red);
}

.case-community-rules article {
  min-height: 210px;
  padding: 25px;
  border-right: 1px solid var(--case-rule);
  border-bottom: 1px solid var(--case-rule);
}

.case-community-rules article:first-child {
  border-left: 1px solid var(--case-rule);
}

.case-community-rules span {
  color: var(--case-red);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.6rem, 2.7vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.case-community-rules p {
  margin: 70px 0 0;
  color: #a8a39c;
  font-size: 0.75rem;
  line-height: 1.55;
}

.case-failure-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  color: var(--case-bone);
  background: var(--case-ink);
  gap: 2px;
  padding: 2px;
}

.case-section--learnings {
  background:
    radial-gradient(circle at 92% 12%, rgba(243, 21, 47, 0.12), transparent 24%),
    var(--case-bone);
}

.case-failure-grid article {
  display: grid;
  min-height: 340px;
  padding: clamp(20px, 2.3vw, 34px);
  background: var(--case-ink);
  grid-template-rows: auto 1fr auto;
}

.case-failure-grid article:nth-child(2) {
  background: var(--case-red-dark);
}

.case-failure-grid span {
  color: #c8c2b9;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.case-failure-grid strong {
  align-self: end;
  color: var(--case-red-soft);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2.2rem, 3.6vw, 4.1rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.case-failure-grid article:nth-child(2) strong {
  color: white;
}

.case-failure-grid p {
  margin: 24px 0 0;
  color: #aaa59e;
  font-size: 0.73rem;
  line-height: 1.55;
}

.case-failure-grid article:nth-child(2) p {
  color: white;
}

.case-learning-shift {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(52px, 7vw, 100px);
  border-block: 2px solid var(--case-ink);
}

.case-learning-shift article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 42px);
  border-right: 1px solid var(--case-rule-dark);
}

.case-learning-shift article:last-child {
  border-right: 0;
}

.case-learning-shift span {
  color: var(--case-red-dark);
}

.case-learning-shift h3 {
  margin: 86px 0 0;
  font-size: clamp(1.7rem, 2.8vw, 3.2rem);
  line-height: 0.95;
}

.case-pause-note {
  padding-inline: clamp(22px, 4vw, 54px);
  color: white;
  border: 0;
  background: var(--case-red);
}

.case-section--paper .case-pause-note strong,
.case-section--paper .case-pause-note p {
  color: white;
}

.case-section--closing {
  overflow: hidden;
  padding-bottom: clamp(90px, 11vw, 180px);
  background:
    radial-gradient(circle at 10% 15%, rgba(243, 21, 47, 0.28), transparent 28%),
    linear-gradient(135deg, transparent 0 70%, rgba(255, 255, 255, 0.045) 70% 70.15%, transparent 70.15%),
    var(--case-black);
}

.case-section--closing::before {
  position: absolute;
  right: -13vw;
  bottom: 21%;
  width: 38vw;
  min-width: 440px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 5vw rgba(243, 21, 47, 0.05), 0 0 0 10vw rgba(255, 255, 255, 0.018);
}

.case-closing-head {
  position: relative;
  z-index: 1;
}

.case-closing-head h2 {
  max-width: 1280px;
  font-size: clamp(4rem, 9vw, 10rem);
}

.case-closing-head > p:last-child {
  max-width: 820px;
  margin: 36px 0 0 auto;
  color: #bbb6ae;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.65;
}

.case-closing-manifesto {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  margin-top: clamp(80px, 10vw, 150px);
  border-block: 1px solid rgba(255, 255, 255, 0.42);
}

.case-closing-manifesto span {
  flex: 1 1 30%;
  padding: clamp(18px, 2.6vw, 34px);
  color: var(--case-red);
  border-right: 1px solid var(--case-rule);
  border-bottom: 1px solid var(--case-rule);
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2rem, 4.8vw, 5.7rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-transform: uppercase;
}

.case-closing-manifesto span:nth-child(even) {
  color: #d9dde2;
  background: var(--case-chrome);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.case-method-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(80px, 10vw, 150px);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.case-method-grid > article {
  min-height: 330px;
  padding: clamp(23px, 2.7vw, 38px);
  border-right: 1px solid var(--case-rule);
  border-bottom: 1px solid var(--case-rule);
}

.case-method-grid > article:first-child {
  border-left: 1px solid var(--case-rule);
}

.case-method-grid > article > span {
  color: var(--case-red-soft);
}

.case-method-grid h3 {
  margin: 100px 0 18px;
  font-size: clamp(1.8rem, 2.8vw, 3.2rem);
  line-height: 0.92;
}

.case-method-grid p {
  margin: 0;
  color: #aaa59e;
  font-size: 0.77rem;
  line-height: 1.58;
}

.case-method-note {
  position: relative;
  z-index: 1;
}

.case-cta-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
  margin-top: clamp(80px, 10vw, 150px);
  padding: clamp(35px, 6vw, 90px);
  color: white;
  background:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    var(--case-red);
  background-size: 42px 42px;
  box-shadow: 20px 20px 0 var(--case-red-dark);
}

.case-cta-panel > div > span {
  color: white;
}

.case-cta-panel h2 {
  max-width: 1000px;
  margin-top: 56px;
  font-size: clamp(3.1rem, 6.2vw, 7rem);
}

.case-cta-panel p {
  max-width: 710px;
  margin: 28px 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.case-cta-panel .case-button {
  align-self: end;
  margin: 0;
}

.case-enhanced [data-case-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms cubic-bezier(0.2, 0.72, 0.2, 1), transform 650ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.case-enhanced [data-case-reveal].case-in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 1220px) {
  .case-local-hero-grid,
  .case-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.62fr);
  }

  .case-evidence-card {
    grid-template-columns: 0.7fr 1fr;
  }

  .case-evidence-copy {
    padding: 24px;
  }

  .case-yoodle-summary {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .case-failure-grid article:nth-child(4),
  .case-failure-grid article:nth-child(5) {
    min-height: 280px;
  }
}

@media (max-width: 1020px) {
  .case-local-hero-grid,
  .case-hero-grid {
    grid-template-columns: 1fr;
  }

  .case-local-hero h1 {
    max-width: 920px;
  }

  .case-signal-stage {
    width: min(100%, 720px);
    margin: 20px auto 0;
  }

  .case-signal-mount {
    min-height: 600px;
  }

  .case-context-statement,
  .case-context-grid,
  .case-community-scopes {
    grid-template-columns: 1fr;
  }

  .case-context-statement p {
    min-height: 210px;
  }

  .case-context-card {
    min-height: 280px;
    border-left: 1px solid var(--case-rule-dark);
    border-bottom: 1px solid var(--case-rule-dark);
  }

  .case-context-card h3 {
    margin-top: 65px;
  }

  .case-launch-grid,
  .case-creator-proof,
  .case-endpoint-reading,
  .case-community-rules,
  .case-method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-momentum-figure {
    overflow: hidden;
  }

  .case-momentum-chart {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 250px;
    min-width: 0;
    height: auto;
    gap: 14px 8px;
  }

  .case-evidence-grid {
    grid-template-columns: 1fr;
  }

  .case-evidence-card {
    grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1fr);
    min-height: 570px;
  }

  .case-yoodle-experiment,
  .case-reels-comparison {
    grid-template-columns: 1fr;
  }

  .case-reels-lead {
    min-height: 430px;
  }

  .case-yoodle-public {
    grid-template-columns: 1fr;
  }

  .case-yoodle-public > a {
    grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  }

  .case-method-grid > article:nth-child(3) {
    border-left: 1px solid var(--case-rule);
  }

  .case-cta-panel {
    grid-template-columns: 1fr;
  }

  .case-cta-panel .case-button {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .case-local-hero {
    padding-block: 58px 78px;
  }

  .case-local-hero::before {
    background-size: 44px 44px;
  }

  .case-local-hero h1 {
    font-size: clamp(3.7rem, 18vw, 6.4rem);
    line-height: 0.82;
  }

  .case-local-hero h1 em {
    font-size: 0.9em;
  }

  .case-hero-thesis {
    margin-top: 25px;
    font-size: 1.1rem;
  }

  .case-hero-actions {
    display: grid;
  }

  .case-button {
    width: 100%;
    min-width: 0;
  }

  .case-signal-mount {
    min-height: 470px;
    box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.65), inset 0 0 0 6px rgba(255, 255, 255, 0.1), 11px 11px 0 var(--case-red-dark);
  }

  .case-boundary,
  .case-section-head,
  .case-creative-rule,
  .case-scope-note,
  .case-pause-note,
  .case-method-note,
  .case-reels-window-note {
    grid-template-columns: 1fr;
  }

  .case-boundary > p {
    border-top: 1px solid var(--case-rule);
    border-left: 0;
  }

  .case-boundary-lead {
    min-height: 140px;
  }

  .case-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-meta div:nth-child(3) {
    border-left: 1px solid var(--case-rule);
  }

  .case-hero-proof,
  .case-launch-grid,
  .case-creator-proof,
  .case-endpoint-reading,
  .case-momentum-reading,
  .case-learning-shift {
    grid-template-columns: 1fr;
  }

  .case-hero-proof p {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--case-rule);
  }

  .case-hero-proof strong {
    margin-top: 48px;
  }

  .case-chapter-nav a {
    min-height: 48px;
    padding-inline: 15px;
  }

  .case-section {
    padding-block: 82px;
  }

  .case-section-head {
    gap: 26px;
    margin-bottom: 48px;
  }

  .case-section-head h2,
  .case-closing-head h2,
  .case-cta-panel h2 {
    font-size: clamp(3rem, 15vw, 5.7rem);
    line-height: 0.86;
  }

  .case-section-head > div > p {
    margin-top: 24px;
    font-size: 0.96rem;
  }

  .case-context-statement p {
    min-height: 180px;
  }

  .case-context-statement span {
    margin-bottom: 46px;
  }

  .case-launch-card {
    min-height: 205px;
  }

  .case-operating-grid {
    grid-template-columns: 1fr;
  }

  .case-operating-card,
  .case-operating-card:nth-child(4),
  .case-operating-card:nth-child(5) {
    min-height: 330px;
    grid-column: auto;
  }

  .case-creative-rule p {
    font-size: clamp(2.6rem, 14vw, 5rem);
  }

  .case-endpoint-reading article {
    min-height: 150px;
  }

  .case-momentum-figure figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-momentum-chart {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 190px;
    min-width: 0;
    height: auto;
    padding-inline: 12px;
  }

  .case-reels-lead {
    min-height: 390px;
  }

  .case-reels-bars {
    padding: 28px 20px;
  }

  .case-evidence-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .case-evidence-card picture,
  .case-evidence-card img {
    min-height: 0;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    background: #19191c;
  }

  .case-evidence-copy blockquote[lang="ar"] {
    margin-top: 42px;
  }

  .case-creator-proof article {
    min-height: 170px;
  }

  .case-creator-rail li {
    flex-basis: min(84vw, 390px);
    min-width: min(84vw, 390px);
  }

  .case-yoodle-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-yoodle-summary article {
    min-height: 155px;
  }

  .case-yoodle-public > a {
    grid-template-columns: 0.58fr 1fr;
  }

  .case-yoodle-public img {
    min-height: 300px;
  }

  .case-community-scopes > article {
    min-height: 330px;
  }

  .case-community-rules {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-failure-grid {
    grid-template-columns: 1fr;
  }

  .case-failure-grid article,
  .case-failure-grid article:nth-child(4),
  .case-failure-grid article:nth-child(5) {
    min-height: 245px;
  }

  .case-learning-shift article {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--case-rule-dark);
  }

  .case-learning-shift h3 {
    margin-top: 56px;
  }

  .case-closing-head > p:last-child {
    margin-left: 0;
  }

  .case-closing-manifesto span {
    flex-basis: 50%;
  }

  .case-method-grid {
    grid-template-columns: 1fr;
  }

  .case-method-grid > article,
  .case-method-grid > article:nth-child(3) {
    min-height: 260px;
    border-left: 1px solid var(--case-rule);
  }

  .case-method-grid h3 {
    margin-top: 66px;
  }

  .case-cta-panel {
    padding: 30px 24px 40px;
    box-shadow: 10px 10px 0 var(--case-red-dark);
  }

  .case-cta-panel h2 {
    margin-top: 42px;
  }
}

@media (max-width: 500px) {
  .case-signal-mount {
    min-height: 390px;
  }

  .case-meta {
    grid-template-columns: 1fr;
  }

  .case-meta div,
  .case-meta div:nth-child(3) {
    border-left: 1px solid var(--case-rule);
  }

  .case-creator-proof,
  .case-community-rules,
  .case-yoodle-summary {
    grid-template-columns: 1fr;
  }

  .case-yoodle-public > a {
    grid-template-columns: 1fr;
  }

  .case-yoodle-public img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .case-closing-manifesto span {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-scroll-progress-fill,
  .case-momentum-bar,
  .case-meter-fill,
  .case-evidence-card,
  .case-evidence-card img,
  .case-signal-fallback,
  .case-enhanced [data-case-reveal] {
    transition: none;
  }

  .case-enhanced [data-case-reveal] {
    opacity: 1;
    transform: none;
  }
}
