@font-face { font-family: Roobert; src: url(roobert-regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Roobert; src: url(roobert-semibold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Roobert; src: url(roobert-bold.woff2) format('woff2'); font-weight: 700 800; font-display: swap; }

:root {
  --ds-ink: #151518;
  --ds-ink-2: #48425f;
  --ds-green: #5c7900;
  --green-ink: #496200;
  --ds-lime: #d4f564;
  --ds-bg-cream: #f5ebdd;
  --ds-bg-paper: #fffdf8;
  --ds-title: clamp(36px, calc(2.5vw + 20px), 64px);
  --ds-sub: clamp(17px, calc(.42vw + 14px), 21px);
  --ds-container: 1200px;
  --ds-gutter: clamp(20px, 4.45vw, 64px);
  --name-size: clamp(15px, calc(.3vw + 13.6px), 19px);
  --what-size: clamp(16px, calc(.4vw + 12.4px), 22px);
  --num-size: clamp(26px, calc(1.7vw + 12px), 48px);
  --fade: 400ms;
  color: var(--ds-ink);
  background: var(--ds-bg-cream);
  font-family: Roobert, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, p, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { color: var(--ds-ink); background: var(--ds-lime); }

/* Cream space above and below, so the start and the end of the section can be seen. */
.preview-space { height: 120px; }
@media (max-width: 767px) { .preview-space { height: 80px; } }

#cases { background: var(--ds-bg-paper); }

/* Words: one still block. */
.copy { text-align: center; }
.copy h1 {
  font-size: var(--ds-title);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.copy em { color: var(--ds-green); font-style: normal; }
.sub {
  margin: 12px auto 0;
  max-width: 46ch;
  color: var(--ds-ink-2);
  font-size: var(--ds-sub);
  line-height: 1.35;
  text-wrap: balance;
}
.result { text-align: center; }
/* One layout for every card: name line, then a number or their own short words, then one short line.
   Each line has a fixed height (2 lines of its size) so nothing jumps when the line changes. */
.name, .num, .what { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.name { height: calc(2 * 1.3em); color: var(--green-ink); font-size: var(--name-size); font-weight: 600; line-height: 1.3; text-wrap: balance; }
.num { height: calc(2 * 1.12em + 4px); margin-top: 6px; color: var(--green-ink); font-size: var(--num-size); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.what { height: calc(2 * 1.25em); margin-top: 8px; color: var(--ds-ink); font-size: var(--what-size); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }

/* A card that opens its real LinkedIn post: the LinkedIn mark in its corner, the whole card is the link. */
.in-mark { flex: none; width: 1.25em; height: 1.25em; margin-left: auto; fill: #0a66c2; }
.li-go { position: absolute; z-index: 2; inset: 0; border-radius: inherit; }
.li-go:focus-visible { outline: 3px solid #0a66c2; outline-offset: -3px; }
.li:has(.li-go) { position: relative; }
@media (hover: hover) { .li:has(.li-go):hover { box-shadow: 0 0 0 2px #0a66c2, 0 10px 20px -12px rgba(21, 21, 24, .3); } }

/* Post pictures: one card each, each opens its LinkedIn post when we have the link. */
.tile { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #fff; color: #1d1d1f; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(21, 21, 24, .08), 0 10px 20px -12px rgba(21, 21, 24, .3); }
.tile-pic { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f3efe6; }
.tile-pic img, .tile-loop { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile-pic.is-cover img, .tile-pic.is-cover .tile-loop { object-fit: cover; object-position: 50% 0; }
.tile-pic.is-contain img, .tile-pic.is-contain .tile-loop { object-fit: contain; }
.tile-loop { opacity: 0; transition: opacity .4s ease; }
.tile-loop.is-on { opacity: 1; }
.tile-who { display: flex; align-items: center; gap: .5em; padding: .6em .75em .65em; font-size: clamp(12.5px, 6.2cqi, 15px); line-height: 1.2; }
.tile-who b { min-width: 0; overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.tile-who .in-mark { width: 1.15em; height: 1.15em; }
a.tile:focus-visible { outline: 3px solid #0a66c2; outline-offset: 2px; }
@media (hover: hover) { a.tile:hover { box-shadow: 0 0 0 2px #0a66c2, 0 10px 20px -12px rgba(21, 21, 24, .3); } }
.tile { container-type: inline-size; }

/* Each card is a LinkedIn post frame: face, name and title, the post's first lines, its counts, then the picture. */
.post { container-type: inline-size; }
.li {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 0 0 1px rgba(21, 21, 24, .08), 0 10px 20px -12px rgba(21, 21, 24, .3);
  font-size: clamp(13.5px, 3.5cqi, 17px);
}
.li-head { display: flex; align-items: center; gap: .7em; padding: 1em 1.1em .75em; }
.li-face { flex: none; width: 3.1em; height: 3.1em; border-radius: 50%; object-fit: cover; }
.li-who { min-width: 0; line-height: 1.25; }
.li-who b { display: block; font-weight: 600; }
.li-who small { display: block; color: #666; font-size: .84em; }
.li-text { padding: 0 1.1em .7em; line-height: 1.42; }
.li-more { color: #666; }
.li-note { padding: 0 1.1em .7em; color: #666; font-size: .84em; line-height: 1.35; }
.li-counts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .8em; padding: .55em 1.1em .7em; border-top: 1px solid #eee; color: #666; font-size: .84em; }
.li-text + .li-counts, .li-head + .li-counts { border-top: 0; padding-top: 0; }
.li-pic img { width: 100%; }
.li-pic.is-chart { padding: 0 .8em .8em; }
.li-pic.is-chart img { border-radius: 8px; box-shadow: 0 0 0 1px #eee; }
.li-result { padding: .75em 1.1em .95em; border-top: 1px solid #eee; color: var(--ds-ink-2); font-size: .9em; font-weight: 600; line-height: 1.3; }
.li-num { display: block; color: var(--green-ink); font-size: min(2.5em, 15cqi); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.li-lab { display: block; margin-top: .2em; }

/* Video testimonial card: the founder's video plays muted; the whole card opens it with sound. */
.vt {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--ds-ink);
  color: #f7f1e6;
  box-shadow: 0 0 0 1px rgba(21, 21, 24, .5), 0 10px 20px -12px rgba(21, 21, 24, .45);
  font-size: clamp(13.5px, 3.5cqi, 17px);
}
.vt-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #26242c; }
.vt-poster, .vt-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vt-loop { opacity: 0; transition: opacity .4s ease; }
.vt-loop.is-on { opacity: 1; }
.vt-media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(to bottom, rgba(21, 21, 24, 0), rgba(21, 21, 24, .72)); pointer-events: none; }
.vt-cue {
  position: absolute; z-index: 1; left: .75em; bottom: .75em;
  display: inline-flex; align-items: center; gap: .55em;
  padding: .45em 1em .45em .45em; border-radius: 99px;
  background: #fff; color: var(--ds-ink);
  font-size: clamp(12px, 6.4cqi, 1em); font-weight: 700; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), background-color .25s ease;
}
.vt-ico { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: var(--ds-lime); }
.vt-ico svg { width: 1.2em; height: 1.2em; fill: var(--ds-ink); stroke: var(--ds-ink); stroke-width: 0; }
.vt-ico svg .w1, .vt-ico svg .w2 { fill: none; stroke-width: 2; stroke-linecap: round; }
.post.is-current .vt-ico svg .w1 { animation: vt-wave 1.6s ease-in-out infinite; }
.post.is-current .vt-ico svg .w2 { animation: vt-wave 1.6s ease-in-out .25s infinite; }
@keyframes vt-wave { 0%, 100% { opacity: .25; } 45% { opacity: 1; } }
.vt-head { display: flex; align-items: center; gap: .7em; padding: 1em 1.1em .5em; }
.vt-face { flex: none; width: 3.1em; height: 3.1em; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ds-lime); }
.vt-who { min-width: 0; line-height: 1.25; }
.vt-who b { display: block; font-weight: 600; }
.vt-who small { display: block; color: #b8b1a4; font-size: .84em; }
.vt-head:not(:has(+ .vt-quote)) { padding-bottom: 1.15em; }
.vt-quote { margin: 0; padding: .2em 1.1em 1.15em; }
.vt-quote p { font-size: 1.12em; font-weight: 600; line-height: 1.32; letter-spacing: -.01em; text-wrap: pretty; }
.vt-quote b { color: var(--ds-lime); font-weight: 800; }
.vt-open { position: absolute; z-index: 3; inset: 0; width: 100%; padding: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.vt-open:focus-visible { outline: 3px solid var(--ds-lime); outline-offset: -3px; }
@media (hover: hover) {
  .vt:hover .vt-cue { transform: scale(1.05); background: var(--ds-lime); }
  .vt:hover .vt-ico { background: #fff; }
}

/* The video, opened with sound, in our own simple player: play or pause, sound, captions, close. No time or length. */
.vt-box { width: min(1080px, calc(100vw - 32px)); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: #f7f1e6; overflow: visible; }
.vt-box::backdrop { background: rgba(12, 12, 14, .88); }
.vt-box[open] { animation: vt-in .32s cubic-bezier(.2, .7, .2, 1); }
@keyframes vt-in { from { opacity: 0; } to { opacity: 1; } }
.vt-box-in { display: grid; justify-items: center; gap: 12px; }
.vt-frame { position: relative; max-width: 100%; }
.vt-full { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 150px); border-radius: 12px; background: #000; cursor: pointer; }
.vt-full::cue { font-family: Roobert, system-ui, sans-serif; font-size: clamp(15px, 2.2vw, 22px); background: rgba(12, 12, 14, .78); }
.vt-big { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ds-lime); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.vt-frame.is-paused .vt-big { opacity: 1; pointer-events: auto; }
.vt-big svg { width: 34px; height: 34px; margin-left: 4px; fill: var(--ds-ink); }
.vt-bar { display: flex; align-items: center; gap: 10px; width: 100%; }
.vt-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ds-ink); cursor: pointer; transition: background-color .2s ease; }
.vt-btn svg { width: 22px; height: 22px; fill: currentColor; }
.vt-btn .w { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vt-btn:focus-visible, .vt-big:focus-visible { outline: 3px solid var(--ds-lime); outline-offset: 2px; }
@media (hover: hover) { .vt-btn:hover { background: var(--ds-lime); } }
.vt-pp .i-play, .vt-pp.is-paused .i-pause, .vt-snd .i-off, .vt-snd.is-off .i-on { display: none; }
.vt-pp.is-paused .i-play, .vt-snd.is-off .i-off { display: block; }
.i-cc { font: 700 14px/1 Roobert, system-ui, sans-serif; letter-spacing: .03em; }
.vt-cc.is-off { background: rgba(255, 255, 255, .35); }
.vt-box-who { min-width: 0; margin: 0 0 0 auto; font-family: Roobert, system-ui, sans-serif; text-align: right; line-height: 1.3; }
.vt-box-who b { display: block; font-size: 18px; font-weight: 600; }
.vt-box-who small { color: #b8b1a4; font-size: 15px; }
@media (max-width: 599px) { .vt-box-who b { font-size: 15px; } .vt-box-who small { font-size: 13px; } }
.vt-x { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--ds-ink); font: 700 26px/1 Roobert, system-ui, sans-serif; cursor: pointer; }
.vt-x:focus-visible { outline: 3px solid var(--ds-lime); outline-offset: 2px; }

/* Without the scroll scene (reduced motion, no script, very short screens): a plain list, final state. */
html:not(.scrub) .stage {
  width: min(var(--ds-container), calc(100% - 2 * var(--ds-gutter)));
  margin-inline: auto;
  padding-block: clamp(72px, calc(3.8vw + 57px), 112px);
}
html:not(.scrub) .results { display: none; }
html:not(.scrub) .posts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 14px;
  max-width: 460px;
  margin: clamp(32px, calc(1.5vw + 26px), 48px) auto 0;
}
html:not(.scrub) .post:not(.is-tile) { grid-column: 1 / -1; }


/* The scroll scene. */
html.scrub .stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: clip;
}
html.scrub .copy {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(480px, calc(100% - 2 * var(--ds-gutter)));
  transform: translate(-50%, -50%);
  pointer-events: none;
}
html.scrub .results { display: grid; margin-top: 28px; }
/* The line under the title changes in two steps, opacity only: the old line fades out in 140 ms, and only then
   does the new line fade in (260 ms), so two lines are never seen over each other. */
html.scrub .result { grid-area: 1 / 1; opacity: 0; transition: opacity 140ms cubic-bezier(.4, 0, .2, 1); }
html.scrub .result.is-on { opacity: 1; transition: opacity 260ms cubic-bezier(.4, 0, .2, 1) 140ms; }

/* The thin line from the words to the card they describe. It follows the card; it cross-fades like the words.
   Built from plain pieces that only move (no repainting): a dot, 3 straight parts and an arrow head. */
.links { display: none; }
html.scrub .links { display: block; position: absolute; z-index: 1; inset: 0; overflow: visible; pointer-events: none; }
.cn { position: absolute; inset: 0; opacity: 0; transition: opacity var(--fade) cubic-bezier(.4, 0, .2, 1); }
.cn.is-on { opacity: 1; }
.cn > * { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; opacity: var(--s, .8); }
.cn-a, .cn-c { width: 100px; height: 1.6px; margin-top: -.8px; background: var(--ds-green); }
.cn-v { width: 1.6px; height: 100px; margin-left: -.8px; background: var(--ds-green); }
.cn-dot { width: 6.4px; height: 6.4px; margin: -3.2px 0 0 -3.2px; border-radius: 50%; background: var(--ds-green); }
.cn > .cn-head { width: 12px; height: 12px; overflow: visible; transform-origin: 6px 6px; }
.cn-head path { fill: none; stroke: var(--ds-green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
html.scrub .posts { position: absolute; z-index: 1; inset: 0; }
html.scrub .copy { z-index: 3; }
html.scrub .post {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform, opacity;
  contain: layout style;
  backface-visibility: hidden;
}

/* Phone: the words sit at the top, one lane of posts under them. Posts fade out before they reach the words. */
html.scrub .stage.is-phone .copy { top: 56px; transform: translateX(-50%); }
html.scrub .stage.is-phone .results { margin-top: 16px; }
/* Phone: the same 3 lines, smaller, so the lane under the words keeps its room. */
.is-phone .name { font-size: 14px; }
.is-phone .num { margin-top: 2px; font-size: 24px; }
.is-phone .what { margin-top: 2px; font-size: 14.5px; }
/* Phone: the card the words describe gets a thin lime ring, cross-faded like the words. */
.is-phone .post > article, .is-phone .tile { transition: box-shadow var(--fade) cubic-bezier(.4, 0, .2, 1); }
.is-phone .post.is-current > .li, .is-phone .post.is-current .tile { box-shadow: 0 0 0 2px var(--ds-lime), 0 0 0 3px rgba(73, 98, 0, .35), 0 10px 20px -12px rgba(21, 21, 24, .3); }
.is-phone .post.is-current > .vt { box-shadow: 0 0 0 2px var(--ds-lime), 0 10px 20px -12px rgba(21, 21, 24, .45); }
.is-phone .li-pic.is-tall img { aspect-ratio: 1; object-fit: cover; object-position: var(--pos, 50% 0); }
.is-phone .vt-media { aspect-ratio: 5 / 4; }
/* The last card is the one the section ends on: it keeps its full height so the lane under it is not left empty. */
.is-phone .post:last-child .vt-media { aspect-ratio: 1; }
.is-phone .vt-poster, .is-phone .vt-loop { object-position: 50% 22%; }
.is-phone .li-result { padding: .6em 1.1em .75em; }
.is-phone .li-num { display: inline; font-size: 1.9em; margin-right: .2em; }
.is-phone .li-lab { display: inline; }
html.scrub .stage.is-phone .posts {
  top: var(--lane-top, 300px);
  overflow: clip;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 40px);
}

/* Desktop: the title and its line stay on one line each, as in the first build, while the result line keeps the narrower width. */
@media (min-width: 900px) {
  html.scrub .copy h1, html.scrub .copy .sub { max-width: none; margin-inline: -70px; }
}

/* Phone under 768 px: the words and one row of cards form one group in the middle of the screen. The words never move.
   The line under the title is one sentence: the founder's name, then the number and its words on the same line. */
html.scrub .stage.is-mob .copy { top: var(--copy-top, 28px); }
html.scrub .stage.is-mob .results { margin-top: 12px; }
.is-mob .result { display: block; height: calc(2 * 1.3 * 14px + 6px + 2 * 1.3 * 16.5px + 4px); overflow: hidden; font-size: 16.5px; line-height: 1.3; text-wrap: balance; }
.is-mob .name { height: calc(2 * 1.3em); margin-bottom: 6px; align-items: flex-end; font-size: 14px; }
.is-mob .num, .is-mob .what { display: inline; height: auto; margin: 0; overflow: visible; }
.is-mob .num { margin-right: .28em; font-size: 1.32em; line-height: 1; letter-spacing: -.025em; }
.is-mob .what { font-size: 1em; line-height: 1.3; }
/* Phone under 768 px: one row of cards, no fading edge and no ring. */
html.scrub .stage.is-mob .posts { -webkit-mask-image: none; mask-image: none; }
.is-mob .post.is-current > .li, .is-mob .post.is-current .tile { box-shadow: 0 0 0 1px rgba(21, 21, 24, .08), 0 10px 20px -12px rgba(21, 21, 24, .3); }
.is-mob .li-pic img { height: var(--ph, auto); object-fit: cover; object-position: var(--pos, 50% 0); }
.is-mob .li-pic.is-chart img { object-fit: contain; }
/* The words above the row already give the card's number and its words, so the card does not repeat them. */
.is-mob .li-result { display: none; }
/* The founder's name is in the words above, so a post picture shows no name: only the LinkedIn mark, on the picture, when the
   card opens the post. The 4 posts of 4 more founders keep each name, in full, on the picture with the mark. */
.is-mob .tile-who { position: absolute; right: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px; border-radius: 9px; background: #fff; box-shadow: 0 4px 12px -6px rgba(21, 21, 24, .45); font-size: 15px; }
.is-mob .tile-who .in-mark { width: 1.4em; height: 1.4em; }
.is-mob .post:not([data-stop="more-g"]) .tile-who b { display: none; }
.is-mob .post:not([data-stop="more-g"]) .tile-who:not(:has(.in-mark)) { display: none; }
.is-mob .post:not([data-stop="more-g"]) .tile-who .in-mark { margin-left: 0; }
.is-mob .post[data-stop="more-g"] .tile-who { padding: 6px 10px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .vt-loop, .vt-cue, .vt-box[open], .tile-loop, .result, .cn, .vt-big, .vt-btn { transition: none; animation: none; }
  .post .vt-ico svg path { animation: none !important; }
}
