:root {
  --slate-950: #020618;
  --slate-900: #0f172b;
  --slate-800: #1d293d;
  --slate-700: #314158;
  --slate-600: #45556c;
  --slate-500: #62748e;
  --slate-400: #90a1b9;
  --slate-300: #cad5e2;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --blue-600: #155dfc;
  --blue-500: #2b7fff;
  --blue-400: #51a2ff;
  --container: 1536px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--slate-900);
  background: #fff;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding-block: 112px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--blue-600);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 4px; }

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background: var(--slate-950);
}

.hero-nav {
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.wordmark, .footer-wordmark { font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.hero-email { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: 14px; }
.hero-email:hover { color: #fff; }

.hero-body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.hero-copy { display: flex; align-items: center; padding: 64px; }
.hero-copy-inner { width: 100%; max-width: 576px; }

.studio-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 8px 16px;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 14px;
}

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-400); animation: pulse 2s ease-in-out infinite; }
.hero h1 { margin-bottom: 24px; font-size: clamp(48px, 4.1vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; }
.hero h1 span { color: var(--blue-400); }
.hero-description { max-width: 550px; margin-bottom: 18px; color: rgba(255,255,255,.6); font-size: 18px; line-height: 1.625; }
.hero-proof { margin-bottom: 40px; color: rgba(255,255,255,.35); font-family: var(--mono); font-size: 14px; line-height: 1.625; }

.primary-button {
  min-height: 56px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  color: #fff;
  background: var(--blue-600);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(21,93,252,.25);
  font-weight: 600;
  transition: background-color .2s, transform .2s;
}
.primary-button:hover { background: #1447e6; transform: translateY(-2px); }

.hero-collage { display: grid; grid-template-rows: repeat(2, 1fr); gap: 12px; min-width: 0; padding: 32px; }
.collage-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 0; }
.collage-panel { position: relative; min-height: 0; overflow: hidden; background: var(--slate-800); border-radius: 16px; }
.collage-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,6,24,.7), transparent 60%); }
.collage-software::after { background: linear-gradient(to right, rgba(2,6,24,.6), transparent); }
.collage-panel img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.collage-software img { opacity: .9; }
.collage-panel span { position: absolute; z-index: 1; bottom: 16px; left: 16px; color: rgba(255,255,255,.7); font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.collage-software span { left: 20px; }

.trust-bar { padding-block: 64px; border-bottom: 1px solid var(--slate-200); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 48px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--slate-200); }
.stat strong { font-size: 48px; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.stat span { color: var(--slate-500); font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }

.client-logos { padding-block: 64px; background: var(--slate-50); }
.section-kicker { margin-bottom: 16px; color: var(--blue-600); font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.muted-kicker { margin-bottom: 40px; color: var(--slate-400); text-align: center; }
.logo-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; color: var(--slate-400); font-size: 20px; filter: grayscale(1); }

.section-intro { max-width: 640px; margin-bottom: 64px; }
.section-intro h2, .process-intro h2 { color: var(--slate-900); font-size: 48px; font-weight: 800; line-height: 1.2; letter-spacing: -.04em; }
.section-lede { max-width: 590px; margin-top: 16px; color: var(--slate-500); font-size: 18px; line-height: 1.65; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { overflow: hidden; background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; box-shadow: 0 3px 12px rgba(15,23,43,.035); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(15,23,43,.1); }
.service-image { height: 160px; overflow: hidden; background: var(--slate-100); }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-image img { transform: scale(1.035); }
.service-content { padding: 24px; }
.icon-box { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 16px; background: var(--accent-soft); border-radius: 8px; }
.icon-box img { width: 16px; height: 16px; }
.service-card:nth-child(1) .icon-box img { filter: brightness(0) saturate(100%) invert(35%) sepia(83%) saturate(4246%) hue-rotate(219deg) brightness(95%) contrast(93%); }
.service-card:nth-child(2) .icon-box img { filter: brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(4000%) hue-rotate(255deg) brightness(91%) contrast(94%); }
.service-card:nth-child(3) .icon-box img { filter: brightness(0) saturate(100%) invert(48%) sepia(85%) saturate(1240%) hue-rotate(126deg) brightness(80%) contrast(96%); }
.service-card:nth-child(4) .icon-box img { filter: brightness(0) saturate(100%) invert(52%) sepia(98%) saturate(2450%) hue-rotate(9deg) brightness(95%) contrast(95%); }
.service-card:nth-child(5) .icon-box img { filter: brightness(0) saturate(100%) invert(30%) sepia(96%) saturate(3388%) hue-rotate(319deg) brightness(90%) contrast(90%); }
.service-card:nth-child(6) .icon-box img { filter: brightness(0) saturate(100%) invert(48%) sepia(76%) saturate(1708%) hue-rotate(149deg) brightness(87%) contrast(94%); }
.service-card:nth-child(7) .icon-box img { filter: brightness(0) saturate(100%) invert(46%) sepia(88%) saturate(704%) hue-rotate(84deg) brightness(82%) contrast(95%); }
.service-card:nth-child(8) .icon-box img { filter: brightness(0) saturate(100%) invert(31%) sepia(97%) saturate(2729%) hue-rotate(261deg) brightness(89%) contrast(95%); }
.service-card h3 { margin-bottom: 8px; font-size: 16px; line-height: 1.375; }
.service-card p { color: var(--slate-500); font-size: 14px; line-height: 1.65; }

.differentiators { position: relative; overflow: hidden; color: #fff; background: var(--slate-900); }
.radial-glow { position: absolute; width: 700px; height: 700px; top: -370px; right: -200px; background: radial-gradient(circle, rgba(37,99,235,.16), transparent 68%); pointer-events: none; }
.differentiators .container { position: relative; }
.dark-kicker { color: var(--blue-400); }
.section-intro .light-heading { color: #fff; }
.difference-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.difference-card { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 32px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; }
.difference-card > strong { color: rgba(255,255,255,.1); font-family: var(--mono); font-size: 48px; font-weight: 700; line-height: 1; }
.difference-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.difference-title img { width: 20px; height: 20px; filter: invert(64%) sepia(79%) saturate(1948%) hue-rotate(186deg) brightness(101%) contrast(101%); }
.difference-title h3 { font-size: 20px; }
.difference-card p { color: var(--slate-400); font-size: 15px; line-height: 1.7; }

.process { background: var(--slate-50); }
.process-intro { margin-bottom: 80px; text-align: center; }
.process-wrap { position: relative; max-width: 1100px; margin-inline: auto; }
.connector { position: absolute; top: 43px; left: 12.5%; right: 12.5%; height: 2px; background: var(--slate-200); }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.process-step { text-align: center; }
.step-icon { position: relative; width: 88px; height: 88px; display: grid; place-items: center; margin: 0 auto 24px; background: #fff; border: 2px solid var(--accent); border-radius: 50%; box-shadow: 0 0 0 8px var(--slate-50); }
.step-icon img { width: 32px; height: 32px; }
.process-step:nth-child(1) .step-icon img { filter: brightness(0) saturate(100%) invert(72%) sepia(76%) saturate(1950%) hue-rotate(357deg) brightness(100%) contrast(94%); }
.process-step:nth-child(2) .step-icon img { filter: brightness(0) saturate(100%) invert(48%) sepia(86%) saturate(2147%) hue-rotate(302deg) brightness(98%) contrast(88%); }
.process-step:nth-child(3) .step-icon img { filter: brightness(0) saturate(100%) invert(35%) sepia(83%) saturate(4246%) hue-rotate(219deg) brightness(95%) contrast(93%); }
.process-step:nth-child(4) .step-icon img { filter: brightness(0) saturate(100%) invert(58%) sepia(80%) saturate(671%) hue-rotate(112deg) brightness(86%) contrast(91%); }
.step-icon b { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; display: grid; place-items: center; color: #fff; background: var(--accent); border-radius: 50%; font-family: var(--mono); font-size: 12px; }
.process-step h3 { margin-bottom: 12px; font-size: 18px; }
.process-step p { color: var(--slate-500); font-size: 14px; line-height: 1.65; }

.final-cta { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; padding-block: 144px; color: #fff; background: var(--slate-900); }
.cta-background, .cta-overlay, .cta-accent { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-background { object-fit: cover; opacity: .2; }
.cta-overlay { background: linear-gradient(105deg, rgba(15,23,43,.97), rgba(15,23,43,.78)); }
.cta-accent { background: linear-gradient(90deg, transparent, rgba(37,99,235,.6), transparent) top / 100% 1px no-repeat, radial-gradient(circle at 75% 50%, rgba(37,99,235,.18), transparent 42%); }
.cta-container { position: relative; }
.cta-content { max-width: 768px; margin-inline: auto; text-align: center; }
.cta-content h2 { margin-bottom: 24px; font-size: 60px; font-weight: 800; line-height: 1.06; letter-spacing: -.045em; }
.cta-content > p:not(.section-kicker) { max-width: 650px; margin: 0 auto 48px; color: var(--slate-400); font-size: 18px; line-height: 1.65; }
.cta-content .section-kicker { margin-bottom: 24px; }
.cta-content .primary-button { margin-inline: auto; }
.cta-content .primary-button { padding-inline: 36px; }

.site-footer { padding-block: 64px; color: var(--slate-500); background: #020609; border-top: 1px solid rgba(148,163,184,.07); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; margin-bottom: 48px; }
.footer-wordmark { margin-bottom: 16px; color: #fff; font-weight: 600; }
.footer-about p { max-width: 360px; font-size: 14px; line-height: 1.7; }
.site-footer h2 { margin-bottom: 20px; color: var(--slate-600); font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.contact-list { display: grid; gap: 14px; }
.contact-row { display: flex; align-items: flex-start; gap: 10px; color: var(--slate-500); font-size: 14px; line-height: 1.6; }
.contact-row img { flex: 0 0 auto; margin-top: 2px; opacity: .8; }
.contact-row address { font-style: normal; }
a.contact-row:hover { color: #fff; }
.contact-label { display: block; margin-bottom: 3px; color: var(--slate-500); font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08); font-family: var(--mono); font-size: 12px; }
.footer-bottom div { display: flex; gap: 24px; }
.footer-bottom a:hover { color: #fff; }

.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .55s ease, transform .55s ease; transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

.hero-enter { --enter-x: 0; --enter-y: 20px; animation: hero-in .7s cubic-bezier(.22,1,.36,1) both; }
.hero-enter-left { --enter-x: -20px; --enter-y: 0; animation-delay: .05s; }
.hero-enter-right { --enter-x: 20px; --enter-y: 0; animation-delay: .1s; }
.hero-enter-up { animation-delay: .15s; }
.hero-enter-title { animation-delay: .25s; }
.hero-enter-copy { animation-delay: .35s; }
.hero-enter-proof { animation-delay: .45s; }
.hero-enter-button { animation-delay: .55s; }
@keyframes hero-in { from { opacity: 0; transform: translate(var(--enter-x), var(--enter-y)); } to { opacity: 1; transform: translate(0); } }
@keyframes pulse { 50% { opacity: .45; transform: scale(.82); } }

@media (max-width: 1199px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .hero-body { grid-template-columns: 1fr; min-height: 660px; }
  .hero-copy { padding: 80px 64px; }
  .hero-copy-inner { max-width: 680px; margin-left: 0; }
  .hero-collage { display: none; }
  .process-grid { grid-template-columns: 1fr; gap: 48px; max-width: 520px; margin-inline: auto; }
  .connector { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .section { padding-block: 112px; }
  .hero-nav { padding-inline: 24px; }
  .hero-copy { padding: 80px 32px; }
  .section-intro h2, .process-intro h2 { font-size: 36px; }
  .service-grid, .difference-grid { grid-template-columns: 1fr; }
  .difference-card { grid-template-columns: 56px 1fr; padding: 26px 22px; }
  .difference-card > strong { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-content h2 { font-size: 42px; }
}

@media (max-width: 639px) {
  .hero-email { display: none; }
  .hero-body { min-height: 0; }
  .hero h1 { font-size: 48px; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat { padding: 0 20px; }
  .stat + .stat { border-left: 0; }
  .stat strong { font-size: 36px; }
  .client-logos, .trust-bar { padding-block: 64px; }
  .final-cta { padding-block: 144px; }
  .logo-list { gap: 24px 34px; font-size: 17px; }
  .difference-card { grid-template-columns: 1fr; gap: 14px; }
  .cta-content h2 { font-size: 36px; }
  .cta-content > p:not(.section-kicker) { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
