/* ==========================================================================
   Linxi Li — Portfolio
   Built from Figma "LinxiWebsite-MainPage"
   ========================================================================== */

:root {
  --bg: #fbfbfb;
  --ink: #11151c;
  --ink-2: #2b313b;
  --muted: #555b63;
  --label: rgba(0, 0, 0, 0.5);
  --hairline: rgba(0, 0, 0, 0.05);
  --muted-on-dark: #a9b0bc;
  --blue: #1f3fd6;
  --blue-soft: #4f66d0;
  --rule: #b9bcb5;
  --paper: #f3f4f1;
  --dash: #6a707a;
  --chip-border: #e6e6e6;
  --white: #ffffff;

  --sans: "IBM Plex Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --page-max: 1312px;
  --gutter: 64px;
  --section-pad: 88px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: inherit;
}

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

img {
  display: block;
  max-width: none;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

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

.page {
  max-width: calc(var(--page-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-weight: 400;
}

.label {
  font-family: var(--mono);
  font-size: 12px;
  line-height: normal;
  color: var(--label);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 251, 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink);
  transition: padding 0.4s var(--ease);
}

.site-header.is-scrolled .site-header__inner {
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--blue);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--blue);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.5s var(--ease);
}

.logo:hover .logo__mark,
.logo:focus-visible .logo__mark,
.logo.is-leaving .logo__mark {
  background: var(--blue);
  color: var(--white);
  transform: rotate(-90deg);
}

.logo__text {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav__link {
  position: relative;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--blue);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blue);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.btn:hover::before {
  transform: translateY(0);
}

.btn__arrow {
  display: inline-block;
  width: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: width 0.45s var(--ease), opacity 0.3s ease, transform 0.45s var(--ease);
}

.btn:hover .btn__arrow {
  width: 14px;
  opacity: 1;
  transform: translateX(0);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  background-image: linear-gradient(var(--blue), var(--blue));
  background-size: 0% 1px;
  background-position: 0 calc(100% - 10px);
  background-repeat: no-repeat;
  transition: color 0.3s ease, background-size 0.5s var(--ease);
}

.text-link svg {
  width: 9px;
  height: 14px;
  transition: transform 0.45s var(--ease);
}

.text-link:hover {
  color: var(--blue);
  background-size: 100% 1px;
}

.text-link:hover svg {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  border-bottom: 1px solid var(--ink);
}

.hero__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  padding: 88px 48px 72px 0;
}

.hero__eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--blue);
}

.hero__title {
  font-weight: 300;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 1.1;
  letter-spacing: 0.003em;
}

.hero__title strong {
  font-weight: 600;
}

.hero__lede {
  max-width: 680px;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-2);
}

.profile {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--ink);
}

.profile__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 120px;
  padding: 22px 24px;
  background: var(--ink);
}

.profile__head .label {
  color: var(--muted-on-dark);
}

.profile__name {
  font-weight: 500;
  font-size: 24px;
  color: var(--white);
}

.profile__email {
  align-self: flex-start;
  font-size: 15px;
  line-height: 1.45;
  color: #ffffff;
  background-image: linear-gradient(#ffffff, #ffffff);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.5s var(--ease);
}

.profile__email:hover {
  background-size: 100% 1px;
}

.profile__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.35s ease;
}

.profile__row:last-child {
  border-bottom: 0;
}

.profile__row:hover {
  background: var(--paper);
}

.profile__value {
  font-size: 15px;
  line-height: 1.45;
}

.profile__value--strong {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: var(--section-pad) 0;
}

.section--ruled {
  border-bottom: 1px solid var(--ink);
}

.section--tight {
  gap: 24px;
}

.section--featured {
  gap: 32px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-title {
  font-weight: 300;
  font-size: 48px;
  letter-spacing: -0.01em;
  line-height: normal;
}

.section-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--label);
  text-transform: uppercase;
}

.section-header--top {
  align-items: flex-start;
}

.section-header--top .section-meta {
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Featured project
   -------------------------------------------------------------------------- */

.status-quo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-quo__text {
  max-width: 940px;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.3;
}

.feature-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1310 / 430;
  background: var(--ink);
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.feature-image:hover img {
  transform: scale(1.025);
}

/* Fig. 1 — tangle → knot → thread */

.flow {
  display: flex;
  align-items: stretch;
  width: 1312px;
  /* main.js scales the diagram with `zoom` to fit narrower screens */
}

.flow__box {
  position: relative;
  flex: 0 0 390px;
  height: 338px;
  overflow: hidden;
}

.flow__label {
  position: absolute;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.flow__arrow {
  position: relative;
  flex: 0 0 71px;
}

.flow__arrow img {
  position: absolute;
}

.flow__arrow--1 img {
  left: calc(50% - 19px);
  top: 136px;
}

.flow__arrow--2 img {
  left: calc(50% - 22px);
  top: 96px;
}

/* tangle */
.tangle {
  border: 1px dashed var(--dash);
}

.tangle__lines {
  position: absolute;
  left: 1.5px;
  top: 32.6px;
}

.tangle .flow__label {
  left: 19px;
  top: 19px;
  color: var(--label);
}

.chip {
  position: absolute;
  transform: translateX(-50%);
  padding: 8px 12px;
  background: var(--white);
  border: 1px dashed var(--chip-border);
  font-size: 13px;
  line-height: normal;
  white-space: nowrap;
  transition: border-color 0.3s ease, transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.chip:hover {
  border-color: var(--ink);
  border-style: solid;
  transform: translateX(-50%) translateY(-3px) rotate(-1.5deg);
  box-shadow: 3px 3px 0 var(--ink);
  z-index: 2;
}

/* knot */
.knot {
  background: var(--white);
  border: 1.5px solid var(--blue);
}

.knot .flow__label {
  left: 18.5px;
  top: 18.5px;
  color: var(--blue);
}

.knot__line {
  position: absolute;
  left: 0;
  top: 44.58px;
}

.knot__text {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 136.5px;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
}

/* thread */
.thread {
  background: var(--ink);
}

.thread .flow__label {
  left: 20px;
  top: 21px;
  color: var(--muted-on-dark);
}

.thread__in {
  position: absolute;
  left: -9.5px;
  top: 84px;
}

.thread__spine {
  position: absolute;
  left: 50px;
  top: 84px;
}

.thread__tick {
  position: absolute;
  left: 49.5px;
}

.thread__node {
  position: absolute;
  left: 67px;
  width: 6px;
  height: 6px;
  background: var(--blue-soft);
}

.thread__item {
  position: absolute;
  left: 72.83px;
  right: 30px;
  padding: 12px 14px;
  border: 1px solid var(--blue-soft);
  font-size: 13px;
  line-height: normal;
  color: var(--white);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.thread__item:hover {
  background: rgba(79, 102, 208, 0.18);
}

/* Stats */

.outcomes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 0 0;
}

.outcomes__text {
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 0 0;
}

.stat__value {
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.stat__note {
  font-family: var(--mono);
  font-size: 12px;
  line-height: normal;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Project cards
   -------------------------------------------------------------------------- */

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

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

.card {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  background: var(--white);
  border: 1px solid var(--hairline);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.cards--stack .card {
  min-height: 0;
}

a.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 16px 40px rgba(17, 21, 28, 0.08);
}

.card__bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: normal;
  white-space: nowrap;
}

.card__num {
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card__num svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.3s ease, transform 0.45s var(--ease);
}

a.card:hover .card__num svg {
  opacity: 1;
  transform: translate(0, 0);
}

.card__client {
  color: var(--label);
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__media {
  position: relative;
  height: 211px;
  background: var(--paper);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 1s var(--ease);
}

a.card:hover .card__media img {
  transform: scale(1.04);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 20px 28px;
}

.card__title {
  font-weight: 500;
  font-size: 26px;
  line-height: normal;
  transition: color 0.3s ease;
}

a.card:hover .card__title {
  color: var(--blue);
}

.card__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card__detail {
  display: flex;
  gap: 16px;
}

.card__detail .label {
  flex: 0 0 120px;
}

.card__detail p:last-child {
  flex: 1 1 0;
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   How I work
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 24px;
}

.step__marker {
  width: 12px;
  height: 12px;
  background: var(--blue);
  transition: transform 0.6s var(--ease), border-radius 0.6s var(--ease);
}

.step:hover .step__marker {
  transform: rotate(45deg) scale(1.15);
}

.step__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--label);
}

.step__title {
  font-weight: 500;
  font-size: 26px;
  line-height: normal;
}

.step__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Awards
   -------------------------------------------------------------------------- */

.awards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.award {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px 20px 0;
}

.award__title {
  font-weight: 500;
  font-size: 15px;
  line-height: normal;
}

.award__project {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

.award__project a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.award__project a:hover {
  color: var(--blue);
}

.award__role {
  font-size: 12px;
  line-height: 1.45;
  color: var(--label);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 88px 0 64px;
  border-top: 1px solid var(--ink);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
}

.footer__title {
  font-weight: 300;
  font-size: clamp(44px, 5.3vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.footer__link {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  background-image: linear-gradient(var(--blue), var(--blue));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: color 0.3s ease, background-size 0.5s var(--ease);
}

.footer__link:hover {
  color: var(--blue);
  background-size: 100% 1px;
}

.footer--compact {
  padding-top: 0;
  border-top: 0;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 12px;
  line-height: normal;
  color: var(--label);
}

.legal a:hover {
  color: var(--blue);
}

.legal__lang {
  display: flex;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Sub pages (case study placeholders)
   -------------------------------------------------------------------------- */

/* Sub pages fill the viewport: the gap above the footer absorbs extra height */
.case-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.case-page > main {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.case-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  padding: 88px 0 48px;
}

.case-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--label);
  transition: color 0.3s ease;
}

.case-link svg {
  width: 9px;
  height: 14px;
  transition: transform 0.45s var(--ease);
}

.case-link:hover {
  color: var(--blue);
}

.case-link:hover svg {
  transform: translateX(5px);
}

.case-link--back svg {
  transform: scaleX(-1);
}

.case-link--back:hover svg {
  transform: scaleX(-1) translateX(5px);
}

.case-link--next {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
}

.case-title {
  max-width: 1000px;
  font-weight: 300;
  font-size: clamp(36px, 8vw, 48px);
  line-height: normal;
  letter-spacing: -0.01em;
}

.case-soon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: 48px;
  padding: 48px 0 88px;
}

.case-soon__title {
  font-weight: 500;
  font-size: 26px;
}

.case-soon__text {
  max-width: 640px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Motion — scroll reveal & diagram draw-in
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Hero entrance */
.js .hero [data-reveal] {
  transition-duration: 1.1s;
}

/* Fig. 1 sequence: tangle draws, knot forms, thread lays out */
.js .flow .wipe {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .flow .wipe--down {
  clip-path: inset(0 0 100% 0);
}

.js .flow .pop {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .flow .chip.pop {
  transform: translateX(-50%) translateY(8px);
}

.js .flow.is-visible .wipe {
  clip-path: inset(0 0 0 0);
}

.js .flow.is-visible .pop {
  opacity: 1;
  transform: none;
}

.js .flow.is-visible .chip.pop {
  transform: translateX(-50%);
}

.js .flow.is-visible .chip.pop:hover {
  transform: translateX(-50%) translateY(-3px) rotate(-1.5deg);
  transition-delay: 0s;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation: none !important;
  }

  .js [data-reveal],
  .js .flow .pop,
  .js .flow .wipe {
    opacity: 1 !important;
    clip-path: none !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1280px) {
  .stat__value {
    font-size: 44px;
  }
}

@media (max-width: 960px) {
  .flow {
    flex-direction: column;
    align-items: center;
    width: 390px;
    margin: 0 auto;
  }

  .flow__box {
    flex: 0 0 338px;
    width: 390px;
  }

  .flow__arrow {
    flex: 0 0 64px;
    width: 72px;
    transform: rotate(90deg);
  }

  .flow__arrow--1 img,
  .flow__arrow--2 img {
    top: calc(50% - 14px);
  }
}

@media (max-width: 1100px) {
  :root {
    --gutter: 40px;
    --section-pad: 72px;
  }

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

  .hero__intro {
    padding-right: 0;
  }

  .profile {
    border-left: 0;
    border-top: 1px solid var(--ink);
    margin-bottom: 48px;
    border: 1px solid var(--ink);
  }

  .stats,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .awards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .outcomes__text {
    font-size: 28px;
  }
}

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

  .card {
    min-height: 0;
  }

}

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
    --section-pad: 56px;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 0 6px;
  }

  .site-header.is-scrolled .site-header__inner {
    padding: 10px 0 2px;
  }

  .logo__text {
    font-size: 11px;
    white-space: normal;
  }

  .nav {
    margin-left: -14px;
    max-width: calc(100% + 14px);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav__link {
    padding: 10px 14px;
    font-size: 12px;
  }

  .hero__intro {
    gap: 28px;
    padding: 56px 0 48px;
  }

  .hero__lede {
    font-size: 18px;
  }

  .section-title {
    font-size: 38px;
  }

  .status-quo__text {
    font-size: 19px;
  }

  .outcomes__text {
    font-size: 22px;
  }

  .stats,
  .steps,
  .awards {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat__value {
    font-size: 40px;
  }

  .card__bar {
    flex-direction: column;
    gap: 4px;
  }

  .card__title {
    font-size: 24px;
  }

  .card__detail {
    flex-direction: column;
    gap: 6px;
  }

  .card__detail .label {
    flex: none;
  }

  .card__media {
    height: 180px;
  }

  .case-hero {
    gap: 32px;
    padding: 48px 0 32px;
  }

  .case-soon {
    gap: 32px;
    padding: 32px 0 48px;
  }

  .legal {
    gap: 12px 24px;
    justify-content: flex-start;
  }
}
