/* ===========================================
   BLENDSCAPES3D. Modern Dark Landing Page
   =========================================== */

:root {
  --bg: #07080a;
  --bg-2: #0d0f12;
  --bg-3: #14171c;
  --line: #1f242c;
  --line-2: #2a3038;
  --text: #e8ecf1;
  --text-dim: #8a93a0;
  --text-mute: #5c6573;
  --accent: #ff6a00;
  --accent-2: #ff9447;
  --accent-glow: rgba(255, 106, 0, 0.4);
  --cyan: #00d4ff;
  --grad: linear-gradient(135deg, #ff6a00 0%, #ff3d6e 100%);
  --grad-soft: linear-gradient(135deg, #ff6a00 0%, #ff9447 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px -10px var(--accent-glow);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ BACKGROUND DECOR ============ */
/* Lightweight static body background. Old fixed grid + blurred glows were the lag source. */
body {
  background:
    radial-gradient(ellipse 800px 600px at 85% 0%, rgba(255,106,0,0.10), transparent 70%),
    radial-gradient(ellipse 900px 700px at 0% 40%, rgba(255,61,110,0.06), transparent 70%),
    var(--bg);
  background-attachment: scroll;
}

.bg-grid, .bg-glow { display: none; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 10, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 16px var(--accent-glow));
  transition: transform 0.3s;
}

.brand:hover .brand-logo { transform: scale(1.05); }

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover { color: var(--text); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; padding: 16px; font-size: 15px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(255, 106, 0, 0.06);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 100px 28px 120px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-inner {
  padding: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 12px #00ff88;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 14px;
}

.hero-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 22px;
  letter-spacing: -0.4px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats span {
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: radial-gradient(circle at 50% 50%, #14171c 0%, #07080a 80%);
  box-shadow: var(--shadow), var(--shadow-glow);
  cursor: grab;
}

.hero-visual:active { cursor: grabbing; }

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  z-index: 2;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.6);
  z-index: 1;
  pointer-events: none;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(7,8,10,0.85) 95%);
  z-index: 3;
  pointer-events: none;
}

.hero-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 6px 14px;
  background: rgba(7,8,10,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  /* backdrop-filter removed for performance */
  opacity: 0.7;
  pointer-events: none;
  animation: hintFade 4s ease-in-out 2s forwards;
}

@keyframes hintFade {
  to { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ============ STRIP ============ */
.strip {
  position: relative;
  z-index: 1;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 15, 18, 0.5);
}

.strip-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.strip-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mute);
}

.strip-logos {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: space-around;
}

.strip-logos span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--text-mute);
  transition: color 0.2s;
}

.strip-logos span:hover { color: var(--text-dim); }

/* ============ SECTIONS ============ */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.section-dark {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 80px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.section-head p {
  font-size: 17px;
  color: var(--text-dim);
}

.center { text-align: center; margin-top: 60px; }

/* ============ CARDS (Services) ============ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  display: block;
}

.path-card { cursor: pointer; }

.path-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  letter-spacing: -2px;
  pointer-events: none;
  transition: color 0.3s;
}

.path-card:hover .path-number {
  color: rgba(255,106,0,0.18);
}

.path-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 10px 18px;
  background: rgba(255,106,0,0.08);
  border: 1px solid rgba(255,106,0,0.18);
  border-radius: 10px;
  transition: all 0.2s;
}

.path-card:hover .card-link {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  gap: 10px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  background: var(--bg-3);
}

.card:hover::before { opacity: 1; }

.card-feature {
  background: linear-gradient(180deg, rgba(255,106,0,0.05), var(--bg-2));
  border-color: rgba(255,106,0,0.2);
}

.card-feature::before {
  opacity: 1;
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 18px;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.2);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 24px;
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.card p {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 22px;
}

.card-list {
  list-style: none;
  margin-bottom: 28px;
}

.card-list li {
  padding: 8px 0;
  padding-left: 22px;
  position: relative;
  color: var(--text-dim);
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}

.card-list li:last-child { border-bottom: none; }

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  transition: gap 0.25s;
}

.card-link:hover { gap: 12px; }

/* ============ WORK GRID ============ */
.grid-work {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
  gap: 16px;
}

.work-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #1a1d23;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-end;
}

.work-item > * { position: relative; z-index: 2; }

.work-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,8,10,0.95) 100%);
  z-index: 1;
}

.work-item:hover {
  transform: scale(1.015);
  border-color: var(--accent);
}

.work-lg {
  grid-row: span 2;
}

.work-wide {
  grid-column: 1 / -1;
  background-position: center 60%;
}

.work-meta {
  padding: 24px;
  width: 100%;
}

.work-cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
}

.work-meta h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* ============ PRODUCTS (Addons) ============ */
.product {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  color: inherit;
  text-decoration: none;
}

.product .product-thumb { overflow: hidden; }

.product-featured {
  border-color: rgba(255,106,0,0.35);
  background: linear-gradient(180deg, rgba(255,106,0,0.04), var(--bg-2));
  box-shadow: 0 12px 40px -20px var(--accent-glow);
}

.product-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  z-index: 3;
}

.product-featured:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 50px -15px var(--accent-glow);
}

.tag-bundle {
  background: var(--grad) !important;
  border: none !important;
  color: #fff !important;
}

.product:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}

.product-thumb {
  aspect-ratio: 16/10;
  background-color: #1a1d23;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.product:hover .product-thumb { transform: scale(1.05); }

.product-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  background: rgba(255,106,0,0.12);
  border: 1px solid rgba(255,106,0,0.25);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 14px;
}

.product h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 20px;
  flex: 1;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

/* ============ FEATURED PROJECT ============ */
.section-featured {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,106,0,0.08), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(255,61,110,0.06), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.featured-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.featured-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 16px 0 22px;
}

.featured-text p {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 28px;
}

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

.featured-tags span {
  display: inline-block;
  padding: 7px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.featured-video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #0a0c0f;
  box-shadow: var(--shadow), var(--shadow-glow);
}

.featured-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ MOTION GRID (auto-play videos) ============ */
.grid-motion {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.motion-item {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0c0f;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
}

.motion-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 50px -20px var(--accent-glow);
}

.motion-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0c0f;
}

.motion-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px -8px var(--accent-glow), 0 0 0 1px rgba(255,255,255,0.08) inset;
  transition: transform 0.25s, opacity 0.25s;
  opacity: 0.95;
}

.motion-play svg { width: 24px; height: 24px; margin-left: 3px; }

.motion-item:hover .motion-play { transform: translate(-50%, -50%) scale(1.08); }

.motion-item.playing .motion-play { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.85); }

.motion-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,8,10,0.95) 100%);
  pointer-events: none;
  z-index: 1;
}

.motion-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  z-index: 2;
}

.motion-meta .work-cat {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
  font-weight: 600;
}

.motion-meta h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
}

/* ============ SPLIT (Video / About) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-reverse .split-visual { order: -1; }

.split-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 16px 0 24px;
}

.split-text p {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 30px;
}

.check-list {
  list-style: none;
  margin-bottom: 36px;
}

.check-list li {
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  color: var(--text);
  font-size: 15px;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background-color: #1a1d23;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.video-thumb img, .video-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb img { z-index: 1; transition: opacity 0.3s; }
.video-thumb video { z-index: 1; }
.video-thumb.playing img { opacity: 0; }
.video-thumb.playing .play-btn { opacity: 0; pointer-events: none; }

.play-btn {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--grad);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(255,106,0,0.5), var(--shadow-glow);
  animation: ringPulse 2.2s infinite;
  transition: transform 0.2s;
}

.play-btn:hover { transform: scale(1.08); }
.play-btn svg { width: 32px; height: 32px; margin-left: 4px; }

@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0   rgba(255,106,0,0.6); }
  70%  { box-shadow: 0 0 0 30px rgba(255,106,0,0); }
  100% { box-shadow: 0 0 0 0   rgba(255,106,0,0); }
}

.about-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow), var(--shadow-glow);
  max-width: 440px;
  margin: 0 auto;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.05) saturate(0.95);
  position: relative;
  z-index: 1;
}

.about-image-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 60%, rgba(7,8,10,0.9) 100%),
    radial-gradient(circle at 50% 30%, transparent 50%, rgba(255,106,0,0.08));
}

.stat-row {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stat-row > div { display: flex; flex-direction: column; }
.stat-row strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-row span {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============ CTA / CONTACT ============ */
.section-cta {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.cta-box > * { position: relative; }

.cta-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 12px 0 16px;
}

.cta-box > p {
  color: var(--text-dim);
  margin-bottom: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-mute);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-3);
}

.contact-form select { cursor: pointer; }

.form-status {
  margin: 6px 0 0;
  font-size: 14px;
  min-height: 20px;
  text-align: center;
}
.form-status-ok  { color: #4ade80; }
.form-status-err { color: #f87171; }

.contact-alt {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-dim);
}

.contact-alt a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px dashed var(--accent);
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 80px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 16px var(--accent-glow));
  margin-bottom: 4px;
}
.footer-brand p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 14px;
  max-width: 280px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-cols h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}

.footer-cols a {
  display: block;
  padding: 6px 0;
  color: var(--text-dim);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-cols a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-inner a { color: var(--text-dim); }
.footer-bottom-inner a:hover { color: var(--accent); }

/* ============ RESPONSIVE ============ */

/* Tablet and below */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 70px 28px 80px;
  }
  .hero-visual { max-height: 500px; aspect-ratio: 4/4; }
  .cards-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse .split-visual { order: 0; }
  .grid-work { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .grid-motion { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; gap: 40px; }
  /* 6-up addon grid stays 2-col on tablet, not 1-col */
  .cards-3:has(> .product) { grid-template-columns: repeat(2, 1fr); }
  .work-lg { grid-row: span 2; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* Mobile breakpoint — nav becomes hamburger panel */
@media (max-width: 820px) {
  .container { padding: 0 20px; }

  .nav-inner { gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .brand-logo { height: 36px; }

  /* Hide inline nav, show toggle */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(7, 8, 10, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.25s, visibility 0.2s;
    z-index: 99;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px 4px;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }

  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

/* Phone breakpoint */
@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 50px; }

  .hero { padding: 50px 20px 70px; gap: 32px; }
  .hero-title { letter-spacing: -2px; }
  .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .hero-cta { gap: 10px; margin-bottom: 44px; }
  .hero-cta .btn { flex: 1 1 auto; min-width: 0; }
  .hero-stats {
    gap: 24px 32px;
    flex-wrap: wrap;
    padding-top: 28px;
  }
  .hero-stats strong { font-size: 24px; }
  .hero-visual { max-height: 420px; }

  .strip { padding: 24px 0; }
  .strip-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .strip-label { align-self: flex-start; }
  .strip-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 20px;
    justify-content: stretch;
    flex: none;
  }
  .strip-logos span {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-align: center;
  }

  .cards-3:has(> .product) { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .path-number { font-size: 44px; top: 18px; right: 22px; }
  .card h3 { font-size: 20px; }

  .grid-work { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .work-lg { grid-row: span 1; }
  .work-wide { grid-column: auto; }
  .work-meta { padding: 20px; }
  .work-meta h4 { font-size: 19px; }

  .grid-motion { grid-template-columns: 1fr; }
  .motion-play { width: 56px; height: 56px; }
  .play-btn { width: 68px; height: 68px; }
  .play-btn svg { width: 26px; height: 26px; }

  .featured-grid { gap: 28px; }
  .featured-text h2 { margin: 12px 0 18px; }
  .featured-tags span { font-size: 11px; padding: 6px 12px; }

  .split { gap: 32px; }
  .about-image-wrap { max-width: 320px; }
  .stat-row { gap: 20px; flex-wrap: wrap; padding-top: 22px; }
  .stat-row strong { font-size: 26px; }

  .form-row { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 22px; }
  .cta-box h2 { margin: 10px 0 14px; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; } /* prevent iOS zoom on focus */

  .footer { padding: 60px 0 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom-inner { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Small phone */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero { padding: 40px 16px 60px; }
  .hero-title { font-size: clamp(42px, 12vw, 64px); letter-spacing: -1.5px; }
  .hero-tagline { font-size: 18px; }
  .hero-sub { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 18px 24px; }
  .hero-stats strong { font-size: 22px; }
  .hero-visual { max-height: 360px; }
  .badge { font-size: 12px; padding: 7px 14px; margin-bottom: 22px; }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 15px; }

  .card { padding: 26px 20px; }
  .card-icon { width: 44px; height: 44px; margin-bottom: 18px; }
  .path-number { font-size: 36px; }

  .grid-work { grid-auto-rows: 200px; gap: 12px; }
  .grid-motion { gap: 12px; }

  .product-body { padding: 22px 20px; }
  .product h3 { font-size: 19px; }
  .price { font-size: 20px; }
  .product-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .product-foot .btn { width: 100%; }

  .featured-tags { gap: 6px; }
  .check-list li { padding-left: 28px; font-size: 14px; }

  .about-image-wrap { max-width: 260px; }
  .stat-row strong { font-size: 22px; }

  .cta-box { padding: 34px 18px; }
  .cta-box > p { margin-bottom: 28px; }

  .footer { padding: 50px 0 0; }
  .footer-inner { padding-bottom: 40px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }

  .btn { padding: 13px 22px; font-size: 13px; }
  .btn-block { padding: 15px; font-size: 14px; }

  /* Tighter toolkit grid on tiny phones so "AFTER EFFECTS" fits */
  .strip-logos { gap: 12px 14px; }
  .strip-logos span { font-size: 10px; letter-spacing: 1px; }
}
