:root {
  --page-bg: #ffffff;
  --text: #000000;
  --muted: rgba(0, 0, 0, 0.8);
  --chip-bg: #13161b;
  --accent: #0ba5ec;
  --project-dark: #0c0f12;
  --radius-xl: 32px;
  --radius-pill: 100px;
  --radius-lg: 28px;
  --section-padding-x: 56px;
  --section-gap: 136px;
  --content-gap: 40px;
  --block-gap: 28px;
  --copy-max: 72ch;
  --transition: 180ms ease;
  --header-tone: #ffffff;
}

@keyframes live-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.28);
    opacity: 0.78;
  }
}

@keyframes case-study-zoom-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.012);
  }
}

@keyframes case-study-zoom-in {
  from {
    opacity: 1;
    transform: scale(0.992);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes case-content-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

html {
  scroll-behavior: smooth;
}

html.fonts-loading .site-header__brand,
html.fonts-loading .site-header__actions,
html.fonts-loading .hero__content h1,
html.fonts-loading .hero__actions {
  opacity: 0;
}

html.fonts-ready:not(.intro-js) .site-header__brand,
html.fonts-ready:not(.intro-js) .site-header__actions,
html.fonts-ready:not(.intro-js) .hero__content h1,
html.fonts-ready:not(.intro-js) .hero__actions {
  opacity: 1;
}

html.fonts-ready:not(.intro-js) .site-header__brand {
  animation: intro-drop-header 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.fonts-ready:not(.intro-js) .site-header__actions {
  animation: intro-drop-header 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

html.fonts-ready:not(.intro-js) .hero__content h1 {
  animation: intro-rise-copy 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

html.fonts-ready:not(.intro-js) .hero__actions {
  animation: intro-rise-copy 0.96s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

@keyframes intro-drop-header {
  from {
    opacity: 0;
    transform: translate3d(0, -180px, 0);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes intro-rise-copy {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.reveal {
  will-change: transform, opacity, filter;
  transform: translateZ(0);
}

.reveal--project {
  opacity: 1;
  transform: none;
  filter: none;
}

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

button,
a {
  color: inherit;
  font: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  pointer-events: none;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 360ms ease;
  will-change: transform, opacity;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 140px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.38) 42%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 420ms ease;
}

.site-header--hidden {
  transform: translateY(-120%);
  opacity: 0;
}

.site-header--dark::before {
  opacity: 0;
}

.site-header__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 56px;
  pointer-events: auto;
  color: #ffffff;
  transition: color 320ms ease;
}

.site-header--dark .site-header__inner {
  color: #0c0f12;
}

.site-header--accent-yellow .site-header__brand {
  color: #ffad02;
}

.site-header--accent-green .site-header__brand {
  color: #58c9ac;
}

.site-header__brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 113.376px;
  height: 24px;
  flex: 0 0 auto;
  transition: color 120ms ease;
}

.site-header__logo {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.site-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background-color 320ms ease, border-color 320ms ease, opacity 320ms ease;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform 220ms ease,
    border-color 320ms ease,
    background-color 320ms ease,
    color 320ms ease,
    box-shadow 320ms ease,
    opacity 320ms ease;
}

.cta-button:hover {
  transform: translateY(-1px);
}

.cta-button--compact {
  min-height: 42px;
  padding: 11px 20px;
  font-size: 16px;
  font-weight: 500;
}

.cta-button--primary {
  min-height: 56px;
  padding: 16px 28px;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.12);
}

.cta-button--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
}

.cta-button--solid {
  background: #ffffff;
  color: #0c0f12;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

.cta-button--inverse {
  min-height: 68px;
  padding: 24px 64px;
  background: #ffffff;
  color: #000000;
}

.site-header__contact {
  min-height: 40px;
  padding: 10px 20px;
}

.cta-button--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.cta-button--solid:hover {
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.16);
}

.site-header--dark .cta-button--ghost {
  background: rgba(12, 15, 18, 0.08);
}

.site-header--dark .cta-button--ghost:hover {
  background: rgba(12, 15, 18, 0.12);
}

.site-header--dark .cta-button--solid {
  background: #0c0f12;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(12, 15, 18, 0.12);
}

.site-header--dark .site-header__actions {
  background: rgba(12, 15, 18, 0.05);
}

.site-header__logo-stroke,
.site-header__logo {
  transform-box: fill-box;
  transform-origin: center;
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms ease;
}

.site-header__brand:hover .site-header__logo-stroke {
  transform: rotate(-31deg);
}

.site-header__brand:hover .site-header__logo {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.16));
}

.hero {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  min-height: 100dvh;
  min-height: 100svh;
  max-height: 100dvh;
  padding: 0;
  --hero-media-base: min(720px, calc(100dvh - var(--hero-content-size, 280px)));
}

.hero__media-wrap {
  position: relative;
  flex: 0 0 auto;
  min-height: 320px;
  width: 100%;
  overscroll-behavior-y: contain;
}

.hero__media {
  position: relative;
  overflow: hidden;
  background: #000000;
  width: 100%;
  height: calc(
    var(--hero-media-base) +
    (100dvh - var(--hero-media-base)) * var(--hero-progress, 0)
  );
  max-height: none;
  contain: paint;
  isolation: isolate;
  transform-origin: center center;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 56% at 16% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(186, 220, 255, 0.08) 22%, rgba(255, 255, 255, 0) 62%);
  opacity: 0.18;
  pointer-events: none;
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.logo-hovered .hero__media::before {
  opacity: 0.4;
  transform: scale(1.03) translateY(-1%);
}

.hero__carousel {
  position: relative;
  height: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.hero__carousel.is-dragging {
  cursor: grabbing;
}

.hero__track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  background: #000000;
  will-change: transform, opacity;
}

.hero__slide img,
.hero__slide video {
  width: auto;
  height: 100%;
  object-fit: fill;
  object-position: center center;
  pointer-events: none;
}

.hero__slide--video {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero__slide-video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover !important;
  object-position: center center !important;
  background: #000000;
  opacity: 1;
  visibility: visible;
}

.hero__carousel-controls {
  position: absolute;
  right: 56px;
  bottom: 32px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.hero__carousel-progress {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(28, 28, 30, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero__carousel-segment {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
  transition:
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease,
    transform 220ms ease;
}

.hero__carousel-segment:hover {
  transform: translateY(-1px);
}

.hero__carousel-segment.is-active {
  width: 44px;
  background: rgba(255, 255, 255, 0.14);
}

.hero__carousel-segment-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.96);
  transform-origin: left center;
  transform: scaleX(0);
  transition:
    transform 120ms linear,
    opacity 220ms ease;
}

.hero__carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(28, 28, 30, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    opacity 220ms ease,
    color 220ms ease;
}

.hero__carousel-button:hover {
  transform: translateY(-1px);
  color: rgba(255, 255, 255, 1);
  background: rgba(28, 28, 30, 0.82);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero__carousel-button-svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero__carousel-button--prev,
.hero__carousel-button--next {
  display: none;
}

.hero__carousel-button-svg--play {
  display: none;
}

.hero__carousel-button.is-paused .hero__carousel-button-svg--pause {
  display: none;
}

.hero__carousel-button.is-paused .hero__carousel-button-svg--play {
  display: block;
}

.hero__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding:
    calc(72px * (1 - var(--hero-progress, 0)))
    56px
    calc(56px * (1 - var(--hero-progress, 0)));
  flex: 0 0 auto;
  min-height: 0;
  max-height: calc(var(--hero-content-size, 280px) * (1 - var(--hero-progress, 0)));
  overflow: hidden;
  opacity: calc(1 - (var(--hero-progress, 0) * 0.96));
  transform: translateY(calc(40px * var(--hero-progress, 0)));
  transition: opacity 220ms ease;
  will-change: opacity, transform, max-height;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 100%;
  width: 100%;
}

.hero h1 {
  margin: 0;
  display: block;
  padding-top: 0.08em;
  padding-bottom: 0.04em;
  font-size: 64px;
  line-height: 1.22;
  letter-spacing: -0.04em;
  font-weight: 500;
  max-width: 100%;
  width: 100%;
  text-wrap: balance;
  background: linear-gradient(90deg, #050505 0%, #111111 52%, #050505 100%);
  background-size: 120% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title-mobile,
.hero__message-label--mobile {
  display: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 16px;
}

.hero__contact-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  background: #13161b;
  color: #ffffff;
  transition:
    transform var(--transition),
    opacity var(--transition),
    background-color var(--transition);
}

.contact-chip:hover,
.hero__message:hover,
.carousel-nav__button:hover {
  transform: translateY(-1px);
}

.contact-chip--email,
.contact-chip--icon {
  gap: 10px;
  padding: 12px 18px;
}

.contact-chip--email {
  min-width: 196px;
}

.contact-chip--email span {
  font-size: 19px;
  line-height: 1.2;
  color: #ffffff;
}

.contact-chip--icon {
  width: 60px;
  padding: 14px;
}

.contact-chip__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hero__message {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 19px;
  line-height: 1.3;
  transition: transform var(--transition);
}

.hero__message-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.hero__message-icon span:first-child,
.hero__message-icon span:last-child {
  border-radius: 50%;
  background: var(--accent);
}

.hero__message-icon span:first-child {
  width: 24px;
  height: 24px;
  opacity: 0.2;
}

.hero__message-icon span:last-child {
  position: absolute;
  width: 12px;
  height: 12px;
  animation: live-dot-pulse 1.8s cubic-bezier(0.37, 0, 0.2, 1) infinite;
}

.project {
  padding: 0;
}

.hero + .project--case-study {
  padding-top: 136px;
}

.project--case-study + .project--case-study {
  padding-top: 96px;
}

.case-study-link {
  display: block;
}

.project__media-wrap {
  padding: 0 var(--section-padding-x);
}

.project__media-wrap--split {
  padding-inline: 32px;
}

.project__media-wrap--case-study {
  padding-inline: 56px;
}

.project__media-wrap--case {
  padding-inline: 32px;
}

.project__media {
  overflow: hidden;
  border-radius: var(--radius-xl);
  transform-origin: center center;
}

.project__case-card {
  display: block;
  border-radius: var(--radius-xl);
  background: #13161b;
  min-height: 750px;
  padding: 0;
  cursor: pointer;
}

.project__case-frame,
.project__case-image {
  display: block;
  width: 100%;
  height: 100%;
}

.project__case-frame {
  overflow: hidden;
  border-radius: inherit;
}

.project__case-image {
  object-fit: cover;
  transform: scale(1) translate3d(0, 0, 0);
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project__case-card:hover .project__case-image {
  transform: scale(1.04) translate3d(0, 0, 0);
}

.project__media--light {
  background: #111111;
}

.project__media--dark {
  background: var(--project-dark);
}

.case-study-snapshot {
  display: block;
  contain: paint;
  isolation: isolate;
  transition: filter 420ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: none;
}

.case-study-link:focus-visible .case-study-snapshot {
  filter: saturate(1.015);
}

.project__media-wrap--case-study:hover .project__media--case-study,
.project__media-wrap--case-study:focus-within .project__media--case-study {
  filter: saturate(1.015);
}

.project__media--case-study {
  min-height: 780px;
  background-color: #f4f4f4;
  background-image:
    linear-gradient(45deg, rgba(0, 0, 0, 0.055) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.055) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.055) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.055) 75%);
  background-size: 124px 124px;
  background-position: 0 0, 0 62px, 62px -62px, -62px 0;
}

.project__media--pyroblast-figma {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: min(1000px, calc(100svh - 220px));
  height: min(1000px, calc(100svh - 220px));
  max-height: 1000px;
  padding: 48px 48px 0;
  background: linear-gradient(180deg, #ffcb60 0%, #ffad02 100%);
  overflow: hidden;
  isolation: isolate;
}

.project__media--pyroblast-figma::before,
.project__media--pyroblast-figma::after,
.project__media--profit-figma::before,
.project__media--profit-figma::after {
  content: none;
  animation: none !important;
  display: none;
}


.project__pyroblast-shell {
  position: relative;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 12px 12px 0;
  border-radius: 32px;
  z-index: 1;
}

.project__case-figure {
  position: relative;
  width: calc(100% - 64px);
  max-width: 1720px;
  min-height: clamp(360px, 44vw, 760px);
  margin: 40px;
  border-radius: 42px;
  background: #0b0b0d;
  box-shadow:
    0 28px 96px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 219, 125, 0.08);
  overflow: hidden;
}

.project__case-figure--pyroblast {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0;
  max-width: none;
  min-height: 0;
  aspect-ratio: 2880 / 1600;
  border-radius: 32px;
  background: #0b0b0d;
  box-shadow: none;
  transform: none;
  transition: none;
  z-index: 1;
  flex: 0 0 auto;
  overflow: hidden;
}

.project__case-figure--pyroblast .project__case-image--framed {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #0b0b0d;
}

.project__case-video,
.project__case-figure--pyroblast {
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translate3d(0, 0, 0);
}

#case-study-01 .project__media-wrap--case-study {
  padding-inline: 0;
}

#case-study-01 .project__media--pyroblast-figma {
  border-radius: 0;
  min-height: min(1000px, calc(100svh - 220px));
  height: min(1000px, calc(100svh - 220px));
  max-height: 1000px;
  width: 100%;
}

#case-study-01 .project__footer--case-study {
  min-height: 200px;
  padding: 40px 48px 32px;
}

#case-study-01 .project__headline-row--case-study {
  gap: 20px;
}

#case-study-01 .project__headline-row--case-study h2 {
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

#case-study-01 .project__headline-row--case-study .tag-list {
  gap: 8px;
}

#case-study-01 .project__headline-row--case-study .tag {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 20px;
}

@media (min-width: 1600px) {
  #case-study-01 .case-study-snapshot {
    min-height: min(1200px, calc(100svh - 24px));
  }

  #case-study-01 .project__media--pyroblast-figma {
    height: 1000px;
    max-height: 1000px;
  }

  #case-study-01 .project__footer--case-study {
    min-height: 200px;
    padding: 40px 48px 32px;
  }
}

@media (max-width: 1599px) and (min-width: 1441px) {
  #case-study-01 .case-study-snapshot {
    min-height: min(1200px, calc(100svh - 24px));
  }

  #case-study-01 .project__media-wrap--case-study {
    padding-inline: 0;
  }

  #case-study-01 .project__media--pyroblast-figma {
    height: 1000px;
    max-height: 1000px;
    padding: 48px;
    background: linear-gradient(180deg, #ffcb60 0%, #ffad02 100%);
    align-items: flex-start;
  }

  #case-study-01 .project__footer--case-study {
    min-height: 200px;
    padding: 40px 48px 32px;
  }
}

@media (max-width: 1440px) and (min-width: 1081px) {
  #case-study-01 .case-study-snapshot {
    min-height: min(900px, calc(100svh - 24px));
  }

  #case-study-01 .project__media-wrap--case-study {
    padding-inline: 0;
  }

  #case-study-01 .project__media--pyroblast-figma {
    min-height: min(700px, calc(100svh - 200px));
    height: min(700px, calc(100svh - 200px));
    max-height: 700px;
    padding: 48px 48px 0;
    background: linear-gradient(180deg, #ffcb60 0%, #ffad02 100%);
    align-items: flex-start;
  }

  #case-study-01 .project__pyroblast-shell {
    height: 100%;
    padding: 12px;
    border-radius: 32px;
  }

  #case-study-01 .project__footer--case-study {
    min-height: 200px;
    padding: 28px 40px 24px;
    gap: 20px;
  }

  #case-study-01 .project__headline-row--case-study {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  #case-study-01 .project__headline-row--case-study h2 {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 36px;
    line-height: 1.16;
    letter-spacing: -0.02em;
  }

  #case-study-01 .project__headline-row--case-study .tag-list {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  #case-study-01 .project__headline-row--case-study .tag {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 16px;
  }

}

@media (max-width: 1280px) and (min-width: 1025px) {
  #case-study-01 .case-study-snapshot {
    min-height: min(780px, calc(100svh - 20px));
  }

  #case-study-01 .project__media--pyroblast-figma {
    min-height: min(580px, calc(100svh - 188px));
    height: min(580px, calc(100svh - 188px));
    max-height: 580px;
    padding: 36px 36px 0;
  }

  #case-study-01 .project__pyroblast-shell {
    padding: 10px 10px 0;
    border-radius: 28px;
  }

  #case-study-01 .project__case-figure--pyroblast {
    border-radius: 28px;
  }

  #case-study-01 .project__footer--case-study {
    min-height: 188px;
    padding: 32px 36px 28px;
  }

  #case-study-01 .project__headline-row--case-study {
    gap: 16px;
  }

  #case-study-01 .project__headline-row--case-study h2 {
    font-size: 36px;
    line-height: 1.24;
    letter-spacing: -0.02em;
  }

  #case-study-01 .project__headline-row--case-study .tag {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 18px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  #case-study-01 .case-study-snapshot {
    min-height: auto;
  }

  #case-study-01 .project__media--pyroblast-figma {
    min-height: 520px;
    height: 520px;
    max-height: 520px;
    padding: 28px 28px 0;
  }

  #case-study-01 .project__pyroblast-shell {
    padding: 8px 8px 0;
    border-radius: 24px;
  }

  #case-study-01 .project__case-figure--pyroblast {
    border-radius: 24px;
  }

  #case-study-01 .project__footer--case-study {
    min-height: 168px;
    padding: 28px 28px 24px;
  }

  #case-study-01 .project__headline-row--case-study h2 {
    font-size: 30px;
    line-height: 1.26;
  }

  #case-study-01 .project__headline-row--case-study .tag-list {
    gap: 8px;
  }

  #case-study-01 .project__headline-row--case-study .tag {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 16px;
  }
}

@media (max-width: 768px) and (min-width: 561px) {
  #case-study-01 .project__media--pyroblast-figma {
    min-height: 420px;
    height: 420px;
    max-height: 420px;
    padding: 20px 20px 0;
  }

  #case-study-01 .project__pyroblast-shell {
    padding: 8px 8px 0;
    border-radius: 20px;
  }

  #case-study-01 .project__case-figure--pyroblast {
    border-radius: 20px;
  }

  #case-study-01 .project__footer--case-study {
    min-height: 148px;
    padding: 24px 20px 20px;
  }

  #case-study-01 .project__headline-row--case-study {
    gap: 14px;
  }

  #case-study-01 .project__headline-row--case-study h2 {
    font-size: 24px;
    line-height: 1.28;
  }

  #case-study-01 .project__headline-row--case-study .tag {
    min-height: 32px;
    padding: 7px 12px;
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  #case-study-01 .project__media--pyroblast-figma {
    min-height: 320px;
    height: 320px;
    max-height: 320px;
    padding: 16px 16px 0;
  }

  #case-study-01 .project__pyroblast-shell {
    padding: 6px 6px 0;
    border-radius: 18px;
  }

  #case-study-01 .project__case-figure--pyroblast {
    border-radius: 18px;
  }

  #case-study-01 .project__footer--case-study {
    min-height: 136px;
    padding: 20px 16px 18px;
  }

  #case-study-01 .project__headline-row--case-study {
    gap: 12px;
  }

  #case-study-01 .project__headline-row--case-study h2 {
    font-size: 22px;
    line-height: 1.28;
  }

  #case-study-01 .project__headline-row--case-study .tag-list {
    gap: 8px;
  }

  #case-study-01 .project__headline-row--case-study .tag {
    min-height: 30px;
    padding: 6px 11px;
    font-size: 14px;
  }
}

#case-study-02 .project__media-wrap--case-study {
  padding-inline: 0;
}

#case-study-02 .project__media--profit-figma {
  border-radius: 0;
  width: 100%;
}

#case-study-02 .project__footer--case-study {
  min-height: 200px;
  padding: 40px 48px 32px;
}

@media (min-width: 1600px) {
  #case-study-02 .case-study-snapshot {
    min-height: min(1200px, calc(100svh - 24px));
  }

  #case-study-02 .project__media--profit-figma {
    height: 1000px;
    max-height: 1000px;
  }
}

@media (max-width: 1599px) and (min-width: 1441px) {
  #case-study-02 .case-study-snapshot {
    min-height: min(1200px, calc(100svh - 24px));
  }

  #case-study-02 .project__media--profit-figma {
    height: 1000px;
    max-height: 1000px;
    padding: 48px;
    align-items: flex-start;
  }
}

@media (max-width: 1440px) and (min-width: 1081px) {
  #case-study-02 .case-study-snapshot {
    min-height: min(900px, calc(100svh - 24px));
  }

  #case-study-02 .project__media--profit-figma {
    min-height: min(700px, calc(100svh - 200px));
    height: min(700px, calc(100svh - 200px));
    max-height: 700px;
    padding: 48px 48px 0;
    align-items: flex-start;
  }

  #case-study-02 .project__feature-shell--profit {
    height: 100%;
    padding: 12px;
    border-radius: 32px;
  }

  #case-study-02 .project__footer--case-study {
    min-height: 200px;
    padding: 28px 40px 24px;
    gap: 20px;
  }
}

@media (max-width: 1280px) and (min-width: 1025px) {
  #case-study-02 .case-study-snapshot {
    min-height: min(780px, calc(100svh - 20px));
  }

  #case-study-02 .project__media--profit-figma {
    min-height: min(580px, calc(100svh - 188px));
    height: min(580px, calc(100svh - 188px));
    max-height: 580px;
    padding: 36px 36px 0;
  }

  #case-study-02 .project__feature-shell--profit {
    padding: 10px 10px 0;
    border-radius: 28px;
  }

  #case-study-02 .project__case-figure--profit {
    border-radius: 28px;
  }

  #case-study-02 .project__footer--case-study {
    min-height: 188px;
    padding: 32px 36px 28px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  #case-study-02 .case-study-snapshot {
    min-height: auto;
  }

  #case-study-02 .project__media--profit-figma {
    min-height: 520px;
    height: 520px;
    max-height: 520px;
    padding: 28px 28px 0;
  }

  #case-study-02 .project__feature-shell--profit {
    padding: 8px 8px 0;
    border-radius: 24px;
  }

  #case-study-02 .project__case-figure--profit {
    border-radius: 24px;
  }

  #case-study-02 .project__footer--case-study {
    min-height: 168px;
    padding: 28px 28px 24px;
  }
}

@media (max-width: 768px) and (min-width: 561px) {
  #case-study-02 .project__media--profit-figma {
    min-height: 420px;
    height: 420px;
    max-height: 420px;
    padding: 20px 20px 0;
  }

  #case-study-02 .project__feature-shell--profit {
    padding: 8px 8px 0;
    border-radius: 20px;
  }

  #case-study-02 .project__case-figure--profit {
    border-radius: 20px;
  }

  #case-study-02 .project__footer--case-study {
    min-height: 148px;
    padding: 24px 20px 20px;
  }
}

@media (max-width: 560px) {
  #case-study-02 .project__media--profit-figma {
    min-height: 320px;
    height: 320px;
    max-height: 320px;
    padding: 16px 16px 0;
  }

  #case-study-02 .project__feature-shell--profit {
    padding: 6px 6px 0;
    border-radius: 18px;
  }

  #case-study-02 .project__case-figure--profit {
    border-radius: 18px;
  }

  #case-study-02 .project__footer--case-study {
    min-height: 136px;
    padding: 20px 16px 18px;
  }
}

#case-study-01 .case-study-snapshot,
#case-study-02 .case-study-snapshot {
  overflow: hidden;
}

#case-study-01 .project__media-wrap--case-study,
#case-study-02 .project__media-wrap--case-study {
  padding-inline: 0;
}

#case-study-01 .project__footer--case-study,
#case-study-02 .project__footer--case-study {
  min-height: 200px;
  padding: 40px 48px 32px;
}

#case-study-01 .project__headline-row--case-study,
#case-study-02 .project__headline-row--case-study {
  gap: 20px;
}

#case-study-01 .project__headline-row--case-study h2,
#case-study-02 .project__headline-row--case-study h2 {
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

#case-study-01 .project__headline-row--case-study .tag-list,
#case-study-02 .project__headline-row--case-study .tag-list {
  gap: 8px;
}

#case-study-01 .project__headline-row--case-study .tag,
#case-study-02 .project__headline-row--case-study .tag {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 20px;
}

@media (min-width: 1441px) {
  #case-study-01 .case-study-snapshot,
  #case-study-02 .case-study-snapshot {
    min-height: min(1200px, calc(100svh - 24px));
  }

  #case-study-01 .project__media--pyroblast-figma,
  #case-study-02 .project__media--profit-figma {
    height: 1000px;
    max-height: 1000px;
    min-height: min(1000px, calc(100svh - 220px));
  }
}

@media (max-width: 1440px) and (min-width: 1081px) {
  #case-study-01 .case-study-snapshot,
  #case-study-02 .case-study-snapshot {
    min-height: min(900px, calc(100svh - 24px));
  }

  #case-study-01 .project__media--pyroblast-figma,
  #case-study-02 .project__media--profit-figma {
    min-height: min(700px, calc(100svh - 200px));
    height: min(700px, calc(100svh - 200px));
    max-height: 700px;
    padding: 48px 48px 0;
    align-items: flex-start;
  }

  #case-study-01 .project__pyroblast-shell,
  #case-study-02 .project__feature-shell--profit {
    height: 100%;
    padding: 12px 12px 0;
    border-radius: 32px;
  }

  #case-study-01 .project__footer--case-study,
  #case-study-02 .project__footer--case-study {
    min-height: 200px;
    padding: 28px 40px 24px;
    gap: 20px;
  }

  #case-study-01 .project__headline-row--case-study,
  #case-study-02 .project__headline-row--case-study {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
  }

  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: -0.03em;
  }

  #case-study-01 .project__headline-row--case-study .tag-list,
  #case-study-02 .project__headline-row--case-study .tag-list {
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
  }

  #case-study-01 .project__headline-row--case-study .tag,
  #case-study-02 .project__headline-row--case-study .tag {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 15px;
  }
}

@media (max-width: 1280px) and (min-width: 1025px) {
  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  #case-study-01 .project__headline-row--case-study .tag,
  #case-study-02 .project__headline-row--case-study .tag {
    min-height: 32px;
    padding: 6px 11px;
    font-size: 14px;
  }
}

.project__case-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 780px;
  object-fit: cover;
  object-position: center center;
  background: #000000;
}

.project__media--video-card {
  position: relative;
}

.project__media--profit-figma {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: min(1000px, calc(100svh - 220px));
  height: min(1000px, calc(100svh - 220px));
  max-height: 1000px;
  padding: 48px 48px 0;
  background: linear-gradient(90deg, #0b8d6c 10.17%, #58c9ac 63.57%);
  overflow: hidden;
  isolation: isolate;
}


.project__feature-shell--profit {
  background: transparent;
}

.project__profit-video-stage {
  position: absolute;
  inset: 13.8% 24.2% 2.7% 29.4%;
  overflow: hidden;
  border-radius: 2.4vw;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 0.96;
}

@media (max-width: 1440px) and (min-width: 1081px) {
  .project__profit-video-stage {
    inset: 12.6% 24.2% 3.8% 29.4%;
  }
}

@media (max-width: 1280px) and (min-width: 769px) {
  .project__profit-video-stage {
    inset: 11.6% 24.2% 4.6% 29.4%;
  }
}

@media (max-width: 768px) {
  .project__profit-video-stage {
    inset: 10.8% 24.2% 5.4% 29.4%;
  }
}

.project__case-video--profit {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
  mix-blend-mode: screen;
  filter: saturate(1.04) brightness(1.02);
}

.project__case-figure--profit {
  position: relative;
}

.project__case-image--profit-intro {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #0b0b0d;
}

.project__case-image--framed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: none;
}

@keyframes projectGlowFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1.5%, -2%, 0) scale(1.03);
  }
  100% {
    transform: translate3d(-1.25%, 1.5%, 0) scale(0.985);
  }
}

.case-page {
  padding-bottom: 120px;
}

.case-page__snapshot {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  --case-hero-progress: 0;
  --case-hero-media-base: min(1000px, calc(100svh - 232px));
  --case-hero-footer-base: 148px;
}

.case-page__hero-media,
.case-layout__media {
  background-color: #f4f4f4;
  background-image:
    linear-gradient(45deg, rgba(0, 0, 0, 0.055) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.055) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.055) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.055) 75%);
  background-size: 124px 124px;
  background-position: 0 0, 0 62px, 62px -62px, -62px 0;
}

.case-page__hero-media-wrap {
  position: relative;
  width: 100%;
  overscroll-behavior-y: contain;
}

.case-page__hero-media {
  width: 100%;
  height: calc(
    var(--case-hero-media-base) +
    (100svh - var(--case-hero-media-base)) * var(--case-hero-progress)
  );
  border-radius: 0;
  contain: paint;
  isolation: isolate;
  overflow: hidden;
  background: #000000;
}

.case-page__hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.case-page__hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000000;
}

.case-page__hero-controls {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.case-page__hero-toggle {
  position: relative;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(28, 28, 30, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    opacity 220ms ease;
}

.case-page__hero-toggle:hover {
  transform: translateY(-1px);
  background: rgba(28, 28, 30, 0.82);
  border-color: rgba(255, 255, 255, 0.16);
}

.case-page__hero-toggle--sound {
  color: rgba(255, 255, 255, 0.96);
}

.case-page__hero-toggle-svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.case-page__hero-toggle-svg--play,
.case-page__hero-toggle-svg--sound-off {
  display: none;
}

.case-page__hero-toggle.is-paused .case-page__hero-toggle-svg--pause {
  display: none;
}

.case-page__hero-toggle.is-paused .case-page__hero-toggle-svg--play {
  display: block;
}

.case-page__hero-toggle--sound.is-muted .case-page__hero-toggle-svg--sound {
  display: none;
}

.case-page__hero-toggle--sound.is-muted .case-page__hero-toggle-svg--sound-off {
  display: block;
}

.case-page__snapshot-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding:
    calc(28px * (1 - var(--case-hero-progress)))
    48px
    calc(24px * (1 - var(--case-hero-progress)));
  background: #ffffff;
  min-height: 0;
  max-height: calc(var(--case-hero-footer-base) * (1 - var(--case-hero-progress)));
  flex: 0 0 auto;
  overflow: hidden;
  opacity: calc(1 - (var(--case-hero-progress) * 0.96));
  transform: translateY(calc(40px * var(--case-hero-progress)));
  transition: opacity 220ms ease;
}

.case-page__back {
  width: fit-content;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.3;
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(12, 15, 18, 0.56);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    opacity 220ms ease;
}

.case-page__back:hover {
  transform: translateY(-1px);
  background: rgba(12, 15, 18, 0.72);
}

.case-page__back--floating {
  position: fixed;
  top: 32px;
  left: 48px;
  z-index: 30;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    opacity 220ms ease;
}

.case-page__snapshot-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
}

.case-page__snapshot-head--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.case-page__snapshot-head h1 {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: clamp(2.65rem, 3.35vw, 4rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.case-page__snapshot-head .tag-list {
  gap: 10px;
}

.case-page__snapshot-head .tag {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 18px;
  font-weight: 500;
}

.case-copy {
  padding: 120px 32px 0;
}

.case-copy__block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.case-copy > * + * {
  margin-top: 120px;
}

.case-copy__block h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.42);
}

.case-copy__block p,
.case-copy__block li {
  margin: 0;
  color: rgba(0, 0, 0, 0.84);
  font-family: inherit;
  font-size: 18px;
  line-height: 1.58;
}

.case-copy__block ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-copy__overview {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.84fr);
  gap: 72px;
  align-items: start;
}

.case-copy__main {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: var(--copy-max);
}

.case-copy__block--problem {
  min-height: 100%;
  justify-content: flex-start;
  gap: 16px;
}

.case-copy__block--problem p {
  max-width: 24ch;
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.case-copy__block--compact {
  min-height: 0;
  justify-content: flex-start;
  gap: 18px;
  max-width: 34ch;
  padding-top: 0;
  border-top: 0;
}

.case-copy__block--compact ul {
  gap: 10px;
}

.case-copy__block--compact li {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.case-copy__impact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-copy__impact-item {
  max-width: 30ch;
  font-size: 18px;
  line-height: 1.52;
}

.case-copy__impact-item strong {
  font-weight: 600;
  color: #000000;
}

.case-copy__block--solution {
  padding: 32px;
  background: #0d0d0d;
  border: 0;
  border-radius: 32px;
  box-shadow: none;
}

.case-copy__block--solution h2,
.case-copy__block--solution p,
.case-copy__block--solution li {
  color: rgba(255, 255, 255, 0.96);
}

.case-copy__block--solution h2 {
  color: rgba(255, 255, 255, 0.44);
}

.case-copy__solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

.case-copy__solution-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-copy__solution-item h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.98);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.case-copy__solution-item p {
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.58;
}

.case-layout {
  padding: 120px 32px 0;
}

.case-layout--two-col,
.case-layout--three-col {
  display: grid;
  gap: 28px;
}

.case-layout--two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-layout--three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-layout__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-layout__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 560px;
  padding: 32px;
  border-radius: 32px;
  background-color: #f4f4f4;
  background-image:
    linear-gradient(45deg, rgba(0, 0, 0, 0.055) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.055) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.055) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.055) 75%);
  background-size: 124px 124px;
  background-position: 0 0, 0 62px, 62px -62px, -62px 0;
}

.case-layout__media--asset {
  padding: 0;
  background: transparent;
  background-image: none;
}

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

.case-layout__shell {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 16px 16px 0;
  border-radius: 32px;
  overflow: hidden;
  background: #0b0b0d;
}

.case-layout__shell-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.case-layout__asset {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background: #0b0b0d;
}

.case-layout__asset--cover {
  object-fit: cover;
  object-position: center top;
}

.case-layout__asset--plain {
  border-radius: inherit;
}

.case-layout__media--portrait {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.case-layout__media--portrait .case-layout__shell {
  max-width: 420px;
}

.case-layout--pyro-hero,
.case-layout--pyro-wide,
.case-layout--pyro-grid,
.case-layout--pyro-bottom {
  padding-inline: 48px;
}

.case-layout--pyro-hero {
  display: grid;
  grid-template-columns:
    minmax(0, calc((100% - 32px) * 0.7706169859))
    calc((100% - 32px) * 0.2293830141);
  gap: 32px;
  align-items: flex-start;
  padding-top: 120px;
}

.case-layout--pyro-hero .case-layout__column,
.case-layout--pyro-grid .case-layout__column {
  gap: 0;
}

.case-layout--pyro-hero .case-layout__column:first-child {
  min-width: 0;
}

.case-layout--pyro-hero .case-layout__column:last-child {
  align-self: flex-start;
}

.case-layout--pyro-hero .case-layout__column:first-child .case-layout__media {
  min-height: 0;
  aspect-ratio: 2128 / 1352;
  border-radius: 32px;
}

.case-layout--pyro-hero .case-layout__column:last-child .case-layout__media {
  width: 100%;
  min-height: 0;
  height: auto;
  align-self: flex-start;
  border-radius: 24px;
  aspect-ratio: 750 / 1600;
}

.case-layout--pyro-hero .case-layout__column:last-child .case-layout__picture,
.case-layout--pyro-hero .case-layout__column:last-child .case-layout__asset {
  height: auto;
}

.case-layout--pyro-wide,
.case-layout--pyro-bottom {
  padding-top: 32px;
}

.case-layout--pyro-wide .case-layout__media,
.case-layout--pyro-bottom .case-layout__media {
  min-height: 0;
  aspect-ratio: 2880 / 1600;
  border-radius: 32px;
}

.case-layout--pyro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  padding-top: 32px;
}

.case-layout--pyro-grid .case-layout__media {
  width: 100%;
  min-height: 0;
  aspect-ratio: 750 / 1600;
  border-radius: 32px;
}

.case-layout__media--large {
  min-height: 960px;
}

.case-layout__media--hero {
  min-height: 960px;
}

.case-layout__media--medium {
  min-height: 680px;
}

.case-layout__media--tall {
  min-height: 1120px;
}

.case-layout__media--dark {
  background-color: #0f1216;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
}

.case-layout__media--accent {
  background-color: #dff3ff;
  background-image:
    linear-gradient(45deg, rgba(11, 165, 236, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(11, 165, 236, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(11, 165, 236, 0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(11, 165, 236, 0.08) 75%);
}

.case-layout__badge {
  position: absolute;
  left: 32px;
  bottom: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: rgba(0, 0, 0, 0.82);
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.case-layout__media--dark .case-layout__badge {
  background: rgba(12, 15, 18, 0.72);
  color: rgba(255, 255, 255, 0.92);
}

.case-page__more {
  padding: 120px 0 0;
}

.case-page__footer {
  padding-top: 136px;
}

.case-page__more-head {
  padding: 0 32px 24px;
}

.case-page__more-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.case-more {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.case-more.is-dragging {
  cursor: grabbing;
}

.case-more__track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 0 32px;
  will-change: transform;
}

.case-more__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(38vw, 560px);
  flex: 0 0 auto;
}

.case-more__card span {
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.case-more__media {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 320px;
  min-height: 320px;
  padding: 32px;
  border-radius: 32px;
  overflow: hidden;
}

.case-more__media--pyroblast {
  background: linear-gradient(180deg, #ffcb60 0%, #ffad02 100%);
}

.case-more__media--profit {
  background: linear-gradient(90deg, #0b8d6c 10.17%, #58c9ac 63.57%);
}

.case-more__shell {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  padding: 8px 8px 0;
  border-radius: 24px;
  overflow: hidden;
  background: #0b0b0d;
}

.case-more__image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 18px;
  background: #0b0b0d;
}

.case-more__image--pyroblast,
.case-more__image--profit {
  object-fit: contain;
  object-position: center top;
}

.project__media img {
  width: 100%;
  height: auto;
}

.project__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 44px 56px;
}

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

.project__footer--case {
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.project__footer--case-study {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.project__headline-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.project__headline-row--case-study {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  gap: 24px;
}

.project__headline-row--case-study h2 {
  font-size: 52px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  width: 100%;
  max-width: none;
  flex: 0 0 auto;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project__headline-row--case-study .tag-list {
  width: 100%;
  justify-content: flex-start;
  align-content: flex-start;
  flex: 0 0 auto;
  gap: 10px;
}

.project__headline-row--case-study .tag {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 20px;
  font-weight: 500;
}

.project__headline-row--case {
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.site-footer {
  padding-top: 136px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 840px;
  padding: 132px 168px;
  background: #000000;
  gap: 220px;
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
}

.site-footer__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 56px;
  max-width: 855px;
}

.site-footer__eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", sans-serif;
  font-size: 22px;
  line-height: 24px;
}

.site-footer__cta h2 {
  margin: 0;
  max-width: 855px;
  color: #ffffff;
  font-size: 90px;
  line-height: 0.98;
  letter-spacing: -0.046em;
  font-weight: 600;
}

.site-footer__lead {
  margin: 0;
  flex: 1 1 auto;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Inter", sans-serif;
  font-size: 23px;
  line-height: 1.5;
}

.site-footer__contact {
  width: fit-content;
  box-shadow: 0 18px 34px rgba(255, 255, 255, 0.08);
}

.site-footer__contact:hover {
  transform: translateY(-2px);
}

.site-footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.site-footer__links {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
  width: fit-content;
  margin-left: auto;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  line-height: 26px;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.site-footer__links a:hover {
  transform: translateY(-1px);
  color: #ffffff;
}

@media (min-width: 1600px) {
  .hero h1 {
    font-size: 58px;
    line-height: 1.18;
    letter-spacing: -0.035em;
  }
}

@media (min-width: 1081px) and (max-width: 1599px) {
  .site-header__inner {
    padding: 34px 48px;
  }

  .hero__carousel-controls {
    right: 48px;
  }

  .hero__carousel-progress {
    min-height: 58px;
    gap: 10px;
    padding: 0 16px;
  }

  .hero__carousel-segment {
    width: 12px;
    height: 12px;
  }

  .hero__carousel-segment.is-active {
    width: 42px;
  }

  .hero__carousel-button {
    width: 58px;
    height: 58px;
  }

  .hero__container {
    gap: 36px;
    padding: 60px 40px;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1.34;
    letter-spacing: -0.02em;
  }

  .hero__actions {
    gap: 16px 14px;
  }

  .contact-chip {
    min-height: 42px;
  }

  .contact-chip--email {
    min-width: 154px;
    padding: 10px 16px;
  }

  .contact-chip--email span {
    font-size: 16px;
    line-height: 1.2;
  }

  .contact-chip--icon {
    width: 48px;
    padding: 10px;
  }

  .contact-chip__icon {
    width: 20px;
    height: 20px;
  }

  .hero__message {
    font-size: 16px;
    line-height: 1.3;
  }

  .hero__message-icon {
    width: 20px;
    height: 20px;
  }

  .hero__message-icon span:first-child {
    width: 20px;
    height: 20px;
  }

  .hero__message-icon span:last-child {
    width: 10px;
    height: 10px;
  }

  .project__media-wrap--case {
    padding-inline: 32px;
  }

  .project__media-wrap--case-study {
    padding-inline: 40px;
  }

  .project__case-card {
    min-height: 530px;
    border-radius: 28px;
  }

  .project__media--case-study {
    min-height: 700px;
    border-radius: 32px;
  }

  .project__footer--case {
    padding: 32px 22px;
  }

  .project__footer--case-study {
    gap: 0;
    padding: 32px 40px;
  }

  .project__headline-row--case h2 {
    font-size: 3rem;
  }

  .project__headline-row--case-study h2 {
    font-size: 36px;
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  .project__headline-row--case .tag {
    min-height: 32px;
    padding: 7px 14px;
    font-size: 16px;
  }

  .project__headline-row--case-study .tag {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 16px;
  }

  .project__summary p {
    font-size: 20px;
  }

  .project__summary--case-study p {
    font-size: 24px;
    line-height: 1.4;
  }

  .project__headline-row--case-study {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .project__headline-row--case-study h2 {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .project__headline-row--case-study .tag-list {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .case-page__snapshot-footer {
    gap: 18px;
    padding: 28px 40px 24px;
  }

  .case-page__hero-media {
    --case-hero-media-base: min(720px, calc(100svh - 176px));
    min-height: var(--case-hero-media-base);
  }

  .case-page__hero-controls {
    right: 24px;
    bottom: 24px;
  }

  .case-page__hero-toggle {
    width: 48px;
    height: 48px;
  }

  .case-page__back--floating {
    top: 24px;
    left: 32px;
  }

  .case-layout {
    padding-top: 120px;
  }

  .case-copy {
    padding: 128px 40px 0;
  }

  .case-copy__overview {
    grid-template-columns: minmax(0, 1.18fr) minmax(240px, 0.82fr);
    gap: 56px;
  }

  .case-copy__main {
    gap: 64px;
  }

  .case-copy__block p,
  .case-copy__block li {
    font-size: 18px;
  }

  .case-copy__block {
    padding: 0;
    border-radius: 0;
  }

  .case-copy__block--problem {
    padding: 0;
    border-radius: 0;
  }

  .case-copy__block--problem p,
  .case-copy__block--compact li {
    font-size: 22px;
  }

  .case-copy__block--problem p {
    font-size: 28px;
  }

  .case-copy__block--compact li,
  .case-copy__impact-item {
    font-size: 20px;
  }

  .case-copy__block--solution {
    padding: 40px 40px 44px;
    border-radius: 28px;
  }

  .case-copy__solution-grid {
    gap: 20px 24px;
  }

  .case-copy__solution-item h3 {
    font-size: 22px;
  }

  .case-copy__solution-item p {
    font-size: 17px;
  }

  .case-layout__media {
    min-height: 440px;
  }

  .case-layout__media--large {
    min-height: 800px;
  }

  .case-layout__media--tall {
    min-height: 900px;
  }

  .case-page__snapshot-head h1 {
    font-size: 40px;
  }

  .case-page__more {
    padding-top: 128px;
  }

  .case-more__card {
    width: min(42vw, 520px);
  }

  .case-more__media {
    min-height: 320px;
  }
}

.project__headline-row h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--chip-bg);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
}

.project__summary p {
  margin: 0;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 24px;
  line-height: 1.4;
}

.project__summary--case-study p {
  font-size: 24px;
  line-height: 1.75;
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.carousel-nav__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 40px;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.carousel-nav__button img {
  width: 24px;
  height: 24px;
}

.case-detail {
  padding-bottom: 96px;
}

.case-detail__hero {
  width: 100%;
}

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

.case-detail__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 48px 0;
}

.case-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: rgba(0, 0, 0, 0.7);
  font-size: 16px;
  line-height: 1.3;
}

.case-detail__content h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.case-detail__content p {
  margin: 0;
  max-width: 760px;
  color: rgba(0, 0, 0, 0.72);
  font-size: 20px;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1280px) {
  :root {
    --section-padding-x: 32px;
    --section-gap: 120px;
  }

  .site-header__brand {
    width: 104px;
    height: 22px;
  }

  .site-header__inner {
    padding: 28px 32px;
  }

  .site-header__contact {
    min-height: 36px;
    padding: 9px 16px;
    font-size: 15px;
  }

  .hero__carousel-controls {
    right: 32px;
    bottom: 28px;
  }

  .hero__slide {
    border-radius: 28px;
  }

  .hero__container {
    gap: 32px;
    padding: 52px 32px 32px;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1.24;
    letter-spacing: -0.03em;
  }

  .case-layout {
    padding: 120px 32px 0;
  }

  .case-layout--pyro-hero,
  .case-layout--pyro-wide,
  .case-layout--pyro-grid,
  .case-layout--pyro-bottom {
    padding-inline: 32px;
  }

  .case-layout--pyro-hero {
    display: grid;
    grid-template-columns:
      minmax(0, calc((100% - 24px) * 0.7706169859))
      calc((100% - 24px) * 0.2293830141);
    gap: 24px;
    padding-top: 104px;
    align-items: flex-start;
  }

  .case-layout--pyro-hero .case-layout__column:last-child .case-layout__media {
    min-height: 0;
    height: auto;
    width: 100%;
  }

  .case-layout--pyro-wide,
  .case-layout--pyro-grid,
  .case-layout--pyro-bottom {
    padding-top: 24px;
  }

  .case-page__snapshot-footer {
    gap: 18px;
    padding: 24px 32px 20px;
  }

  .case-page__hero-media {
    --case-hero-media-base: min(560px, calc(100svh - 156px));
    min-height: var(--case-hero-media-base);
  }

  .case-page__hero-controls {
    right: 24px;
    bottom: 24px;
  }

  .case-page__hero-toggle {
    width: 44px;
    height: 44px;
  }

  .case-page__back--floating {
    top: 24px;
    left: 32px;
  }

  .case-page__snapshot-head {
    align-items: flex-start;
    gap: 16px;
  }

  .case-page__snapshot-head h1 {
    font-size: 34px;
  }

  .project__footer {
    padding-inline: 32px;
  }

  .site-footer {
    padding-top: 120px;
  }

  .site-footer__inner {
    min-height: 720px;
    padding: 104px 64px;
    gap: 72px;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .site-footer__eyebrow {
    font-size: 20px;
    line-height: 24px;
  }

  .site-footer__cta h2 {
    font-size: 68px;
  }

  .site-footer__contact {
    padding: 20px 52px;
  }

  .site-footer__lead {
    max-width: 620px;
    font-size: 20px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__links {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .project__media-wrap--split {
    padding-inline: 24px;
  }

  .project__media-wrap--case-study {
    padding-inline: 32px;
  }

  .project__media-wrap--case {
    padding-inline: 24px;
  }

  .project__media--case-study {
    min-height: 640px;
  }

  .project__case-card {
    min-height: 640px;
  }

  .project__summary p {
    font-size: 20px;
  }

  .tag {
    font-size: 18px;
    min-height: 38px;
  }

  .case-page__more {
    padding-top: 120px;
  }

  .case-page__more-head {
    padding: 0 32px 20px;
  }

  .case-more__track {
    padding: 0 32px;
  }

  .case-more__card {
    width: min(58vw, 460px);
  }

  .case-more__media {
    min-height: 280px;
    border-radius: 28px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-padding-x: 16px;
    --section-gap: 104px;
  }

  .site-header__brand {
    width: 96px;
    height: 20px;
  }

  .site-header__inner {
    padding: 18px 16px;
    align-items: center;
    gap: 16px;
  }

  .hero__carousel-controls {
    right: 16px;
    bottom: 20px;
    gap: 8px;
    padding: 0;
  }

  .hero__carousel-progress {
    min-height: 50px;
    gap: 8px;
    padding: 0 14px;
  }

  .hero__carousel-segment {
    width: 10px;
    height: 10px;
  }

  .hero__carousel-segment.is-active {
    width: 32px;
  }

  .hero__carousel-button {
    width: 50px;
    height: 50px;
  }

  .hero__slide {
    border-radius: 24px;
  }

  .hero__container {
    gap: 24px;
    padding: 36px 16px;
  }

  .hero__content {
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 4.9vw, 2.7rem);
    line-height: 1.14;
    letter-spacing: -0.025em;
    max-width: 100%;
  }

  .hero__actions {
    gap: 12px 10px;
  }

  .hero__contact-group {
    gap: 8px;
  }

  .contact-chip {
    min-height: 46px;
    border-radius: var(--radius-pill);
  }

  .contact-chip--email {
    min-width: 148px;
    padding-inline: 16px;
  }

  .contact-chip--email span,
  .hero__message {
    font-size: 16px;
  }

  .contact-chip--icon {
    width: 40px;
    padding-inline: 8px;
  }

  .hero__media {
    border-radius: 0 0 24px 24px;
  }

  .case-page__hero-media {
    --case-hero-media-base: min(420px, calc(100svh - 164px));
    min-height: var(--case-hero-media-base);
  }

  .case-page__hero-controls {
    right: 18px;
    bottom: 18px;
    gap: 8px;
  }

  .case-page__hero-toggle {
    width: 40px;
    height: 40px;
  }

  .case-page__back {
    font-size: 14px;
    padding: 10px 14px;
  }

  .case-page__back--floating {
    top: 18px;
    left: 16px;
  }

  .case-page__snapshot-footer {
    gap: 14px;
    padding: 20px 16px 18px;
  }

  .case-page__snapshot-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .case-page__snapshot-head h1 {
    font-size: 28px;
    line-height: 1.1;
  }

  .case-page__snapshot-head .tag-list {
    gap: 8px;
  }

  .case-page__snapshot-head .tag {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 16px;
  }

  .case-layout {
    padding: 104px 16px 0;
  }

  .case-layout--pyro-hero,
  .case-layout--pyro-wide,
  .case-layout--pyro-grid,
  .case-layout--pyro-bottom {
    padding-inline: 16px;
  }

  .case-layout--pyro-hero,
  .case-layout--pyro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-layout--pyro-hero {
    padding-top: 88px;
  }

  .case-layout--pyro-wide,
  .case-layout--pyro-grid,
  .case-layout--pyro-bottom {
    padding-top: 24px;
  }

  .case-layout--pyro-hero .case-layout__column:first-child .case-layout__media,
  .case-layout--pyro-wide .case-layout__media,
  .case-layout--pyro-bottom .case-layout__media {
    aspect-ratio: 2880 / 1600;
    min-height: 0;
  }

  .case-layout--pyro-hero .case-layout__column:last-child .case-layout__media,
  .case-layout--pyro-grid .case-layout__media {
    min-height: 0;
    width: 100%;
    max-width: 375px;
    aspect-ratio: 375 / 800;
  }

  .case-layout--pyro-hero .case-layout__column:last-child .case-layout__media,
  .case-layout--pyro-grid .case-layout__media {
    justify-self: center;
  }

  .case-copy {
    padding: 104px 16px 0;
  }

  .case-copy__main {
    gap: 40px;
  }

  .case-copy__block h2 {
    font-size: 14px;
  }

  .case-copy__block p,
  .case-copy__block li {
    font-size: 16px;
    line-height: 1.6;
  }

  .case-copy__block {
    padding: 0;
    border-radius: 0;
  }

  .case-copy__block--problem {
    padding: 0;
    border-radius: 0;
  }

  .case-copy__block--problem p,
  .case-copy__block--compact li {
    font-size: 18px;
    line-height: 1.45;
  }

  .case-copy__block--problem p {
    max-width: 100%;
    font-size: 22px;
    line-height: 1.34;
  }

  .case-copy__block--solution {
    margin-top: 16px;
    padding: 24px 20px 28px;
    border-radius: 24px;
  }

  .case-copy__block--compact li,
  .case-copy__impact-item {
    font-size: 18px;
    line-height: 1.45;
  }

  .case-copy__solution-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-copy__solution-item h3 {
    font-size: 20px;
  }

  .case-copy__solution-item p {
    font-size: 16px;
    line-height: 1.55;
  }

  .case-layout--two-col,
  .case-layout--three-col {
    grid-template-columns: 1fr;
  }

  .case-layout__media {
    min-height: 280px;
    border-radius: 24px;
  }

  .case-layout__media--large {
    min-height: 420px;
  }

  .case-layout__media--tall {
    min-height: 520px;
  }

  .case-page__more {
    padding-top: 104px;
  }

  .case-page__more-head {
    padding: 0 16px 16px;
  }

  .case-more__track {
    gap: 16px;
    padding: 0 16px;
  }

  .project__headline-row--case-study {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header__inner {
    padding: 20px 16px;
  }

  .site-header__contact {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .project__headline-row--case-study h2,
  .project__headline-row--case-study .tag-list {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .project__headline-row--case-study .tag-list {
    justify-content: flex-start;
  }

  .case-more__card {
    width: min(78vw, 320px);
    gap: 12px;
  }

  .case-more__card span {
    font-size: 18px;
  }

  .case-more__media {
    min-height: 220px;
    border-radius: 24px;
  }

  .project__media-wrap--split {
    padding-inline: 16px;
  }

  .project__media-wrap--case-study {
    padding-inline: 16px;
  }

  .project__media-wrap--case {
    padding-inline: 16px;
  }

  .project__media--case-study {
    min-height: 420px;
    border-radius: 24px;
  }

  .project__case-card {
    min-height: 420px;
    border-radius: 24px;
  }

  .project__case-frame {
    border-radius: inherit;
  }

  .project__footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px;
  }

  .project__summary {
    gap: 16px;
  }

  .project__headline-row {
    gap: 12px;
  }

  .project__headline-row--case {
    justify-content: flex-start;
  }

  .project__headline-row--case-study {
    justify-content: flex-start;
  }

  .site-footer {
    padding-top: 120px;
  }

  .site-footer__inner {
    min-height: auto;
    gap: 56px;
    padding: 88px 16px;
  }

  .site-footer__top,
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .site-footer__cta {
    align-items: flex-start;
    text-align: left;
  }

  .site-footer__eyebrow {
    font-size: 16px;
    line-height: 20px;
  }

  .site-footer__cta h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
    line-height: 0.98;
  }

  .site-footer__lead {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.55;
  }

  .site-footer__contact {
    min-width: 152px;
    min-height: 56px;
    padding: 18px 32px;
    font-size: 18px;
    line-height: 18px;
  }

  .site-footer__links {
    gap: 12px 18px;
    justify-content: flex-start;
  }

  .site-footer__links a {
    font-size: 16px;
    line-height: 20px;
  }

  .project__footer--case {
    padding: 24px 16px;
  }

  .project__footer--case-study {
    padding: 24px 16px;
  }

  .project__headline-row h2 {
    font-size: 2rem;
  }

  .tag {
    font-size: 14px;
    min-height: 32px;
    padding: 8px 12px;
  }

  .project__summary p {
    font-size: 14px;
  }

  .carousel-nav__button {
    width: 46px;
    height: 34px;
  }

  .case-detail__content {
    padding: 24px 16px 0;
  }

  .case-detail__content h1 {
    font-size: 34px;
    line-height: 1.16;
  }

  .case-detail__content p {
    font-size: 17px;
  }
}

@media (max-width: 560px) {
  .case-page__hero-media {
    --case-hero-media-base: min(320px, calc(100svh - 144px));
    min-height: var(--case-hero-media-base);
  }

  .case-page__hero-controls {
    right: 16px;
    bottom: 16px;
    gap: 8px;
  }

  .case-page__hero-toggle {
    width: 38px;
    height: 38px;
  }

  .case-page__hero-toggle-svg {
    width: 16px;
    height: 16px;
  }

  .case-page__snapshot-footer {
    gap: 12px;
    padding: 18px 16px 16px;
  }

  .case-page__snapshot-head {
    gap: 12px;
  }

  .case-page__snapshot-head h1 {
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

  .case-page__snapshot-head .tag {
    min-height: 28px;
    padding: 5px 10px;
    font-size: 14px;
  }
}

@media (max-width: 1599px) and (min-width: 1081px) {
  .site-header__inner {
    padding: 16px 32px 0;
  }

  .hero__media {
    max-height: 620px;
  }

  .hero__container {
    gap: 28px;
    padding: 48px 40px 28px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.16;
    letter-spacing: -0.03em;
  }

  .hero__actions {
    gap: 14px 12px;
    align-items: flex-start;
  }

  .contact-chip {
    min-height: 46px;
  }

  .contact-chip--email {
    min-width: 164px;
    padding: 10px 14px;
  }

  .contact-chip--email span,
  .hero__message {
    font-size: 16px;
  }

  .contact-chip--icon {
    width: 52px;
    padding: 12px;
  }

  .hero__slide,
  .hero__media {
    border-radius: 0 !important;
  }

  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  #case-study-01 .project__headline-row--case-study .tag,
  #case-study-02 .project__headline-row--case-study .tag {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 15px;
  }
}

@media (max-width: 1280px) and (min-width: 769px) {
  .site-header__inner {
    padding: 12px 24px 0;
  }

  .hero__media {
    max-height: 520px;
  }

  .hero__container {
    gap: 24px;
    padding: 40px 24px 24px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.14;
    letter-spacing: -0.03em;
  }

  .hero__actions {
    gap: 12px 10px;
  }

  .hero__contact-group {
    flex-wrap: wrap;
  }

  .contact-chip {
    min-height: 42px;
  }

  .contact-chip--email {
    min-width: 150px;
    padding: 9px 13px;
  }

  .contact-chip--email span,
  .hero__message {
    font-size: 15px;
  }

  .contact-chip--icon {
    width: 48px;
    padding: 11px;
  }

  .hero__slide,
  .hero__media {
    border-radius: 0 !important;
  }

  #case-study-01 .project__media--pyroblast-figma,
  #case-study-02 .project__media--profit-figma {
    min-height: 520px;
    height: 520px;
    max-height: 520px;
    padding: 32px 32px 0;
  }

  #case-study-01 .project__footer--case-study,
  #case-study-02 .project__footer--case-study {
    min-height: 168px;
    padding: 24px 28px 22px;
  }

  #case-study-01 .project__headline-row--case-study,
  #case-study-02 .project__headline-row--case-study {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }

  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  #case-study-01 .project__headline-row--case-study .tag-list,
  #case-study-02 .project__headline-row--case-study .tag-list {
    gap: 6px;
  }

  #case-study-01 .project__headline-row--case-study .tag,
  #case-study-02 .project__headline-row--case-study .tag {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    padding: 10px 16px 0;
  }

  .hero__media {
    max-height: 400px;
  }

  .hero__container {
    gap: 20px;
    padding: 28px 16px 20px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.03em;
  }

  .hero__actions,
  .hero__contact-group {
    gap: 10px;
  }

  .hero__message {
    font-size: 14px;
  }

  .contact-chip {
    min-height: 40px;
  }

  .contact-chip--email {
    min-width: 136px;
    padding: 8px 12px;
  }

  .contact-chip--email span {
    font-size: 14px;
  }

  .contact-chip--icon {
    width: 44px;
    padding: 10px;
  }

  .hero__slide,
  .hero__media {
    border-radius: 0 !important;
  }

  #case-study-01 .project__media--pyroblast-figma,
  #case-study-02 .project__media--profit-figma {
    min-height: 380px;
    height: 380px;
    max-height: 380px;
    padding: 20px 20px 0;
  }

  #case-study-01 .project__footer--case-study,
  #case-study-02 .project__footer--case-study {
    min-height: 144px;
    padding: 20px 20px 18px;
  }

  #case-study-01 .project__headline-row--case-study,
  #case-study-02 .project__headline-row--case-study {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    font-size: 22px;
    line-height: 1.1;
  }

  #case-study-01 .project__headline-row--case-study .tag,
  #case-study-02 .project__headline-row--case-study .tag {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 12px;
  }
}

@media (max-width: 560px) {
  .hero__media {
    max-height: min(42svh, 300px);
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.14;
    letter-spacing: -0.022em;
  }

  .hero__actions {
    align-items: flex-start;
    gap: 12px 10px;
  }

  .contact-chip--email {
    min-width: 128px;
  }

  .hero__container {
    gap: 18px;
    padding: 24px 16px 18px;
  }

  .hero__content {
    gap: 18px;
  }

  .hero__title-desktop,
  .hero__message-label--desktop {
    display: none;
  }

  .hero__title-mobile,
  .hero__message-label--mobile {
    display: inline;
  }

  .hero__message {
    font-size: 15px;
    line-height: 1.2;
  }

  #case-study-01 .project__media--pyroblast-figma,
  #case-study-02 .project__media--profit-figma {
    min-height: 300px;
    height: 300px;
    max-height: 300px;
    padding: 16px 16px 0;
  }

  #case-study-01 .project__footer--case-study,
  #case-study-02 .project__footer--case-study {
    min-height: 132px;
    padding: 18px 16px 16px;
  }

  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    font-size: 19px;
  }

  #case-study-01 .project__headline-row--case-study .tag-list,
  #case-study-02 .project__headline-row--case-study .tag-list {
    gap: 5px;
  }

  #case-study-01 .project__headline-row--case-study .tag,
  #case-study-02 .project__headline-row--case-study .tag {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .hero,
  .hero__media-wrap,
  .case-page__snapshot,
  .case-page__hero-media-wrap {
    touch-action: none;
  }

  .site-header__inner {
    padding: 16px 16px 0;
  }

  .site-header__actions {
    padding: 6px;
    background: rgba(18, 18, 20, 0.18);
  }

  .site-header__contact {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .hero {
    --hero-media-base: calc(100svh - var(--hero-content-size, 236px) - 80px);
    min-height: 100svh;
    max-height: none;
    height: 100svh;
    display: flex;
    flex-direction: column;
    gap: calc(80px * (1 - var(--hero-progress, 0)));
  }

  .hero__media-wrap {
    flex: 1 1 auto;
    min-height: 0;
  }

  .hero__media,
  .hero__slide {
    border-radius: 0 !important;
  }

  .hero__media {
    height: calc(
      var(--hero-media-base) +
      (100svh - var(--hero-media-base)) * var(--hero-progress, 0)
    );
    max-height: none;
  }

  .hero__carousel-controls {
    right: 16px;
    bottom: 16px;
    gap: 8px;
  }

  .hero__carousel-progress {
    min-height: 46px;
    gap: 8px;
    padding: 0 12px;
  }

  .hero__carousel-segment {
    width: 9px;
    height: 9px;
  }

  .hero__carousel-segment.is-active {
    width: 28px;
  }

  .hero__carousel-button {
    width: 46px;
    height: 46px;
  }

  .hero__carousel-button-svg {
    width: 15px;
    height: 15px;
  }

  .hero__container {
    flex: 0 0 auto;
    gap: 0;
    padding: 0 16px 22px;
  }

  .hero__content {
    gap: 16px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.06;
    letter-spacing: -0.04em;
    text-wrap: pretty;
  }

  .hero__actions {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .hero__contact-group {
    gap: 8px;
  }

  .contact-chip {
    min-height: 44px;
    border-radius: 20px;
  }

  .contact-chip--icon {
    width: 44px;
    padding: 10px;
  }

  .contact-chip__icon {
    width: 20px;
    height: 20px;
  }

  .hero__message {
    min-height: 44px;
    font-size: 15px;
    white-space: nowrap;
  }

  .hero + .project--case-study {
    padding-top: 80px;
  }

  .project--case-study + .project--case-study {
    padding-top: 48px;
  }

  .project__media-wrap--case-study {
    padding-inline: 0;
  }

  .project__media--case-study,
  .project__case-card {
    min-height: auto;
    border-radius: 0;
  }

  #case-study-01 .project__media-wrap--case-study,
  #case-study-02 .project__media-wrap--case-study {
    padding-inline: 0 !important;
  }

  #case-study-01 .project__media--pyroblast-figma,
  #case-study-02 .project__media--profit-figma {
    width: 100%;
    padding: 16px !important;
    border-radius: 0 !important;
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
  }

  #case-study-01 .project__media--pyroblast-figma {
    background: #f8bc39 !important;
  }

  #case-study-02 .project__media--profit-figma {
    background: linear-gradient(90deg, #0b8d6c 10.17%, #58c9ac 63.57%) !important;
  }

  .project__footer--case-study {
    gap: 8px;
    padding: 14px 16px 16px;
  }

  .project__headline-row--case-study {
    gap: 8px;
    align-items: flex-start;
  }

  .project__headline-row--case-study h2 {
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .project__headline-row--case-study .tag-list {
    gap: 6px;
  }

  .project__headline-row--case-study .tag {
    min-height: 26px;
    padding: 4px 9px;
    font-size: 12px;
    border-radius: 14px;
  }
}

@media (max-width: 560px) {
  .site-header__inner {
    padding: 14px 16px 0;
  }

  .site-header__brand {
    width: 88px;
    height: 18px;
  }

  .hero {
    --hero-media-base: calc(100svh - var(--hero-content-size, 222px) - 80px);
  }

  .hero__container {
    gap: 0;
    padding: 0 16px 18px;
  }

  .hero__content {
    gap: 14px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.038em;
  }

  .hero__actions {
    gap: 8px;
  }

  .hero__contact-group {
    gap: 8px;
  }

  .contact-chip {
    min-height: 42px;
    border-radius: 18px;
  }

  .contact-chip--icon {
    width: 42px;
    padding: 9px;
  }

  .hero__message {
    min-height: 42px;
    font-size: 14px;
  }

  .project__media-wrap--case-study {
    padding-inline: 0;
  }

  .project__media--case-study,
  .project__case-card {
    min-height: auto;
    border-radius: 0;
  }

  .project__footer--case-study {
    gap: 8px;
    padding: 14px 16px 16px;
  }

  .project__headline-row--case-study h2 {
    font-size: 22px;
    line-height: 1.08;
  }

  .project__headline-row--case-study .tag {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 13px;
  }
}

@media (max-width: 900px) {
  .hero h1,
  .case-page__snapshot-head h1 {
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .case-page__snapshot-footer {
    gap: 14px;
    padding: 20px 16px 16px;
  }

  .case-page__snapshot-head {
    gap: 14px;
  }

  .case-page__snapshot-head .tag-list {
    gap: 8px;
  }

  .case-page__snapshot-head .tag,
  .project__headline-row--case-study .tag {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 15px;
  }

  .project__media-wrap--case-study {
    padding-inline: 0 !important;
  }

  #case-study-01 .project__media--pyroblast-figma,
  #case-study-02 .project__media--profit-figma {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 16px !important;
    border-radius: 0 !important;
  }

  #case-study-01 .project__media--pyroblast-figma {
    background: #f8bc39 !important;
  }

  #case-study-02 .project__media--profit-figma {
    background: #2eb79a !important;
  }

  #case-study-01 .project__pyroblast-shell,
  #case-study-02 .project__feature-shell--profit {
    height: 100%;
    padding: 0 !important;
    border-radius: 8px !important;
    overflow: hidden;
  }

  #case-study-01 .project__case-figure--pyroblast,
  #case-study-02 .project__case-figure--profit {
    border-radius: 8px !important;
  }

  #case-study-01 .project__footer--case-study,
  #case-study-02 .project__footer--case-study {
    min-height: auto;
    gap: 10px;
    padding: 16px !important;
  }

  #case-study-01 .project__headline-row--case-study,
  #case-study-02 .project__headline-row--case-study {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    font-size: 24px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em;
  }

  #case-study-01 .project__headline-row--case-study .tag-list,
  #case-study-02 .project__headline-row--case-study .tag-list {
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  .case-page__hero-media,
  .case-layout__media,
  .case-more__media,
  .case-layout__asset--plain,
  .case-layout__shell,
  .project__case-figure--pyroblast,
  .project__case-figure--profit {
    border-radius: 16px !important;
  }

  .case-copy {
    padding: 72px 16px 0;
  }

  .case-copy__overview {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .case-copy__main {
    max-width: none;
    gap: 24px;
  }

  .case-copy__block h2 {
    font-size: 13px;
  }

  .case-copy__block p,
  .case-copy__block li,
  .case-copy__solution-item p,
  .case-copy__impact-item {
    font-size: 16px;
    line-height: 1.55;
  }

  .case-copy__block--problem p {
    font-size: 20px;
    line-height: 1.26;
    max-width: 100%;
  }

  .case-copy__block--solution {
    padding: 24px 16px;
    border-radius: 24px;
  }

  .case-copy__solution-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .case-page__snapshot-head h1 {
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.032em;
  }

  #case-study-01 .project__media--pyroblast-figma,
  #case-study-02 .project__media--profit-figma {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 16px !important;
  }

  #case-study-01 .project__footer--case-study,
  #case-study-02 .project__footer--case-study {
    padding: 16px !important;
  }

  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    font-size: 22px !important;
  }

  .case-page__snapshot-head .tag,
  .project__headline-row--case-study .tag {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 13px;
  }

  .case-copy__block p,
  .case-copy__block li,
  .case-copy__solution-item p,
  .case-copy__impact-item {
    font-size: 15px;
  }

  .case-copy__block--problem p {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .hero {
    --hero-media-base: calc(100svh - var(--hero-content-size, 236px) - 80px) !important;
    gap: 80px !important;
  }

  .hero__container {
    padding: 0 16px 20px !important;
  }

  .hero + .project--case-study {
    padding-top: 80px !important;
  }

  .project--case-study + .project--case-study {
    padding-top: 40px !important;
  }

  .case-study-snapshot {
    overflow: hidden;
    background: transparent;
  }

  #case-study-01 .case-study-snapshot {
    background: #f8bc39;
  }

  #case-study-02 .case-study-snapshot {
    background: linear-gradient(90deg, #0b8d6c 10.17%, #58c9ac 63.57%);
  }

  #case-study-01 .project__media--pyroblast-figma,
  #case-study-02 .project__media--profit-figma {
    padding: 16px !important;
    background: transparent !important;
  }

  #case-study-01 .project__pyroblast-shell,
  #case-study-02 .project__feature-shell--profit {
    padding: 0 !important;
    border-radius: 8px !important;
    background: #0b0b0d;
  }

  #case-study-01 .project__case-figure--pyroblast,
  #case-study-02 .project__case-figure--profit {
    border-radius: 8px !important;
  }

  #case-study-01 .project__footer--case-study,
  #case-study-02 .project__footer--case-study {
    min-height: auto !important;
    padding: 12px 16px 16px !important;
    gap: 8px !important;
    background: transparent !important;
  }

  #case-study-01 .project__headline-row--case-study,
  #case-study-02 .project__headline-row--case-study {
    gap: 8px !important;
  }

  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    font-size: 20px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
  }

  #case-study-01 .project__headline-row--case-study .tag-list,
  #case-study-02 .project__headline-row--case-study .tag-list {
    gap: 6px !important;
  }

  #case-study-01 .project__headline-row--case-study .tag,
  #case-study-02 .project__headline-row--case-study .tag {
    min-height: 26px !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
    border-radius: 14px !important;
  }

  .case-copy {
    padding: 56px 16px 0 !important;
  }

  .case-copy__overview {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .case-copy__main {
    gap: 24px !important;
  }

  .case-copy__block {
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .case-copy__block h2 {
    font-size: 12px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.04em !important;
  }

  .case-copy__block p,
  .case-copy__block li,
  .case-copy__solution-item p,
  .case-copy__impact-item {
    font-size: 15px !important;
    line-height: 1.55 !important;
    max-width: none !important;
  }

  .case-copy__block--problem p {
    font-size: 18px !important;
    line-height: 1.32 !important;
    max-width: none !important;
  }

  .case-copy__block--compact li,
  .case-copy__impact-item {
    font-size: 16px !important;
    line-height: 1.48 !important;
  }

  .case-copy__impact-list {
    gap: 12px !important;
  }

  .case-copy__block--solution {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .case-copy__solution-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .case-copy__solution-item h3 {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 560px) {
  .hero {
    --hero-media-base: calc(100svh - var(--hero-content-size, 222px) - 80px) !important;
  }

  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    font-size: 18px !important;
  }

  .case-copy {
    padding-top: 48px !important;
  }

  .case-copy__block p,
  .case-copy__block li,
  .case-copy__solution-item p,
  .case-copy__impact-item {
    font-size: 14px !important;
  }

  .case-copy__block--problem p {
    font-size: 17px !important;
  }
}

/* Homepage hero parity with case-study fullscreen behavior */
.hero {
  --hero-progress: 0;
  --hero-footer-base: 320px;
  --hero-media-base: min(720px, calc(100svh - var(--hero-footer-base)));
}

.hero__media-wrap {
  position: relative;
  width: 100%;
  min-height: 0;
  overscroll-behavior-y: contain;
}

.hero__media {
  width: 100%;
  height: calc(
    var(--hero-media-base) +
    (100svh - var(--hero-media-base)) * var(--hero-progress)
  );
  max-height: none !important;
  border-radius: 0 !important;
  contain: paint;
  isolation: isolate;
  overflow: hidden;
  background: #000000;
}

.hero__container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding:
    calc(28px * (1 - var(--hero-progress)))
    48px
    calc(24px * (1 - var(--hero-progress)));
  min-height: 0;
  max-height: calc(var(--hero-footer-base) * (1 - var(--hero-progress)));
  flex: 0 0 auto;
  overflow: hidden;
  opacity: calc(1 - (var(--hero-progress) * 0.96));
  transform: translateY(calc(40px * var(--hero-progress)));
  transition: opacity 220ms ease;
  will-change: opacity, transform, max-height;
}

.hero__content {
  gap: 20px;
}

.hero h1 {
  max-width: 100%;
  width: 100%;
  text-wrap: pretty;
  overflow: visible;
}

@media (max-width: 1599px) and (min-width: 1081px) {
  .hero {
    --hero-footer-base: 360px;
    --hero-media-base: min(620px, calc(100svh - var(--hero-footer-base)));
  }

  .hero__container {
    padding:
      calc(28px * (1 - var(--hero-progress)))
      40px
      calc(24px * (1 - var(--hero-progress)));
    max-height: calc(var(--hero-footer-base) * (1 - var(--hero-progress))) !important;
  }

  .hero h1 {
    font-size: clamp(34px, 3.5vw, 46px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
  }
}

@media (max-width: 1280px) and (min-width: 901px) {
  .hero {
    --hero-footer-base: 372px;
    --hero-media-base: min(520px, calc(100svh - var(--hero-footer-base)));
  }

  .hero__container {
    padding:
      calc(28px * (1 - var(--hero-progress)))
      24px
      calc(24px * (1 - var(--hero-progress)));
    max-height: calc(var(--hero-footer-base) * (1 - var(--hero-progress))) !important;
  }

  .hero h1 {
    font-size: clamp(32px, 3.4vw, 40px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.028em !important;
  }
}

@media (max-width: 900px) {
  .hero {
    --hero-footer-base: 236px;
    --hero-media-base: calc(100svh - var(--hero-footer-base) - 80px);
    gap: calc(80px * (1 - var(--hero-progress))) !important;
  }

  .hero__container {
    padding:
      0
      16px
      calc(20px * (1 - var(--hero-progress))) !important;
    max-height: calc(var(--hero-footer-base) * (1 - var(--hero-progress))) !important;
    transform: translateY(calc(32px * var(--hero-progress)));
  }
}

@media (max-width: 560px) {
  .hero {
    --hero-footer-base: 222px;
    --hero-media-base: calc(100svh - var(--hero-footer-base) - 80px);
  }

  .hero__container {
    padding:
      0
      16px
      calc(18px * (1 - var(--hero-progress))) !important;
    transform: translateY(calc(28px * var(--hero-progress)));
  }
}

@media (max-width: 1599px) and (min-width: 901px) {
  .hero {
    --hero-media-base: min(620px, calc(100dvh - var(--hero-content-size, 360px))) !important;
  }

  .hero__container {
    gap: 24px !important;
    padding: 36px 24px 28px !important;
    max-height: calc(var(--hero-content-size, 360px) * (1 - var(--hero-progress, 0))) !important;
  }

  .hero__content {
    gap: 20px !important;
  }

  .hero h1 {
    font-size: clamp(34px, 3.8vw, 50px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    padding-top: 0.12em !important;
    padding-bottom: 0.1em !important;
    text-wrap: pretty;
  }

  .hero__actions {
    gap: 12px 10px !important;
  }
}

@media (max-width: 900px) {
  .project__media-wrap--case-study {
    padding-inline: 0 !important;
  }

  .project__media--case-study {
    background-size: 72px 72px;
    background-position: 0 0, 0 36px, 36px -36px, -36px 0;
  }

  #case-study-01 .project__media--pyroblast-figma,
  #case-study-02 .project__media--profit-figma {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 16px !important;
    border-radius: 0 !important;
    overflow: visible;
  }

  #case-study-01 .project__media--pyroblast-figma {
    background: #f8bc39 !important;
  }

  #case-study-02 .project__media--profit-figma {
    background: linear-gradient(90deg, #0b8d6c 10.17%, #58c9ac 63.57%) !important;
  }

  #case-study-01 .project__pyroblast-shell,
  #case-study-02 .project__feature-shell--profit {
    border-radius: 8px !important;
    overflow: hidden;
  }

  #case-study-01 .project__case-figure--pyroblast,
  #case-study-02 .project__case-figure--profit {
    aspect-ratio: 2880 / 1600;
    border-radius: 8px !important;
  }

  #case-study-01 .project__footer--case-study,
  #case-study-02 .project__footer--case-study {
    min-height: auto !important;
    padding: 14px 16px 16px !important;
    gap: 8px !important;
  }

  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    font-size: 22px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.028em;
  }

  #case-study-01 .project__headline-row--case-study .tag,
  #case-study-02 .project__headline-row--case-study .tag {
    min-height: 28px !important;
    padding: 5px 9px !important;
    font-size: 13px !important;
    border-radius: 14px !important;
  }

  .case-page__snapshot,
  .case-page__hero-media-wrap,
  .case-page__hero-media,
  .case-page__hero-video,
  .case-page__hero-image {
    border-radius: 0 !important;
  }

  .case-page__hero-media {
    min-height: min(48svh, 360px);
    height: calc(
      var(--case-hero-media-base) +
      (100svh - var(--case-hero-media-base)) * var(--case-hero-progress)
    );
  }

  .case-page__snapshot.is-expanded .case-page__hero-video,
  .case-page__snapshot.is-expanded .case-page__hero-image {
    object-fit: contain;
    object-position: center center;
    background: #000000;
  }

  .case-page__snapshot-footer {
    padding: 16px !important;
    gap: 10px !important;
  }

  .case-page__snapshot-head {
    gap: 10px !important;
  }
}

/* Final mobile overrides */
@media (max-width: 900px) {
  .hero {
    --hero-media-base: calc(100svh - var(--hero-content-size, 236px) - 80px) !important;
    gap: 80px !important;
  }

  .hero__container {
    padding: 0 16px 20px !important;
  }

  .hero + .project--case-study {
    padding-top: 80px !important;
  }

  .project--case-study + .project--case-study {
    padding-top: 40px !important;
  }

  .case-study-snapshot {
    overflow: hidden !important;
    background: transparent !important;
  }

  #case-study-01 .project__media--pyroblast-figma,
  #case-study-02 .project__media--profit-figma {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 16px !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  #case-study-01 .project__media--pyroblast-figma {
    background: #f8bc39 !important;
  }

  #case-study-02 .project__media--profit-figma {
    background: linear-gradient(90deg, #0b8d6c 10.17%, #58c9ac 63.57%) !important;
  }

  #case-study-01 .project__pyroblast-shell,
  #case-study-02 .project__feature-shell--profit {
    padding: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #0b0b0d !important;
  }

  #case-study-01 .project__case-figure--pyroblast,
  #case-study-02 .project__case-figure--profit {
    border-radius: 8px !important;
  }

  #case-study-01 .project__footer--case-study,
  #case-study-02 .project__footer--case-study {
    min-height: auto !important;
    padding: 12px 16px 16px !important;
    gap: 8px !important;
    background: transparent !important;
  }

  #case-study-01 .project__headline-row--case-study,
  #case-study-02 .project__headline-row--case-study {
    gap: 8px !important;
  }

  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    font-size: 20px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
  }

  #case-study-01 .project__headline-row--case-study .tag-list,
  #case-study-02 .project__headline-row--case-study .tag-list {
    gap: 6px !important;
  }

  #case-study-01 .project__headline-row--case-study .tag,
  #case-study-02 .project__headline-row--case-study .tag {
    min-height: 26px !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
    border-radius: 14px !important;
  }

  .case-copy {
    padding: 56px 16px 0 !important;
  }

  .case-copy__overview {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .case-copy__main {
    gap: 24px !important;
  }

  .case-copy__block {
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .case-copy__block h2 {
    font-size: 12px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.04em !important;
  }

  .case-copy__block p,
  .case-copy__block li,
  .case-copy__solution-item p,
  .case-copy__impact-item {
    font-size: 15px !important;
    line-height: 1.55 !important;
    max-width: none !important;
  }

  .case-copy__block--problem p {
    font-size: 18px !important;
    line-height: 1.32 !important;
    max-width: none !important;
  }

  .case-copy__block--compact li,
  .case-copy__impact-item {
    font-size: 16px !important;
    line-height: 1.48 !important;
  }

  .case-copy__impact-list {
    gap: 12px !important;
  }

  .case-copy__block--solution {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .case-copy__solution-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .case-copy__solution-item h3 {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 560px) {
  .hero {
    --hero-media-base: calc(100svh - var(--hero-content-size, 222px) - 80px) !important;
  }

  #case-study-01 .project__headline-row--case-study h2,
  #case-study-02 .project__headline-row--case-study h2 {
    font-size: 18px !important;
  }

  .case-copy {
    padding-top: 48px !important;
  }

  .case-copy__block p,
  .case-copy__block li,
  .case-copy__solution-item p,
  .case-copy__impact-item {
    font-size: 14px !important;
  }

  .case-copy__block--problem p {
    font-size: 17px !important;
  }
}
