@font-face {
  font-family: "Fragment Mono";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../assets/fonts/fragment-mono-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fragment Mono";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../assets/fonts/fragment-mono-latin-ext.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: block;
  src: url("../assets/fonts/space-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: block;
  src: url("../assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
}

@font-face {
  font-family: "Kalam";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("../assets/fonts/kalam-700-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Kalam";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("../assets/fonts/kalam-700-latin-ext.woff2") format("woff2");
}

:root {
  --black: #000;
  --white: #fff;
  --paper: #fbfaf4;
  --soft: #f2f7f4;
  --blue: #dfeeff;
  --yellow: #fff0b9;
  --rose: #ffe1d6;
  --ink-muted: #3d3d3d;
  --line: #000;
  --grid-line: rgba(0, 0, 0, 0.035);
  --grid-size: 4px;
  --heading-font: "Space Grotesk", "Fragment Mono", ui-monospace, monospace;
  --emphasis-font: "Kalam", "Fragment Mono", ui-monospace, monospace;
  --mono-font: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --small-line: 16px;
  --meta-line: 20px;
  --text-line: 24px;
  --content-min-width: 760px;
  --rail-width: clamp(96px, calc(100vw - var(--content-min-width)), 346px);
  --topbar-height: clamp(13px, calc(13.8728vw - 105.434px), 48px);
  --nav-font-size: clamp(10px, calc(4.6243vw - 35.145px), 16px);
  --ruler-width: var(--topbar-height);
  --ruler-start-gap: calc(var(--topbar-height) / 12);
  --ruler-top-trim: calc(var(--ruler-width) / 12);
  --shell-max: 1320px;
  --page-gutter-left: clamp(72px, 7vw, 132px);
  --page-gutter-right: clamp(36px, 5vw, 88px);
  --shell: min(var(--shell-max), calc(100% - var(--page-gutter-left) - var(--page-gutter-right)));
  --topbar-columns: var(--rail-width) minmax(0, 1fr);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
  background-color: var(--white);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-position: var(--rail-width) var(--topbar-height);
  background-size: var(--grid-size) var(--grid-size);
  color: var(--black);
  font-family: var(--mono-font);
  line-height: var(--text-line);
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--rail-width);
  background: var(--black);
  pointer-events: none;
}

body::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: calc(var(--topbar-height) + var(--ruler-start-gap));
  bottom: 0;
  left: var(--rail-width);
  width: var(--ruler-width);
  pointer-events: none;
  background-image: url("../assets/ruler.svg");
  background-position: left calc(0px - var(--ruler-top-trim));
  background-repeat: repeat-y;
  background-size: var(--ruler-width) auto;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  transform: translateY(calc(-100% - 16px));
  border: 2px solid var(--black);
  padding: 8px 12px;
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  line-height: var(--small-line);
  text-decoration: none;
  transition: transform 120ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

button,
input,
textarea {
  font: inherit;
}

p,
h1,
h2,
h3,
ul,
ol {
  margin-top: 0;
}

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: var(--topbar-columns);
  min-height: var(--topbar-height);
  background: var(--black);
  color: var(--white);
  font-size: var(--nav-font-size);
  line-height: var(--small-line);
  isolation: isolate;
}

.brand {
  position: relative;
  z-index: 2;
  display: block;
  width: var(--rail-width);
  height: var(--topbar-height);
  overflow: hidden;
  background: var(--black) url("../assets/logo.svg") left top / 100% 100% no-repeat;
}

.brand img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: var(--topbar-height);
  object-fit: fill;
}

.brand:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -4px;
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
  min-height: var(--topbar-height);
  padding: 0 24px;
  background: var(--black);
  color: var(--white);
  font-size: inherit;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.topline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-width: 0;
  min-height: var(--topbar-height);
  background: var(--black);
  color: var(--white);
}

.topline-current {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  min-height: calc(var(--topbar-height) - 10px);
  margin-left: clamp(16px, 2vw, 32px);
  border: 2px solid var(--white);
  padding: 0 12px;
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  line-height: var(--small-line);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.path-current {
  min-height: 0;
  padding: 5px 10px;
  font-weight: 600;
  text-transform: none;
}

.topline .topnav {
  min-height: auto;
  padding: 0 clamp(16px, 2vw, 32px) 0 0;
}

.breadcrumbs {
  gap: 10px;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--white);
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.story-mobile-ruler {
  display: none;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: calc(var(--topbar-height) - 12px);
  padding: 0 4px;
  text-decoration: none;
  white-space: nowrap;
}

.topnav a:hover,
.topnav a:focus-visible,
.button:hover,
.button:focus-visible,
.timeline-link:hover,
.timeline-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.page {
  position: relative;
  z-index: 1;
  margin-left: var(--rail-width);
  padding-top: var(--topbar-height);
  background: transparent;
}

.shell {
  width: var(--shell);
  margin: 0 0 0 var(--page-gutter-left);
}

.hero {
  display: grid;
  align-items: end;
  min-height: 720px;
  border-bottom: 2px solid var(--black);
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 40px;
  align-items: end;
  padding: 92px 0 72px;
}

.kicker,
.eyebrow,
.case-meta-label {
  display: inline-block;
  width: max-content;
  border-bottom: 2px solid currentColor;
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.case-meta-label {
  align-self: flex-start;
  max-width: 100%;
  padding-bottom: 6px;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
.stat strong,
.timeline-title,
.button {
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 11em;
  margin: 18px 0 24px;
  font-size: 68px;
  line-height: 76px;
}

h2 {
  max-width: 17em;
  margin-bottom: 18px;
  font-size: 40px;
  line-height: 48px;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 32px;
}

.mark {
  font-family: var(--emphasis-font);
}

em {
  position: relative;
  display: inline-block;
  font-family: var(--emphasis-font);
  font-style: normal;
  font-weight: 700;
}

em::after {
  content: "";
  position: absolute;
  right: -0.04em;
  bottom: -0.02em;
  left: -0.06em;
  height: 0.13em;
  border-radius: 999px;
  background: currentColor;
  pointer-events: none;
  transform: rotate(-1.1deg);
  transform-origin: left center;
}

.lead {
  max-width: 54rem;
  margin-bottom: 0;
  color: var(--black);
  font-size: 22px;
  line-height: 34px;
}

.hero-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid var(--black);
  border-radius: 0;
  padding: 0 18px;
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  line-height: var(--small-line);
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  background: var(--black);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  outline-color: var(--black);
  outline-width: 3px;
  outline-offset: 5px;
}

.hero-media {
  display: grid;
  gap: 0;
  border: 2px solid var(--black);
  background: var(--paper);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 2px solid var(--black);
  object-fit: cover;
}

.hero-note {
  padding: 18px;
  font-size: 14px;
  line-height: var(--meta-line);
}

.hero-note strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--heading-font);
  font-size: 18px;
  line-height: var(--text-line);
}

.board-page {
  overflow: hidden;
}

.whiteboard-hero {
  min-height: auto;
  border-bottom: 0;
  background: transparent;
}

.board-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(20px, 2vw, 28px);
  align-items: center;
  min-height: 0;
  padding: 52px 0 42px;
}

.title-note {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  max-width: none;
  border: 2px solid var(--black);
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 10px 10px 0 var(--black);
}

.title-note::before,
.sticky-note::before,
.polaroid::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 28px;
  width: 78px;
  height: 24px;
  border: 2px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(-3deg);
}

.title-note h1 {
  max-width: 9.8em;
  margin-bottom: 16px;
}

.title-note .lead {
  max-width: 28rem;
}

.sticky-note {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 2px solid var(--black);
  padding: 20px;
  background: var(--yellow);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.9);
  transform: rotate(var(--note-rotate, -1.5deg));
}

.sticky-note strong {
  font-family: var(--heading-font);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}

.sticky-note span,
.sticky-note p {
  margin: 0;
  color: var(--black);
  font-size: 14px;
  line-height: var(--meta-line);
}

.sticky-note-yellow {
  background: var(--yellow);
}

.sticky-note-blue {
  background: var(--blue);
}

.sticky-note-green {
  background: var(--soft);
}

.sticky-note-rose {
  background: var(--rose);
}

.polaroid {
  position: relative;
  display: grid;
  gap: 12px;
  border: 2px solid var(--black);
  padding: 16px 16px 24px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--black);
  transform: rotate(var(--photo-rotate, 2deg));
}

.polaroid img,
.photo-frame {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  border: 2px solid var(--black);
  background:
    linear-gradient(90deg, transparent 23px, rgba(0, 0, 0, 0.08) 24px),
    linear-gradient(transparent 23px, rgba(0, 0, 0, 0.08) 24px),
    var(--paper);
  background-size: 24px 24px;
  color: var(--black);
  font-family: var(--emphasis-font);
  font-size: 40px;
  line-height: 1;
  object-fit: cover;
  text-transform: lowercase;
}

.photo-frame-shot {
  position: relative;
  overflow: visible;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.photo-frame-morizon {
  background-image: url("../assets/morizon/morizon-ai-assistant-screen.png");
}

.photo-frame-interblue {
  background-image: url("../assets/interblue/interblue-screen.png");
}

.photo-frame-autotrader {
  background-image: url("../assets/autotrader/screens/screen-01.png");
}

.photo-frame-citi {
  background-image: url("../assets/citi-bank/touchscreen-catalog.jpg");
}

.polaroid p {
  margin: 0;
  font-family: var(--emphasis-font);
  font-size: 22px;
  line-height: 28px;
  text-align: center;
}

.hero-polaroid {
  --photo-rotate: 2.5deg;
  z-index: 2;
  align-self: center;
}

.hero-polaroid img {
  aspect-ratio: 1 / 1;
  object-position: 50% 42%;
}

.photo-credential-stickers {
  position: absolute;
  z-index: 7;
  top: clamp(4px, 1vw, 12px);
  right: clamp(-14px, -0.8vw, -6px);
  width: clamp(142px, 14vw, 218px);
  height: clamp(140px, 14vw, 216px);
  pointer-events: none;
}

.photo-credential-sticker {
  --seal-outline: polygon(50.00% 8.00%, 53.46% 10.40%, 57.29% 8.64%, 61.45% 7.26%, 64.36% 10.53%, 66.80% 13.97%, 71.00% 13.63%, 75.38% 13.75%, 77.00% 17.83%, 78.11% 21.89%, 82.17% 23.00%, 86.25% 24.62%, 86.37% 29.00%, 86.03% 33.20%, 89.47% 35.64%, 92.74% 38.55%, 91.36% 42.71%, 89.60% 46.54%, 92.00% 50.00%, 94.08% 53.86%, 91.36% 57.29%, 88.40% 60.29%, 89.47% 64.36%, 90.10% 68.70%, 86.37% 71.00%, 82.56% 72.80%, 82.17% 77.00%, 81.29% 81.29%, 77.00% 82.17%, 72.80% 82.56%, 71.00% 86.37%, 68.70% 90.10%, 64.36% 89.47%, 60.29% 88.40%, 57.29% 91.36%, 53.86% 94.08%, 50.00% 92.00%, 46.54% 89.60%, 42.71% 91.36%, 38.55% 92.74%, 35.64% 89.47%, 33.20% 86.03%, 29.00% 86.37%, 24.62% 86.25%, 23.00% 82.17%, 21.89% 78.11%, 17.83% 77.00%, 13.75% 75.38%, 13.63% 71.00%, 13.97% 66.80%, 10.53% 64.36%, 7.26% 61.45%, 8.64% 57.29%, 10.40% 53.46%, 8.00% 50.00%, 5.92% 46.14%, 8.64% 42.71%, 11.60% 39.71%, 10.53% 35.64%, 9.90% 31.30%, 13.63% 29.00%, 17.44% 27.20%, 17.83% 23.00%, 18.71% 18.71%, 23.00% 17.83%, 27.20% 17.44%, 29.00% 13.63%, 31.30% 9.90%, 35.64% 10.53%, 39.71% 11.60%, 42.71% 8.64%, 46.14% 5.92%);
  position: absolute;
  top: var(--seal-top, 0);
  right: var(--seal-right, 0);
  display: grid;
  width: var(--seal-size, 84px);
  height: var(--seal-size, 84px);
  place-items: center;
  filter: drop-shadow(5px 5px 0 var(--black));
  transform: rotate(var(--seal-rotate, 0deg));
}

.photo-credential-sticker::before,
.photo-credential-sticker::after {
  content: "";
  position: absolute;
  clip-path: var(--seal-outline);
}

.photo-credential-sticker::before {
  inset: 0;
  background: var(--black);
}

.photo-credential-sticker::after {
  inset: 4px;
  background: var(--white);
}

.photo-credential-sticker img {
  position: relative;
  z-index: 1;
  display: block;
  width: 70%;
  height: 70%;
  border: 0;
  border-radius: 50%;
  padding: 0;
  aspect-ratio: auto;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
  text-transform: none;
}

.photo-credential-sticker[data-sticker="generative-ai-leader"] img {
  width: 72%;
  height: 72%;
}

.photo-credential-sticker[data-sticker="swps"] {
  --hint-rotate: -9deg;
}

.photo-credential-sticker[data-sticker="swps"] img {
  width: 64%;
  height: 64%;
}

.photo-credential-sticker[data-sticker="ixdf"] {
  --hint-rotate: 4deg;
}

.photo-credential-sticker[data-sticker="ixdf"] img {
  width: 72%;
  height: 72%;
}

.photo-credential-hint {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: calc(100% + 8px);
  width: max-content;
  max-width: min(52vw, 260px);
  border: 2px solid var(--black);
  padding: 5px 8px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  line-height: var(--small-line);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(4px, -50%) rotate(var(--hint-rotate, 0deg));
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.photo-credential-sticker:hover,
.photo-credential-sticker:focus-visible {
  z-index: 7;
  outline: 0;
}

.photo-credential-sticker:focus-visible img {
  outline: 2px solid var(--black);
  outline-offset: 6px;
}

.photo-credential-sticker:hover .photo-credential-hint,
.photo-credential-sticker:focus-visible .photo-credential-hint {
  opacity: 1;
  transform: translate(0, -50%) rotate(var(--hint-rotate, 0deg));
}

.hero-pin {
  --hero-pin-width: clamp(210px, 17vw, 240px);
  --hero-pin-overlap: clamp(150px, 12vw, 176px);
  --note-rotate: -4deg;
  position: absolute;
  z-index: 5;
  top: clamp(292px, 46%, 386px);
  left: calc(66.667% - var(--hero-pin-overlap) - 92px);
  width: var(--hero-pin-width);
  margin: 0;
  transform: translateY(-6%) rotate(var(--note-rotate));
}

.story-hero-stickers {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 18px);
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: min(100%, 960px);
  margin-top: clamp(4px, 1vw, 14px);
  padding-top: clamp(20px, 2.6vw, 38px);
  pointer-events: none;
}

.story-hero-sticker {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: var(--sticker-size, 56px);
  height: var(--sticker-size, 56px);
  place-items: center;
  pointer-events: auto;
  transform: translateY(var(--sticker-y, 0));
}

.story-hero-sticker:nth-child(2n) {
  --sticker-y: 8px;
}

.story-hero-sticker:nth-child(3n) {
  --sticker-y: -5px;
}

.story-hero-sticker-art {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border: 2px solid var(--black);
  border-radius: 12px;
  padding: 3px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  transform: rotate(var(--rotate, 0deg));
  transform-origin: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.story-hero-sticker img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

.story-hero-sticker::after {
  content: attr(data-label);
  position: absolute;
  z-index: 5;
  top: calc(100% + 9px);
  left: 50%;
  max-width: min(42vw, 220px);
  border: 2px solid var(--black);
  padding: 5px 8px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  line-height: var(--small-line);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.story-hero-sticker.is-label-above::after {
  top: auto;
  bottom: calc(100% + 9px);
  transform: translate(-50%, -4px);
}

.story-hero-sticker:hover,
.story-hero-sticker:focus-visible {
  z-index: 6;
  outline: 0;
}

.story-hero-sticker:hover .story-hero-sticker-art,
.story-hero-sticker:focus-visible .story-hero-sticker-art {
  box-shadow: 6px 6px 0 var(--black);
  transform: translateY(-4px) rotate(var(--rotate, 0deg));
}

.story-hero-sticker:focus-visible .story-hero-sticker-art {
  outline: 2px solid var(--black);
  outline-offset: 5px;
}

.story-hero-sticker:hover::after,
.story-hero-sticker:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tape-note {
  position: absolute;
  right: 18px;
  top: 86px;
  max-width: 270px;
  border: 2px solid var(--black);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.hero-receipts {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
  margin-top: clamp(18px, 3vw, 38px);
}

.hero-receipts .kicker {
  grid-column: 1 / -1;
}

.hero-receipts .stat {
  min-height: 160px;
}

.hero-receipts .stat:nth-of-type(1) {
  --note-rotate: -2.4deg;
}

.hero-receipts .stat:nth-of-type(2) {
  --note-rotate: 1.4deg;
}

.hero-receipts .stat:nth-of-type(3) {
  --note-rotate: -0.4deg;
}

.hero-receipts .stat:nth-of-type(4) {
  --note-rotate: 2deg;
}

.board-section {
  background: transparent;
  padding-top: 46px;
}

.board-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.board-heading h2 {
  margin: 0;
  font-family: var(--emphasis-font);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}

.note-wall {
  align-items: start;
  border: 0;
  background: transparent;
}

.proof-grid.note-wall,
.principle-grid.note-wall {
  gap: 22px;
}

.proof-grid.note-wall .stat,
.principle-grid.note-wall .principle {
  border: 2px solid var(--black);
}

.note-wall .sticky-note:nth-child(1) {
  --note-rotate: -2.5deg;
}

.note-wall .sticky-note:nth-child(2) {
  --note-rotate: 1.6deg;
}

.note-wall .sticky-note:nth-child(3) {
  --note-rotate: -0.7deg;
}

.note-wall .sticky-note:nth-child(4) {
  --note-rotate: 2.4deg;
}

.principle-grid.note-wall .principle p {
  font-family: var(--emphasis-font);
  font-size: 30px;
  line-height: 34px;
}

.timeline.note-wall {
  --visited-case-background: #f2eee3;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: clamp(72px, 6.2vw, 96px) clamp(24px, 2.4vw, 34px);
}

.timeline.note-wall .timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  grid-column: span 2;
  min-height: 244px;
  color: var(--black);
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.timeline.note-wall .timeline-item.is-visited-case.sticky-note-yellow {
  background-color: var(--visited-case-background);
}

.timeline.note-wall .timeline-item.is-visited-case.sticky-note-green {
  background-color: var(--visited-case-background);
}

.timeline.note-wall .timeline-item.is-visited-case.polaroid {
  background-color: var(--visited-case-background);
}

.timeline.note-wall .timeline-item.timeline-item-rive {
  display: flex;
  flex-direction: column;
  min-height: 322px;
  overflow: visible;
  padding-left: clamp(140px, 11.4vw, 182px);
  padding-right: clamp(76px, 6.4vw, 112px);
}

.timeline.note-wall .timeline-item.timeline-item-rive > :not(.timeline-rive):not(.timeline-lendi-screen) {
  position: relative;
  z-index: 2;
}

.timeline.note-wall .timeline-item-jasne {
  --jasne-card-screen-right: clamp(8px, 1.8vw, 30px);
  --jasne-card-screen-width: clamp(132px, 11vw, 176px);
  --jasne-card-badge-overlap: clamp(14px, 1.6vw, 24px);
  --jasne-card-asset-shift: clamp(22px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: visible;
  padding-right: calc(var(--jasne-card-screen-width) + clamp(8px, 1vw, 16px));
  padding-bottom: 20px;
}

.timeline-card-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  color: inherit;
  text-decoration: none;
}

.timeline-card-main:focus-visible,
.timeline-jasne-screen:focus-visible,
.timeline-app-badge:focus-visible,
.jasne-store-badge:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

.timeline.note-wall .timeline-item-jasne > :not(.timeline-jasne-screen):not(.timeline-app-badges) {
  position: relative;
  z-index: 2;
}

.timeline.note-wall .timeline-item-jasne .timeline-title,
.timeline.note-wall .timeline-item-jasne .timeline-summary {
  display: block;
  max-width: min(100%, 18rem);
}

.timeline-video-window {
  position: relative;
  min-width: 0;
  overflow: visible;
  background: #f6f4f4;
}

.timeline-video-window video {
  position: absolute;
  inset: 0;
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.timeline-rive {
  position: absolute;
  right: clamp(14px, 2vw, 22px);
  bottom: clamp(14px, 2vw, 20px);
  z-index: 1;
  display: grid;
  width: clamp(54px, 6vw, 78px);
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--black);
  border-radius: 12px;
  padding: 3px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  pointer-events: none;
  transform: rotate(-6deg);
  transform-origin: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.timeline-item-rive:hover .timeline-rive,
.timeline-item-rive:focus-visible .timeline-rive {
  box-shadow: 6px 6px 0 var(--black);
  transform: translateY(-4px) rotate(-6deg);
}

.timeline-rive-canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.timeline-lendi-screen {
  position: absolute;
  top: 50%;
  left: clamp(-34px, calc(-3.4vw + 18px), -12px);
  z-index: 3;
  display: block;
  width: clamp(128px, 10.9vw, 170px);
  aspect-ratio: 1179 / 2556;
  border: 2px solid var(--black);
  border-radius: 8px;
  padding: 3px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--black);
  pointer-events: none;
  transform: translateY(-50%) rotate(-3.5deg);
  transform-origin: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.timeline-lendi-screen img {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 5px;
  object-fit: cover;
  object-position: top center;
}

.timeline-item-rive:hover .timeline-lendi-screen,
.timeline-item-rive:focus-visible .timeline-lendi-screen {
  box-shadow: 7px 7px 0 var(--black);
  transform: translateY(calc(-50% - 5px)) rotate(-3.5deg);
}

.timeline-jasne-screen {
  position: absolute;
  top: 50%;
  right: calc(var(--jasne-card-screen-right) - var(--jasne-card-asset-shift));
  z-index: 3;
  display: block;
  width: var(--jasne-card-screen-width);
  aspect-ratio: 1179 / 2556;
  border: 2px solid var(--black);
  border-radius: 18px;
  padding: 4px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--black);
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  transform: translateY(-50%) rotate(3.2deg);
  transform-origin: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.timeline-jasne-screen img {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 14px;
  object-fit: cover;
  object-position: top center;
}

.timeline-item-jasne:hover .timeline-jasne-screen,
.timeline-item-jasne:focus-visible .timeline-jasne-screen,
.timeline-item-jasne:focus-within .timeline-jasne-screen {
  box-shadow: 7px 7px 0 var(--black);
  transform: translateY(calc(-50% - 5px)) rotate(3.2deg);
}

.timeline-app-badges {
  position: absolute;
  left: auto;
  right: calc(var(--jasne-card-screen-right) + var(--jasne-card-screen-width) - var(--jasne-card-badge-overlap) - var(--jasne-card-asset-shift));
  top: 72%;
  bottom: auto;
  z-index: 4;
  display: grid;
  gap: 8px;
  pointer-events: auto;
  transform: translateY(-30%) rotate(-5deg);
  transform-origin: center;
  transition: transform 160ms ease;
}

.timeline-app-badge {
  position: relative;
  isolation: isolate;
  display: block;
  width: clamp(92px, 8.8vw, 128px);
  overflow: hidden;
  border: 2px solid var(--black);
  border-radius: 7px;
  padding: 4px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.timeline-app-badge img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.timeline-app-badge::after,
.jasne-store-badge::after {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: 2;
  border-radius: 4px;
  background:
    linear-gradient(115deg, rgba(80, 220, 255, 0) 0%, rgba(80, 220, 255, 0.32) 24%, rgba(255, 221, 84, 0.36) 50%, rgba(255, 93, 139, 0.3) 74%, rgba(255, 93, 139, 0) 100%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-125%) skewX(-16deg);
  transition: opacity 180ms ease, transform 300ms ease;
}

.timeline-app-badge:hover,
.timeline-app-badge:focus-visible,
.jasne-store-badge:hover,
.jasne-store-badge:focus-visible {
  box-shadow: 6px 6px 0 var(--black);
}

.timeline-app-badge:hover::after,
.timeline-app-badge:focus-visible::after,
.jasne-store-badge:hover::after,
.jasne-store-badge:focus-visible::after {
  opacity: 1;
  transform: translateX(0) skewX(-16deg);
}

.timeline-app-badge-ios {
  border-radius: 10px;
  transform: translateX(10px) rotate(-2deg);
}

.timeline-app-badge-ios img {
  border-radius: 7px;
}

.timeline-app-badge-google {
  transform: translateX(-16px) rotate(4deg);
}

.timeline-item-jasne:hover .timeline-app-badges,
.timeline-item-jasne:focus-visible .timeline-app-badges,
.timeline-item-jasne:focus-within .timeline-app-badges {
  transform: translateY(calc(-30% - 4px)) rotate(-5deg);
}

.case-award-sticker {
  --case-sticker-corner-x: clamp(-14px, -0.9vw, -8px);
  --case-sticker-corner-y: clamp(-16px, -0.9vw, -8px);
  --case-hint-counter-rotate: -8deg;
  position: absolute;
  z-index: 3;
  top: var(--case-sticker-corner-y);
  right: var(--case-sticker-corner-x);
  display: grid;
  width: clamp(42px, 4.2vw, 62px);
  height: clamp(54px, 5.5vw, 80px);
  place-items: center;
  filter: drop-shadow(3px 3px 0 var(--black));
  pointer-events: auto;
  touch-action: manipulation;
  transform: rotate(8deg);
  transform-origin: center;
  transition: filter 160ms ease, transform 160ms ease;
}

.case-award-sticker img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  padding: 0;
  aspect-ratio: auto;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  text-transform: none;
}

.case-sticker-hint {
  position: absolute;
  z-index: 40;
  top: calc(100% + 9px);
  left: 50%;
  width: max-content;
  max-width: min(58vw, 260px);
  border: 2px solid var(--black);
  padding: 5px 8px;
  background: var(--black);
  color: var(--white);
  font-family: var(--mono-font);
  font-size: 12px;
  line-height: var(--small-line);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-transform: none;
  transform: translate(-50%, 4px) rotate(var(--case-hint-counter-rotate));
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.timeline.note-wall .timeline-item:hover,
.timeline.note-wall .timeline-item:focus-visible {
  z-index: 30;
}

.case-eye-sticker {
  --case-hint-counter-rotate: 7deg;
  width: clamp(44px, 4vw, 58px);
  height: clamp(29px, 2.7vw, 38px);
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--black);
  transform: rotate(-7deg);
}

.case-eye-sticker img {
  z-index: 1;
}

.case-material-sticker {
  --case-hint-counter-rotate: -7deg;
  width: clamp(42px, 3.8vw, 56px);
  height: clamp(42px, 3.8vw, 56px);
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: clamp(5px, 0.55vw, 8px);
  background: var(--white);
  transform: rotate(7deg);
}

.case-diamond-sticker {
  --case-hint-counter-rotate: 6deg;
  width: clamp(46px, 4vw, 58px);
  height: clamp(46px, 4vw, 58px);
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: clamp(8px, 0.7vw, 10px);
  background: var(--white);
  color: var(--black);
  transform: rotate(-6deg);
}

.case-autotrader-sticker {
  --case-hint-counter-rotate: -9deg;
  width: clamp(46px, 4vw, 60px);
  height: clamp(45px, 3.9vw, 59px);
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  filter: drop-shadow(3px 3px 0 var(--black));
  transform: rotate(9deg);
}

.timeline.note-wall .mini-polaroid:nth-child(even) .case-award-sticker {
  top: auto;
  bottom: var(--case-sticker-corner-y);
}

.timeline.note-wall .mini-polaroid:nth-child(even) .case-sticker-hint {
  top: auto;
  bottom: calc(100% + 9px);
  transform: translate(-50%, -4px) rotate(var(--case-hint-counter-rotate));
}

.timeline-item:hover .case-award-sticker,
.timeline-item:focus-visible .case-award-sticker {
  filter: drop-shadow(4px 4px 0 var(--black));
  transform: translateY(-4px) rotate(8deg);
}

@media (hover: hover) and (pointer: fine) {
  .case-award-sticker:hover .case-sticker-hint {
    opacity: 1;
    transform: translate(-50%, 0) rotate(var(--case-hint-counter-rotate));
  }
}

.case-award-sticker.is-tooltip-open {
  filter: drop-shadow(4px 4px 0 var(--black));
  transform: translateY(-4px) rotate(8deg);
}

.timeline-item:hover .case-eye-sticker,
.timeline-item:focus-visible .case-eye-sticker,
.case-eye-sticker.is-tooltip-open {
  transform: translateY(-4px) rotate(-7deg);
}

.timeline-item:hover .case-material-sticker,
.timeline-item:focus-visible .case-material-sticker,
.case-material-sticker.is-tooltip-open {
  transform: translateY(-4px) rotate(7deg);
}

.timeline-item:hover .case-diamond-sticker,
.timeline-item:focus-visible .case-diamond-sticker,
.case-diamond-sticker.is-tooltip-open {
  transform: translateY(-4px) rotate(-6deg);
}

.timeline-item:hover .case-autotrader-sticker,
.timeline-item:focus-visible .case-autotrader-sticker,
.case-autotrader-sticker.is-tooltip-open {
  filter: drop-shadow(4px 4px 0 var(--black));
  transform: translateY(-4px) rotate(9deg);
}

.case-sticker-floating-tooltip {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: max-content;
  max-width: min(calc(100vw - 20px), 260px);
  border: 2px solid var(--black);
  padding: 5px 8px;
  background: var(--black);
  color: var(--white);
  font-family: var(--mono-font);
  font-size: 12px;
  line-height: var(--small-line);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-transform: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.case-sticker-floating-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline.note-wall .timeline-item:nth-child(-n + 2) {
  grid-column: span 5;
  min-height: 248px;
}

.timeline.note-wall .timeline-item.timeline-item-rive {
  min-height: 322px;
}

.timeline.note-wall .timeline-item.timeline-item-jasne {
  min-height: 322px;
}

.timeline.note-wall .timeline-item:nth-child(n + 3) {
  min-height: 286px;
}

.timeline.note-wall .timeline-time {
  display: inline-block;
  width: max-content;
  border: 0;
  border-bottom: 2px solid currentColor;
  padding: 0;
  background: transparent;
  color: var(--black);
  font-size: 12px;
  line-height: var(--small-line);
}

.timeline.note-wall .timeline-title {
  margin: 0;
  font-size: 30px;
  line-height: 34px;
}

.timeline.note-wall .timeline-summary {
  margin: 0;
  color: var(--black);
  font-size: 14px;
  line-height: var(--meta-line);
}

.timeline.note-wall .depth-badge {
  width: max-content;
  min-height: 28px;
  margin-top: auto;
  border: 2px solid var(--black);
  background: rgba(255, 255, 255, 0.56);
}

.timeline.note-wall .mini-polaroid {
  --photo-rotate: 1.5deg;
  min-height: 0;
  padding: 14px 14px 20px;
}

.timeline.note-wall .mini-polaroid .timeline-title {
  font-size: 24px;
  line-height: 30px;
}

.timeline.note-wall .timeline-item:nth-child(2) {
  --note-rotate: 2deg;
}

.timeline.note-wall .timeline-item:nth-child(4) {
  --note-rotate: -3deg;
}

.timeline.note-wall .timeline-item:nth-child(6) {
  --note-rotate: 1deg;
}

.timeline.note-wall .timeline-item:nth-child(7) {
  --note-rotate: -1.4deg;
}

.portfolio-survey {
  --note-rotate: -0.7deg;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: clamp(72px, 8vw, 112px) auto 0 max(0px, calc((100% - 760px) / 2));
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.portfolio-survey.has-rating {
  width: min(100%, 720px);
  align-items: start;
}

.portfolio-survey.has-rating .portfolio-survey-copy {
  padding-top: 4px;
}

.portfolio-survey::before {
  display: none;
}

.portfolio-survey::after {
  display: none;
}

.portfolio-survey [hidden] {
  display: none !important;
}

.portfolio-survey-copy,
.portfolio-survey-interaction {
  position: relative;
  z-index: 1;
}

.portfolio-survey-copy {
  display: grid;
  min-width: 0;
}

.portfolio-survey-copy h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 30px;
}

.portfolio-survey-interaction {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.portfolio-rating-field {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.portfolio-rating-field legend,
.portfolio-survey-followup label {
  max-width: 100%;
  color: var(--black);
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.portfolio-stars {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1vw, 12px);
  align-items: center;
  min-width: 0;
}

.portfolio-star {
  position: relative;
  display: grid;
  width: clamp(30px, 3.1vw, 40px);
  aspect-ratio: 1;
  min-width: 0;
  place-items: center;
  cursor: pointer;
}

.portfolio-star input {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.portfolio-star span[aria-hidden="true"] {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 2px 2px 0 var(--black);
  color: var(--black);
  font-family: var(--emphasis-font);
  font-size: clamp(24px, 2.9vw, 34px);
  line-height: 1;
  transform: rotate(var(--star-rotate, -3deg));
  transition: background-color 140ms ease, color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.portfolio-star:nth-child(2n) {
  --star-rotate: 3deg;
}

.portfolio-star.is-active span[aria-hidden="true"],
.portfolio-star.is-preview span[aria-hidden="true"],
.portfolio-star:hover span[aria-hidden="true"],
.portfolio-star:focus-within span[aria-hidden="true"] {
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--black);
  transform: translateY(-2px) rotate(var(--star-rotate, -3deg));
}

.portfolio-stars.is-previewing .portfolio-star.is-active:not(.is-preview) span[aria-hidden="true"] {
  background: var(--white);
  box-shadow: 2px 2px 0 var(--black);
  transform: rotate(var(--star-rotate, -3deg));
}

.portfolio-star input:focus-visible + span {
  outline: 2px solid var(--black);
  outline-offset: 5px;
}

.portfolio-survey-followup {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
}

.portfolio-survey-followup textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 2px solid var(--black);
  border-radius: 0;
  padding: 14px 16px;
  background:
    linear-gradient(transparent 23px, rgba(0, 0, 0, 0.055) 24px),
    var(--white);
  background-size: 24px 24px;
  color: var(--black);
  font-size: 14px;
  line-height: var(--text-line);
}

.portfolio-survey-followup textarea:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

.portfolio-survey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.portfolio-survey-status {
  min-height: var(--small-line);
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.portfolio-survey-success {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.portfolio-survey-success strong {
  font-family: var(--heading-font);
  font-size: 18px;
  line-height: var(--text-line);
}

.portfolio-survey-success span {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: var(--meta-line);
}

section {
  padding: 76px 0;
  scroll-margin-top: var(--topbar-height);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.section-copy {
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: var(--text-line);
}

.proof-grid,
.principle-grid,
.case-summary,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 2px solid var(--black);
  background: var(--white);
}

.stat,
.principle,
.case-meta {
  min-width: 0;
  border-right: 2px solid var(--black);
  padding: 20px;
}

.stat:last-child,
.principle:last-child,
.case-meta:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 36px;
  line-height: 44px;
}

.stat span,
.principle p,
.case-meta p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: var(--meta-line);
}

.principle {
  display: grid;
  gap: 12px;
}

.principle strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 22px;
  line-height: 30px;
}

.principle:nth-child(1) {
  background: var(--soft);
}

.principle:nth-child(2) {
  background: var(--blue);
}

.principle:nth-child(3) {
  background: var(--yellow);
}

.principle:nth-child(4) {
  background: var(--rose);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 210px;
  border: 2px solid var(--black);
  background: var(--white);
}

.timeline-time {
  display: grid;
  align-content: start;
  gap: 10px;
  border-right: 2px solid var(--black);
  padding: 18px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.timeline-index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid currentColor;
  font-family: var(--heading-font);
  font-size: 14px;
}

.timeline-body {
  min-width: 0;
  padding: 22px 24px;
}

.timeline-title {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 36px;
}

.timeline-summary {
  max-width: 58rem;
  margin-bottom: 18px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: var(--text-line);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-row li,
.depth-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 2px solid var(--black);
  padding: 0 10px;
  background: var(--white);
  color: var(--black);
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.timeline-action {
  display: grid;
  align-content: stretch;
  border-left: 2px solid var(--black);
}

.depth-badge {
  justify-content: center;
  border-width: 0 0 2px;
  background: var(--paper);
}

.timeline-link {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 18px;
  background: var(--white);
  color: var(--black);
  font-family: var(--heading-font);
  font-size: 16px;
  line-height: var(--text-line);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link {
  justify-self: start;
  width: max-content;
  max-width: 100%;
  margin-bottom: 24px;
  white-space: nowrap;
}

.case-hero {
  min-height: 620px;
  border-bottom: 0;
}

.case-hero .hero-grid {
  align-items: center;
}

.case-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.case-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.case-meta p {
  margin: 0;
}

.lendi-sticker-summary-section {
  padding: clamp(20px, 3vw, 36px) 0 clamp(32px, 5vw, 58px);
}

.lendi-sticker-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  border: 0;
  background: transparent;
}

.lendi-sticker-summary .case-meta {
  position: relative;
  min-height: 178px;
  border: 2px solid var(--black);
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--paper);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.9);
  transform: rotate(var(--sticker-rotate, -1deg));
}

.lendi-sticker-summary .case-meta::before {
  content: "";
  position: absolute;
  top: -14px;
  left: clamp(18px, 2vw, 34px);
  width: 72px;
  height: 22px;
  border: 2px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(-3deg);
}

.lendi-sticker-card-icon {
  display: block;
  width: 94px;
  height: 94px;
  aspect-ratio: 1;
  border: 3px solid var(--black);
  background: #172c57;
  object-fit: contain;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.9);
}

.lendi-sticker-summary .case-meta-label {
  border-bottom: 0;
  padding-bottom: 0;
  font-family: var(--heading-font);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 600;
  line-height: 30px;
}

.lendi-sticker-summary .case-meta:nth-child(1) {
  --sticker-rotate: -1.1deg;
  background: var(--blue);
}

.lendi-sticker-summary .case-meta:nth-child(2) {
  --sticker-rotate: 0.8deg;
  background: var(--yellow);
}

.lendi-sticker-summary .case-meta:nth-child(3) {
  --sticker-rotate: -0.6deg;
  background: var(--soft);
}

.lendi-sticker-summary .case-meta:nth-child(4) {
  --sticker-rotate: 1.2deg;
  background: var(--rose);
}

.case-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 0;
}

.case-panel {
  min-width: 0;
  border-right: 2px solid var(--black);
  padding: 28px;
}

.case-panel:last-child {
  border-right: 0;
}

.case-panel p {
  color: var(--ink-muted);
}

.case-panel ul,
.media-list {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  padding-left: 20px;
}

.media-placeholder {
  display: grid;
  min-height: 360px;
  border: 2px solid var(--black);
  background:
    linear-gradient(90deg, transparent 23px, rgba(0, 0, 0, 0.08) 24px),
    linear-gradient(transparent 23px, rgba(0, 0, 0, 0.08) 24px),
    var(--paper);
  background-size: 24px 24px;
  align-content: end;
}

.media-placeholder-copy {
  border-top: 2px solid var(--black);
  padding: 16px;
  background: var(--white);
}

.media-placeholder-copy strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--heading-font);
  font-size: 20px;
  line-height: 28px;
}

.phone-mockup {
  display: grid;
  justify-self: center;
  width: min(100%, 360px);
  margin: 0;
  transform: rotate(-0.8deg);
}

.phone-shell {
  position: relative;
  padding: 10px;
  border: 2px solid var(--black);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--black);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 594 / 388;
  background: #f6f4f4;
}

.phone-screen video {
  display: block;
  width: 100%;
  height: 100%;
  background: #f6f4f4;
  object-fit: cover;
}

.phone-mockup figcaption {
  justify-self: end;
  max-width: min(100%, 340px);
  margin-top: 18px;
  border: 2px solid var(--black);
  padding: 10px 12px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.phone-video-controls {
  display: flex;
  gap: 8px;
  justify-self: end;
  margin-top: 14px;
}

.phone-video-control {
  display: grid;
  width: 40px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--black);
  border-radius: 0;
  padding: 0;
  background: var(--white);
  color: var(--black);
  box-shadow: 3px 3px 0 var(--black);
  cursor: pointer;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 600;
  line-height: var(--small-line);
}

.phone-video-control:hover,
.phone-video-control:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

body[data-case-id="millennium"] .millennium-case-copy {
  grid-column: 1;
  grid-row: 1;
}

body[data-case-id="millennium"] .case-hero .hero-grid {
  align-items: start;
  padding-top: clamp(54px, 5vw, 78px);
}

body[data-case-id="millennium"] .case-hero {
  background: transparent;
}

body[data-case-id="millennium"] .millennium-case-copy .back-link {
  margin-bottom: 16px;
}

body[data-case-id="millennium"] .millennium-case-copy .kicker {
  display: block;
  margin-bottom: 18px;
}

body[data-case-id="millennium"] .millennium-phone-mockup {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  width: min(100%, 320px);
}

body[data-case-id="millennium"] .millennium-phone-mockup .phone-shell {
  border-radius: 12px;
}

body[data-case-id="millennium"] .millennium-phone-mockup .phone-screen {
  aspect-ratio: 540 / 960;
  border-radius: 12px;
}

body[data-case-id="millennium"] .millennium-case-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 18px;
}

body[data-case-id="millennium"] .millennium-case-summary .case-meta {
  min-height: 188px;
  border: 2px solid var(--black);
}

body[data-case-id="citi-bank"] .case-hero .hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(36px, 5vw, 72px);
}

body[data-case-id="citi-bank"] .case-hero {
  background: transparent;
}

body[data-case-id="citi-bank"] .citi-screen-card {
  align-self: center;
  justify-self: stretch;
  width: 100%;
  transform: rotate(1deg);
}

body[data-case-id="citi-bank"] .citi-screen-card .case-screen-frame {
  background: var(--black);
}

body[data-case-id="citi-bank"] .citi-screen-card .case-screen-frame img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
}

.case-screen-card {
  display: grid;
  align-self: center;
  justify-self: end;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--black);
  transform: rotate(-1deg);
}

.case-screen-frame {
  position: relative;
  display: grid;
  justify-items: center;
  overflow: visible;
  border-bottom: 2px solid var(--black);
  background: var(--paper);
}

.case-screen-frame:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 6px;
}

.case-screen-frame::after {
  content: none;
}

.case-screen-frame img {
  width: auto;
  max-width: none;
  height: min(72vh, 760px);
  max-height: 760px;
}

.morizon-screen-card,
.interblue-screen-card,
.autotrader-screen-card {
  align-self: start;
  justify-self: stretch;
  width: 100%;
}

body[data-case-id="morizon"] .case-hero .hero-grid,
body[data-case-id="interblue"] .case-hero .hero-grid,
body[data-case-id="autotrader"] .case-hero .hero-grid {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

body[data-case-id="morizon"] .case-hero,
body[data-case-id="interblue"] .case-hero,
body[data-case-id="autotrader"] .case-hero {
  background: transparent;
}

.morizon-screen-card .case-screen-frame,
.interblue-screen-card .case-screen-frame,
.autotrader-screen-card .case-screen-frame {
  justify-items: stretch;
  cursor: zoom-in;
}

.morizon-screen-card.is-magnifying .case-screen-frame,
.interblue-screen-card.is-magnifying .case-screen-frame,
.autotrader-screen-card.is-magnifying .case-screen-frame {
  cursor: none;
}

.morizon-screen-card .case-screen-frame img,
.interblue-screen-card .case-screen-frame img {
  width: 100%;
  height: auto;
  max-height: none;
}

.autotrader-screen-board {
  display: grid;
  gap: 10px;
  padding: 10px;
  background: var(--paper);
}

.autotrader-screen-board img {
  width: 100%;
  height: auto;
  border: 2px solid var(--black);
  background: var(--white);
}

.case-screen-magnifier {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: clamp(300px, 30vw, 420px);
  height: clamp(300px, 30vw, 420px);
  border: 2px solid var(--black);
  border-radius: 50%;
  background-color: var(--white);
  background-repeat: no-repeat;
  box-shadow: 5px 5px 0 var(--black);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
  transition: none;
}

.case-screen-card.is-magnifying .case-screen-magnifier {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.case-screen-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
  background: var(--white);
}

.case-screen-card figcaption strong {
  font-family: var(--heading-font);
  font-size: 18px;
  line-height: var(--text-line);
}

.case-screen-card figcaption span {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: var(--small-line);
}

.case-board-page {
  overflow: clip;
}

.lendi-case-hero {
  min-height: auto;
  border-bottom: 0;
  background: transparent;
}

.jasne-case-hero {
  --shell-max: 1680px;
  padding-bottom: clamp(16px, 2vw, 28px);
}

.case-board-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: 76px 0 34px;
}

.case-title-stack {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.case-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.case-title-stack .case-title-actions {
  grid-column: 1;
  grid-row: 1;
}

.case-title-stack .back-link {
  margin-bottom: 0;
}

.case-title-label {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 2px solid var(--black);
  padding: 0 16px;
  background: var(--black);
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  line-height: var(--text-line);
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
  transform: rotate(0.4deg);
}

.case-title-note h1 {
  max-width: 10.5em;
}

.case-title-stack .case-title-note {
  grid-column: 1;
  grid-row: 2;
}

body[data-case-id="lendi"] .case-title-note {
  --lendi-copy-min: 32ch;
  --lendi-media-gap: clamp(40px, 4vw, 72px);
  display: flex;
  gap: var(--lendi-media-gap);
  align-items: flex-start;
  width: 100%;
}

body[data-case-id="lendi"] .case-title-note h1 {
  font-size: clamp(40px, 4.1vw, 58px);
  line-height: 1.12;
}

.case-title-copy {
  flex: 1 1 auto;
  min-width: min(100%, var(--lendi-copy-min));
  width: auto;
  max-width: 100%;
  font-size: 22px;
}

.lendi-title-media {
  --lendi-title-rotate: 1.1deg;
  --lendi-title-caption-height: calc(var(--small-line) + 18px);
  --lendi-title-frame-height: 0px;
  --lendi-title-frame-offset: 0px;
  --lendi-title-roll-edge-height: 4px;
  position: relative;
  z-index: 3;
  top: auto;
  right: auto;
  left: auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  flex: 0 0 min(
    var(--lendi-title-media-width, 420px),
    calc(100% - var(--lendi-copy-min) - var(--lendi-media-gap))
  );
  align-self: flex-start;
  justify-self: stretch;
  width: min(
    var(--lendi-title-media-width, 420px),
    calc(100% - var(--lendi-copy-min) - var(--lendi-media-gap))
  );
  max-width: 100%;
  min-width: 0;
  height: var(--lendi-title-media-height, auto);
  margin: 0;
  min-height: 0;
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 7px 7px 0 var(--black);
  transform: rotate(var(--lendi-title-rotate));
}

.lendi-title-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -16px;
  left: clamp(18px, 4vw, 44px);
  width: 74px;
  height: 24px;
  border: 2px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.78);
  transform: rotate(-4deg);
}

.lendi-title-media-frame {
  position: relative;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-bottom: 2px solid var(--black);
  cursor: ns-resize;
  scrollbar-width: none;
  transform-origin: top center;
}

.lendi-title-media-frame::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.lendi-title-media-frame:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: -6px;
}

.lendi-title-media-frame.is-user-controlled {
  cursor: grab;
}

.lendi-title-media img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 100%;
  margin-left: 0;
}

.lendi-title-media.is-rollout-ready .lendi-title-media-frame {
  animation: lendi-title-screen-rollout 1350ms 120ms cubic-bezier(0.16, 0.86, 0.28, 1) both;
}

.lendi-title-media.is-rollout-ready figcaption {
  animation: lendi-title-caption-rollout 1350ms 120ms cubic-bezier(0.16, 0.86, 0.28, 1) both;
}

@keyframes lendi-title-screen-rollout {
  0% {
    clip-path: inset(0 0 calc(100% - var(--lendi-title-roll-edge-height)) 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes lendi-title-caption-rollout {
  0% {
    transform: translateY(var(--lendi-title-frame-offset));
  }

  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lendi-title-media.is-rollout-ready .lendi-title-media-frame,
  .lendi-title-media.is-rollout-ready figcaption {
    animation: none;
  }
}

@media (min-width: 1401px) {
  body[data-case-id="lendi"] .case-title-note {
    --lendi-media-gap: clamp(48px, 4vw, 72px);
  }
}

@media (min-width: 1041px) {
  body[data-case-id="lendi"] .case-hero-side {
    transform: none;
  }
}

@media (min-width: 1041px) and (max-width: 1400px) {
  .lendi-case-hero .case-board-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .lendi-case-hero .case-title-stack {
    display: contents;
  }

  .lendi-case-hero .case-title-actions {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
  }

  .lendi-case-hero .case-title-note {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body[data-case-id="lendi"] .case-title-note {
    display: grid;
    grid-template-columns: 1fr;
  }

  body[data-case-id="lendi"] .case-title-note .lendi-title-media {
    flex-basis: auto;
    width: min(100%, 520px);
  }

  .lendi-case-hero .case-hero-side {
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
    align-items: stretch;
    justify-self: start;
    width: min(100%, 760px);
    margin-top: 8px;
  }
}

@media (min-width: 1401px) {
  body[data-case-id="lendi"] .case-hero-side {
    transform: none;
  }
}

.lendi-title-media figcaption {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  min-height: calc(var(--small-line) + 18px);
  padding: 8px 12px 10px;
  background: var(--white);
  color: var(--ink-muted);
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
  transform-origin: top center;
  will-change: transform;
}

.case-hero-side {
  display: grid;
  gap: 16px;
  align-self: stretch;
  align-content: end;
  min-width: 0;
}

.case-pdf-stack {
  --note-rotate: -1.4deg;
  position: relative;
  display: grid;
  justify-self: center;
  align-self: end;
  width: min(100%, 360px);
  min-width: 260px;
  aspect-ratio: 152 / 99;
  border: 0;
  padding: 8px;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  isolation: isolate;
  transform: rotate(var(--note-rotate));
}

.case-pdf-stack::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border: 2px solid var(--black);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)),
    url("../assets/lendi-meet-bg.webp") center / cover no-repeat,
    var(--white);
  box-shadow: 6px 6px 0 var(--black);
}

.case-pdf-stack:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 8px;
}

.case-pdf-page {
  position: absolute;
  display: grid;
  width: min(43%, 148px);
  aspect-ratio: 612 / 792;
  place-items: center;
  border: 2px solid var(--black);
  padding: 4px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.case-pdf-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-pdf-page-back {
  z-index: 1;
  opacity: 1;
  top: 14px;
  right: -14px;
  transform: translate(0, -32px) rotate(6deg);
}

.case-pdf-page-middle {
  z-index: 2;
  opacity: 1;
  top: 14px;
  right: -7px;
  transform: translate(-5px, -22px) rotate(2deg);
}

.case-pdf-page-front {
  z-index: 3;
  top: 14px;
  right: 7px;
  transform: translate(0, -8px) rotate(-3deg);
}

.case-pdf-stack:hover .case-pdf-page-front,
.case-pdf-stack:focus-visible .case-pdf-page-front {
  transform: translate(0, -14px) rotate(-1deg);
}

.case-pdf-stack.is-pdf-flipped .case-pdf-page-front {
  animation: sticker-pop 260ms ease;
}

.case-pdf-stack.is-pdf-flipped .case-pdf-page-middle {
  animation: sticker-settle 260ms ease;
}

.case-pdf-magnifier {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 50%;
  width: clamp(220px, 18vw, 280px);
  height: clamp(220px, 18vw, 280px);
  border: 5px solid var(--black);
  border-radius: 50%;
  background-color: var(--white);
  background-repeat: no-repeat;
  box-shadow:
    10px 10px 0 var(--black),
    inset 0 0 0 2px rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
  transition: transform 120ms ease, opacity 120ms ease;
}

.case-pdf-magnifier::after {
  display: none;
}

.case-pdf-stack.is-magnifying .case-pdf-magnifier {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

.case-scope-note {
  --note-rotate: 2deg;
  align-self: end;
}

.case-scope-note .depth-badge {
  width: max-content;
  margin-top: 10px;
  border: 2px solid var(--black);
  background: rgba(255, 255, 255, 0.58);
}

.lendi-comparison-section {
  padding: 54px 0 86px;
}

.lendi-comparison-layout {
  display: block;
}

.lendi-before-after-evidence {
  position: relative;
  display: grid;
  gap: 0;
  width: min(100%, 1220px);
  margin: 0 auto;
  border: 2px solid var(--black);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 10px 10px 0 var(--black);
  transform: rotate(-0.35deg);
}

.case-comparison-card {
  display: grid;
  min-width: 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 2px solid var(--black);
  background: var(--white);
  box-shadow: none;
  color: var(--black);
  transform: none;
}

.case-comparison-copy {
  display: grid;
  gap: 8px;
  border-bottom: 2px solid var(--black);
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--paper);
}

.case-comparison-copy h2 {
  max-width: 14em;
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
}

.case-comparison-copy p {
  max-width: 52rem;
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: var(--text-line);
}

.case-comparison-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3440 / 2076;
  overflow: hidden;
  border-bottom: 0;
  background: #eef2f8;
  cursor: ew-resize;
  isolation: isolate;
  touch-action: none;
}

.case-comparison-image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.case-comparison-before {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--comparison-position, 50%)) 0 0);
}

.case-comparison-label {
  position: absolute;
  z-index: 5;
  top: 12px;
  border: 2px solid var(--black);
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--black);
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--black);
  pointer-events: none;
}

.case-comparison-label-before {
  left: 12px;
}

.case-comparison-label-after {
  right: 12px;
}

.case-comparison-divider {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--comparison-position, 50%);
  border-left: 2px solid var(--black);
  pointer-events: none;
  transform: translateX(-1px);
}

.case-comparison-handle {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  transform: translate(-50%, -50%);
}

.case-comparison-handle::before {
  content: "";
  width: 16px;
  height: 20px;
  border-right: 2px solid var(--black);
  border-left: 2px solid var(--black);
}

.case-comparison-range {
  position: absolute;
  z-index: 6;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
}

.case-comparison-range::-webkit-slider-thumb {
  width: 48px;
  height: 100%;
  cursor: ew-resize;
  appearance: none;
}

.case-comparison-range::-moz-range-thumb {
  width: 48px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}

.case-comparison-frame:focus-within .case-comparison-handle {
  outline: 2px solid var(--black);
  outline-offset: 5px;
}

.lendi-design-system-section {
  padding: 0 0 96px;
}

.lendi-design-system-showcase {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
  min-width: 0;
  width: min(100%, 1220px);
  margin: 0 auto;
  border: 2px solid var(--black);
  padding: clamp(24px, 4vw, 56px);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--black);
  transform: rotate(0.25deg);
}

.lendi-design-system-copy {
  display: grid;
  gap: 12px;
}

.lendi-design-system-showcase h2 {
  max-width: 16em;
  margin: 0;
  color: var(--black);
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 600;
  line-height: 1.08;
}

.lendi-design-system-showcase p {
  max-width: 68ch;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.55;
}

.lendi-design-system-showcase img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.22);
}

.lendi-flow-collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
  width: 100%;
  margin: 0;
  padding: clamp(22px, 3vw, 38px);
}

.lendi-flow-shot {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  border: 2px solid var(--black);
  padding: 7px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
}

.lendi-flow-screen-groups,
.lendi-flow-wide-grid,
.lendi-flow-mobile-grid {
  display: grid;
  min-width: 0;
}

.lendi-flow-screen-groups {
  gap: clamp(18px, 2.2vw, 28px);
}

.lendi-flow-wide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
  align-items: start;
}

.lendi-flow-mobile-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
  align-items: start;
}

.lendi-flow-shot::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 22px;
  width: 58px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(-2deg);
}

.lendi-flow-shot img {
  width: 100%;
  height: auto;
  max-width: none;
  border: 2px solid var(--black);
  background: #eef2f8;
  object-fit: cover;
  object-position: top center;
}

.lendi-flow-shot figcaption {
  margin: 0;
  font-size: 12px;
  line-height: var(--small-line);
}

.lendi-flow-shot-wide {
  align-self: center;
}

.lendi-flow-shot-wide img {
  aspect-ratio: 1512 / 1237;
}

.lendi-flow-shot-deal-cart {
  transform: rotate(-0.8deg);
}

.lendi-flow-shot-expert-overview {
  transform: rotate(0.6deg);
}

.lendi-flow-shot-expert-overview img {
  aspect-ratio: 1520 / 764;
}

.lendi-flow-shot-mobile {
  justify-self: center;
  width: 100%;
  padding: 5px;
  box-shadow: 5px 5px 0 var(--black);
}

.lendi-flow-shot-mobile img {
  aspect-ratio: 393 / 863;
}

.lendi-flow-wide-grid .lendi-flow-shot:nth-child(2),
.lendi-flow-mobile-grid .lendi-flow-shot:nth-child(2) {
  transform: translateY(16px) rotate(0.7deg);
}

.lendi-flow-wide-grid .lendi-flow-shot:nth-child(3),
.lendi-flow-mobile-grid .lendi-flow-shot:nth-child(3) {
  transform: translateY(-8px) rotate(-0.6deg);
}

.lendi-flow-wide-grid .lendi-flow-shot:nth-child(4),
.lendi-flow-mobile-grid .lendi-flow-shot:nth-child(4) {
  transform: translateY(12px) rotate(0.5deg);
}

.lendi-flow-wide-grid .lendi-flow-shot:nth-child(5),
.lendi-flow-mobile-grid .lendi-flow-shot:nth-child(5) {
  transform: translateY(-6px) rotate(0.8deg);
}

.lendi-flow-wide-grid .lendi-flow-shot:nth-child(6),
.lendi-flow-mobile-grid .lendi-flow-shot:nth-child(6) {
  transform: translateY(10px) rotate(-0.4deg);
}

.lendi-flow-wide-grid .lendi-flow-shot:nth-child(7),
.lendi-flow-mobile-grid .lendi-flow-shot:nth-child(7) {
  transform: translateY(-12px) rotate(0.45deg);
}

.lendi-flow-wide-grid .lendi-flow-shot:nth-child(8),
.lendi-flow-mobile-grid .lendi-flow-shot:nth-child(8) {
  transform: translateY(14px) rotate(-0.5deg);
}

.lendi-flow-shot-workspace {
  transform: rotate(-0.25deg);
}

.lendi-flow-shot-workspace img {
  aspect-ratio: 960 / 752;
}

.lendi-flow-shot-overview-dashboard {
  transform: rotate(0.45deg);
}

.lendi-flow-shot-overview-dashboard img {
  aspect-ratio: 1226 / 692;
}

.lendi-flow-shot-content-table {
  transform: rotate(0.35deg);
}

.lendi-flow-shot-content-table img {
  aspect-ratio: 1184 / 754;
}

.lendi-flow-shot-measurements {
  transform: rotate(-0.4deg);
}

.lendi-flow-shot-measurements img {
  aspect-ratio: 2236 / 2134;
}

.lendi-flow-wide-grid .lendi-flow-shot:nth-child(9) {
  transform: translateY(10px) rotate(0.3deg);
}

.lendi-flow-wide-grid .lendi-flow-shot:nth-child(11) {
  transform: translateY(-8px) rotate(-0.35deg);
}

.lendi-map-section {
  padding-top: 34px;
}

.lendi-flow-board {
  position: relative;
  display: grid;
  gap: 24px;
  min-height: 900px;
  border: 2px solid var(--black);
  padding: clamp(24px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 10px 10px 0 var(--black);
}

.lendi-node-board {
  padding-top: clamp(78px, 7vw, 112px);
}

.lendi-node-board > .board-heading {
  position: absolute;
  z-index: 4;
  top: clamp(20px, 2.2vw, 32px);
  left: clamp(24px, 3.4vw, 54px);
  max-width: min(1060px, calc(100% - clamp(220px, 24vw, 360px)));
  margin: 0;
  pointer-events: none;
}

.lendi-node-board > .board-heading h2 {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.02;
}

.lendi-flow-board::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 120px;
  bottom: 52px;
  left: 50%;
  width: 2px;
  background: rgba(0, 0, 0, 0.16);
}

.lendi-node-board {
  min-height: 0;
  gap: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.lendi-node-board::before {
  display: none;
}

.jasne-case-page .case-summary {
  margin-top: 0;
}

.jasne-sticker-summary-section {
  padding-top: clamp(8px, 1.2vw, 14px);
}

.jasne-sticker-summary .case-meta:nth-child(3) {
  display: none;
}

.jasne-sticker-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jasne-sticker-summary .case-meta {
  --jasne-meta-icon-size: clamp(52px, 5.2vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--jasne-meta-icon-size);
  grid-template-rows: auto 1fr;
  column-gap: clamp(16px, 2vw, 24px);
  row-gap: clamp(12px, 1.6vw, 18px);
  align-content: start;
}

.jasne-sticker-summary .case-meta-icon {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: var(--jasne-meta-icon-size);
  height: var(--jasne-meta-icon-size);
  object-fit: contain;
  pointer-events: none;
}

.jasne-sticker-summary .case-meta-label {
  grid-column: 1;
  grid-row: 1;
}

.jasne-sticker-summary .case-meta p {
  grid-column: 1 / -1;
}

.jasne-case-page .case-board-hero-grid {
  grid-template-columns: minmax(420px, 0.95fr) minmax(420px, 1.05fr);
  grid-template-rows: auto;
  gap: clamp(16px, 2vw, 32px);
  align-items: start;
  padding-bottom: clamp(14px, 1.8vw, 24px);
}

.jasne-case-page .case-title-stack {
  display: grid;
  grid-column: 1;
  grid-row: auto;
  justify-items: start;
  gap: 18px;
  width: 100%;
}

.jasne-case-page .case-title-note h1 {
  max-width: none;
}

.jasne-card-reasoning {
  position: absolute;
  top: clamp(18px, 2.2vw, 30px);
  right: clamp(18px, 2.4vw, 34px);
  z-index: 3;
  display: grid;
  width: clamp(64px, 6vw, 96px);
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: clamp(12px, 1.1vw, 18px);
  padding: clamp(8px, 0.8vw, 12px);
  background: #ffd66e;
  box-shadow: 7px 7px 0 var(--black);
  transform: rotate(6deg);
  pointer-events: none;
}

.jasne-card-reasoning canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter: none;
}

.jasne-hero-side {
  --jasne-hero-media-row-height: clamp(154px, 13vw, 248px);
  position: relative;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: var(--jasne-hero-media-row-height) auto;
  gap: clamp(14px, 1.5vw, 20px);
  align-self: start;
  align-content: start;
  justify-items: stretch;
  justify-self: stretch;
  min-width: 0;
  width: 100%;
}

.jasne-hero-video-card {
  --video-rotate: 1.1deg;
  --video-card-bg: #242424;
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 2;
  isolation: isolate;
  display: grid;
  gap: 10px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 2px solid var(--black);
  padding: 10px 10px 12px;
  background: var(--video-card-bg);
  color: var(--white);
  box-shadow: 7px 7px 0 var(--black);
  overflow: hidden;
  transform: rotate(var(--video-rotate));
}

.jasne-mobile-showcase {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1 / span 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  justify-self: start;
  justify-content: flex-start;
  align-items: stretch;
  gap: clamp(5px, 0.6vw, 10px);
  padding: 4px 2px 0;
}

.jasne-mobile-mockup {
  --mockup-rotate: -3.2deg;
  position: relative;
  display: grid;
  width: 100%;
  height: auto;
  aspect-ratio: 1179 / 2556;
  margin: 0;
  align-self: end;
  transform: rotate(var(--mockup-rotate));
  transform-origin: center bottom;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.jasne-mobile-mockup-video {
  --mockup-rotate: 4.4deg;
  width: 100%;
  height: auto;
  align-self: end;
  margin-bottom: clamp(8px, 0.8vw, 14px);
}

.jasne-mobile-shell {
  display: grid;
  width: 100%;
  height: auto;
  aspect-ratio: 1179 / 2556;
  overflow: hidden;
  border: 2px solid var(--black);
  border-radius: clamp(13px, 1.1vw, 18px);
  padding: 3px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--black);
}

.jasne-mobile-shell img,
.jasne-mobile-shell video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: clamp(10px, 0.85vw, 15px);
  background: var(--white);
  object-fit: cover;
  object-position: top center;
}

.jasne-mobile-mockup figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.jasne-mobile-mockup:hover {
  z-index: 4;
  transform: translateY(clamp(-28px, -2.6vw, -18px)) rotate(var(--mockup-rotate)) scale(1.14);
}

.jasne-hero-map-sticker {
  --map-zoom: 3.8;
  --map-pan-end: -24%;
  position: relative;
  z-index: 2;
  grid-column: 3 / span 3;
  grid-row: 1;
  top: auto;
  right: auto;
  left: auto;
  display: block;
  justify-self: end;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 2px solid var(--black);
  padding: 7px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
  cursor: zoom-in;
  overflow: hidden;
  transform: rotate(-1.6deg);
}

.jasne-hero-map-sticker:focus-visible {
  outline: 3px solid #ffd66e;
  outline-offset: 5px;
}

.jasne-hero-map-sticker img {
  display: block;
  width: 132%;
  max-width: none;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--white);
  object-fit: cover;
  object-position: center;
  animation: jasne-map-pan-right-left 9800ms 560ms cubic-bezier(0.37, 0, 0.18, 1) infinite alternate;
  will-change: transform;
}

.jasne-hero-map-lens {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: block;
  width: clamp(168px, 20vw, 260px);
  aspect-ratio: 1;
  border: 3px solid var(--black);
  border-radius: 50%;
  background-color: var(--white);
  background-repeat: no-repeat;
  box-shadow:
    7px 7px 0 var(--black),
    inset 0 0 0 2px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
  transition:
    opacity 140ms ease,
    transform 180ms ease;
}

.jasne-hero-map-sticker.is-magnifying .jasne-hero-map-lens,
.jasne-hero-map-sticker:focus-visible .jasne-hero-map-lens {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.jasne-hero-map-sticker:hover img,
.jasne-hero-map-sticker:focus-visible img,
.jasne-hero-map-sticker.is-magnifying img {
  animation-play-state: paused;
}

@keyframes jasne-map-pan-right-left {
  0%,
  16% {
    transform: translateX(0);
  }

  84%,
  100% {
    transform: translateX(var(--map-pan-end));
  }
}

@media (prefers-reduced-motion: reduce) {
  .jasne-hero-map-sticker img {
    width: 100%;
    animation: none;
    transform: none;
  }
}

.jasne-hero-video-card::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: -14px;
  left: clamp(20px, 4vw, 46px);
  width: 78px;
  height: 22px;
  border: 2px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.76);
  transform: rotate(-3deg);
}

.jasne-video-frame {
  position: relative;
  z-index: 3;
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.jasne-video-frame video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1104 / 716;
  border: 2px solid var(--white);
  background: var(--video-card-bg);
  cursor: pointer;
  object-fit: contain;
}

.jasne-video-frame video:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -8px;
}

.jasne-video-caption {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 10px;
  margin: 0;
  color: var(--white);
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.jasne-video-slider {
  --video-progress: 0%;
  width: 100%;
  height: 20px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: ew-resize;
  appearance: none;
}

.jasne-video-slider:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.jasne-video-slider::-webkit-slider-runnable-track {
  height: 6px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(90deg, var(--white) 0 var(--video-progress), rgba(255, 255, 255, 0.28) var(--video-progress) 100%);
}

.jasne-video-slider::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 2px solid var(--white);
  border-radius: 0;
  background: var(--video-card-bg);
  box-shadow: 2px 2px 0 var(--black);
  appearance: none;
}

.jasne-video-slider::-moz-range-track {
  height: 6px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.28);
}

.jasne-video-slider::-moz-range-progress {
  height: 6px;
  background: var(--white);
}

.jasne-video-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid var(--white);
  border-radius: 0;
  background: var(--video-card-bg);
  box-shadow: 2px 2px 0 var(--black);
}

@media (max-width: 1180px) {
  .jasne-case-page .case-board-hero-grid {
    grid-template-columns: 1fr;
  }

  .jasne-case-hero .case-title-stack,
  .jasne-case-hero .jasne-hero-side {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
    max-width: none;
  }

  .jasne-case-hero .jasne-hero-side {
    --jasne-hero-media-row-height: clamp(220px, 24vw, 300px);
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.jasne-flow-board {
  min-height: 0;
  gap: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.jasne-flow-board::before {
  display: none;
}

.jasne-figma-embed {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--white);
}

.jasne-figma-embed iframe {
  display: block;
  width: 100%;
  height: clamp(450px, 68vh, 720px);
  background: var(--white);
}

.jasne-ruler-section {
  padding: 42px 0 64px;
}

.jasne-ruler-shell {
  display: grid;
  gap: 22px;
}

.jasne-ruler-title {
  max-width: 12em;
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(36px, 4.8vw, 72px);
  font-weight: 600;
  line-height: 0.98;
}

.jasne-ruler-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jasne-ruler-card {
  --stage-color: var(--white);
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 9px;
  min-height: 250px;
  border: 2px solid var(--black);
  padding: 16px;
  background: var(--white);
  color: var(--black);
  box-shadow: 5px 5px 0 var(--black);
}

.jasne-ruler-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 9px;
  border-bottom: 2px solid var(--black);
  background: var(--stage-color);
}

.jasne-ruler-card:nth-child(1) {
  --stage-color: #ffcc2e;
  transform: rotate(-0.4deg);
}

.jasne-ruler-card:nth-child(2) {
  transform: translateY(8px) rotate(0.28deg);
}

.jasne-ruler-card:nth-child(3) {
  transform: rotate(0.35deg);
}

.jasne-ruler-card:nth-child(4) {
  transform: translateY(10px) rotate(-0.22deg);
}

.jasne-ruler-card:nth-child(5) {
  transform: rotate(0.2deg);
}

.jasne-ruler-card:nth-child(6) {
  transform: translateY(8px) rotate(-0.35deg);
}

.jasne-ruler-card:nth-child(7) {
  transform: rotate(-0.18deg);
}

.jasne-ruler-card:nth-child(8) {
  transform: translateY(10px) rotate(0.3deg);
}

.jasne-ruler-number {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  margin-top: 8px;
  border: 2px solid var(--black);
  padding: 0 9px;
  background: var(--stage-color);
  color: var(--black);
  font-family: var(--heading-font);
  font-size: 12px;
  line-height: var(--small-line);
}

.jasne-ruler-card:not(:first-child) .jasne-ruler-number {
  background: var(--black);
  color: var(--white);
}

.jasne-ruler-stage {
  color: var(--black);
  font-size: 11px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.jasne-ruler-card h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
}

.jasne-ruler-card:first-child h3 {
  max-width: 10em;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

.jasne-ruler-card p {
  margin: 0;
  color: var(--black);
  font-size: 15px;
  line-height: 22px;
}

.jasne-ruler-proof {
  display: none;
  margin-top: 2px;
  border-top: 2px solid var(--black);
  padding-top: 10px;
  color: var(--black);
  font-size: 15px;
  line-height: 22px;
}

@media (min-width: 1401px) {
  .jasne-ruler-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .jasne-ruler-card {
    min-height: 286px;
  }

  .jasne-ruler-card:nth-child(5) {
    grid-column: 2;
  }

  .jasne-ruler-card:nth-child(6) {
    grid-column: 3;
  }

  .jasne-ruler-card:nth-child(7) {
    grid-column: 4;
  }
}

.jasne-steps-section {
  padding: 36px 0 66px;
}

.jasne-steps-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 10px clamp(22px, 4vw, 52px);
  align-items: end;
  margin-bottom: 24px;
}

.jasne-steps-heading .kicker {
  grid-column: 1 / -1;
}

.jasne-steps-heading h2 {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
}

.jasne-steps-heading p {
  max-width: 44rem;
  margin: 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: var(--text-line);
}

.jasne-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jasne-step-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(230px, 1fr) auto;
  min-height: 520px;
  overflow: hidden;
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 7px 7px 0 var(--black);
}

.jasne-step-card:focus-visible {
  outline: 3px solid #ffcc2e;
  outline-offset: 5px;
}

.jasne-step-card:nth-child(1) {
  transform: rotate(-0.6deg);
}

.jasne-step-card:nth-child(2) {
  transform: translateY(14px) rotate(0.45deg);
}

.jasne-step-card:nth-child(3) {
  transform: rotate(-0.25deg);
}

.jasne-step-visual {
  position: relative;
  display: grid;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  place-items: center;
  border-bottom: 2px solid var(--black);
  background:
    radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    #fffaf0;
  background-size: 18px 18px, auto;
  isolation: isolate;
  perspective: 900px;
}

.jasne-step-visual img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: contain;
}

.jasne-step-image-3d {
  z-index: 2;
  transform: scale(1.08);
  transform-origin: 50% 0;
  transition:
    opacity 280ms ease,
    filter 280ms ease,
    transform 580ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.jasne-step-visual .jasne-step-image-3d {
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.jasne-step-visual .jasne-step-image-mockup {
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
  opacity: 0;
  filter: blur(2px);
  object-fit: cover;
  object-position: center;
  transform: translateY(18px) scale(0.97);
  transition:
    opacity 260ms ease 120ms,
    filter 320ms ease 100ms,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1) 80ms;
  will-change: transform, opacity;
}

.jasne-step-card:hover .jasne-step-image-3d,
.jasne-step-card:focus .jasne-step-image-3d,
.jasne-step-card:focus-within .jasne-step-image-3d,
.jasne-step-card.is-scroll-hovered .jasne-step-image-3d {
  opacity: 0;
  filter: saturate(0.95);
  transform: translateY(-82%) rotateX(72deg) scale(0.98);
}

.jasne-step-card:hover .jasne-step-image-mockup,
.jasne-step-card:focus .jasne-step-image-mockup,
.jasne-step-card:focus-within .jasne-step-image-mockup,
.jasne-step-card.is-scroll-hovered .jasne-step-image-mockup {
  opacity: 1;
  filter: none;
  transform: translateY(0) scale(1);
}

.jasne-step-visual-integration .jasne-step-image-3d {
  padding: 0;
}

.jasne-step-visual-learning .jasne-step-image-3d,
.jasne-step-visual-analytics .jasne-step-image-3d {
  padding: 0;
}

.jasne-step-copy {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 206px;
  padding: 22px;
  background: var(--white);
}

.jasne-step-number {
  display: inline-flex;
  width: max-content;
  min-height: 30px;
  align-items: center;
  border: 2px solid var(--black);
  padding: 0 10px;
  background: #ffcc2e;
  color: var(--black);
  font-family: var(--heading-font);
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.jasne-step-copy h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 600;
  line-height: 32px;
}

.jasne-step-copy p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: var(--meta-line);
}

.jasne-badge-section {
  padding: clamp(14px, 2.8vw, 34px) 0 clamp(28px, 4.5vw, 58px);
}

.jasne-badge-shell {
  display: grid;
  width: min(980px, calc(100vw - 32px));
  margin: 0 0 0 calc(max(16px, (100vw - 980px) / 2) - var(--rail-width));
  gap: clamp(8px, 1.4vw, 16px);
  justify-items: center;
}

.jasne-badge-title {
  margin: 0;
  width: 100%;
  max-width: 980px;
  font-family: var(--heading-font);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.02;
  text-align: center;
  text-wrap: balance;
}

.jasne-badge-strip {
  display: grid;
  grid-template-columns: repeat(4, clamp(88px, 8vw, 126px));
  gap: clamp(0px, 0.35vw, 7px);
  align-items: center;
  justify-items: center;
  justify-content: center;
}

.jasne-badge-card {
  position: relative;
  display: grid;
  width: min(100%, clamp(88px, 8vw, 126px));
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  outline: 0;
}

.jasne-badge-card:focus-visible {
  outline: 2px solid var(--paper-yellow);
  outline-offset: 8px;
}

.jasne-rive-badge {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 160 / 260;
  place-items: center;
  overflow: visible;
  background: transparent;
}

.jasne-rive-badge canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

@media (max-width: 720px) {
  .jasne-badge-strip {
    grid-template-columns: repeat(2, clamp(96px, 34vw, 132px));
  }
}

.jasne-product-screens-section {
  padding: clamp(22px, 3vw, 40px) 0 clamp(68px, 8vw, 108px);
}

.jasne-product-screen-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(132px, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  align-items: start;
  overflow-x: auto;
  padding: 10px 4px 30px 0;
  scroll-padding-left: 2px;
  scroll-snap-type: x proximity;
}

.jasne-product-screen {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
  transform-origin: center top;
}

.jasne-product-screen:nth-child(1),
.jasne-product-screen:nth-child(5) {
  transform: rotate(-0.45deg);
}

.jasne-product-screen:nth-child(2),
.jasne-product-screen:nth-child(7) {
  transform: translateY(14px) rotate(0.55deg);
}

.jasne-product-screen:nth-child(3),
.jasne-product-screen:nth-child(6) {
  transform: translateY(5px) rotate(-0.28deg);
}

.jasne-product-screen:nth-child(4) {
  transform: translateY(18px) rotate(0.35deg);
}

.jasne-product-screen-frame {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 641 / 1391;
  overflow: hidden;
  border: 2px solid var(--black);
  border-radius: clamp(14px, 1.2vw, 21px);
  padding: 4px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--black);
}

.jasne-product-screen-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -2px;
  left: 50%;
  width: 34%;
  height: 4%;
  border: 2px solid var(--black);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background: var(--black);
  transform: translateX(-50%);
  pointer-events: none;
}

.jasne-product-screen-frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: clamp(11px, 0.9vw, 17px);
  background: var(--white);
  object-fit: cover;
  object-position: top center;
}

.jasne-product-screen figcaption {
  margin: 0;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: var(--small-line);
}

.jasne-screens-section {
  padding-top: 18px;
}

.jasne-screens-heading {
  margin-bottom: 22px;
}

.jasne-screens-board {
  position: relative;
  width: min(900px, calc(100% - var(--page-gutter-left) - var(--page-gutter-right)));
  margin-left: var(--page-gutter-left);
  min-height: 0;
  aspect-ratio: 1.36 / 1;
  overflow: visible;
  border: 0;
  background:
    radial-gradient(rgba(0, 0, 0, 0.055) 1px, transparent 1px),
    #ffd873;
  background-size: 24px 24px, auto;
  box-shadow: none;
  isolation: isolate;
}

.jasne-hero-screens {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: stretch;
  width: min(100%, 520px);
  height: clamp(190px, 21vw, 270px);
  margin: 0 0 -12px;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
}

.jasne-hero-screens::before,
.jasne-hero-screens::after {
  display: none;
}

.jasne-screens-board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 48% 86%, rgba(255, 255, 255, 0.32), transparent 34%),
    radial-gradient(circle at 47% 44%, rgba(255, 255, 255, 0.18), transparent 28%);
  pointer-events: none;
}

.jasne-screens-board::after {
  display: none;
}

.jasne-store-badges {
  position: absolute;
  left: clamp(10px, 2vw, 24px);
  bottom: clamp(-18px, -1vw, -10px);
  z-index: 6;
  display: grid;
  gap: 8px;
  pointer-events: none;
  transform: rotate(-5deg);
  transform-origin: center;
}

.jasne-title-note .jasne-store-badges {
  position: relative;
  left: auto;
  bottom: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, clamp(206px, 21vw, 286px));
  max-width: 100%;
  margin-top: clamp(26px, 3vw, 38px);
  margin-left: 0;
  pointer-events: auto;
}

.jasne-store-badge {
  position: relative;
  isolation: isolate;
  display: block;
  width: clamp(96px, 10vw, 132px);
  overflow: hidden;
  border: 2px solid var(--black);
  border-radius: 7px;
  padding: 4px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.jasne-title-note .jasne-store-badge {
  padding: 2px;
  width: 100%;
}

.jasne-store-badge img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.jasne-store-badge-ios {
  border-radius: 10px;
  transform: translateX(-4px) rotate(-2deg);
}

.jasne-title-note .jasne-store-badge-ios {
  transform: rotate(-2deg);
}

.jasne-store-badge-ios img {
  border-radius: 7px;
}

.jasne-store-badge-google {
  transform: translateX(18px) rotate(4deg);
}

.jasne-title-note .jasne-store-badge-google {
  transform: rotate(4deg);
}

.jasne-phone {
  --phone-x: 0;
  --phone-y: -50%;
  --phone-lift-y: -63%;
  --phone-rotate: 0deg;
  position: absolute;
  top: 56%;
  z-index: 2;
  display: grid;
  width: clamp(210px, 34%, 340px);
  margin: 0;
  transform: translate(var(--phone-x), var(--phone-y)) rotate(var(--phone-rotate));
  transform-origin: center;
  animation: jasne-phone-wave 3.8s ease-in-out infinite both;
}

.jasne-hero-screens .jasne-phone {
  top: 58%;
  width: clamp(132px, 34%, 184px);
}

.jasne-hero-screens .jasne-phone-center {
  width: clamp(132px, 34%, 184px);
}

.jasne-hero-screens .jasne-phone-left {
  left: -2%;
}

.jasne-hero-screens .jasne-phone-right {
  right: -7%;
}

.jasne-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  border: 2px solid var(--black);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 30px 48px rgba(77, 44, 0, 0.16);
  object-fit: contain;
}

.jasne-phone figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.jasne-phone-left {
  --phone-rotate: -6deg;
  --phone-lift-y: -63%;
  left: -4%;
  z-index: 4;
  animation-delay: 0s;
}

.jasne-phone-center {
  --phone-x: -50%;
  --phone-rotate: 0deg;
  --phone-lift-y: -63.5%;
  left: 50%;
  z-index: 5;
  width: clamp(210px, 32%, 320px);
  animation-delay: 0.14s;
}

.jasne-phone-right {
  --phone-rotate: 6deg;
  --phone-lift-y: -63%;
  right: -9%;
  z-index: 3;
  animation-delay: 0.28s;
}

@keyframes jasne-phone-wave {
  0%,
  42%,
  100% {
    transform: translate(var(--phone-x), var(--phone-y)) rotate(var(--phone-rotate));
  }

  16%,
  26% {
    transform: translate(var(--phone-x), var(--phone-lift-y)) rotate(var(--phone-rotate));
  }
}

.jasne-flow-viewport {
  position: relative;
  z-index: 2;
  overflow: auto;
  border: 2px solid var(--black);
  background:
    linear-gradient(90deg, transparent 23px, rgba(0, 0, 0, 0.06) 24px),
    linear-gradient(transparent 23px, rgba(0, 0, 0, 0.06) 24px),
    var(--paper);
  background-size: 24px 24px;
  scrollbar-gutter: stable;
}

.jasne-flow-viewport:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

.jasne-flow-canvas {
  position: relative;
  width: 1200px;
  height: 1188px;
  min-width: 1200px;
}

.jasne-flow-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.jasne-line {
  fill: none;
  stroke: rgba(0, 0, 0, 0.32);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4px;
}

.jasne-line-arrow {
  marker-end: url("#jasne-arrow");
}

.jasne-line-purple {
  stroke: #8d43ef;
}

.jasne-line-yellow {
  stroke: #f2bd1d;
}

.jasne-line-green {
  stroke: #13aa5f;
}

.jasne-line-red {
  stroke: #f0442b;
}

.jasne-line-soft {
  stroke: rgba(0, 0, 0, 0.18);
}

.jasne-line-dashed {
  stroke-dasharray: 8 8;
}

.jasne-flow-node,
.jasne-flow-note {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 0;
  place-items: center;
  border: 2px solid var(--black);
  padding: 10px;
  color: var(--black);
  font-family: var(--heading-font);
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  text-transform: uppercase;
}

.jasne-flow-node {
  width: 164px;
  min-height: 112px;
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.84);
}

.jasne-flow-note {
  width: 246px;
  min-height: 136px;
  align-content: center;
  font-size: 18px;
  line-height: 26px;
  text-transform: none;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.42);
}

.jasne-flow-purple {
  background: #8d43ef;
  color: var(--white);
}

.jasne-flow-yellow,
.jasne-flow-note-yellow {
  background: #ffcc2e;
}

.jasne-flow-green {
  background: #11a95f;
  color: var(--white);
}

.jasne-flow-red {
  background: #f0442b;
  color: var(--white);
}

.jasne-flow-gray {
  background: #ececec;
}

.jasne-flow-white {
  background: rgba(255, 255, 255, 0.94);
}

.jasne-flow-note-rose {
  background: #ffd0c9;
}

.jasne-flow-note-blue {
  background: #d7efff;
}

.jasne-flow-circle {
  width: 136px;
  min-height: 136px;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.jasne-flow-diamond {
  width: 128px;
  min-height: 128px;
  background: #f4f4f4;
  box-shadow: none;
  transform: rotate(45deg);
}

.jasne-flow-diamond span {
  transform: rotate(-45deg);
}

.node-source {
  top: 286px;
  left: 38px;
}

.node-import {
  top: 286px;
  left: 236px;
}

.node-structure {
  top: 286px;
  left: 434px;
}

.node-audit {
  top: 286px;
  left: 632px;
}

.node-context {
  top: 286px;
  left: 830px;
}

.node-ready {
  top: 250px;
  left: 1038px;
}

.node-need {
  top: 482px;
  left: 834px;
}

.node-task {
  top: 486px;
  left: 1078px;
}

.node-score {
  top: 690px;
  left: 1078px;
}

.node-content {
  top: 1040px;
  left: 1078px;
}

.node-rule-one {
  top: 864px;
  left: 610px;
}

.node-rule-two {
  top: 864px;
  left: 898px;
}

.node-graph-toolbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.node-graph-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.node-graph-zoom-controls {
  display: inline-grid;
  grid-template-columns: 34px minmax(58px, auto) 34px;
  border: 2px solid var(--black);
  background: var(--white);
}

.node-graph-zoom-button {
  display: grid;
  min-width: 34px;
  min-height: 30px;
  align-items: center;
  border: 0;
  border-right: 2px solid var(--black);
  padding: 0 8px;
  background: var(--white);
  color: var(--black);
  font-family: var(--heading-font);
  font-size: 13px;
  line-height: var(--small-line);
  cursor: pointer;
}

.node-graph-zoom-button:last-child {
  border-right: 0;
}

.node-graph-zoom-reset {
  min-width: 58px;
  font-size: 12px;
}

.node-graph-zoom-button:hover,
.node-graph-zoom-button:focus-visible {
  background: var(--black);
  color: var(--white);
}

.node-graph-zoom-button:disabled {
  color: rgba(0, 0, 0, 0.34);
  cursor: default;
}

.node-graph-zoom-button:disabled:hover {
  background: var(--white);
  color: rgba(0, 0, 0, 0.34);
}

.node-graph-fullscreen-button {
  display: inline-grid;
  min-height: 34px;
  align-items: center;
  border: 2px solid var(--black);
  padding: 0 14px;
  background: var(--white);
  color: var(--black);
  font-family: var(--heading-font);
  font-size: 13px;
  line-height: var(--small-line);
  text-transform: uppercase;
  cursor: pointer;
}

.node-graph-fullscreen-button:hover,
.node-graph-fullscreen-button:focus-visible {
  background: var(--black);
  color: var(--white);
}

.node-graph-viewport {
  position: relative;
  z-index: 2;
  height: clamp(560px, 68vh, 760px);
  overflow: hidden;
  overscroll-behavior: auto;
  cursor: grab;
  scrollbar-gutter: stable both-edges;
  touch-action: pan-y;
}

.node-graph-viewport.is-graph-zoomed,
.lendi-node-board:fullscreen .node-graph-viewport,
.lendi-node-board.is-graph-fullscreen .node-graph-viewport {
  touch-action: none;
}

.node-graph-viewport:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

.node-graph-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.node-graph-zoom-surface {
  --graph-scale: 1;
  position: relative;
  width: 100%;
}

.graph-fullscreen-active {
  overflow: hidden;
}

.lendi-node-board:fullscreen,
.lendi-node-board.is-graph-fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  margin: 0;
  border: 0;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
  background:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size:
    var(--grid-size) var(--grid-size),
    var(--grid-size) var(--grid-size),
    calc(var(--grid-size) * 6) calc(var(--grid-size) * 6),
    calc(var(--grid-size) * 6) calc(var(--grid-size) * 6),
    auto;
  box-shadow: none;
}

.lendi-node-board.is-graph-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.lendi-node-board:fullscreen .node-graph-viewport,
.lendi-node-board.is-graph-fullscreen .node-graph-viewport {
  height: calc(100vh - 88px);
  max-height: none;
}

.lendi-node-graph {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 0.82fr) 38px minmax(150px, 0.72fr) 42px minmax(230px, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: 18px 0;
  width: 100%;
  min-height: 620px;
  padding: 12px 12px 18px;
  align-items: center;
  transform: scale(var(--graph-scale, 1));
  transform-origin: 0 0;
}

.node-graph-lines {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.graph-line {
  fill: none;
  stroke: var(--black);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8px;
}

.graph-line-green {
  stroke: #1ecb3a;
}

.graph-line-blue {
  stroke: #27bde7;
}

.graph-node {
  stroke: var(--white);
  stroke-width: 4px;
}

.graph-node-green {
  fill: #1ecb3a;
}

.graph-node-blue {
  fill: #27bde7;
}

.node-card,
.node-media {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.node-card {
  --node-bg: rgba(255, 255, 255, 0.96);
  display: grid;
  gap: 10px;
  border: 2px solid var(--black);
  border-radius: 0;
  padding: clamp(12px, 1.2vw, 18px);
  background: var(--node-bg);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.9);
  color: var(--black);
  cursor: pointer;
}

.node-card:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 5px;
}

.node-card h3 {
  margin: 0;
  color: var(--black);
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.16;
}

.node-card-label {
  justify-self: start;
  border-bottom: 2px solid var(--black);
  color: var(--black);
  font-size: clamp(12px, 0.96vw, 15px);
  line-height: var(--meta-line);
  overflow-wrap: anywhere;
}

.node-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--black);
  list-style: none;
}

.node-list li {
  position: relative;
  padding-left: 18px;
  font-family: var(--heading-font);
  font-size: clamp(12px, 0.98vw, 15px);
  line-height: 1.24;
}

.node-list-item-button {
  display: inline;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.node-list-item-button:hover,
.node-list-item-button:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
  text-decoration: none;
}

.node-list li::before {
  content: "";
  position: absolute;
  top: 0.38em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1ecb3a;
}

.node-list-blue li::before {
  background: #27bde7;
}

.node-card .expert-types {
  margin-bottom: 0;
}

.node-card-clients {
  --node-bg: var(--soft);
  grid-column: 1;
  grid-row: 2 / span 2;
  justify-self: start;
  width: min(100%, 260px);
}

.node-icon-client {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  align-self: center;
}

.node-card-admin {
  --node-bg: var(--blue);
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
  width: min(100%, 220px);
}

.node-card-meeting {
  --node-bg: var(--yellow);
  grid-column: 3;
  grid-row: 2;
  justify-self: center;
  width: min(100%, 220px);
}

.node-icon-expert {
  grid-column: 4;
  grid-row: 2;
  justify-self: center;
  align-self: center;
}

.node-card-experts {
  --node-bg: rgba(255, 255, 255, 0.96);
  grid-column: 5;
  grid-row: 1 / span 3;
  justify-self: end;
  width: min(100%, 310px);
}

.node-card-customer {
  --node-bg: var(--soft);
  grid-column: 3;
  grid-row: 4;
  justify-self: center;
  width: min(100%, 240px);
}

.node-card-administration {
  --node-bg: var(--rose);
  grid-column: 5;
  grid-row: 4;
  justify-self: end;
  width: min(100%, 290px);
}

.node-icon {
  position: relative;
  z-index: 3;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #1ecb3a;
  color: var(--white);
}

.node-icon-blue {
  background: #27bde7;
}

.node-icon-svg {
  width: 21px;
  height: 21px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.node-modal-active {
  overflow: hidden;
}

.node-detail-shell {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.node-detail-shell[hidden] {
  display: none;
}

.node-detail-panel {
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr);
  width: min(940px, 100%);
  height: min(780px, calc(100svh - 32px));
  max-height: min(780px, calc(100svh - 32px));
  overflow: hidden;
  border: 2px solid var(--black);
  padding: 0;
  background: var(--node-bg, var(--white));
  box-shadow: 10px 10px 0 var(--black);
  color: var(--black);
  scroll-margin-top: 0;
}

.node-detail-panel:focus {
  outline: none;
}

.node-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 24px 24px;
  align-items: center;
  gap: 4px 12px;
  height: 64px;
  min-height: 0;
  overflow: hidden;
  border-bottom: 2px solid var(--black);
  padding: 6px 12px;
}

.node-detail-tabs {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  min-width: 0;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.node-detail-tabs::-webkit-scrollbar {
  display: none;
}

.node-detail-shot-caption {
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.node-detail-tab {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 13rem;
  height: 22px;
  min-width: 0;
  border: 2px solid transparent;
  border-radius: 0;
  padding: 0 4px;
  background: transparent;
  color: var(--black);
  font-family: var(--mono-font);
  font-size: 10px;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.node-detail-tab:hover,
.node-detail-tab:focus-visible {
  border-color: var(--black);
  outline: 2px solid var(--paper-yellow);
  outline-offset: 2px;
}

.node-detail-tab[aria-selected="true"] {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.node-detail-title {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: end;
  margin: 0;
  border-bottom: 0;
  font-family: var(--mono-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.05;
  overflow: hidden;
  max-width: 13rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-detail-close {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  align-self: center;
  border: 2px solid var(--black);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--heading-font);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.node-detail-close:hover,
.node-detail-close:focus-visible {
  background: var(--black);
  color: var(--white);
}

.node-detail-body {
  display: grid;
  gap: 0;
  min-height: 0;
  overflow: auto;
  background: rgba(255, 255, 255, 0.58);
}

.node-detail-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.8fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
  border-bottom: 2px solid var(--black);
  scroll-margin-top: 14px;
}

.node-detail-section.is-text-only {
  grid-template-columns: minmax(0, 1fr);
}

.node-detail-section:last-child {
  border-bottom: 0;
}

.node-detail-section:focus {
  outline: none;
}

.node-detail-section-heading {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.node-detail-section-heading h3 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.18;
}

.node-detail-section-dot {
  width: 12px;
  height: 12px;
  margin-top: 0.44em;
  border-radius: 50%;
  background: #1ecb3a;
}

.node-detail-panel[data-node-tone="blue"] .node-detail-section-dot {
  background: #27bde7;
}

.node-detail-description {
  grid-column: 1;
  margin: 10px 0 0 26px;
  max-width: 32rem;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: var(--text-line);
}

.node-detail-section.is-text-only .node-detail-description {
  max-width: 44rem;
}

.node-detail-shot {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

.node-detail-screen-image {
  width: 100%;
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.9);
}

.node-detail-card-preview {
  display: grid;
  gap: 12px;
  min-height: 196px;
  border: 2px solid var(--black);
  padding: 18px;
  background: var(--soft);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.9);
}

.node-detail-card-preview.is-blue {
  background: var(--blue);
}

.node-detail-card-label {
  justify-self: start;
  border-bottom: 2px solid var(--black);
  font-family: var(--mono-font);
  font-size: 18px;
  line-height: var(--text-line);
}

.node-detail-card-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.node-detail-card-list li {
  position: relative;
  min-width: 0;
  padding-left: 20px;
  font-family: var(--heading-font);
  font-size: 14px;
  line-height: var(--meta-line);
}

.node-detail-card-list li::before {
  content: "";
  position: absolute;
  top: 0.43em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1ecb3a;
}

.node-detail-card-preview.is-blue .node-detail-card-list li::before {
  background: #27bde7;
}

.node-detail-card-list li.is-active span {
  box-shadow: inset 0 -0.42em 0 rgba(255, 255, 255, 0.7);
}

.node-detail-shot-caption {
  color: rgba(0, 0, 0, 0.62);
}

.node-info-popover {
  position: fixed;
  z-index: 1250;
  width: min(340px, calc(100vw - 24px));
  border: 2px solid var(--black);
  padding: 16px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
  color: var(--black);
  pointer-events: none;
}

.node-info-popover[hidden] {
  display: none;
}

.node-info-popover-title {
  display: block;
  margin-bottom: 8px;
  font-family: var(--heading-font);
  font-size: 17px;
  line-height: var(--text-line);
}

.node-info-popover-copy {
  margin: 0 0 12px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: var(--meta-line);
}

.node-info-popover-shot .node-detail-card-preview {
  min-height: 120px;
  padding: 12px;
  box-shadow: 3px 3px 0 var(--black);
}

.node-info-popover-shot .node-detail-card-label {
  font-size: 13px;
  line-height: var(--small-line);
}

.node-info-popover-shot .node-detail-card-list {
  gap: 4px;
}

.node-info-popover-shot .node-detail-card-list li {
  font-size: 11px;
  line-height: var(--small-line);
}

.lendi-lessons-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(22px, 3vw, 38px);
  align-items: start;
  margin-top: clamp(40px, 6vw, 72px);
}

.lendi-context-grid {
  display: none;
  margin-top: clamp(32px, 5vw, 56px);
  box-shadow: 8px 8px 0 var(--black);
}

.lendi-lessons-card {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  border: 2px solid var(--black);
  padding: clamp(24px, 4vw, 46px);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--black);
}

.lendi-lessons-heading {
  max-width: 720px;
}

.lendi-lessons-heading h2 {
  max-width: 13em;
  margin: 12px 0 0;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
}

.lendi-lesson-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lendi-lesson-list li {
  display: grid;
  grid-template-columns: minmax(92px, 132px) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: baseline;
  border-top: 2px solid var(--black);
  padding: 16px 0;
}

.lendi-lesson-list li:last-child {
  padding-bottom: 0;
}

.lendi-lesson-number {
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.lendi-lesson-list p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: var(--text-line);
}

.lendi-lessons-side {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  align-content: start;
  justify-items: center;
  min-width: 0;
}

.lendi-lessons-photo {
  --photo-rotate: 1.3deg;
  position: relative;
  display: grid;
  gap: 10px;
  width: min(100%, 320px);
  margin: 0;
  border: 2px solid var(--black);
  padding: 12px 12px 14px;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--black);
  transform: rotate(var(--photo-rotate));
}

.lendi-lessons-photo::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 32px;
  width: 82px;
  height: 22px;
  border: 2px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(-2deg);
}

.lendi-lessons-photo img {
  width: 100%;
  height: auto;
  border: 2px solid var(--black);
}

.lendi-lessons-photo figcaption {
  margin: 0;
  font-size: 12px;
  line-height: var(--small-line);
}

.lendi-sticker-widget {
  position: relative;
  display: grid;
  justify-items: center;
  margin-top: clamp(28px, 5vw, 52px);
  padding: 8px 0 0;
  background: transparent;
}

.lendi-lessons-layout .lendi-sticker-widget {
  margin-top: 0;
}

@media (min-width: 1041px) and (max-width: 1700px) {
  .lendi-lessons-layout {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: clamp(28px, 3.2vw, 48px);
  }

  .lendi-lessons-side {
    justify-items: end;
    width: 100%;
  }

  .lendi-lessons-photo,
  .lendi-lessons-layout .lendi-sticker-rail {
    width: min(100%, 420px);
  }
}

@media (min-width: 1041px) and (max-width: 1280px) {
  .lendi-lessons-layout .lendi-lesson-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }
}

.lendi-sticker-rail {
  justify-self: end;
  width: 100%;
}

.lendi-sticker-rail .lendi-sticker-stage {
  width: 100%;
}

.lendi-sticker-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-width: 0;
}

.lendi-sticker-stack {
  position: relative;
  display: grid;
  width: min(100%, 330px);
  min-width: 240px;
  aspect-ratio: 1;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
}

.lendi-sticker-stack:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 8px;
}

.lendi-sticker-card {
  position: absolute;
  display: grid;
  width: min(72%, 238px);
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--black);
  padding: 14px;
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.9);
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.lendi-sticker-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lendi-sticker-card-back {
  z-index: 1;
  opacity: 0.42;
  transform: translate(34px, -20px) rotate(7deg);
}

.lendi-sticker-card-middle {
  z-index: 2;
  opacity: 0.68;
  transform: translate(18px, -8px) rotate(3deg);
}

.lendi-sticker-card-front {
  z-index: 3;
  transform: translate(-8px, 12px) rotate(-3deg);
}

.lendi-sticker-stack:hover .lendi-sticker-card-front,
.lendi-sticker-stack:focus-visible .lendi-sticker-card-front {
  transform: translate(-8px, 2px) rotate(-1deg);
}

.lendi-sticker-stack.is-sticker-flipped .lendi-sticker-card-front {
  animation: sticker-pop 260ms ease;
}

.lendi-sticker-stack.is-sticker-flipped .lendi-sticker-card-middle {
  animation: sticker-settle 260ms ease;
}

.lendi-sticker-controls {
  display: inline-grid;
  grid-template-columns: 40px minmax(92px, auto) 40px;
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--black);
}

.lendi-sticker-nav {
  display: grid;
  min-height: 36px;
  place-items: center;
  border: 0;
  border-right: 2px solid var(--black);
  padding: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--heading-font);
  font-size: 18px;
  line-height: var(--small-line);
  cursor: pointer;
}

.lendi-sticker-nav:last-child {
  border-right: 0;
  border-left: 2px solid var(--black);
}

.lendi-sticker-nav:hover,
.lendi-sticker-nav:focus-visible {
  background: var(--black);
  color: var(--white);
}

.lendi-sticker-counter {
  display: grid;
  min-height: 36px;
  place-items: center;
  padding: 0 12px;
  font-size: 12px;
  line-height: var(--small-line);
  white-space: nowrap;
}

.lendi-sticker-rail .lendi-sticker-stack {
  width: min(100%, 232px);
  min-width: 0;
}

.lendi-sticker-rail .lendi-sticker-card {
  width: min(74%, 172px);
  padding: 10px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.9);
}

.lendi-sticker-rail .lendi-sticker-controls {
  grid-template-columns: 34px minmax(78px, auto) 34px;
  box-shadow: 3px 3px 0 var(--black);
}

.lendi-sticker-rail .lendi-sticker-nav,
.lendi-sticker-rail .lendi-sticker-counter {
  min-height: 32px;
}

.lendi-sticker-rail .lendi-sticker-counter {
  padding: 0 8px;
}

@keyframes sticker-pop {
  0% {
    transform: translate(-8px, 16px) rotate(-5deg) scale(0.96);
  }

  68% {
    transform: translate(-8px, -2px) rotate(1deg) scale(1.02);
  }

  100% {
    transform: translate(-8px, 12px) rotate(-3deg) scale(1);
  }
}

@keyframes sticker-settle {
  0% {
    transform: translate(18px, -3px) rotate(5deg);
  }

  100% {
    transform: translate(18px, -8px) rotate(3deg);
  }
}

.node-media {
  display: grid;
  gap: 10px;
  border: 2px solid var(--black);
  border-radius: 8px;
  padding: 12px 12px 16px;
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.88);
  transform: rotate(var(--photo-rotate, -1deg));
}

.node-media::after {
  content: "";
  position: absolute;
  top: -13px;
  left: 28px;
  width: 76px;
  height: 22px;
  border: 2px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(-3deg);
}

.node-media .media-frame {
  min-height: 110px;
  font-size: 30px;
}

.node-media figcaption {
  margin: 0;
  font-size: 12px;
  line-height: var(--small-line);
}

.node-media-client {
  --photo-rotate: 1.8deg;
  grid-column: 2 / span 2;
  grid-row: 4;
  align-self: end;
  justify-self: center;
  width: min(100%, 270px);
}

.node-media-expert {
  --photo-rotate: -1.4deg;
  grid-column: 5;
  grid-row: 4;
  justify-self: end;
  width: min(78%, 300px);
}

.flow-start {
  --note-rotate: -1.2deg;
  z-index: 2;
  justify-self: center;
  width: min(420px, 100%);
  text-align: center;
}

.flow-start strong {
  font-size: clamp(32px, 4vw, 52px);
}

.flow-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-self: center;
  width: min(820px, 100%);
  height: 92px;
}

.flow-split::before,
.flow-split::after,
.split-arm::before {
  content: "";
  position: absolute;
  background: var(--black);
}

.flow-split::before {
  top: 0;
  left: 50%;
  width: 2px;
  height: 34px;
}

.flow-split::after {
  top: 34px;
  right: 25%;
  left: 25%;
  height: 2px;
}

.split-arm {
  position: relative;
  min-height: 92px;
}

.split-arm::before {
  top: 34px;
  left: 50%;
  width: 2px;
  height: 42px;
}

.split-arm::after {
  content: "";
  position: absolute;
  top: 72px;
  left: calc(50% - 7px);
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: rotate(45deg);
}

.flow-zones {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 48px);
}

.flow-zone {
  display: grid;
  gap: 20px;
  min-width: 0;
  border: 2px solid var(--black);
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
}

.zone-label,
.flow-block-kicker {
  display: inline-block;
  width: max-content;
  border-bottom: 2px solid currentColor;
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.flow-branch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.flow-block {
  min-height: 0;
}

.flow-block h3 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.flow-block p {
  margin-bottom: 14px;
  color: var(--black);
}

.expert-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.expert-types span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 2px solid var(--black);
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.branch-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.branch-list li {
  border-top: 2px solid rgba(0, 0, 0, 0.22);
  padding-top: 8px;
  font-size: 14px;
  line-height: var(--meta-line);
}

.media-sticker {
  --photo-rotate: 1.4deg;
  position: relative;
  display: grid;
  gap: 10px;
  justify-self: center;
  width: min(86%, 300px);
  min-width: 0;
  margin: 22px 0 0;
  border: 2px solid var(--black);
  padding: 12px 12px 16px;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--black);
  transform: rotate(var(--photo-rotate));
}

.media-sticker::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 32px;
  width: 80px;
  height: 22px;
  border: 2px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(-2deg);
}

.media-sticker-video {
  --photo-rotate: -2deg;
  margin-top: 52px;
}

.media-sticker-photo {
  --photo-rotate: 2.4deg;
  margin-top: 40px;
}

.media-frame {
  display: grid;
  min-height: 150px;
  place-items: center;
  border: 2px solid var(--black);
  background:
    linear-gradient(90deg, transparent 23px, rgba(0, 0, 0, 0.08) 24px),
    linear-gradient(transparent 23px, rgba(0, 0, 0, 0.08) 24px),
    var(--paper);
  background-size: 24px 24px;
  font-family: var(--emphasis-font);
  font-size: 36px;
  line-height: 1;
  text-transform: lowercase;
}

.media-sticker figcaption {
  margin: 0;
  font-size: 12px;
  line-height: var(--small-line);
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.next-card {
  display: grid;
  gap: 14px;
  border: 2px solid var(--black);
  padding: 18px;
  background: var(--white);
}

.next-card strong {
  font-family: var(--heading-font);
  font-size: 20px;
  line-height: 28px;
}

.next-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: var(--meta-line);
}

.footer {
  position: relative;
  z-index: 1;
  margin-left: var(--rail-width);
  border-top: 0;
  padding: 44px 0 72px;
  background: transparent;
}

.case-footer {
  border-top: 0;
  box-shadow: none;
}

.case-footer::before,
.case-footer::after {
  display: none;
  content: none;
}

.footer .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.footer-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 32px;
  line-height: 40px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  font-size: 12px;
  line-height: var(--small-line);
  text-transform: uppercase;
}

.case-footer .shell {
  grid-template-columns: minmax(164px, 1fr) minmax(280px, 560px) minmax(164px, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
}

.case-footer-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  max-width: 100%;
  color: var(--black);
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 28px;
  text-decoration: none;
  text-transform: uppercase;
}

.case-footer-link::before,
.case-footer-link::after {
  font-family: var(--heading-font);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  text-decoration: none;
}

.case-footer-prev {
  justify-self: start;
}

.case-footer-prev::before {
  content: "\2190";
}

.case-footer-next {
  justify-self: end;
  text-align: right;
}

.case-footer-next::after {
  content: "\2192";
}

.case-footer-rating {
  justify-self: center;
  width: min(100%, 640px);
  margin: 0;
  grid-template-columns: 1fr;
  gap: 12px;
  text-align: center;
}

.case-footer-rating.has-rating {
  width: min(100%, 680px);
}

.case-footer-rating .portfolio-survey-copy h3 {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 28px;
}

.case-footer-rating .portfolio-rating-field,
.case-footer-rating .portfolio-stars,
.case-footer-rating .portfolio-survey-actions {
  justify-content: center;
}

.case-footer-rating .portfolio-survey-followup {
  text-align: left;
}

.case-footer-rating .portfolio-survey-followup textarea {
  min-height: 88px;
}

.case-footer-rating .portfolio-survey-success {
  text-align: center;
}

@media (min-width: 1041px) and (max-width: 1600px) {
  .lendi-sticker-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 980px);
  }

  body[data-case-id="millennium"] .millennium-case-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .jasne-sticker-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1041px) and (max-width: 1280px) {
  .jasne-sticker-summary .case-meta {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
  }

  .jasne-sticker-summary .case-meta-icon {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .jasne-sticker-summary .case-meta-label {
    grid-row: 2;
  }

  .jasne-sticker-summary .case-meta p {
    grid-row: 3;
  }
}

@media (min-width: 1041px) and (max-width: 1400px) {
  .board-hero-grid {
    grid-template-rows: auto auto auto auto;
    align-items: start;
  }

  .whiteboard-hero .title-note h1 {
    font-size: clamp(52px, 4.6vw, 60px);
    line-height: 1.08;
  }

  .title-note {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .case-title-stack .case-title-actions {
    grid-column: 1;
    grid-row: 1;
  }

  .case-title-stack .case-title-note {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-polaroid {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: center;
    width: min(100%, 360px);
  }

  .hero-pin {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: center;
    top: auto;
    left: auto;
    width: min(100%, 280px);
    margin: clamp(18px, 2.2vw, 30px) 0 0;
    transform: rotate(var(--note-rotate));
  }

  .hero-receipts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-row: 4;
    gap: clamp(14px, 1.7vw, 20px);
    margin-top: clamp(14px, 2vw, 24px);
  }

  .hero-receipts .stat {
    aspect-ratio: 1;
    min-height: 0;
    align-content: center;
    gap: 8px;
    padding: clamp(12px, 1.3vw, 16px);
    overflow-wrap: anywhere;
  }

  .hero-receipts .stat strong {
    margin-bottom: 0;
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1;
  }

  .hero-receipts .stat span {
    color: var(--black);
    font-size: 11px;
    line-height: 1.28;
  }

  .story-hero-stickers {
    grid-row: 3;
  }

  .timeline.note-wall {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(72px, 6.2vw, 88px) clamp(24px, 2.4vw, 34px);
  }

  .timeline.note-wall .timeline-item {
    grid-column: span 2;
  }

  .timeline.note-wall .timeline-item:nth-child(-n + 2) {
    grid-column: 1 / -1;
  }

  .timeline.note-wall .timeline-item:nth-child(1) {
    grid-row: 1;
  }

  .timeline.note-wall .timeline-item:nth-child(2) {
    grid-row: 2;
  }

  .timeline.note-wall .timeline-item:nth-child(3) {
    grid-column: 1 / span 2;
    grid-row: 3;
  }

  .timeline.note-wall .timeline-item:nth-child(4) {
    grid-column: 1 / span 2;
    grid-row: 4;
  }

  .timeline.note-wall .timeline-item:nth-child(5) {
    grid-column: 3 / span 2;
    grid-row: 3;
  }

  .timeline.note-wall .timeline-item:nth-child(6) {
    grid-column: 5 / span 2;
    grid-row: 3;
  }

  .timeline.note-wall .timeline-item:nth-child(7) {
    grid-column: 3 / span 2;
    grid-row: 4;
  }

  .timeline.note-wall .timeline-item.timeline-item-rive {
    padding-left: clamp(136px, 12.8vw, 168px);
    padding-right: clamp(76px, 8vw, 122px);
  }
}

@media (min-width: 1041px) and (max-width: 1280px) {
  body[data-case-id="morizon"] .case-hero .hero-grid,
  body[data-case-id="interblue"] .case-hero .hero-grid,
  body[data-case-id="autotrader"] .case-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  body[data-case-id="morizon"] .morizon-screen-card,
  body[data-case-id="interblue"] .interblue-screen-card,
  body[data-case-id="autotrader"] .autotrader-screen-card {
    justify-self: start;
    width: min(100%, 860px);
  }
}

@media (max-width: 1040px) {
  :root {
    --page-gutter-left: clamp(48px, 6vw, 76px);
    --page-gutter-right: 28px;
    --shell: min(920px, calc(100% - var(--page-gutter-left) - var(--page-gutter-right)));
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .board-hero-grid,
  .case-board-hero-grid,
  .section-head,
  .case-grid {
    grid-template-columns: 1fr;
  }

  body[data-case-id="citi-bank"] .case-hero .hero-grid,
  body[data-case-id="morizon"] .case-hero .hero-grid,
  body[data-case-id="interblue"] .case-hero .hero-grid,
  body[data-case-id="autotrader"] .case-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  body[data-case-id="morizon"] .morizon-screen-card,
  body[data-case-id="interblue"] .interblue-screen-card,
  body[data-case-id="autotrader"] .autotrader-screen-card {
    transform: none;
  }

  body[data-case-id="millennium"] .millennium-case-copy,
  body[data-case-id="millennium"] .millennium-phone-mockup,
  body[data-case-id="millennium"] .millennium-case-summary {
    grid-column: auto;
    grid-row: auto;
  }

  body[data-case-id="millennium"] .millennium-case-copy {
    order: 1;
  }

  body[data-case-id="millennium"] .millennium-phone-mockup {
    order: 2;
    justify-self: start;
    width: min(100%, 300px);
  }

  body[data-case-id="millennium"] .millennium-case-summary {
    order: 3;
    margin-top: 0;
  }

  .board-hero-grid {
    grid-template-columns: clamp(116px, 22vw, 188px) minmax(0, 1fr);
    min-height: auto;
    gap: 18px;
    align-items: stretch;
    padding: 36px 0 56px;
  }

  .hero-polaroid {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    gap: 8px;
    padding: clamp(9px, 1.5vw, 14px) clamp(9px, 1.5vw, 14px) clamp(12px, 1.8vw, 18px);
    box-shadow: 6px 6px 0 var(--black);
  }

  .photo-credential-stickers {
    top: 0;
    right: -12px;
    width: clamp(100px, 24vw, 132px);
    height: clamp(98px, 24vw, 130px);
  }

  .photo-credential-sticker {
    filter: drop-shadow(3px 3px 0 var(--black));
  }

  .photo-credential-sticker::after {
    inset: 3px;
  }

  .photo-credential-sticker[data-sticker="generative-ai-leader"] {
    --seal-size: clamp(40px, 9.4vw, 54px) !important;
  }

  .photo-credential-sticker[data-sticker="swps"] {
    --seal-size: clamp(36px, 8.6vw, 48px) !important;
  }

  .photo-credential-sticker[data-sticker="ixdf"] {
    --seal-size: clamp(38px, 9vw, 50px) !important;
  }

  .hero-polaroid p {
    display: none;
  }

  .hero-pin,
  .tape-note {
    position: relative;
    grid-column: auto;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
  }

  .hero-pin {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    justify-self: stretch;
    align-content: center;
    padding: clamp(14px, 2.2vw, 20px);
    transform: rotate(var(--note-rotate));
  }

  .hero-pin strong {
    font-size: clamp(22px, 3.8vw, 34px);
  }

  .hero-pin span {
    display: block;
    max-width: 24rem;
    font-size: clamp(12px, 1.9vw, 14px);
    line-height: var(--meta-line);
  }

  .title-note {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .story-hero-stickers {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    margin-top: 0;
  }

  .hero-receipts {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .proof-grid,
  .principle-grid,
  .hero-receipts,
  .case-summary,
  .next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-receipts {
    gap: 16px;
  }

  .hero-receipts .stat {
    min-height: 136px;
    gap: 8px;
    padding: 16px;
  }

  .hero-receipts .stat strong {
    font-size: clamp(24px, 4.8vw, 34px);
  }

  .hero-receipts .stat span {
    font-size: 12px;
    line-height: var(--small-line);
  }

  .story-hero-sticker {
    width: calc(var(--sticker-size, 56px) * 0.86);
    height: calc(var(--sticker-size, 56px) * 0.86);
  }

  .lendi-case-hero .case-board-hero-grid {
    align-items: stretch;
  }

  .lendi-case-hero .case-title-stack {
    display: contents;
  }

  .lendi-case-hero .case-title-actions {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
  }

  .lendi-case-hero .case-hero-side {
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1.1fr);
    gap: 18px;
    align-items: stretch;
  }

  .lendi-case-hero .case-title-note {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .case-pdf-stack {
    display: grid;
    align-self: stretch;
    width: min(100%, 280px);
    min-width: 172px;
  }

  .case-scope-note {
    align-self: stretch;
    align-content: center;
  }

  .lendi-before-after-evidence {
    width: min(100%, 980px);
    box-shadow: 8px 8px 0 var(--black);
    transform: none;
  }

  .lendi-design-system-showcase {
    box-shadow: 8px 8px 0 var(--black);
    transform: none;
  }

  .lendi-flow-collage {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    padding: clamp(18px, 3.5vw, 28px);
  }

  .lendi-flow-screen-groups {
    gap: 16px;
  }

  .lendi-flow-wide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .lendi-flow-mobile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .lendi-flow-shot {
    box-shadow: 4px 4px 0 var(--black);
  }

  .lendi-flow-shot-mobile {
    box-shadow: 4px 4px 0 var(--black);
  }

  .timeline.note-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(64px, 7vw, 82px) 24px;
  }

  .timeline.note-wall .timeline-item,
  .timeline.note-wall .timeline-item:nth-child(-n + 2),
  .timeline.note-wall .timeline-item:nth-child(n + 3) {
    grid-column: span 1;
    min-height: 244px;
  }

  .timeline.note-wall .timeline-item.timeline-item-rive,
  .timeline.note-wall .timeline-item.timeline-item-jasne {
    grid-column: 1 / -1;
  }

  .timeline.note-wall .timeline-item.timeline-item-rive {
    min-height: 300px;
    padding-left: clamp(116px, 17vw, 140px);
    padding-right: 84px;
  }

  .timeline-lendi-screen {
    left: clamp(-14px, calc(-2.6vw + 14px), -4px);
    width: clamp(104px, 16vw, 124px);
  }

  .timeline.note-wall .timeline-item.timeline-item-jasne {
    --jasne-card-screen-right: 8px;
    --jasne-card-screen-width: clamp(108px, 16vw, 128px);
    --jasne-card-badge-overlap: 14px;
    --jasne-card-asset-shift: 20px;
    min-height: 286px;
    padding-right: calc(var(--jasne-card-screen-width) + 12px);
    padding-bottom: 20px;
  }

  .timeline-jasne-screen {
    right: calc(var(--jasne-card-screen-right) - var(--jasne-card-asset-shift));
    width: var(--jasne-card-screen-width);
    border-radius: 16px;
    padding: 3px;
    box-shadow: 4px 4px 0 var(--black);
  }

  .timeline-jasne-screen img {
    border-radius: 13px;
  }

  .timeline-app-badges {
    right: calc(var(--jasne-card-screen-right) + var(--jasne-card-screen-width) - var(--jasne-card-badge-overlap) - var(--jasne-card-asset-shift));
    top: 72%;
    bottom: auto;
    gap: 6px;
  }

  .timeline-app-badge {
    width: clamp(82px, 14vw, 104px);
    padding: 3px;
  }

  .timeline.note-wall .timeline-item-jasne .timeline-summary {
    display: block;
    max-width: 17rem;
  }

  .portfolio-survey {
    grid-template-columns: 1fr;
    transform: none;
  }

  .case-footer .shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .case-footer-rating {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .case-footer-prev {
    grid-column: 1;
    grid-row: 2;
  }

  .case-footer-next {
    grid-column: 2;
    grid-row: 2;
  }

  .jasne-store-badges {
    left: 10px;
    bottom: -12px;
    gap: 6px;
  }

  .jasne-store-badge {
    width: clamp(86px, 15vw, 112px);
  }

  .jasne-hero-map-sticker {
    width: min(100%, 300px);
  }

  .jasne-ruler-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jasne-steps-heading {
    grid-template-columns: 1fr;
  }

  .jasne-step-list {
    gap: 14px;
  }

  .jasne-step-card {
    grid-template-rows: minmax(196px, 1fr) auto;
    min-height: 476px;
  }

  .jasne-step-card:nth-child(2) {
    transform: translateY(10px) rotate(0.45deg);
  }

  .jasne-step-copy {
    min-height: 198px;
    padding: 18px;
  }

  .jasne-step-copy h3 {
    font-size: 23px;
    line-height: 30px;
  }

  .jasne-product-screen-track {
    grid-auto-columns: minmax(168px, 22vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    padding-bottom: 24px;
  }

  .timeline-rive {
    width: 70px;
  }

  .stat:nth-child(2n),
  .principle:nth-child(2n),
  .case-meta:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2),
  .principle:nth-child(-n + 2),
  .case-meta:nth-child(-n + 2) {
    border-bottom: 2px solid var(--black);
  }

  .timeline-item {
    grid-template-columns: 136px minmax(0, 1fr);
  }

  .timeline-action {
    grid-column: 1 / -1;
    border-top: 2px solid var(--black);
    border-left: 0;
  }

  .case-panel {
    border-right: 0;
    border-bottom: 2px solid var(--black);
  }

  .case-panel:last-child {
    border-bottom: 0;
  }

  .node-graph-viewport {
    height: min(62vh, 520px);
    overflow: hidden;
    scrollbar-gutter: auto;
  }

  .node-graph-zoom-surface {
    --graph-scale: 0.56;
    width: 511px;
    height: 348px;
  }

  .lendi-node-graph {
    grid-template-columns: minmax(170px, 0.82fr) 38px minmax(150px, 0.72fr) 42px minmax(230px, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 18px 0;
    width: 912px;
    min-height: 620px;
    padding: 12px 12px 18px;
  }

  .lendi-node-graph::before {
    display: none;
  }

  .node-graph-lines {
    display: block;
  }

  .node-card-clients {
    grid-column: 1;
    grid-row: 2 / span 2;
    justify-self: start;
    width: min(100%, 260px);
  }

  .node-icon-client {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    align-self: center;
  }

  .node-card-admin {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    width: min(100%, 220px);
  }

  .node-card-meeting {
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
    width: min(100%, 220px);
  }

  .node-icon-expert {
    grid-column: 4;
    grid-row: 2;
    justify-self: center;
    align-self: center;
  }

  .node-card-experts {
    grid-column: 5;
    grid-row: 1 / span 3;
    justify-self: end;
    width: min(100%, 310px);
  }

  .node-card-customer {
    grid-column: 3;
    grid-row: 4;
    justify-self: center;
    width: min(100%, 240px);
  }

  .node-card-administration {
    grid-column: 5;
    grid-row: 4;
    justify-self: end;
    width: min(100%, 290px);
  }

  .lendi-lessons-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lendi-lessons-heading h2 {
    max-width: 12em;
    font-size: clamp(32px, 5vw, 44px);
    line-height: 1.08;
  }

  .flow-zones {
    grid-template-columns: 1fr;
  }

  .flow-split {
    grid-template-columns: 1fr;
    width: min(420px, 100%);
    height: 78px;
  }

  .flow-split::after,
  .split-arm:nth-child(2) {
    display: none;
  }

  .split-arm::before {
    height: 32px;
  }

  .split-arm::after {
    top: 62px;
  }

  .node-detail-section {
    grid-template-columns: 1fr;
  }

  .node-detail-description,
  .node-detail-shot {
    grid-column: 1;
  }

  .node-detail-shot {
    grid-row: auto;
  }
}

@media (min-width: 841px) and (max-width: 1040px) {
  .lendi-case-hero .case-title-note {
    padding-bottom: calc(clamp(24px, 4vw, 44px) + clamp(230px, 28vw, 300px));
  }

  .jasne-case-hero .case-title-note {
    padding-bottom: clamp(24px, 4vw, 44px);
  }

  .lendi-case-hero .case-hero-side {
    position: relative;
    z-index: 4;
    grid-row: 2;
    align-self: end;
    justify-self: center;
    width: min(calc(100% - 44px), 760px);
    margin: 0 0 clamp(22px, 3vw, 34px);
  }

  .lendi-node-board {
    padding-top: clamp(78px, 10vw, 104px);
  }

  .lendi-node-board > .board-heading {
    max-width: calc(100% - clamp(120px, 22vw, 220px));
  }

  .lendi-node-board > .board-heading h2 {
    font-size: clamp(28px, 4.8vw, 42px);
  }
}

@media (max-width: 840px) {
  .timeline.note-wall .timeline-item:nth-child(-n + 2) {
    grid-column: 1 / -1;
  }

  .jasne-step-list {
    grid-template-columns: 1fr;
  }

  .jasne-ruler-card:nth-child(n) {
    transform: none;
  }

  .jasne-step-card {
    grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: auto;
    min-height: 0;
  }

  .jasne-step-card:nth-child(1),
  .jasne-step-card:nth-child(2),
  .jasne-step-card:nth-child(3) {
    transform: none;
  }

  .jasne-step-visual {
    min-height: 240px;
    border-right: 2px solid var(--black);
    border-bottom: 0;
  }

  .jasne-step-copy {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  :root {
    --rail-width: 173px;
    --topbar-height: 24px;
    --mobile-ruler-height: var(--topbar-height);
    --mobile-ruler-track-width: calc(100vw + 320px);
    --mobile-ruler-offset: 0px;
    --page-gutter-left: 14px;
    --page-gutter-right: 14px;
    --shell: min(calc(100% - 28px), 620px);
  }

  body::before,
  body::after {
    display: none;
  }

  .topbar {
    position: sticky;
    grid-template-columns: 1fr;
    background: transparent;
  }

  .topbar::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    height: var(--topbar-height);
    background: var(--black);
    pointer-events: none;
  }

  .brand {
    width: 173px;
    height: 24px;
  }

  .topnav {
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding: 12px 14px;
  }

  .topline {
    position: relative;
    grid-template-columns: 1fr;
    gap: 10px;
    border-top: 2px solid var(--white);
    padding: 10px 14px 12px;
    background: transparent;
  }

  .topline::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    height: 48px;
    background: var(--black);
    pointer-events: none;
  }

  .topline-current {
    position: relative;
    z-index: 1;
    justify-self: start;
    min-height: 28px;
    margin-left: 0;
  }

  .story-mobile-ruler {
    position: relative;
    z-index: 1;
    display: block;
    justify-self: stretch;
    width: calc(100% + 28px);
    height: var(--mobile-ruler-height);
    margin: 0 -14px -12px;
    overflow: hidden;
    background: transparent;
  }

  .story-mobile-ruler::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .story-mobile-ruler::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: calc(var(--mobile-ruler-offset) + var(--mobile-ruler-track-width));
    width: var(--mobile-ruler-height);
    height: var(--mobile-ruler-track-width);
    pointer-events: none;
    background-image: url("../assets/ruler.svg");
    background-repeat: repeat-y;
    background-position: left top;
    background-size: var(--mobile-ruler-height) auto;
    transform: rotate(90deg);
    transform-origin: top left;
  }

  .topline .topnav {
    justify-content: flex-start;
    min-height: 0;
    padding: 0;
  }

  .page,
  .footer {
    margin-left: 0;
    padding-top: 0;
  }

  .hero-grid {
    gap: 28px;
    padding: 48px 0;
  }

  .phone-mockup {
    justify-self: stretch;
    width: calc(100% - 12px);
    max-width: 100%;
    transform: none;
  }

  body[data-case-id="millennium"] .millennium-phone-mockup {
    justify-self: start;
    width: min(100%, 248px);
  }

  .phone-shell {
    padding: 8px;
    border-radius: 12px;
    box-shadow: 5px 5px 0 var(--black);
  }

  .phone-screen {
    border-radius: 12px;
  }

  .phone-mockup figcaption {
    justify-self: start;
    margin-top: 12px;
    box-shadow: 3px 3px 0 var(--black);
  }

  .phone-video-controls {
    justify-self: start;
    margin-top: 12px;
  }

  .board-hero-grid {
    grid-template-columns: clamp(92px, 33vw, 116px) minmax(0, 1fr);
    gap: 12px;
    padding: 28px 0 36px;
  }

  .lendi-node-board {
    padding-top: 24px;
  }

  .lendi-node-board > .board-heading {
    position: static;
    right: 18px;
    left: 18px;
    max-width: none;
  }

  .lendi-node-board > .board-heading h2 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .lendi-flow-screen-groups {
    gap: 12px;
  }

  .lendi-flow-wide-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lendi-flow-mobile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .lendi-flow-shot {
    gap: 5px;
    padding: 5px;
    box-shadow: 4px 4px 0 var(--black);
    transform: none !important;
  }

  .lendi-flow-shot::before {
    display: none;
  }

  .lendi-flow-shot img {
    border-width: 1px;
  }

  .lendi-flow-shot figcaption {
    font-size: 10px;
    line-height: 14px;
  }

  .hero-polaroid {
    gap: 6px;
    padding: 8px 8px 10px;
    box-shadow: 4px 4px 0 var(--black);
  }

  .hero-pin {
    gap: 6px;
    padding: 12px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.9);
  }

  .hero-pin strong {
    font-size: clamp(19px, 7vw, 26px);
  }

  .hero-pin span {
    font-size: 11px;
    line-height: var(--small-line);
    max-width: 22ch;
    overflow-wrap: anywhere;
  }

  .story-hero-stickers {
    gap: 8px 10px;
    padding-top: 16px;
    padding-bottom: 8px;
  }

  .story-hero-sticker {
    width: calc(var(--sticker-size, 56px) * 0.68);
    height: calc(var(--sticker-size, 56px) * 0.68);
  }

  .story-hero-sticker-art {
    border-radius: 10px;
    padding: 2px;
    box-shadow: 3px 3px 0 var(--black);
  }

  .story-hero-sticker img {
    border-radius: 7px;
  }

  .story-hero-sticker::after {
    max-width: 56vw;
    font-size: 11px;
  }

  .case-board-hero-grid {
    gap: 22px;
    padding: 42px 0 24px;
  }

  .case-title-actions {
    gap: 8px;
  }

  .case-title-label {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
    line-height: var(--small-line);
  }

  body[data-case-id="lendi"] .case-title-note {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-title-copy {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .lendi-title-media {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    align-self: auto;
    flex-basis: auto;
    justify-self: stretch;
    width: 100%;
    height: auto;
    box-shadow: 5px 5px 0 var(--black);
    transform: rotate(0.6deg);
  }

  .lendi-title-media-frame {
    aspect-ratio: auto;
    height: 50vh;
    height: 50svh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .lendi-title-media img {
    width: 100%;
    height: auto;
    min-height: 100%;
    margin-left: 0;
  }

  .lendi-case-hero .case-hero-side {
    grid-template-columns: clamp(150px, 40vw, 178px) minmax(0, 1fr);
    gap: 12px;
  }

  .case-pdf-stack {
    align-self: center;
    justify-self: center;
    width: min(100%, 168px);
    min-width: 0;
    padding: 5px;
  }

  .case-pdf-page {
    width: min(42%, 74px);
    padding: 4px;
    box-shadow: 3px 3px 0 var(--black);
  }

  .case-pdf-page-back {
    top: 8px;
    right: -7px;
    transform: translate(0, -18px) rotate(6deg);
  }

  .case-pdf-page-middle {
    top: 8px;
    right: -4px;
    transform: translate(-3px, -13px) rotate(2deg);
  }

  .case-pdf-page-front {
    top: 8px;
    right: 4px;
    transform: translate(0, -5px) rotate(-3deg);
  }

  .case-pdf-magnifier {
    display: none;
  }

  .case-scope-note {
    gap: 6px;
    padding: 12px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.9);
  }

  .case-scope-note strong {
    font-size: clamp(19px, 6.4vw, 26px);
    line-height: 1.08;
  }

  .case-scope-note > span:not(.depth-badge) {
    display: none;
  }

  .case-scope-note span {
    font-size: 11px;
    line-height: var(--small-line);
  }

  .lendi-comparison-section {
    padding: 32px 0 58px;
  }

  .lendi-before-after-evidence {
    box-shadow: 6px 6px 0 var(--black);
  }

  .case-comparison-card {
    box-shadow: none;
    transform: none;
  }

  .case-comparison-copy {
    padding: 16px;
  }

  .case-comparison-copy h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .case-comparison-label {
    top: 8px;
    padding: 2px 6px;
    font-size: 10px;
    line-height: 14px;
    box-shadow: 2px 2px 0 var(--black);
  }

  .case-comparison-label-before {
    left: 8px;
  }

  .case-comparison-label-after {
    right: 8px;
  }

  .case-comparison-handle {
    width: 40px;
    height: 40px;
    box-shadow: 3px 3px 0 var(--black);
  }

  .lendi-flow-collage {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    padding: 16px;
  }

  .lendi-design-system-section {
    padding-bottom: 72px;
  }

  .lendi-design-system-showcase {
    padding: 22px;
    box-shadow: 6px 6px 0 var(--black);
  }

  .lendi-flow-screen-groups {
    gap: 12px;
  }

  .lendi-flow-wide-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lendi-flow-mobile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .lendi-flow-shot {
    transform: none !important;
    box-shadow: 4px 4px 0 var(--black);
  }

  .lendi-flow-shot-mobile {
    box-shadow: 4px 4px 0 var(--black);
  }

  .title-note {
    padding: 22px;
    box-shadow: 6px 6px 0 var(--black);
  }

  h1 {
    font-size: 40px;
    line-height: 48px;
  }

  h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .lead {
    font-size: 19px;
    line-height: 30px;
  }

  .title-note .lead {
    max-width: 26ch;
  }

  section {
    padding: 52px 0;
  }

  .proof-grid,
  .principle-grid,
  .case-summary,
  .next-grid,
  .footer .shell {
    grid-template-columns: 1fr;
  }

  body[data-case-id="millennium"] .millennium-case-summary {
    grid-template-columns: 1fr;
  }

  .lendi-sticker-summary .case-meta {
    box-shadow: 4px 4px 0 var(--black);
    transform: none;
  }

  .lendi-sticker-summary {
    width: calc(100% - 8px);
  }

  .hero-receipts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
  }

  .hero-receipts .stat {
    min-height: 116px;
    gap: 8px;
    padding: 14px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.9);
  }

  .hero-receipts .stat strong {
    font-size: clamp(24px, 7vw, 34px);
  }

  .hero-receipts .stat span {
    font-size: 11px;
    line-height: var(--small-line);
  }

  .lendi-flow-board {
    gap: 18px;
    min-height: 0;
    padding: 18px;
    box-shadow: 6px 6px 0 var(--black);
  }

  .lendi-flow-board::before {
    display: none;
  }

  .lendi-sticker-widget {
    padding-top: 0;
  }

  .lendi-lessons-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lendi-lessons-heading h2 {
    max-width: 12em;
    font-size: 32px;
    line-height: 38px;
  }

  .lendi-lesson-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .lendi-sticker-stack {
    min-width: 0;
    width: min(100%, 280px);
  }

  .node-media-client,
  .node-media-expert {
    transform: rotate(var(--photo-rotate));
  }

  .flow-branch-grid {
    grid-template-columns: 1fr;
  }

  .flow-block {
    min-height: 0;
  }

  .media-sticker,
  .media-sticker-video,
  .media-sticker-photo {
    margin-top: 0;
  }

  .media-frame {
    min-height: 124px;
  }

  .timeline.note-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 18px;
  }

  .timeline.note-wall .timeline-item:nth-child(-n + 2) {
    grid-column: 1 / -1;
  }

  .timeline.note-wall .timeline-item.timeline-item-rive {
    min-height: 278px;
    padding-left: clamp(106px, 31vw, 122px);
    padding-right: 74px;
  }

  .timeline-lendi-screen {
    left: 0;
    width: clamp(92px, 28vw, 108px);
    border-radius: 6px;
    padding: 2px;
    box-shadow: 4px 4px 0 var(--black);
  }

  .timeline-lendi-screen img {
    border-radius: 4px;
  }

  .jasne-store-badges {
    left: 8px;
    bottom: -10px;
    gap: 5px;
  }

  .jasne-store-badge {
    width: 78px;
    padding: 3px;
  }

  .jasne-store-badge-ios {
    transform: translateX(-2px) rotate(-2deg);
  }

  .jasne-store-badge-google {
    transform: translateX(10px) rotate(4deg);
  }

  .jasne-hero-map-sticker {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    top: auto;
    right: auto;
    left: auto;
    justify-self: start;
    width: 100%;
    margin: 0;
    transform: rotate(-1deg);
  }

  .jasne-case-hero .jasne-hero-side {
    --jasne-hero-media-row-height: auto;
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .jasne-mobile-showcase {
    grid-column: 1;
    grid-row: 1;
    width: 118px;
    justify-self: start;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 5px;
    height: auto;
    margin: 0;
    padding-right: 0;
  }

  .jasne-hero-video-card {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    width: 100%;
    max-width: 100%;
    transform: rotate(0.7deg);
  }

  .jasne-mobile-mockup {
    width: 54px;
    height: auto;
  }

  .jasne-mobile-mockup-video {
    width: 52px;
    height: auto;
    margin-bottom: 7px;
  }

  .jasne-mobile-shell {
    height: auto;
    border-radius: 12px;
    padding: 2px;
    box-shadow: 4px 4px 0 var(--black);
  }

  .jasne-hero-map-sticker {
    height: auto;
  }

  .jasne-mobile-shell img,
  .jasne-mobile-shell video {
    border-radius: 10px;
  }

  .jasne-hero-map-sticker img {
    height: auto;
    object-fit: contain;
  }

  .jasne-hero-map-lens {
    display: none;
  }

  .jasne-ruler-section {
    padding: 30px 0 48px;
  }

  .jasne-ruler-shell {
    gap: 18px;
  }

  .jasne-ruler-track {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .jasne-ruler-card {
    min-height: 0;
    box-shadow: 5px 5px 0 var(--black);
  }

  .jasne-steps-section {
    padding: 28px 0 50px;
  }

  .jasne-steps-heading {
    gap: 8px;
    margin-bottom: 18px;
  }

  .jasne-step-list {
    gap: 16px;
  }

  .jasne-step-card {
    grid-template-columns: 1fr;
    box-shadow: 5px 5px 0 var(--black);
  }

  .jasne-step-visual {
    min-height: 194px;
    border-right: 0;
    border-bottom: 2px solid var(--black);
  }

  .jasne-step-visual img {
    max-height: 224px;
  }

  .jasne-step-copy {
    gap: 8px;
    padding: 18px;
  }

  .jasne-step-copy h3 {
    font-size: 21px;
    line-height: 28px;
  }

  .jasne-step-copy p {
    font-size: 12px;
    line-height: var(--small-line);
  }

  .jasne-product-screens-section {
    padding: 18px 0 54px;
  }

  .jasne-product-screen-track {
    grid-auto-columns: minmax(156px, 66vw);
    gap: 12px;
    margin-right: -14px;
    padding-right: 14px;
  }

  .timeline-rive {
    width: 64px;
  }

  .timeline.note-wall .timeline-item {
    grid-column: span 1;
    min-height: 0;
  }

  .timeline.note-wall .timeline-title {
    font-size: 22px;
    line-height: 28px;
  }

  .timeline.note-wall .timeline-summary {
    font-size: 12px;
    line-height: var(--small-line);
  }

  .timeline.note-wall .timeline-item.timeline-item-jasne {
    --jasne-card-screen-right: 4px;
    --jasne-card-screen-width: clamp(84px, 26vw, 104px);
    --jasne-card-badge-overlap: 12px;
    --jasne-card-asset-shift: 12px;
    min-height: 326px;
    padding-right: 18px;
    padding-bottom: 20px;
  }

  .timeline-jasne-screen {
    top: auto;
    right: calc(var(--jasne-card-screen-right) - var(--jasne-card-asset-shift));
    bottom: 16px;
    width: var(--jasne-card-screen-width);
    border-radius: 14px;
    padding: 2px;
    box-shadow: 4px 4px 0 var(--black);
    transform: rotate(3.2deg);
  }

  .timeline-jasne-screen img {
    border-radius: 12px;
  }

  .timeline-item-jasne:hover .timeline-jasne-screen,
  .timeline-item-jasne:focus-visible .timeline-jasne-screen,
  .timeline-item-jasne:focus-within .timeline-jasne-screen {
    transform: translateY(-4px) rotate(3.2deg);
  }

  .timeline-app-badges {
    right: calc(var(--jasne-card-screen-right) + var(--jasne-card-screen-width) - var(--jasne-card-badge-overlap) - var(--jasne-card-asset-shift));
    top: auto;
    bottom: 36px;
    gap: 6px;
  }

  .timeline-app-badge {
    width: clamp(76px, 24vw, 96px);
    padding: 3px;
  }

  .timeline.note-wall .timeline-item-jasne .timeline-summary {
    display: block;
    max-width: 13.5rem;
  }

  .portfolio-survey {
    gap: 14px;
    width: min(100%, 480px);
    margin-top: 36px;
    padding: 0;
    box-shadow: none;
  }

  .portfolio-survey::before {
    display: none;
  }

  .portfolio-survey::after {
    display: none;
  }

  .portfolio-survey-copy h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .portfolio-star {
    width: clamp(30px, 10vw, 38px);
  }

  .portfolio-star span[aria-hidden="true"] {
    font-size: clamp(24px, 8vw, 32px);
  }

  .portfolio-survey-followup textarea {
    min-height: 96px;
  }

  .stat,
  .principle,
  .case-meta {
    border-right: 0;
    border-bottom: 2px solid var(--black);
  }

  .stat:last-child,
  .principle:last-child,
  .case-meta:last-child {
    border-bottom: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-time {
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    border-right: 0;
    border-bottom: 2px solid var(--black);
  }

  .timeline-body,
  .case-panel {
    padding: 20px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .case-footer .shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px 14px;
  }

  .case-footer-rating {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: stretch;
  }

  .case-footer-prev {
    grid-column: 1;
    grid-row: 2;
  }

  .case-footer-next {
    grid-column: 2;
    grid-row: 2;
  }

  .node-detail-shell {
    align-items: end;
    padding: 10px;
  }

  .node-detail-panel {
    grid-template-rows: 66px minmax(0, 1fr);
    height: calc(100svh - 20px);
    max-height: calc(100svh - 20px);
    box-shadow: 6px 6px 0 var(--black);
  }

  .node-detail-head {
    grid-template-rows: 24px 24px;
    gap: 4px 10px;
    height: 66px;
    padding: 8px 12px;
  }

  .node-detail-title {
    max-width: 8.5rem;
    font-size: 16px;
    line-height: 1.05;
  }

  .node-detail-tabs {
    gap: 4px;
  }

  .node-detail-tab {
    max-width: 10rem;
    height: 22px;
    padding: 0 4px;
    font-size: 10px;
  }

  .node-detail-body {
    overscroll-behavior: contain;
  }

  .node-detail-section {
    gap: 16px;
    padding: 18px 16px;
  }

  .node-detail-description {
    margin-left: 26px;
  }

  .node-detail-card-preview {
    min-height: 170px;
    padding: 16px;
    box-shadow: 4px 4px 0 var(--black);
  }

  .node-info-popover {
    display: none;
  }
}

@media (max-width: 1040px) {
  .jasne-case-page .case-board-hero-grid {
    grid-template-columns: 1fr;
  }

  .jasne-case-hero .case-title-stack {
    display: grid;
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
    max-width: 760px;
  }

  .jasne-case-hero .case-title-note,
  .jasne-case-hero .jasne-hero-side {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .jasne-case-hero .jasne-hero-side {
    justify-items: stretch;
    width: min(100%, 760px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .jasne-step-image-3d,
  .jasne-step-image-mockup {
    transition: none;
  }
}
