/* palette: bg=#0A0A14 fg=#F4F4F6 accent=#A78BFA */
/* fonts: display="Space Grotesk" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #0A0A14;
  --bg-alt: #12121F;
  --bg-card: #15152370;
  --fg: #F4F4F6;
  --fg-soft: #C5C5D2;
  --muted: #6B6B85;
  --accent: #A78BFA;
  --accent-deep: #7C3AED;
  --accent2: #22D3EE;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --gradient: linear-gradient(135deg, #A78BFA 0%, #22D3EE 100%);
  --gradient-soft: linear-gradient(135deg, rgba(167,139,250,0.18) 0%, rgba(34,211,238,0.10) 100%);
  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1280px;
  --pad: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--fg-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv11';
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--accent); color: var(--bg); }

/* Background ambient gradient */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(167,139,250,0.10), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(34,211,238,0.06), transparent 38%),
    radial-gradient(circle at 50% 110%, rgba(124,58,237,0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--fg);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.75rem, 7.5vw, 6.5rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 400; }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; }
h4 { font-size: 1.05rem; line-height: 1.35; font-weight: 500; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.eyebrow--plain::before { display: none; }

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

em.grad-text, em { font-style: normal; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--fg);
  color: var(--bg);
}
.btn--primary:hover { transform: translateY(-1px); background: #fff; }
.btn--ghost {
  border-color: var(--border-strong);
  color: var(--fg);
}
.btn--ghost:hover { background: var(--bg-alt); border-color: var(--fg-soft); }
.btn--grad {
  background: var(--gradient);
  color: #0A0A14;
}
.btn--grad:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  font-weight: 500;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 4px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow .arrow { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 20, 0.72);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.header[data-scrolled="true"] {
  background: rgba(10, 10, 20, 0.88);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--gradient);
  display: inline-grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: #0A0A14;
  font-weight: 700;
}
.nav { display: none; gap: 30px; align-items: center; }
.nav a {
  font-size: 14px;
  color: var(--fg-soft);
  font-weight: 450;
  transition: color 0.2s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.header__cta { display: none; }

.menu-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  gap: 5px;
  border-radius: 8px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle span + span { margin-top: 5px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 920px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 40px var(--pad);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fg);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 28px; }
@media (min-width: 920px) { .mobile-menu { display: none; } }

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: saturate(120%) contrast(108%);
  animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.10); }
  to { transform: scale(1.00); }
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,20,0.55) 0%, rgba(10,10,20,0.85) 60%, var(--bg) 100%);
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(167,139,250,0.20), transparent 55%);
  z-index: 1;
}
.hero__inner { max-width: 1100px; }
.hero h1 { margin: 28px 0 30px; }
.hero h1 em { color: var(--accent); }
.hero__lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  max-width: 620px;
  color: var(--fg-soft);
  margin-bottom: 40px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 70px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-num {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 36px);
  color: var(--fg);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.hero__meta-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* Section helpers */
section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section__head {
  display: grid;
  gap: 28px;
  margin-bottom: 70px;
}
.section__head h2 { max-width: 16ch; }
.section__head p { max-width: 56ch; color: var(--fg-soft); font-size: 17px; }
@media (min-width: 880px) {
  .section__head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 60px;
  }
}

/* Work / case studies grid (magazine asymmetric) */
.work {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.work-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .work-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 36px 32px;
  }
  .work-card:nth-child(1) { grid-column: span 7; }
  .work-card:nth-child(2) { grid-column: span 5; }
  .work-card:nth-child(3) { grid-column: span 5; }
  .work-card:nth-child(4) { grid-column: span 7; }
}
.work-card {
  display: block;
  position: relative;
  transition: transform 0.4s var(--ease);
}
.work-card:hover { transform: translateY(-4px); }
.work-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: #0d0d18;
  border: 1px solid var(--border);
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  opacity: 0.85;
}
.work-card:hover .work-card__media img { transform: scale(1.04); opacity: 1; }
.work-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 22px;
  gap: 20px;
}
.work-card__cat {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.work-card__year {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.work-card h3 { margin-top: 8px; }
.work-card__desc { color: var(--fg-soft); font-size: 15.5px; margin-top: 10px; max-width: 50ch; }

/* Manifesto */
.manifesto {
  background: linear-gradient(180deg, var(--bg) 0%, #06060d 100%);
  text-align: center;
}
.manifesto__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.manifesto__quote {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.2vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--fg);
  font-weight: 400;
  margin: 32px 0;
}
.manifesto__quote em { color: var(--accent); }
.manifesto__attr {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.manifesto__attr::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--muted);
}

/* Services list */
.services-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s var(--ease);
  position: relative;
}
.service-row::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  opacity: 0;
}
.service-row:hover::before { transform: scaleX(1); opacity: 1; }
@media (min-width: 880px) {
  .service-row {
    grid-template-columns: 80px 1fr 1.6fr auto;
    gap: 40px;
    align-items: start;
    padding: 48px 0;
  }
  .service-row:hover { padding-left: 12px; }
}
.service-row__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
  padding-top: 8px;
}
.service-row h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.service-row__desc { color: var(--fg-soft); font-size: 16px; max-width: 60ch; }
.service-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.service-row__tags span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--fg-soft);
}
.service-row__arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--fg);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-row:hover .service-row__arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* Process steps */
.process {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  background: rgba(20, 20, 35, 0.5);
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.process-step:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.process-step__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 22px;
  display: block;
}
.process-step h3 { font-size: 1.25rem; margin-bottom: 12px; }
.process-step p { font-size: 15px; color: var(--fg-soft); margin: 0; }

/* Principles / values text grid */
.principles-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
}
@media (min-width: 720px) { .principles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .principles-grid { grid-template-columns: repeat(3, 1fr); } }
.principle {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 720px) {
  .principle { padding: 40px 36px 40px 0; border-right: 1px solid var(--border); }
  .principle:nth-child(2n) { padding-left: 36px; padding-right: 0; border-right: 0; }
}
@media (min-width: 1080px) {
  .principle { padding: 44px 36px; }
  .principle:nth-child(2n) { padding: 44px 36px; border-right: 1px solid var(--border); }
  .principle:nth-child(3n) { border-right: 0; }
}
.principle__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  display: block;
}
.principle h3 { margin-bottom: 14px; }
.principle p { font-size: 15.5px; color: var(--fg-soft); margin: 0; }

/* Team (monogram avatars) */
.team-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  background: rgba(20, 20, 35, 0.4);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.team-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  color: var(--bg);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.avatar--a { background: linear-gradient(135deg, #A78BFA, #7C3AED); }
.avatar--b { background: linear-gradient(135deg, #22D3EE, #0EA5E9); }
.avatar--c { background: linear-gradient(135deg, #F0ABFC, #A78BFA); }
.avatar--d { background: linear-gradient(135deg, #FCD34D, #F59E0B); color: #1a1300; }
.avatar--e { background: linear-gradient(135deg, #34D399, #10B981); }
.avatar--f { background: linear-gradient(135deg, #FB7185, #E11D48); }
.team-card__name { color: var(--fg); font-family: var(--display); font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }
.team-card__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.team-card__bio { font-size: 14px; color: var(--fg-soft); line-height: 1.55; margin: 0; }

/* Tech stack */
.stack-section { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stack-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .stack-grid { grid-template-columns: repeat(4, 1fr); } }
.stack-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 24px;
  background: rgba(20, 20, 35, 0.4);
}
.stack-card__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.stack-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stack-card__list li {
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg-soft);
  font-family: var(--mono);
}

/* FAQ */
.faq-list { border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 20px;
  align-items: start;
}
.faq-item__q {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 4px;
}
.faq-item h3 { font-size: 1.1rem; margin-bottom: 12px; }
.faq-item p { font-size: 15.5px; color: var(--fg-soft); margin: 0; }

/* CTA section */
.cta {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(167,139,250,0.18), transparent 55%);
  pointer-events: none;
}
.cta__inner {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}
.cta h2 { margin-bottom: 22px; }
.cta__lede { font-size: 18px; max-width: 56ch; margin: 0 auto 36px; color: var(--fg-soft); }
.cta__buttons { display: inline-flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Contact section */
.contact-wrap {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 920px) {
  .contact-wrap {
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
  }
}
.contact-info { display: grid; gap: 28px; }
.info-block { border-top: 1px solid var(--border); padding-top: 22px; }
.info-block:first-child { border-top: 0; padding-top: 0; }
.info-block__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.info-block__value {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--fg);
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.info-block__value a:hover { color: var(--accent); }

/* Form */
.form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  background: rgba(20, 20, 35, 0.4);
}
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.form__field input, .form__field textarea, .form__field select {
  font: inherit;
  font-size: 15px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 14px 16px;
  border-radius: 10px;
  transition: border-color 0.2s var(--ease);
  font-family: var(--sans);
}
.form__field textarea { resize: vertical; min-height: 130px; }
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
  outline: none;
  border-color: var(--accent);
}
.form__consent { font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: start; }
.form__consent input { margin-top: 4px; accent-color: var(--accent); }
.form__consent a { color: var(--fg-soft); border-bottom: 1px solid var(--border); }
.form .btn { justify-self: flex-start; margin-top: 8px; }

/* Footer */
.footer {
  background: #06060d;
  border-top: 1px solid var(--border);
  padding: 80px 0 36px;
  position: relative;
}
.footer__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  margin-bottom: 60px;
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; } }
.footer__brand { max-width: 320px; }
.footer__brand p { font-size: 14px; color: var(--muted); margin-top: 18px; line-height: 1.6; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  font-weight: 400;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__col a {
  font-size: 14.5px;
  color: var(--fg-soft);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--fg-soft); }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Cookie popup */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  background: rgba(6, 6, 13, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg-alt);
  padding: 30px 32px;
  max-width: 480px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.cookie-popup h3 { margin-bottom: 12px; font-size: 1.15rem; }
.cookie-popup p { font-size: 14px; color: var(--fg-soft); line-height: 1.55; margin-bottom: 4px; }
.cookie-popup p a { color: var(--fg); border-bottom: 1px solid var(--border); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.cookie-popup__actions button {
  padding: 11px 22px;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  color: var(--fg);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.cookie-popup__actions button:hover { background: var(--bg); }
.cookie-popup__actions button:last-child {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.cookie-popup__actions button:last-child:hover { background: #fff; }

/* Page hero (inner pages) */
.page-hero {
  padding: 130px 0 90px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.page-hero__inner { max-width: 920px; }
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  margin: 24px 0 28px;
  line-height: 1.02;
}
.page-hero h1 em { color: var(--accent); }
.page-hero__lede { font-size: clamp(17px, 1.4vw, 19px); max-width: 600px; color: var(--fg-soft); line-height: 1.55; }

/* Featured editorial layout — split */
.editorial {
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr;
}
@media (min-width: 920px) { .editorial { grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; } }
.editorial__col p { font-size: 17px; line-height: 1.75; color: var(--fg-soft); }
.editorial__col h3 { margin-bottom: 14px; }
.editorial__col p + h3 { margin-top: 36px; }
.editorial__sidebar h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 400;
}
.editorial__sidebar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.editorial__sidebar li {
  font-size: 15px;
  color: var(--fg-soft);
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.editorial__sidebar li::before {
  content: '→';
  color: var(--accent);
  font-family: var(--mono);
}

/* Stats band */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.stats-row {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat__num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--fg);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 12px;
}
.stat__num .grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Engagement / pricing approach cards */
.engagement-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .engagement-grid { grid-template-columns: repeat(3, 1fr); } }
.engagement-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  background: rgba(20, 20, 35, 0.4);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.engagement-card--feature {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(167,139,250,0.10), rgba(20,20,35,0.4));
}
.engagement-card__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.engagement-card h3 { font-size: 1.4rem; }
.engagement-card__price {
  font-family: var(--display);
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.engagement-card__price small { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.engagement-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.engagement-card li {
  font-size: 14.5px;
  color: var(--fg-soft);
  display: flex;
  gap: 10px;
  align-items: start;
}
.engagement-card li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 9px;
  flex-shrink: 0;
}

/* Featured stat in inverted band */
.inverted-band {
  background: var(--fg);
  color: var(--bg);
}
.inverted-band h2, .inverted-band h3, .inverted-band h4 { color: var(--bg); }
.inverted-band .eyebrow { color: var(--accent-deep); }
.inverted-band .eyebrow::before { background: var(--accent-deep); }

/* Legal page typography */
.legal-page { padding-top: 130px; padding-bottom: 100px; }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.6rem; margin: 40px 0 16px; }
.legal-content h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal-content p, .legal-content li { font-size: 16px; line-height: 1.75; color: var(--fg-soft); }
.legal-content ul { padding-left: 22px; margin: 0 0 1em; }
.legal-content li { margin-bottom: 8px; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
