:root {
  --bg: #050608;
  --fg: #f5f7fa;
  --muted: #a7b0be;
  --stroke: rgba(245, 247, 250, 0.12);

  --blue: #4b6698;
  --purple: #cc92c4;
  --orange: #bc734a;

  --radius: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: radial-gradient(
      900px 600px at 18% 0%,
      rgba(75, 102, 152, 0.08),
      transparent 55%
    ),
    radial-gradient(
      900px 600px at 82% 20%,
      rgba(204, 146, 196, 0.06),
      transparent 60%
    ),
    var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}
.section {
  position: relative;
  padding: 92px 0;
  overflow: hidden;
}
.section.tight {
  padding: 18px 0;
}

.h1,
.h2,
.h3 {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}
.h1 {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  line-height: 1.05;
}
.h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.15;
}
.h3 {
  font-size: 1.12rem;
  line-height: 1.2;
}

.kicker {
  color: var(--muted);
  margin: 0 0 12px 0;
}
.subhead {
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 18px 0;
}
.muted {
  color: var(--muted);
  margin: 0;
}
.fine {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 0.95rem;
}
.section-head {
  margin-bottom: 22px;
}

/* NAV */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(var(--container), calc(100% - 24px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;

  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(5, 6, 8, 0.38);
  backdrop-filter: blur(12px);
  transition: background 220ms ease, border-color 220ms ease,
    transform 220ms ease;
}
.nav.solid {
  background: rgba(5, 6, 8, 0.78);
  border-color: var(--stroke);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-center {
  display: none;
  justify-content: center;
  gap: 18px;
}
.nav-right {
  display: flex;
  justify-content: flex-end;
}

.nav-logo-link {
  display: flex;
  align-items: center;
}
/* BIGGER logo */
.nav-logo {
  height: 72px; /* ~1.6x */
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 18px rgba(245, 247, 250, 0.348));
  opacity: 0.98;
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 8px 2px;
  transition: color 180ms ease;
}
.nav-link:hover {
  color: var(--fg);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  height: 1px;
  width: 0%;
  background: rgba(245, 247, 250, 0.7);
  transition: width 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-link:hover::after {
  width: 100%;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  background: rgba(245, 247, 250, 0.02);
  transition: transform 180ms ease, border-color 180ms ease,
    background 180ms ease;
}
.icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 247, 250, 0.22);
  background: rgba(245, 247, 250, 0.04);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--fg);
  opacity: 0.85;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease,
    background 180ms ease, opacity 180ms ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 247, 250, 0.22);
}
.btn:active {
  transform: translateY(0px);
}

.btn-primary {
  border-color: transparent;
  background: var(--fg);
  color: #050608;
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
}
.btn-block {
  width: 100%;
}
.btn-compact {
  padding: 10px 14px;
  font-size: 0.92rem;
}

.btn-shine {
  position: absolute;
  inset: -60% -40%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 65%
  );
  transform: translateX(-40%);
  opacity: 0;
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms ease;
}
.btn:hover .btn-shine {
  opacity: 0.55;
  transform: translateX(40%);
}

/* HERO */
.hero {
  padding-top: 120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}
.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.panel {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  backdrop-filter: blur(10px);
  padding: 18px;
}

/* Form */
.form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.field {
  display: grid;
  gap: 6px;
}
label span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
}
input,
select,
textarea {
  width: 100%;
  background: rgba(5, 6, 8, 0.78);
  color: var(--fg);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 180ms ease;
}
textarea {
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(245, 247, 250, 0.3);
}
input.invalid,
select.invalid,
textarea.invalid {
  border-color: rgba(188, 115, 74, 0.55);
}

.error {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(245, 247, 250, 0.78);
  opacity: 0.9;
}
.success {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(75, 102, 152, 0.35);
  background: rgba(75, 102, 152, 0.1);
  color: var(--fg);
  font-size: 0.95rem;
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 14px 0;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 14%,
    rgba(0, 0, 0, 1) 86%,
    rgba(0, 0, 0, 0)
  );
}
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 22s linear infinite;
  will-change: transform;
}
.chip {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(245, 247, 250, 0.02);
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease,
    background 180ms ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 247, 250, 0.2);
  background: rgba(245, 247, 250, 0.04);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--blue);
  opacity: 0.9;
}
.card[data-accent="purple"]::before {
  background: var(--purple);
}
.card[data-accent="orange"]::before {
  background: var(--orange);
}
.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.card li {
  margin: 6px 0;
}

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.work-tile {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: rgba(245, 247, 250, 0.02);
  transition: transform 180ms ease, border-color 180ms ease;
}
.work-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 247, 250, 0.2);
}
.work-tile img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.05);
}
.work-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(5, 6, 8, 0.95), rgba(5, 6, 8, 0.1));
}
.work-overlay h3 {
  margin: 8px 0 6px;
}
.work-overlay p {
  margin: 0;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  color: var(--fg);
  background: rgba(5, 6, 8, 0.45);
}
.tag[data-accent="blue"] {
  border-color: rgba(75, 102, 152, 0.55);
}
.tag[data-accent="purple"] {
  border-color: rgba(204, 146, 196, 0.55);
}
.tag[data-accent="orange"] {
  border-color: rgba(188, 115, 74, 0.55);
}

/* Process pinned */
.process-pinned {
  padding-bottom: 0;
  overflow: visible;
} /* important for sticky */
.process-stage {
  height: 260vh;
  position: relative;
  overflow: visible;
}
.process-stage-inner {
  position: sticky;
  top: 110px;
  padding: 18px 0 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  overflow: visible;
}

.process-left {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  padding: 18px;
}
.process-kicker {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.process-title {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.process-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.process-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.bar {
  width: 120px;
  height: 6px;
  border-radius: 999px;
  background: rgba(245, 247, 250, 0.08);
  overflow: hidden;
  border: 1px solid rgba(245, 247, 250, 0.1);
}
.bar-fill {
  height: 100%;
  width: 0%;
  background: rgba(245, 247, 250, 0.75);
  transition: width 220ms ease;
}
.bar-meta {
  min-width: 56px;
  text-align: right;
  opacity: 0.85;
}

.process-right {
  display: grid;
  gap: 12px;
}
.pstep {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  padding: 16px;
  opacity: 0.35;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease, border-color 260ms ease,
    background 260ms ease;
  position: relative;
  overflow: hidden;
}
.pstep::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--blue);
  opacity: 0.9;
}
.pstep[data-accent="purple"]::before {
  background: var(--purple);
}
.pstep[data-accent="orange"]::before {
  background: var(--orange);
}
.pstep.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(245, 247, 250, 0.22);
  background: rgba(245, 247, 250, 0.05);
}
.pnum {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--muted);
}
.pstep.is-active[data-accent="blue"] .pnum {
  color: var(--blue);
}
.pstep.is-active[data-accent="purple"] .pnum {
  color: var(--purple);
}
.pstep.is-active[data-accent="orange"] .pnum {
  color: var(--orange);
}

/* Articles */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.article-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease,
    background 180ms ease;
}
.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 247, 250, 0.2);
  background: rgba(245, 247, 250, 0.04);
}
.article-card h3 {
  margin: 10px 0 6px;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px;
  background: transparent;
  border: 0;
  color: var(--fg);
  font-weight: 600;
  cursor: pointer;
}
.faq-q:hover {
  background: rgba(245, 247, 250, 0.03);
}
.faq-icon {
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(245, 247, 250, 0.6);
  border-bottom: 2px solid rgba(245, 247, 250, 0.6);
  transform: rotate(-45deg);
  transition: transform 220ms ease;
  margin-left: 10px;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  overflow: hidden;
  height: 0px;
  transition: height 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq-inner {
  padding: 0 16px 16px;
  color: var(--muted);
}

/* Final CTA */
.final-cta {
  padding-bottom: 110px;
}
.final-box {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  padding: 26px;
  max-width: 760px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 32px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}
.footer-logo {
  height: 98px; /* big by default */
  width: auto;
  opacity: 0.95;
  display: block;
  margin-bottom: 12px;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.55));
}

.footer-title {
  font-weight: 600;
  color: rgba(245, 247, 250, 0.92);
  margin-bottom: 8px;
}
.footer-area {
  max-width: 44ch;
}
.footer-social {
  margin-top: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-mini {
  display: inline-flex;
  width: fit-content;
  color: var(--muted);
}
.footer-mini:hover {
  color: var(--fg);
}
.footer-dot {
  opacity: 0.55;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-links a {
  display: inline-flex;
  width: fit-content; /* prevents “clickable from far away” */
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--fg);
}

/* Art */
.art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0.55;
  filter: saturate(1.05) contrast(1.05);
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 18%,
    rgba(0, 0, 0, 1) 78%,
    rgba(0, 0, 0, 0) 100%
  );
}
.art-hero {
  object-position: 80% 40%;
  opacity: 0.78;
  mask-image: radial-gradient(
    circle at 75% 40%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0) 72%
  );
}
.art-work {
  object-position: 55% 40%;
  opacity: 0.22;
  mask-image: radial-gradient(
    circle at 50% 50%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.55) 48%,
    rgba(0, 0, 0, 0) 78%
  );
}
.art-final {
  object-position: 85% 65%;
  opacity: 0.6;
  mask-image: radial-gradient(
    circle at 80% 70%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.65) 48%,
    rgba(0, 0, 0, 0) 78%
  );
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track {
    animation: none;
  }
}

/* Responsive */
@media (min-width: 860px) {
  .nav-center {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 30px;
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-stage-inner {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
  .footer-grid {
    grid-template-columns: 1.1fr 0.7fr 0.9fr;
  }
}

/* ---------- Accent glow (cards / tiles / article cards) ---------- */
.card,
.work-tile,
.article-card,
.pstep {
  position: relative;
  isolation: isolate;
}

.card::after,
.work-tile::after,
.article-card::after,
.pstep::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  filter: blur(18px);
  transition: opacity 220ms ease;
}

/* blue */
.card[data-accent="blue"]::after,
.pstep[data-accent="blue"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(75, 102, 152, 0.55),
    transparent 70%
  );
}
.work-tile:has(.tag[data-accent="blue"])::after,
.article-card:has(.tag[data-accent="blue"])::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(75, 102, 152, 0.55),
    transparent 70%
  );
}

/* purple */
.card[data-accent="purple"]::after,
.pstep[data-accent="purple"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(204, 146, 196, 0.55),
    transparent 70%
  );
}
.work-tile:has(.tag[data-accent="purple"])::after,
.article-card:has(.tag[data-accent="purple"])::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(204, 146, 196, 0.55),
    transparent 70%
  );
}

/* orange */
.card[data-accent="orange"]::after,
.pstep[data-accent="orange"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(188, 115, 74, 0.55),
    transparent 70%
  );
}
.work-tile:has(.tag[data-accent="orange"])::after,
.article-card:has(.tag[data-accent="orange"])::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(188, 115, 74, 0.55),
    transparent 70%
  );
}

.card:hover::after,
.work-tile:hover::after,
.article-card:hover::after,
.pstep.is-active::after {
  opacity: 0.9;
}

/* ---------- Custom cursor ---------- */
body {
  cursor: none;
}

#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 250, 0.55);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: width 140ms ease, height 140ms ease, border-color 140ms ease,
    opacity 140ms ease;
}
#cursor::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 250, 0.18);
}

.cursor-active {
  width: 28px !important;
  height: 28px !important;
  border-color: rgba(245, 247, 250, 0.85) !important;
}

/* Prevent “selected text” highlight inside clickable cards */
.article-card,
.article-card *,
.work-tile,
.work-tile *,
.card,
.card * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
