:root {
  --color-accent: #0002E3;
  --color-accent-foreground: #FFFFFF;
  --color-accent-gradient-start: #4B4FFC;
  --color-accent-gradient-end: #2E3DFD;
  --color-accent-secondary: #2a3cff;
  --color-accent-secondary-inverse: #8f97ff;
  --color-brand-clutch: #ff3d2e;
  --color-background: #ffffff;
  --color-background-hero: #F4F9FF;
  --color-background-alt: #f7f7f7;
  --color-background-brand-tint: color-mix(
    in srgb,
    color-mix(in srgb, var(--color-accent) 30%, var(--color-muted) 70%) 8%,
    white 92%
  );
  --color-surface: #ffffff;
  --color-foreground: #171717;
  --color-link: #1a1a1a;
  --color-muted: #52525b;
  --color-border: rgb(0 0 0 / 0.08);
  --color-surface-inverse: #1a1918;
  --color-footer-bg: #101828;
  --color-cta-inverse-bg: #0c1322;
  --color-foreground-inverse: #fafafa;
  --color-muted-inverse: #a1a1aa;
  --color-border-inverse: rgb(255 255 255 / 0.12);
  --gradient-footer-legacy: linear-gradient(180deg, #00060C 27vh, #0D0020 65vw);
  --font-heading: "Lexend", Arial, Helvetica, sans-serif;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
  --text-h1: 40px;
  --text-h2: 32px;
  --text-h3: 28px;
  --text-h4: 24px;
  --text-h5: 20px;
  --text-h6: 16px;
  --line-height-h4: 1.2;
  --font-weight-heading: 600;
  --letter-spacing-h1: -0.03em;
  --letter-spacing-h2: -0.025em;
  --letter-spacing-h3: -0.02em;
  --letter-spacing-h4: -0.02em;
  --letter-spacing-h5: -0.01em;
  --letter-spacing-h6: -0.005em;
  --letter-spacing-lg: -0.0075em;
  --text-body: 16px;
  --text-small: 14px;
  --text-caption: 12px;
  --font-weight-body: 400;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-4xl: 36px;
  --text-5xl: 48px;
  --text-6xl: 60px;
  --space-0: 0;
  --space-20: 20px;
  --space-25: 25px;
  --space-30: 30px;
  --space-40: 40px;
  --space-50: 50px;
  --space-90: 90px;
  --space-100: 100px;
  --space-32: 32px;
  --space-16: 16px;
  --space-12: 12px;
  --space-8: 8px;
  --space-24: 24px;
  --icon-size: 16px;
  --color-portfolio-bg: #f7f7f7;
  --color-portfolio-nav-link: #6a718e;
  --color-portfolio-nav-link-active-bg: #f4f5ff;
  --radius-md: 25px;
  --radius-lg: 30px;
  --shadow-dropdown: 0 10px 40px -12px rgb(0 0 0 / 0.18);
  --shadow-btn-primary: 0 0 0 4px rgb(71 76 252 / 0.25);
  --container-max: 1400px;
  --width-article-title: 900px;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  src: url("../fonts/inter/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  src: url("../fonts/inter/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-display: swap;
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 500 600;
  src: url("../fonts/lexend/lexend-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 500 600;
  src: url("../fonts/lexend/lexend-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--navbar-h, 89px) + var(--space-20));
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--font-weight-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

strong,
b {
  font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  margin: 0;
  color: var(--color-foreground);
}

h1 {
  font-size: var(--text-h1);
  line-height: 1.15;
  letter-spacing: var(--letter-spacing-h1);
}

h2 {
  font-size: var(--text-h2);
  line-height: 1.2;
  letter-spacing: var(--letter-spacing-h2);
}

h3 {
  font-size: var(--text-h3);
  line-height: 1.25;
  letter-spacing: var(--letter-spacing-h3);
}

h4 {
  font-size: var(--text-h4);
  line-height: var(--line-height-h4);
  letter-spacing: var(--letter-spacing-h4);
}

h5 {
  font-size: var(--text-h5);
  line-height: 1.3;
  letter-spacing: var(--letter-spacing-h5);
}

h6 {
  font-size: var(--text-h6);
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-h6);
}

p {
  margin: 0 0 var(--space-20) 0;
}
p:last-child {
  margin-bottom: 0;
}

small,
.text-small {
  font-size: var(--text-small);
}

.text-caption {
  font-size: var(--text-caption);
}

.text-muted {
  color: var(--color-muted);
}

.tone-inverse {
  background: var(--color-surface-inverse);
  color: var(--color-foreground-inverse);
}
.tone-inverse h1, .tone-inverse h2, .tone-inverse h3, .tone-inverse h4, .tone-inverse h5, .tone-inverse h6 {
  color: var(--color-foreground-inverse);
}
.tone-inverse .text-muted {
  color: var(--color-muted-inverse);
}
.tone-inverse :focus-visible {
  outline-color: var(--color-accent-secondary-inverse);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-20);
}
@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-40);
  }
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-20);
  background: var(--color-accent);
  color: var(--color-accent-foreground);
  padding: var(--space-20);
  z-index: 100;
}
.skip-link:focus {
  top: var(--space-20);
}

.ph {
  font-size: var(--icon-size);
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-0);
  padding: var(--space-12) var(--space-32);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled, .btn[aria-disabled=true] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--primary {
  background: linear-gradient(180deg, var(--color-accent-gradient-start), var(--color-accent-gradient-end));
  box-shadow: var(--shadow-btn-primary);
  color: var(--color-accent-foreground);
}
.btn--primary:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-accent-gradient-start) 85%, black), color-mix(in srgb, var(--color-accent-gradient-end) 85%, black));
}

.btn--secondary {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn--secondary:hover {
  background: var(--color-accent);
  color: var(--color-accent-foreground);
}

.btn--solid {
  background: var(--color-foreground);
  color: var(--color-background);
}
.btn--solid:hover {
  background: color-mix(in srgb, var(--color-foreground) 85%, white);
}

.tone-inverse .btn--secondary {
  color: var(--color-accent-secondary-inverse);
  border-color: var(--color-accent-secondary-inverse);
}
.tone-inverse .btn--secondary:hover {
  background: var(--color-accent-secondary-inverse);
  color: var(--color-surface-inverse);
}

.link, .article-body a {
  position: relative;
  display: inline-block;
  width: fit-content;
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s ease;
}
.link::after, .article-body a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3em;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
}
@media (prefers-reduced-motion: no-preference) {
  .link::after, .article-body a::after {
    transition: transform 0.5s ease;
  }
}
.link:hover, .article-body a:hover, .link:focus-visible, .article-body a:focus-visible {
  color: var(--color-accent);
}
.link:hover::after, .article-body a:hover::after, .link:focus-visible::after, .article-body a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.tone-inverse .link, .tone-inverse .article-body a, .article-body .tone-inverse a {
  color: var(--color-accent-secondary-inverse);
}
.tone-inverse .link:hover, .tone-inverse .article-body a:hover, .article-body .tone-inverse a:hover, .tone-inverse .link:focus-visible, .tone-inverse .article-body a:focus-visible, .article-body .tone-inverse a:focus-visible {
  color: var(--color-foreground-inverse);
}

.link--plain::after {
  display: none;
}

.u-char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1em;
}

.u-char-track {
  display: flex;
  flex-direction: column;
}

.u-char-line {
  display: block;
}

.u-char-space {
  white-space: pre;
}

.list {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.list--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-20);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-20);
}
.pagination__next {
  margin-left: auto;
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-bottom: var(--space-20);
}

.field__label {
  font-size: var(--text-small);
  font-weight: 600;
  margin-bottom: var(--space-0);
  color: var(--color-foreground);
}

.field__input,
.field__textarea {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-foreground);
  background: var(--color-background-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-12) var(--space-20);
  width: 100%;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.field__input:hover,
.field__textarea:hover {
  border-color: rgba(0, 0, 0, 0.16);
}
.field__input:focus, .field__input:focus-visible,
.field__textarea:focus,
.field__textarea:focus-visible {
  outline: none;
  background: var(--color-surface);
  border-color: var(--color-accent-secondary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-accent-secondary) 14%, transparent);
}
.field__input[aria-invalid=true],
.field__textarea[aria-invalid=true] {
  border-color: #c0392b;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}
.field__input::placeholder,
.field__textarea::placeholder {
  color: var(--color-muted);
}

.field__input {
  height: 48px;
  line-height: normal;
}

.field__textarea {
  min-height: 132px;
  border-radius: 20px;
  resize: vertical;
}

.field__checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  flex-wrap: wrap;
}
.field__checkbox-row .field__error {
  flex-basis: 100%;
}
.field__checkbox-row input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  margin: 2px 0 0;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid rgba(0, 0, 0, 0.24);
  border-radius: 6px;
  background: var(--color-surface) center/12px 12px no-repeat;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.field__checkbox-row input[type=checkbox]:hover {
  border-color: var(--color-accent-secondary);
}
.field__checkbox-row input[type=checkbox]:checked {
  border-color: var(--color-accent-secondary);
  background-color: var(--color-accent-secondary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.field__checkbox-row input[type=checkbox][aria-invalid=true] {
  border-color: #c0392b;
}
.field__checkbox-row label {
  flex: 1;
  min-width: 0;
  font-size: var(--text-small);
  color: var(--color-muted);
  cursor: pointer;
}

.field__error {
  font-size: var(--text-caption);
  color: #c0392b;
  margin-top: var(--space-0);
}

.grid {
  display: grid;
  gap: var(--space-20);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid--4 {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 992px) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card, .card--service, .card--project, .card--blog {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.card__image {
  aspect-ratio: 16/10;
  width: 100%;
  object-fit: cover;
  background: var(--color-background-alt);
}

.card__body {
  padding: var(--space-25);
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.card__title {
  font-size: var(--text-xl);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
}

.card__meta {
  margin: 0;
  font-size: var(--text-caption);
  color: var(--color-muted);
}

.card__excerpt {
  font-size: var(--text-small);
  color: var(--color-muted);
  line-height: 1.6;
}

.card--project {
  position: relative;
  cursor: pointer;
}
.card--project .card__body {
  padding: var(--space-20);
}
.card--project .card__title {
  font-size: var(--text-lg);
  letter-spacing: var(--letter-spacing-lg);
}

.card__visual {
  position: relative;
  aspect-ratio: 16/10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20);
  background: var(--color-surface);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-20);
  font-size: var(--text-small);
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-accent-secondary);
}

.eyebrow-icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--color-accent-gradient-start), var(--color-accent-gradient-end));
}

.hero__container .eyebrow {
  margin-bottom: 0;
}

.lead, .tech-stack__lead, .hero__lead {
  font-size: var(--text-body);
  color: var(--color-muted);
}

.tone-inverse .lead, .tone-inverse .tech-stack__lead, .tone-inverse .hero__lead {
  color: var(--color-muted-inverse);
}

.feature-rotator {
  display: grid;
  gap: var(--space-40);
}
@media (min-width: 992px) {
  .feature-rotator {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    gap: var(--space-100);
    align-items: center;
  }
}
.feature-rotator__list {
  display: flex;
  flex-direction: column;
}
.feature-rotator__item {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid var(--color-border);
  padding: var(--space-25) var(--space-25) var(--space-25) var(--space-40);
  cursor: pointer;
  font: inherit;
}
.feature-rotator__item:first-child {
  border-top: 0;
}
.feature-rotator__item:last-child {
  border-bottom: 1px solid var(--color-border);
}
.feature-rotator__bar {
  position: absolute;
  left: 0;
  top: var(--space-25);
  bottom: var(--space-25);
  width: 3px;
  background: transparent;
  overflow: hidden;
}
.feature-rotator__bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: top;
}
.feature-rotator__title {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  letter-spacing: var(--letter-spacing-lg);
  font-weight: var(--font-weight-heading);
  color: var(--color-muted);
  transition: color 0.3s ease;
}
.feature-rotator__excerpt {
  display: block;
  margin-top: var(--space-20);
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.6;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
.feature-rotator__item.is-active .feature-rotator__title {
  color: var(--color-foreground);
}
.feature-rotator__item.is-active .feature-rotator__excerpt {
  opacity: 1;
}
.feature-rotator__item.is-active .feature-rotator__bar {
  background: var(--color-border);
}
.feature-rotator__media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-background-alt);
}
.feature-rotator__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.feature-rotator__image.is-active {
  opacity: 1;
}

.hero {
  padding-block: var(--space-90);
}
.hero__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  max-width: 760px;
}
.hero__container--split {
  max-width: var(--container-max);
  gap: var(--space-40);
}
@media (min-width: 992px) {
  .hero__container--split {
    display: grid;
    grid-template-columns: minmax(0, 560px) 1fr;
    align-items: center;
    gap: var(--space-50);
  }
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  width: fit-content;
  padding: var(--space-8) var(--space-20);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-small);
  font-weight: var(--font-weight-body);
  color: var(--color-foreground);
  transition: border-color 0.2s ease;
}
.hero__badge:hover, .hero__badge:focus-visible {
  border-color: var(--color-accent-secondary);
}
.hero__badge .ph-arrow-right {
  color: var(--color-accent-secondary);
}
.hero__badge-rating {
  font-weight: 500;
}
.hero__badge-arrow {
  transition: transform 0.2s ease;
}
.hero__badge:hover .hero__badge-arrow, .hero__badge:focus-visible .hero__badge-arrow {
  transform: translateX(4px);
}
.hero__badge-logo {
  flex-shrink: 0;
  width: var(--icon-size);
  height: var(--icon-size);
}
.hero__title {
  font-size: var(--text-h1);
}
.hero__title-accent {
  color: var(--color-accent-secondary);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-20);
  margin-top: var(--space-20);
}
.hero__media {
  display: block;
  aspect-ratio: 1400/1227;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--home {
  background: var(--color-background-hero);
}

.logo-marquee {
  background: var(--color-background);
  padding-top: var(--space-32);
  padding-bottom: var(--space-40);
}
.logo-marquee__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-24);
}
@media (min-width: 768px) {
  .logo-marquee__inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-40);
  }
}
.logo-marquee__label {
  flex-shrink: 0;
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-small);
  text-align: center;
}
@media (min-width: 768px) {
  .logo-marquee__label {
    text-align: left;
  }
}
.logo-marquee__viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-50);
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: logo-marquee-scroll 32s linear infinite;
}
.logo-marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-marquee__item img {
  max-height: 22px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
}

@keyframes logo-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.text-section {
  padding-block: var(--space-90);
}
.text-section__container {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.badge-pill {
  display: inline-block;
  padding: var(--space-8) var(--space-20);
  border: 1px solid var(--color-accent-secondary);
  border-radius: var(--radius-lg);
  color: var(--color-accent-secondary);
  font-size: var(--text-small);
  font-weight: 600;
  margin-bottom: var(--space-20);
}

.badge-count {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  padding: 2px var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-background-hero);
  color: var(--color-accent-secondary);
  font-size: var(--text-caption);
  font-weight: var(--font-weight-body);
  line-height: 1;
}

.portfolio-showcase-section {
  padding-block: var(--space-90);
  background-color: var(--color-portfolio-bg);
}

@media (min-width: 992px) {
  .portfolio-showcase {
    display: grid;
    grid-template-columns: minmax(280px, 33.333%) 1fr;
    gap: var(--space-24);
  }
}
.portfolio-showcase__sidebar {
  display: none;
}
@media (min-width: 992px) {
  .portfolio-showcase__sidebar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-40);
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 300px;
    padding: 6% var(--space-40);
    background: var(--color-surface);
    border-radius: 20px;
  }
}
.portfolio-showcase__kicker {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  letter-spacing: var(--letter-spacing-h4);
  font-weight: var(--font-weight-heading);
  color: var(--color-foreground);
}
.portfolio-showcase__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.portfolio-showcase__nav a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-portfolio-nav-link);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.portfolio-showcase__nav a.is-active {
  color: var(--color-accent-secondary);
  background-color: var(--color-portfolio-nav-link-active-bg);
}
.portfolio-showcase__stack {
  padding: 0 var(--space-20);
}
@media (min-width: 992px) {
  .portfolio-showcase__stack {
    padding: 0;
  }
}
.portfolio-showcase__panel {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 20px;
}
.portfolio-showcase__panel:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .portfolio-showcase__panel {
    height: 60vh;
  }
}
@media (min-width: 992px) {
  .portfolio-showcase__panel {
    height: auto;
    aspect-ratio: 4/3;
    border-radius: 20px;
  }
}
.portfolio-showcase__panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-showcase__more {
  display: flex;
  justify-content: center;
  padding: var(--space-40) var(--space-20) 0;
}
@media (min-width: 992px) {
  .portfolio-showcase__more {
    display: none;
  }
}
.portfolio-showcase__trigger {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 20px;
}
.portfolio-showcase__trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}
.portfolio-showcase__panel-title {
  display: none;
  color: var(--color-muted);
  font-size: var(--text-body);
  font-weight: var(--font-weight-body);
  text-align: center;
  padding: var(--space-40) var(--space-20);
}
@media (min-width: 992px) {
  .portfolio-showcase__panel-title {
    display: block;
    position: absolute;
    top: 40%;
    left: var(--space-40);
    max-width: 300px;
    padding: 0;
    text-align: left;
  }
}

.method {
  display: grid;
  gap: var(--space-40);
}
@media (min-width: 992px) {
  .method {
    grid-template-columns: minmax(240px, 38%) 1fr;
    gap: var(--space-100);
    align-items: start;
  }
}
.method__visual-col {
  order: 1;
}
@media (min-width: 992px) {
  .method__visual-col {
    order: 0;
  }
}
.method__sticky-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}
@media (min-width: 992px) {
  .method__sticky-visual {
    position: sticky;
    top: calc(var(--navbar-h, 89px) + var(--space-20));
  }
}
.method__cta {
  align-self: flex-start;
}
.method__pattern, .method__mobile-pattern {
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  padding: var(--space-25);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
}
.method__pattern {
  display: none;
}
@media (min-width: 992px) {
  .method__pattern {
    display: grid;
  }
}
.method__mobile-pattern {
  display: grid;
  gap: 3px;
  padding: var(--space-20);
  margin-bottom: var(--space-20);
  border-radius: var(--radius-md);
}
@media (min-width: 992px) {
  .method__mobile-pattern {
    display: none;
  }
}
.method__cell {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cell-color, var(--color-background-alt));
}
.method__cell.is-swapping {
  animation: method-cell-swap 0.5s ease-out both;
  animation-delay: var(--cell-delay, 0ms);
}
.method__steps {
  display: flex;
  flex-direction: column;
}
.method__step {
  padding-block: var(--space-40);
  border-top: 1px solid var(--color-border);
}
.method__step:last-child {
  border-bottom: 1px solid var(--color-border);
}
.method__step h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  letter-spacing: var(--letter-spacing-h4);
  font-weight: var(--font-weight-heading);
  color: var(--color-muted);
  opacity: 0.45;
  transition: color 0.4s ease, opacity 0.4s ease;
}
.method__step p {
  margin-top: var(--space-20);
  max-width: 60ch;
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.6;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}
.method__step.is-active h3 {
  color: var(--color-foreground);
  opacity: 1;
}
.method__step.is-active p {
  opacity: 1;
}

@keyframes method-cell-swap {
  0% {
    background: var(--cell-prev, var(--color-background-alt));
  }
  100% {
    background: var(--cell-color, var(--color-background-alt));
  }
}
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-20);
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
}
.modal[open], .modal.is-open {
  display: flex;
}

.modal__panel {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
@media (min-width: 768px) {
  .modal__panel {
    padding: var(--space-50);
  }
}

.modal__close {
  position: absolute;
  top: calc(var(--space-24) + var(--text-h4) * 1.2 / 2);
  right: var(--space-24);
  transform: translateY(-50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}
@media (min-width: 768px) {
  .modal__close {
    top: var(--space-20);
    right: var(--space-20);
    transform: none;
  }
}
.modal__close:hover, .modal__close:focus-visible {
  background: var(--color-background-alt);
  color: var(--color-foreground);
}

.modal__layout {
  display: grid;
  gap: var(--space-40);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .modal__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
    gap: var(--space-50);
    align-items: start;
  }
}

.modal__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}
.modal__main p {
  margin: 0;
}
.modal__main h2 {
  padding-right: var(--space-40);
  font-size: var(--text-h4);
  letter-spacing: var(--letter-spacing-h4);
}
@media (min-width: 768px) {
  .modal__main h2 {
    font-size: var(--text-h2);
    letter-spacing: var(--letter-spacing-h2);
  }
}

.modal__form {
  display: grid;
  gap: var(--space-20);
  grid-template-columns: 1fr;
}
.modal__form[hidden] {
  display: none;
}
@media (min-width: 576px) {
  .modal__form {
    grid-template-columns: repeat(2, 1fr);
  }
}
.modal__form .field {
  margin-bottom: 0;
}
.modal__form .field--full,
.modal__form .field__checkbox-row,
.modal__form .btn {
  grid-column: 1/-1;
}
.modal__form .btn {
  justify-self: start;
}

.modal__aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  padding: var(--space-30);
  border-radius: var(--radius-md);
  background: var(--color-background-alt);
}
.modal__aside p {
  margin: 0;
}

.modal__aside-heading {
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.modal__panel:has(.modal__layout) {
  padding: 0;
  max-width: 960px;
}
@media (min-width: 768px) {
  .modal__panel:has(.modal__layout) {
    padding: 0;
  }
}
.modal__panel:has(.modal__layout) .modal__layout {
  gap: 0;
}
@media (min-width: 768px) {
  .modal__panel:has(.modal__layout) .modal__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    align-items: stretch;
  }
}
.modal__panel:has(.modal__layout) .modal__main {
  padding: var(--space-24);
}
@media (min-width: 768px) {
  .modal__panel:has(.modal__layout) .modal__main {
    padding: var(--space-50);
  }
}
.modal__panel:has(.modal__layout) .modal__main > .text-muted {
  margin-top: calc(var(--space-8) - var(--space-20));
  margin-bottom: var(--space-8);
}
.modal__panel:has(.modal__layout) .modal__aside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 0;
  padding: var(--space-30) var(--space-24);
  border-radius: 0;
  background: var(--color-footer-bg);
  color: var(--color-muted-inverse);
}
@media (min-width: 768px) {
  .modal__panel:has(.modal__layout) .modal__aside {
    padding: var(--space-50) var(--space-40);
  }
}
.modal__panel:has(.modal__layout) .modal__aside::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 100%;
  height: 260px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(70% 80% at 90% 0%, color-mix(in srgb, var(--color-accent-secondary) 30%, transparent), transparent 70%);
}
.modal__panel:has(.modal__layout) .modal__aside p {
  font-size: var(--text-small);
  line-height: 1.7;
  padding-block: var(--space-20);
  border-top: 1px solid var(--color-border-inverse);
}
.modal__panel:has(.modal__layout) .modal__aside p:not(:last-child)::first-line {
  color: var(--color-foreground-inverse);
  font-weight: 600;
}
.modal__panel:has(.modal__layout) .modal__aside p:last-child {
  padding-bottom: 0;
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.9;
}
.modal__panel:has(.modal__layout) .modal__aside .link, .modal__panel:has(.modal__layout) .modal__aside .article-body a, .article-body .modal__panel:has(.modal__layout) .modal__aside a {
  color: var(--color-foreground-inverse);
}
.modal__panel:has(.modal__layout) .modal__aside .link:hover, .modal__panel:has(.modal__layout) .modal__aside .article-body a:hover, .article-body .modal__panel:has(.modal__layout) .modal__aside a:hover, .modal__panel:has(.modal__layout) .modal__aside .link:focus-visible, .modal__panel:has(.modal__layout) .modal__aside .article-body a:focus-visible, .article-body .modal__panel:has(.modal__layout) .modal__aside a:focus-visible {
  color: var(--color-accent-secondary-inverse);
}
.modal__panel:has(.modal__layout) .modal__aside :focus-visible {
  outline-color: var(--color-accent-secondary-inverse);
}
.modal__panel:has(.modal__layout) .modal__aside-heading {
  margin-bottom: var(--space-20);
  color: var(--color-accent-secondary-inverse);
}
@media (min-width: 768px) {
  .modal__panel:has(.modal__layout) .modal__close {
    color: var(--color-muted-inverse);
  }
  .modal__panel:has(.modal__layout) .modal__close:hover, .modal__panel:has(.modal__layout) .modal__close:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-foreground-inverse);
  }
}

.modal__success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-8);
  padding: var(--space-30);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-background-hero);
}
.modal__success p {
  margin: 0;
}

.modal__success-icon {
  font-size: 32px;
  color: var(--color-accent-secondary);
}

.modal__success-heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--letter-spacing-lg);
}

.newsletter {
  border-radius: var(--radius-md);
  background: var(--color-background-alt);
  padding: var(--space-25);
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}
.newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-20);
}
.newsletter__input {
  flex: 1 1 240px;
}

.article-hero {
  background: var(--color-background-brand-tint);
  padding-block: var(--space-50);
}
@media (min-width: 768px) {
  .article-hero {
    padding-block: var(--space-100);
  }
}
.article-hero .hero__container {
  max-width: var(--container-max);
}

.article-title {
  max-width: var(--width-article-title);
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-16);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  transition: color 0.2s ease;
}
.article-back-link:hover {
  color: var(--color-accent);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-20);
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8) var(--space-20);
  font-size: var(--text-small);
  color: var(--color-muted);
}

.share-buttons {
  display: flex;
  gap: var(--space-20);
}
.share-buttons__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.share-buttons__link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

@media (min-width: 992px) {
  .article-meta__mobile-share {
    display: none;
  }
}

.article-hero-image {
  width: 100%;
  border-radius: var(--radius-md);
}
@media (min-width: 992px) {
  .article-hero-image {
    grid-column: 1/-1;
  }
}

.article-layout {
  display: grid;
}
@media (min-width: 992px) {
  .article-layout {
    grid-template-columns: 64px minmax(0, 1fr) 240px;
    gap: var(--space-50);
    align-items: start;
  }
}
.article-layout__share {
  display: none;
}
@media (min-width: 992px) {
  .article-layout__share {
    display: flex;
    flex-direction: column;
    gap: var(--space-20);
    position: sticky;
    top: calc(var(--navbar-h, 89px) + var(--space-20));
  }
}
@media (min-width: 992px) {
  .article-layout--no-share {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
}
.article-layout__toc {
  display: none;
}
@media (min-width: 992px) {
  .article-layout__toc {
    display: block;
    position: sticky;
    top: calc(var(--navbar-h, 89px) + var(--space-20));
  }
}

.article-toc__kicker {
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent-secondary);
  margin-bottom: var(--space-20);
}
.article-toc__nav {
  position: relative;
}
.article-toc__indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  background: var(--color-accent);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .article-toc__indicator {
    transition: transform 0.25s ease, height 0.25s ease;
  }
}
.article-toc__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  padding-left: var(--space-20);
  border-left: 1px solid var(--color-border);
}
.article-toc__list a {
  display: block;
  font-size: var(--text-small);
  color: var(--color-muted);
  transition: color 0.2s ease;
}
.article-toc__list a:hover {
  color: var(--color-foreground);
}
.article-toc__list a.is-active {
  color: var(--color-foreground);
  font-weight: 600;
}

.article-body h2 {
  margin-top: var(--space-50);
  margin-bottom: var(--space-20);
}
.article-body h3 {
  margin-top: var(--space-40);
  margin-bottom: var(--space-20);
}
.article-body > *:first-child {
  margin-top: 0;
}
.article-body p {
  color: var(--color-muted);
}
.article-body ul,
.article-body ol {
  margin: 0 0 var(--space-20) 0;
  padding-left: 1.25em;
  color: var(--color-muted);
}
.article-body ul:last-child,
.article-body ol:last-child {
  margin-bottom: 0;
}
.article-body ul {
  list-style: disc;
}
.article-body ol {
  list-style: decimal;
}
.article-body li {
  margin-bottom: var(--space-0);
  line-height: 1.6;
}
.article-body li + li {
  margin-top: 0.4em;
}
.article-body img {
  border-radius: var(--radius-md);
  margin-block: var(--space-40);
}
.article-body blockquote {
  margin: var(--space-40) 0;
  padding-left: var(--space-20);
  border-left: 2px solid var(--color-accent-secondary);
  font-style: italic;
  color: var(--color-foreground);
}

.logo-grid {
  display: grid;
  background: var(--color-background-brand-tint);
}
@media (min-width: 992px) {
  .logo-grid {
    grid-template-columns: minmax(240px, 300px) 1fr;
  }
}
.logo-grid__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-40);
  border: 1px solid var(--color-border);
  border-right: none;
}
.logo-grid__intro-heading {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  letter-spacing: var(--letter-spacing-h4);
  font-weight: var(--font-weight-heading);
  color: var(--color-foreground);
}
.logo-grid__intro-sub {
  color: var(--color-muted);
  font-size: var(--text-body);
}
.logo-grid__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}
@media (min-width: 576px) {
  .logo-grid__items {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) {
  .logo-grid__items {
    grid-template-columns: repeat(4, 1fr);
  }
}
.logo-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-40) var(--space-20);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.logo-grid__item img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.logo-grid__item:hover img {
  filter: none;
  opacity: 1;
}

.tech-stack {
  position: relative;
}
.tech-stack__lead {
  max-width: 100%;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .tech-stack__lead {
    max-width: 560px;
  }
}
.tech-stack__viewport {
  position: relative;
  overflow: hidden;
  height: clamp(480px, 62vw, 880px);
}
.tech-stack__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}
.tech-stack__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-20);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(24px, 5vw, 44px);
  line-height: 1.2;
  color: var(--color-foreground);
  text-align: center;
  margin: 0;
  padding-block: var(--space-20);
  opacity: 1;
  transition: opacity 0.6s ease;
}
.tech-stack__item.is-active {
  font-weight: 500;
}
.tech-stack__icon {
  flex-shrink: 0;
  width: clamp(20px, 4vw, 38px);
  height: clamp(20px, 4vw, 38px);
  object-fit: contain;
}
.tech-stack__frame {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 0;
  z-index: 1;
  pointer-events: none;
}
.tech-stack__line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--container-max));
  padding-inline: var(--space-20);
  border-top: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .tech-stack__line {
    padding-inline: var(--space-40);
  }
}
.tech-stack__line--top {
  top: calc(var(--tech-item-height, 80px) / -2);
}
.tech-stack__line--bottom {
  top: calc(var(--tech-item-height, 80px) / 2);
}
.tech-stack__label {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  font-size: var(--text-small);
  color: var(--color-muted);
}
.tech-stack__label--left {
  left: max(var(--space-20), (100% - var(--container-max)) / 2);
}
@media (min-width: 768px) {
  .tech-stack__label--left {
    left: max(var(--space-40), (100% - var(--container-max)) / 2);
  }
}
.tech-stack__label--right {
  right: max(var(--space-20), (100% - var(--container-max)) / 2);
}
@media (min-width: 768px) {
  .tech-stack__label--right {
    right: max(var(--space-40), (100% - var(--container-max)) / 2);
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-20);
}
@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.cta {
  padding-block: var(--space-90);
  text-align: center;
}
.cta.tone-inverse {
  background: var(--color-cta-inverse-bg);
}
.cta__container {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-20);
}

.testimonial-slider__track {
  display: flex;
  gap: var(--space-20);
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.testimonial-slider__track::-webkit-scrollbar {
  display: none;
}
.testimonial-slider__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .testimonial-slider__slide {
    flex-basis: calc((100% - var(--space-20)) / 2);
  }
}
@media (min-width: 992px) {
  .testimonial-slider__slide {
    flex-basis: calc((100% - var(--space-20) * 2) / 3);
  }
}
.testimonial-slider__card {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  padding: var(--space-25);
  background: var(--color-background-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.testimonial-slider__mark {
  font-size: 20px;
  color: var(--color-accent-secondary);
  opacity: 0.5;
}
.testimonial-slider__quote {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.6;
  color: var(--color-foreground);
}
.testimonial-slider__quote p {
  margin: 0;
}
.testimonial-slider__person {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin-top: auto;
}
.testimonial-slider__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-slider__id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.testimonial-slider__name {
  font-size: var(--text-small);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  color: var(--color-foreground);
}
.testimonial-slider__role {
  font-size: var(--text-caption);
  color: var(--color-muted);
}
.testimonial-slider__nav {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-12);
  margin-top: var(--space-20);
}
.testimonial-slider__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-foreground);
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.testimonial-slider__arrow:hover:not(:disabled), .testimonial-slider__arrow:focus-visible {
  border-color: var(--color-accent-secondary);
  color: var(--color-accent-secondary);
}
.testimonial-slider__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin-top: var(--space-40);
}
.rating-badge__label {
  font-size: var(--text-small);
  color: var(--color-muted);
}
.rating-badge__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rating-badge__logo {
  display: block;
  height: 30px;
  width: auto;
}
.rating-badge__stars {
  display: flex;
  align-self: stretch;
  justify-content: space-between;
  color: var(--color-brand-clutch);
}
.rating-badge__star {
  width: 16px;
  height: 16px;
  background: currentColor;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-20);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-20);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: var(--text-lg);
  letter-spacing: var(--letter-spacing-lg);
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item .faq__caret {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq__item[open] summary {
  color: var(--color-accent);
}
.faq__item[open] .faq__caret {
  transform: rotate(180deg);
}
.faq__item p {
  margin-top: var(--space-20);
  color: var(--color-muted);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-background);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-20);
}
.navbar__logo img {
  height: 32px;
  width: auto;
}
.navbar__links {
  display: none;
  align-items: center;
  gap: var(--space-40);
  line-height: normal;
  white-space: nowrap;
}
@media (min-width: 992px) {
  .navbar__links {
    display: flex;
  }
}
.navbar__links a:has(.badge-count) {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
}
@media (min-width: 992px) {
  .navbar__mobile {
    display: none;
  }
}
.navbar__mobile summary {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  list-style: none;
  font-size: 1.5rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  margin-right: calc(var(--space-8) * -1);
}
.navbar__mobile summary::-webkit-details-marker {
  display: none;
}
.navbar__mobile-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1em;
  height: 1em;
}
.navbar__mobile-icon-open, .navbar__mobile-icon-close {
  grid-area: 1/1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.navbar__mobile-icon-close {
  opacity: 0;
  transform: scale(0.6);
}
.navbar__mobile[open] .navbar__mobile-icon-open {
  opacity: 0;
  transform: scale(0.6);
}
.navbar__mobile[open] .navbar__mobile-icon-close {
  opacity: 1;
  transform: scale(1);
}
.navbar__mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
}
.navbar__mobile[open] ~ .navbar__mobile-panel {
  opacity: 1;
  backdrop-filter: blur(2px);
  pointer-events: auto;
}
.navbar__mobile-panel-inner {
  position: absolute;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(320px, 85vw);
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  padding: var(--space-20);
  overflow-y: auto;
  background: var(--color-background);
  box-shadow: 8px 0 32px rgba(15, 23, 42, 0.15);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar__mobile-panel-inner > * {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar__mobile[open] ~ .navbar__mobile-panel .navbar__mobile-panel-inner {
  transform: translateX(0);
}
.navbar__mobile[open] ~ .navbar__mobile-panel .navbar__mobile-panel-inner > * {
  opacity: 1;
  transform: translateX(0);
}
.navbar__mobile[open] ~ .navbar__mobile-panel .navbar__mobile-panel-inner > *:nth-child(1) {
  transition-delay: 0.115s;
}
.navbar__mobile[open] ~ .navbar__mobile-panel .navbar__mobile-panel-inner > *:nth-child(2) {
  transition-delay: 0.15s;
}
.navbar__mobile[open] ~ .navbar__mobile-panel .navbar__mobile-panel-inner > *:nth-child(3) {
  transition-delay: 0.185s;
}
.navbar__mobile[open] ~ .navbar__mobile-panel .navbar__mobile-panel-inner > *:nth-child(4) {
  transition-delay: 0.22s;
}
.navbar__mobile[open] ~ .navbar__mobile-panel .navbar__mobile-panel-inner > *:nth-child(5) {
  transition-delay: 0.255s;
}
.navbar__mobile[open] ~ .navbar__mobile-panel .navbar__mobile-panel-inner > *:nth-child(6) {
  transition-delay: 0.29s;
}
.navbar__mobile[open] ~ .navbar__mobile-panel .navbar__mobile-panel-inner > *:nth-child(7) {
  transition-delay: 0.325s;
}
.navbar__mobile[open] ~ .navbar__mobile-panel .navbar__mobile-panel-inner > *:nth-child(8) {
  transition-delay: 0.36s;
}
.navbar__mobile-close {
  align-self: flex-end;
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.2s ease;
}
.navbar__mobile-close:hover, .navbar__mobile-close:focus-visible {
  color: var(--color-accent);
}
.navbar__mobile-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  margin-top: auto;
  padding-top: var(--space-24);
  border-top: 1px solid var(--color-border);
}
@media (prefers-reduced-motion: reduce) {
  .navbar__mobile-icon-open, .navbar__mobile-icon-close, .navbar__mobile-panel, .navbar__mobile-panel-inner, .navbar__mobile-panel-inner > * {
    transition: none;
  }
}

body:has(.navbar__mobile[open]) {
  overflow: hidden;
}

.footer {
  position: relative;
  isolation: isolate;
  background: var(--color-footer-bg);
  color: var(--color-foreground-inverse);
  padding-block: var(--space-90) var(--space-40);
}
.footer::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  width: min(680px, 60%);
  height: 320px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60% 70% at 70% 0%, color-mix(in srgb, var(--color-accent-secondary) 22%, transparent), transparent 70%);
}
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
  color: var(--color-foreground-inverse);
}
.footer .link, .footer .article-body a, .article-body .footer a {
  color: var(--color-accent-secondary-inverse);
}
.footer .link:hover, .footer .article-body a:hover, .article-body .footer a:hover, .footer .link:focus-visible, .footer .article-body a:focus-visible, .article-body .footer a:focus-visible {
  color: var(--color-foreground-inverse);
}
.footer .btn--secondary {
  color: var(--color-foreground-inverse);
  border-color: var(--color-border-inverse);
}
.footer .btn--secondary:hover, .footer .btn--secondary:focus-visible {
  background: var(--color-foreground-inverse);
  color: var(--color-surface-inverse);
  border-color: var(--color-foreground-inverse);
}
.footer__cta {
  display: grid;
  gap: var(--space-40);
  align-items: center;
}
@media (min-width: 992px) {
  .footer__cta {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-50);
  }
}
.footer__cta-title {
  font-size: var(--text-4xl);
  line-height: 1.1;
  margin: 0 0 var(--space-16);
}
.footer__cta-lead {
  color: var(--color-muted-inverse);
  max-width: 46ch;
  margin: 0;
}
.footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
}
.footer__divider {
  height: 1px;
  border: 0;
  background: var(--color-border-inverse);
  margin-block: var(--space-50);
}
.footer__grid {
  display: grid;
  gap: var(--space-40);
  grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: var(--space-50);
  }
}
@media (min-width: 576px) {
  .footer__brand {
    grid-column: 1/-1;
  }
}
@media (min-width: 992px) {
  .footer__brand {
    grid-column: auto;
  }
}
.footer__logo {
  display: inline-block;
  margin-bottom: var(--space-24);
}
.footer__logo img {
  display: block;
  height: 48px;
  width: auto;
}
.footer__about {
  color: var(--color-muted-inverse);
  font-size: var(--text-small);
  line-height: 1.6;
  max-width: 42ch;
  margin: 0 0 var(--space-24);
}
.footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  font-size: var(--text-small);
  color: var(--color-foreground-inverse);
}
.footer__contact i {
  color: var(--color-accent-secondary-inverse);
  font-size: var(--text-body);
  line-height: 1.5;
  flex: 0 0 auto;
}
.footer__contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__contact a:hover, .footer__contact a:focus-visible {
  color: var(--color-accent-secondary-inverse);
}
.footer__heading {
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted-inverse);
  margin: 0 0 var(--space-20);
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}
.footer__nav-group {
  margin-top: var(--space-24);
  padding-top: var(--space-24);
  border-top: 1px solid var(--color-border-inverse);
}
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--text-small);
  color: var(--color-foreground-inverse);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__link:hover, .footer__link:focus-visible {
  color: var(--color-accent-secondary-inverse);
}
.footer__link .badge-count {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-muted-inverse);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8) var(--space-20);
  padding-top: var(--space-30);
  margin-top: var(--space-50);
  border-top: 1px solid var(--color-border-inverse);
  font-size: var(--text-caption);
  color: var(--color-muted-inverse);
}
@media (min-width: 768px) {
  .footer__bottom {
    justify-content: space-between;
  }
}
.footer__bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__bottom a:hover, .footer__bottom a:focus-visible {
  color: var(--color-foreground-inverse);
}

.card--blog {
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.card--blog :is(.card__title a, .card__body > .link, .article-body .card__body > a)::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  background: none;
  transform: none;
  border-radius: inherit;
}
.card--blog:hover {
  cursor: pointer;
  border-color: var(--color-accent);
}
.card--blog:has(:is(.card__title a, .card__body > .link, .article-body .card__body > a):focus-visible) {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.card--blog .card__title a,
.card--blog .card__body > .link,
.card--blog .article-body .card__body > a,
.article-body .card--blog .card__body > a {
  position: static;
}

.hero--tinted {
  background: var(--color-background-hero);
}

.hero--wide {
  padding-block: var(--space-100);
}
.hero--wide .hero__container {
  max-width: var(--container-max);
}
.hero--wide .hero__title {
  max-width: var(--width-article-title);
}
.hero--wide .hero__lead {
  max-width: 760px;
}

.hero--projects {
  padding-bottom: var(--space-50);
}

.page-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-40);
  margin-top: var(--space-20);
  padding-top: var(--space-30);
  border-top: 1px solid var(--color-border);
  list-style: none;
  padding-inline: 0;
}
.page-stats__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.page-stats__value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-heading);
  line-height: 1.1;
  letter-spacing: var(--letter-spacing-h2);
  color: var(--color-accent-secondary);
  font-variant-numeric: tabular-nums;
}
.page-stats__label {
  max-width: 200px;
  font-size: var(--text-small);
  color: var(--color-muted);
}

.project-marquee {
  background: var(--color-background);
  padding-block: var(--space-40);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.project-marquee__track {
  display: flex;
  gap: var(--space-20);
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: project-marquee-scroll 60s linear infinite;
}
.project-marquee__track--reverse {
  animation-direction: reverse;
}
.project-marquee__item {
  flex-shrink: 0;
  width: 150px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
@media (min-width: 768px) {
  .project-marquee__item {
    width: 210px;
  }
}
.project-marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes project-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.project-filters {
  position: sticky;
  top: var(--navbar-h, 88px);
  z-index: 30;
  background: var(--color-background);
  border-block: 1px solid var(--color-border);
  padding-block: var(--space-20);
  margin-bottom: var(--space-40);
}
.project-filters__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-20);
}
.project-filters__chips {
  display: flex;
  gap: var(--space-8);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.project-filters__chips::-webkit-scrollbar {
  display: none;
}
@media (min-width: 768px) {
  .project-filters__chips {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}
.project-filters__status {
  flex-shrink: 0;
  margin: 0;
  font-size: var(--text-small);
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.project-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-12) var(--space-20);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-background);
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.project-chip:hover {
  color: var(--color-foreground);
  border-color: var(--color-accent-secondary);
}
.project-chip.is-active {
  background: var(--color-background-hero);
  border-color: var(--color-accent-secondary);
  color: var(--color-accent-secondary);
}
.project-chip__count {
  font-size: var(--text-caption);
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}
.project-chip.is-active .project-chip__count {
  color: var(--color-accent-secondary);
}

.project-grid {
  display: grid;
  gap: var(--space-30);
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 576px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}
.project-card[hidden] {
  display: none;
}
.project-card.is-entering {
  animation: project-card-in 0.35s ease-out both;
}
.project-card__frame {
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-background-alt);
  transition: border-color 0.2s ease;
}
.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.project-card__tag {
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent-secondary);
}
.project-card__title {
  font-size: var(--text-xl);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  letter-spacing: var(--letter-spacing-h5);
}
.project-card__excerpt {
  margin: 0;
  font-size: var(--text-small);
  color: var(--color-muted);
  line-height: 1.6;
}
.project-card:hover .project-card__image {
  transform: scale(1.05);
}
.project-card:hover .project-card__frame {
  border-color: var(--color-accent-secondary);
}

@keyframes project-card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.project-empty {
  margin: 0;
  padding-block: var(--space-50);
  text-align: center;
  color: var(--color-muted);
}

.care-grid {
  display: grid;
  gap: var(--space-20);
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .care-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .care-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.care-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  padding: var(--space-30);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition: border-color 0.2s ease;
}
.care-card:hover {
  border-color: var(--color-accent-secondary);
}
.care-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-background-hero);
  color: var(--color-accent-secondary);
  font-size: 24px;
}
.care-card__text {
  margin: 0;
  font-size: var(--text-small);
  color: var(--color-muted);
  line-height: 1.6;
}

.care-split {
  display: grid;
  gap: var(--space-40);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 992px) {
  .care-split {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-50);
  }
}

@media (min-width: 992px) {
  .care-split__intro {
    padding-top: calc(var(--space-40) + 1px);
  }
}

.care-panel {
  padding: var(--space-30);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
@media (min-width: 768px) {
  .care-panel {
    padding: var(--space-40);
  }
}

.faq--cards .faq__item {
  padding: var(--space-25) var(--space-30);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition: border-color 0.2s ease;
}
.faq--cards .faq__item:hover, .faq--cards .faq__item[open] {
  border-color: var(--color-accent-secondary);
}

.project-card {
  position: relative;
}

.project-card__trigger {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: var(--radius-lg);
}
.project-card__trigger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.modal__panel--case-study {
  max-width: 1200px;
  padding: 0;
  overflow: hidden;
}

.case-study {
  display: grid;
  grid-template-columns: 1fr;
  max-height: 90vh;
  overflow-y: auto;
}
@media (min-width: 992px) {
  .case-study {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    height: 90vh;
    overflow: hidden;
  }
}

.case-study__media {
  position: relative;
  background: var(--color-surface-inverse);
  min-height: 200px;
}
@media (min-width: 992px) {
  .case-study__media {
    overflow-y: auto;
    min-height: 0;
  }
}

.case-study__image {
  display: block;
  width: 100%;
  height: auto;
}

.case-study__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 2px solid var(--color-border-inverse);
  border-top-color: var(--color-accent-secondary-inverse);
  border-radius: 50%;
  animation: case-study-spin 0.8s linear infinite;
}

@keyframes case-study-spin {
  to {
    transform: rotate(360deg);
  }
}
.case-study__aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  padding: var(--space-30);
  background: var(--color-surface);
}
@media (min-width: 992px) {
  .case-study__aside {
    padding: var(--space-40);
    overflow-y: auto;
    min-height: 0;
  }
}
.case-study__aside p {
  margin: 0;
}

.case-study__title {
  font-size: var(--text-h4);
  letter-spacing: var(--letter-spacing-h4);
  padding-right: var(--space-40);
}
@media (min-width: 992px) {
  .case-study__title {
    padding-right: 0;
  }
}

.case-study__content {
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.7;
}

.case-study__label {
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  margin-bottom: var(--space-8);
}

.case-study__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-study__tag {
  padding: 2px var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-background-hero);
  color: var(--color-accent-secondary);
  font-size: var(--text-caption);
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.modal--case-study .modal__close {
  top: var(--space-20);
  right: var(--space-20);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-foreground);
  transform: none;
}
.modal--case-study .modal__close:hover, .modal--case-study .modal__close:focus-visible {
  background: var(--color-surface);
}
@media (min-width: 992px) {
  .modal--case-study .modal__close {
    background: none;
    color: var(--color-muted);
  }
  .modal--case-study .modal__close:hover, .modal--case-study .modal__close:focus-visible {
    background: var(--color-background-alt);
    color: var(--color-foreground);
  }
}

.dot-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
}

.dot-mosaic__cell {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cell-color, var(--color-background-alt));
}
