/* palette: bg=#0A1020 fg=#F4F5F9 accent=#5B7FFF */
/* fonts: display="Space Grotesk" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #0A1020;
  --bg-alt: #111827;
  --bg-elev: #161F35;
  --fg: #F4F5F9;
  --fg-soft: #C9CFDC;
  --muted: #7C879A;
  --accent: #5B7FFF;
  --accent-deep: #3D5FE0;
  --accent-glow: rgba(91, 127, 255, 0.22);
  --signal: #3DD68C;
  --warn: #FFB347;
  --border: rgba(255, 255, 255, 0.08);
  --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, SFMono-Regular, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
}

*, *::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; transition: color .25s var(--ease), opacity .25s var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--fg); margin: 0; font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}
.eyebrow--plain::before { display: none; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(10, 16, 32, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.header[data-scrolled="true"] {
  background: rgba(10, 16, 32, 0.92);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand__mark {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  position: relative;
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__name { font-weight: 500; }
.brand__name em { font-style: normal; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 14px;
  color: var(--fg-soft);
  position: relative;
}
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.header__cta:hover { background: var(--accent); color: #fff; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--fg);
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(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(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 40px 24px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  border-top: 1px solid var(--border);
}
.mobile-menu[data-open="true"] {
  opacity: 1; transform: none; pointer-events: all;
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: block; }
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 70%);
}
.hero__glow {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
  filter: blur(20px);
}
.hero__inner { max-width: 980px; margin: 0 auto; position: relative; }
.hero__eyebrow {
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(3rem, 8.4vw, 7.4rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, #9DB3FF 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--fg);
  color: var(--bg);
}
.btn--primary:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-1px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero mockup — stacked dashboard panels */
.hero__stage {
  position: relative;
  margin-top: 80px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
}
.hero__stage-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 18px;
  align-items: end;
}
.hero__stage-row .panel:nth-child(1) { transform: translateY(28px) rotateX(2deg); opacity: 0.78; }
.hero__stage-row .panel:nth-child(3) { transform: translateY(28px) rotateX(2deg); opacity: 0.78; }
@media (max-width: 720px) {
  .hero__stage-row { grid-template-columns: 1fr; }
  .hero__stage-row .panel:nth-child(1),
  .hero__stage-row .panel:nth-child(3) { display: none; }
}
.panel__title {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
}
.panel__row .label { color: var(--muted); }
.panel__row .value { color: var(--fg); display: inline-flex; align-items: center; gap: 6px; }
.panel__row .value .ok { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.panel__row .value .warn { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.panel__btn {
  display: block;
  width: 100%;
  padding: 11px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  margin-top: 4px;
}
.panel__divider {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0;
  position: relative;
}
.panel__divider::before, .panel__divider::after {
  content: ''; position: absolute; top: 50%; width: 36%; height: 1px; background: var(--border);
}
.panel__divider::before { left: 0; }
.panel__divider::after { right: 0; }
.panel__sso {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--fg-soft);
}

/* Manifesto */
.manifesto {
  padding: clamp(110px, 14vw, 180px) 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
}
.manifesto__inner { max-width: 980px; margin: 0 auto; }
.manifesto .eyebrow { margin-bottom: 32px; }
.manifesto h2 {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--fg);
}
.manifesto h2 em {
  font-style: normal;
  color: var(--accent);
}
.manifesto p {
  margin-top: 26px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Section */
.section {
  padding: clamp(90px, 12vw, 160px) 0;
  position: relative;
}
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section__head .eyebrow { margin-bottom: 14px; }
.section__head h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.025em;
}
.section__head p {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 480px;
  line-height: 1.65;
}
@media (max-width: 800px) {
  .section__head { grid-template-columns: 1fr; gap: 24px; }
}

/* Capabilities grid */
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.cap {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background .3s var(--ease);
}
.cap:hover { background: var(--bg-elev); }
.cap__num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 22px;
}
.cap__title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--fg);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.cap__desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.cap__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px dashed var(--border);
  padding-top: 16px;
}
.cap__list li {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-soft);
  padding: 4px 0;
  letter-spacing: 0.01em;
}
.cap__list li::before {
  content: '— ';
  color: var(--muted);
}
@media (max-width: 900px) { .capabilities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .capabilities { grid-template-columns: 1fr; } }

/* Work / Case briefs — editorial cards */
.work-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.work-item {
  display: grid;
  grid-template-columns: 80px 1.5fr 2fr 220px;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background .25s var(--ease);
  cursor: pointer;
}
.work-item:hover { background: var(--bg-alt); padding-left: 16px; padding-right: 16px; }
.work-item__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
}
.work-item__sector {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.work-item__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.work-item__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.work-item__meta .arrow {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--fg);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.work-item:hover .arrow { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 900px) {
  .work-item { grid-template-columns: 60px 1fr; row-gap: 8px; }
  .work-item__title { grid-column: 1 / -1; }
  .work-item__meta { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Stats band */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat { background: var(--bg); padding: 56px 32px; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat__num em { font-style: normal; color: var(--accent); font-size: 0.6em; vertical-align: super; }
.stat__label {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Insight feature — magazine pull */
.insight {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}
.insight__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  background: var(--bg-elev);
}
.insight__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 1.2s var(--ease); }
.insight__media:hover img { transform: scale(1.05); }
.insight__meta {
  display: flex;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.insight__meta span:first-child { color: var(--accent); }
.insight h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 22px;
}
.insight p { font-size: 17px; color: var(--fg-soft); margin-bottom: 16px; line-height: 1.7; }
.insight__byline {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.insight__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: -0.02em;
}
.insight__name { color: var(--fg); font-size: 15px; }
.insight__role { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .insight { grid-template-columns: 1fr; gap: 36px; } }

/* CTA section */
.cta {
  padding: clamp(100px, 12vw, 160px) 0;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}
.cta__inner { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.cta h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  line-height: 1.05;
}
.cta p { color: var(--fg-soft); font-size: 17px; max-width: 540px; margin: 0 auto 36px; }

/* Footer */
.footer {
  padding: 80px 0 36px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer__brand { color: var(--fg); }
.footer__tag { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 280px; line-height: 1.55; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: var(--fg-soft); font-size: 14.5px; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  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; }

/* About page specifics */
.page-hero {
  padding: 160px 24px 100px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; max-width: var(--container); margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.02;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero__lead { color: var(--fg-soft); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; max-width: 480px; }
@media (max-width: 800px) { .page-hero__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Principles / values */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.principle { background: var(--bg); padding: 40px 36px; }
.principle__num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; margin-bottom: 18px; }
.principle h3 { font-family: var(--serif); font-size: 22px; letter-spacing: -0.015em; color: var(--fg); margin-bottom: 12px; line-height: 1.2; }
.principle p { color: var(--muted); font-size: 15px; line-height: 1.65; }
@media (max-width: 700px) { .principles { grid-template-columns: 1fr; } }

/* Team — monogram cards */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.member { background: var(--bg); padding: 32px 28px; display: flex; flex-direction: column; align-items: flex-start; min-height: 240px; }
.avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.member h4 { font-family: var(--serif); font-size: 18px; color: var(--fg); letter-spacing: -0.01em; margin-bottom: 6px; }
.member__role { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.member__bio { color: var(--fg-soft); font-size: 14px; line-height: 1.55; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team { grid-template-columns: 1fr; } }

/* Contact / form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h3 { font-family: var(--serif); font-size: 24px; letter-spacing: -0.015em; color: var(--fg); margin-bottom: 12px; }
.contact-info p { color: var(--fg-soft); margin-bottom: 26px; line-height: 1.65; max-width: 380px; }
.contact-block { margin-bottom: 28px; }
.contact-block__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.contact-block__value { color: var(--fg); font-size: 16px; line-height: 1.55; }
.contact-block__value a:hover { color: var(--accent); }

.form { display: grid; gap: 18px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--bg-alt); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__submit { margin-top: 8px; justify-self: start; }
.form__legal { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.form__legal a { color: var(--fg-soft); text-decoration: underline; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form__row { grid-template-columns: 1fr; }
}

/* Services page list */
.service-detail {
  display: grid;
  grid-template-columns: 200px 1.2fr 1.4fr;
  gap: 56px;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.service-detail:last-of-type { border-bottom: 1px solid var(--border); }
.service-detail__num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; }
.service-detail h3 { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; color: var(--fg); margin-bottom: 14px; line-height: 1.15; }
.service-detail__lead { color: var(--fg-soft); margin-bottom: 18px; line-height: 1.65; }
.service-detail__body p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 12px; }
.service-detail ul { padding-left: 0; margin: 0; list-style: none; }
.service-detail ul li { padding: 6px 0; font-family: var(--mono); font-size: 12.5px; color: var(--fg-soft); border-bottom: 1px dashed var(--border); }
@media (max-width: 900px) { .service-detail { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; } }

/* Cookie popup */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  padding: 28px 30px;
  max-width: 440px;
  border-radius: 10px;
  box-shadow: 0 24px 80px -10px rgba(0,0,0,0.6);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cookie-popup__card h3 { font-family: var(--serif); font-size: 20px; color: var(--fg); letter-spacing: -0.015em; margin-bottom: 10px; line-height: 1.2; }
.cookie-popup__card p { font-size: 13.5px; color: var(--fg-soft); line-height: 1.55; }
.cookie-popup__actions { display: flex; gap: 10px; margin-top: 20px; }
.cookie-popup__actions button {
  flex: 1;
  padding: 11px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  background: transparent;
  color: var(--fg);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }

/* Utility */
.hr { height: 1px; background: var(--border); margin: 0; border: 0; }

/* Legal pages */
.legal { padding: 120px 0 80px; }
.legal__wrap { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; margin-bottom: 16px; }
.legal__date { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 48px; }
.legal h2 { font-family: var(--serif); font-size: 22px; color: var(--fg); margin: 40px 0 14px; letter-spacing: -0.01em; }
.legal p { color: var(--fg-soft); margin-bottom: 14px; line-height: 1.7; font-size: 16px; }
.legal ul { color: var(--fg-soft); padding-left: 20px; line-height: 1.7; }
.legal li { margin-bottom: 8px; }
