@font-face {
  font-family: "Damion";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/damion-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --ink: #293056;
  --body: #424242;
  --muted: #717680;
  --line: #e9eaeb;
  --white: #ffffff;
  --nav: #0f0f0f;
  --content: 1040px;
  --header: 1092px;
  --blue: #32a9fe;
  --pink: #e571bd;
  --amber: #fea60e;
  --elev-1: 0 2px 6px rgba(15, 15, 15, 0.06), 0 1px 2px rgba(15, 15, 15, 0.04);
  --elev-2: 0 10px 28px rgba(15, 15, 15, 0.10), 0 3px 8px rgba(15, 15, 15, 0.06);
  --elev-3: 0 18px 44px rgba(15, 15, 15, 0.14), 0 6px 16px rgba(15, 15, 15, 0.08);
  --elev-4: 0 28px 72px rgba(15, 15, 15, 0.20), 0 10px 24px rgba(15, 15, 15, 0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

img {
  border: 0;
}

button,
input {
  font: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 30;
  padding: 8px 12px;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.page {
  position: relative;
  min-height: 100%;
  overflow-x: clip;
}

.aurora {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 289px;
  margin-bottom: -289px;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, #ffffff 57.5%),
    linear-gradient(91.43deg, var(--blue) 0%, var(--pink) 55.619%, var(--amber) 99.513%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  width: min(var(--header), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
  color: #0f0f0f;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 64px;
  box-shadow:
    -10px 10px 40px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  backdrop-filter: blur(24px) saturate(1.5);
}

.menu-bar {
  display: contents;
}

.logo {
  color: #0f0f0f;
  font-family: "Damion", cursive;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -6px -8px -6px 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #0f0f0f;
  cursor: pointer;
}

.menu-toggle .hgi {
  display: block;
  width: 24px;
  height: 24px;
  color: #0f0f0f;
  font-size: 24px;
  font-style: normal;
  line-height: 1;
}

.menu-toggle .hgi::before {
  display: block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 8px;
  color: #2e2e2e;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a,
.nav-links a:hover,
.nav-links a:active,
.nav-links a[aria-current="page"] {
  background: transparent;
  text-decoration: none;
}

.logo:focus-visible,
.menu-toggle:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid #0f0f0f;
  outline-offset: 3px;
}

.social:focus-visible,
.email:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 5.56vw, 80px);
  padding-top: 48px;
}

.block,
.site-footer {
  width: min(var(--content), calc(100% - clamp(40px, 16vw, 400px)));
  margin-inline: auto;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 6.67vw, 96px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story .kicker {
  margin-bottom: 40px;
}

.kicker-mark {
  flex: none;
  width: 4px;
  height: 24px;
  border-radius: 16px;
  background: var(--ink);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 362px;
  gap: 40px;
  align-items: start;
}

.story-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.lede {
  margin: 0;
  color: #292929;
  font-size: clamp(18px, 1.67vw, 24px);
  font-weight: 500;
  line-height: 2;
}

.portrait {
  margin: 0;
  width: 362px;
  max-width: 100%;
  aspect-ratio: 362 / 619.437;
  overflow: hidden;
  border: 4px solid var(--white);
  border-radius: 24px;
  background: var(--white);
  box-shadow:
    0 42px 217px rgba(0, 0, 0, 0.05),
    0 17.547px 90.657px rgba(0, 0, 0, 0.04),
    0 9.381px 48.47px rgba(0, 0, 0, 0.03),
    0 5.259px 27.172px rgba(0, 0, 0, 0.03),
    0 2.793px 14.431px rgba(0, 0, 0, 0.02),
    0 1.162px 6.005px rgba(0, 0, 0, 0.01);
}

.portrait img {
  display: block;
  width: 100%;
  height: 103.84%;
  max-width: none;
  margin-top: -2.33%;
  object-fit: cover;
}

.body-copy {
  margin: 0;
  color: #292929;
  font-size: clamp(17px, 1.53vw, 22px);
  font-weight: 400;
  line-height: 1.7273;
}

.roles,
.achievements {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4.17vw, 60px);
}

.role h3,
.achievement strong {
  font-weight: 600;
}

.achievement {
  line-height: 1.9;
}

.role h3 {
  margin: 0 0 12px;
  font-size: inherit;
  line-height: inherit;
}

.role .when {
  font-weight: 400;
}

.role-link,
.role-link:hover,
.role-link:focus-visible {
  color: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: none;
}

.role p,
.role li {
  margin: 0;
  line-height: 1.9;
}

.role ul {
  margin: 20px 0 0;
  padding-left: 33px;
}

.role li + li {
  margin-top: 10px;
}

.closing {
  text-align: left;
}

.email,
.email-mark {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.email {
  color: inherit;
}

.email:hover {
  color: #121212;
}

.site-footer {
  padding-top: 40px;
  padding-bottom: clamp(24px, 3vw, 40px);
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  padding-top: 32px;
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 80px;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
}

.social:hover {
  color: var(--ink);
}

.social img {
  width: 24px;
  height: 24px;
  flex: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.placeholder {
  max-width: 42rem;
}

.hero {
  text-align: left;
}

.hero h1 {
  margin: 0;
  color: #0f0f0f;
  font-size: clamp(34px, 4.17vw, 60px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin-top: 40px;
}

.intro p {
  margin: 0;
  max-width: 100%;
  color: #292929;
  font-size: clamp(18px, 1.67vw, 24px);
  font-weight: 500;
  line-height: 1.8;
}

.hero .intro .mark {
  color: #0F0F0F;
  font-weight: 700;
}

.hero .intro a.mark,
.hero .intro a.mark:link,
.hero .intro a.mark:visited,
.hero .intro a.mark:focus,
.hero .intro a.mark:active,
.hero .intro a.mark:any-link {
  color: #0F0F0F !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-line: underline !important;
  text-decoration-color: #0F0F0F !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 6px !important;
  cursor: pointer;
}

.hero .intro a.mark:hover,
.hero .intro a.mark:focus-visible {
  color: #0F0F0F !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-line: underline !important;
  text-decoration-color: #0F0F0F !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 6px !important;
  cursor: pointer;
}

html.has-cursor .hero .intro a.mark,
html.has-cursor .hero .intro a.mark:hover,
html.has-cursor .hero .intro a.mark:focus-visible {
  cursor: pointer !important;
}

.home-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.home-section .kicker {
  margin: 0;
}

/* Playground heading only: label sits close to the sentence, images stay a step below. */
.home-section:has(#playground-heading) {
  gap: 14px;
}

.home-section:has(#playground-heading) > .shots {
  margin-top: 10px;
}

.cases {
  display: flex;
  flex-direction: column;
  gap: 72px;
  width: calc(100% + 16px);
  margin-top: 16px;
  margin-left: -8px;
}

.case {
  position: relative;
  margin: 0;
}

.case-media {
  position: relative;
  aspect-ratio: 1056 / 480;
  overflow: hidden;
  border-radius: 24px;
  background: #e9eaeb;
  box-shadow: 0 8px 24px rgba(15, 15, 15, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.case-link {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}

.case-link:focus-visible {
  outline: 2px solid #0f0f0f;
  outline-offset: 4px;
}

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

.case-preview {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  height: 72.5%;
  margin: 0;
  padding: 0 35px 60px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(to top, #000000 0%, rgba(115, 115, 115, 0) 100%);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.case-title {
  margin: 0;
  max-width: 22em;
  color: #ffffff;
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.222;
  letter-spacing: -0.02em;
}

.case-desc {
  margin: 0;
  max-width: 46em;
  color: #ffffff;
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 500;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .case:hover,
  .case:focus-within {
    z-index: 2;
  }

  .case:hover .case-media,
  .case:focus-within .case-media {
    transform: translateY(-14px);
    box-shadow:
      0 28px 56px rgba(15, 15, 15, 0.22),
      0 12px 24px rgba(15, 15, 15, 0.16);
  }

  .case:hover .case-preview,
  .case:focus-within .case-preview {
    opacity: 1;
  }
}

.shots {
  display: grid;
  grid-template-columns: minmax(0, 328.495fr) minmax(0, 334.654fr) minmax(0, 330.548fr);
  gap: 24px;
  align-items: start;
  width: 100%;
}

.shot {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 16.638px;
  background: #e9eaeb;
}

.shot-link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
}

.shot img {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: cover;
}

.shot-a {
  aspect-ratio: 328.495 / 247.397;
}

.shot-a img {
  top: calc(100% * -6.159 / 247.397);
  left: calc(100% * -10.265 / 328.495);
  width: calc(100% * 349.025 / 328.495);
  height: calc(100% * 261.769 / 247.397);
}

.shot-b {
  aspect-ratio: 334.654 / 250.477;
}

.shot-b img,
.shot-c img {
  inset: 0;
  width: 100%;
  height: 100%;
}

.shot-c {
  aspect-ratio: 330.548 / 248.424;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 20px;
  height: 20px;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
}

.cursor-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #0f0f0f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition:
    transform 120ms cubic-bezier(0.22, 0.8, 0.28, 1),
    background-color 120ms ease,
    border-color 120ms ease,
    border-radius 120ms ease,
    box-shadow 120ms ease;
}

.cursor-ring.is-on {
  opacity: 1;
}

.cursor-ring.is-hidden,
.cursor-ring.is-native {
  opacity: 0;
}

.cursor-ring.is-link::before {
  transform: scale(1.35);
  background: #ffffff;
  border-color: #0f0f0f;
}

.cursor-ring.is-text::before {
  transform: scaleX(0.1) scaleY(1.05);
  border-radius: 1px;
  background: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

.cursor-ring.is-down::before {
  transform: scale(0.82);
}

.cursor-ring.is-link.is-down::before {
  transform: scale(1.08);
}

html.has-cursor,
html.has-cursor * {
  cursor: none !important;
}

html.has-cursor input,
html.has-cursor textarea,
html.has-cursor select,
html.has-cursor option,
html.has-cursor [contenteditable="true"] {
  cursor: text !important;
}

.mark:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (hover: none), (pointer: coarse) {
  .cursor-ring {
    display: none;
  }

  html.has-cursor,
  html.has-cursor * {
    cursor: auto !important;
  }
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .story-copy {
    width: 100%;
  }

  .portrait {
    width: min(362px, 100%);
  }
}

.menu-backdrop {
  display: none;
}

html.menu-scroll-lock,
body.menu-scroll-lock {
  overflow: hidden;
  overscroll-behavior: none;
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 24px, var(--header));
    padding: 16px 0;
  }

  html.menu-scroll-lock .page {
    padding-top: var(--header-lock-space, 0px);
  }

  .site-header:has(.menu.is-open) {
    position: fixed;
    top: max(16px, env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    left: max(12px, env(safe-area-inset-left, 0px));
    z-index: 30;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(15, 15, 15, 0.34);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
  }

  .menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Compact pill only. Glass stays on the bar so it cannot trap the sheet. */
  .menu {
    display: block;
    position: relative;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: none;
  }

  .menu-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    color: #0f0f0f;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 64px;
    box-shadow:
      -10px 10px 40px rgba(0, 0, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    backdrop-filter: blur(24px) saturate(1.5);
  }

  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-links {
    display: flex;
    position: absolute;
    z-index: 2;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    width: auto;
    max-height: none;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    margin: 0;
    padding: 8px;
    list-style: none;
    color: #0f0f0f;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    box-shadow:
      0 16px 40px rgba(15, 15, 15, 0.12),
      0 2px 8px rgba(15, 15, 15, 0.06);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
    overflow: visible;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 300ms ease,
      transform 300ms ease,
      visibility 0s linear 300ms;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity 300ms ease,
      transform 300ms ease,
      visibility 0s linear 0s;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    color: #0f0f0f;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    white-space: normal;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(15, 15, 15, 0.05);
    text-decoration: none;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 32px;
  }

  .role ul {
    padding-left: 22px;
  }

  .cases {
    width: 100%;
    margin-top: 8px;
    margin-left: 0;
    gap: 40px;
  }

  .case-preview {
    gap: 8px;
    padding: 0 16px 20px;
  }

  .case-title {
    font-size: 22px;
  }

  .shots {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    max-width: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .case-media,
  .case-preview {
    transition: none;
  }

  .case-preview {
    position: static;
    height: auto;
    opacity: 1;
    margin-top: 16px;
    padding: 0;
    background: none;
    pointer-events: auto;
  }

  .case-title {
    color: #0f0f0f;
  }

  .case-desc {
    color: #424242;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cursor-ring,
  .cursor-ring.is-on,
  .cursor-ring::before,
  .case-media,
  .case-preview,
  .menu,
  .menu.is-open,
  .menu-icon-line,
  .menu-backdrop,
  .menu-backdrop.is-open,
  .nav-links,
  .nav-links.is-open {
    transition: none;
  }

  .nav-links,
  .nav-links.is-open {
    transform: none;
  }

  .case:hover .case-media,
  .case:focus-within .case-media {
    transform: none;
  }
}

.study h2 {
  margin: 0;
  color: #0f0f0f;
  font-size: clamp(26px, 2.22vw, 32px);
  font-weight: 600;
  line-height: 1.375;
  letter-spacing: -0.02em;
}

.study-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.study-badge {
  margin: 0;
  padding: 8px 16px;
  border: 1px solid #ffdbdb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #0f0f0f;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.study-hero h1 {
  margin: 0;
  color: #0f0f0f;
  font-size: clamp(32px, 2.78vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.study-lead {
  margin: -20px 0 16px;
  color: #424242;
  font-size: clamp(18px, 1.39vw, 20px);
  font-weight: 500;
  line-height: 1.6;
}

.study-prose {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0 0;
  color: #424242;
  font-size: clamp(17px, 1.39vw, 20px);
  font-weight: 500;
  line-height: 1.6;
}

.study-prose p,
.competitor-copy p {
  margin: 0;
}

.study-prose-narrow {
  max-width: 62em;
}

.study-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.study-copy .study-prose {
  margin-top: 0;
}

.hero-stage {
  width: 100%;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 40px;
  background: linear-gradient(to bottom, #e9efff, #f6f0f2);
  box-shadow: var(--elev-3);
}

.hero-stage img,
.hero-stage iframe {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.projects .hero-stage:has(iframe) {
  position: relative;
  aspect-ratio: 1040 / 658;
}

.projects .hero-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 32px;
  margin: 24px 0 0;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(to bottom, rgba(234, 239, 254, 0.6), rgba(245, 240, 242, 0.6));
  box-shadow: var(--elev-2);
}

.facts > div {
  flex: 0 0 auto;
  min-width: 0;
}

.facts-wide {
  flex-basis: 100%;
}

.facts dt {
  margin: 0 0 8px;
  color: #737373;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.facts dd {
  margin: 0;
  color: #0f0f0f;
  font-size: clamp(18px, 1.39vw, 20px);
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}

.process-figure,
.mind-map,
.journey-figure {
  margin: 16px 0 0;
}

.process-figure {
  position: relative;
  aspect-ratio: 1040 / 167.14;
  overflow: hidden;
}

.process-figure img {
  position: absolute;
  top: -46.68%;
  left: -1%;
  width: 102%;
  height: 274.57%;
  max-width: none;
}

.mind-maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 16px;
}

.mind-map {
  position: relative;
  overflow: hidden;
}

.mind-map-business {
  aspect-ratio: 500 / 670.214;
}

.mind-map-user {
  aspect-ratio: 500 / 611.059;
}

.mind-map img {
  position: absolute;
  max-width: none;
}

.mind-map-business img {
  top: 0;
  left: -1.64%;
  width: 126.42%;
  height: 104.81%;
}

.mind-map-user img {
  top: -1.94%;
  left: -1.51%;
  width: 122.18%;
  height: 109.68%;
}

.persona-pains {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-top: 40px;
}

.pain-card,
.persona-card,
.solution-steps li {
  border: 1px solid #e5e5e5;
  background: #fff;
  box-shadow: var(--elev-2);
}

.pain-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 25px;
  border-radius: 40px;
}

.pain-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.insight-panel .pain-head {
  gap: 24px;
}

.pain-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
}

.pain-icon img {
  width: 24px;
  height: 24px;
}

.pain-icon-blue { background: #eff8ff; }
.pain-icon-green { background: #ecfdf3; }
.pain-icon-rose { background: #fff1f3; }
.pain-icon-gray { background: rgba(229, 229, 229, 0.5); }

.pain-card h3,
.insight-panel h3,
.persona-card h3 {
  margin: 0;
  color: #0f0f0f;
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;
}

.pain-card h4 {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
  color: #0f0f0f;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.study-list,
.persona-card ul {
  margin: 0;
  padding-left: 1.35em;
  color: #424242;
  font-weight: 500;
}

.study-list {
  font-size: clamp(17px, 1.39vw, 20px);
  line-height: 1.6;
}

.study-list li + li,
.persona-card li + li {
  margin-top: 12px;
}

.study-list-tight li + li {
  margin-top: 8px;
}

.insight-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 40px;
  margin-top: 40px;
  padding: 24px;
  border-radius: 24px;
  background: #f5f5f5;
}

.insight-panel > div:not(.insight-rule) {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.insight-rule {
  background: #e5e5e5;
}

.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.persona-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 327px;
  padding: 24px;
  border: 0;
  border-radius: 40px;
  background: #f7f7f7;
  box-shadow: none;
}

.persona-id {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.persona-id img {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 999px;
  object-fit: cover;
}

.avatar-nikhil { background: #dbcabd; }
.avatar-sreekanth { background: #d1d2e3; }
.avatar-siddharth { background: #e0e0e0; }

.persona-id h3 {
  font-size: 20px;
  line-height: 1.2;
}

.persona-id p {
  margin: 4px 0 0;
  color: #424242;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.persona-id span {
  margin: 0 8px;
  color: #a3a3a3;
}

.persona-card h4 {
  margin: 0;
  color: #424242;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.persona-card ul {
  font-size: 16px;
  line-height: 1.25;
}

.solution {
  padding: 24px 24px 0;
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  background: #f7f7f7;
}

.solution h2 {
  font-size: clamp(24px, 1.94vw, 28px);
  letter-spacing: -0.02em;
}

.solution-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.solution-steps li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 282px;
  margin-bottom: -1px;
  padding: 24px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 20px 12px rgba(10, 13, 18, 0.02);
}

.solution-steps span {
  color: #a3a3a3;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.solution-steps p {
  margin: 0;
  color: #424242;
  font-size: clamp(17px, 1.39vw, 20px);
  font-weight: 500;
  line-height: 1.6;
}

.competitor {
  display: grid;
  grid-template-columns: minmax(0, 392px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.competitor-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.competitor-copy p {
  color: #424242;
  font-size: clamp(17px, 1.39vw, 20px);
  font-weight: 500;
  line-height: 1.6;
}

.competitor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.competitor-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 52px;
  background: rgba(255, 255, 255, 0.7);
  color: #0f0f0f;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.comp-logo {
  position: relative;
  display: block;
  overflow: hidden;
  flex: none;
}

.comp-logo img {
  position: absolute;
  max-width: none;
}

.comp-logo-cover {
  width: 20px;
  height: 20px;
}

.comp-logo-cover img,
.comp-logo-mark img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comp-logo-mark {
  width: 20px;
  height: 20px;
  border-radius: 33px;
}

.comp-logo-mark img {
  border-radius: 33px;
}

.comp-logo-ramp {
  width: 21.389px;
  height: 20px;
}

.comp-logo-ramp img {
  top: 0;
  left: -33.35%;
  width: 166.23%;
  height: 100%;
}

.comp-logo-brex {
  width: 20px;
  height: 15.786px;
}

.comp-logo-brex img {
  top: -155.72%;
  left: -14.39%;
  width: 324.07%;
  height: 410.57%;
}

.comp-logo-pleo {
  width: 24px;
  height: 11.48px;
}

.comp-logo-pleo img {
  top: -54.53%;
  left: 0;
  width: 100%;
  height: 209.05%;
}

.competitor-sheet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.competitor-sheet img {
  width: 100%;
  height: auto;
  border: 0.94px solid #e5e5e5;
  border-radius: 12px;
  box-shadow:
    0 11px 8px rgba(10, 13, 18, 0.08),
    0 4px 3px rgba(10, 13, 18, 0.03),
    0 2px 1px rgba(10, 13, 18, 0.04);
}

.competitor-sheet a {
  color: #1570ef;
  font-size: 12px;
  font-weight: 500;
  line-height: 32px;
  text-underline-offset: 2px;
}

.journey-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.journey-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  cursor: zoom-in;
}

.journey-open:focus-visible {
  outline: 2px solid #0f0f0f;
  outline-offset: 4px;
}

.journey-preview {
  width: min(1440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 16px;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--elev-4);
}

.journey-preview::backdrop {
  background: rgba(15, 15, 15, 0.72);
}

.journey-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.journey-preview-bar p {
  margin: 0;
  color: #0f0f0f;
  font-size: 16px;
  font-weight: 600;
}

.journey-close {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: #0f0f0f;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
}

.journey-close:focus-visible {
  outline: 2px solid #0f0f0f;
  outline-offset: 3px;
}

.journey-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.live-preview {
  margin: 24px 0 0;
  overflow: hidden;
  border-radius: 24px;
}

.live-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-stage {
  position: relative;
  padding: 48px 24px 56px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(to bottom, #e9efff, #f6f0f2);
  text-align: center;
}

.phone-stage h2 {
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.phones {
  display: flex;
  justify-content: center;
  gap: 40px;
  filter:
    drop-shadow(0 100px 40px rgba(0, 0, 0, 0.05))
    drop-shadow(0 22px 9px rgba(0, 0, 0, 0.03));
}

.phones img {
  width: min(146px, 16vw);
  height: auto;
  border-radius: 16px;
}

@media (max-width: 980px) {
  .facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .facts-wide {
    grid-column: 1 / -1;
  }

  .facts dd {
    white-space: normal;
  }

  .persona-pains,
  .solution-steps,
  .competitor,
  .mind-maps,
  .persona-grid {
    grid-template-columns: 1fr;
  }

  .mind-map-business,
  .mind-map-user {
    aspect-ratio: 500 / 640;
  }

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

  .insight-rule {
    height: 1px;
  }

  .phones {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .phones img {
    width: 132px;
  }

  .solution-steps li {
    min-height: 0;
    margin-bottom: 0;
    border-radius: 16px;
  }

  .solution {
    padding-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .facts {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    border-radius: 24px;
  }

  .pain-card,
  .persona-card {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.js-ready .rise {
    transition:
      opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--rise-delay, 0ms);
  }

  html.js-ready .rise:not(.is-in) {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }

  html.js-ready .rise.rise-media:not(.is-in) {
    transform: translate3d(0, 56px, 0) scale(0.975);
  }

  html.js-ready .rise.is-in {
    opacity: 1;
    transform: none;
  }
}


.projects {
  --elev-1: none;
  --elev-2: none;
  --elev-3: none;
  --elev-4: none;
  gap: clamp(40px, 5.56vw, 80px);
  overflow-x: clip;
}

#compare-preview {
  box-shadow: none;
}

.projects .study-hero {
  align-items: flex-start;
  text-align: left;
  gap: 16px;
}

.projects .study-lead {
  margin: 0;
  max-width: 42em;
  color: #292929;
  font-weight: 400;
  line-height: 2;
}

.projects .study-prose {
  color: #292929;
  font-weight: 400;
  line-height: 2;
}

.projects .study-list {
  margin-top: 16px;
}

.projects-facts-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  overflow: hidden;
  padding: 40px 40px 0;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 42.496%, rgba(255, 255, 255, 0.63) 100%),
    linear-gradient(122.4deg, #32a9fe 6.046%, #e571bd 58.554%, #fea60e 100%);
}

.projects-facts-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 40px 0 40px;
  overflow-wrap: break-word;
}

.projects-facts-copy h2 {
  margin: 0;
  color: #0f0f0f;
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.02em;
}

.projects-facts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
}

.projects-facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.projects-facts dt {
  margin: 0;
  color: #737373;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.projects-facts dd {
  margin: 0;
  color: #0f0f0f;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

.projects-facts-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 414.332 / 502.965;
  overflow: hidden;
  pointer-events: none;
}

.projects-facts-visual img {
  display: block;
  position: absolute;
  left: -56.77%;
  top: -14.72%;
  width: 170.03%;
  height: 114.72%;
  max-width: none;
}

.projects-figure {
  margin: 24px 0 0;
}

.projects-figure + .projects-figure {
  margin-top: 24px;
}

.projects-screens {
  aspect-ratio: 1280 / 1420;
  overflow: hidden;
}

.projects-screens img {
  width: 100%;
  max-width: none;
  height: auto;
}

.projects-figure-ui {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--elev-3);
}

.projects-figure img,
.projects-shot {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: transparent;
}

.projects-italic,
.projects-hmw {
  font-style: italic;
}

.projects strong {
  font-weight: 600;
  color: #0f0f0f;
}

.projects-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  box-shadow: var(--elev-2);
}

.projects-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  background: #fff;
  color: #292929;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
}

.projects-table th,
.projects-table td {
  padding: 16px 18px;
  vertical-align: top;
}

.projects-table thead th {
  background: #f7f7f7;
  color: #0f0f0f;
  font-size: 18px;
  font-weight: 600;
}

.projects-table tbody th {
  font-weight: 600;
  color: #0f0f0f;
}

.projects-table tr + tr th,
.projects-table tr + tr td {
  border-top: 1px solid #e5e5e5;
}

.projects-pain {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.projects-pain-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.projects-pain-copy p {
  margin: 0;
  max-width: 796px;
  color: #292929;
  font-size: 18px;
  font-weight: 400;
  line-height: 36px;
}

.projects-pain .projects-table-wrap {
  margin-top: 0;
  box-shadow: none;
}

.projects-pain .projects-table {
  min-width: 0;
  table-layout: fixed;
  color: #292929;
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
}

.projects-pain .projects-table th,
.projects-pain .projects-table td {
  width: 25%;
  padding: 6px 16px;
  vertical-align: middle;
  border-right: 1px solid #e5e5e5;
  overflow-wrap: break-word;
}

.projects-pain .projects-table th:last-child,
.projects-pain .projects-table td:last-child {
  border-right: 0;
}

.projects-pain .projects-table thead th {
  color: #0f0f0f;
  font-size: 18px;
  font-weight: 600;
  line-height: 34px;
}

.projects-pain .projects-table tbody th {
  font-weight: 500;
  color: #292929;
}

.projects-pain .projects-table tbody tr th,
.projects-pain .projects-table tbody tr td {
  border-top: 1px solid #e5e5e5;
}

.projects-problem-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.projects-problem-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.projects-problem-copy p {
  margin: 0;
  color: #292929;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

.projects-problem {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 32px;
  background:
    linear-gradient(0deg, #ffffff 20.619%, rgba(255, 255, 255, 0.7) 100%),
    linear-gradient(197.75deg, rgba(50, 169, 254, 0.7) 21.225%, rgba(229, 113, 189, 0.7) 53.191%, rgba(254, 166, 14, 0.7) 78.422%);
}

.projects-problem-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.projects-problem-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(50% - 8px);
  min-width: min(100%, 260px);
  gap: 12px;
  padding: 20px 24px;
  border-radius: 20px;
  background: #fff;
}

.projects-problem-card.projects-problem-wide {
  flex: 1 1 100%;
}

.projects-problem-card h3 {
  margin: 0;
  color: #0f0f0f;
  font-size: 20px;
  font-weight: 600;
  line-height: 34px;
}

.projects-cards h3,
.projects-problem-card p {
  margin: 0;
  color: #0f0f0f;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
}

.projects-cards p {
  margin: 0;
  color: #292929;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.projects-problem .projects-hmw {
  margin: 0;
  color: #0f0f0f;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

.projects-roles {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.projects-research-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(1040px, calc(100% - 48px));
  padding: 8px 24px 24px;
}

.projects-research-block #research-heading {
  margin: 0;
}

.projects-research-block .study-prose {
  margin: 0;
}

.projects-research {
  display: grid;
  grid-template-columns: 58fr 44fr;
  gap: 20px;
  align-items: center;
}

.projects-pills {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.projects-pills li {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 6px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  background: #fff;
  color: #0f0f0f;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

.projects-pill-dot {
  position: relative;
  flex: none;
  width: 10px;
  height: 10px;
}

.projects-pill-dot img {
  position: absolute;
  top: -2.5px;
  left: -2.5px;
  display: block;
}

.projects-pills li > span:last-child {
  min-width: 0;
}

.projects-pills strong {
  font-weight: 600;
  color: #0f0f0f;
}

.projects-compare {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.15)),
    linear-gradient(140deg, #d9e6ff, #f6d4ea 55%, #ffe4cc);
  box-shadow: var(--elev-3);
}

.projects-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.projects-chips li {
  display: flex;
  align-items: center;
}

.projects-chips a,
.projects-chips span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #0f0f0f;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--elev-1);
}

.projects-chips a:hover,
.projects-chips a:focus-visible {
  background: #fff;
  box-shadow: var(--elev-2);
}

.projects-chips img {
  display: block;
  width: 16px;
  height: 16px;
}

.projects-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: #0f0f0f;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    -6px 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
  backdrop-filter: blur(18px) saturate(1.45);
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    color 200ms ease;
}

.projects-cta svg {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
}

.projects-cta:hover,
.projects-cta:focus-visible {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(255, 255, 255, 0.95);
  color: #0f0f0f;
  box-shadow:
    -8px 10px 28px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.projects-cta:focus-visible {
  outline: 2px solid #0f0f0f;
  outline-offset: 3px;
}

.projects-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.projects-personas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 24px;
}

.projects-persona {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  background: #fff;
}

.projects-cards article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--elev-2);
}

.projects-persona-top,
.projects-persona-goals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.projects-persona-name {
  display: flex;
  align-items: center;
  gap: 16px;
}

.projects-persona-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 14px;
  border-radius: 30px;
  background: #f7f7f7;
}

.projects-persona-icon img {
  display: block;
  width: 16px;
  height: 16px;
}

.projects-persona h3,
.projects-persona h4 {
  margin: 0;
  color: #0f0f0f;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.projects-persona-top > p {
  margin: 0;
  color: #737373;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.projects-persona-goals p {
  margin: 0;
  color: #0f0f0f;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
}

.projects-spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 0;
}

.projects-spec div {
  padding: 20px 24px;
  border-radius: 20px;
  background: #f7f7f7;
  box-shadow: var(--elev-1);
  text-align: center;
}

.projects-spec dt {
  margin: 0 0 6px;
  color: #0f0f0f;
  font-size: 16px;
  font-weight: 600;
}

.projects-spec dd {
  margin: 0;
  color: #292929;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.projects-conclusions-block {
  container-type: inline-size;
}

.projects-conclusions-wrap {
  height: calc(320px * min(1, 100cqi / 1040px));
  margin: 24px 0 0;
  overflow: hidden;
}

.projects-conclusions {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 1040px;
  height: 320px;
  margin: 0;
  transform: scale(min(1, 100cqi / 1040px));
  transform-origin: top left;
}

.projects-conclusion {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 96px;
  padding: 16px;
  border-radius: 20px;
  background: #f7f7f7;
  text-align: center;
}

.projects-conclusion-lg {
  width: 438px;
}

.projects-conclusion-md {
  width: 388px;
}

.projects-conclusion-sm {
  width: 354px;
}

.projects-conclusion dt,
.projects-conclusion dd {
  margin: 0;
  color: #292929;
  font-size: 16px;
  line-height: 32px;
}

.projects-conclusion dt {
  font-weight: 600;
}

.projects-conclusion dd {
  font-weight: 400;
}

.projects-review {
  container-type: inline-size;
}

.projects-review #interactions-heading {
  margin: 0;
  color: #0f0f0f;
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.64px;
}

.projects-review-lead {
  max-width: 746px;
  margin: 20px 0 0;
  color: #292929;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

.projects-review-wrap {
  height: calc(1241px * min(1, 100cqi / 1040px));
  margin-top: 40px;
  overflow: hidden;
}

.projects-review-grid {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 28px 20px;
  width: 1040px;
  height: 1241px;
  transform: scale(min(1, 100cqi / 1040px));
  transform-origin: top left;
}

.projects-review-card {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 332px;
  height: 395px;
  margin: 0;
}

.projects-review-card-wide {
  width: 684px;
}

.projects-review-shot {
  overflow: hidden;
  width: 100%;
  height: 360px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f5f5f5 0%, #e9eaeb 100%);
}

.projects-review-shot img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.projects-review-card figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #292929;
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  text-align: center;
  white-space: nowrap;
}

.projects-review-card figcaption::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.projects-screen {
  width: min(1040px, calc(100% - 48px));
}

.projects-screen #screen-heading {
  margin: 0;
  color: #0f0f0f;
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.64px;
}

.projects-screen-lead {
  max-width: 746px;
  margin: 20px 0 0;
  color: #292929;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

.projects-screen-shot {
  overflow: hidden;
  width: 100%;
  margin: 40px 0 0;
  border-radius: 24px;
  background: linear-gradient(180deg, #f5f5f5 0%, #e9eaeb 100%);
}

.projects-screen-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.projects-screen-callouts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin: 40px 0 0;
}

.projects-screen-callouts h3 {
  margin: 0;
  width: 100%;
  color: #0f0f0f;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.48px;
}

.projects-screen-callouts ol {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #292929;
  font-size: 18px;
  font-weight: 400;
  line-height: 36px;
  list-style: decimal;
}

.projects-screen-callouts li {
  margin: 0 0 8px 30px;
  padding: 0;
  color: #292929;
  line-height: 36px;
}

.projects-screen-callouts li:last-child {
  margin-bottom: 0;
}

.projects-screen-callouts strong {
  color: #292929;
  font-weight: 600;
}

.projects-impact {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: min(1040px, calc(100% - 48px));
}

.projects-impact-intro,
.projects-impact-lessons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.projects-impact #impact-heading {
  margin: 0;
  color: #0f0f0f;
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.64px;
}

.projects-impact-intro p {
  margin: 0;
  max-width: 814px;
  color: #292929;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

.projects-impact-kicker {
  margin: 0;
  color: #292929;
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  line-height: 32px;
}

.projects-impact-cards {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 32px 32px 0;
  overflow: hidden;
  border-radius: 20px;
  background: #f7f7f7;
}

.projects-impact-cards article {
  position: relative;
  z-index: 0;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  min-width: 0;
  min-height: 212px;
  padding: 24px;
  border-radius: 20px 20px 0 0;
  background: #fff;
  /* Same layer count as hover so the shadow can interpolate smoothly */
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0),
    0 6.267px 16.711px rgba(0, 0, 0, 0),
    0 3.35px 8.935px rgba(0, 0, 0, 0),
    0 1.878px 5.009px rgba(0, 0, 0, 0),
    0 0.998px 2.66px rgba(0, 0, 0, 0),
    0 0.415px 1.107px rgba(0, 0, 0, 0);
  transition:
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    z-index 0s linear 420ms;
}

.projects-impact-cards h3,
.projects-impact-cards p {
  margin: 0;
  width: 100%;
  color: #292929;
  line-height: 36px;
}

.projects-impact-cards h3 {
  font-size: 20px;
  font-weight: 600;
}

.projects-impact-cards p {
  font-size: 18px;
  font-weight: 400;
}

@media (hover: hover) and (pointer: fine) {
  .projects-impact-cards article:hover {
    z-index: 1;
    box-shadow:
      0 15px 40px rgba(0, 0, 0, 0.04),
      0 6.267px 16.711px rgba(0, 0, 0, 0.03),
      0 3.35px 8.935px rgba(0, 0, 0, 0.02),
      0 1.878px 5.009px rgba(0, 0, 0, 0.02),
      0 0.998px 2.66px rgba(0, 0, 0, 0.02),
      0 0.415px 1.107px rgba(0, 0, 0, 0.01);
    transition:
      box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
      z-index 0s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects-impact-cards article,
  .projects-impact-cards article:hover {
    transition: none;
  }
}

.projects-overview {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.projects-overview #overview-heading {
  margin: 0;
  color: #0f0f0f;
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.64px;
}

.projects-overview-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.projects-overview-copy p {
  margin: 0;
  color: #0f0f0f;
  font-size: 18px;
  font-weight: 400;
  line-height: 36px;
}

.projects-insights-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.projects-insights {
  width: 100%;
  padding: 20px 24px;
  border-radius: 20px;
  background: #f5f5f5;
}

.projects-insights ul {
  margin: 0;
  padding: 0 0 0 30px;
}

.projects-insights li {
  margin: 0 0 8px;
  color: #292929;
  font-size: 20px;
  font-weight: 400;
  line-height: 40px;
}

.projects-insights li:last-child {
  margin-bottom: 0;
}

.projects-insights strong {
  font-weight: 600;
}

.projects-roles .projects-table-wrap {
  margin-top: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.projects-roles-table {
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 4px;
  padding: 0 8px 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  box-shadow: none;
}

.projects-roles-viewer {
  width: 80px;
}

.projects-roles-editor,
.projects-roles-owner {
  width: 64px;
}

.projects-roles-table thead th {
  padding: 8px 10px;
  background: transparent;
  color: #0f0f0f;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  vertical-align: middle;
}

.projects-roles-table thead th:not(:first-child) {
  padding: 8px 12px;
  text-align: center;
}

.projects-roles-table tbody th,
.projects-roles-table tbody td {
  height: 36px;
  padding: 8px 12px;
  border-top: 0;
  vertical-align: middle;
}

.projects-roles-table tbody th {
  overflow: hidden;
  color: #424242;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projects-roles-table tbody td {
  text-align: center;
  white-space: nowrap;
}

.projects-roles-table tbody td img {
  display: block;
  margin: 0 auto;
}

.projects-roles-table tbody tr:nth-child(odd) th,
.projects-roles-table tbody tr:nth-child(odd) td {
  background: #f7f7f7;
}

.projects-roles-table tbody tr:nth-child(odd) th {
  border-radius: 12px 0 0 12px;
}

.projects-roles-table tbody tr:nth-child(odd) td:last-child {
  border-radius: 0 12px 12px 0;
}

.projects-roles-table tr + tr th,
.projects-roles-table tr + tr td {
  border-top: 0;
}

.projects-edges {
  container-type: inline-size;
}

.projects-edges #edges-heading {
  margin: 0;
  color: #0f0f0f;
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.64px;
}

.projects-edges-lead {
  max-width: 747px;
  margin: 20px 0 0;
  color: #292929;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

.projects-edges-grid {
  width: 100%;
  height: calc(788px * min(1, 100cqi / 1040px));
  margin-top: 40px;
  overflow: hidden;
}

.projects-edges-canvas {
  position: relative;
  width: 1040px;
  height: 788px;
  margin: 0 auto;
  transform: scale(min(1, 100cqi / 1040px));
  transform-origin: top left;
}

.projects-edge {
  position: absolute;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(-55.18deg, rgba(255, 241, 235, 0.4) 0%, rgba(189, 234, 255, 0.4) 98.51%);
}

.projects-edge-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  top: 0;
  left: 50px;
  width: 460px;
  height: 384px;
  padding: 28px 12px 0;
}

.projects-edge-empty h3 {
  position: relative;
  top: auto;
  left: auto;
}

.projects-edge-empty .projects-edge-phone {
  position: relative;
  top: auto;
  left: auto;
  object-fit: fill;
}

.projects-edge-sync {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  top: 0;
  left: 530px;
  width: 460px;
  height: 384px;
  padding: 28px 12px 0;
  background: linear-gradient(-55.4deg, rgba(255, 241, 235, 0.4) 0%, rgba(172, 224, 249, 0.4) 99.01%);
}

.projects-edge-sync h3 {
  position: relative;
  top: auto;
  left: auto;
}

.projects-edge-sync .projects-edge-phone {
  position: relative;
  top: auto;
  left: auto;
  object-fit: fill;
}

.projects-edge-wide {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  top: 404px;
  left: 80px;
  width: 880px;
  height: 384px;
  padding: 0 32px 0 12px;
  overflow: hidden;
  background: linear-gradient(-37.61deg, rgba(255, 241, 235, 0.4) 0%, rgba(172, 224, 249, 0.4) 97.9%);
}

.projects-edge h3 {
  position: absolute;
  top: 28px;
  left: 77px;
  z-index: 1;
  width: 306px;
  margin: 0;
  color: #292929;
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
}

.projects-edge-wide h3 {
  top: 141px;
  left: 43px;
  width: 231px;
}

.projects-edge-phone {
  position: absolute;
  top: 104px;
  left: 94px;
  width: 272px;
  height: 280px;
  object-fit: cover;
  object-position: top center;
}

.projects-edge-laptop {
  position: relative;
  flex: none;
  width: 546px;
  height: 307px;
  object-fit: fill;
}

.projects-edge-float {
  position: absolute;
  z-index: 2;
  height: auto;
  pointer-events: none;
}

.projects-edge-folder-card {
  position: absolute;
  top: 234px;
  left: 298px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 128px;
  padding: 12px;
  overflow: hidden;
  border-radius: 18px;
  background: #0f0f0f;
  box-shadow:
    0 100px 80px rgba(0, 0, 0, 0.07),
    0 42px 33px rgba(0, 0, 0, 0.05),
    0 22px 18px rgba(0, 0, 0, 0.04),
    0 13px 10px rgba(0, 0, 0, 0.04),
    0 7px 5px rgba(0, 0, 0, 0.03),
    0 3px 2px rgba(0, 0, 0, 0.02);
}

.projects-edge-folder-card > img {
  display: block;
}

.projects-edge-folder-title,
.projects-edge-folder-meta {
  margin: 0;
}

.projects-edge-folder-title {
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projects-edge-folder-meta {
  color: #d6d6d6;
  font-size: 8px;
  font-weight: 400;
  line-height: 11px;
}

.projects-edge-shared {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px 3px 5px;
  border: 1px solid #424242;
  border-radius: 999px;
}

.projects-edge-shared > span:first-child {
  color: #a3a3a3;
  font-size: 9px;
  font-weight: 500;
  line-height: 12px;
  white-space: nowrap;
}

.projects-edge-avatars {
  display: flex;
  align-items: center;
}

.projects-edge-avatars img,
.projects-edge-avatars b {
  width: 12px;
  height: 12px;
  margin-left: -2px;
  border: 1px solid #0f0f0f;
  border-radius: 999px;
}

.projects-edge-avatars img {
  display: block;
  object-fit: cover;
}

.projects-edge-avatars img:first-child {
  margin-left: 0;
}

.projects-edge-avatars b {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e5e5;
  color: #0f0f0f;
  font-size: 3px;
  font-weight: 600;
  line-height: 1;
}

.projects-edge-avatars-float {
  position: absolute;
  top: 149px;
  left: 45px;
  z-index: 2;
  width: 73px;
  height: 36px;
  object-fit: contain;
  pointer-events: none;
}

.projects-edge-retry-card {
  position: absolute;
  top: 293px;
  left: 265px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  width: 151px;
  height: 35px;
  padding: 8px 10px;
  border: 0.5px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 100px 40px rgba(0, 0, 0, 0.07),
    0 42px 17px rgba(0, 0, 0, 0.05),
    0 22px 9px rgba(0, 0, 0, 0.04),
    0 13px 5px rgba(0, 0, 0, 0.04),
    0 7px 3px rgba(0, 0, 0, 0.03),
    0 3px 1px rgba(0, 0, 0, 0.02);
}

.projects-edge-file-badge {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 4px;
  border-radius: 999px;
  background: #12b76a;
}

.projects-edge-file-badge img,
.projects-edge-retry-action img {
  display: block;
}

.projects-edge-retry-card > div {
  flex: 1 1 auto;
  min-width: 0;
}

.projects-edge-retry-title,
.projects-edge-retry-meta {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projects-edge-retry-title {
  color: #0f0f0f;
  font-size: 7px;
  font-weight: 500;
  line-height: 10px;
}

.projects-edge-retry-meta {
  color: #737373;
  font-size: 6px;
  font-weight: 400;
  line-height: 9px;
}

.projects-edge-retry-meta span {
  color: #424242;
}

.projects-edge-retry-action {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 17px;
  padding: 4px;
  border: 0.5px solid #fecdca;
  border-radius: 19px;
  background: #fef3f2;
  color: #f04438;
  font-size: 6px;
  font-weight: 500;
  line-height: 8px;
  white-space: nowrap;
}

.projects-edge-doc-card {
  position: absolute;
  top: 248px;
  left: 215px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 161px;
  padding: 6px 8px;
  border: 0.5px solid #fff;
  border-radius: 10px;
  background: #fff;
  box-shadow:
    0 100px 40px rgba(0, 0, 0, 0.07),
    0 42px 17px rgba(0, 0, 0, 0.05),
    0 22px 9px rgba(0, 0, 0, 0.04),
    0 13px 5px rgba(0, 0, 0, 0.04),
    0 7px 3px rgba(0, 0, 0, 0.03),
    0 3px 1px rgba(0, 0, 0, 0.02);
}

.projects-edge-doc-card > img,
.projects-edge-private img {
  display: block;
  flex: none;
}

.projects-edge-doc-title,
.projects-edge-doc-meta {
  margin: 0;
}

.projects-edge-doc-title {
  overflow: hidden;
  color: #0f0f0f;
  font-size: 6px;
  font-weight: 500;
  line-height: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.projects-edge-doc-meta {
  color: #737373;
  font-size: 5px;
  font-weight: 400;
  line-height: 8px;
  white-space: nowrap;
}

.projects-edge-doc-meta span {
  color: #424242;
}

.projects-edge-private {
  display: flex;
  flex: none;
  align-items: center;
  gap: 2px;
  padding: 2px 4px 2px 3px;
  border: 0.5px solid #e5e5e5;
  border-radius: 999px;
  color: #0f0f0f;
  font-size: 6px;
  font-weight: 500;
  line-height: 7px;
  white-space: nowrap;
}

.projects-learned {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.projects-learned #learned-heading {
  margin: 0;
  color: #0f0f0f;
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.64px;
}

.projects-learned-grid {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.projects-learned-card {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  min-width: 0;
  padding: 24px;
  border-radius: 20px;
  background: #f5f5f5;
}

.projects-learned-icon {
  display: flex;
  flex: none;
  align-items: center;
  padding: 16px;
  border-radius: 40px;
  background: #fff;
}

.projects-learned-icon img {
  display: block;
}

.projects-learned-card h3 {
  margin: 0 0 12px;
  color: #292929;
  font-size: 20px;
  font-weight: 600;
  line-height: 36px;
}

.projects-learned-card p {
  margin: 0;
  color: #292929;
  font-size: 18px;
  font-weight: 400;
  line-height: 36px;
}

.projects-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.projects-next li {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 6px 16px;
  border: 1px solid #fff;
  border-radius: 24px;
  background: #fff;
  color: #0f0f0f;
  font-size: 16px;
  font-weight: 600;
  line-height: 32px;
  white-space: nowrap;
}

.projects-next-dot {
  position: relative;
  flex: none;
  width: 10px;
  height: 10px;
}

.projects-next-dot img {
  position: absolute;
  top: -2.5px;
  left: -2.5px;
  display: block;
}

.projects-next-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 876px;
  margin: 0 auto;
  padding: 32px 24px;
  border-radius: 40px;
  background: #f7f7f7;
  box-shadow: var(--elev-2);
  text-align: center;
}

.projects-next-panel h2,
.projects-next-panel p {
  margin: 0;
  max-width: 36em;
}

.projects-flow {
  display: flex;
  justify-content: center;
  container-type: inline-size;
  overflow: hidden;
  margin: 24px 0 0;
  padding: 24px 0;
  border-radius: 24px;
  background: #fafaff;
}

.projects-flow-canvas {
  position: relative;
  width: 927px;
  height: 477px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform-origin: top center;
}

.projects-flow-step {
  position: absolute;
  width: fit-content;
  margin: 0;
  padding: 6px 16px;
  border: 1px solid #d9d6fe;
  border-radius: 20px;
  background: #f4f3ff;
  color: #4a1fb8;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

.projects-flow-step-1 { top: 0; left: 0; border-radius: 16px; }
.projects-flow-step-2 { top: 59px; left: 51.75px; width: 508px; }
.projects-flow-step-3 { top: 170.5px; left: 148.5px; width: 459px; }
.projects-flow-step-4 { top: 281px; left: 206.5px; width: 655px; }
.projects-flow-step-5 { top: 401px; left: 246px; width: 681px; }

.projects-flow p {
  margin: 0;
}

.projects-flow strong {
  color: #4a1fb8;
  font-weight: 600;
  line-height: 32px;
}

.projects-flow-link {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.projects-flow-link-1 { top: 22px; left: 245px; }
.projects-flow-link-2 { top: 77px; left: 253px; }
.projects-flow-link-3 { top: 77px; left: 228.5px; }
.projects-flow-link-4 { top: 77px; left: 326.5px; }

@media (min-width: 721px) {
  .projects-flow {
    height: calc(48px + 477px * min(1, 100cqi / 927px));
  }

  .projects-flow-canvas {
    transform: scale(min(1, 100cqi / 927px));
  }
}

.projects-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.projects-principle {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
  min-height: 542px;
  padding: 20px 24px;
  border-radius: 20px;
}

.projects-principle-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.projects-principle-copy span {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0 4px;
  border: 0;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
}

.projects-principle h3 {
  margin: 0;
  color: #0f0f0f;
  font-size: 28px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.02em;
}

.projects-principle p {
  margin: 0;
  color: #0f0f0f;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}

.projects-principle-blue { background: #f5f8ff; }
.projects-principle-blue .projects-principle-copy span {
  background: #eff4ff;
  color: #2970ff;
}
.projects-principle-green { background: #f6fef9; }
.projects-principle-green .projects-principle-copy span {
  background: #ecfdf3;
  color: #17b26a;
}
.projects-principle-purple { background: #fafaff; }
.projects-principle-purple .projects-principle-copy span {
  background: #f4f3ff;
  color: #7a5af8;
}
.projects-principle-orange {
  flex-direction: row;
  align-items: center;
  min-height: 0;
  background: #fefaf5;
  grid-column: span 2;
}
.projects-principle-orange .projects-principle-copy {
  max-width: 277px;
}
.projects-principle-orange .projects-principle-copy span {
  background: #fef6ee;
  color: #ef6820;
}
.projects-principle-fuchsia {
  justify-content: space-between;
  min-height: 312px;
  background: #fefaff;
}
.projects-principle-fuchsia .projects-principle-copy span {
  background: #fdf4ff;
  color: #d444f1;
}

.pp-ui,
.pp-pill {
  pointer-events: none;
}

.pp-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: min(100%, 284px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 15px 29px -13px rgba(16, 24, 40, 0.12);
}

.pp-form-title {
  margin: 0;
  color: #0f0f0f;
  font-size: 10px;
  font-weight: 600;
  line-height: 15px;
}

.pp-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pp-field p {
  color: #0f0f0f;
  font-size: 8.5px;
  font-weight: 500;
  line-height: 12px;
}

.pp-input {
  padding: 6px 8px;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  background: #fff;
  color: #0f0f0f;
  font-size: 8px;
  font-weight: 500;
  line-height: 12px;
}

.pp-field-area .pp-input-area {
  min-height: 72px;
  color: #a3a3a3;
  font-weight: 400;
}

.pp-docs {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 253px);
  margin: 0 auto;
  padding-bottom: 28px;
}

.pp-doc {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: -7px;
  padding: 8px 12px;
}

.pp-doc:last-of-type {
  margin-bottom: 0;
}

.pp-doc img {
  flex: none;
}

.pp-doc p {
  color: #0f0f0f;
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
}

.pp-doc p + p {
  color: #737373;
  font-size: 9px;
  font-weight: 400;
  line-height: 13px;
}

.pp-doc span {
  color: #424242;
}

.pp-compose {
  display: flex;
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 12px;
  border: 1px solid #fff;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 7px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(3px);
}

.pp-compose p {
  flex: 1;
  color: #a3a3a3;
  font-size: 11px;
  line-height: 17px;
}

.pp-compose div {
  display: flex;
  flex: none;
  gap: 6px;
  align-items: center;
}

.pp-memory {
  display: flex;
  position: relative;
  align-items: flex-start;
  min-height: 190px;
}

.pp-folder {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 200px);
  min-height: 147px;
  padding: 14px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.06);
}

.pp-folder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
}

.pp-folder p {
  color: #0f0f0f;
  font-size: 10px;
  font-weight: 600;
  line-height: 14px;
}

.pp-folder p + p {
  color: #70707b;
  font-size: 8px;
  font-weight: 400;
  line-height: 11px;
}

.pp-shared {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 7px 6px 11px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
}

.pp-shared p {
  color: #424242;
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
}

.pp-menu {
  display: flex;
  position: absolute;
  top: 28px;
  right: 0;
  flex-direction: column;
  width: 120px;
  padding: 4px;
  border: 1px solid #fff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 7px 7px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(3px);
}

.pp-menu p {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  color: #18181b;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.pp-menu-danger {
  color: #f04438;
}

.pp-avatars {
  display: flex;
  flex: none;
  align-items: center;
}

.pp-avatars img,
.pp-avatars span {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  margin-left: -3px;
  border: 1px solid #fefaff;
  border-radius: 999px;
  object-fit: cover;
}

.pp-avatars img:first-child,
.pp-avatars span:first-child {
  margin-left: 0;
}

.pp-avatars span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #821890;
  color: #fff;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
}

.pp-avatars-sm img,
.pp-avatars-sm span {
  width: 11px;
  height: 11px;
  margin-left: -2px;
  border-color: #fff;
  background: #f5f5f5;
  color: #424242;
  font-size: 6px;
}

.pp-share {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 9px;
  width: min(100%, 270px);
  padding: 12px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 13px 27px -12px rgba(16, 24, 40, 0.12);
}

.pp-share-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.pp-share-head p {
  color: #0f0f0f;
  font-size: 8px;
  font-weight: 500;
  line-height: 12px;
}

.pp-share-head p + p {
  color: #737373;
  font-size: 6px;
  font-weight: 400;
  line-height: 8px;
}

.pp-share-folder {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: #f5f5f5;
}

.pp-share-folder span,
.pp-share-option span {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  background: #fcfcfc;
}

.pp-share-folder p,
.pp-share-option p {
  color: #0f0f0f;
  font-size: 7px;
  font-weight: 500;
  line-height: 10px;
}

.pp-share-folder p + p,
.pp-share-option p + p {
  color: #737373;
  font-size: 6px;
  font-weight: 400;
  line-height: 8px;
}

.pp-share-folder i {
  color: #d6d6d6;
  font-style: normal;
}

.pp-share-label {
  color: #0f0f0f;
  font-size: 10px;
  font-weight: 600;
  line-height: 14px;
}

.pp-share-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
}

.pp-share-divider {
  display: block;
  max-width: 100%;
}

.pp-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 10px 8px 16px;
  border: 1px solid #f6d0fe;
  border-radius: 999px;
  background: #fdf4ff;
}

.pp-pill p {
  color: #0f0f0f;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.pp-accent {
  position: absolute;
  pointer-events: none;
}

.pp-accent-1 {
  top: 54%;
  right: 18px;
  transform: scaleY(-1) rotate(171.34deg);
}

.pp-accent-3 {
  top: 48%;
  left: 12px;
  transform: rotate(8.66deg);
}

.pp-accent-5 {
  top: 24px;
  right: 0;
}

.projects-ia {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 40px;
  border: 1px solid #e5e5e5;
  border-radius: 40px;
  background: linear-gradient(75deg, #f5f5f5 5.21%, #fff 61.51%);
}

.projects-ia-copy {
  display: flex;
  flex: 1 1 280px;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.projects-ia h2 {
  margin: 0;
}

.projects-ia p {
  margin: 0;
  color: #292929;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

.projects-ia-map {
  display: flex;
  flex: none;
  align-items: center;
  width: min(100%, 397px);
  margin: 0;
  mix-blend-mode: multiply;
}

.projects-ia-map img {
  display: block;
  max-width: 100%;
  height: auto;
}

.projects-decisions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(1040px, calc(100% - 48px));
  padding: 0 24px;
}

.projects-decisions #decisions-heading {
  width: 100%;
  margin: 0;
  color: #0f0f0f;
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.64px;
  text-align: center;
}

.projects-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 12px 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.projects-tabs::-webkit-scrollbar {
  display: none;
}

.projects-tabs button {
  height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 46px;
  background: transparent;
  color: #424242;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.28s ease, color 0.28s ease;
}

.projects-tabs button[aria-selected="true"] {
  background: #0f0f0f;
  color: #fcfcfc;
  font-weight: 600;
}

.projects-tabs button:hover {
  background: #f5f5f5;
}

.projects-tabs button[aria-selected="true"]:hover {
  background: #0f0f0f;
  color: #fcfcfc;
}

.projects-tabs button:focus-visible {
  outline: 2px solid #0f0f0f;
  outline-offset: 3px;
}

.projects-decision {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 960 / 608;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 40px;
  background:
    linear-gradient(0deg, #ffffff 3.47%, rgba(255, 255, 255, 0.7) 100%),
    linear-gradient(90.45deg, rgba(50, 169, 254, 0.6) 0%, rgba(229, 113, 189, 0.6) 55.62%, rgba(254, 166, 14, 0.6) 99.51%);
}

.projects-decision-screens {
  position: absolute;
  top: 7.2368%;
  left: 7.2917%;
  width: 85.4167%;
  height: 75.4946%;
  overflow: hidden;
  border-radius: 16.735px;
  background: #fff;
  box-shadow:
    0 100px 80px rgba(0, 0, 0, 0.03),
    0 22.336px 17.869px rgba(0, 0, 0, 0.02),
    0 6.65px 5.32px rgba(0, 0, 0, 0.01);
}

.projects-decision-screens img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.projects-decision-screens img.is-active {
  opacity: 1;
}

.projects-decision-copy {
  position: absolute;
  top: 87.1711%;
  right: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  margin: 0;
  color: #424242;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  transition: opacity 0.28s ease;
}

.projects-decision-copy p {
  margin: 0;
  max-width: 100%;
  white-space: nowrap;
}

.projects-decision-copy strong {
  color: #424242;
  font-weight: 600;
}

.projects-decision.is-switching .projects-decision-copy {
  opacity: 0;
}

.projects-compare-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 4px 4px;
}

.projects-compare-details p {
  margin: 0;
  color: #292929;
  font-size: 16px;
  line-height: 1.7;
}

.projects-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: callout;
}

.projects-callouts li {
  position: relative;
  padding: 16px 16px 16px 48px;
  border-radius: 16px;
  background: #f7f7f7;
  box-shadow: var(--elev-1);
  color: #292929;
  font-size: 15px;
  line-height: 1.6;
  counter-increment: callout;
}

.projects-callouts li::before {
  content: counter(callout);
  position: absolute;
  top: 16px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #2970ff;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

#usecase-heading span {
  color: #d6d6d6;
}

.projects-thanks {
  width: min(1040px, calc(100% - 48px));
}

.projects-thanks p {
  margin: 0;
  max-width: 814px;
  color: #292929;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

@media (max-width: 980px) {
  .facts dd {
    white-space: normal;
  }

  .projects-facts-stage {
    padding: 32px 28px 0;
  }

  .projects-facts-copy {
    padding-top: 24px;
  }

  .projects-facts-copy h2 {
    font-size: clamp(26px, 3.4vw, 32px);
    line-height: 1.25;
  }

  .projects-research,
  .projects-roles,
  .projects-cards,
  .projects-problem,
  .projects-spec,
  .projects-callouts {
    grid-template-columns: 1fr;
  }

  .projects-impact-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px;
  }

  .projects-impact-cards article {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    gap: 12px;
    padding: 20px 24px;
    border-radius: 20px;
  }

  .projects-problem-wide {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .projects-pills {
    width: 100%;
  }

  .projects-pills li {
    max-width: 100%;
  }

  .projects-ia {
    flex-wrap: wrap;
    padding: 32px 24px;
  }

  .projects-ia-map {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .projects-flow {
    padding: 24px 0;
  }
}

@media (max-width: 900px) {
  .projects-personas {
    grid-template-columns: 1fr;
  }

  .projects-principles {
    grid-template-columns: 1fr;
  }

  .projects-principle,
  .projects-principle-fuchsia {
    min-height: 0;
  }

  .projects-principle-orange {
    flex-direction: column;
    align-items: stretch;
    grid-column: auto;
  }

  .projects-principle-orange .projects-principle-copy {
    max-width: none;
  }

  .projects-principle h3 {
    font-size: 24px;
    line-height: 34px;
  }

  .projects-pain {
    gap: 24px;
  }

  .projects-pain-copy p {
    font-size: 16px;
    line-height: 1.7;
  }

  .projects-pain .projects-table-wrap {
    box-shadow: none;
  }

  .projects-pain .projects-table {
    min-width: 0;
    border: 0;
    background: transparent;
  }

  .projects-pain .projects-table thead {
    display: none;
  }

  .projects-pain .projects-table tbody,
  .projects-pain .projects-table tr,
  .projects-pain .projects-table th,
  .projects-pain .projects-table td {
    display: block;
    width: 100%;
  }

  .projects-pain .projects-table tbody th,
  .projects-pain .projects-table td {
    padding: 8px 16px;
    border: 0;
    border-right: 0;
  }

  .projects-pain .projects-table tbody tr {
    margin-bottom: 12px;
    padding: 12px 0 16px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    background: #fff;
    box-shadow: none;
  }

  .projects-pain .projects-table tbody tr th,
  .projects-pain .projects-table tbody tr td {
    border-top: 0;
  }

  .projects-pain .projects-table tbody th {
    padding-top: 16px;
    padding-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #0f0f0f;
    line-height: 32px;
  }

  .projects-pain .projects-table td::before {
    display: block;
    margin-bottom: 4px;
    color: #737373;
    font-size: 12px;
    font-weight: 600;
    content: attr(data-label);
  }
}

@media (max-width: 720px) {
  .projects-pills li {
    width: 100%;
    white-space: normal;
    justify-content: flex-start;
    text-align: left;
    line-height: 24px;
    padding: 10px 16px;
  }

  .projects-facts-stage {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 28px 24px 0;
    border-radius: 24px;
  }

  .projects-facts-copy {
    padding: 0 0 12px;
  }

  .projects-facts-visual {
    aspect-ratio: 5 / 4;
    max-height: 380px;
  }

  .projects-facts-visual img {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }

  .projects-facts {
    gap: 16px;
  }

  .projects-personas {
    grid-template-columns: 1fr;
  }

  .projects-insights {
    padding: 16px 20px;
  }

  .projects-insights ul {
    padding-left: 24px;
  }

  .projects-insights li {
    font-size: 18px;
    line-height: 32px;
  }

  .projects-flow {
    height: auto;
    padding: 20px 16px;
    overflow: visible;
  }

  .projects-flow-canvas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    height: auto;
    transform: none;
  }

  .projects-flow-step {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
  }

  .projects-flow-link {
    display: none;
  }

  .projects-ia {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
  }

  .projects-ia p {
    font-size: 16px;
    line-height: 28px;
  }

  .projects-ia-map {
    width: 100%;
  }

  .projects-facts dd {
    font-size: 16px;
    line-height: 1.5;
  }

  .projects .study-hero h1 {
    font-size: clamp(26px, 8vw, 32px);
    line-height: 1.25;
  }

  .projects .study-lead,
  .projects .study-prose {
    font-size: 16px;
    line-height: 1.7;
  }

  .projects-problem-block {
    gap: 24px;
  }

  .projects-problem {
    padding: 16px;
    border-radius: 32px;
  }

  .projects-problem-card {
    flex-basis: 100%;
    padding: 18px 20px;
  }

  .projects-problem-copy p,
  .projects-problem-card p {
    font-size: 16px;
    line-height: 1.6;
  }

  .projects-figure img,
  .projects-figure-ui,
  .projects-shot,
  .projects-compare,
  .projects-cards article,
  .projects-spec div,
  .projects-next-panel {
    border-radius: 16px;
  }

  .projects-table-wrap {
    box-shadow: none;
  }

  .projects-table {
    min-width: 0;
    border: 0;
    background: transparent;
  }

  .projects-table thead {
    display: none;
  }

  .projects-table tbody,
  .projects-table tr,
  .projects-table th,
  .projects-table td {
    display: block;
    width: 100%;
  }

  .projects-table tbody th,
  .projects-table td {
    padding: 8px 16px;
    border: 0;
  }

  .projects-table tbody tr {
    margin-bottom: 12px;
    padding: 12px 0 16px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--elev-1);
  }

  .projects-table tbody tr + tr th,
  .projects-table tbody tr + tr td {
    border-top: 0;
  }

  .projects-table tbody th {
    padding-top: 16px;
    font-size: 16px;
  }

  .projects-table td::before {
    display: block;
    margin-bottom: 4px;
    color: #737373;
    font-size: 12px;
    font-weight: 600;
    content: attr(data-label);
  }

  .projects-pain {
    gap: 24px;
  }

  .projects-pain-copy p {
    font-size: 16px;
    line-height: 1.7;
  }

  .projects-pain .projects-table th,
  .projects-pain .projects-table td {
    width: 100%;
    border-right: 0;
  }

  .projects-pain .projects-table tbody tr th,
  .projects-pain .projects-table tbody tr td {
    border-top: 0;
  }

  .projects-pain .projects-table tbody tr {
    border-radius: 20px;
    box-shadow: none;
  }

  .projects-pain .projects-table tbody th {
    padding: 16px 16px 8px;
    font-size: 16px;
    font-weight: 600;
    color: #0f0f0f;
    line-height: 32px;
  }

  .projects-roles .projects-table-wrap {
    overflow-x: auto;
  }

  .projects-roles-table {
    display: table;
    width: 100%;
    min-width: 320px;
    border: 1px solid #e5e5e5;
    background: #fff;
  }

  .projects-roles-table thead {
    display: table-header-group;
  }

  .projects-roles-table tbody {
    display: table-row-group;
  }

  .projects-roles-table tr {
    display: table-row;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .projects-roles-table th,
  .projects-roles-table td {
    display: table-cell;
    width: auto;
    padding: 8px 12px;
    border: 0;
  }

  .projects-roles-table tbody th {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
  }

  .projects-roles-table td::before {
    display: none;
    content: none;
  }

  .projects-roles-table td {
    text-align: center;
    white-space: nowrap;
  }

  .projects-compare {
    padding: 20px;
  }

  .projects-cards article,
  .projects-spec div {
    padding: 18px;
  }

  .projects-conclusions-wrap {
    height: auto;
    overflow: visible;
  }

  .projects-conclusions {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    transform: none;
  }

  .projects-conclusion,
  .projects-conclusion-lg,
  .projects-conclusion-md,
  .projects-conclusion-sm {
    width: 100%;
    height: auto;
    min-height: 96px;
  }

  .projects-review #interactions-heading {
    font-size: 26px;
    line-height: 34px;
  }

  .projects-review-lead {
    font-size: 16px;
    line-height: 28px;
  }

  .projects-review-wrap {
    height: auto;
    margin-top: 24px;
    overflow: visible;
  }

  .projects-review-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    transform: none;
    gap: 24px;
  }

  .projects-review-card,
  .projects-review-card-wide {
    width: 100%;
    height: auto;
  }

  .projects-review-shot {
    width: 100%;
    height: auto;
    aspect-ratio: 332 / 360;
  }

  .projects-review-card-wide .projects-review-shot {
    aspect-ratio: 684 / 360;
  }

  .projects-review-shot img {
    height: 100%;
  }

  .projects-screen #screen-heading {
    font-size: 26px;
    line-height: 34px;
  }

  .projects-screen-lead {
    font-size: 16px;
    line-height: 28px;
  }

  .projects-screen-shot {
    margin-top: 24px;
    border-radius: 16px;
  }

  .projects-screen-callouts {
    margin-top: 24px;
    gap: 16px;
  }

  .projects-screen-callouts h3 {
    font-size: 20px;
  }

  .projects-screen-callouts ol {
    font-size: 16px;
    line-height: 28px;
  }

  .projects-screen-callouts li {
    margin-left: 24px;
  }

  .projects-impact {
    width: min(1040px, calc(100% - 32px));
    gap: 28px;
  }

  .projects-impact-intro,
  .projects-impact-lessons {
    gap: 16px;
  }

  .projects-impact #impact-heading,
  .projects-overview #overview-heading {
    font-size: 26px;
    line-height: 34px;
  }

  .projects-impact-intro p {
    font-size: 16px;
    line-height: 28px;
  }

  .projects-impact-kicker {
    font-size: 17px;
    line-height: 28px;
  }

  .projects-impact-cards {
    gap: 10px;
    padding: 16px;
    border-radius: 16px;
  }

  .projects-impact-cards article {
    gap: 10px;
    padding: 18px 20px;
    border-radius: 16px;
  }

  .projects-impact-cards h3 {
    font-size: 18px;
    line-height: 28px;
  }

  .projects-impact-cards p {
    font-size: 16px;
    line-height: 28px;
  }

  .projects-thanks p {
    font-size: 16px;
    line-height: 28px;
  }

  .projects-overview-copy p {
    font-size: 16px;
    line-height: 28px;
  }

  .projects-review-card figcaption {
    flex-wrap: wrap;
    white-space: normal;
  }

  .projects-decisions {
    padding: 0 16px;
  }

  .projects-research-block {
    padding: 8px 16px 16px;
  }

  .projects-edges #edges-heading,
  .projects-learned #learned-heading {
    font-size: 26px;
    line-height: 34px;
  }

  .projects-learned-grid {
    flex-direction: column;
  }

  .projects-learned-card h3 {
    font-size: 18px;
    line-height: 30px;
  }

  .projects-learned-card p {
    font-size: 16px;
    line-height: 28px;
  }

  .projects-edges-lead {
    font-size: 15px;
    line-height: 28px;
  }

  .projects-edges-grid {
    height: auto;
    margin-top: 24px;
    overflow: visible;
  }

  .projects-edges-canvas {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: auto;
    transform: none;
  }

  .projects-edge,
  .projects-edge-empty,
  .projects-edge-sync,
  .projects-edge-wide {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 24px;
    overflow: hidden;
  }

  .projects-edge-empty,
  .projects-edge-sync {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 24px 16px 28px;
  }

  .projects-edge-empty h3,
  .projects-edge-sync h3,
  .projects-edge-wide h3 {
    position: relative;
    top: auto;
    left: auto;
    z-index: 1;
    width: 100%;
    max-width: 300px;
    margin: 0;
    transform: none;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
  }

  .projects-edge-empty .projects-edge-phone,
  .projects-edge-sync .projects-edge-phone {
    position: relative;
    top: auto;
    left: auto;
    width: min(272px, 82%);
    height: auto;
    aspect-ratio: 272 / 280;
    object-fit: cover;
    object-position: top center;
    transform: none;
  }

  .projects-edge-wide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 24px 16px 28px;
  }

  .projects-edge-laptop {
    position: relative;
    flex: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 546 / 307;
    object-fit: cover;
    object-position: top center;
  }

  .projects-edge-folder-card,
  .projects-edge-retry-card,
  .projects-edge-doc-card,
  .projects-edge-avatars-float {
    position: absolute;
    z-index: 2;
  }

  .projects-edge-folder-card {
    top: auto;
    right: max(12px, 6%);
    bottom: 22px;
    left: auto;
    width: min(128px, 36%);
    min-width: 112px;
  }

  .projects-edge-retry-card {
    top: auto;
    right: max(12px, 4%);
    bottom: 22px;
    left: auto;
    width: min(168px, 52%);
    height: auto;
    min-height: 36px;
  }

  .projects-edge-avatars-float {
    top: 34%;
    left: max(10px, 4%);
    width: min(73px, 22%);
    height: auto;
  }

  .projects-edge-doc-card {
    top: auto;
    right: auto;
    bottom: 24px;
    left: 50%;
    width: min(200px, 72%);
    transform: translateX(-50%);
  }

  .projects-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding: 10px 16px 14px;
  }

  .projects-tabs button {
    flex: none;
    white-space: nowrap;
  }

  .projects-decisions #decisions-heading {
    font-size: 26px;
    line-height: 34px;
  }

  .projects-decision {
    aspect-ratio: auto;
    height: auto;
    padding: 20px 16px 24px;
    border-radius: 24px;
  }

  .projects-decision-screens {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 32px);
    height: auto;
    aspect-ratio: 820 / 459;
    margin: 0 auto;
    border-radius: 16.735px;
  }

  .projects-decision-copy {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin: 16px 16px 0;
    gap: 8px;
    font-size: 13px;
    line-height: 16px;
  }

  .projects-decision-copy p {
    white-space: normal;
  }

  .projects-next-panel {
    padding: 24px 16px;
    border-radius: 24px;
  }

  .projects-next li {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .block,
  .site-footer {
    width: min(var(--content), calc(100% - 32px));
  }

  .projects-impact {
    width: min(1040px, calc(100% - 24px));
    gap: 24px;
  }

  .projects-impact-cards {
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
  }

  .projects-impact-cards article {
    padding: 16px 18px;
    border-radius: 14px;
  }

  .projects-edges-canvas {
    gap: 14px;
  }

  .projects-edge-empty,
  .projects-edge-sync,
  .projects-edge-wide {
    gap: 14px;
    padding: 20px 14px 24px;
    border-radius: 20px;
  }

  .projects-edge-empty h3,
  .projects-edge-sync h3,
  .projects-edge-wide h3 {
    font-size: 14px;
    line-height: 22px;
  }

  .projects-edge-empty .projects-edge-phone,
  .projects-edge-sync .projects-edge-phone {
    width: min(248px, 86%);
  }

  .projects-facts-stage {
    padding: 24px 20px 0;
    border-radius: 20px;
  }

  .projects-facts-copy {
    padding: 0 0 8px;
  }

  .projects-facts-copy h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .projects-figure img,
  .projects-figure-ui,
  .projects-shot {
    border-radius: 12px;
  }

  .projects .hero-stage {
    border-radius: 20px;
  }

  .facts dd {
    white-space: normal;
  }
}
