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

:root {
  --bg: #0A0A14;
  --bg-alt: #0F1020;
  --bg-elev: #15162A;
  --fg: #F3F5FC;
  --fg-soft: #C4C9DC;
  --muted: #868DA6;
  --accent: #2F6CFF;
  --accent-deep: #1A4BD6;
  --accent-cyan: #35D8F0;
  --grad: linear-gradient(118deg, #2F6CFF 0%, #35D8F0 100%);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains 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;
  -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; }
::selection { background: var(--accent); color: #fff; }

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

.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }

.h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-weight: 300;
}
.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 62ch;
}
.text-accent { color: var(--accent-cyan); }
em { font-style: normal; color: var(--accent-cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.3s;
  will-change: transform;
}
.btn--primary {
  background: var(--grad);
  color: #050510;
  box-shadow: 0 10px 34px -12px rgba(47, 108, 255, 0.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(47, 108, 255, 0.85); }
.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--fg);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--accent); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg);
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow .arw { transition: transform 0.3s var(--ease); color: var(--accent-cyan); }
.link-arrow:hover { color: var(--accent-cyan); }
.link-arrow:hover .arw { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 20, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 20, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--grad);
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
}
.brand__mark::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid #050510;
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
}
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 34px; }
}
.nav a {
  font-size: 14px;
  color: var(--fg-soft);
  transition: color 0.25s;
  position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--accent);
}
.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: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  width: 18px; height: 1.6px;
  margin: 0 auto;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) 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.6px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 74px 0 0;
  z-index: 99;
  background: rgba(8, 8, 16, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 36px 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; transform: none; pointer-events: all; }
.mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  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;
  padding: 120px 0 70px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: luminosity;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 72% 20%, rgba(47, 108, 255, 0.4), transparent 60%),
    radial-gradient(70% 90% at 10% 90%, rgba(53, 216, 240, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(10,10,20,0.6) 0%, rgba(10,10,20,0.82) 55%, var(--bg) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 0%, transparent 75%);
  opacity: 0.5;
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 8.2rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 300;
  max-width: 16ch;
  margin: 0 0 30px;
}
.hero .lead { margin-bottom: 42px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__scroll {
  position: absolute;
  left: 20px; bottom: 30px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
@media (min-width: 768px) { .hero__scroll { left: 32px; } }
.hero__scroll::before {
  content: "";
  width: 1px; height: 40px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(.6);transform-origin:top;} 50%{opacity:1;transform:scaleY(1);} }

/* ---------- Stats strip ---------- */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 42px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .stat { border-bottom: 0; } .stat:last-child { border-right: 0; } }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- Section header ---------- */
.sec-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 7vw, 88px);
}
@media (min-width: 900px) {
  .sec-head {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 48px;
  }
}
.sec-head .lead { margin: 0; }

/* ---------- Services grid ---------- */
.services { background: var(--bg); }
.svc-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  position: relative;
  padding: 36px 32px 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(21,22,42,0.55), rgba(15,16,32,0.35));
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(47,108,255,0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,0.8);
}
.svc-card:hover::before { opacity: 1; }
.svc-card__idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
}
.svc-card__icon {
  width: 46px; height: 46px;
  margin: 22px 0 26px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: var(--accent-cyan);
  position: relative;
}
.svc-card h3 {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
  position: relative;
}
.svc-card p {
  color: var(--fg-soft);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0;
  position: relative;
}
.svc-card ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  position: relative;
}
.svc-card li {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  padding: 7px 0;
  border-top: 1px solid var(--border);
  display: flex; gap: 10px; align-items: center;
}
.svc-card li::before { content: "—"; color: var(--accent); }

/* ---------- Cases ---------- */
.cases { background: var(--bg-alt); }
.case-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
.case-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-elev);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.case-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.case-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.case-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) brightness(0.72) contrast(1.05);
  transition: transform 0.9s var(--ease), filter 0.6s;
}
.case-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(47,108,255,0.32), rgba(10,10,20,0.1) 55%);
  mix-blend-mode: screen;
}
.case-card:hover .case-card__media img { transform: scale(1.06); filter: grayscale(0) brightness(0.8) contrast(1.05); }
.case-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10,10,20,0.7);
  border: 1px solid var(--border-strong);
  color: var(--fg);
  backdrop-filter: blur(6px);
}
.case-card__body { padding: 28px 30px 32px; }
.case-card__meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.case-card h3 {
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 12px 0 16px;
}
.case-card__result {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.case-card__result b {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--accent-cyan);
}
.case-card__result span { font-size: 13.5px; color: var(--muted); }

/* ---------- Featured case (deep dive) ---------- */
.feature { background: var(--bg); }
.feature__wrap {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .feature__wrap { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }
.feature__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  border: 1px solid var(--border);
}
.feature__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.05);
}
.feature__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(47,108,255,0.3), transparent 60%);
  mix-blend-mode: screen;
}
.feature h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 18px 0 24px;
}
.feature__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 2px; }
.feature__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.feature__list dt {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent-cyan);
  letter-spacing: -0.02em;
}
.feature__list dd { margin: 0; color: var(--fg-soft); font-size: 15px; line-height: 1.6; }
.feature__list dd b { color: var(--fg); font-weight: 500; display: block; font-family: var(--serif); font-size: 1rem; }

/* ---------- Manifesto band (inverted / accent) ---------- */
.manifesto {
  position: relative;
  background: var(--grad);
  color: #05060F;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(5,6,15,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,6,15,0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(80% 80% at 50% 0%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 0%, #000, transparent 80%);
}
.manifesto .container { position: relative; }
.manifesto__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(5,6,15,0.7);
  margin-bottom: 30px;
}
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 16ch;
  margin: 0;
}
.manifesto p strong { font-weight: 500; }
.manifesto__sign {
  margin-top: 44px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(5,6,15,0.78);
}

/* ---------- Process ---------- */
.process { background: var(--bg-alt); }
.proc-grid {
  display: grid;
  gap: 2px;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
}
@media (min-width: 900px) { .proc-grid { grid-template-columns: repeat(4, 1fr); border-top: 0; } }
.proc-step {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 900px) {
  .proc-step { padding: 0 28px 10px 0; border-bottom: 0; border-top: 1px solid var(--border); padding-top: 32px; }
}
.proc-step__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
}
.proc-step h3 {
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 20px 0 14px;
}
.proc-step p { color: var(--fg-soft); font-size: 15px; line-height: 1.68; margin: 0; }

/* ---------- Testimonials ---------- */
.quotes { background: var(--bg); }
.quote-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote {
  padding: 34px 30px 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
}
.quote__mark {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--accent);
  height: 26px;
}
.quote p {
  font-size: 16px;
  line-height: 1.68;
  color: var(--fg-soft);
  margin: 22px 0 26px;
  flex: 1;
}
.quote__by { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: #05060F;
  flex: none;
}
.quote__by b { display: block; font-weight: 500; font-size: 14.5px; font-family: var(--sans); }
.quote__by span { font-size: 12.5px; color: var(--muted); font-family: var(--mono); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-alt); }
.faq__wrap { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 28px 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.faq-item__ic {
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.faq-item__ic::before, .faq-item__ic::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-cyan);
}
.faq-item__ic::before { width: 11px; height: 1.5px; }
.faq-item__ic::after { width: 1.5px; height: 11px; transition: transform 0.4s var(--ease); }
.faq-item[data-open="true"] .faq-item__ic { transform: rotate(180deg); border-color: var(--accent); }
.faq-item[data-open="true"] .faq-item__ic::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-item__a p {
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.72;
  margin: 0;
  padding: 0 60px 30px 0;
}

/* ---------- CTA ---------- */
.cta { background: var(--bg); }
.cta__card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: clamp(48px, 7vw, 92px) clamp(28px, 6vw, 80px);
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 85% 10%, rgba(47,108,255,0.22), transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(53,216,240,0.12), transparent 55%),
    var(--bg-elev);
}
.cta__card h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.04;
  max-width: 18ch;
  margin: 24px 0 24px;
}
.cta__card .lead { margin-bottom: 40px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Contact / form ---------- */
.contact-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 940px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }
.contact-info dl { margin: 0; display: grid; gap: 28px; }
.contact-info dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}
.contact-info dd { margin: 0; font-size: 16px; color: var(--fg-soft); line-height: 1.6; }
.contact-info dd a:hover { color: var(--accent-cyan); }

.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 16px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15.5px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input::placeholder, .field textarea::placeholder { color: #565d75; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47,108,255,0.16);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.form__note a { color: var(--accent-cyan); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(130px, 18vw, 190px) 0 clamp(50px, 8vw, 90px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(70% 120% at 85% 0%, rgba(47,108,255,0.18), transparent 55%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  max-width: 18ch;
  margin: 24px 0 26px;
}
.page-hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 52px 0 18px;
}
.prose h3 { font-size: 1.2rem; font-weight: 500; margin: 32px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16px; line-height: 1.78; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose__meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-bottom: 40px; }

/* ---------- Thank-you ---------- */
.thanks {
  min-height: 82vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 0;
}
.thanks__mark {
  width: 76px; height: 76px;
  border-radius: 20px;
  background: var(--grad);
  display: grid; place-items: center;
  margin: 0 auto 36px;
  color: #05060F;
}
.thanks h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.thanks p { color: var(--fg-soft); max-width: 52ch; margin: 0 auto 36px; }

/* ---------- About: values / principles ---------- */
.values-grid {
  display: grid;
  gap: 2px;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
@media (min-width: 760px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value {
  padding: 40px 34px;
  background: var(--bg-elev);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.value__k { font-family: var(--mono); font-size: 12px; color: var(--accent-cyan); letter-spacing: 0.08em; }
.value h3 { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.02em; margin: 18px 0 14px; }
.value p { color: var(--fg-soft); font-size: 15px; line-height: 1.7; margin: 0; }

/* ---------- Team (text/monogram, no faces) ---------- */
.team-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.member {
  padding: 30px 28px 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-elev);
  transition: border-color 0.4s, transform 0.5s var(--ease);
}
.member:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.member .avatar { width: 54px; height: 54px; border-radius: 14px; font-size: 18px; margin-bottom: 22px; }
.member h3 { font-size: 1.25rem; font-weight: 400; letter-spacing: -0.02em; }
.member__role { font-family: var(--mono); font-size: 12px; color: var(--accent-cyan); margin: 6px 0 16px; letter-spacing: 0.04em; }
.member p { color: var(--fg-soft); font-size: 14.5px; line-height: 1.68; margin: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(64px, 9vw, 110px) 0 40px;
}
.footer__top {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand .brand { font-size: 24px; margin-bottom: 22px; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 34ch; line-height: 1.7; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.footer__col a { font-size: 15px; color: var(--fg-soft); transition: color 0.25s; }
.footer__col a:hover { color: var(--accent-cyan); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}
.footer__bottom p { margin: 0; font-size: 13px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.02em; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { font-size: 13px; color: var(--muted); font-family: var(--mono); }
.footer__legal a:hover { color: var(--fg-soft); }

/* ---------- 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) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: 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(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  padding: 32px 34px;
  max-width: 460px;
  border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}
.cookie-popup__card h3 { font-size: 1.3rem; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; color: var(--fg-soft); line-height: 1.65; margin: 0; }
.cookie-popup__card p a { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button {
  flex: 1;
  padding: 13px 22px;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  font-size: 13.5px;
  font-weight: 500;
  transition: transform 0.3s var(--ease), border-color 0.3s, opacity 0.3s;
}
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button[data-cookie="decline"] { color: var(--fg-soft); }
.cookie-popup__actions button[data-cookie="decline"]:hover { border-color: var(--border-strong); color: var(--fg); }
.cookie-popup__actions button[data-cookie="accept"] { background: var(--grad); color: #05060F; border-color: transparent; }

/* ---------- Misc ---------- */
.divider-label {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }
