/* ==========================================================================
   Portfolio — Components CSS (AI case)
   Extracted from case-ai.html inline <style>.
   Uses semantic tokens from css/tokens.css.
   No visual changes intended.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Outfit:wght@400;500;600&display=swap');

* {
  box-sizing: border-box;
}

.case-secondary-nav + .hero {
  margin-top: 0;
  padding-top: clamp(48px, 6vw, 72px);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-display);
  background: var(--gradient-page);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-page {
  --site-type-scale: 0.82;
  --font-display: "Space Grotesk", "Futura", system-ui, sans-serif;
  --font-body: "Space Grotesk", "Futura", system-ui, sans-serif;
  --type-hero-size: calc(clamp(3.6rem, 8vw + 1rem, 7.5rem) * var(--site-type-scale));
  --type-hero-line-height: 0.92;
  --type-section-title-size: calc(clamp(1.8rem, 1.6vw + 1.1rem, 2.6rem) * var(--site-type-scale));
  --type-section-title-line-height: 1.05;
  --type-subsection-title-size: calc(clamp(1.3rem, 0.6vw + 1.05rem, 1.65rem) * var(--site-type-scale));
  --type-body-size: calc(clamp(1.25rem, 0.5vw + 1rem, 1.45rem) * var(--site-type-scale));
  --type-body-line-height: 1.45;
  --type-small-size: calc(1.12rem * var(--site-type-scale));
  --type-small-line-height: 1.68;
  --type-eyebrow-size: calc(0.98rem * var(--site-type-scale));
  --type-eyebrow-letter-spacing: 0.18em;
  --type-button-size: calc(1.12rem * var(--site-type-scale));
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --type-heading-weight: var(--font-weight-bold);
  --type-subheading-weight: var(--font-weight-semibold);
  --type-body-weight: var(--font-weight-regular);
  --type-eyebrow-weight: var(--font-weight-medium);
  --type-button-weight: var(--font-weight-semibold);
  --type-link-weight: var(--font-weight-medium);
  --type-nav-weight: var(--font-weight-semibold);
  --type-nav-size: 0.95rem;
  --type-brand-weight: var(--font-weight-semibold);
  --type-brand-letter-spacing: 0.04em;
  --type-eyebrow-transform: uppercase;
  --type-button-transform: uppercase;
  --type-nav-transform: uppercase;
  --type-button-letter-spacing: 0.08em;
  --type-nav-letter-spacing: 0.08em;
}

body.site-page {
  font-family: var(--font-body);
  font-weight: var(--type-body-weight);
}

.site-page p {
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
  font-family: var(--font-body);
  font-weight: var(--type-body-weight);
}

body.site-page h1,
.site-page .section-heading h1 {
  font-size: var(--type-hero-size);
  line-height: var(--type-hero-line-height);
  font-family: var(--font-display);
  font-weight: var(--type-heading-weight);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

body.site-page h2,
.site-page .section-heading h2 {
  font-size: var(--type-section-title-size);
  line-height: var(--type-section-title-line-height);
  font-family: var(--font-display);
  font-weight: var(--type-heading-weight);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

body.site-page h3,
body.site-page h4,
.site-page .section-heading h3,
.site-page .section-heading h4 {
  font-size: var(--type-subsection-title-size);
  line-height: 1.15;
  font-family: var(--font-display);
  font-weight: var(--type-subheading-weight);
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.site-page .section-heading__intro {
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
  font-family: var(--font-body);
  font-weight: var(--type-body-weight);
}

.site-page .section-label,
.site-page .eyebrow,
.site-page .case-tile__label,
.site-page .value-card__label,
.site-page .about-list__label,
.site-page .text-list__tag {
  text-transform: var(--type-eyebrow-transform);
  letter-spacing: var(--type-eyebrow-letter-spacing);
  font-size: var(--type-eyebrow-size);
  font-family: var(--font-display);
  font-weight: var(--type-eyebrow-weight);
}

.site-page .hero h1 {
  font-size: var(--type-hero-size);
  line-height: var(--type-hero-line-height);
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.site-page .hero p,
.site-page .section-head p,
.site-page .work-extra__item p,
.site-page .contact-cards p,
.site-page .text-list__item p,
.site-page .value-card p,
.site-page .about-grid p {
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
  font-family: var(--font-body);
}

.site-page .hero__metric-title,
.site-page .section-head h2,
.site-page .work-extra__item h4,
.site-page .contact-cards h3,
.site-page .text-list__item h4,
.site-page .value-card h3 {
  font-size: var(--type-section-title-size);
  line-height: var(--type-section-title-line-height);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: var(--type-heading-weight);
}

.site-page .btn,
.site-page .case-tile__link {
  text-transform: var(--type-button-transform);
  letter-spacing: var(--type-button-letter-spacing);
  font-family: var(--font-display);
  font-size: var(--type-button-size);
  font-weight: var(--type-button-weight);
}

.site-page .case-tile__link {
  line-height: 1;
}

.site-page .contact-card__link,
.site-page .site-footer__link {
  font-weight: var(--type-link-weight);
}

.site-page .brand,
.brand {
  font-family: var(--font-display, 'Space Grotesk', 'Futura', system-ui, sans-serif);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1rem, 0.85rem + 0.4vw, 1.2rem);
  text-decoration: none;
  color: var(--color-text-primary);
}

.site-page .brand strong,
.brand strong {
  font-weight: 700;
}

.site-page .top-nav,
.top-nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
  font-family: var(--font-display, 'Space Grotesk', 'Futura', system-ui, sans-serif);
  font-size: clamp(0.78rem, 0.6rem + 0.25vw, 0.98rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-wrap: wrap;
  color: var(--color-text-secondary);
}

.site-page .top-nav a,
.top-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 150ms ease;
}

.site-page .top-nav a::after,
.top-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.site-page .top-nav a:focus-visible,
.site-page .top-nav a:hover,
.top-nav a:focus-visible,
.top-nav a:hover {
  color: var(--color-text-primary);
}

.site-page .top-nav a:focus-visible::after,
.site-page .top-nav a:hover::after,
.top-nav a:focus-visible::after,
.top-nav a:hover::after,
.site-page .top-nav a[aria-current='page']::after,
.top-nav a[aria-current='page']::after {
  opacity: 1;
  transform: translateY(0);
}

.site-page .top-nav a[aria-current='page'],
.top-nav a[aria-current='page'] {
  color: var(--color-accent-primary);
  font-weight: 700;
}

.site-page .site-footer__name {
  font-size: var(--type-section-title-size);
  line-height: var(--type-section-title-line-height);
  font-family: var(--font-display);
}

.site-page .site-footer__role,
.site-page .site-footer__link {
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-height);
}

.site-page .site-footer__block-title {
  letter-spacing: var(--type-eyebrow-letter-spacing);
  font-size: var(--type-eyebrow-size);
  font-family: var(--font-display);
}

.site-page .site-footer__lower {
  font-size: var(--type-small-size);
  line-height: var(--type-small-line-height);
}

.skip {
  position: absolute;
  top: -200px;
  left: 16px;
  padding: 12px 20px;
  background: var(--color-section-strong);
  color: var(--color-text-inverse);
  border-radius: 999px;
  text-decoration: none;
  z-index: 999;
}

.skip:focus-visible {
  top: 16px;
}

.accent {
  color: var(--color-accent-primary);
  font-style: italic;
}

.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn:hover .arrow,
.btn:focus-visible .arrow {
  transform: translateX(4px);
}

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

.page {
  max-width: var(--container-content);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
}

.case-section__inner {
  max-width: var(--container-content);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
}

.case-rebrand .case-section__inner,
.case-rebrand .case-process__inner,
.case-rebrand .reflection__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 21, 40, 0.06);
}

.top-bar__inner {
  max-width: var(--container-content);
  margin: 0 auto;
  padding: 16px 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.top-nav {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

section {
  margin-top: var(--section-padding-y);
}

.hero,
.page-hero {
  margin-top: 0;
}

.case-section {
  margin-top: var(--section-padding-y);
}

.case-section--support {
  margin-top: var(--space-7);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.section-heading--major {
  text-align: left;
  max-width: var(--container-narrow);
}

.section-heading--support {
  text-align: center;
  max-width: 520px;
  margin: 0 auto var(--space-5);
}

.section-heading__intro {
  margin: 0;
  color: var(--color-text-secondary);
  max-width: 60ch;
}

.case-section--major .section-heading__intro {
  margin-top: var(--space-2);
}

.section-heading--major .section-heading__intro + .section-heading__intro {
  margin-top: var(--space-3);
}

.case-rebrand .section-heading--major {
  max-width: 760px;
  margin-bottom: var(--space-5);
}

.case-rebrand .section-heading--support {
  text-align: left;
  margin: 0 0 var(--space-4);
}

.case-rebrand .section-heading--major h2,
.case-rebrand .section-heading--support h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  text-transform: none;
}

.case-rebrand .section-heading--major h2 {
  font-size: clamp(2.15rem, 3vw, 3rem);
  letter-spacing: -0.01em;
}

.case-rebrand .section-heading--support h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
}

.case-rebrand .section-heading__intro {
  line-height: 1.65;
}

.hero {
  --hero-background-image: url("../copy/werk/aiplatform/images/hero-background-desk.png");
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: var(--hero-height);
  height: var(--hero-height);
  color: #f7f8ff;
  background-color: #050612;
  background-image: var(--hero-background-image);
  background-size: cover;
  background-position: var(--hero-background-position);
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: stretch;
}

.case-secondary-nav + .hero {
  margin-top: 0;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100%;
  height: 100%;
  padding: 80px clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-overlay-gradient);
  background-size: cover, cover, auto, auto;
  background-position: center, center, 12% 18%, 78% 65%;
  background-repeat: no-repeat;
  opacity: var(--hero-overlay-opacity);
  pointer-events: none;
}

.hero__inner > * {
  position: relative;
  z-index: 1;
}

.hero__content {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero p {
  color: rgba(247, 248, 255, 0.86);
}

.case-tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.case-rebrand .case-tag {
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin: 0 0 18px;
}

.hero h1 span {
  color: var(--color-accent-primary);
  font-style: italic;
}

.hero p {
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  padding: var(--space-button-y) var(--space-button-x);
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: var(--type-button-size);
  text-decoration: none;
  text-align: center;
}

.btn.primary {
  background: var(--color-accent-primary);
  color: white;
  box-shadow: 0 12px 30px rgba(106, 90, 249, 0.3);
}

.btn.secondary {
  border-color: var(--color-border-subtle);
  color: var(--color-text-secondary);
  background: var(--color-surface-default);
}

.btn.text {
  border-color: transparent;
  background: transparent;
  color: var(--color-accent-primary);
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.hero-visual {
  display: flex;
  align-items: center;
}

.hero-window {
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(15, 20, 38, 0.18);
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 320px;
}

.hero-window__sidebar {
  background: #0f1426;
  padding: 18px;
}

.hero-window__dots {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}

.hero-window__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f96a6a;
}

.hero-window__square {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--color-accent-primary);
  margin-bottom: 18px;
}

.hero-window__bar {
  height: 12px;
  border-radius: 6px;
  background: #232845;
  margin-bottom: 12px;
}

.hero-window__button {
  height: 34px;
  border-radius: 10px;
  background: var(--color-accent-primary);
  margin: 18px 0;
}

.hero-window__content {
  background: #ffffff;
  padding: 22px;
}

.hero-window__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-window__head .line {
  flex: 1;
  height: 12px;
  border-radius: 6px;
  background: #eef0f6;
}

.hero-window__head .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef0f6;
  flex: none;
}

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

.hero-window__cards img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #eef0f6;
  box-shadow: 0 10px 30px rgba(15, 20, 38, 0.12);
}

.summary-cards {
  margin-top: var(--space-8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(6, 6, 18, 0.45);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: #fff;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.summary-cards > div {
  padding: 18px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.summary-cards > div:last-child {
  border-right: none;
}

.summary-cards strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.summary-cards p {
  margin: 6px 0 0;
  color: #f7f8ff;
  font-weight: 600;
}

.metrics-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  padding: clamp(72px, 8vw, 120px) 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(151, 137, 255, 0.25), transparent 60%),
    radial-gradient(circle at 80% 10%, rgba(255, 193, 149, 0.2), transparent 55%),
    linear-gradient(180deg, #fbfbff 0%, #eef1fb 100%);
}

.metrics-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.metrics-heading {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.metrics-heading h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.8rem, 1.2vw + 1.2rem, 2.6rem);
}

.metrics-heading p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--color-text-secondary);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--color-surface-frosted);
  box-shadow: var(--shadow-floating);
  border: 1px solid var(--color-border-subtle);
  text-align: center;
}

.metrics h3 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--color-accent-primary);
}


.case-rebrand .metrics-section {
  padding: clamp(48px, 6vw, 88px) 0;
  background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

.case-rebrand .metrics {
  gap: var(--space-5);
  padding: var(--space-5) var(--space-5) var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-bg-surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border-subtle);
}

.case-rebrand .metrics h3 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.section-label {
  text-transform: uppercase;
  letter-spacing: var(--type-eyebrow-letter-spacing);
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  display: inline-block;
  margin-bottom: 12px;
}

.case-rebrand .section-label {
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.project-definition__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.project-definition__primary {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.project-definition__support {
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.project-definition__support .section-label {
  margin-bottom: var(--space-3);
}

.card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-floating);
}

.card h4 {
  margin: 0 0 12px;
}

.goal-cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: #f7f8fb;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-floating);
}

.goal-cards > div {
  padding: 22px;
}

.goal-cards > div:first-child {
  border-right: 1px solid var(--color-border-subtle);
}

.goal-cards h5 {
  margin: 0 0 10px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-weight: 600;
}

.goal-cards p {
  margin: 0;
  font-size: 0.9rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-floating);
}

.feature-grid .feature {
  padding: 24px;
  border-right: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  display: flex;
  gap: 18px;
  align-items: center;
  transition: transform 0.2s ease;
}

.feature-grid .feature:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: var(--shadow-soft);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature[data-accent="lilac"] .feature-icon { color: #6a5af9; background: rgba(106, 90, 249, 0.15); }
.feature[data-accent="peach"] .feature-icon { color: #ff6c3e; background: rgba(255, 108, 62, 0.18); }
.feature[data-accent="teal"] .feature-icon { color: #0f9d8a; background: rgba(15, 157, 138, 0.16); }
.feature[data-accent="navy"] .feature-icon { color: #1d2442; background: rgba(25, 27, 48, 0.15); }

.feature-grid .feature:nth-child(n + 4) {
  border-bottom: none;
}

.feature-grid .feature h5 {
  margin: 0;
  color: var(--color-text-primary);
}

.feature small {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.project-features {
  display: flex;
  flex-direction: column;
}

.project-features .feature-grid {
  flex: 1;
}

.process-section {
  color: #f4f6ff;
  padding: 0;
}

.process-section__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 120px) 24px;
}

.process-section__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100vw;
  left: calc((100% - 100vw) / 2);
  background: radial-gradient(circle at 30% 10%, rgba(111, 89, 255, 0.35), transparent 50%), #05060b;
  z-index: -1;
}

.process-section:not(.process-section--home) .section-label,
.process-section:not(.process-section--home) h2,
.process-section:not(.process-section--home) p {
  color: rgba(244, 246, 255, 0.9);
}

/* -------------------------------------------------------------------------- */
/* Visual Identity — process timeline                                         */
/* -------------------------------------------------------------------------- */


.case-process {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: var(--section-padding-y) 0;
  background: var(--gradient-page);
}

.case-process__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-5);
  z-index: 1;
}

.case-process__intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.case-rebrand .case-process {
  background: linear-gradient(180deg, #f6f6ff 0%, #fdf8ff 100%);
  border-top: 1px solid rgba(18, 21, 40, 0.04);
}

.case-rebrand .case-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(120, 140, 255, 0.15), transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(255, 188, 166, 0.2), transparent 50%);
  pointer-events: none;
}

.case-process__steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-6);
  padding: clamp(32px, 5vw, 56px) 0;
}

.case-process__steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--color-border-subtle);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: var(--space-7);
  padding: var(--space-6) 0;
}

.process-step__node {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-bg-surface);
  border: 2px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
}


.process-step__media,
.process-step__content {
  position: relative;
  align-self: stretch;
}

.process-step__media {
  grid-column: 1;
}

.process-step__content {
  grid-column: 2;
}

.process-step--text-first .process-step__content {
  grid-column: 1;
}

.process-step--text-first .process-step__media {
  grid-column: 2;
}

.process-step__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.process-step__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.process-step__iteration {
  font-family: var(--font-display);
  letter-spacing: 0.24em;
}

.process-step__content h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
}

.process-step__content p {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.process-step__media {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.process-browser {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.process-browser__chrome {
  display: flex;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
  background: var(--color-bg-muted);
}

.process-browser__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-flex;
  background: var(--color-border-subtle);
}

.process-browser__chrome span:nth-child(1) { background: var(--color-accent-warm); }
.process-browser__chrome span:nth-child(2) { background: var(--color-accent-primary); }
.process-browser__chrome span:nth-child(3) { background: var(--color-accent-cool); }

.process-browser__viewport {
  aspect-ratio: 16 / 9;
  background: var(--color-bg-surface);
}

.process-browser__viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.process-step__media figcaption,
.process-step__media > figcaption {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin: var(--space-1) 0 0;
}

@media (max-width: 900px) {
  .case-process__steps::before,
  .process-step__node {
    display: none;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding: var(--space-5) 0;
  }

  .process-step__media,
  .process-step__content {
    grid-column: 1;
  }
}

.case-rebrand .case-showcase {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(180deg, #ffffff 0%, #f3f4ff 100%);
  padding: var(--section-padding-y) 0;
  border-top: 1px solid rgba(18, 21, 40, 0.04);
}

.case-rebrand .case-showcase .components-board {
  width: 100%;
  margin: 48px auto 0;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: 0 40px 90px rgba(9, 12, 29, 0.16);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
}

.case-rebrand .components-tabs {
  background: #f0f1ff;
}

.case-rebrand .component-preview__title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.case-rebrand .component-preview__description {
  font-size: 1rem;
}

.component-preview {
  --preview-pad: clamp(28px, 4vw, 44px);
  padding: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.component-preview__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--color-border-subtle);
  padding: var(--preview-pad);
}

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

.component-preview__heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.component-preview__title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.component-preview__description {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.component-preview__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 0;
  align-items: stretch;
}

.component-preview__viewer {
  position: relative;
  width: 100%;
  overflow: visible;
}

.component-preview__media-column {
  padding: var(--preview-pad);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.components-tabs {
  padding: var(--preview-pad) 0;
  border-left: 1px solid var(--color-border-subtle);
  background: #f5f6ff;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  align-self: stretch;
}

.components-tabs li {
  margin: 0;
}

.components-tab {
  width: 100%;
  border: none;
  background: none;
  padding: 16px 22px 16px 34px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  font: inherit;
  color: var(--color-text-secondary);
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 0;
  isolation: isolate;
}

.components-tab__title {
  font-weight: 600;
  color: rgba(60, 65, 90, 0.78);
}

.components-tab__sub {
  font-size: 0.85rem;
  color: rgba(80, 86, 118, 0.6);
}

.components-tab.is-active {
  color: var(--color-text-primary);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 16px 30px rgba(22, 26, 47, 0.14);
  transform: translateX(0);
  border: 1px solid rgba(126, 112, 255, 0.22);
  border-right: none;
}

.components-tab.is-active::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-accent-warm), var(--color-accent-primary));
  box-shadow: 0 0 14px rgba(134, 113, 255, 0.35);
}

.components-tab.is-active .components-tab__title {
  color: var(--color-text-primary);
}

.components-tab.is-active .components-tab__sub {
  color: rgba(68, 73, 98, 0.75);
}

.component-preview__figure {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
}

.component-preview__nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(18, 21, 40, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(18, 21, 40, 0.14);
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 5;
}

.component-preview__nav:hover,
.component-preview__nav:focus-visible {
  background: var(--color-accent-primary);
  color: #fff;
  outline: none;
}

.component-preview__nav--prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.component-preview__nav--next {
  right: 0;
  transform: translate(50%, -50%);
}

.component-preview__image {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  box-shadow: 0 24px 50px rgba(9, 12, 29, 0.18);
  object-fit: cover;
  object-position: top center;
  display: block;
}

.component-preview__variant {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border-subtle);
  flex-wrap: wrap;
}

.component-preview__variant-details {
  flex: 1 1 240px;
}

.component-preview__variant strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.component-preview__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.component-thumb {
  border: 1px solid var(--color-border-subtle);
  background: #fafbfe;
  border-radius: 10px;
  padding: 4px;
  width: 66px;
  height: 50px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.component-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.component-thumb span {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  padding: 1px 5px;
}

.component-thumb.is-active {
  border-color: var(--color-accent-warm);
  transform: translateY(-2px);
}

.component-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 11, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 40;
}

.component-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.component-modal__panel {
  position: relative;
  width: min(1100px, 92vw);
  max-height: 92vh;
  background: #05060b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.component-modal__media {
  width: 100%;
  background: #0c0f1c;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(92vh - 150px);
}

.component-modal__media img {
  width: 100%;
  height: auto;
  display: block;
}

.component-modal__nav-button {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 6, 11, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 20;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.component-modal__nav-button:hover,
.component-modal__nav-button:focus-visible {
  background: var(--color-accent-primary);
  color: #fff;
  outline: none;
}

.component-modal__nav-button--prev {
  left: 18px;
}

.component-modal__nav-button--next {
  right: 18px;
}

.component-modal__body {
  padding: 28px;
  color: #e5e7ff;
  overflow-y: auto;
  flex: 1;
}

.component-modal__label {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.68rem;
  color: rgba(229, 231, 255, 0.7);
  margin: 0 0 12px;
}

.component-modal__body h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.component-modal__caption {
  margin: 0;
  color: rgba(229, 231, 255, 0.85);
  line-height: 1.5;
}

.component-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 6, 11, 0.7);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.component-modal__close:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .component-preview__content {
    grid-template-columns: 1fr;
  }

  .components-tabs {
    border-left: none;
    border-top: 1px solid var(--color-border-subtle);
    margin: 0;
  }

  .component-preview__thumbs {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .component-modal__nav-button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .component-modal__nav-button--prev {
    left: 12px;
  }

  .component-modal__nav-button--next {
    right: 12px;
  }

  .component-modal__panel {
    border-radius: 20px;
  }

  .component-modal__body {
    padding: 20px;
  }
}


.reflection {
  position: relative;
  margin-top: var(--section-padding-y);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(48px, 8vw, 96px) 0;
  background: linear-gradient(160deg, #f8f8ff 0%, #fff7f2 100%);
  border-top: 1px solid rgba(18, 21, 40, 0.06);
  overflow: hidden;
}

.reflection::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(106, 90, 249, 0.08), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(255, 146, 109, 0.08), transparent 45%);
  z-index: 0;
}

.reflection__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 1;
}

.reflection__intro {
  margin-bottom: 24px;
}

.reflection__intro .section-label {
  margin-bottom: 8px;
}

.reflection__intro h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.25;
}

.reflection__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

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

.reflection__text p {
  margin: 0 0 12px;
  color: var(--color-text-primary);
  line-height: 1.7;
}

.reflection__text p:last-child {
  margin-bottom: 0;
}

.reflection__tools {
  padding-top: 12px;
  border-top: 1px solid rgba(18, 21, 40, 0.08);
}

.reflection__tools-label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  margin-right: 12px;
}

.reflection__tool-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(106, 90, 249, 0.08);
  color: var(--color-accent-primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.reflection__contributions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 18px;
}

.reflection__contributions::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(18, 21, 40, 0.1);
}

.contribution {
  display: flex;
  gap: 16px;
  align-items: start;
}

.contribution__number {
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(106, 90, 249, 0.15);
  line-height: 1;
  flex: none;
}

.contribution h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.contribution p {
  margin: 6px 0 0;
  color: var(--color-text-secondary);
}


.case-secondary-nav {
  margin-top: 0;
  border-top: 1px solid var(--color-border-strong);
  border-bottom: none;
  background: var(--color-surface-frosted);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(15, 20, 38, 0.12);
  position: sticky;
  top: var(--topbar-height, var(--topbar-overlap, 72px));
  z-index: 15;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
}

.case-secondary-nav__inner {
  --case-secondary-nav-padding-y: 1rem;
  max-width: var(--container-content);
  margin: 0 auto;
  padding: var(--case-secondary-nav-padding-y) var(--container-gutter);
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

.case-secondary-nav__list {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  overflow-x: auto;
  padding: 0;
  margin: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
  justify-content: flex-end;
}

.case-secondary-nav__list::-webkit-scrollbar {
  display: none;
}

.case-secondary-nav__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.72rem, 0.32rem + 0.35vw, 0.88rem);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  border-radius: 0;
  border: none;
  padding: 0 2px;
  background: transparent;
  position: relative;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
  scroll-snap-align: start;
}

.case-secondary-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--case-secondary-nav-padding-y));
  height: 2px;
  background: transparent;
  transition: background-color 150ms ease;
}

.case-secondary-nav__label {
  letter-spacing: inherit;
}

.case-secondary-nav__link:visited {
  color: var(--color-text-secondary);
}

.case-secondary-nav__link:hover {
  color: var(--color-text-primary);
}

.case-secondary-nav__link:focus-visible {
  outline: none;
  color: var(--color-text-primary);
  box-shadow: 0 6px 20px rgba(18, 21, 40, 0.12);
}

.case-secondary-nav__link--active {
  color: var(--color-text-primary);
  font-weight: var(--font-weight-bold);
  background: transparent;
  box-shadow: none;
}

.case-secondary-nav__link--active::after {
  background: var(--color-accent-primary);
}

.case-secondary-nav__link:hover::after,
.case-secondary-nav__link:focus-visible::after {
  background: var(--color-text-primary);
}

.case-secondary-nav__link--active:hover {
  color: var(--color-text-primary);
}

@media (min-width: 768px) {
  .case-secondary-nav__list {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }

  .case-secondary-nav__link {
    flex: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-secondary-nav__link {
    transition: none;
  }
}


.case-nav {
  margin-top: clamp(28px, 4vw, 40px);
  padding: 6px 0 0;
}

.case-rebrand .case-nav {
  margin-top: 0;
  padding: clamp(32px, 4vw, 56px) 0;
}

.case-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.case-nav__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 5vw, 40px);
  align-items: center;
}

.case-nav__link {
  text-decoration: none;
  color: var(--color-text-primary);
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  transition: color 0.2s ease;
}

.case-nav__link:hover {
  color: var(--color-accent-primary);
}

.case-nav__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.case-nav__title {
  font-size: 1rem;
  font-weight: 600;
}

.case-nav__link--next {
  text-align: right;
}

.case-nav__link--next .case-nav__eyebrow {
  justify-content: flex-end;
  color: var(--color-accent-primary);
}

/* ==========================================================================
   Legacy pages — reusable components (token-based)
   ========================================================================== */
.page-hero {
  --page-hero-media-layer: var(--page-hero-background-image, linear-gradient(0deg, transparent, transparent));
  --page-hero-overlay: var(--hero-overlay-gradient);
  --page-hero-overlay-opacity: var(--hero-overlay-opacity);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  isolation: isolate;
  min-height: var(--hero-height);
  height: var(--hero-height);
  color: var(--color-text-inverse);
  background-color: var(--color-section-strong);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-hero::before {
  background-image: var(--page-hero-media-layer);
  background-size: cover;
  background-position: var(--hero-background-position);
  background-repeat: no-repeat;
  opacity: 1;
}

.page-hero::after {
  background-image: var(--page-hero-overlay);
  background-size: cover, cover, auto, auto;
  background-position: center, center, 12% 18%, 78% 65%;
  background-repeat: no-repeat;
  opacity: var(--page-hero-overlay-opacity);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  height: 100%;
  padding: clamp(64px, 10vw, 120px) clamp(24px, 6vw, 72px);
  display: flex;
  align-items: center;
}

.page-hero__grid {
  display: grid;
  gap: clamp(32px, 4vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.page-hero .section-heading,
.page-hero .section-heading h1,
.page-hero .section-heading__intro,
.page-hero .section-label,
.page-hero .eyebrow {
  color: inherit;
}

.page-hero .section-heading__intro {
  color: var(--color-text-inverse-muted);
}


.page-hero__aside {
  margin: 0;
  border-radius: var(--radius-panel);
  overflow: hidden;
  border: 1px solid var(--color-border-on-dark);
  background: var(--color-surface-default);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-panel-raised);
}

.page-hero__aside img {
  width: 100%;
  height: auto;
  display: block;
}

.page-hero__aside figcaption {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.page-hero__aside--card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--color-bg-surface);
}

.page-hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-hero--case {
  --page-hero-overlay-opacity: 0;
  border-bottom: none;
}

.page-hero:not(.page-hero--case) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero:not(.page-hero--case) .page-hero__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding-top: clamp(96px, 12vw, 140px);
  padding-bottom: clamp(72px, 9vw, 118px);
}

.page-hero:not(.page-hero--case) .page-hero__grid {
  grid-template-columns: minmax(0, 0.85fr);
}

.page-hero:not(.page-hero--case) .section-heading {
  max-width: min(640px, 100%);
  padding-left: clamp(8px, 1.2vw, 16px);
  border-left: 2px solid var(--color-border-on-dark);
}

.page-hero:not(.page-hero--case) .section-heading h1 {
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.page-hero .section-heading h1 span {
  color: var(--color-accent-primary);
}

.page-hero:not(.page-hero--case) .section-heading__intro {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--color-text-inverse-muted);
}

.page-hero:not(.page-hero--case) .cta-row .btn {
  min-width: 180px;
}

.case-tile {
  --tile-accent: var(--color-accent-primary);
  min-width: 0;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  background: var(--color-surface-default);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  color: inherit;
}

.case-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.case-tile::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--tile-accent);
  opacity: 0.85;
}

.case-tile:hover,
.case-tile:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-panel-raised);
}

.case-tile:hover::before,
.case-tile:focus-within::before {
  border-color: var(--tile-accent);
}

.case-tile[data-accent="ultramarine"] {
  --tile-accent: var(--color-accent-cool);
}

.case-tile[data-accent="ochre"] {
  --tile-accent: var(--color-accent-warm);
}

.case-tile[data-accent="rust"] {
  --tile-accent: var(--color-orange-700);
}

.case-tile[data-accent="maroon"] {
  --tile-accent: var(--color-purple-800);
}

.case-tile__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.case-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.case-tile:hover .case-tile__media img,
.case-tile:focus-within .case-tile__media img {
  transform: scale(1.04);
}

.case-tile__body {
  padding: var(--space-card-padding);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-tile__label {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
  color: var(--color-text-secondary);
}

.case-tile__title {
  margin: 0;
  font-size: var(--type-subsection-title-size);
  line-height: 1.2;
  color: var(--color-text-primary);
  text-decoration: none;
}

.case-tile__copy {
  margin: 0;
  color: var(--color-text-secondary);
}

.case-tile:hover .case-tile__title,
.case-tile:focus-within .case-tile__title {
  color: var(--tile-accent);
}

.case-tile__link {
  align-self: flex-start;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--tile-accent);
  color: var(--tile-accent);
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.case-tile__link:hover,
.case-tile__link:focus-visible {
  background: var(--tile-accent);
  color: var(--color-text-inverse);
}

.case-tile--overview {
  flex-direction: row;
  min-height: clamp(220px, 18vw, 260px);
  background: var(--color-surface-default);
  box-shadow: var(--shadow-card);
  gap: 0;
}

.case-tile--overview::after {
  display: none;
}

.case-tile--overview::before {
  border-color: var(--color-border-subtle);
}

.case-tile--overview .case-tile__media {
  flex: 0 0 42%;
  min-height: 100%;
  aspect-ratio: auto;
}

.case-tile--overview .case-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-tile--overview .case-tile__body {
  padding: clamp(18px, 2.5vw, 30px);
  gap: clamp(8px, 1.25vw, 16px);
  justify-content: center;
}

.case-tile--overview .case-tile__copy {
  line-height: 1.45;
}

.case-tile--overview .case-tile__label {
  letter-spacing: 0.2em;
}

.case-tile--overview .case-tile__link {
  border: none;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 0;
  background: none;
  color: var(--tile-accent);
  font-size: 1rem;
  gap: 6px;
  display: inline-flex;
  align-items: center;
}

.case-tile--overview .case-tile__link:hover,
.case-tile--overview .case-tile__link:focus-visible {
  background: none;
  color: var(--color-text-primary);
}

.case-tile--overview:hover,
.case-tile--overview:focus-within {
  transform: translateY(-4px);
}

.case-tile--compact {
  flex-direction: row;
  gap: 16px;
}

.case-tile--compact .case-tile__body {
  padding: 16px;
}

.work-grid {
  padding: clamp(56px, 8vw, 120px) 0;
}

.work-grid--home {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--color-section-default);
  border-bottom: 1px solid var(--color-border-subtle);
}

.work-grid--home .case-section__inner {
  max-width: var(--container-wide);
}

.work-grid--home .section-heading {
  max-width: var(--container-narrow);
}

.work-grid__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--card-min-width), 1fr));
  gap: var(--space-grid-gap);
  margin-top: clamp(24px, 4vw, 40px);
}

.work-grid__tiles[data-density="compact"] {
  gap: var(--space-stack-md);
}

.work-grid__tiles[data-density="spacious"] {
  gap: var(--space-7);
}

.case-tile[data-density="compact"] .case-tile__body {
  padding: var(--space-stack-md);
}

.case-tile[data-density="spacious"] .case-tile__body {
  padding: var(--space-7);
}

.work-grid--home,
.about-section--home,
.cta-section--focus {
  margin-top: 0;
}

.work-grid--home .work-grid__tiles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-grid--work {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--color-section-default);
  border-bottom: 1px solid var(--color-border-subtle);
}

.work-grid--work .case-section__inner {
  max-width: var(--container-wide);
}

.work-grid--work .section-heading {
  max-width: var(--container-narrow);
  text-align: left;
}

.work-grid--work .work-grid__tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}


.work-extra-section {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--color-bg-surface);
}

.work-extra-section .case-section__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
}

.work-extra-section .section-heading {
  max-width: var(--container-wide);
  margin: 0 auto clamp(32px, 4vw, 40px);
}

.work-extra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.work-extra-card {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: clamp(28px, 2.5vw, 36px);
  background: var(--color-surface-default);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.3vw, 18px);
  min-height: 200px;
}

.work-extra-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(106, 90, 249, 0.12);
  color: var(--color-accent-primary);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-extra-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-primary);
}

.work-extra-card p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.45;
  max-width: 38ch;
}

@media (max-width: 1024px) {
  .work-extra-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (max-width: 900px) {
  .work-grid--home .work-grid__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-tile--overview {
    flex-direction: column;
    min-height: auto;
  }

  .case-tile--overview .case-tile__media {
    min-height: 200px;
  }
}

@media (max-width: 560px) {
  .work-grid--home .work-grid__tiles {
    grid-template-columns: 1fr;
  }

  .work-grid--work .work-grid__tiles {
    grid-template-columns: 1fr;
  }
}

.value-card {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-card-padding);
  background: var(--color-surface-default);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.value-card--surface-muted {
  background: var(--color-surface-muted);
}

.value-card--surface-raised {
  background: var(--color-surface-raised);
  box-shadow: var(--shadow-panel-raised);
}

.value-card--surface-inverse {
  background: var(--color-surface-inverse);
  color: var(--color-text-inverse);
  border-color: var(--color-border-on-dark);
}

.value-card--surface-inverse p {
  color: var(--color-text-inverse-muted);
}

.value-card--numbered {
  border-color: var(--color-border-accent-soft);
}

.value-card--numbered:hover {
  transform: translateY(-4px);
}

.value-card__num {
  font-size: var(--type-subsection-title-size);
  letter-spacing: 0.1em;
  color: var(--color-accent-primary);
  margin-bottom: 12px;
}

.value-card__label {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.about-section {
  padding: clamp(56px, 8vw, 120px) 0;
  background: var(--color-section-muted);
}

.about-section--home {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--color-section-muted);
}

.about-section__grid {
  display: grid;
  gap: clamp(24px, 4vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.about-section--home .about-section__grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
}

@media (max-width: 760px) {
  .about-section--home .about-section__grid {
    grid-template-columns: 1fr;
  }
}

.about-section__media img {
  width: 100%;
  border-radius: var(--radius-panel);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-panel-raised);
}

.about-section__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-section--home .about-section__content {
  position: relative;
  padding-left: clamp(20px, 3vw, 36px);
  border-left: 3px solid var(--color-accent-primary);
}

.about-section--home .about-section__content p {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--color-text-secondary);
  margin: 0;
}

.about-section--home .about-section__content .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 12px;
}

.about-list__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.profile-intro-section {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--color-section-muted);
}

.profile-intro-section__surface {
  background: var(--color-surface-default);
  border-radius: var(--radius-panel);
  padding: clamp(32px, 6vw, 72px);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-subtle);
}

.profile-intro-section__grid {
  display: grid;
  gap: clamp(32px, 4vw, 60px);
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 1fr);
  align-items: start;
}

@media (max-width: 960px) {
  .profile-intro-section__grid {
    grid-template-columns: 1fr;
  }
}

.profile-intro-section__media-block {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}

.profile-intro-section__media {
  margin: 0;
  padding: clamp(12px, 2vw, 20px);
  border-radius: var(--radius-panel);
  background: var(--color-section-muted);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-panel-raised);
}

.profile-intro-section__media img {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius-panel) - 8px);
  border: 0;
  box-shadow: none;
}

.profile-intro-section__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 560px;
}

.profile-intro-section__label {
  font-size: var(--type-eyebrow-size);
  letter-spacing: var(--type-eyebrow-letter-spacing);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.profile-intro-section__lead {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border-subtle);
}

.profile-intro-section__body p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--color-text-secondary);
}

.profile-intro-section__lead + p {
  margin-top: var(--space-5);
}

.profile-intro-section__aside {
  align-self: stretch;
}

.profile-intro-section__card {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3vw, 32px);
  background: var(--color-surface-default);
  box-shadow: var(--shadow-card);
}

.profile-intro-section__card h3 {
  margin: 0 0 var(--space-4);
  font-size: var(--type-small-size);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.profile-intro-section__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.profile-intro-section__list li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border-subtle);
}

.profile-intro-section__list li:last-child {
  border-bottom: 0;
}

.profile-intro-section__list-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-primary-soft);
  color: var(--color-accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-intro-section__list-icon svg {
  width: 22px;
  height: 22px;
}

.profile-intro-section__list-copy {
  font-weight: 500;
  color: var(--color-text-primary);
}

.contact-cards-section {
  padding: clamp(48px, 7vw, 110px) 0;
}

.contact-cards-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  background: var(--color-surface-default);
  box-shadow: var(--shadow-card-subtle);
  height: 100%;
}

.contact-card--primary {
  border-color: var(--color-border-strong);
  background: var(--color-surface-muted);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent-primary);
}

.contact-card__icon svg {
  width: 100%;
  height: 100%;
}

.contact-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}

.contact-card p {
  margin: 0;
  color: var(--color-text-secondary);
}

.contact-card__link {
  margin-top: auto;
  font-weight: 600;
  text-decoration: underline;
  color: var(--color-text-primary);
}

.split-content-section {
  padding: clamp(56px, 8vw, 120px) 0;
  background: var(--color-section-muted);
}

.split-content-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.split-content-section__body {
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  color: var(--color-text-secondary);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.split-content-section__placeholder {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-panel);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-tertiary);
  font-size: 0.95rem;
  padding: var(--space-5);
  background: var(--color-surface-default);
  box-shadow: var(--shadow-card);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.split-content-section__placeholder::after {
  content: '';
  width: 32px;
  height: 2px;
  margin-top: var(--space-3);
  background: var(--color-border-strong);
  opacity: 0.35;
}

.text-block-section {
  padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 6vw, 80px);
}

.text-block-section__body {
  max-width: 640px;
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.text-list-section {
  padding: clamp(48px, 7vw, 100px) 0;
}

.text-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 3vw, 32px);
}

.text-list__item {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--color-bg-surface);
}

.text-list__tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.cta-section {
  padding: clamp(48px, 7vw, 100px) 0;
  text-align: center;
}

.cta-section--light {
  background: var(--color-bg-surface);
}

.cta-section--tinted {
  background: linear-gradient(135deg, rgba(106, 90, 249, 0.08), rgba(255, 108, 62, 0.08));
}

.cta-section--focus {
  background: var(--color-section-conclusion);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-primary);
}

.cta-section--focus .section-heading {
  text-align: center;
  align-items: center;
  margin: 0 auto var(--space-5);
}

.cta-section--focus .section-heading__intro {
  color: var(--color-text-primary);
}

.cta-section .cta-row {
  justify-content: center;
}

.contact-block {
  padding: clamp(48px, 7vw, 100px) 0;
  background: var(--color-bg-muted);
}

.contact-block__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--card-min-width), 1fr));
  gap: var(--space-grid-gap);
}

.contact-card {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-card-padding);
  background: var(--color-surface-default);
  box-shadow: var(--shadow-card);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(106, 90, 249, 0.12);
  color: var(--color-accent-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  margin-top: 12px;
}

.process-section {
  margin-top: clamp(56px, 8vw, 100px);
}

.process-section--home {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--color-section-tinted-warm);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-primary);
}

.process-section--home .section-label {
  color: var(--color-text-secondary);
}

.process-section--home h2 {
  color: var(--color-text-primary);
}

.process-section--home .value-card {
  background: var(--color-surface-default);
  color: var(--color-text-primary);
}

.process-section--home .value-card h3,
.process-section--home .value-card h4 {
  color: var(--color-text-primary);
  margin: 0 0 8px;
}

.process-section--home .value-card p {
  color: var(--color-text-secondary);
  margin: 0;
}

.process-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 3vw, 32px);
}

.process-section__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 5vw, 56px);
}

.case-nav__link--next .case-nav__title {
  color: var(--color-text-primary);
}

@media (max-width: 640px) {
  .case-nav__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-nav__link--next {
    text-align: left;
  }
}


.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  background: var(--color-section-strong);
  color: var(--color-text-inverse);
  border-top: 1px solid var(--color-border-on-dark);
  padding: clamp(56px, 7vw, 88px) 32px 64px;
}

.site-footer__inner {
  max-width: var(--container-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.site-footer__block-title {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--color-text-inverse-muted);
  margin-bottom: 12px;
}

.site-footer__name {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.site-footer__role {
  margin: 6px 0 0;
  color: var(--color-text-inverse-muted);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__link {
  color: rgba(245, 246, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: #ffffff;
  outline: none;
}

.site-footer__lower {
  border-top: 1px solid var(--color-border-on-dark);
  padding-top: 18px;
  font-size: 0.85rem;
  color: var(--color-text-inverse-muted);
}

@media (max-width: 640px) {
  .site-footer {
    padding: 0 20px 40px;
  }
}
