/* palette: bg=#EFEDF4 fg=#1B1A24 accent=#6D5BE0 */
/* fonts: display="Syne" body="DM Sans" mono="Space Mono" */

:root {
  --bg: #EFEDF4;          /* airy soft lilac-white (extracted from reference neutral, cosmic-shifted) */
  --bg-alt: #E6E2F0;      /* alternating soft lilac band */
  --bg-deep: #DDD8EC;     /* deepest soft band */
  --fg: #1B1A24;          /* deep violet-ink */
  --fg-soft: #35323F;     /* slightly lighter fg */
  --muted: #6B6879;       /* secondary text */
  --accent: #6D5BE0;      /* periwinkle / violet accent */
  --accent-deep: #4F3FC4; /* darker accent for hover */
  --accent-2: #E79BC4;    /* soft rose (blob gradient) */
  --accent-3: #74C7E3;    /* soft sky (blob gradient) */
  --border: rgba(27, 26, 36, 0.12);
  --border-soft: rgba(27, 26, 36, 0.07);
  --card: #F6F4FA;        /* raised card surface */
  --serif: 'Syne', ui-sans-serif, system-ui, sans-serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-s: 0 4px 24px -4px rgba(27, 26, 36, 0.08);
  --shadow-l: 0 18px 50px -12px rgba(79, 63, 196, 0.18);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }

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

section { position: relative; }
.section { padding: clamp(72px, 12vw, 160px) 0; position: relative; overflow: hidden; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(56px, 8vw, 104px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--accent-2); }
.section--dark .eyebrow::before { background: var(--accent-2); }

.lede { font-size: clamp(17px, 2.1vw, 20px); line-height: 1.78; color: var(--fg-soft); max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- biomorphic blobs ---------- */
.blob {
  position: absolute;
  border-radius: 42% 58% 63% 37% / 42% 45% 55% 58%;
  filter: blur(42px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: blobDrift 18s var(--ease) infinite alternate;
}
.blob--1 { width: 460px; height: 440px; background: radial-gradient(circle at 30% 30%, var(--accent), transparent 70%); }
.blob--2 { width: 380px; height: 400px; background: radial-gradient(circle at 60% 40%, var(--accent-2), transparent 70%); animation-delay: -5s; }
.blob--3 { width: 420px; height: 380px; background: radial-gradient(circle at 50% 50%, var(--accent-3), transparent 72%); animation-delay: -9s; }
@keyframes blobDrift {
  0%   { transform: translate3d(0,0,0) scale(1) rotate(0deg); border-radius: 42% 58% 63% 37% / 42% 45% 55% 58%; }
  50%  { transform: translate3d(24px,-30px,0) scale(1.08) rotate(12deg); border-radius: 58% 42% 38% 62% / 55% 58% 42% 45%; }
  100% { transform: translate3d(-18px,18px,0) scale(0.96) rotate(-8deg); border-radius: 48% 52% 55% 45% / 60% 40% 60% 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -8px rgba(109, 91, 224, 0.5); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-3px); box-shadow: 0 16px 40px -8px rgba(79, 63, 196, 0.55); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); background: rgba(255,255,255,0.4); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent-deep); }
.btn--light { background: var(--bg); color: var(--fg); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--accent-deep);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.textlink .arw { transition: transform .3s var(--ease); }
.textlink:hover { gap: 12px; color: var(--fg); }
.textlink:hover .arw { transform: translateX(3px); }
.section--dark .textlink { color: var(--accent-2); }
.section--dark .textlink:hover { color: #fff; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239, 237, 244, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 8px 30px -16px rgba(27, 26, 36, 0.3);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(239, 237, 244, 0.88);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 50% 50% 50% 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  position: relative;
  flex: 0 0 auto;
}
.brand__mark::after {
  content: "";
  position: absolute; inset: 8px 8px auto auto;
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; opacity: 0.9;
}
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 34px; }
  .nav a { font-size: 15px; color: var(--fg-soft); position: relative; transition: color .3s var(--ease); }
  .nav a::after {
    content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
    background: var(--accent); border-radius: 2px; transition: width .3s var(--ease);
  }
  .nav a:hover { color: var(--fg); }
  .nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
  .nav a[aria-current="page"] { color: var(--fg); }
}
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--fg); margin: 0 auto; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s var(--ease); }
.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 ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: 110px 28px 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: -0.02em;
  padding: 14px 0; border-bottom: 1px solid var(--border-soft);
}
.mobile-menu .btn { margin-top: 26px; align-self: flex-start; }
.mobile-menu__blob { position: absolute; bottom: -60px; right: -40px; width: 300px; height: 300px; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero .blob--1 { top: -120px; left: -80px; }
.hero .blob--2 { bottom: -100px; right: 8%; }
.hero .blob--3 { top: 32%; right: 30%; opacity: 0.4; }
.hero__grid { position: relative; z-index: 2; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }

.hero h1 {
  font-size: clamp(3.1rem, 9vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 28px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { font-size: clamp(16px, 2vw, 19px); line-height: 1.75; color: var(--fg-soft); max-width: 50ch; margin: 0 0 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 48% 52% 55% 45% / 55% 48% 52% 45%;
  overflow: hidden;
  box-shadow: var(--shadow-l);
  background: linear-gradient(140deg, var(--accent), var(--accent-3));
}
.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__badge {
  position: absolute; z-index: 3; left: -14px; bottom: 26px;
  background: var(--bg); border-radius: 22px; padding: 16px 22px;
  box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 2px; max-width: 220px;
}
.hero__badge strong { font-family: var(--serif); font-size: 22px; }
.hero__badge span { font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.04em; }

/* ---------- section heads ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); position: relative; z-index: 2; }
.sec-head h2 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 400; letter-spacing: -0.025em; margin: 0 0 20px; }
.sec-head h2 em { font-style: normal; color: var(--accent); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- manifesto / big statement ---------- */
.manifesto { text-align: center; position: relative; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 940px;
  margin: 0 auto;
  position: relative; z-index: 2;
}
.manifesto__quote em { font-style: normal; color: var(--accent); }
.manifesto__mark { font-family: var(--serif); font-size: clamp(5rem, 14vw, 10rem); line-height: 0.6; color: var(--accent); opacity: 0.35; display: block; margin-bottom: -10px; }
.manifesto .blob--2 { top: -40px; left: 6%; }
.manifesto .blob--3 { bottom: -60px; right: 8%; }

/* ---------- services / feature grid ---------- */
.grid { display: grid; gap: 22px; position: relative; z-index: 2; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--4 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 30px;
  padding: 34px 30px;
  box-shadow: var(--shadow-s);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.card__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--accent-deep); }
.card__ico {
  width: 56px; height: 56px; border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  margin: 0 0 22px; display: grid; place-items: center;
}
.card__ico svg { width: 26px; height: 26px; stroke: #fff; }
.card h3 { font-size: 1.5rem; font-weight: 600; margin: 0 0 12px; letter-spacing: -0.015em; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.72; }
.card .textlink { margin-top: 20px; font-size: 14px; }

/* ---------- showcase / work ---------- */
.work { display: grid; gap: 26px; position: relative; z-index: 2; }
@media (min-width: 820px) { .work { grid-template-columns: 1fr 1fr; } .work__item--wide { grid-column: 1 / -1; } }
.work__item {
  position: relative; border-radius: 30px; overflow: hidden;
  background: linear-gradient(140deg, var(--accent), var(--accent-3));
  box-shadow: var(--shadow-s);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.work__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.work__item img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform 1.1s var(--ease); }
.work__item--wide img { min-height: 340px; }
.work__item:hover img { transform: scale(1.06); }
.work__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 28px;
  background: linear-gradient(to top, rgba(15,13,28,0.78), transparent);
  color: #fff;
}
.work__cap .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.work__cap h3 { font-size: 1.5rem; font-weight: 600; margin-top: 6px; color: #fff; }

/* ---------- stats ---------- */
.stats { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; position: relative; z-index: 2; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 32px 26px; border-radius: 26px; background: var(--card);
  border: 1px solid var(--border-soft);
}
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--accent-deep); }
.stat__label { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.section--dark .stat { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.section--dark .stat__num { color: var(--accent-2); }
.section--dark .stat__label { color: rgba(255,255,255,0.68); }

/* ---------- dark band ---------- */
.section--dark { background: #15131F; color: #F2F0F8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lede, .section--dark .card p { color: rgba(242,240,248,0.72); }
.section--dark .manifesto__quote { color: #fff; }
.section--dark .manifesto__quote em { color: var(--accent-2); }
.section--dark .blob { opacity: 0.4; }

/* ---------- process / steps ---------- */
.steps { display: grid; gap: 4px; position: relative; z-index: 2; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--accent-deep); padding-top: 6px; letter-spacing: 0.1em; }
.step h3 { font-size: 1.6rem; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.015em; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.72; max-width: 70ch; }
@media (min-width: 820px) { .step { grid-template-columns: 90px 1fr; gap: 40px; } }

/* ---------- principles (text-only team alt) ---------- */
.principle { padding: 30px; border-radius: 26px; border: 1px solid var(--border-soft); background: var(--card); }
.principle__av {
  width: 52px; height: 52px; border-radius: 50% 50% 50% 14px; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; color: #fff; font-size: 18px; margin-bottom: 20px; letter-spacing: -0.02em;
}
.principle h3 { font-size: 1.25rem; font-weight: 600; margin: 0 0 4px; }
.principle .role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent-deep); text-transform: uppercase; }
.principle p { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.68; }

/* ---------- testimonial ---------- */
.quote-card { padding: 34px 32px; border-radius: 28px; background: var(--card); border: 1px solid var(--border-soft); box-shadow: var(--shadow-s); }
.quote-card p { font-size: 17px; line-height: 1.7; color: var(--fg-soft); }
.quote-card__by { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.quote-card__av { width: 46px; height: 46px; border-radius: 50% 50% 50% 14px; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; color: #fff; font-size: 15px; flex: 0 0 auto; }
.quote-card__by strong { display: block; font-size: 15px; }
.quote-card__by span { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; position: relative; z-index: 2; }
.faq details { border-bottom: 1px solid var(--border); padding: 8px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 26px; color: var(--accent); transition: transform .4s var(--ease); font-weight: 400;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); font-size: 16px; line-height: 1.75; padding: 0 48px 24px 0; max-width: 72ch; }

/* ---------- CTA band ---------- */
.cta {
  text-align: center; position: relative; overflow: hidden;
  border-radius: 40px; padding: clamp(56px, 9vw, 110px) 28px;
  background: linear-gradient(145deg, #1D1930, #2A2254);
  color: #fff; margin: 0 20px;
}
@media (min-width: 768px) { .cta { margin: 0 32px; } }
.cta h2 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 400; letter-spacing: -0.03em; color: #fff; max-width: 16ch; margin: 0 auto 22px; position: relative; z-index: 2; }
.cta h2 em { font-style: normal; color: var(--accent-2); }
.cta p { color: rgba(255,255,255,0.74); max-width: 54ch; margin: 0 auto 36px; position: relative; z-index: 2; }
.cta .hero__actions { justify-content: center; position: relative; z-index: 2; }
.cta .blob--1 { top: -120px; left: -60px; opacity: 0.6; }
.cta .blob--2 { bottom: -120px; right: -40px; opacity: 0.6; }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; gap: 44px; position: relative; z-index: 2; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 16px; color: var(--fg);
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 15px 18px; width: 100%;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(109,91,224,0.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form .btn { margin-top: 8px; justify-content: center; }
.form__consent { font-size: 13px; color: var(--muted); line-height: 1.6; }
.form__consent a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

.contact-info { display: grid; gap: 26px; }
.info-item { display: grid; gap: 4px; }
.info-item .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); }
.info-item .v { font-size: 17px; color: var(--fg-soft); }
.info-item .v a:hover { color: var(--accent-deep); }
.info-card { background: var(--card); border: 1px solid var(--border-soft); border-radius: 28px; padding: 34px; box-shadow: var(--shadow-s); }

/* ---------- legal / prose ---------- */
.prose { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; letter-spacing: -0.03em; margin-bottom: 18px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin: 48px 0 16px; letter-spacing: -0.015em; }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 10px; }
.prose p { color: var(--fg-soft); font-size: 16.5px; line-height: 1.8; margin-bottom: 16px; }
.prose ul { color: var(--fg-soft); font-size: 16.5px; line-height: 1.8; padding-left: 22px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 40px; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- thank you ---------- */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; }
.thanks__in { position: relative; z-index: 2; max-width: 620px; padding: 60px 24px; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 400; letter-spacing: -0.03em; margin-bottom: 20px; }
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { color: var(--fg-soft); font-size: 18px; margin-bottom: 34px; }
.thanks .blob--1 { top: -80px; left: 10%; }
.thanks .blob--2 { bottom: -80px; right: 8%; }

/* ---------- footer ---------- */
.footer { background: #15131F; color: rgba(242,240,248,0.78); padding: clamp(64px, 9vw, 110px) 0 40px; position: relative; overflow: hidden; }
.footer .blob--3 { top: -100px; right: -40px; opacity: 0.3; }
.footer__grid { display: grid; gap: 44px; position: relative; z-index: 2; }
@media (min-width: 820px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer__about { font-size: 15px; line-height: 1.7; color: rgba(242,240,248,0.6); max-width: 34ch; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242,240,248,0.5); font-weight: 400; margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; font-size: 15px; color: rgba(242,240,248,0.78); margin-bottom: 12px; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--accent-2); }
.footer__bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(242,240,248,0.5); position: relative; z-index: 2;
}
.footer__bottom a { color: rgba(242,240,248,0.5); }
.footer__bottom a:hover { color: var(--accent-2); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .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; } }

/* ---------- 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(15,13,28,0.42); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg); padding: 30px 32px; max-width: 460px; border-radius: 26px; box-shadow: var(--shadow-l); border: 1px solid var(--border-soft); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 10px; }
.cookie-popup__card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.cookie-popup__card p a { color: var(--accent-deep); text-decoration: underline; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 12px 24px; border-radius: 9999px; font-size: 14px; font-weight: 500; transition: transform .3s var(--ease), background .3s var(--ease); }
.cookie-popup__actions button[data-cookie="decline"] { border: 1px solid var(--border); color: var(--fg); }
.cookie-popup__actions button[data-cookie="decline"]:hover { transform: translateY(-2px); border-color: var(--accent); }
.cookie-popup__actions button[data-cookie="accept"] { background: var(--accent); color: #fff; flex: 1; }
.cookie-popup__actions button[data-cookie="accept"]:hover { background: var(--accent-deep); transform: translateY(-2px); }

/* ---------- misc ---------- */
.split-head { display: grid; gap: 28px; align-items: end; margin-bottom: clamp(40px,6vw,64px); position: relative; z-index: 2; }
@media (min-width: 900px) { .split-head { grid-template-columns: 1.3fr 1fr; } .split-head .lede { justify-self: end; } }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; position: relative; z-index: 2; }
.pill { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; padding: 9px 16px; border-radius: 9999px; border: 1px solid var(--border); color: var(--fg-soft); background: rgba(255,255,255,0.4); }
.anchor { scroll-margin-top: 100px; }
