/* Panda — shared styles */
@import url("https://fonts.cdnfonts.com/css/nexa");
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --bg: #f5f5f5;
  --bg-soft: #ece8df;
  --ink: #0d0d0d;
  --ink-soft: #2a2a2a;
  --muted: #6b6862;
  --line: rgba(13, 13, 13, 0.14);
  --line-soft: rgba(13, 13, 13, 0.07);
  --accent: #000;
  --studio: #fff;
  --accent-deep: #000;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1440px;
}
/* ── Reset / Base ────────────────────────────────────────────────── */
.tbps-home {
  font-family: "Nexa", sans-serif;
  color: #111;
  overflow-x: clip; /* clip doesn't create a scroll container, so position:sticky still works */
}

/* h1 h2 h3 keep their original font — Nexa applies to everything else */
.tbps-home h1,
.tbps-home h2,
.tbps-home h3 {
  font-family: var(--display);
}

.tbps-home * {
  box-sizing: border-box;
}

/* ── Hero Video ──────────────────────────────────────────────────── */
.tbps-hero-video {
  width: 100%;
  display: block;
  padding-inline: 2em;
  margin-top: 24px;
  margin-bottom: 48px;
}

.tbps-hero-video-inner {
  width: 100%;
  /* Maintain 16:9 ratio — no cropping */
  aspect-ratio: 16 / 9;
  /* Cap height so it doesn't exceed the viewport */
  max-height: calc(100vh - 110px);
  border-radius: 30px;
  overflow: hidden;
  border: 2.5px solid transparent;
  background:
    linear-gradient(#f4f1ea, #f4f1ea) padding-box,
    linear-gradient(
        135deg,
        #e0e0e0 0%,
        #888888 25%,
        #111111 50%,
        #888888 75%,
        #e0e0e0 100%
      )
      border-box;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 12px 32px rgba(0, 0, 0, 0.16),
    0 24px 56px rgba(0, 0, 0, 0.1);
}

.tbps-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* oEmbed (YouTube / Vimeo) */
.tbps-hero-video-embed {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.tbps-hero-video-embed iframe,
.tbps-hero-video-embed object,
.tbps-hero-video-embed embed {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100%;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
}

@media (max-width: 768px) {
  .marquee-track {
    animation-duration: 15s;
  }

  .tbps-hero-video {
    padding-inline: 1.25em;
    margin-top: 20px;
    margin-bottom: 36px;
  }

  .tbps-hero-video-inner {
    max-height: calc(100vh - 80px);
  }
}

@media (max-width: 600px) {
  .tbps-hero-video {
    padding-inline: 1em;
    margin-top: 14px;
    margin-bottom: 28px;
  }

  .tbps-hero-video-inner {
    border-radius: 18px;
    max-height: none;
  }
}

.tbps-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Shared section elements ─────────────────────────────────────── */
.tbps-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  background: #f4f4f4;
  border: 1px solid #e8e8e8;
  padding: 5px 12px;
  border-radius: 40px;
  margin-bottom: 20px;
}

.tbps-section-tag--light {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.tbps-section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 24px;
  color: #111;
}

.tbps-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.tbps-section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  gap: 24px;
  flex-wrap: wrap;
}

.tbps-section-header--row .tbps-section-title {
  margin-bottom: 0;
}

/* ── Shared buttons ──────────────────────────────────────────────── */
.tbps-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.tbps-btn-dark {
  background: #111;
  color: #fff;
}

.tbps-btn-dark:hover {
  background: #333;
  color: #fff;
  transform: translateY(-2px);
}

.tbps-btn-outline {
  background: transparent;
  color: #111;
  border: 1.5px solid #d0d0d0;
}

.tbps-btn-outline:hover {
  border-color: #111;
  background: #f8f8f8;
  color: #111;
}

.tbps-btn-white {
  background: #fff;
  color: #111;
}

.tbps-btn-white:hover {
  background: #f0f0f0;
  color: #111;
  transform: translateY(-2px);
}

.tbps-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.tbps-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tbps-btn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: tbps-pulse 2s ease-in-out infinite;
}

/* ── HERO ────────────────────────────────────────────────────────── */
.tbps-hero {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.tbps-hero-inner {
  max-width: 780px;
}

.tbps-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  background: #fff;
  border: 1px solid #e4e4e4;
  padding: 7px 16px;
  border-radius: 40px;
  margin-bottom: 32px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.tbps-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: tbps-pulse 2s ease-in-out infinite;
}

@keyframes tbps-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.1);
  }
}

.tbps-hero-title {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: #0a0a0a;
  margin: 0 0 24px;
}

.tbps-hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tbps-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  max-width: 560px;
  margin: 0 0 40px;
}

.tbps-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.tbps-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 20px;
  width: fit-content;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.tbps-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 28px;
}

.tbps-stat:first-child {
  padding-left: 0;
}

.tbps-stat:last-child {
  padding-right: 0;
}

.tbps-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #111;
  letter-spacing: -1px;
  line-height: 1;
}

.tbps-stat-label {
  font-size: 12px;
  color: #888;
  font-weight: 500;
  white-space: nowrap;
}

.tbps-stat-divider {
  width: 1px;
  height: 40px;
  background: #e8e8e8;
  flex-shrink: 0;
}

/* ── SERVICES ────────────────────────────────────────────────────── */
.tbps-services {
  padding: 100px 0;
  background: #fff;
}

.tbps-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tbps-service-card {
  background: #f8f8f8;
  border: 1px solid #ebebeb;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.tbps-service-card.tbps-service-dark {
  background: #111;
  border-color: #111;
  color: #fff;
}

.tbps-service-card.tbps-service-dark h3,
.tbps-service-card.tbps-service-dark p,
.tbps-service-card.tbps-service-dark li {
  color: #fff;
}

.tbps-service-card.tbps-service-dark .tbps-service-list li::before {
  background: rgba(255, 255, 255, 0.4);
}

.tbps-service-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.tbps-service-dark .tbps-service-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tbps-service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.tbps-service-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.tbps-service-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tbps-service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #555;
}

.tbps-service-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bbb;
  flex-shrink: 0;
}

.tbps-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #888;
  text-decoration: none;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e4e4e4;
  transition:
    color 0.15s ease,
    gap 0.15s ease;
}

.tbps-service-dark .tbps-service-link {
  color: rgba(255, 255, 255, 0.6);
  border-top-color: rgba(255, 255, 255, 0.15);
}

.tbps-service-link:hover {
  color: #111;
  gap: 10px;
}

.tbps-service-dark .tbps-service-link:hover {
  color: #fff;
}

/* ── WORK ────────────────────────────────────────────────────────── */
.tbps-work {
  padding: 100px 0;
  background: #fafafa;
}

.tbps-work-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.tbps-work-card--large {
  grid-row: 1 / 3;
}

.tbps-work-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 24px;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.tbps-work-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.tbps-work-card--large .tbps-work-img {
  height: 340px;
}

.tbps-work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tbps-work-card:hover .tbps-work-overlay {
  opacity: 1;
}

.tbps-work-tag {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tbps-work-arrow {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.tbps-work-arrow:hover {
  transform: scale(1.1);
}

.tbps-work-info {
  padding: 20px 24px;
}

.tbps-work-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #111;
}

.tbps-work-info p {
  font-size: 13.5px;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

/* ── ABOUT ───────────────────────────────────────────────────────── */
.tbps-about {
  padding: 100px 0;
  background: #fff;
}

.tbps-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tbps-about-text {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin: 0 0 36px;
}

.tbps-about-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tbps-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tbps-pillar-icon {
  width: 40px;
  height: 40px;
  background: #f4f4f4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #555;
}

.tbps-pillar h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #111;
}

.tbps-pillar p {
  font-size: 13.5px;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

.tbps-about-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tbps-about-card {
  background: #f8f8f8;
  border: 1px solid #ebebeb;
  border-radius: 20px;
  padding: 24px;
}

.tbps-about-card--main {
  background: #111;
  border-color: #111;
  color: #fff;
}

.tbps-about-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.tbps-green-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  padding: 3px 10px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 600;
}

.tbps-about-card-number {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -2px;
  margin-bottom: 12px;
}

.tbps-about-card-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  margin-bottom: 12px;
  overflow: hidden;
}

.tbps-about-card-fill {
  height: 100%;
  background: #22c55e;
  border-radius: 40px;
}

.tbps-about-card--main p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.tbps-about-review-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 16px;
  font-style: italic;
}

.tbps-about-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tbps-about-review-author strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #111;
}

.tbps-about-review-author span {
  font-size: 12px;
  color: #999;
}

.tbps-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tbps-avatar--blue {
  background: #3b82f6;
}
.tbps-avatar--orange {
  background: #f97316;
}
.tbps-avatar--green {
  background: #22c55e;
}

/* ── TESTIMONIALS ────────────────────────────────────────────────── */
.tbps-testimonials {
  padding: 100px 0;
  background: #fafafa;
}

.tbps-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tbps-testimonial-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.tbps-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.tbps-stars {
  font-size: 14px;
  color: #f59e0b;
  letter-spacing: 2px;
}

.tbps-testimonial-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #555;
  margin: 0;
  flex: 1;
}

.tbps-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.tbps-testimonial-author strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #111;
}

.tbps-testimonial-author span {
  font-size: 12px;
  color: #999;
}

/* ── CTA ─────────────────────────────────────────────────────────── */
.tbps-cta {
  padding: 100px 0;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.tbps-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 40px
  );
  pointer-events: none;
}

.tbps-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 65% 70% at 100% 100%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 45% 45% at 0% 0%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 55%
    );
  pointer-events: none;
}

.tbps-cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tbps-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(
    ellipse,
    rgba(99, 102, 241, 0.25) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.tbps-cta-title {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}

.tbps-cta-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 40px;
  position: relative;
  z-index: 1;
}

.tbps-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .tbps-services-grid,
  .tbps-testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tbps-about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tbps-work-grid {
    grid-template-columns: 1fr;
  }

  .tbps-work-card--large {
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .tbps-hero {
    padding: 96px 0 60px;
  }

  .tbps-hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .tbps-stat-divider {
    display: none;
  }

  .tbps-stat {
    padding: 0;
    flex: 1 1 80px;
  }

  .tbps-services-grid,
  .tbps-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .tbps-section-header--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .tbps-hero-actions,
  .tbps-cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .tbps-cta-actions {
    align-items: center;
  }

  .tbps-services,
  .tbps-work,
  .tbps-about,
  .tbps-testimonials,
  .tbps-cta {
    padding: 64px 0;
  }
}

/* ---------- MARQUEE ---------- */
.marquee {
  margin-top: 32px;
  padding: 26px 0;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  /* Gradient top & bottom borders */
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-left: 0;
  border-right: 0;
  border-image: linear-gradient(
      90deg,
      transparent 0%,
      #c0c0c0 15%,
      #333333 50%,
      #c0c0c0 85%,
      transparent 100%
    )
    1;
  /* Shadow above and below */
  box-shadow:
    0 -6px 24px rgba(0, 0, 0, 0.07),
    0 6px 24px rgba(0, 0, 0, 0.1);
}

/* Fade edges — left and right */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}
.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, #ffffff 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.marquee-track .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #888 0%, #111 100%);
  display: inline-block;
  flex-shrink: 0;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- SERVICES (sticky stack) ---------- */
.services {
  padding: 120px 0 40px;
  position: relative;
}
.services-head {
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.services-head h2 {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #000;
}
.services-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.services-head p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 42ch;
  line-height: 1.5;
}

.stack {
  position: relative;
}
.stack-card {
  position: sticky;
  top: 90px;
  margin-bottom: 32px;
  border-radius: 32px;
  overflow: hidden;
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  transform-origin: top center;
  will-change: transform, opacity;
}
.stack-card.theme-growth {
  background: #0d0d0d;
  color: #f4f1ea;
}
.stack-card.theme-studio {
  background: var(--studio);
  color: #0d0d0d;
  border: 1px solid #ccc;
}
.stack-card.theme-tech {
  background: #0d0d0d;
  color: #fff;
  border: 1px solid var(--line);
}

.stack-card-left {
  padding: 56px 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.stack-card-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  display: flex;
  justify-content: space-between;
}
.stack-card-title {
  font-family: var(--display);
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 36px 0 20px;
  color: #000;
}
.stack-card-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.stack-card-desc {
  font-size: 18px;
  line-height: 1.5;
  max-width: 42ch;
  opacity: 0.86;
}
.stack-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}
.chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.85;
}
.stack-card-cta {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 999px;
  width: fit-content;
  transition:
    gap 200ms,
    transform 200ms;
  border: 1px solid;
}
.stack-card.theme-growth .stack-card-cta {
  background: var(--accent);
  color: #fff;
}
.stack-card.theme-studio .stack-card-cta {
  background: #0d0d0d;
  color: var(--studio);
}
.stack-card.theme-tech .stack-card-cta {
  background: #0d0d0d;
  color: var(--bg);
}
.stack-card-cta:hover {
  gap: 14px;
  transform: translateY(-1px);
}
.stack-card-cta .arrow {
  font-family: var(--mono);
}

.stack-card-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
}

/* visual placeholders per card */
.viz {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 22px;
  overflow: hidden;
}
.viz-growth {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 1px 16px
    ),
    linear-gradient(160deg, rgba(168, 214, 103, 0.18), rgba(168, 214, 103, 0));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px;
}
.viz-growth .gh-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.viz-growth .gh-chart {
  position: relative;
  padding: 24px 0;
}
.viz-growth .gh-chart svg {
  width: 100%;
  height: 100%;
}
.viz-growth .gh-stats {
  display: flex;
  gap: 36px;
}
.viz-growth .gh-stat .n {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.viz-growth .gh-stat .n small {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}
.viz-growth .gh-stat .l {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.viz-studio {
  background: #0d0d0d;
  border: 1px solid rgba(13, 13, 13, 0.2);
  display: grid;
  grid-template-rows: 28px 1fr;
}
.viz-studio .browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.viz-studio .browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.viz-studio .browser-body {
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  color: #f4f1ea;
}
.viz-studio .browser-body h3 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
}
.viz-studio .browser-body h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.viz-studio .browser-body .lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.viz-studio .browser-body .lines span {
  height: 8px;
  border-radius: 4px;
  background: rgba(244, 241, 234, 0.12);
}
.viz-studio .browser-body .lines span:nth-child(1) {
  width: 92%;
}
.viz-studio .browser-body .lines span:nth-child(2) {
  width: 78%;
}
.viz-studio .browser-body .lines span:nth-child(3) {
  width: 64%;
}
.viz-studio .browser-body .tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.viz-studio .browser-body .pill {
  width: fit-content;
  background: var(--accent);
  color: #0d0d0d;
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
}

/* ── Screenshot viz (Studio card, right column) ─────────── */
.viz.viz-screenshot {
  height: auto;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sc-card {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
}
.sc-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 14px;
  background: #f4f4f4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.sc-dots {
  display: flex;
  gap: 5px;
}
.sc-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}
.sc-url {
  flex: 1;
  max-width: 180px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(0, 0, 0, 0.55);
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 2px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-img-wrap {
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.sc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.sc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sc-footer-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}
.sc-footer-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
  padding-bottom: 1px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sc-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.sc-footer-link:hover .sc-arrow {
  transform: translateX(4px);
}

.viz-tech {
  background: #fff;
  color: #f4f1ea;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 24px;
}
.viz-tech .term-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: #0d0d0d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 14px;
  border-bottom: 1px solid #0d0d0d;
  margin-bottom: 18px;
}
.viz-tech .term-head .ldot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.viz-tech .term-body {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: #0d0d0d;
}
.viz-tech .term-body .ln {
  display: block;
}
.viz-tech .term-body .pr {
  color: var(--accent);
}
.viz-tech .term-body .cm {
  color: rgba(244, 241, 234, 0.35);
}
.viz-tech .term-body .ok {
  color: var(--accent);
}
.stack-card.theme-growth h2,
.stack-card.theme-tech h2 {
  color: #fff;
}

/* ---------- CTA ---------- */
.cta {
  margin: 120px 0 0;
  padding: 100px 56px;
  background: #0a0a0a;
  color: #f4f1ea;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 40px
  );
  pointer-events: none;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 55% 75% at 100% 100%,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.08) 35%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 45% 60% at 0% 0%,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.06) 35%,
      transparent 65%
    );
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
.cta h2 {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #fff;
}
.cta h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.cta-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cta-side p {
  font-size: 16px;
  opacity: 0.7;
  line-height: 1.5;
  color: #fff;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  padding: 18px 28px;
  border-radius: 999px;
  width: fit-content;
  transition:
    gap 200ms,
    transform 200ms;
}
.cta-btn:hover {
  gap: 18px;
  transform: translateY(-1px);
}

/* ---------- APPROACH ---------- */
.approach {
  padding: 140px 0 100px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
.approach h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 16ch;
  color: #000;
}
.approach h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
}
.approach-step {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
.approach-step .n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.approach-step h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 80px 0 12px;
  color: #000;
}
.approach-step p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   HOME RESPONSIVE
   ══════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 900px) ─────────────────────────────────── */
@media (max-width: 900px) {
  /* Services head — single column */
  .services-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  /* Stack cards — single column, show viz below content */
  .stack-card {
    grid-template-columns: 1fr;
    min-height: auto;
    position: relative; /* disable sticky on tablet */
    top: auto;
  }
  .stack-card-right {
    min-height: 280px;
    padding: 32px;
  }
  .stack-card-left {
    padding: 40px 40px 32px;
  }

  /* Approach — 2 columns */
  .approach-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
  }

  /* CTA — single column */
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta {
    padding: 64px 40px;
    margin-top: 80px;
  }

  /* Sections — smaller vertical padding */
  .services {
    padding: 80px 0 24px;
  }
  .approach {
    padding: 80px 0 64px;
    margin-top: 48px;
  }
}

/* ── Mobile (≤ 600px) ─────────────────────────────────── */
@media (max-width: 600px) {
  /* Marquee — smaller font, faster speed to compensate for narrower track */
  .marquee-track {
    font-size: 20px;
    gap: 40px;
    animation-duration: 5s;
  }
  .marquee-track span {
    gap: 40px;
  }

  /* Services head */
  .services {
    padding: 60px 0 16px;
  }
  .services-head {
    margin-bottom: 32px;
  }
  .services-head h2 {
    font-size: clamp(36px, 9vw, 60px);
  }

  /* Stack cards */
  .stack-card {
    border-radius: 20px;
    margin-bottom: 16px;
  }
  .stack-card-left {
    padding: 28px 24px 24px;
  }
  .stack-card-title {
    font-size: clamp(36px, 9vw, 64px);
    margin: 20px 0 14px;
  }
  .stack-card-desc {
    font-size: 15px;
  }
  .stack-card-chips {
    margin-top: 20px;
    gap: 6px;
  }
  .chip {
    font-size: 10px;
    padding: 5px 10px;
  }
  .stack-card-cta {
    margin-top: 24px;
    font-size: 15px;
    padding: 12px 18px;
  }
  /* Hide viz panel on small phones — saves space */
  .stack-card-right {
    display: none;
  }

  /* Approach — single column */
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 32px;
  }
  .approach-step {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
  }
  .approach-step:last-child {
    border-bottom: none;
  }
  .approach-step h3 {
    font-size: 20px;
    margin: 32px 0 8px;
  }
  .approach h2 {
    font-size: clamp(32px, 8vw, 56px);
  }
  .approach {
    padding: 40px 0 48px;
    margin-top: 0;
    border-top: none;
  }

  /* CTA */
  .cta {
    padding: 36px 20px 40px;
    border-radius: 20px;
    margin-top: 40px;
  }
  .cta-inner {
    gap: 24px;
  }
  .cta h2 {
    font-size: clamp(28px, 7.5vw, 48px);
  }
  .cta-side {
    gap: 20px;
  }
  .cta-side p {
    font-size: 14px;
  }
  .cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 14px 20px;
    gap: 10px;
  }

  /* Section eyebrow */
  .section-eyebrow {
    font-size: 11px;
  }
}
