﻿:root {
  --bg: #050505;
  --bg-soft: #101114;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f7fa;
  --muted: #9ca3af;
  --accent: #c9f57a;
  --accent-soft: rgba(201, 245, 122, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.10);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(201, 245, 122, 0.05), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(108, 123, 255, 0.1), transparent 26%),
    radial-gradient(circle at 76% 72%, rgba(70, 112, 210, 0.08), transparent 28%),
    linear-gradient(180deg, #0a0a0c 0%, #050505 48%, #090a0f 100%);
  --scroll-shift: 0px;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -14% -12%;
  pointer-events: none;
  z-index: -2;
  will-change: transform, opacity;
}

body::before {
  background:
    radial-gradient(circle at 8% 12%, rgba(201, 245, 122, 0.038), transparent 28%),
    radial-gradient(circle at 18% 18%, rgba(201, 245, 122, 0.022), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(108, 123, 255, 0.065), transparent 24%),
    radial-gradient(circle at 72% 74%, rgba(70, 112, 210, 0.05), transparent 30%);
  opacity: 0.92;
  filter: blur(110px) saturate(1.04);
  mix-blend-mode: screen;
  transform: translate3d(0, calc(var(--scroll-shift) * -0.18), 0);
  animation: ambientGradientDrift 26s ease-in-out infinite alternate;
}

body::after {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  background-repeat: repeat;
  opacity: 0.12;
  filter: none;
  mix-blend-mode: soft-light;
  transform: none;
  animation: none;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: start;
  gap: 30px;
  padding-top: 24px;
  padding-bottom: 24px;
  position: relative;
}

.hero-particles {
  position: absolute;
  inset: -8% -12%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.hero > *:not(.hero-particles) {
  position: relative;
  z-index: 1;
}

.hero-copy::after,
.service-card::after,
.case-card::after,
.process-card::after,
.audience-card::after,
.stat-card::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 105, 171, 0.16), transparent 72%);
  pointer-events: none;
  filter: blur(22px);
}

::selection {
  background: #c9f57a;
  color: #080808;
}

::-moz-selection {
  background: #c9f57a;
  color: #080808;
}

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

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(calc(100% - 32px), 1320px);
  margin: 0 auto;
  padding-top: 88px;
  padding-bottom: 40px;
}

.topbar {
  position: fixed;
  top: 12px;
  left: 50%;
  width: min(calc(100% - 32px), 1320px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
    rgba(18, 20, 30, 0);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  transform: translateX(-50%);
}

body[data-header-theme="light"] .topbar,
.topbar.site-header--light {
  border-color: rgba(9, 12, 18, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.08);
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 58px;
  padding: 12px 20px;
}

.site-header-left {
  position: relative;
  justify-self: start;
}

.site-header-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: clamp(168px, 19vw, 255px);
  line-height: 0;
}

.site-header-nav {
  justify-self: end;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  line-height: 1;
}

.site-header-nav a {
  color: rgba(255, 255, 255, 0.66);
}

body[data-header-theme="light"] .site-header-nav a,
.topbar.site-header--light .site-header-nav a {
  color: rgba(13, 15, 20, 0.66);
}

.header-back-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body[data-header-theme="light"] .header-back-link,
.topbar.site-header--light .header-back-link {
  border-color: rgba(13, 15, 20, 0.1);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: rgba(13, 15, 20, 0.82);
}

.header-back-link:hover,
.header-back-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

body[data-header-theme="light"] .header-back-link:hover,
body[data-header-theme="light"] .header-back-link:focus-visible,
.topbar.site-header--light .header-back-link:hover,
.topbar.site-header--light .header-back-link:focus-visible {
  border-color: rgba(13, 15, 20, 0.18);
  background: rgba(255, 255, 255, 0.36);
  color: rgba(13, 15, 20, 0.94);
}

.header-fake-button {
  min-width: 96px;
}

.header-fake-toast {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(320px, calc(100vw - 40px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(18, 20, 28, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.header-fake-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header-brand img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.82;
}

.site-header-brand-lottie {
  min-height: 32px;
}

.site-logo-lottie {
  display: block;
  width: 100%;
  height: 32px;
  opacity: 0.82;
}

.site-logo-lottie svg {
  display: block;
  width: 100%;
  height: 100%;
}

body[data-header-theme="light"] .site-logo-lottie svg *,
.topbar.site-header--light .site-logo-lottie svg * {
  fill: #0d0f14 !important;
  stroke: #0d0f14 !important;
}

.site-logo-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header-brand-lottie.has-logo-fallback .site-logo-lottie {
  display: none;
}

.site-header-brand-lottie.has-logo-fallback .site-logo-fallback {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  letter-spacing: 0.45em;
  white-space: normal;
}

.topnav {
  display: none;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.brand.site-header-brand {
  width: clamp(130px, 14.3vw, 194px);
  font-size: 0;
  line-height: 1;
  letter-spacing: 0;
  transform: none;
}

.topnav.site-header-nav {
  justify-self: end;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

body[data-header-theme="light"] .topnav a:hover,
body[data-header-theme="light"] .topnav a:focus-visible,
.topbar.site-header--light .topnav a:hover,
.topbar.site-header--light .topnav a:focus-visible {
  color: rgba(13, 15, 20, 0.96);
}

.section {
  padding: 68px 0;
}

.hero-photo,
.hero-copy,
.principle-card,
.service-card,
.case-card,
.process-card,
.audience-card,
.cta-card,
.stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  --mx: 50%;
  --my: 50%;
  --magic-opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.hero-photo {
  height: auto;
  background: transparent;
  border: 0;
}

.hero-photo,
.principle-card,
.service-card,
.case-card,
.process-card,
.audience-card,
.cta-card,
.stat-card {
  border-radius: var(--radius-lg);
}

.topbar::before,
.photo-placeholder::before,
.principle-card::before,
.service-card::before,
.case-card::before,
.process-card::before,
.audience-card::before,
.cta-card::before,
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(
      260px circle at var(--mx) var(--my),
      rgba(201, 245, 122, 0.54),
      rgba(201, 245, 122, 0.28) 20%,
      rgba(97, 141, 255, 0.22) 42%,
      transparent 72%
    );
  opacity: calc(var(--magic-opacity) * 1.18);
  filter: saturate(1.18) brightness(1.08);
  transition: opacity 220ms ease;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.topbar:hover::before,
.photo-placeholder:hover::before,
.principle-card:hover::before,
.service-card:hover::before,
.case-card:hover::before,
.process-card:hover::before,
.audience-card:hover::before,
.cta-card:hover::before,
.stat-card:hover::before {
  --magic-opacity: 1;
}

.hero-copy::after,
.service-card::after,
.case-card::after,
.process-card::after,
.audience-card::after,
.stat-card::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 105, 171, 0.16), transparent 72%);
  pointer-events: none;
  filter: blur(22px);
}

.photo-frame {
  padding: 16px;
}

.photo-placeholder {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: calc(var(--radius-lg) - 10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at left top, rgba(104, 80, 13, 0.18), transparent 28%),
    radial-gradient(circle at right bottom, rgba(51, 105, 171, 0.12), transparent 26%),
    linear-gradient(180deg, #1a1b21 0%, #0d0d11 100%);
}

.photo-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.photo-visual {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
}

.placeholder-chip,
.service-label,
.mini-case-badge,
.case-label,
.principle-card > span,
.process-card > span,
.stat-card > span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.avatar-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.14), transparent 45%),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 44px rgba(0, 0, 0, 0.28);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
}

.avatar-photo {
  align-self: center;
  position: relative;
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.28), transparent 34%),
    radial-gradient(circle at 65% 78%, rgba(255, 255, 255, 0.05), transparent 36%),
    linear-gradient(180deg, #2b2d34 0%, #1d1f26 46%, #16181f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 22px 40px rgba(0, 0, 0, 0.24);
}

.avatar-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  min-width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.online-badge {
  position: absolute;
  top: 18px;
  right: -56px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(24, 26, 34, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 34px rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #31d158;
  box-shadow:
    0 0 0 0 rgba(49, 209, 88, 0.42),
    0 0 18px rgba(49, 209, 88, 0.6);
  animation: onlinePulse 4.8s ease-in-out infinite;
}

@keyframes onlinePulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(49, 209, 88, 0.38),
      0 0 16px rgba(49, 209, 88, 0.52);
  }

  50% {
    transform: scale(1.05);
    box-shadow:
      0 0 0 8px rgba(49, 209, 88, 0.06),
      0 0 24px rgba(49, 209, 88, 0.72);
  }

  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(49, 209, 88, 0.38),
      0 0 16px rgba(49, 209, 88, 0.52);
  }
}

@keyframes ambientGradientDrift {
  0% {
    transform: translate3d(-1.5%, calc(var(--scroll-shift) * -0.18 - 0.8%), 0) scale(1);
    opacity: 0.82;
  }

  50% {
    transform: translate3d(1.2%, calc(var(--scroll-shift) * -0.18 + 0.6%), 0) scale(1.04);
    opacity: 1;
  }

  100% {
    transform: translate3d(3.2%, calc(var(--scroll-shift) * -0.18 + 1.2%), 0) scale(1.08);
    opacity: 0.88;
  }
}

@keyframes ambientGradientDriftReverse {
  0% {
    transform: translate3d(2%, calc(var(--scroll-shift) * -0.1 - 0.4%), 0) scale(1.02);
    opacity: 0.54;
  }

  50% {
    transform: translate3d(-0.8%, calc(var(--scroll-shift) * -0.1 + 0.4%), 0) scale(1.06);
    opacity: 0.72;
  }

  100% {
    transform: translate3d(-2.8%, calc(var(--scroll-shift) * -0.1 + 1%), 0) scale(1.1);
    opacity: 0.58;
  }
}

@keyframes creativeAmbientDrift {
  0% {
    transform: scale(1.08) translate3d(-2.5%, -1.5%, 0);
    filter: blur(40px) saturate(1.22) brightness(0.95);
  }

  45% {
    transform: scale(1.14) translate3d(2%, 1%, 0);
    filter: blur(50px) saturate(1.42) brightness(1.08);
  }

  100% {
    transform: scale(1.1) translate3d(-1%, 2.5%, 0);
    filter: blur(44px) saturate(1.32) brightness(1);
  }
}

@keyframes creativeAmbientPulse {
  0% {
    transform: scale(1.14) translate3d(2%, 0, 0);
    opacity: 0.34;
  }

  50% {
    transform: scale(1.22) translate3d(-2%, -1.5%, 0);
    opacity: 0.58;
  }

  100% {
    transform: scale(1.18) translate3d(1%, 2%, 0);
    opacity: 0.44;
  }
}

.photo-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 0;
}

.photo-placeholder p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.photo-description {
  max-width: 320px;
}

.photo-button {
  margin-top: 8px;
  align-self: center;
}

.shimmer-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.shimmer-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    linear-gradient(
      115deg,
      transparent 18%,
      rgba(255, 255, 255, 0.08) 34%,
      rgba(255, 255, 255, 0.62) 50%,
      rgba(201, 245, 122, 0.22) 58%,
      transparent 72%
    );
  transform: translateX(-145%);
  animation: buttonShimmer 3.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.shimmer-button > span {
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding: 8px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.section-heading h2,
.cta-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-name {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-offer {
  max-width: 760px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.92);
}

.hero-lead,
.section-heading p,
.service-description,
.mini-case p,
.case-copy p,
.process-card p,
.audience-card p,
.cta-card p {
  color: var(--muted);
}

.hero-lead {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.chips,
.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chips {
  margin-top: 26px;
}

.chips > span {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.chips > span:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 245, 122, 0.3);
  background: var(--accent-soft);
}

.stats-grid,
.principles-grid,
.services-grid,
.process-grid,
.audience-grid,
.featured-cases {
  display: grid;
  gap: 18px;
}

.stats-grid {
  margin-top: 22px;
}

.stat-card,
.principle-card,
.service-card,
.process-card,
.audience-card {
  padding: 24px;
}

.stat-card strong,
.principle-card h3,
.service-card h3,
.case-copy h3,
.process-card h3,
.audience-card h3 {
  display: block;
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 1.22rem;
  line-height: 1.35;
}

.hero-actions {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #080808;
  box-shadow:
    0 16px 36px rgba(201, 245, 122, 0.24),
    0 0 0 1px rgba(201, 245, 122, 0.14),
    0 0 26px rgba(201, 245, 122, 0.16);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow:
    0 22px 48px rgba(201, 245, 122, 0.3),
    0 0 0 1px rgba(201, 245, 122, 0.18),
    0 0 34px rgba(201, 245, 122, 0.22);
}

.button-secondary,
.contact-links a {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tg-lottie {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.tg-lottie svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tg-icon-bg {
  fill: #2f89ff;
  filter: drop-shadow(0 0 6px rgba(47, 137, 255, 0.35));
  transform-origin: center;
  animation: tgGlow 3.8s ease-in-out infinite;
}

.tg-icon-plane {
  fill: #ffffff;
  transform-origin: center;
  animation: tgPlaneFloat 3.8s ease-in-out infinite;
}

.button-secondary:hover,
.button-secondary:focus-visible,
.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.22);
}

.shimmer-button:hover,
.shimmer-button:focus-visible {
  border-color: rgba(201, 245, 122, 0.14);
  background: rgba(201, 245, 122, 0.16);
  color: rgba(245, 247, 250, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(201, 245, 122, 0.06);
}

.shimmer-button:hover .tg-icon-bg,
.shimmer-button:focus-visible .tg-icon-bg {
  fill: #c9f57a;
  filter: drop-shadow(0 0 8px rgba(201, 245, 122, 0.2));
}

.shimmer-button:hover .tg-icon-plane,
.shimmer-button:focus-visible .tg-icon-plane {
  fill: #080808;
}

@keyframes tgGlow {
  0%,
  100% {
    transform: scale(0.96);
    filter: drop-shadow(0 0 5px rgba(47, 137, 255, 0.28));
  }

  50% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(47, 137, 255, 0.46));
  }
}

@keyframes buttonShimmer {
  0%,
  12% {
    transform: translateX(-145%);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  42% {
    transform: translateX(145%);
    opacity: 1;
  }

  52%,
  100% {
    transform: translateX(145%);
    opacity: 0;
  }
}

@keyframes tgPlaneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-0.9px) rotate(-4deg);
  }
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-heading h2,
.cta-card h2 {
  font-size: clamp(2rem, 5vw, 4.3rem);
}

.section-heading p:last-child {
  max-width: 650px;
  margin-top: 16px;
  line-height: 1.75;
}

.principles-grid,
.services-grid,
.process-grid,
.audience-grid,
.stats-grid {
  grid-template-columns: 1fr;
}

.principle-card,
.service-card,
.process-card,
.audience-card,
.case-card {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.principle-card:hover,
.service-card:hover,
.process-card:hover,
.audience-card:hover,
.case-card:hover {
  transform: none;
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.principle-card p,
.process-card p,
.audience-card p {
  margin: 14px 0 0;
  line-height: 1.7;
}

.service-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mini-case-badge {
  color: var(--muted);
}

.service-description {
  margin: 18px 0 0;
  line-height: 1.75;
}

.mini-case {
  margin-top: 22px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.mini-case p,
.case-copy p {
  margin: 0;
  line-height: 1.7;
}

.mini-case p + p,
.case-copy p + p {
  margin-top: 12px;
}

.mini-case strong,
.case-copy strong {
  color: var(--accent);
}

.case-card {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.case-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
}

.case-copy,
.case-visual {
  position: relative;
  z-index: 1;
}

.case-copy {
  z-index: 3;
}

.case-copy h3 {
  margin-top: 0px;
  margin-bottom: 16px;

  font-size: 1.9rem;
}

.case-copy .case-label {
  margin-bottom: 6px;
}

.case-copy .case-label {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.case-visual {
  min-height: 260px;
  padding: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at right top, rgba(201, 245, 122, 0.18), transparent 30%),
    radial-gradient(circle at left bottom, rgba(100, 170, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.case-visual-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
}

.featured-cases .case-card {
  align-items: center;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.featured-cases .case-card:hover,
.featured-cases .case-card:focus-within {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 78% 38%, rgba(100, 170, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.032));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.featured-cases .case-visual {
  aspect-ratio: 1140 / 890;
  min-height: 0;
  height: auto;
  width: min(100%, 292px);
  justify-self: end;
}

.featured-cases .case-visual-image {
  min-height: 0;
}

.featured-cases .case-card:hover .case-visual-image,
.featured-cases .case-card:focus-within .case-visual-image {
  opacity: 0.98;
}

.case-card-action {
  position: relative;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 22px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(201, 245, 122, 0.28);
  border-radius: 999px;
  background: rgba(201, 245, 122, 0.08);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.case-card-action::after {
  content: " ->";
  color: var(--accent);
}

.case-card-action:hover {
  color: var(--accent);
  border-color: rgba(201, 245, 122, 0.44);
  background: rgba(201, 245, 122, 0.12);
}

.case-card-action-disabled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.case-card-action-disabled::after {
  content: "";
}

.cta-card {
  position: relative;
  isolation: isolate;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(20, 22, 37), rgba(0, 0, 0, 0.05)),
    rgba(0, 0, 0, 0.03);
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 78% 48%, rgba(44, 91, 171, 0.14), transparent 48%),
    linear-gradient(90deg, rgba(14, 16, 24, 0.82) 0%, rgba(14, 16, 24, 0.58) 44%, rgba(14, 16, 24, 0.22) 100%);
  pointer-events: none;
}

.cta-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
}

.cta-card > *:not(.cta-grid) {
  position: relative;
  z-index: 2;
}

.cta-card p:last-of-type {
  max-width: 640px;
  margin-top: 16px;
  line-height: 1.75;
}

.contact-links {
  margin-top: 28px;
}

.contact-links a {
  padding: 14px 18px;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(201, 245, 122, 0.3);
}

.cases-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.cases-more-link {
  gap: 10px;
  padding-inline: 22px;
}

.cases-more-link span:last-child {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.cases-more-link:hover span:last-child,
.cases-more-link:focus-visible span:last-child {
  transform: translateX(3px);
}

.page-shell-cases {
  width: min(calc(100% - 32px), 1320px);
  max-width: 1320px;
  padding-bottom: 80px;
}

.cases-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 96px);
  padding-top: 42px;
  padding-bottom: 8px;
}

.cases-hero {
  padding: 26px 0 18px;
}

.cases-breadcrumb {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cases-breadcrumb a,
.cases-breadcrumb span {
  color: inherit;
}

.cases-breadcrumb a {
  transition: color 180ms ease;
}

.cases-breadcrumb a:hover,
.cases-breadcrumb a:focus-visible {
  color: rgba(255, 255, 255, 0.92);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.cases-back {
  margin-bottom: 18px;
}

.cases-hero .cases-breadcrumb,
.case-detail-breadcrumb {
  display: none;
}

.cases-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.cases-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.cases-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cases-filter,
.cases-sort {
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.cases-filter {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.cases-filter.is-default {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.14);
}

.cases-filter.is-muted {
  background: transparent;
  color: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.cases-filter.is-selected {
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 10px 24px rgba(0, 0, 0, 0.12);
}

.cases-filter[data-filter="ui-ux"].is-selected {
  color: #7b68ff;
}

.cases-filter[data-filter="product-ui-ux"].is-selected {
  color: #e14dff;
}

.cases-filter[data-filter="motion"].is-selected {
  color: #2f87ff;
}

.cases-filter[data-filter="management"].is-selected {
  color: #39d764;
}

.cases-filter[data-filter="pet-projects"].is-selected {
  color: #ff9838;
}

.cases-filter[data-filter="graphic-design"].is-selected {
  color: #ffbf47;
}

.cases-filter:hover,
.cases-filter:focus-visible {
  transform: translateY(-1px);
}

.cases-sort {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.cases-sort:hover,
.cases-sort:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.cases-sort.is-active {
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.12);
}

.cases-sort-icon {
  position: relative;
  display: inline-flex;
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.cases-sort-icon span {
  position: absolute;
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
}

.cases-sort-icon span:nth-child(1) {
  left: 0;
  top: 3px;
  width: 14px;
}

.cases-sort-icon span:nth-child(2) {
  left: 2px;
  top: 6px;
  width: 10px;
}

.cases-sort-icon span:nth-child(3) {
  left: 4px;
  top: 9px;
  width: 6px;
}

.cases-sort[data-sort-state="asc"] .cases-sort-icon {
  transform: rotate(180deg);
}

.cases-index {
  position: relative;
  display: grid;
  gap: 34px;
  padding-right: 120px;
  --cases-rail-right: 8px;
  --cases-meta-width: 220px;
  padding-bottom: 28px;
}

.cases-rail {
  position: absolute;
  top: 20px;
  right: var(--cases-rail-right);
  bottom: 20px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 8%,
    rgba(255, 255, 255, 0.5) 46%,
    rgba(255, 255, 255, 0.5) 54%,
    rgba(255, 255, 255, 0.12) 92%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0.85;
}

.case-index-item {
  position: relative;
  display: grid;
  grid-template-columns: 276px minmax(420px, 760px) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  min-height: 186px;
  padding-right: var(--cases-meta-width);
  border-radius: 26px;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.case-index-item-link {
  cursor: pointer;
}

.case-index-item-locked {
  cursor: default;
  background: transparent;
  box-shadow: none;
  border-radius: 28px;
}

.case-index-item.case-index-item-locked::before {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: inherit;
  background: transparent;
  opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 26%, rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.08) 66%, transparent 80%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 26%, rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.08) 66%, transparent 80%);
}

.case-index-item-locked::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 0%,
      rgba(255, 255, 255, 0.012) 28%,
      rgba(255, 255, 255, 0.004) 52%,
      rgba(255, 255, 255, 0.001) 66%,
      transparent 80%
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 11px
    );
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 26%, rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.08) 66%, transparent 80%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 26%, rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.08) 66%, transparent 80%);
  pointer-events: none;
}

.case-index-item-locked .case-index-thumb,
.case-index-item-locked .case-index-copy {
  position: relative;
  z-index: 1;
}

.case-index-item-locked .case-index-meta {
  z-index: 1;
}

.case-index-item-locked .case-index-thumb img,
.case-index-item-locked .case-index-thumb iframe {
  opacity: 0.58;
  filter: saturate(0.72) brightness(0.82);
}

.case-index-item-locked .case-index-copy h2,
.case-index-item-locked .case-index-brand,
.case-index-item-locked .case-index-tags {
  opacity: 0.72;
}

.case-index-hit {
  position: absolute;
  inset: -18px -48px;
  z-index: 3;
  border-radius: 34px;
}

.case-index-item.is-hidden {
  display: none;
}

.case-index-item::before {
  content: "";
  position: absolute;
  top: -14px;
  bottom: -14px;
  left: -32px;
  right: -32px;
  border-radius: 30px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.018) 16%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(255, 255, 255, 0.018) 84%,
      rgba(255, 255, 255, 0) 100%
    );
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.case-index-item:hover::before,
.case-index-item:focus-within::before {
  opacity: 1;
}

.case-index-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1140 / 890;
  height: auto;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.case-index-thumb img,
.case-index-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  opacity: 0.88;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.case-index-item:hover .case-index-thumb img,
.case-index-item:focus-within .case-index-thumb img,
.case-index-item:hover .case-index-thumb iframe,
.case-index-item:focus-within .case-index-thumb iframe {
  opacity: 0.98;
}

.case-index-item-locked:hover .case-index-thumb img,
.case-index-item-locked:focus-within .case-index-thumb img,
.case-index-item-locked:hover .case-index-thumb iframe,
.case-index-item-locked:focus-within .case-index-thumb iframe {
  opacity: 0.58;
}

.case-index-thumb-vtb {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 30% 24%, rgba(152, 185, 211, 0.28), transparent 30%),
    radial-gradient(circle at 72% 68%, rgba(76, 102, 180, 0.18), transparent 32%),
    linear-gradient(135deg, #2b3138 0%, #101318 100%);
}

.case-index-thumb-nda-bank {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 30% 20%, rgba(160, 170, 198, 0.22), transparent 30%),
    radial-gradient(circle at 70% 72%, rgba(89, 76, 180, 0.18), transparent 34%),
    linear-gradient(135deg, #2f3136 0%, #12141b 100%);
}

.case-index-thumb-dom {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 24% 20%, rgba(189, 160, 150, 0.18), transparent 28%),
    radial-gradient(circle at 74% 64%, rgba(114, 84, 190, 0.2), transparent 32%),
    linear-gradient(135deg, #332d2e 0%, #171821 100%);
}

.case-index-thumb-play {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 26% 24%, rgba(141, 173, 129, 0.18), transparent 28%),
    radial-gradient(circle at 74% 70%, rgba(83, 112, 188, 0.16), transparent 32%),
    linear-gradient(135deg, #262f28 0%, #12151d 100%);
}

.case-index-thumb-dating {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 24% 22%, rgba(196, 120, 130, 0.18), transparent 28%),
    radial-gradient(circle at 72% 68%, rgba(136, 96, 194, 0.18), transparent 34%),
    linear-gradient(135deg, #32262a 0%, #13151c 100%);
}

.case-index-thumb-graphic {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 24% 22%, rgba(232, 171, 104, 0.18), transparent 28%),
    radial-gradient(circle at 72% 68%, rgba(115, 142, 215, 0.16), transparent 34%),
    linear-gradient(135deg, #352d26 0%, #141922 100%);
}

.case-index-thumb-motion {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 24% 22%, rgba(114, 145, 255, 0.2), transparent 28%),
    radial-gradient(circle at 72% 68%, rgba(193, 84, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #22283a 0%, #12131d 100%);
}

.case-index-copy {
  max-width: 760px;
}

.case-index-status {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.case-index-brand {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(0.72rem, 0.95vw, 0.95rem);
  font-weight: 800;
  line-height: 1.05;
}

.case-index-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  white-space: normal;
  text-wrap: balance;
}

.case-index-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.case-index-tags span {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.case-index-tags span:nth-child(3n + 1) {
  color: #4f8cff;
}

.case-index-tags span:nth-child(3n + 2) {
  color: #7a87ff;
}

.case-index-tags span:nth-child(3n + 3) {
  color: #d45bff;
}

.case-index-tags span[data-tag="ui-ux"] {
  color: #7b68ff;
}

.case-index-tags span[data-tag="product-ui-ux"] {
  color: #e14dff;
}

.case-index-tags span[data-tag="motion"] {
  color: #2f87ff;
}

.case-index-tags span[data-tag="management"] {
  color: #39d764;
}

.case-index-tags span[data-tag="pet-projects"] {
  color: #ff9838;
}

.case-index-tags span[data-tag="graphic-design"] {
  color: #ffbf47;
}

.case-index-meta {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: var(--cases-meta-width);
  padding-right: 32px;
  text-align: right;
  transform: translateY(-50%);
}

.case-index-meta span {
  color: rgba(255, 255, 255, 0.92);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.case-index-meta-year {
  font-size: clamp(0.95rem, 1vw, 1.2rem);
  letter-spacing: -0.02em;
}

.topbar-case-detail {
  width: min(calc(100% - 32px), 1320px);
}

.case-detail-page {
  padding-bottom: 56px;
}

.page-shell-case-detail {
  width: min(calc(100% - 32px), 1320px);
}

.case-detail-hero {
  position: relative;
  min-height: 0;
  padding: 0;
}

.case-detail-hero-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.22), transparent 22%),
    radial-gradient(circle at 84% 18%, rgba(132, 171, 255, 0.22), transparent 20%),
    linear-gradient(135deg, #9bd9ff 0%, #53a4ff 42%, #2c76ff 100%);
}

.case-detail-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 4, 9, 0.02) 0%, rgba(3, 4, 9, 0.1) 70%, rgba(3, 4, 9, 0.38) 100%);
  pointer-events: none;
}

.case-detail-hero-media img,
.case-detail-hero-media video {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.case-detail-content {
  position: relative;
  margin-top: -1px;
  padding: 34px 0 0;
  background:
    linear-gradient(180deg, rgba(18, 19, 23, 0.98) 0%, rgba(10, 10, 12, 0.98) 100%);
}

.case-detail-content-no-hero {
  margin-top: 0;
  padding-top: 118px;
}

.case-detail-content-creative {
  padding-top: 0;
}

.case-detail-content-creative .case-detail-grid {
  padding-top: 40px;
}

.case-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
}

.case-detail-main {
  min-width: 0;
}

.case-detail-breadcrumb {
  margin-bottom: 26px;
}

.case-detail-header {
  margin-bottom: 28px;
}

.case-detail-back {
  margin-bottom: 18px;
}

.case-detail-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.case-detail-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  font-weight: 500;
  line-height: 1.75;
}

.case-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.case-detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #78a7ff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.case-detail-tags span[data-tag="ui-ux"] {
  color: #7b68ff;
}

.case-detail-tags span[data-tag="product-ui-ux"] {
  color: #e14dff;
}

.case-detail-tags span[data-tag="motion"] {
  color: #2f87ff;
}

.case-detail-tags span[data-tag="management"] {
  color: #39d764;
}

.case-detail-tags span[data-tag="pet-projects"] {
  color: #ff9838;
}

.case-detail-tags span[data-tag="graphic-design"] {
  color: #ffbf47;
}

.case-detail-panel,
.case-detail-section {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.case-detail-panel {
  padding: 22px 24px;
  border-radius: 24px;
}

.case-detail-meta-panel {
  margin-bottom: 18px;
}

.case-detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-detail-fact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.case-detail-fact span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.case-detail-fact strong {
  font-size: 1.08rem;
  line-height: 1.35;
}

.case-detail-team-panel {
  margin-bottom: 20px;
}

.case-detail-motion-panel {
  margin-bottom: 18px;
}

.case-detail-motion-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 20%, rgba(118, 181, 255, 0.18), transparent 24%),
    radial-gradient(circle at 74% 68%, rgba(95, 116, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #161b28 0%, #0c1018 100%);
  aspect-ratio: 16 / 9;
}

.case-detail-motion-media video,
.case-detail-motion-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-detail-motion-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 16, 24, 0.72);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.case-detail-motion-copy {
  margin-top: 16px;
}

.case-detail-motion-copy p {
  margin: 0;
  max-width: 880px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.creative-showcase {
  display: block;
  margin-top: 0;
}

.creative-showcase + .case-detail-section {
  margin-top: 28px;
  padding-top: 28px;
}

.creative-player,
.creative-playlist,
.creative-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft);
}

.creative-player {
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
}

.creative-player-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: #1b1c20;
}

.creative-player-stage::before,
.creative-player-stage::after {
  content: none;
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

.creative-player-stage::before {
  background:
    radial-gradient(circle at 24% 46%, rgba(207, 34, 34, 0.72), transparent 32%),
    radial-gradient(circle at 76% 50%, rgba(220, 232, 225, 0.44), transparent 32%),
    radial-gradient(circle at 50% 22%, rgba(43, 139, 246, 0.3), transparent 22%),
    linear-gradient(90deg, rgba(125, 24, 30, 0.78), rgba(20, 21, 26, 0.9) 46%, rgba(183, 194, 188, 0.46));
  filter: blur(42px) saturate(1.3);
  transform: scale(1.08) translate3d(0, 0, 0);
  transition: opacity 0.2s ease;
}

.creative-player-stage::after {
  background:
    radial-gradient(ellipse at 20% 58%, rgba(255, 74, 45, 0.42), transparent 30%),
    radial-gradient(ellipse at 82% 42%, rgba(245, 250, 238, 0.26), transparent 26%),
    radial-gradient(ellipse at 58% 16%, rgba(43, 139, 246, 0.18), transparent 24%);
  filter: blur(58px) saturate(1.45);
  mix-blend-mode: screen;
  transform: scale(1.18) translate3d(0, 0, 0);
}

.creative-player-stage:not([data-format="16:9"])::before {
  opacity: 0;
  animation: none;
}

.creative-player-stage:not([data-format="16:9"])::after {
  opacity: 0;
  animation: none;
}

.creative-ambient-video {
  position: absolute;
  inset: -24%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  filter: blur(86px) saturate(1.35) brightness(0.58);
  transform: scale(1.32);
  transition: opacity 0.24s ease;
}

.creative-player-stage:not([data-format="16:9"]) .creative-ambient-video:not([hidden]) {
  opacity: 0.68;
}

.creative-ambient-video[hidden] {
  display: none;
}

.creative-ambient-video iframe {
  display: block;
  width: 170%;
  height: 170%;
  margin: -35%;
  border: 0;
}

.creative-player-stage img,
.creative-vimeo-frame {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  border-radius: 0;
  border: 0;
  background: #050505;
  overflow: hidden;
  clip-path: none;
  box-shadow: none;
}

.creative-vimeo-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.creative-player-stage[data-fit="cover"] .creative-vimeo-frame iframe {
  width: 100%;
  height: 100%;
  margin: 0;
}

.creative-player-stage[data-fit="contain"] .creative-vimeo-frame iframe {
  transform: none;
  transform-origin: center;
}

.creative-player-stage[data-fit="crop-y"] .creative-vimeo-frame iframe {
  height: 126%;
  margin-top: -13%;
}

.creative-vimeo-frame[hidden],
.creative-stage-empty[hidden] {
  display: none;
}

.creative-stage-empty {
  display: grid;
  place-items: center;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  padding: 24px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(135deg, rgba(47, 135, 255, 0.14), rgba(193, 84, 255, 0.12)),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  color: var(--muted);
  text-align: center;
}

.creative-stage-empty span {
  color: #79b2ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creative-stage-empty strong {
  margin-top: 8px;
  color: var(--text);
  font-size: 1.1rem;
}

.creative-stage-empty p {
  margin: 8px 0 0;
  max-width: 240px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.creative-player-stage img {
  display: block;
  width: min(100%, 420px);
  max-height: 560px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.creative-player-stage[data-format="16:9"] img,
.creative-player-stage[data-format="16:9"] .creative-vimeo-frame,
.creative-player-stage[data-format="16:9"] .creative-stage-empty {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
}

.creative-player-stage[data-format="1:1"] img,
.creative-player-stage[data-format="1:1"] .creative-vimeo-frame,
.creative-player-stage[data-format="1:1"] .creative-stage-empty {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
}

.creative-player-stage[data-format="4:5"] img,
.creative-player-stage[data-format="4:5"] .creative-vimeo-frame,
.creative-player-stage[data-format="4:5"] .creative-stage-empty {
  width: auto;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
}

.creative-player-stage[data-format="9:16"] img,
.creative-player-stage[data-format="9:16"] .creative-vimeo-frame,
.creative-player-stage[data-format="9:16"] .creative-stage-empty {
  width: auto;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
}

.creative-player-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(15, 17, 24, 0.72);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.creative-player-arrow span {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.creative-player-arrow:hover,
.creative-player-arrow:focus-visible {
  border-color: rgba(47, 135, 255, 0.42);
  background: rgba(47, 135, 255, 0.16);
  transform: translateY(-50%) scale(1.04);
}

.creative-player-arrow-prev {
  left: 18px;
}

.creative-player-arrow-next {
  right: 18px;
}

.creative-player-format {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.creative-player-copy {
  padding: 22px;
}

.creative-player-kicker {
  margin: 0 0 8px;
  color: #2f87ff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.creative-player-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.creative-tag-panel {
  margin-top: 18px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026)),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft);
}

.creative-tag-panel-head {
  display: block;
}

.creative-tag-panel-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.creative-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.creative-tag-filter {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.creative-tag-filter.is-active {
  border-color: rgba(47, 135, 255, 0.42);
  background: rgba(47, 135, 255, 0.14);
  color: #79b2ff;
}

.creative-tag-filter.is-unavailable {
  display: none;
}

.case-article-preview {
  align-self: start;
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border-radius: 22px;
  box-shadow: none;
}

.case-article-preview-kicker {
  margin: 0;
  color: #2f87ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.case-article-preview h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.22;
}

.case-article-preview p:not(.case-article-preview-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.case-article-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin-top: 2px;
  color: #8ebdff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.case-article-preview-link:hover {
  color: var(--text);
  transform: translateX(2px);
}

.articles-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.articles-grid-library {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: stretch;
}

.article-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.article-card-draft {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
  padding: 24px;
}

.article-card-draft::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(47, 135, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 10px);
  opacity: 0.55;
  pointer-events: none;
}

.article-card-draft::after {
  content: "Пишется";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(47, 135, 255, 0.22);
  border-radius: 999px;
  background: rgba(47, 135, 255, 0.1);
  color: #8ebdff;
  font-size: 0.76rem;
  font-weight: 800;
}

.article-card-draft > * {
  position: relative;
  z-index: 1;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 135, 255, 0.32);
  background: linear-gradient(145deg, rgba(47, 135, 255, 0.12), rgba(255, 255, 255, 0.025));
}

.article-card-kicker,
.article-kicker {
  margin: 0;
  color: #2f87ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.article-card-draft h2 {
  max-width: 92%;
  font-size: clamp(1.18rem, 2vw, 1.62rem);
  line-height: 1.16;
}

.article-card p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.article-card span {
  color: #8ebdff;
  font-weight: 800;
}

.article-card-draft span {
  margin-top: auto;
  padding-top: 16px;
  padding-right: 86px;
  font-size: 0.95rem;
  align-self: end;
}

.articles-page {
  min-height: auto;
  padding-top: 34px;
}

.articles-page .cases-hero {
  display: grid;
  gap: 22px;
  max-width: 920px;
  padding: 24px 0 24px;
}

.articles-page .cases-title {
  font-size: clamp(4.6rem, 10vw, 8.4rem);
  line-height: 0.84;
}

.articles-page .case-detail-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(233, 235, 242, 0.68);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.articles-list-section {
  padding-top: 30px;
}

.article-process {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 0%, rgba(184, 255, 108, 0.08), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(47, 135, 255, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.article-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 42%, rgba(47, 135, 255, 0.045));
  opacity: 0.42;
  pointer-events: none;
}

.article-process-head,
.article-process-board {
  position: relative;
  z-index: 1;
}

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

.article-process-head-copy {
  display: grid;
  gap: 8px;
  max-width: 840px;
}

.article-process-kicker {
  margin: 0;
  color: #bfff6a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-process-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 0.98;
}

.article-process-head p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(233, 235, 242, 0.68);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.5;
}

.article-process-toggle {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(191, 255, 106, 0.24);
  border-radius: 999px;
  background: rgba(191, 255, 106, 0.07);
  color: #bfff6a;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.article-process-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(191, 255, 106, 0.42);
  background: rgba(191, 255, 106, 0.12);
}

.article-process-board {
  display: grid;
  gap: 5px;
  overflow-x: auto;
  overflow-y: auto;
  height: clamp(180px, 22vw, 260px);
  padding: 0 0 10px;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  scrollbar-color: rgba(142, 189, 255, 0.35) rgba(255, 255, 255, 0.04);
}

.article-process-board.is-dragging {
  cursor: grabbing;
}

.article-process-board::-webkit-scrollbar {
  height: 8px;
}

.article-process-board::-webkit-scrollbar:vertical {
  width: 0;
}

.article-process-board::-webkit-scrollbar:horizontal {
  height: 8px;
}

.article-process-board::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.article-process-board::-webkit-scrollbar-thumb {
  background: rgba(142, 189, 255, 0.35);
  border-radius: 999px;
}

.article-process-row {
  display: grid;
  grid-template-columns: 92px 4992px;
  gap: 0;
  align-items: stretch;
  min-width: 5084px;
}

.article-process-row {
  transition: none;
}

.article-process:not(.article-process--compact) .article-process-row.is-entering .article-process-stage,
.article-process:not(.article-process--compact) .article-process-row.is-entering .article-process-track {
  animation: articleProcessRowIn 0.2s ease both;
}

.article-process:not(.article-process--compact) .article-process-row.is-entering .article-process-stage {
  animation-name: articleProcessStageIn;
}

.article-process:not(.article-process--compact) .article-process-row.is-entering .article-process-track {
  animation-name: articleProcessTrackIn;
}

.article-process:not(.article-process--compact) .article-process-row.is-entering .article-process-card {
  animation: articleProcessCardIn 0.2s ease both;
}

.article-process:not(.article-process--compact) .article-process-row.is-out-of-view {
  opacity: 0.22;
  filter: saturate(0.78);
}

.article-process:not(.article-process--compact) .article-process-row.is-context-hidden {
  display: none;
  pointer-events: none;
}

.article-process:not(.article-process--compact) .article-process-row.is-context-hidden .article-process-stage,
.article-process:not(.article-process--compact) .article-process-row.is-context-hidden .article-process-track {
  opacity: 0;
}

.article-process:not(.article-process--compact) .article-process-row.is-out-of-view .article-process-stage,
.article-process:not(.article-process--compact) .article-process-row.is-out-of-view .article-process-track {
  min-height: 4px;
}

.article-process:not(.article-process--compact) .article-process-row.is-out-of-view .article-process-stage {
  justify-content: center;
  min-height: 4px;
  padding: 0;
  border-radius: 999px 0 0 999px;
  border-color: rgba(191, 255, 106, 0.08);
  background:
    linear-gradient(90deg, rgba(191, 255, 106, 0.13), rgba(255, 255, 255, 0.018)),
    rgba(13, 15, 22, 0.52);
}

.article-process:not(.article-process--compact) .article-process-row.is-out-of-view .article-process-stage span {
  flex-basis: 3px;
  width: 3px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(191, 255, 106, 0.34);
  color: transparent;
  font-size: 0;
}

.article-process:not(.article-process--compact) .article-process-row.is-out-of-view .article-process-stage strong {
  display: none;
}

.article-process:not(.article-process--compact) .article-process-row.is-out-of-view .article-process-track {
  grid-auto-rows: 1px;
  min-height: 4px;
  padding: 1px 6px;
  border-radius: 0 999px 999px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 78px),
    rgba(5, 6, 10, 0.16);
}

.article-process:not(.article-process--compact) .article-process-row.is-out-of-view .article-process-card {
  min-height: 1px;
  height: 1px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
}

.article-process-stage {
  position: sticky;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 13px 0 0 13px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(13, 15, 22, 0.98);
  box-shadow: none;
  backdrop-filter: blur(12px);
  transition: none;
}

.article-process:not(.article-process--compact) .article-process-stage::after {
  content: none;
}

.article-process-stage span {
  display: inline;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(191, 255, 106, 0.74);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.article-process-stage strong {
  color: rgba(233, 235, 242, 0.82);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
}

.article-process-track {
  display: grid;
  grid-template-columns: repeat(64, 72px);
  grid-auto-rows: 30px;
  gap: 6px;
  align-items: center;
  min-height: 40px;
  padding: 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 0 18px 18px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 78px),
    rgba(5, 6, 10, 0.28);
  background-size: 78px 100%, auto;
  transition: none;
}

.article-process-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: center;
  box-sizing: border-box;
  min-width: 0;
  width: auto;
  min-height: 26px;
  height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(47, 135, 255, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(47, 135, 255, 0.2), rgba(47, 135, 255, 0.07)),
    rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  box-shadow: inset 3px 0 0 rgba(47, 135, 255, 0.75);
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.article-process-card[style*="span 2"] {
  width: auto;
}

.article-process-card[style*="span 3"] {
  width: auto;
}

.article-process-card::after {
  content: none;
}

.article-process-card:hover {
  transform: translateY(-2px);
  border-color: rgba(142, 189, 255, 0.5);
  background:
    linear-gradient(135deg, rgba(47, 135, 255, 0.28), rgba(184, 255, 106, 0.08)),
    rgba(255, 255, 255, 0.055);
}

@keyframes articleProcessRowIn {
  from {
    opacity: 0.72;
  }

  to {
    opacity: 1;
  }
}

@keyframes articleProcessStageIn {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes articleProcessTrackIn {
  from {
    opacity: 0.45;
    filter: brightness(0.82);
  }

  to {
    opacity: 1;
    filter: brightness(1);
  }
}

@keyframes articleProcessCardIn {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-process-row:nth-child(4n + 2) .article-process-card {
  border-color: rgba(184, 255, 106, 0.24);
  background:
    linear-gradient(135deg, rgba(184, 255, 106, 0.18), rgba(47, 135, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 3px 0 0 rgba(184, 255, 106, 0.68);
}

.article-process-row:nth-child(4n + 3) .article-process-card {
  border-color: rgba(255, 198, 64, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 198, 64, 0.18), rgba(47, 135, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 3px 0 0 rgba(255, 198, 64, 0.72);
}

.article-process-row:nth-child(4n + 4) .article-process-card {
  border-color: rgba(227, 74, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(227, 74, 255, 0.16), rgba(47, 135, 255, 0.07)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 3px 0 0 rgba(227, 74, 255, 0.62);
}

.article-process-card-wide {
  font-size: 0.76rem;
}

.article-process--compact {
  gap: 10px;
  padding: 14px;
}

.article-process--compact .article-process-head {
  align-items: center;
}

.article-process--compact .article-process-head-copy {
  gap: 0;
}

.article-process--compact .article-process-kicker,
.article-process--compact .article-process-head-copy p:last-child {
  display: none;
}

.article-process--compact .article-process-head h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
}

.article-process--compact .article-process-board {
  gap: 0;
  height: 190px;
  padding: 0;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 1.5625%),
    rgba(5, 6, 10, 0.24);
  background-size: 100% 100%, auto;
  overflow-x: hidden;
  overflow-y: hidden;
}

.article-process--compact .article-process-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-width: 0;
}

.article-process--compact .article-process-stage {
  display: none;
}

.article-process--compact .article-process-stage span {
  display: inline;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.5rem;
  letter-spacing: 0;
}

.article-process--compact .article-process-stage strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.58rem;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.article-process--compact .article-process-track {
  grid-template-columns: repeat(64, minmax(0, 1fr));
  grid-auto-rows: 12px;
  gap: 3px;
  min-height: 15px;
  padding: 0 8px;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008));
}

.article-process--compact .article-process-card {
  min-height: 5px;
  height: 5px;
  padding: 0;
  border-width: 1px;
  overflow: hidden;
  border-radius: 0;
  color: transparent;
  font-size: 0;
  line-height: 0;
  box-shadow: none;
}

.article-process--compact .article-process-card:hover {
  transform: none;
}

.article-page {
  padding: 44px 0 96px;
}

.article-layout {
  max-width: 920px;
}

.article-hero {
  display: grid;
  gap: 18px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.article-hero-draft {
  position: relative;
  overflow: hidden;
}

.article-hero-draft::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -72px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 135, 255, 0.18), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
}

.article-hero-draft > * {
  position: relative;
  z-index: 1;
}

.article-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
}

.article-hero p:not(.article-kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.65;
}

.article-body {
  display: grid;
  gap: 18px;
  padding: 34px 36px 0;
}

.article-body h2 {
  margin: 22px 0 0;
  color: var(--text);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.12;
}

.article-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.article-body-draft {
  padding: 26px 0 0;
}

.article-placeholder {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(47, 135, 255, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.article-placeholder-mark {
  justify-self: start;
  padding: 7px 12px;
  border: 1px solid rgba(47, 135, 255, 0.26);
  border-radius: 999px;
  background: rgba(47, 135, 255, 0.12);
  color: #8ebdff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-placeholder h2 {
  margin: 0;
}

.creative-playlist {
  align-self: start;
  border-radius: 22px;
  padding: 18px;
}

.case-detail-creative-controls .creative-playlist {
  width: 100%;
  box-shadow: none;
}

.case-detail-creative-controls .creative-playlist-head {
  margin-top: 16px;
}

.creative-playlist-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
}

.creative-playlist-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.creative-queue {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.creative-queue-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.creative-queue-item span,
.creative-queue-item em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 800;
}

.creative-queue-item strong {
  font-size: 0.92rem;
}

.creative-queue-item.is-active {
  border-color: rgba(47, 135, 255, 0.36);
  background: rgba(47, 135, 255, 0.12);
}

.creative-grid {
  column-width: 260px;
  column-gap: 14px;
  margin-top: 24px;
}

.creative-card {
  position: relative;
  display: grid;
  align-content: end;
  width: 100%;
  min-height: 0;
  margin: 0 0 14px;
  overflow: hidden;
  padding: 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 22%, rgba(47, 135, 255, 0.18), transparent 30%),
    radial-gradient(circle at 76% 72%, rgba(193, 84, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    #0b0d14;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  break-inside: avoid;
  transform: translateZ(0);
}

.creative-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 20%, rgba(0, 0, 0, 0.62) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 12px);
  pointer-events: none;
  z-index: 2;
  transition: background 0.22s ease;
}

.creative-card.has-preview::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(135deg, rgba(5, 8, 14, 0.1), rgba(5, 8, 14, 0.18));
}

.creative-card-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-grid;
  place-items: center;
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(9, 12, 18, 0.72);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.creative-card-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(142, 189, 255, 0.98);
  border-radius: inherit;
  animation: creative-loader-spin 0.8s linear infinite;
}

.creative-card.has-preview .creative-card-loading,
.creative-card.is-previewing .creative-card-loading {
  opacity: 0;
}

.creative-card.is-preview-error .creative-card-loading {
  color: rgba(255, 255, 255, 0.72);
}

.creative-hover-hint {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 3;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(9, 12, 18, 0.72);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.creative-card:hover .creative-hover-hint,
.creative-card:focus-visible .creative-hover-hint,
.creative-card.is-previewing .creative-hover-hint {
  opacity: 0;
  transform: translateY(-4px);
}

.creative-card-preview {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.28s ease;
}

.creative-card.has-preview .creative-card-preview-image {
  opacity: 0.82;
}

.creative-card.is-previewing [data-creative-hover-preview] {
  opacity: 1;
  transform: scale(1.02);
}

.creative-card.is-previewing .creative-card-preview-image {
  opacity: 0;
}

.creative-card.is-previewing::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.64) 100%);
}

.creative-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.creative-card .creative-card-preview-image {
  z-index: 1;
}

.creative-card strong,
.creative-card-duration {
  position: relative;
  z-index: 3;
}

.creative-card-duration {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
}

.creative-card-duration:empty {
  opacity: 0;
}

.creative-card .creative-card-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-grid;
  place-items: center;
  justify-self: auto;
  z-index: 4;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(9, 12, 18, 0.72);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.creative-card strong {
  padding-right: 58px;
  font-size: 1rem;
  line-height: 1.2;
}

.creative-card.is-active {
  border-color: rgba(47, 135, 255, 0.55);
}

@keyframes creative-loader-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.creative-card.is-hidden {
  display: none;
}

.creative-card[data-video=""],
.creative-card.is-unavailable,
.creative-queue-item.is-unavailable {
  display: none;
}

.creative-card-vertical {
  aspect-ratio: 9 / 16;
}

.creative-card-square {
  aspect-ratio: 1 / 1;
}

.creative-card-portrait {
  aspect-ratio: 4 / 5;
}

.creative-card-wide {
  aspect-ratio: 16 / 9;
}

.case-detail-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.case-detail-panel-head h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.3;
}

.case-detail-panel-icon {
  color: var(--accent);
  font-size: 0.8rem;
}

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

.case-detail-columns h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.4;
}

.case-detail-columns p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.case-detail-section {
  padding: 28px 0 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.case-detail-section:first-of-type {
  padding-top: 4px;
}

.case-detail-section[id],
.case-detail-panel[id] {
  scroll-margin-top: calc(var(--case-anchor-offset, 112px) + 12px);
}

.case-detail-section h2 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.case-detail-section p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.case-detail-section p + p {
  margin-top: 16px;
}

.case-detail-section p + .case-detail-table-wrap,
.case-detail-table-wrap + p,
.case-detail-table-wrap + .case-detail-list,
.case-slider + p,
.case-detail-figure + p,
.case-detail-figure + .case-detail-list {
  margin-top: 26px;
}

.case-detail-rich-panel {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.case-detail-rich-block h3 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.05rem;
  line-height: 1.35;
}

.case-detail-rich-block p {
  margin: 0;
}

.case-detail-placeholder-copy h3 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.05rem;
  line-height: 1.35;
}

.case-detail-placeholder-copy p {
  margin: 0;
}

.case-detail-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.case-detail-section p + .case-detail-list,
.case-detail-list + p {
  margin-top: 18px;
}

.case-detail-list li + li {
  margin-top: 10px;
}

.case-detail-media-stack {
  margin-top: 24px;
}

.case-detail-gallery {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.case-detail-gallery + p,
.case-detail-gallery + .case-detail-list,
.case-detail-gallery + .case-detail-rich-panel {
  margin-top: 24px;
}

.case-detail-gallery-narrow {
  width: min(100%, 1080px);
}

.case-detail-gallery-single {
  grid-template-columns: 1fr;
}

.case-detail-gallery.case-detail-gallery-single,
.case-detail-gallery.case-detail-gallery-single.case-detail-gallery-narrow {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 100%;
}

.case-detail-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.case-detail-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border: 0;
}

.case-detail-table th,
.case-detail-table td {
  padding: 16px 18px;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  line-height: 1.7;
}

.case-detail-table th {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  background: rgba(255, 255, 255, 0.025);
}

.case-detail-table tbody tr:last-child td {
  border-bottom: 0;
}

.case-detail-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

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

.case-detail-preview-media {
  position: relative;
  cursor: zoom-in;
}

.case-detail-preview-media img {
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.case-detail-figure-zoomable:hover .case-detail-preview-media img {
  transform: scale(1.01);
  filter: brightness(1.04);
}

.case-detail-zoom-button {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(16, 18, 24, 0.72);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  cursor: zoom-in;
}

.case-detail-zoom-button::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 12px;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.case-detail-zoom-button::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 26px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
  transform-origin: left center;
}

.case-detail-zoom-button:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(32, 36, 47, 0.86);
}

.case-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 24px;
}

.case-result-card {
  min-height: 150px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 10%, rgba(58, 136, 255, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.case-result-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #7ab0ff;
  font-weight: 800;
  font-size: 0.82rem;
  background: rgba(58, 136, 255, 0.14);
  border: 1px solid rgba(58, 136, 255, 0.22);
}

.case-result-card strong {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.05rem;
  line-height: 1.25;
}

.case-result-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.image-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.image-preview-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.is-image-preview-open {
  overflow: hidden;
}

.image-preview-dialog {
  width: min(1475px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 18, 24, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  transform: translateY(10px) scale(0.98);
  transition: transform 180ms ease;
}

.image-preview-modal.is-open .image-preview-dialog {
  transform: translateY(0) scale(1);
}

.image-preview-stage {
  max-height: 92vh;
  overflow: auto;
  cursor: zoom-in;
  scrollbar-width: none;
}

.image-preview-stage::-webkit-scrollbar {
  display: none;
}

.image-preview-modal.is-zoomed .image-preview-stage {
  cursor: zoom-out;
}

.image-preview-dialog img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  object-fit: initial;
}

.case-detail-figure-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.18);
}

.case-detail-figure-video-top video {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.case-slider {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.case-slider-viewport {
  overflow: hidden;
}

.case-slider-track {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: zoom-in;
}

.case-slider-track::-webkit-scrollbar {
  display: none;
}

.case-slider-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  background: rgba(0, 0, 0, 0.16);
}

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

.case-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.case-slider-controls button,
.case-scroll-preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 800;
  cursor: pointer;
}

.case-slider-controls button {
  width: 42px;
  min-width: 42px;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1;
}

.case-slider-controls button:hover,
.case-scroll-preview-button:hover {
  border-color: rgba(74, 222, 128, 0.34);
  background: rgba(74, 222, 128, 0.12);
}

.case-slider-fullscreen-button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(13, 16, 22, 0.58);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.case-slider-fullscreen-button:hover,
.case-slider-fullscreen-button:focus-visible {
  border-color: rgba(74, 222, 128, 0.34);
  background: rgba(74, 222, 128, 0.14);
  transform: translateY(-1px);
}

.case-slider-controls span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.case-slider-loader {
  --case-slider-angle: 0deg;
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    conic-gradient(rgba(74, 222, 128, 0.92) var(--case-slider-angle), rgba(255, 255, 255, 0.16) 0deg);
  animation: caseSliderFill var(--case-slider-duration, 5000ms) linear infinite;
}

.case-slider-loader::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: rgba(22, 24, 30, 0.96);
}

@property --case-slider-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes caseSliderFill {
  to {
    --case-slider-angle: 360deg;
  }
}

.case-detail-video-loose {
  margin-top: 34px;
}

.case-scroll-preview {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.case-scroll-preview-window {
  height: min(620px, 72vh);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.24) rgba(255, 255, 255, 0.06);
}

.case-scroll-preview-window[data-scroll-preview] {
  cursor: zoom-in;
}

.case-scroll-preview-window img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.case-scroll-preview:not(.has-scrolled) .case-scroll-preview-window img {
  filter: blur(7px) brightness(0.7);
  transform: scale(1.015);
}

.case-scroll-preview-cue {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(74, 222, 128, 0.34);
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.16);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  pointer-events: none;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  transform: translate(-50%, -50%);
}

.case-scroll-preview-cue span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.22);
  animation: scrollCueArrow 900ms ease-in-out infinite alternate;
}

.case-scroll-preview.has-scrolled .case-scroll-preview-cue {
  opacity: 0;
  transform: translate(-50%, calc(-50% + 8px));
}

@keyframes scrollCueArrow {
  from {
    transform: translateY(-2px);
  }

  to {
    transform: translateY(3px);
  }
}

.case-scroll-preview-button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  backdrop-filter: blur(14px);
}

.scroll-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 42px);
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.scroll-preview-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.scroll-preview-dialog {
  width: min(1440px, 96vw);
  height: min(90vh, 920px);
  overflow-y: auto;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 18, 24, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

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

.case-slider-fullscreen-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 42px);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.case-slider-fullscreen-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.case-slider-fullscreen-dialog {
  position: relative;
  width: min(1500px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 16, 22, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  transform: translateY(10px) scale(0.98);
  transition: transform 180ms ease;
}

.case-slider-fullscreen-modal.is-open .case-slider-fullscreen-dialog {
  transform: translateY(0) scale(1);
}

.case-slider-fullscreen-stage {
  display: grid;
  place-items: center;
  max-height: calc(92vh - 72px);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
}

.case-slider-fullscreen-stage img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(92vh - 72px);
  object-fit: contain;
}

.case-slider-fullscreen-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.case-slider-fullscreen-controls button,
.case-slider-fullscreen-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.case-slider-fullscreen-controls button:hover,
.case-slider-fullscreen-close:hover {
  border-color: rgba(74, 222, 128, 0.34);
  background: rgba(74, 222, 128, 0.12);
}

.case-slider-fullscreen-controls span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
}

.case-slider-fullscreen-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(13, 16, 22, 0.62);
  backdrop-filter: blur(14px);
}

.case-detail-figure figcaption {
  padding: 14px 16px 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.5;
}

.case-detail-toc {
  position: sticky;
  top: 112px;
}

.case-detail-toc-card {
  position: relative;
  display: block;
  max-height: none;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  opacity: 0.9;
  transition:
    opacity 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.case-detail-toc-card:hover,
.case-detail-toc-card:focus-within {
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.case-detail-toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-detail-toc-title {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.case-detail-progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.case-detail-progress-value {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.case-detail-toc nav {
  position: relative;
  z-index: 1;
  display: block;
  gap: 10px;
  max-height: clamp(430px, calc(100vh - 330px), 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 120px;
  padding: 4px 6px 10px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.case-detail-toc nav::-webkit-scrollbar {
  width: 4px;
}

.case-detail-toc nav::-webkit-scrollbar-track {
  background: transparent;
}

.case-detail-toc nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.case-detail-toc-card::before,
.case-detail-toc-card::after {
  display: none;
}

.cta-card::before {
  z-index: 3;
}

.case-detail-toc a {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.9;
  transition:
    color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.case-detail-toc a:hover,
.case-detail-toc a:focus-visible {
  color: rgba(255, 255, 255, 0.94);
  transform: translateX(2px);
}

.case-detail-toc a.is-past {
  color: rgba(255, 255, 255, 0.74);
  opacity: 0.86;
}

.case-detail-toc a.is-active {
  color: rgba(255, 255, 255, 0.98);
  opacity: 1;
  transform: translateX(4px);
}

.case-detail-toc a.is-active::before,
.case-detail-toc a.is-past::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  vertical-align: middle;
}

.case-detail-toc a.is-past::before {
  background: rgba(120, 167, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(120, 167, 255, 0.04);
}

.case-detail-toc a.is-active::before {
  background: #78a7ff;
  box-shadow: 0 0 0 4px rgba(120, 167, 255, 0.08);
}

.case-detail-toc a[href="#graphic-design"].is-past::before {
  background: rgba(255, 191, 71, 0.56);
  box-shadow: 0 0 0 4px rgba(255, 191, 71, 0.05);
}

.case-detail-toc a[href="#graphic-design"].is-active::before {
  background: #ffbf47;
  box-shadow: 0 0 0 4px rgba(255, 191, 71, 0.1);
}

.case-detail-case-nav {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  width: 100%;
}

.case-detail-case-nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-align: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 247, 250, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.case-detail-case-nav-button:hover,
.case-detail-case-nav-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.case-detail-case-nav-button[aria-disabled="true"] {
  opacity: 0.36;
  pointer-events: none;
}

.case-detail-case-nav-prev {
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  font-size: 0.95rem;
  place-self: center;
  overflow: hidden;
}

.case-detail-case-nav-next {
  gap: 10px;
  width: 100%;
  height: 44px;
  min-height: 44px;
  justify-content: center;
  min-width: 0;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 700;
  place-self: center stretch;
}

.case-detail-case-nav-next-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.case-detail-case-nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  flex: 0 0 auto;
  height: 100%;
}

.case-detail-cta {
  position: relative;
  padding-top: 18px;
}

.case-detail-cta::before {
  content: none;
}

.case-detail-cta .cta-card {
  box-shadow: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal-delay {
  transition-delay: 120ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.text-animate .word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.72em, 0);
  filter: blur(10px);
  will-change: transform, opacity, filter;
}

.text-animate.text-in .word,
.reveal.is-visible .text-animate .word {
  animation: textBlurInUp 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--word-index) * 0.05s);
}

@keyframes textBlurInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 0.72em, 0);
    filter: blur(10px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .text-animate .word,
  .text-animate.text-in .word,
  .reveal.is-visible .text-animate .word {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  .creative-player-stage::before,
  .creative-player-stage::after {
    animation: none;
  }
}

@media (min-width: 760px) {
  .page-shell {
    width: min(calc(100% - 56px), 1320px);
  }

  .topbar,
  .topbar-case-detail {
    width: min(calc(100% - 56px), 1320px);
  }

  .page-shell-case-detail {
    width: min(calc(100% - 56px), 1320px);
  }

  .topnav {
    display: flex;
  }

  .hero {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: stretch;
  }

  .hero-photo {
    height: 100%;
  }

  .photo-placeholder {
    min-height: 100%;
    height: 100%;
  }

  .stats-grid,
  .principles-grid,
  .services-grid,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-height: 820px) and (min-width: 1080px) {
  .case-detail-toc {
    top: 92px;
  }

  .case-detail-toc-card {
    padding: 16px;
  }

  .case-detail-toc-title,
  .case-detail-progress {
    margin-bottom: 10px;
  }

  .case-detail-toc nav {
    max-height: clamp(300px, calc(100vh - 270px), 520px);
    min-height: 0;
  }

  .case-detail-toc a {
    margin-bottom: 8px;
    font-size: 0.88rem;
    line-height: 1.45;
  }
}

@media (max-height: 680px) and (min-width: 1080px) {
  .case-detail-toc {
    top: 76px;
  }

  .case-detail-toc-card {
    padding: 14px;
  }

  .case-detail-toc nav {
    max-height: clamp(220px, calc(100vh - 230px), 390px);
  }
}

@media (max-width: 759px) {
  .site-header {
    grid-template-columns: auto 1fr;
    min-height: 58px;
    padding: 10px 12px;
  }

  .site-header-left {
    z-index: 1;
  }

  .brand.site-header-brand {
    justify-self: end;
    width: clamp(117px, 33vw, 156px);
    font-size: 0;
    letter-spacing: 0;
    transform: none;
  }

  .header-back-link {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.86rem;
  }

  .header-fake-toast {
    width: min(280px, calc(100vw - 32px));
  }

  .online-badge {
    top: 10px;
    right: -16px;
    padding: 8px 12px;
    gap: 10px;
    font-size: 0.70rem;
  }

  .online-dot {
    width: 14px;
    height: 14px;
  }

  .topbar-case-detail {
    width: min(calc(100% - 24px), 1320px);
  }

  .topbar {
    width: min(calc(100% - 24px), 1320px);
  }

  .page-shell-case-detail {
    width: min(calc(100% - 24px), 1320px);
  }

  .case-detail-hero {
    min-height: 0;
  }

  .case-detail-hero-media,
  .case-detail-hero-media img,
  .case-detail-hero-media video {
    min-height: 0;
    height: auto;
  }

  .case-detail-content {
    padding-top: 24px;
  }

  .case-detail-content-creative {
    padding-top: 0;
  }

  .case-detail-content-creative .case-detail-grid {
    padding-top: 24px;
  }

  .case-detail-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .case-detail-facts,
  .case-detail-columns {
    grid-template-columns: 1fr;
  }

  .creative-tag-panel-head {
    display: grid;
    gap: 8px;
  }

  .case-detail-gallery {
    grid-template-columns: 1fr;
  }

  .case-detail-gallery-narrow {
    width: 100%;
  }

  .creative-showcase {
    grid-template-columns: 1fr;
  }

  .creative-player-stage {
    min-height: 0;
  }

  .creative-grid {
    column-width: 220px;
  }

  .creative-card,
  .creative-card-vertical,
  .creative-card-square,
  .creative-card-portrait,
  .creative-card-wide {
    min-height: 0;
  }

  .case-detail-toc {
    position: static;
  }

  .case-detail-toc-card {
    height: auto;
    max-height: none;
    padding: 16px;
    opacity: 1;
  }

  .case-detail-toc-card::before,
  .case-detail-toc-card::after {
    display: none;
  }

  .case-detail-toc nav {
    overflow: visible;
    padding-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .case-detail-title {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .case-detail-lead {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .case-detail-section {
    padding: 24px 0 26px;
  }

  .case-index-hit {
    inset: -10px -6px;
    border-radius: 24px;
  }
}

.case-index-meta::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--cases-rail-right) - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.cases-cta-section {
  position: relative;
  margin-top: auto;
  padding-top: 10px;
  padding-bottom: 8px;
  isolation: isolate;
}

.cases-cta-section .cta-card {
  box-shadow: none;
}

@media (min-width: 1080px) {
  .case-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-detail-gallery-narrow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 980px);
  }

  .case-detail-gallery-single {
    grid-template-columns: 1fr;
  }

  .case-detail-gallery.case-detail-gallery-single,
  .case-detail-gallery.case-detail-gallery-single.case-detail-gallery-narrow {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .creative-showcase {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  }

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

  .creative-card-wide {
    grid-column: span 2;
  }

  .page-shell-cases {
    width: min(calc(100% - 56px), 1320px);
    max-width: 1320px;
    padding-left: 0;
    padding-right: 0;
  }

  .cases-page {
    padding-top: 34px;
    padding-bottom: 16px;
  }

  .cases-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .cases-index {
    gap: 44px;
    padding-right: 0;
    --cases-rail-right: 19px;
    --cases-meta-width: 240px;
    padding-bottom: 44px;
  }

  .case-index-item {
    grid-template-columns: 298px minmax(520px, 860px) minmax(0, 1fr);
    gap: 38px;
    min-height: 198px;
    padding-right: var(--cases-meta-width);
  }

  .case-index-item::before {
    top: -18px;
    bottom: -18px;
    left: -48px;
    right: -48px;
    border-radius: 34px;
  }

  .case-index-thumb {
    height: auto;
  }

  .case-index-copy {
    max-width: 900px;
  }

  .case-index-copy h2 {
    font-size: clamp(1.1rem, 1.7vw, 1.65rem);
    white-space: normal;
  }

  .case-index-meta {
    padding-right: 40px;
  }

  .case-index-meta span {
    font-size: clamp(1.8rem, 2.5vw, 3rem);
  }

  .case-index-meta .case-index-meta-year {
    font-size: clamp(1rem, 1.1vw, 1.35rem);
  }

  .cases-cta-section {
    padding-top: 6px;
    padding-bottom: 18px;
  }

  .case-index-meta::after {
    right: calc(var(--cases-rail-right) - 5px);
    width: 10px;
    height: 10px;
  }

  .section {
    padding: 86px 0;
  }

  .section-heading {
    max-width: 1100px;
  }

  .section-heading p:last-child {
    max-width: 780px;
  }

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

  .case-card {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    align-items: stretch;
    padding: 28px;
  }
}

@media (max-width: 1079px) {
  .cases-controls {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .cases-index {
    padding-right: 0;
  }

  .cases-rail {
    display: none;
  }

  .case-index-item {
    grid-template-columns: 165px minmax(0, 1fr);
    align-items: start;
  }

  .case-index-item::before {
    left: -10px;
    right: -10px;
  }

  .case-index-meta {
    position: static;
    grid-column: 2;
    justify-content: flex-start;
    width: auto;
    padding-right: 0;
    text-align: left;
    transform: none;
  }

  .case-index-meta::after {
    display: none;
  }

  .creative-showcase {
    grid-template-columns: 1fr;
  }

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

  .creative-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 759px) {
  .page-shell-cases {
    width: min(calc(100% - 24px), 1320px);
    padding-left: 0;
    padding-right: 0;
  }

  .cases-page {
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 0;
  }

  .cases-hero {
    padding: 12px 0 10px;
  }

  .cases-index {
    gap: 22px;
    padding-bottom: 24px;
  }

  .cases-cta-section::before {
    left: -8%;
    right: -8%;
    top: -80px;
    height: 170px;
    filter: blur(20px);
  }

  .cases-controls {
    gap: 14px;
    align-items: stretch;
  }

  .cases-filters {
    gap: 8px;
    justify-content: flex-start;
  }

  .cases-filter {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.88rem;
  }

  .case-index-item {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
    padding-right: 0;
    align-items: start;
  }

  .case-index-item::before {
    top: -10px;
    bottom: -10px;
    left: -6px;
    right: -6px;
    border-radius: 24px;
  }

  .case-index-thumb {
    height: auto;
    width: 100%;
  }

  .case-index-copy,
  .case-index-meta {
    width: 100%;
  }

  .case-index-copy h2 {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
    white-space: normal;
  }

  .case-index-tags {
    gap: 10px;
    margin-top: 12px;
  }

  .case-index-tags span {
    font-size: 0.95rem;
  }

  .case-index-meta span {
    font-size: 1.25rem;
  }

  .case-index-meta .case-index-meta-year {
    font-size: 0.95rem;
  }

  .cases-sort {
    align-self: flex-end;
  }

  .article-page {
    padding: 24px 0 56px;
  }

  .article-hero {
    gap: 14px;
    padding: 24px;
    border-radius: 22px;
  }

  .article-body {
    gap: 14px;
    padding: 24px 4px 0;
  }

  .article-card {
    padding: 22px;
    border-radius: 20px;
  }

  .article-process {
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
  }

  .article-process-head {
    display: grid;
  }

  .article-process-toggle {
    justify-self: start;
  }

  .article-process-board {
    height: 220px;
  }

  .article-process-row {
    grid-template-columns: 86px 4992px;
    min-width: 5078px;
  }

  .article-process-stage {
    min-height: 38px;
    padding: 6px 8px;
  }

  .article-process-stage span {
    flex-basis: auto;
    width: auto;
    height: auto;
  }

  .article-process-track {
    grid-template-columns: repeat(64, 72px);
    gap: 6px;
  }

  .article-process-card {
    width: auto;
    min-height: 26px;
    padding: 5px 9px;
    font-size: 0.76rem;
  }

  .article-process-card::after {
    display: none;
  }

  .article-process--compact {
    gap: 10px;
    padding: 14px;
  }

  .article-process--compact .article-process-board {
    height: 190px;
    padding: 0;
  }

  .article-process--compact .article-process-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-width: 0;
  }

  .article-process--compact .article-process-stage {
    display: none;
  }

  .article-process--compact .article-process-track {
    grid-template-columns: repeat(64, minmax(0, 1fr));
    grid-auto-rows: 12px;
    gap: 3px;
    min-height: 15px;
    padding: 0 8px;
  }

  .article-process--compact .article-process-card {
    min-height: 5px;
    height: 5px;
    padding: 0;
    color: transparent;
    font-size: 0;
    line-height: 0;
  }

  .case-result-grid {
    grid-template-columns: 1fr;
  }

  .case-result-card {
    min-height: auto;
  }

  .image-preview-modal {
    padding: 14px;
  }

  .image-preview-dialog {
    width: 100%;
    border-radius: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

