/* Extract landing — simple, fast, responsive */
:root {
  /* Dark Mode Styles */
  --bg: #eeeeee;
  --text: #111111;
  --muted: #6b6b6b;
  --stroke: #cfcfcf;
  --chip: #e7e7e7;
  --white: #ffffff;
  --accent: #5b6cff;
  /* close to макетный синий */

  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .06);

  /* Section Colors */
  --card-bg: #FAF9F6;
  --card-bg-hover: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --input-bg: #ffffff;

  /* Header Colors */
  --topbar-bg: rgba(238, 238, 238, .7);
  --pill-bg: rgba(255, 255, 255, .4);
}

body.dark-theme {
  --bg: #111111;
  --text: #ffffff;
  --muted: #888888;
  --stroke: #333333;
  --chip: #222222;
  --white: #1a1a1a;
  --shadow: 0 10px 30px rgba(0, 0, 0, .3);

  /* Dark Mode Section Colors */
  --card-bg: #1a1a1a;
  --card-bg-hover: #222222;
  --border: rgba(255, 255, 255, 0.15);
  --input-bg: #222222;

  /* Header Colors */
  --topbar-bg: rgba(17, 17, 17, .7);
  --pill-bg: rgba(255, 255, 255, .05);
}

/* Transition for theme switch */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Toggle Button Styling */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.theme-toggle__track {
  width: 52px;
  height: 28px;
  background-color: var(--stroke);
  border-radius: 99px;
  position: relative;
  transition: background-color 0.3s ease;
  overflow: hidden;
}

.theme-toggle__knob {
  width: 24px;
  height: 24px;
  background-color: transparent;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  /* Increased size since it's just the emoji now */
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: none;
}

.icon-sun {
  display: none;
}

/* Dark Mode State */
body.dark-theme .theme-toggle__track {
  background-color: var(--accent);
  /* Optional: Highlight track when active */
}

body.dark-theme .theme-toggle__knob {
  transform: translateX(24px);
  background-color: transparent;
}

body.dark-theme .icon-moon {
  display: none;
}

body.dark-theme .icon-sun {
  display: block !important;
}

@font-face {
  font-family: "PP Neue Machina";
  src: url("./fonts/PPNeueMachina-Ultrabold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Machina Regular";
  src: url("./fonts/PPNeueMachina-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue Cyr";
  src: url("./fonts/Helvetic/HelveticaNeueCyr-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Helvetica Neue Cyr", Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
}

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

h1 {
  font-family: "PP Neue Machina Regular", Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "PP Neue Machina Regular", Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, .2);
}

.link:hover {
  border-bottom-color: rgba(0, 0, 0, .6);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--topbar-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  border-radius: 20px;
  margin: 10px 12px 0 12px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}



.logo {
  text-decoration: none;
}

.logo__img {
  display: block;
  height: 34px;
  width: auto;
}

body.dark-theme .logo__img {
  filter: invert(1);
}

.logo__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--pill-bg);
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: linear-gradient(135deg, #4A00E0, #8E2DE2);
  /* Blue to Purple Gradient */
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(74, 0, 224, 0.3);
}

.btn-accent:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 6px 14px rgba(74, 0, 224, 0.4);
}

.btn-accent:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(74, 0, 224, 0.3);
}

.topbar__handle {
  display: grid;
  gap: 2px;
  text-align: right;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  user-select: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  will-change: transform;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  filter: brightness(.98);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
  transform: translateY(-1px) scale(1.02);
}

.btn--primary:active {
  transform: translateY(0) scale(0.99);
}

.btn--wide {
  min-width: 220px;
  padding: 14px 18px;
}

.hero {
  padding-top: 30px;
  padding-bottom: 20px;
  text-align: left;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}

.hero__header {
  margin-bottom: auto;
}

.hero__subtitle {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.hero__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.hero__content-right {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.hero__desc {
  max-width: 440px;
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.hero__title-large {
  font-family: "PP Neue Machina", Inter, ui-sans-serif, system-ui;
  font-size: 13vw;
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--accent);
  margin: 0;
  text-transform: uppercase;
  margin-left: -0.04em;
  width: 100%;
  overflow-wrap: break-word;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
  justify-content: center;
}

.chip {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 14px;
  background: var(--chip);
  filter: blur(4px);
  transition: filter 200ms ease;
}

/* Chips reveal animation */
.chips .chip {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms ease, transform 420ms ease;
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .chips .chip {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.chip--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding-left: 0;
  padding-right: 0;
}

.chip--active {
  background: #f6f6f6;
}

.chip:hover,
.chip:focus-visible {
  filter: blur(0);
}

.axis {
  padding: 26px 18px 0 18px;
}

.axis__line {
  height: 2px;
  background: rgba(0, 0, 0, .5);
  border-radius: 999px;
  position: relative;
  transform-origin: left;
  animation: axisGrow 1.2s ease-out forwards;
}

.axis__arrow {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid rgba(0, 0, 0, .5);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  opacity: 0;
  animation: arrowAppear 0.4s ease-out 1s forwards;
}

@keyframes axisGrow {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

@keyframes arrowAppear {
  0% {
    opacity: 0;
    transform: translateY(-50%) translateX(-5px);
  }

  100% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.axis__labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(0, 0, 0, .7);
  padding-top: 10px;
  opacity: 0;
  animation: fadeIn 0.5s ease-out 0.8s forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.section-title {
  margin: 34px 0 16px 0;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.04em;
  font-weight: 800;
}

/* Dashboard Expertise Design */
.exp-dashboard-header {
  margin-bottom: 24px;
}

.exp-tabs-scroll {
  overflow-x: auto;
  padding-bottom: 15px;
  margin-top: 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.exp-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.exp-tabs {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}

.exp-tab {
  background: transparent;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--muted);
}

.exp-tab:hover {
  border-color: var(--text);
  color: var(--text);
}

.exp-tab.active {
  background: var(--white);
  border-color: var(--white);
  color: var(--text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.exp-dashboard {
  background: var(--white);
  border-radius: 32px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.exp-pod {
  display: flex;
  gap: 12px;
  min-height: 380px;
}

.exp-pod__left {
  flex: 1.1;
  background: #fcfcfc;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.exp-pod__right {
  flex: 1;
  background: #111;
  color: #fff;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.exp-pod__right::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.exp-pod__meta {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.badge {
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.exp-pod__title {
  font-size: 28px;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.1;
}

.exp-pod__title-alt {
  font-size: 24px;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #fff;
}

.exp-pod__text {
  font-size: 16px;
  line-height: 1.5;
  color: #444;
  margin-bottom: auto;
}

.exp-pod__text-alt {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: auto;
}

.exp-pod__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.link-more {
  font-weight: 600;
  text-decoration: none;
  color: #111;
  font-size: 14px;
}

.exp-pod__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.status-badge .dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
}

.btn-dashboard {
  background: var(--white);
  color: var(--text);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.btn-dashboard:hover {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .exp-pod {
    flex-direction: column;
    min-height: auto;
  }
}

.text-accent {
  color: var(--accent);
  font-weight: 600;
}

.case-placeholder {
  height: 120px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .08);
  border: 1px solid rgba(0, 0, 0, .06);
}

.prose p {
  margin: 0 0 14px 0;
  font-size: 18px;
  line-height: 1.35;
  color: var(--muted);
  letter-spacing: -0.01em;
  max-width: 820px;
}

.work {
  padding-bottom: 10px;
}

/* Work Card Design */
.work-card {
  background-color: var(--card-bg);
  border-radius: 30px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  color: var(--text);
  margin-top: 40px;
}

.work-desc {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 600px;
  margin: 16px 0 0 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.step-card {
  background: var(--card-bg-hover);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: attr(data-step);
  position: absolute;
  bottom: -20px;
  right: 0;
  font-size: 140px;
  font-weight: 800;
  font-family: "PP Neue Machina Regular", Inter, sans-serif;
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.step-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.step-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.step-card__num {
  font-family: "PP Neue Machina Regular", Inter, sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.step-card__emoji {
  font-size: 48px;
  line-height: 1;
}

.step-card__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.work-cta {
  margin-top: 40px;
  text-align: center;
}

/* Old styles kept for compatibility */
.steps {
  list-style: none;
  padding: 0;
  margin: 8px 0 18px 0;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 14px;
}

.step__num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.step__text {
  font-size: 18px;
  line-height: 1.35;
  color: var(--muted);
}

.cta {
  padding: 10px 0 6px 0;
}

/* Work Card Responsive */
@media (max-width: 720px) {
  .work-card {
    padding: 24px;
    border-radius: 20px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .step-card {
    padding: 20px;
  }

  .step-card__num {
    font-size: 36px;
  }
}

.inhouse {
  padding-bottom: 40px;
}

.inhouse-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 30px;
  padding: 60px;
  color: #fff;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.inhouse-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.inhouse-title {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 24px 0;
  color: #fff;
}

.inhouse-text {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0;
}

.inhouse-cta {
  margin-top: 32px;
}

.btn--light {
  background: #fff;
  color: #1a1a2e;
  border: none;
}

.btn--light:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .inhouse-card {
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
  }

  .inhouse-card::before {
    display: none;
  }

  .inhouse-title {
    font-size: 28px;
  }

  .inhouse-text {
    font-size: 16px;
    max-width: 100%;
  }

  .inhouse-cta {
    margin-top: 24px;
  }

  .inhouse-cta .btn {
    width: 100%;
  }
}

.footer {
  padding: 22px 0 40px 0;
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (max-width: 720px) {
  .topbar__handle {
    display: none;
  }

  .hero {
    padding-top: 200px;
    padding-bottom: 200px;
    min-height: auto;
    text-align: left;
  }

  .hero__content-center {
    max-width: 100%;
    padding: 0 16px;
  }

  .hero__title-centered {
    font-size: 36px !important;
    line-height: 1 !important;
    margin-bottom: 24px;
    text-align: left;
  }

  .hero__brand {
    display: block;
    white-space: nowrap;
  }

  .hero__title-centered br {
    display: none;
  }

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

  .hero__tags .tag {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 8px;
  }

  .hero__lead {
    font-size: 24px;
  }

  .section-title {
    margin-top: 28px;
  }
}

/* Expertise Card Design */
.expertise-card {
  background-color: var(--card-bg);
  border-radius: 30px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  color: var(--text);
  margin-top: 40px;
}

/* Unified section-title inside cards */
.expertise-card .section-title,
.cases-card .section-title,
.team-section-card .section-title,
.work-card .section-title {
  margin-top: 0;
  margin-bottom: 20px;
}

.exp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.exp-label {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 18px;
  color: #555;
  letter-spacing: 0.02em;
}

.exp-big-title {
  font-family: "PP Neue Machina Regular", Inter, ui-sans-serif, system-ui;
  font-size: clamp(34px, 4vw, 56px);
  /* Matched to .section-title */
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 40px 0;
  color: var(--text);
}

.exp-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.exp-left-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.exp-intro-text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  max-width: 320px;
  margin: 0 0 40px 0;
  font-weight: 500;
}

.exp-line-decor {
  width: 100px;
  height: 2px;
  background-color: #d1d1d1;
  margin-bottom: 60px;
}

.exp-cta-box {
  background-color: var(--text);
  color: var(--bg);
  padding: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  transition: transform 0.2s ease;
  width: 200px;
  height: 200px;
  text-align: left;
}

.exp-cta-box span {
  display: block;
}

.exp-cta-box:hover {
  transform: scale(1.02);
}

.exp-right-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.exp-list-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-right 0.2s ease, opacity 0.2s ease;
  cursor: default;
}

.exp-list-item:hover {
  padding-right: 15px;
  opacity: 0.8;
}

.exp-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

/* Ensure SVG strokes are thick enough for impact */
.exp-item-icon svg path {
  stroke-width: 2.5;
}

.exp-item-name {
  font-family: "PP Neue Machina Regular", Inter, sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  /* Regular weight for clean look */
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Responsive */
@media (max-width: 900px) {
  .expertise-card {
    padding: 30px;
    border-radius: 20px;
  }

  .exp-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .exp-big-title {
    font-size: 56px;
    margin-bottom: 40px;
  }

  .exp-left-col {
    order: 2;
  }

  .exp-cta-box {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    padding: 24px;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
  }

  .exp-intro-text {
    max-width: 100%;
  }

  .exp-list-item {
    justify-content: flex-start;
    flex-direction: row-reverse;
    /* Keep arrow left of text if desired, OR stick to right align? */
    /* Actually on mobile left align usually standard. 
        But let's keep the arrow Left and Text Right relation.
        Current: Icon + Text. justify-end pushes them to right.
        On mobile: justify-start pushes them to left.
     */
    justify-content: flex-start;
    gap: 16px;
  }

  .exp-item-name {
    font-size: 24px;
  }

  .exp-line-decor {
    display: none;
  }
}

/* Accordion Styles */
.exp-accordion-list {
  display: flex;
  flex-direction: column;
}

.exp-accordion-item {
  border-bottom: 1px solid var(--border);
}

.exp-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Left align */
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.2s ease;
}

.exp-accordion-header:hover {
  opacity: 0.7;
}

.exp-accordion-header .exp-item-icon svg {
  transition: transform 0.3s ease;
}

.exp-accordion-item.active .exp-accordion-header .exp-item-icon svg {
  transform: rotate(90deg);
}

.exp-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  opacity: 0;
}

.exp-accordion-item.active .exp-accordion-content {
  opacity: 1;
}

.exp-accordion-inner {
  padding-bottom: 24px;
  padding-left: 48px;
  /* Indent to align with text */
  max-width: 600px;
}

.exp-accordion-inner p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #444;
}

/* Hide old CTA elements if any remain or override */
.exp-intro-text,
.exp-line-decor,
.exp-cta-box {
  display: none !important;
}

/* Adjust grid for full width list now */
.exp-content-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

/* Accordion & Left Alignment */
.exp-list-item {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.exp-item-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  width: 100%;
}

/* Ensure padding-right adjustment from previous styles is minimal or reset */
.exp-list-item:hover {
  opacity: 0.7;
}

.exp-item-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.exp-list-item.active .exp-item-content {
  opacity: 1;
}

.exp-item-inner {
  padding-top: 16px;
  padding-left: 48px;
  /* Indent under text (24px icon + 24px gap) */
  max-width: 90%;
}

.exp-item-inner p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #555;
}

/* Rotate arrow when active if desired, or just opacity change */
.exp-list-item.active .exp-item-icon svg {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.exp-item-icon svg {
  transition: transform 0.3s ease;
}

/* Adjust title position after header removal */
.expertise-card {
  padding-top: 40px;
  /* Reduced from likely 60px */
}

.exp-big-title {
  margin-top: 0;
  margin-bottom: 40px;
  /* Adjust as needed */
}

/* Blur Effect for Accordion */
.exp-right-col.has-active .exp-list-item:not(.active) {
  filter: blur(4px);
  opacity: 0.5;
  transform: scale(0.99);
}

/* Hero Redesign & Tags */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
  /* Adjust as needed */
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  /* background: radial-gradient(circle at top center, rgba(255, 100, 100, 0.1), transparent 70%); REMOVED for canvas */
  overflow: hidden;
}

.hero__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  z-index: -1;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.5);
  /* Scale up to handle blur edges and stretch */
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0.5;
  filter: blur(30px);
}



.hero__content-center {
  max-width: 900px;
  margin: 0 auto;
}

.hero__title-centered {
  font-family: "PP Neue Machina Regular", 'Inter', sans-serif;
  /* Or serif if imported */
  font-size: 56px;
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 40px;
  letter-spacing: -0.00em;
}

/* Old tag styles removed to allow new .tag styles to apply */

@font-face {
  font-family: 'HelveticaNeueCyr-Light';
  src: url('./fonts/Helvetic/HelveticaNeueCyr-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: 'HelveticaNeueCyr-Light', sans-serif;

  /* Alignment Fixes */
  vertical-align: middle;
  margin-top: -4px;
  /* Slight optical adjustment */

  /* Entrance Animation */
  animation: fadeUpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* Staggered Delays for Entrance */
.tag:nth-child(1) {
  animation-delay: 0.1s;
}

.tag:nth-child(2) {
  animation-delay: 0.15s;
}

.tag:nth-child(3) {
  animation-delay: 0.2s;
}

.tag:nth-child(4) {
  animation-delay: 0.25s;
}

.tag:nth-child(5) {
  animation-delay: 0.3s;
}

.tag:nth-child(6) {
  animation-delay: 0.35s;
}

/* Scale up on hover, no fade */
a.tag:hover {
  transform: scale(1.15);
  z-index: 2;
  /* Bring to front */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* Keep subtle shadow */
}

@keyframes fadeUpReveal {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tag--pink {
  background-color: #F8D9E8;
}

.tag--blue {
  background-color: #D6E4FF;
}

.tag--orange {
  background-color: #FFDDB5;
}

.tag--yellow {
  background-color: #FFF2C2;
}

/* Expertise Tags */
.exp-item-header {
  justify-content: space-between;
  /* Space out name+icon and tags */
}

.exp-item-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.exp-tags {
  display: flex;
  gap: 8px;
}

/* Make tags smaller in Expertise list if needed */
.exp-tags .tag {
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 8px;
}

/* Cases Section */
.cases-list {
  display: flex;
  flex-direction: column;
}

.case-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 30px 0;
  cursor: pointer;
  transition: padding-left 0.2s ease, opacity 0.2s ease;
}

.case-item:hover {
  padding-left: 15px;
  opacity: 0.8;
}

.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 12px;
}

.case-header__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.case-tags {
  display: flex;
  gap: 8px;
}

.case-tags .tag {
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 8px;
}

.case-client {
  font-family: "PP Neue Machina Regular", Inter, sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
}

.case-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-icon svg {
  transition: transform 0.3s ease;
}

.case-item.active .case-icon svg {
  transform: rotate(90deg);
}

.case-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.case-item.active .case-content {
  opacity: 1;
}

.case-inner {
  padding-top: 40px;
}

.case-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 30px;
}

.case-info {
  display: flex;
  flex-direction: column;
}

.case-title {
  font-family: "PP Neue Machina Regular", Inter, sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
  color: var(--text);
}

.case-subtitle {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 20px 0;
}

.case-desc {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 40px 0;
  max-width: 90%;
}

.btn-case {
  align-self: flex-start;
  margin-top: auto;
  background: var(--card-bg-hover);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-case:hover {
  background: var(--card-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.case-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-media img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Blur Effect for Cases - DISABLED */
/* .cases-list.has-active .case-item:not(.active) {
  filter: blur(4px);
  opacity: 0.5;
  transform: scale(0.99);
} */

@media (max-width: 900px) {
  .case-body {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .case-title {
    font-size: 32px;
  }

  .case-inner {
    padding-top: 20px;
  }

  .case-item {
    position: relative;
    z-index: 1;
  }

  .case-item.active {
    z-index: 10;
  }

  .cases-card {
    overflow: visible;
  }

  .case-content {
    position: relative;
    z-index: 5;
    background: var(--card-bg);
  }
}

/* Carousel Styling */
.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-controls {
  position: absolute;
  bottom: 40px;
  left: 40px;
  /* Aligned to bottom-left as per screenshot */
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text);
}

.carousel-btn:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

/* Responsive adjust for controls */
@media (max-width: 900px) {
  .carousel-controls {
    left: 24px;
    bottom: 24px;
  }
}

/* Cases Card Design (Matched to Expertise) */
.cases-card {
  background-color: var(--card-bg);
  border-radius: 30px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  color: var(--text);
  margin-top: 40px;
}

@media (max-width: 900px) {
  .cases-card {
    padding: 24px;
    border-radius: 20px;
  }
}

/* Team Section Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px auto 0;
  max-width: 700px;
}

.team-card {
  background: var(--card-bg-hover);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

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

.team-name {
  font-family: "PP Neue Machina Regular", Inter, sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--text);
}

.team-role {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 24px 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-btn {
  margin-top: auto;
  background: var(--text);
  color: var(--bg);
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.team-btn:hover {
  background: var(--muted);
}

.team-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Team Section Card (Matched to other sections) */
/* Team Section Card (Matched to other sections) */
.team-section-card {
  background-color: var(--card-bg);
  border-radius: 30px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  color: var(--text);
  margin-top: 40px;
}

/* Stylize Team Section like In-house in Dark Mode */
body.dark-theme .team-section-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  /* Ensure text is white on this dark blue bg */
}

/* Add the radial glow effect */
body.dark-theme .team-section-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Adjust inner team cards for this background */
body.dark-theme .team-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

body.dark-theme .team-name {
  color: #fff;
}

body.dark-theme .team-role {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .team-btn {
  background: #1a1a2e;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .team-btn:hover {
  background: #0f3460;
}

body.dark-theme .team-photo {
  background: transparent;
  /* Container is transparent */
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-theme .team-emoji {
  background-color: rgba(0, 0, 0, 0.2);
  /* Apply dark bg to emoji container */
}

@media (max-width: 900px) {
  .team-section-card {
    padding: 24px;
    border-radius: 20px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
  }

  .team-card {
    padding: 16px;
    border-radius: 16px;
  }

  .team-photo {
    margin-bottom: 12px;
    border-radius: 12px;
  }

  .team-name {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .team-role {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .team-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .team-btn img {
    width: 14px;
    height: 14px;
  }

  .team-emoji {
    font-size: 40px;
  }
}

.team-emoji {
  font-size: 64px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
}

/* Responsive Header */
@media (max-width: 720px) {
  .topbar {
    margin: 10px 8px 0 8px;
    /* Slightly tighter margin */
  }

  .topbar__inner {
    padding: 10px 12px;
    /* Smaller padding */
  }

  .logo__img {
    height: 24px;
    /* Smaller logo */
  }

  .topbar__handle {
    display: none;
    /* Hide handle text on mobile */
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
    font-size: 16px;
    /* Smaller emoji */
  }

  .cta-img {
    display: none;
    /* Hide CTA button on mobile as requested */
  }

  /* Footer Styles */
  .footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    margin-top: 80px;
  }

  .footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

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

  .footer__brand {
    font-family: "PP Neue Machina Regular", "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
  }

  .footer__copy {
    font-size: 14px;
    color: var(--muted);
  }

  .footer__right {
    display: flex;
    gap: 24px;
  }

  .footer__link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.2s ease;
  }

  .footer__link:hover {
    opacity: 0.7;
  }

  /* Responsive Footer */
  @media (max-width: 720px) {
    .footer {
      padding: 30px 0;
      margin-top: 60px;
    }

    .footer__inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }

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

    .footer__link {
      font-size: 14px;
    }
  }