/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, p { text-wrap: balance; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.05);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 20%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.15) 80%, rgba(255, 255, 255, 0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; padding-block: clamp(64px, 10vw, 128px); }
section:not(.hero)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 70%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-bright), transparent);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
h3 { font-size: 19px; margin-bottom: 8px; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-bright);
  margin-bottom: 14px;
}
.section-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p:not(.section-kicker) { color: var(--text-dim); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(122, 31, 162, 0.65);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(122, 31, 162, 0.8); }
.btn--ghost {
  border: 1px solid var(--line-bright);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 18px;
  transition: padding var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-block: 12px;
  background: rgba(11, 10, 20, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  width: min(760px, 92%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-bright), transparent);
  pointer-events: none;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo-img { width: 38px; height: 38px; border-radius: 50%; }
.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.nav__links { display: flex; align-items: center; gap: 32px; margin-inline: auto; }
.nav__links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dim);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { flex-shrink: 0; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px;
}
.nav__burger span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 110px;
  padding-bottom: 132px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.blob--hero-a { width: 46vw; height: 46vw; top: -10%; right: -8%; background: var(--indigo-bright); }
.blob--hero-b { width: 38vw; height: 38vw; bottom: -18%; left: -10%; background: var(--violet); }
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

/* Blurred glow card behind the hero copy — keeps text readable over the video */
.hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(984px, 78vw);
  height: min(527px, 48vw);
  background: var(--bg);
  opacity: 0.85;
  filter: blur(82px);
  pointer-events: none;
  z-index: -1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-bright);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-grad);
}
.hero__title { font-size: clamp(42px, 8vw, 110px); line-height: 1.03; letter-spacing: -0.02em; margin-bottom: 24px; }
.hero__title .grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-dim); max-width: 46ch; margin-inline: auto; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Hero bottom marquee ---------- */
.hero__marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding-block: 30px;
}
.hero__marquee-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero__marquee-label {
  flex-shrink: 0;
  max-width: 180px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-faint);
}
.marquee { flex: 1; overflow: hidden; min-width: 0; }
.marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
}
.marquee__set {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  flex-shrink: 0;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee__glyph {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.marquee__glyph.liquid-glass {
  background: linear-gradient(135deg, rgba(75, 79, 214, 0.4), rgba(163, 63, 214, 0.4));
  background-blend-mode: normal;
}

/* ---------- About ---------- */
.about__inner { max-width: 760px; }
.about__inner h2 { max-width: 16ch; }
.about__inner > p { color: var(--text-dim); font-size: 17px; max-width: 60ch; margin-bottom: 44px; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.fact-card:hover { border-color: var(--line-bright); transform: translateY(-3px); }
.fact-card__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent-grad-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.35s var(--ease);
}
.fact-card:hover .fact-card__icon { transform: scale(1.08) rotate(-4deg); }
.fact-card__icon svg { width: 20px; height: 20px; stroke: var(--violet-bright); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fact-card h3 { font-size: 16px; margin-bottom: 4px; }
.fact-card p { color: var(--text-faint); font-size: 14.5px; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-soft) 100%);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-bright);
  background: linear-gradient(160deg, var(--bg-card-hover) 0%, var(--bg-soft) 100%);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--accent-grad);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--accent-grad-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.35s var(--ease);
}
.service-card:hover .service-card__icon { transform: scale(1.08) rotate(-4deg); }
.service-card__icon svg { width: 30px; height: 30px; stroke: var(--violet-bright); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 18px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.service-card p { color: var(--text-dim); font-size: 14.5px; }
.service-card--wide { grid-column: span 1; }
.service-card__badge {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-grad-soft);
  color: var(--violet-bright);
  letter-spacing: 0.02em;
}

/* ---------- Artwork requirements ---------- */
.artwork__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.req-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.req-card:hover { border-color: var(--line-bright); transform: translateY(-3px); }
.req-card__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--accent-grad-soft);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease);
}
.req-card:hover .req-card__icon { transform: scale(1.08) rotate(-4deg); }
.req-card__icon svg { width: 23px; height: 23px; stroke: var(--violet-bright); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.req-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.req-card p { color: var(--text-faint); font-size: 14px; }

/* ---------- Process ---------- */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 20px;
}
.process__line { position: absolute; top: 27px; left: 0; right: 0; width: 100%; height: 6px; z-index: 0; }
.process__line svg { width: 100%; height: 6px; display: block; }
.process-step { position: relative; z-index: 1; }
.process-step__num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--violet-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--accent-grad) border-box;
  border: 2px solid transparent;
}
.process-step h3 { font-size: 16px; }
.process-step p { color: var(--text-faint); font-size: 14px; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding-block: clamp(48px, 6vw, 88px); overflow: hidden; }
.cta__inner {
  max-width: 680px;
  margin-inline: auto;
  position: relative;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 56px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-soft) 100%);
}
.cta__inner p { color: var(--text-dim); font-size: 17px; margin-bottom: 36px; }
.cta .blob { top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(520px, 60vw); height: min(340px, 40vw); z-index: -1; opacity: 0.3; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 32px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-faint); font-size: 13.5px; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-weight: 700; }
.footer__brand img { width: 24px; height: 24px; border-radius: 50%; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about__facts { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .artwork__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process__line { display: none; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    margin: 0;
    padding: 16px var(--gutter) 24px;
    background: rgba(11, 10, 20, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links a { padding: 10px 0; width: 100%; }
  .nav__cta span { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .hero { padding-top: 96px; padding-bottom: 170px; }
  .hero__marquee-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero__marquee-label { max-width: none; }
}

@media (hover: none) {
  .service-card:hover { transform: none; }
}
