:root {
  --purple: #7a24ff;
  --purple-dark: #5d12e7;
  --lime: #baff00;
  --ink: #0b0b0d;
  --muted: #626267;
  --line: #e8e8ec;
  --paper: #ffffff;
  --shadow: 0 18px 50px rgba(30, 20, 50, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 91%, rgba(122, 36, 255, .09), transparent 13rem),
    linear-gradient(180deg, #fff 0%, #fefefe 100%);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: radial-gradient(#7a24ff 0.65px, transparent 0.65px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent 0, #000 50%, transparent 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.section-shell { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }

.site-header {
  width: min(1180px, calc(100% - 44px));
  height: 92px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 190px 1fr 190px;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; flex-direction: column; width: fit-content; line-height: .95; }
.brand > span { font-size: 29px; font-weight: 900; letter-spacing: -.07em; }
.brand-dot { color: var(--purple); }
.brand small { margin-top: 6px; font-size: 9px; letter-spacing: .015em; }
.nav { display: flex; justify-content: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a { position: relative; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -12px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--lime));
  transition: right .25s ease;
}
.nav a:hover::after, .nav a:first-child::after { right: 0; }
.outline-button, .primary-button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.outline-button { background: #fff; border-color: transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(115deg, var(--lime), var(--purple)); background-origin: border-box; background-clip: padding-box, border-box; }
.primary-button { color: #fff; background: linear-gradient(110deg, var(--purple-dark), #8d2eff); box-shadow: 0 10px 24px rgba(122, 36, 255, .2); }
.outline-button:hover, .primary-button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(94, 28, 190, .16); }
.outline-button svg, .primary-button svg { width: 17px; height: 17px; color: var(--purple); }
.primary-button svg { color: var(--lime); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button svg { width: 26px; height: 26px; }

.hero { min-height: 495px; display: grid; grid-template-columns: 42% 58%; align-items: center; padding: 42px 0 8px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .kicker { margin: 0 0 10px; color: #7aa800; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.eyebrow mark { position: relative; border-radius: 4px; background: var(--lime); color: var(--ink); padding: 1px 4px; font-weight: 900; }
.eyebrow mark::after { content: "✦"; position: absolute; right: -18px; top: -11px; color: var(--lime); font-size: 18px; }
h1, h2 { margin: 0; letter-spacing: -.055em; line-height: .96; }
h1 { font-size: clamp(52px, 5.8vw, 78px); }
h1 span, h2 span { color: var(--purple); }
h1 span { display: inline-block; position: relative; }
h1 span::after, .section-heading h2 span::after {
  content: "";
  position: absolute;
  left: 12%; right: 1%; bottom: -11px;
  height: 7px;
  border-top: 3px solid var(--lime);
  border-radius: 50%;
  transform: rotate(-2deg);
}
.hero-intro { margin: 30px 0 24px; max-width: 440px; font-size: 16px; line-height: 1.65; color: #333; }
.hero-actions { display: flex; gap: 16px; }
.tools { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.tools small { margin-right: 6px; color: #65656a; text-transform: uppercase; font-size: 10px; }
.tools span { min-width: 28px; height: 28px; padding: 0 5px; border: 1px solid #aaa; border-radius: 6px; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.tools span:last-child { border: 0; font-size: 12px; }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.hero-frame { width: 100%; border-radius: 44px; overflow: hidden; }
.hero-frame img { width: 100%; aspect-ratio: 1.3; object-fit: cover; object-position: center; }
.spark { position: absolute; color: var(--lime); font-size: 45px; line-height: 1; z-index: 2; }
.spark-one { right: -18px; bottom: -20px; transform: rotate(12deg); }
.spark-two { right: -12px; top: -20px; color: var(--purple); font-size: 30px; }

.services { margin-top: 18px; padding: 32px 20px; border-radius: 28px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.service-card { padding: 0 30px; border-right: 1px solid var(--line); }
.service-card:last-child { border: 0; }
.line-icon { width: 54px; height: 54px; color: var(--purple); filter: drop-shadow(5px 5px 0 rgba(186,255,0,.6)); }
.service-card h3 { margin: 15px 0 10px; text-transform: uppercase; font-size: 15px; }
.service-card p { margin: 0; min-height: 44px; color: #444; font-size: 12px; line-height: 1.55; }
.service-card i, .project-card i { display: block; width: 35px; height: 2px; margin-top: 18px; background: var(--purple); }

.portfolio { padding-top: 72px; display: grid; grid-template-columns: 265px minmax(0, 1fr); gap: 42px; align-items: center; }
.section-heading .kicker { margin-bottom: 11px; color: #91c600; font-size: 12px; font-weight: 850; }
.section-heading h2 { font-size: clamp(35px, 4.5vw, 50px); line-height: 1.02; }
.section-heading h2 span { display: inline-block; position: relative; }
.section-heading > p:not(.kicker) { margin: 22px 0; color: #3f3f44; font-size: 13px; line-height: 1.6; }
.compact { min-height: 46px; width: 100%; }
.project-area { position: relative; min-width: 0; }
.project-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(195px, 1fr); gap: 16px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding: 8px 4px 18px; }
.project-grid::-webkit-scrollbar { display: none; }
.project-card { overflow: hidden; background: #fff; border-radius: 17px; box-shadow: 0 12px 28px rgba(24, 12, 45, .09); scroll-snap-align: start; transition: transform .25s ease; }
.project-card:hover { transform: translateY(-6px); }
.project-card img { width: 100%; aspect-ratio: 1 / .9; object-fit: cover; border-radius: 17px; }
.project-card div { padding: 13px 15px 15px; }
.project-card small { color: #666; font-size: 9px; }
.project-card h3 { margin: 5px 0 0; font-size: 12px; text-transform: uppercase; }
.project-card i { margin-top: 8px; width: 24px; }
.slider-button { position: absolute; z-index: 3; top: 41%; width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 8px 20px rgba(70, 20, 120, .18); }
.slider-button.prev { left: -20px; background: #9b4cff; }
.slider-button.next { right: -20px; color: #111; background: var(--lime); }

.workflow { padding-top: 78px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 35px; }
.process-list { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.process-list::before { content: ""; position: absolute; left: 8%; right: 8%; top: 18px; border-top: 1px dashed #b7d744; }
.process-step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step-number { width: 38px; height: 38px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #9243ff, #6412e7); font-size: 12px; font-weight: 800; }
.process-icon { width: 38px; height: 38px; color: #9ac900; }
.process-step h3 { margin: 10px 0 8px; text-transform: uppercase; font-size: 11px; }
.process-step p { margin: 0; color: #444; font-size: 10px; line-height: 1.5; }

.testimonials { padding-top: 68px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 35px; align-items: center; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote-card { min-height: 168px; padding: 22px; border: 1px solid #eee; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 12px 30px rgba(24,12,45,.08); display: flex; flex-direction: column; }
.quote-mark { height: 20px; color: var(--purple); font-size: 34px; line-height: 1; }
.quote-card > p { margin: 3px 0 15px; flex: 1; font-size: 12px; line-height: 1.5; }
.client { display: flex; align-items: center; gap: 10px; }
.client > span { width: 36px; height: 36px; border: 2px solid var(--purple); border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ffe6c8, #fff); color: #5d12e7; font-size: 11px; font-weight: 900; }
.client div { display: flex; flex-direction: column; }
.client strong { font-size: 11px; }
.client small { margin-top: 3px; font-size: 8px; text-transform: uppercase; }

.contact { margin-top: 64px; padding: 40px 58px; border-radius: 32px; color: #fff; background: radial-gradient(circle at 20% 0, #292929, transparent 50%), #111; display: grid; grid-template-columns: 1.05fr .85fr 1.4fr; gap: 42px; align-items: center; box-shadow: 0 24px 55px rgba(0,0,0,.2); }
.contact h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -.04em; }
.contact h2 span:last-child { color: #a455ff; }
.contact h2 .lime { color: var(--lime); }
.contact-intro p { margin: 22px 0 0; max-width: 300px; color: #d0d0d0; font-size: 13px; line-height: 1.65; }
.scribble { display: block; width: 190px; height: 15px; margin-top: 12px; border-top: 2px solid #91c600; border-radius: 50%; transform: rotate(-2deg); }
.contact-list { display: flex; flex-direction: column; gap: 17px; }
.contact-list a, .contact-list > div { display: flex; align-items: center; gap: 13px; }
.contact-list b { width: 27px; color: var(--lime); font-size: 24px; text-align: center; }
.contact-list span { display: flex; flex-direction: column; }
.contact-list strong { font-size: 11px; }
.contact-list small { margin-top: 4px; color: #cfcfcf; font-size: 9px; }
.contact-form { display: grid; gap: 9px; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #666; border-radius: 9px; outline: none; color: #fff; background: rgba(255,255,255,.025); padding: 12px 14px; font-size: 11px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--lime); }
.contact-form option { color: #111; }
.contact-form textarea { min-height: 75px; resize: vertical; }
.contact-form .primary-button { width: 100%; min-height: 46px; border: 0; }
.form-success { position: absolute; right: 0; bottom: -29px; margin: 0; color: var(--lime); font-size: 10px; }

.footer { min-height: 90px; display: grid; grid-template-columns: 1fr 1.5fr 1fr 45px; gap: 20px; align-items: center; }
.footer .brand > span { font-size: 24px; }
.footer p { margin: 0; color: #777; text-align: center; font-size: 10px; }
.footer p span { color: var(--purple); }
.back-top { width: 34px; height: 34px; justify-self: end; border: 1px solid #98c900; border-radius: 50%; display: grid; place-items: center; font-size: 18px; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 165px 1fr 165px; gap: 14px; }
  .nav { gap: 14px; }
  .nav a { font-size: 9px; }
  .hero { grid-template-columns: 45% 55%; }
  h1 { font-size: 55px; }
  .service-card { padding: 0 20px; }
  .portfolio { grid-template-columns: 230px minmax(0,1fr); gap: 25px; }
  .workflow, .testimonials { grid-template-columns: 190px minmax(0,1fr); }
  .process-step { padding: 0 4px; }
  .contact { padding: 38px; gap: 28px; }
}

@media (max-width: 820px) {
  .section-shell, .site-header { width: min(100% - 30px, 680px); }
  .site-header { height: 78px; grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .menu-button { display: block; position: relative; z-index: 3; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); flex-direction: column; align-items: center; }
  .nav.open { display: flex; }
  .nav a { font-size: 11px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 42px; }
  .hero-copy { text-align: center; }
  .hero-copy .hero-intro { margin-inline: auto; }
  .hero-actions, .tools { justify-content: center; }
  .hero-visual { margin-top: 35px; }
  .services { grid-template-columns: 1fr 1fr; gap: 0; padding: 20px; }
  .service-card { padding: 25px; }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .portfolio, .workflow, .testimonials { grid-template-columns: 1fr; gap: 28px; }
  .portfolio { padding-top: 60px; }
  .section-heading { text-align: center; }
  .section-heading > p:not(.kicker) { max-width: 420px; margin-inline: auto; }
  .compact { width: fit-content; margin-inline: auto; }
  .process-list { grid-template-columns: repeat(3, 1fr); row-gap: 38px; }
  .process-list::before { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .quote-card { min-height: 145px; }
  .contact { grid-template-columns: 1fr; text-align: center; }
  .contact-intro p, .scribble { margin-left: auto; margin-right: auto; }
  .contact-list { width: min(300px, 100%); margin-inline: auto; text-align: left; }
  .footer { grid-template-columns: 1fr auto; padding: 24px 0; }
  .footer p { display: none; }
}

@media (max-width: 540px) {
  .section-shell, .site-header { width: min(100% - 24px, 430px); }
  h1 { font-size: clamp(45px, 13.6vw, 64px); }
  .eyebrow { font-size: 12px; }
  .hero-intro { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; }
  .tools small { width: 100%; }
  .hero-frame { border-radius: 24px; }
  .services { grid-template-columns: 1fr; border-radius: 22px; }
  .service-card { border-right: 0; border-bottom: 1px solid var(--line); text-align: center; }
  .service-card:last-child { border-bottom: 0; }
  .service-card i { margin-left: auto; margin-right: auto; }
  .project-grid { grid-auto-columns: 78%; }
  .slider-button.next { right: -8px; }
  .slider-button.prev { left: -8px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-step p { font-size: 11px; }
  .contact { width: calc(100% - 16px); padding: 34px 22px; border-radius: 26px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
