/* palette: bg=#120A20 fg=#F4EFFA accent=#A855F7 */
/* fonts: display="Sora" body="Inter" mono="Space Mono" */

:root {
  --bg: #120a20;          /* deep purple-black (hero/threats base) */
  --bg-alt: #1a0f2e;      /* alternating panel */
  --bg-elev: #22143d;     /* card surface */
  --bg-elev-2: #2c1a4d;   /* raised card */
  --fg: #f4effa;          /* primary text */
  --fg-soft: #dccff0;     /* softer heading text */
  --muted: #9d8fb8;       /* secondary text */
  --accent: #a855f7;      /* violet accent */
  --accent-2: #ec4899;    /* magenta */
  --accent-deep: #7c3aed; /* hover deep violet */
  --border: rgba(168, 133, 247, 0.18);
  --border-strong: rgba(168, 133, 247, 0.34);
  --glow: rgba(168, 85, 247, 0.35);

  --serif: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*, *::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.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
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: #0b0616; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--fg-soft); margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 9999px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.3s;
}
.btn--pill {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--glow);
}
.btn--pill:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -12px var(--glow); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.link-arrow span { transition: transform 0.35s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  background: rgba(18, 10, 32, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(18, 10, 32, 0.9);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.8);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep));
  color: #fff;
  font-size: 15px;
  box-shadow: 0 6px 18px -6px var(--glow);
}
.brand__name { font-size: 18px; letter-spacing: -0.01em; color: var(--fg); }
.brand__name em { font-style: normal; color: var(--accent); }
.nav { display: none; gap: 30px; }
.nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
}
.nav a:hover { color: var(--fg); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--accent); transition: width 0.35s var(--ease);
}
.nav a:hover::after { width: 100%; }
.nav__cta { display: none; }
@media (min-width: 940px) {
  .nav, .nav__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border);
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--fg); margin: 0 auto; transition: transform 0.3s, opacity 0.3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 74px 0 0; z-index: 90;
  background: rgba(15, 8, 28, 0.98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 40px 24px;
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  display: block; font-family: var(--serif); font-size: 30px; font-weight: 600;
  color: var(--fg-soft); padding: 16px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 78% 20%, #6d1f6e 0%, #3a1560 42%, #1a0b2e 78%, #120a20 100%);
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.28;
  mix-blend-mode: screen;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(18,10,32,0) 40%, rgba(18,10,32,0.85) 100%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding: 120px 0 90px; max-width: 940px; }
.hero h1 {
  font-size: clamp(3.1rem, 9vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 22px 0 26px;
  color: #fff;
}
.hero h1 em { font-style: normal; color: var(--accent); text-shadow: 0 0 44px var(--glow); }
.hero__lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 620px;
  margin: 0 0 38px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--border);
  padding-top: 34px;
}
.hero__stats .num { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: #fff; }
.hero__stats .lbl { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- Section head ---------- */
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head h2 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 20px 0 20px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 620px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Threat / feature cards ---------- */
.grid-threats {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .grid-threats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-threats { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  box-shadow: 0 4px 24px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(168, 85, 247, 0.14), transparent 60%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 26px 60px -26px var(--glow); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(124, 58, 237, 0.16));
  border: 1px solid var(--border);
  margin-bottom: 20px; color: var(--accent);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; color: var(--fg); }
.card p { color: var(--muted); font-size: 0.98rem; line-height: 1.65; margin: 0; }
.card .kpi { display: block; font-family: var(--mono); color: var(--accent-2); font-size: 13px; margin-top: 16px; letter-spacing: 0.02em; }

/* ---------- Services list ---------- */
.services-list { display: grid; gap: 0; margin-top: 20px; }
.service-row {
  display: grid; gap: 16px; align-items: start;
  grid-template-columns: 1fr;
  padding: 34px 0;
  border-top: 1px solid var(--border);
}
.service-row:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 860px) { .service-row { grid-template-columns: 88px 1fr 1.1fr; gap: 30px; align-items: center; } }
.service-row .idx { font-family: var(--mono); color: var(--accent); font-size: 14px; }
.service-row h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.service-row p { color: var(--muted); margin: 0; }
.service-row .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.service-row .tags span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px;
}

/* ---------- Manifesto / pull-quote ---------- */
.manifesto { background: linear-gradient(135deg, #1c0b34, #2a0f52 60%, #4a1560); text-align: center; }
.manifesto__inner { max-width: 940px; margin: 0 auto; position: relative; }
.manifesto .mark {
  font-family: var(--serif); font-size: 7rem; line-height: 0.5; color: var(--accent);
  display: block; opacity: 0.5; margin-bottom: 20px;
}
.manifesto p {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 4.4vw, 3.2rem);
  line-height: 1.22; letter-spacing: -0.02em; color: #fff; margin: 0;
}
.manifesto .cite { display: block; margin-top: 34px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* ---------- Editorial / case grid ---------- */
.cases { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cases { grid-template-columns: repeat(2, 1fr); } }
.case {
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--bg-elev);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.case:hover { transform: translateY(-6px); box-shadow: 0 28px 66px -30px var(--glow); }
.case__cover { aspect-ratio: 16 / 10; overflow: hidden; }
.case__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); filter: saturate(1.05); }
.case:hover .case__cover img { transform: scale(1.06); }
.case__body { padding: 26px 26px 30px; }
.case__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.case__body h3 { font-size: 1.35rem; font-weight: 600; margin: 12px 0 10px; color: var(--fg); }
.case__body p { color: var(--muted); font-size: 0.97rem; margin: 0 0 18px; }

/* ---------- Approach / numbered ---------- */
.steps { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 30px 26px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-elev); }
.step .n { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1; }
.step h3 { font-size: 1.12rem; font-weight: 600; margin: 16px 0 10px; color: var(--fg); }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border); padding: 8px 0;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  font-family: var(--serif); font-size: clamp(1.05rem, 2.4vw, 1.35rem); font-weight: 600; color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { color: var(--accent); font-size: 1.6rem; transition: transform 0.35s var(--ease); flex: none; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 720px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, #3a0f5c, #6d1a6a); }
.cta-band__inner {
  display: grid; gap: 30px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .cta-band__inner { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 14px 0 0; max-width: 520px; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 44px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 60px; } }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 15px;
  color: var(--fg); background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}
.field input::placeholder, .field textarea::placeholder { color: #6f6389; }
.form .btn { justify-content: center; margin-top: 6px; }
.info-block { display: grid; gap: 26px; }
.info-item .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.info-item .v { color: var(--fg-soft); font-size: 1.02rem; line-height: 1.6; }
.info-item a:hover { color: var(--accent); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--fg); }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-bottom: 44px; }
.prose h2 { font-size: 1.5rem; font-weight: 600; margin: 44px 0 14px; color: var(--fg-soft); }
.prose p, .prose li { color: var(--fg-soft); opacity: 0.92; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Thanks page ---------- */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; }
.thanks__inner { max-width: 620px; }
.thanks h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 700; letter-spacing: -0.02em; margin: 24px 0 18px; color: #fff; }
.thanks p { color: var(--muted); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer { background: #0c0518; border-top: 1px solid var(--border); padding: 80px 0 40px; }
.footer__grid {
  display: grid; gap: 44px; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: 0.95rem; max-width: 340px; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer ul a { color: var(--muted); font-size: 0.95rem; transition: color 0.3s; }
.footer ul a:hover { color: var(--fg); }
.footer__bottom {
  margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13px; color: var(--muted);
}
.footer__bottom .doc-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--fg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-elev); border: 1px solid var(--border-strong); padding: 30px 34px; max-width: 480px; border-radius: 16px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; color: var(--fg); }
.cookie-popup__card p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 22px; border: 1px solid var(--border-strong); border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600; transition: transform 0.3s, background 0.3s; }
.cookie-popup__actions button:hover { transform: translateY(-2px); }
.cookie-popup__actions button:last-child { background: linear-gradient(120deg, var(--accent-2), var(--accent)); color: #fff; border-color: transparent; }

@media (min-width: 640px) { .cookie-popup { align-items: flex-end; justify-content: flex-start; } }
