:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #15151a;
  --muted: #6d6d76;
  --line: #e5e2dc;
  --purple: #7357ff;
  --pink: #ff4f9a;
  --cyan: #38d9ff;
  --lime: #c8f85b;
  --yellow: #ffd75a;
  --dark: #17171d;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
img, iframe { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(21,21,26,.08);
}
.nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.logo {
  justify-self: start;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.045em;
}
.main-nav { display: flex; gap: 35px; }
.main-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  color: #44444d;
  padding: 7px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: linear-gradient(90deg, var(--purple), var(--pink));
  transition: right .25s ease;
}
.main-nav a:hover::after { right: 0; }
.nav-cta {
  justify-self: end;
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 9px 25px rgba(21,21,26,.18); background: var(--purple); }

.hero {
  position: relative; overflow: hidden; min-height: 720px;
  display: flex; align-items: center; border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(21,21,26,.035) 1px, transparent 1px),
              linear-gradient(90deg, rgba(21,21,26,.035) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(5px); pointer-events: none; }
.glow-one { width: 300px; height: 300px; background: var(--cyan); right: 5%; top: 4%; opacity: .13; }
.glow-two { width: 280px; height: 280px; background: var(--pink); left: 1%; bottom: -10%; opacity: .11; }
.hero-content { position: relative; z-index: 2; padding: 105px 0 80px; }
.hero-kicker, .eyebrow {
  margin: 0 0 20px; color: var(--muted); font-size: 10px;
  font-weight: 800; letter-spacing: .19em;
}
.hero-kicker span {
  display: inline-block; width: 5px; height: 5px; margin: 0 7px 2px;
  border-radius: 50%; background: var(--pink);
}
.hero h1 {
  max-width: 1000px; margin: 0;
  font-size: clamp(50px, 7.3vw, 92px);
  line-height: 1.01; letter-spacing: -.075em; font-weight: 800;
}
.hero h1 em {
  color: var(--purple); font-style: normal;
}
.hero h1 mark {
  position: relative; display: inline;
  color: inherit; background: transparent;
  z-index: 0;
}
.hero h1 mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em;
  height: .11em; min-height: 6px; border-radius: 99px;
  background: linear-gradient(90deg, var(--yellow), var(--pink));
  transform: rotate(-1deg); z-index: -1;
}
.hero-sub {
  max-width: 650px; margin: 32px 0 0; color: var(--muted); font-size: 17px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  min-height: 58px; padding: 0 28px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 999px;
  font-size: 13px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--purple); color: white; box-shadow: 0 10px 25px rgba(115,87,255,.2); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(115,87,255,.28); background: #6245ef; }
.btn-secondary { background: var(--yellow); color: #1a1a1a; border: 1px solid #e6bd38; box-shadow: 0 10px 25px rgba(255,215,90,.18); }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(255,215,90,.28); background: #ffcc3a; }
.hero-scroll { margin-top: 75px; font-size: 9px; font-weight: 800; letter-spacing: .18em; color: #9999a0; }

.section { padding: 115px 0; border-bottom: 1px solid var(--line); }
.section-title h2 {
  margin: 0; font-size: clamp(42px, 5vw, 64px);
  line-height: 1; letter-spacing: -.065em; font-weight: 800;
}
.section-title h2 span { color: var(--purple); }

.portfolio { background: #fff; }
.portfolio-group { margin-top: 70px; }
.group-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 20px;
  margin-bottom: 25px; border-bottom: 1px solid var(--line); padding-bottom: 15px;
}
.group-heading h3 { margin: 0; font-size: 25px; letter-spacing: -.04em; font-weight: 700; }
.group-heading span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.long-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 22px; }
.short-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; }
.short-group { margin-top: 95px; }
.video-card { min-width: 0; }
.video-frame {
  width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #e9e9e9;
  border-radius: 14px; box-shadow: 0 12px 30px rgba(20,20,30,.08);
}
.video-frame.vertical { aspect-ratio: 9 / 16; }
.video-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-card > span { display: block; padding-top: 11px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .14em; }

.services { background: #f4f2ff; }
.service-list { margin-top: 65px; border-top: 1px solid #d9d5eb; }
.service-item { display: grid; grid-template-columns: 100px 1fr; gap: 35px; padding: 31px 0; border-bottom: 1px solid #d9d5eb; }
.service-number { color: var(--purple); font-weight: 800; font-size: 12px; }
.service-item h3 { margin: 0 0 8px; font-size: 25px; letter-spacing: -.04em; }
.service-item p { max-width: 650px; color: var(--muted); margin: 0; font-size: 14px; }

.about { background: var(--dark); color: white; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about .eyebrow { color: #9999a3; }
.about h2 span { color: var(--lime); }
.about-copy { max-width: 580px; }
.about-copy p { color: #b9b9c1; font-size: 17px; margin: 0 0 25px; }

.process { background: #fff; }
.process-ladder { position: relative; max-width: 950px; margin: 80px auto 0; padding: 0 0 10px; }
.ladder-line {
  position: absolute; left: 50%; top: 0; bottom: 25px; width: 3px;
  background: linear-gradient(var(--purple), var(--pink), var(--yellow));
  transform: translateX(-50%); border-radius: 5px;
}
.process-step { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 155px; align-items: center; }
.process-step:nth-child(odd) .step-card { grid-column: 2; padding-left: 55px; }
.process-step:nth-child(even) .step-card { grid-column: 1; grid-row: 1; padding-right: 55px; text-align: right; }
.step-marker {
  position: absolute; left: 50%; top: 50%; width: 54px; height: 54px;
  transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%;
  background: white; border: 3px solid var(--purple); color: var(--purple);
  font-size: 11px; font-weight: 900; z-index: 2; box-shadow: 0 0 0 8px white;
}
.process-step:nth-child(3) .step-marker { border-color: var(--pink); color: var(--pink); }
.process-step:nth-child(4) .step-marker { border-color: var(--yellow); color: #c49700; }
.process-step:nth-child(5) .step-marker { border-color: var(--cyan); color: #0792b1; }
.step-card h3 { margin: 0 0 7px; font-size: 25px; }
.step-card p { color: var(--muted); font-size: 13px; margin: 0; max-width: 330px; }
.process-step:nth-child(even) .step-card p { margin-left: auto; }

.final-cta {
  background: radial-gradient(circle at 20% 20%, rgba(56,217,255,.22), transparent 30%),
              radial-gradient(circle at 80% 75%, rgba(255,79,154,.22), transparent 30%), var(--purple);
  color: white; padding: 125px 0; text-align: center;
}
.final-cta .eyebrow { color: rgba(255,255,255,.68); }
.final-cta h2 { margin: 0; font-size: clamp(48px, 7vw, 82px); line-height: .95; letter-spacing: -.07em; font-weight: 800; }
.final-cta h2 span { color: var(--lime); }
.btn-dark { background: var(--ink); color: white; margin-top: 35px; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0,0,0,.25); }

footer { background: #101015; color: white; }
.footer-inner { min-height: 170px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }
.footer-logo { color: white; }
.footer-inner > div p { margin: 5px 0 0; color: #777780; font-size: 11px; }
.footer-email-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 21px; border: 1px solid #3a3a43; border-radius: 100px; font-size: 12px; font-weight: 700;
  transition: .2s;
}
.footer-email-btn:hover { background: white; color: #111; border-color: white; }
.copyright { justify-self: end; color: #65656e; font-size: 10px; }

@media (max-width: 1024px) {
  .container { width: min(var(--max), calc(100% - 36px)); }
  .hero { min-height: 650px; }
  .hero-content { padding: 90px 0 70px; }
  .short-grid { grid-template-columns: repeat(3, 1fr); }
  .short-grid .video-card:last-child { grid-column: 2; }
  .about-grid { gap: 55px; }
}
@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 30px)); }
  .site-header { position: relative; }
  .nav { min-height: 68px; grid-template-columns: 1fr auto; }
  .main-nav { display: none; }

  .hero { min-height: auto; }
  .hero-content { padding: 72px 0 62px; }
  .hero h1 { font-size: clamp(43px, 11vw, 64px); line-height: 1.02; letter-spacing: -.065em; }
  .hero-sub { margin-top: 25px; font-size: 15px; line-height: 1.65; }
  .hero-actions { margin-top: 27px; gap: 10px; }
  .btn { min-height: 54px; padding: 0 21px; }
  .hero-scroll { margin-top: 52px; }

  .section { padding: 80px 0; }
  .section-title h2 { font-size: clamp(39px, 10vw, 56px); }
  .portfolio-group { margin-top: 52px; }
  .short-group { margin-top: 75px; }
  .long-grid { grid-template-columns: 1fr; gap: 30px; }
  .short-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .short-grid .video-card:last-child { grid-column: auto; }
  .group-heading h3 { font-size: 21px; }
  .group-heading span { font-size: 8px; }

  .service-list { margin-top: 45px; }
  .service-item { grid-template-columns: 48px 1fr; gap: 15px; padding: 25px 0; }
  .service-item h3 { font-size: 21px; }
  .service-item p { font-size: 13px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-copy p { font-size: 15px; }

  .process-ladder { margin-top: 55px; }
  .ladder-line { left: 27px; transform: none; }
  .process-step { grid-template-columns: 54px 1fr; min-height: 145px; }
  .step-marker { left: 27px; transform: translate(-50%, -50%); }
  .process-step:nth-child(odd) .step-card,
  .process-step:nth-child(even) .step-card {
    grid-column: 2; grid-row: 1; padding: 0 0 0 32px; text-align: left;
  }
  .process-step:nth-child(even) .step-card p { margin-left: 0; }
  .step-card h3 { font-size: 21px; }

  .final-cta { padding: 90px 0; }
  .final-cta h2 { font-size: clamp(43px, 10vw, 65px); }

  .footer-inner { min-height: auto; grid-template-columns: 1fr; padding: 38px 0; gap: 22px; }
  .copyright { justify-self: start; margin: 0; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }
  .logo { font-size: 20px; }
  .nav-cta { min-height: 42px; padding: 0 15px; }
  .hero-content { padding: 60px 0 55px; }
  .hero-kicker { font-size: 8px; letter-spacing: .14em; }
  .hero h1 { font-size: clamp(39px, 12.5vw, 53px); }
  .hero h1 br { display: none; }
  .hero-sub { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; min-height: 56px; }
  .hero-scroll { margin-top: 42px; }

  .section { padding: 68px 0; }
  .short-grid { grid-template-columns: 1fr; max-width: 285px; margin: 0 auto; }
  .short-grid .video-card { width: 100%; }
  .group-heading { align-items: center; }
  .group-heading span { display: none; }

  .service-item { grid-template-columns: 35px 1fr; gap: 10px; }
  .service-number { font-size: 10px; }
  .service-item h3 { font-size: 19px; }
  .service-item p { font-size: 12.5px; }

  .process-step { min-height: 155px; }
  .step-card p { font-size: 12.5px; }

  .final-cta { padding: 75px 0; }
  .footer-email-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
