/* ==========================================================================
   The AI Practice — Premium Design System v2
   Portfolio-grade showcase with GSAP animations
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Dark Theme (default) */
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f0f;
  --bg-tertiary: #141414;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text-primary: #e8e6e3;
  --text-secondary: #8a8a8a;
  --text-tertiary: #5a5a5a;
  --accent: #c8a97e;
  --accent-dim: rgba(200, 169, 126, 0.15);
  --accent-glow: rgba(200, 169, 126, 0.08);
  --nav-bg: rgba(10, 10, 10, 0.8);
  --calculator-bg: #0d0d0d;
  --shadow-color: rgba(0, 0, 0, 0.3);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1200px;
  --container-pad: clamp(20px, 5vw, 40px);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #f8f6f3;
  --bg-secondary: #f0ede8;
  --bg-tertiary: #e8e4de;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f3ef;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --text-primary: #1a1a2e;
  --text-secondary: #555566;
  --text-tertiary: #888899;
  --accent: #9e7c4f;
  --accent-dim: rgba(158, 124, 79, 0.12);
  --accent-glow: rgba(158, 124, 79, 0.06);
  --nav-bg: rgba(248, 246, 243, 0.85);
  --calculator-bg: #f5f3ef;
  --shadow-color: rgba(0, 0, 0, 0.08);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.hide-mobile { display: inline; }

@media (max-width: 768px) {
  .hide-mobile { display: none; }
}

/* ==========================================================================
   Scroll Progress Bar
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #e8d5b7);
  z-index: 10000;
  transition: none;
  will-change: width;
}

/* ==========================================================================
   Custom Cursor
   ========================================================================== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor__dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: -3px;
  left: -3px;
  will-change: transform;
}

.cursor__ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  position: absolute;
  top: -20px;
  left: -20px;
  will-change: transform;
  transition: width 0.3s ease, height 0.3s ease, top 0.3s ease, left 0.3s ease, border-color 0.3s ease;
}

.cursor--hover .cursor__ring {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  border-color: var(--accent);
}

.cursor--cta .cursor__ring {
  width: 80px;
  height: 80px;
  top: -40px;
  left: -40px;
  border-color: var(--accent);
  background: rgba(200, 169, 126, 0.1);
}

@media (pointer: coarse), (hover: none) {
  .cursor { display: none !important; }
}

/* ==========================================================================
   Noise Overlay
   ========================================================================== */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

[data-theme="light"] .noise-overlay {
  opacity: 0.02;
}

/* ==========================================================================
   Section Defaults
   ========================================================================== */
.section {
  padding: var(--section-pad) 0;
  position: relative;
  will-change: clip-path;
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section__desc {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-accent {
  color: var(--accent);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: #d4b78e;
  border-color: #d4b78e;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 169, 126, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn--ghost:hover {
  border-color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 18px 44px;
  font-size: 1rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-pad);
  transition: all 0.4s var(--ease);
}

.nav--scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 30px var(--shadow-color);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.nav__logo:hover .nav__logo-mark {
  transform: rotate(-6deg) scale(1.05);
}

.nav__logo-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__cta {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.nav__cta:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
}

.theme-toggle__moon { display: none; }

[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav__toggle.active span:first-child {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}

.nav__toggle.active span:last-child {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

[data-theme="light"] .mobile-menu {
  background: rgba(248, 246, 243, 0.98);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-primary);
  transition: color 0.3s var(--ease);
}

.mobile-menu__link:hover {
  color: var(--accent);
}

.mobile-menu__cta {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__actions .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  will-change: transform;
}

[data-theme="light"] .hero__grid-overlay {
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
}

.hero__glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 32px;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero__title-line {
  display: block;
  overflow: hidden;
}

.hero__title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}

.hero__title-accent {
  color: var(--accent);
  font-style: italic;
}

/* Typing effect */
.hero__typing {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 28px;
  min-height: 2em;
  opacity: 0;
}

.hero__typing-prefix {
  color: var(--text-secondary);
}

.hero__typing-text {
  color: var(--accent);
  font-weight: 500;
}

.hero__typing-cursor {
  color: var(--accent);
  animation: cursorBlink 0.8s infinite;
  font-weight: 300;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__proof-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero__proof-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero__proof-divider {
  width: 1px;
  height: 20px;
  background: var(--border-hover);
}

@media (max-width: 600px) {
  .hero__proof-divider { display: none; }
  .hero__proof {
    flex-direction: column;
    gap: 12px;
  }
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ==========================================================================
   Morphing Gradient Blobs
   ========================================================================== */
.blob-divider {
  position: relative;
  height: 120px;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  will-change: transform;
}

[data-theme="light"] .blob {
  opacity: 0.08;
}

.blob--1 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: -150px;
  left: 20%;
  animation: blobMorph1 12s ease-in-out infinite;
}

.blob--2 {
  width: 250px;
  height: 250px;
  background: #7e9cc8;
  top: -100px;
  right: 25%;
  animation: blobMorph2 15s ease-in-out infinite;
}

.blob--3 {
  width: 350px;
  height: 350px;
  background: var(--accent);
  top: -180px;
  right: 15%;
  animation: blobMorph1 14s ease-in-out infinite reverse;
}

.blob--4 {
  width: 200px;
  height: 200px;
  background: #a07ec8;
  top: -80px;
  left: 30%;
  animation: blobMorph2 11s ease-in-out infinite;
}

.blob--5 {
  width: 280px;
  height: 280px;
  background: #7ec8a9;
  top: -140px;
  left: 40%;
  animation: blobMorph1 13s ease-in-out infinite;
}

.blob--6 {
  width: 320px;
  height: 320px;
  background: var(--accent);
  top: -160px;
  right: 20%;
  animation: blobMorph2 16s ease-in-out infinite reverse;
}

@keyframes blobMorph1 {
  0%, 100% { transform: translate(0, 0) scale(1); border-radius: 50% 40% 60% 50%; }
  25% { transform: translate(30px, -20px) scale(1.1); border-radius: 40% 60% 50% 50%; }
  50% { transform: translate(-20px, 15px) scale(0.95); border-radius: 60% 50% 40% 60%; }
  75% { transform: translate(15px, 25px) scale(1.05); border-radius: 50% 50% 60% 40%; }
}

@keyframes blobMorph2 {
  0%, 100% { transform: translate(0, 0) scale(1); border-radius: 60% 40% 50% 60%; }
  33% { transform: translate(-25px, 20px) scale(1.08); border-radius: 40% 60% 60% 40%; }
  66% { transform: translate(20px, -15px) scale(0.92); border-radius: 50% 50% 40% 60%; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
  background: var(--bg-secondary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: clamp(28px, 3vw, 44px);
  transition: background 0.4s var(--ease);
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card:hover {
  background: var(--bg-card-hover);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 24px;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 0.8s ease;
}

.service-card.svg-drawn .service-card__icon svg {
  stroke-dashoffset: 0;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.service-card__price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.service-card__time {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.service-card__expand-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.service-card__expand-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__expand-trigger {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover .service-card__expand-trigger svg {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* Service Detail Panel */
.service-detail {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  border-radius: 12px;
  background: var(--bg-card);
  border: 0px solid var(--border);
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.4s ease, border-width 0.3s ease;
}

.service-detail.active {
  max-height: 500px;
  margin-top: 24px;
  border-width: 1px;
}

.service-detail__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-detail__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.service-detail__inner {
  padding: 48px;
  display: flex;
  gap: 48px;
  align-items: center;
  position: relative;
}

.service-detail__content {
  flex: 1;
}

.service-detail__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.service-detail__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-detail__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-detail__case-study h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 8px;
}

.service-detail__case-study p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
}

.service-detail__cta {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .service-detail__inner {
    flex-direction: column;
    padding: 32px;
    gap: 24px;
  }
}

/* ==========================================================================
   Process
   ========================================================================== */
.process__timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.process__line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}

.process__step {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 56px;
  position: relative;
}

.process__step:last-child {
  margin-bottom: 0;
}

.process__number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg-primary);
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.process__content {
  padding-top: 8px;
}

.process__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.process__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.process__time {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .process__line { left: 24px; }
  .process__number {
    width: 48px;
    height: 48px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Results / Stats
   ========================================================================== */
.results {
  background: var(--bg-secondary);
}

.results__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.stat {
  background: var(--bg-card);
  padding: clamp(32px, 4vw, 56px);
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.stat__unit {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--text-secondary);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .results__stats { grid-template-columns: 1fr; }
}

/* Portfolio */
.results__portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.results__portfolio-desc {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
}

.results__portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(24px, 3vw, 36px);
  transition: all 0.4s var(--ease);
}

.portfolio-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: 0 12px 40px var(--shadow-color);
}

.portfolio-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.portfolio-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.portfolio-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .results__portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .results__portfolio-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Tech Stack
   ========================================================================== */
.tech-stack {
  text-align: center;
}

.tech-stack__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.tech-stack__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.tech-stack__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.tech-stack__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px;
  min-width: 100px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.4s ease;
  will-change: transform;
}

.tech-stack__item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.tech-stack__icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.tech-stack__icon svg {
  width: 100%;
  height: 100%;
}

.tech-stack__item span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Testimonials Carousel
   ========================================================================== */
.testimonials {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials__carousel {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.testimonials__track {
  position: relative;
  min-height: 280px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.testimonial-card--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.testimonial-card__text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.testimonial-card__name {
  font-style: normal;
  font-weight: 500;
  font-size: 0.9rem;
  display: block;
  color: var(--text-primary);
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.testimonials__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--text-tertiary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testimonials__dot--active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
}

/* ==========================================================================
   ROI Calculator
   ========================================================================== */
.calculator {
  background: var(--bg-primary);
}

.calculator__widget {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--calculator-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(32px, 4vw, 56px);
}

.calculator__inputs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calculator__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calculator__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.calculator__select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a8a8a' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.calculator__select:focus {
  outline: none;
  border-color: var(--accent);
}

.calculator__slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calculator__slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.calculator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calculator__slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(200, 169, 126, 0.4);
}

.calculator__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}

.calculator__slider-value {
  min-width: 100px;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.calculator__results {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.calculator__result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.calculator__result-card--highlight {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.calculator__result-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.calculator__result-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  transition: all 0.3s ease;
}

.calculator__result-card--highlight .calculator__result-value {
  font-size: 1.8rem;
}

.calculator__cta {
  margin-top: 8px;
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .calculator__widget {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Team
   ========================================================================== */
.team {
  background: var(--bg-secondary);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  max-width: 1100px;
  margin: 0 auto;
}

.team__member {
  text-align: center;
  padding: clamp(32px, 4vw, 48px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

.team__member:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px var(--shadow-color);
}

.team__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dim), var(--bg-tertiary));
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.team__avatar span {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
}

.team__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.team__role {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.team__bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 600px) {
  .team__grid { grid-template-columns: 1fr; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  background: var(--bg-primary);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:first-child {
  border-top: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color 0.3s var(--ease);
}

.faq__question:hover {
  color: var(--accent);
}

.faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.4s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--text-secondary);
  transition: transform 0.4s var(--ease);
}

.faq__icon::before {
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 1.5px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__item.active .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

.faq__answer-inner {
  padding: 0 0 24px;
}

.faq__answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta__content {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.cta__desc {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta__note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 16px;
}

.footer__links {
  display: flex;
  gap: 64px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer__col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    gap: 40px;
  }
  .footer__links { gap: 40px; }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ==========================================================================
   Animations (GSAP targets)
   ========================================================================== */
.anim-fade {
  opacity: 0;
  transform: translateY(24px);
}

/* Clip-path section reveal */
.section-reveal {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
}

.section-revealed {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Smooth scrolling offset for fixed nav */
html {
  scroll-padding-top: 80px;
}

/* GPU acceleration hints */
.hero__content,
.hero__grid-overlay,
.hero__glow,
.service-card,
.portfolio-card,
.team__member {
  will-change: transform;
  transform: translateZ(0);
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.portfolio__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
}

.portfolio__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 24px 48px var(--shadow-color);
}

/* Browser chrome mockup */
.portfolio__card-preview {
  position: relative;
  overflow: hidden;
}

.portfolio__card-browser {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
}

.portfolio__browser-dots {
  display: flex;
  gap: 6px;
}

.portfolio__browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-tertiary);
  opacity: 0.4;
}

.portfolio__browser-dots span:first-child { background: #ff5f57; opacity: 0.8; }
.portfolio__browser-dots span:nth-child(2) { background: #febc2e; opacity: 0.8; }
.portfolio__browser-dots span:last-child { background: #28c840; opacity: 0.8; }

.portfolio__browser-url {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-family: var(--font-body);
  background: var(--bg-secondary);
  padding: 4px 12px;
  border-radius: 6px;
  flex: 1;
  text-align: center;
}

/* Screen preview area — real screenshots with scroll-on-hover */
.portfolio__card-screen {
  height: 260px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio__card-screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top;
  transition: transform 8s ease-in-out;
  min-height: 100%;
}

/* On hover, scroll the screenshot down to show the full page */
.portfolio__card:hover .portfolio__card-screenshot {
  transform: translateY(calc(-100% + 260px));
}

/* Overlay with "View Live Site" */
.portfolio__card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
  z-index: 2;
}

.portfolio__card:hover .portfolio__card-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.portfolio__card-view {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
}

.portfolio__card:hover .portfolio__card-view {
  opacity: 1;
  transform: translateY(0);
}

.portfolio__card-view:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Lightbox — fullscreen iframe preview */
.portfolio__lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.portfolio__lightbox.active {
  opacity: 1;
  visibility: visible;
}

.portfolio__lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.portfolio__lightbox-browser {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portfolio__lightbox-url {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 16px;
  border-radius: 6px;
  min-width: 200px;
  text-align: center;
}

.portfolio__lightbox-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  line-height: 1;
}

.portfolio__lightbox-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.portfolio__lightbox-iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: #fff;
}

/* Card info area */
.portfolio__card-info {
  padding: 24px;
}

.portfolio__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.portfolio__card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.portfolio__card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.portfolio__card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.portfolio__card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio__card-features span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.portfolio__card:hover .portfolio__card-features span {
  border-color: var(--border-hover);
}

/* Portfolio CTA */
.portfolio__cta {
  text-align: center;
  margin-top: 56px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.portfolio__cta-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.portfolio__cta-text strong {
  color: var(--accent);
}

/* Portfolio responsive */
@media (max-width: 900px) {
  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .portfolio__card-screen {
    height: 200px;
  }

  .portfolio__card:hover .portfolio__card-screenshot {
    transform: translateY(calc(-100% + 200px));
  }

  .portfolio__card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .portfolio__cta {
    padding: 24px;
  }
}

/* ==========================================================================
   Responsive animation simplification
   ========================================================================== */
@media (pointer: coarse), (max-width: 768px) {
  .service-card,
  .team__member {
    transform-style: flat !important;
  }

  .blob-divider {
    height: 60px;
  }

  .blob {
    filter: blur(40px);
  }
}
