/* Lead Capital — Editorial palette
   Green rgb(46,204,64) · Dark rgb(24,24,24) · #0A0A0A · #FFFFFF
   Type: Space Grotesk */

:root {
  /* Dark mode (default) */
  --ink: #0A0A0A;
  --ink-2: rgba(255, 255, 255, 0.04);
  --ink-3: rgba(255, 255, 255, 0.07);
  --paper: #FFFFFF;
  --paper-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(10, 164, 84, 0.55);
  --fg: #FFFFFF;
  --mute: rgba(255, 255, 255, 0.70);
  --mute-2: rgba(255, 255, 255, 0.50);
  --accent: #2ECC40;
  --accent-soft: rgba(10, 164, 84, 0.16);
  --accent-glow: rgba(10, 164, 84, 0.55);
  --accent-2: rgb(0, 87, 255);
  --accent-2-soft: rgba(0, 87, 255, 0.18);
  --c-teal: #2ECC40;
  --c-navy: rgb(0, 87, 255);
  --c-navy-light: rgb(0, 87, 255);
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --r-sm: 4px;
  --r: 10px;
  --maxw: 1760px;
  --pad-x: clamp(20px, 5vw, 88px);
}

[data-theme="light"] {
  --ink: #FFFFFF;
  --ink-2: rgba(0, 0, 0, 0.04);
  --ink-3: rgba(0, 0, 0, 0.07);
  --paper: #0A0A0A;
  --paper-2: rgba(0, 0, 0, 0.06);
  --line: rgba(0, 0, 0, 0.12);
  --line-strong: rgba(10, 164, 84, 0.55);
  --fg: #0A0A0A;
  --mute: rgba(10, 10, 10, 0.70);
  --mute-2: rgba(10, 10, 10, 0.50);
  --accent: #2ECC40;
  --accent-soft: rgba(10, 164, 84, 0.14);
  --accent-glow: rgba(10, 164, 84, 0.55);
  --accent-2: rgb(0, 54, 158);
  --accent-2-soft: rgba(0, 54, 158, 0.14);
  --c-teal: #2ECC40;
  --c-navy: rgb(0, 54, 158);
  --c-navy-light: rgb(0, 54, 158);
}


* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; color: var(--fg); }
#root { background: var(--ink); min-height: 100vh; }

/* Hero backdrop — solid, no image */
.hero { position: relative; isolation: isolate; }


/* About-Us banner — hero-style backdrop */
.about-banner {
  position: relative;
  isolation: isolate;
  padding: 140px var(--pad-x) 120px;
  margin-bottom: 24px;
  overflow: hidden;
}
.about-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url('/site/assets/budapest-hero.jpg');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  background-color: var(--ink);
  filter: grayscale(0.4) contrast(1.05);
  z-index: -2;
}
.about-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--ink) 55%, transparent) 0%,
    color-mix(in oklab, var(--ink) 70%, transparent) 60%,
    var(--ink) 100%);
  z-index: -1;
}
.about-banner-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.about-banner h2 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  max-width: 16ch;
}
.about-banner .about-rule {
  width: 220px; max-width: 50%;
  height: 2px;
  background: #fff;
  margin-top: 36px;
  opacity: 0.9;
}
.about-banner .about-eyebrow {
  display: inline-block;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; padding: 0; cursor: pointer; }
input, textarea { font: inherit; }

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

/* Reusable */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 400;
}

.rule {
  height: 1px;
  background: var(--line);
  width: 100%;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mute-2);
}

/* ── Nav ──────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  background: color-mix(in oklab, var(--ink) 78%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: border-color .25s ease;
}
.nav-logo {
  display: flex; align-items: center;
}
.nav-logo img {
  height: 33px;
  width: auto;
  display: block;
}
[data-theme="dark"] .nav-logo img {
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex; gap: 18px; align-items: center;
}
.nav-link {
  font-size: 15px;
  font-weight: 450;
  color: var(--mute);
  padding: 9px 18px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
  cursor: default;
  position: relative;
}
.nav-link:hover { color: var(--fg); background: var(--line); }
.nav-link.active { color: var(--fg); }
.nav-link.active::before {
  content: "";
  position: absolute;
  left: 18px; right: 18px;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
}
.nav-actions {
  display: flex; align-items: center; gap: 10px;
  position: relative;
}
.nav-theme { padding: 8px 10px; line-height: 0; }
.nav-menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.nav-menu-toggle:hover { background: var(--line); }
.nav-menu-toggle .bar {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-menu-toggle.open .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-menu-toggle.open .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-dropdown {
  display: flex;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: color-mix(in oklab, var(--ink) 92%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  flex-direction: column;
  gap: 4px;
  z-index: 101;
  /* hidden by default; .open animates in */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity .22s ease,
    transform .28s cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear .28s;
}
.nav-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition:
    opacity .22s ease,
    transform .28s cubic-bezier(.22, 1, .36, 1),
    visibility 0s;
}
.nav-dropdown-link {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 450;
  color: var(--fg);
  transition: background .2s ease, color .2s ease, opacity .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
  text-align: left;
  white-space: nowrap;
}
/* staggered item reveal */
.nav-dropdown .nav-dropdown-link {
  opacity: 0;
  transform: translateY(-4px);
}
.nav-dropdown.open .nav-dropdown-link {
  opacity: 1;
  transform: translateY(0);
}
.nav-dropdown.open .nav-dropdown-link:nth-child(1) { transition-delay: .03s; }
.nav-dropdown.open .nav-dropdown-link:nth-child(2) { transition-delay: .06s; }
.nav-dropdown.open .nav-dropdown-link:nth-child(3) { transition-delay: .09s; }
.nav-dropdown.open .nav-dropdown-link:nth-child(4) { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown,
  .nav-dropdown .nav-dropdown-link { transition: none; }
}
.nav-dropdown-link:hover,
.nav-dropdown-link.active { background: var(--line); color: var(--fg); }
.nav-cta {
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  cursor: default;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s ease, border-color .2s ease;
}
.nav-cta:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.nav-cta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  padding: 120px var(--pad-x) 80px;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.hero-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px;
  padding-bottom: 32px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  position: relative;
}
.hero-eyebrow .pulse::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-display {
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
  max-width: 18ch;
  font-feature-settings: "ss01";
}
.hero-display .accent { color: var(--accent); font-style: italic; font-weight: 450; }
.hero-display .accent-2 { color: var(--accent-2); font-style: italic; font-weight: 450; }
.hero-display .quiet { color: var(--mute); }

.hero-sub {
  max-width: 56ch;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.5;
  color: var(--mute);
  font-weight: 400;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  margin-top: 56px;
}
.hero-stat .v {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat .v sub { font-size: 0.55em; vertical-align: super; color: var(--mute); font-weight: 400; margin-left: 2px; }
.hero-stat .l { margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }

.hero-scroll {
  position: absolute;
  bottom: 24px;
  right: var(--pad-x);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.hero-scroll .arrow {
  display: inline-block;
  width: 16px; height: 16px;
  position: relative;
  animation: scrollnudge 2.6s ease-in-out infinite;
}
.hero-scroll .arrow::before, .hero-scroll .arrow::after {
  content: ""; position: absolute; background: currentColor;
}
.hero-scroll .arrow::before { left: 7px; top: 0; bottom: 0; width: 1px; }
.hero-scroll .arrow::after { left: 4px; top: 8px; width: 7px; height: 1px; transform: rotate(-45deg); transform-origin: right center; }

@keyframes scrollnudge {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* Hero variants — split layout */
.hero.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  padding-bottom: 64px;
}
.hero.split .hero-side {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  align-self: end;
  padding-bottom: 8px;
}
.hero.split .hero-display { font-size: clamp(48px, 7.5vw, 128px); max-width: 11ch; }
.hero.split .featured-card {
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--ink-2);
  display: flex; flex-direction: column; gap: 16px;
}
.hero.split .featured-card .label { color: var(--mute); }
.hero.split .featured-card .name { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.hero.split .featured-card .desc { color: var(--mute); font-size: 14px; line-height: 1.45; }
.hero.split .featured-card .meta { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); }

/* Hero variant — marquee */
.hero-marquee-wrap {
  margin: 64px calc(var(--pad-x) * -1) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.hero-marquee {
  display: flex; gap: 64px;
  animation: marquee 38s linear infinite;
  padding: 22px 0;
  width: max-content;
}
.hero-marquee .item {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  white-space: nowrap;
  display: flex; align-items: center; gap: 16px;
}
.hero-marquee .item .geo {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-marquee .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Background visual treatments */
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
}
.hero-bg.dotgrid {
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 60% at 80% 30%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 80% 30%, #000, transparent 70%);
}
[data-theme="light"] .hero-bg.dotgrid {
  background-image: radial-gradient(rgba(10,10,10,0.10) 1px, transparent 1px);
}
.hero-bg.glow {
  background: radial-gradient(ellipse 80% 60% at 85% 30%, var(--accent-soft), transparent 60%);
}

/* ── Sections common ──────────────────────────── */
section { position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  line-height: 1;
}
.section-head.compact {
  grid-template-columns: 80px 1fr;
  padding: 16px 0;
  align-items: center;
  line-height: 1;
}
.section-head .num { color: var(--mute-2); font-size: 13px; }
.section-head .label { color: var(--fg); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.section-head .title {
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
  max-width: 16ch;
}
.section-head .title em { color: var(--mute); font-style: normal; }
@media (max-width: 860px) {
  .section-head, .section-head.compact {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 80px 0 32px;
  }
}

/* ── Manifesto ────────────────────────────────── */
.manifesto {
  padding: 32px 0 120px;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 450;
  max-width: 22ch;
}
.manifesto .quiet { color: var(--mute); }
.manifesto .accent { color: var(--accent); }

/* ── Beliefs ──────────────────────────────────── */
.belief {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background .35s ease;
}
.belief:hover { background: linear-gradient(to right, var(--ink-2), transparent 60%); }
.belief:hover .belief-arrow { transform: translateX(4px); opacity: 1; }
.belief-num { color: var(--mute-2); font-family: var(--font-mono); font-size: 12px; }
.belief-title {
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  display: flex; align-items: baseline; gap: 18px;
}
.belief-title .belief-arrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.7em;
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.belief-body {
  color: var(--mute);
  font-size: 16px;
  line-height: 1.55;
  max-width: 42ch;
}
.belief-body strong { color: var(--fg); font-weight: 450; }

/* ── Portfolio ────────────────────────────────── */
.portfolio-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 16px;
  flex-wrap: wrap;
}
.filter-group { display: flex; gap: 4px; flex-wrap: wrap; }
.filter-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--mute);
  cursor: default;
  transition: color .2s, background .2s;
}
.filter-pill:hover { color: var(--fg); background: var(--line); }
.filter-pill.active { color: var(--fg); background: var(--ink-2); }
.filter-pill .count { color: var(--mute-2); margin-left: 6px; }

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 0;
}
.logo-cell {
  border: 1px solid var(--line);
  border-radius: 14px;
  aspect-ratio: 1.4 / 1;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  cursor: default;
  overflow: hidden;
  transition: background .25s ease, border-color .25s ease;
}
.logo-cell:hover { background: var(--ink-2); border-color: var(--accent-2); }
.logo-cell .logo-mark {
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 26px);
  letter-spacing: -0.02em;
  color: var(--fg);
  text-align: center;
  transition: transform .35s ease, opacity .25s ease;
}
.logo-cell .logo-img {
  max-width: 70%;
  max-height: 56%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  transition: opacity .25s ease, filter .25s ease, transform .35s ease;
}
[data-theme="light"] .logo-cell .logo-img { filter: brightness(0); opacity: 0.78; }
.logo-cell:hover .logo-img { opacity: 1; transform: scale(1.04); }
.logo-cell.exited .logo-img { opacity: 0.55; }

.logo-cell .logo-meta {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: flex; justify-content: center; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute-2);
  text-align: center;
  line-height: 1.2;
}
.logo-cell .logo-meta .stage { color: var(--accent-2); }
.logo-cell.exited::after {
  content: "EXITED";
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  border: 1px solid currentColor;
  padding: 2px 6px;
  border-radius: 999px;
}
.logo-cell .logo-arrow {
  position: absolute;
  top: 12px; left: 12px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .25s ease, transform .25s ease;
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 14px;
}
.logo-cell:hover .logo-arrow { opacity: 1; transform: translate(0,0); }
.logo-cell .logo-info {
  position: absolute;
  top: 8px; right: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-2);
  background: transparent;
  border: 0;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity .25s ease, transform .25s ease, color .2s ease, background .2s ease;
  z-index: 2;
}
.logo-cell:hover .logo-info { opacity: 1; transform: scale(1); }
.logo-cell .logo-info:hover { color: var(--fg); background: var(--line); }
.logo-cell.exited .logo-info { top: 38px; }

/* Portfolio detail (overlay panel) */
.detail-overlay {
  position: fixed; inset: 0;
  background: color-mix(in oklab, var(--ink) 70%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  z-index: 200;
  display: flex; justify-content: flex-end;
  animation: fadein .25s ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.detail-panel {
  width: min(820px, 100%);
  height: 100%;
  background: var(--ink);
  border-left: 1px solid var(--line);
  overflow-y: auto;
  padding: 32px var(--pad-x) 64px;
  animation: slidein .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.detail-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.detail-name {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 12px 0 4px;
  line-height: 1;
}
.detail-tag { color: var(--mute); font-size: 16px; }
.detail-close {
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--mute);
  transition: background .2s, color .2s, border-color .2s;
}
.detail-close:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.detail-meta-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.detail-meta-grid .k { color: var(--mute); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.detail-meta-grid .v { font-size: 16px; font-weight: 450; }
.detail-body {
  padding: 32px 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 64ch;
}
.detail-body p { margin: 0 0 18px; }
.detail-body strong { color: var(--fg); font-weight: 450; }
.detail-cta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px;
  padding: 18px 24px;
  background: var(--accent-2);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  border-radius: 10px;
  transition: filter .2s ease, transform .2s ease;
}
.detail-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.detail-cta span:last-child { font-size: 18px; transition: transform .2s ease; }
.detail-cta:hover span:last-child { transform: translateX(3px); }
.detail-quote {
  border-left: 1px solid var(--accent-2);
  padding: 4px 0 4px 20px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 450;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 24px 0;
}
.detail-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 12px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); }
.detail-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--fg);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .2s, color .2s;
}
.detail-link:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ── Team ─────────────────────────────────────── */
.team-section { position: relative; }
.team-section::before {
  content: "";
  position: absolute;
  top: 20px;
  right: -40px;
  width: 300px;
  height: 300px;
  background:
    conic-gradient(from 210deg at 60% 40%,
      color-mix(in oklab, var(--accent) 18%, transparent),
      transparent 55%);
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.team-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: end;
  padding: 16px 0 32px;
}
.team-display {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.2vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--fg);
  margin: 0;
}
.team-display .accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.team-lede {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 42ch;
  padding-bottom: 6px;
}

.team-group { padding: 20px 0; position: relative; z-index: 1; }
.team-group + .team-group { border-top: 1px solid var(--line); }
.team-group-label {
  font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--mute); margin-bottom: 18px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.team-card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px 14px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, border-color .3s ease, box-shadow .35s ease;
}
.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}
.team-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--accent) 40%, var(--line));
  box-shadow:
    0 18px 46px -24px color-mix(in oklab, var(--accent) 35%, transparent),
    0 6px 16px -10px rgba(0,0,0,0.25);
}
.team-card-main {
  display: flex; flex-direction: column; gap: 8px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}
.team-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(120% 80% at 30% 20%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.team-avatar::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 50% 110%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%);
  opacity: .6;
  z-index: 0;
}
.team-avatar .initials {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
  color: var(--fg);
}
.team-avatar .placeholder-mark {
  position: absolute;
  bottom: 8px; left: 10px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--mute-2);
  text-transform: uppercase;
  z-index: 1;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border-radius: inherit;
}
.team-card .name {
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  padding: 0 2px;
}
.team-card .role {
  font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mute);
  padding: 0 2px;
}
.team-card .links {
  display: flex; gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute);
  margin-top: auto;
  padding: 10px 2px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  flex-wrap: wrap;
}
.team-card .links button { padding: 0; background: transparent; border: 0; cursor: pointer; }
.team-card .links button, .team-card .links a { transition: color .2s; }
.team-card .links button:hover, .team-card .links a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .team-hero { grid-template-columns: 1fr; gap: 20px; padding: 12px 0 24px; }
  .team-lede { padding-bottom: 0; }
}


/* ── Contact / Pitch ──────────────────────────── */
.pitch {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  padding: 32px 0 96px;
  align-items: start;
}
.pitch-aside {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 24px;
}
.pitch-aside .promise {
  font-size: 18px; line-height: 1.45; color: var(--mute); max-width: 32ch;
}
.pitch-aside .promise strong { color: var(--fg); font-weight: 450; }
.pitch-aside .stat-row {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.pitch-aside .stat-row .k {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute);
}
.pitch-aside .stat-row .v {
  font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin-top: 4px;
}
.pitch-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--line);
}
.field {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.field.full { grid-column: 1 / -1; }
.field.right { padding-left: 32px; border-left: 1px solid var(--line); }
.field label {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute);
}
.field input, .field textarea {
  background: transparent; border: 0; outline: 0;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 18px;
  padding: 4px 0 8px;
  width: 100%;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute-2); }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.4; }
.field .underline {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.field.right .underline { left: 32px; }
.field:focus-within .underline { transform: scaleX(1); }

/* File upload "fogadó gomb" */
.file-drop {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  margin-top: 4px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: color-mix(in oklab, var(--ink-2) 60%, transparent);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.file-drop:hover {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 6%, transparent);
}
.file-drop:active { transform: scale(0.995); }
.file-drop-icon {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink-3);
  color: var(--fg);
  transition: background .2s ease, color .2s ease;
}
.file-drop:hover .file-drop-icon { background: var(--accent); color: #fff; }
.file-drop-text {
  display: flex; flex-direction: column; gap: 3px;
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: -0.005em;
}
.file-drop-text strong {
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
}
.file-drop-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.submit-row {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
}
.submit-meta { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); }
.submit-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  font-weight: 500;
  font-size: 14px;
  border-radius: 999px;
  letter-spacing: -0.01em;
  transition: transform .2s ease, filter .2s ease;
}
.submit-btn:hover { transform: translateX(2px); filter: brightness(1.08); }
.submit-btn .arrow { display: inline-block; }

/* ── Footer ───────────────────────────────────── */
.footer {
  padding: 48px var(--pad-x) 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-brand {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  max-width: 36ch;
}
.footer-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
[data-theme="dark"] .footer-logo {
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 13px; line-height: 1.55; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 14px; font-weight: 500;
}
.footer-col:nth-of-type(2) h4 { color: var(--accent); }
.footer-col:nth-of-type(3) h4 { color: var(--accent-2); }
.footer-col:nth-of-type(4) h4 { color: var(--accent); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col li { font-size: 13px; }
.footer-col a, .footer-col span { color: var(--fg); transition: color .2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; margin-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--mute);
}

/* ── Responsive (light pass) ──────────────────── */
@media (max-width: 960px) {
  .section-head, .belief { grid-template-columns: 60px 1fr; }
  .section-head .title, .belief-body { grid-column: 2 / -1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .logo-cell .logo-mark { font-size: clamp(16px, 2.0vw, 19px); }
  .logo-cell .logo-meta { font-size: 12px; inset: auto 10px 10px 10px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pitch { grid-template-columns: 1fr; }
  .pitch-aside { position: relative; top: auto; }
  .pitch-form { grid-template-columns: 1fr; }
  .field.right { padding-left: 0; border-left: 0; }
  .field .underline, .field.right .underline { left: 0; }
  .hero.split { grid-template-columns: 1fr; }
  .hero.split .hero-side { border-left: 0; padding-left: 0; }
  .footer { grid-template-columns: 1fr 1fr; }
  .detail-meta-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-menu-toggle { display: flex; }
  .nav-dropdown { display: flex; }
}

/* ── Contact section ──────────────────── */
.contact-section { padding-top: 40px; padding-bottom: 80px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
}
.contact-map {
  min-height: 460px;
  background: var(--ink-3, #eaeef2);
  position: relative;
}
.contact-map iframe { filter: grayscale(0.25) contrast(1.02); }
.contact-info { padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; justify-content: flex-start; }
.contact-title {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.15; letter-spacing: -0.01em;
  margin: 0; color: var(--fg);
  font-weight: 500;
}
.contact-sub { color: var(--mute); margin: 0 0 8px; font-size: 13px; line-height: 1.5; max-width: 40ch; }
.contact-row { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: 1px solid var(--accent-2); }
.contact-label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-2);
  padding-top: 2px;
}
.contact-val { color: var(--fg); font-size: 15px; line-height: 1.5; }
.contact-val a { color: var(--accent-2); border-bottom: 1px solid var(--accent-2); }
.contact-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border: 1px solid var(--accent-2); color: var(--accent-2);
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: background .2s ease, color .2s ease;
}
.contact-btn:hover { background: var(--accent-2); color: var(--paper); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
  .contact-info { padding: 28px 22px; }
}

/* ───────────────────────────────────────────────
   Manifesto — editorial collapsible chapters
   ─────────────────────────────────────────────── */
.m-deck {
  margin: 40px 0 64px;
  max-width: 28ch;
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--fg);
}
.m-deck-accent { color: var(--accent); font-style: italic; font-weight: 400; }

.manifesto-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 0;
  position: relative;
}



.m-item {
  border-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.m-item .m-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  text-align: left;
  cursor: default;
  transition: padding .25s ease;
}
.m-item[data-open="true"] .m-row { padding-bottom: 14px; }

.m-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mute-2);
  align-self: start;
  padding-top: 0;
}
.m-kicker {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}
.m-title {
  display: block;
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.12;
  color: var(--fg);
  transition: color .2s ease;
  max-width: none;
}
.m-lede {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: 0;
  text-transform: none;
  color: var(--mute);
  font-weight: 400;
  line-height: 1.3;
  max-width: none;
}

.m-toggle {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 20px;
  height: 20px;
  align-self: start;
  margin-top: 0;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}
.m-toggle .bar {
  position: absolute;
  background: var(--mute);
  transition: transform .3s ease, background .2s ease;
}
.m-toggle .bar.h { left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); }
.m-toggle .bar.v { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }
.m-item[data-open="true"] .m-toggle .bar.v { transform: translateX(-50%) scaleY(0); }
.m-toggle:hover .bar,
.m-item[data-open="true"] .m-toggle .bar { background: var(--fg); }

.m-panel {
  display: block;
  padding: 18px 0 0 0;
}
.m-panel[hidden] { display: none; }
.m-panel-inner {
  grid-column: auto;
  color: var(--mute);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
}
.m-panel[hidden] { display: none; }
.m-panel-inner {
  grid-column: 2 / 3;
  color: var(--mute);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
}
.m-panel-inner p { margin: 0 0 12px; }
.m-panel-inner p:last-child { margin-bottom: 0; }
.m-panel-inner strong { color: var(--fg); font-weight: 500; }
.m-panel-inner em { font-style: italic; color: var(--fg); }
#faq .m-panel-inner { max-width: none; }
#faq .m-title { max-width: none; }
#faq .section-head .label { color: var(--accent-2); }
#faq .m-toggle:hover .bar,
#faq .m-item[data-open="true"] .m-toggle .bar { background: var(--accent-2); }
#faq .m-item[data-open="true"] .m-title { color: var(--accent-2); }

.m-stats {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.m-stats li { display: flex; flex-direction: column; gap: 6px; }
.m-stats .v {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1;
}
.m-stats .l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute-2);
}

.m-defs {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.m-defs > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.m-defs > div:last-child { border-bottom: 1px solid var(--line); }
.m-defs dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin: 0;
}
.m-defs dd {
  margin: 0;
  color: var(--mute);
  line-height: 1.5;
}

.m-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin: 16px 0 10px !important;
}
.m-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.m-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--mute);
  line-height: 1.5;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
}
.m-list li:last-child { border-bottom: 1px solid var(--line); }
.m-list li span:first-child {
  color: var(--fg);
  font-weight: 450;
  letter-spacing: -0.01em;
}

/* Desktop: open manifesto panel spans the full width below the three tiles */
.m-panel--full { display: none; }
@media (min-width: 861px) {
  .m-item .m-panel--inline { display: none !important; }

  .m-panel--full {
    display: block;
    grid-column: 1 / -1;
    background: var(--ink);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
  }
}

@media (max-width: 860px) {
  .m-panel--full { display: none !important; }
  .manifesto-list { grid-template-columns: 1fr; }
  .m-item {
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 0;
  }

  .m-item .m-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 36px 0;
    align-items: start;
  }
  .m-item[data-open="true"] .m-row { padding-bottom: 36px; }
  .m-num { padding-top: 6px; }
  .m-toggle {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 6px;
  }
  .m-panel {
    display: block;
    padding: 0 0 36px 0;
  }
  .m-panel-inner { grid-column: auto; max-width: none; }
  .m-defs > div { grid-template-columns: 1fr; gap: 6px; }
  .m-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  #portfolio .section-head.compact { border-top: 0; }

  /* Portfolio tiles: 2 columns, taller, stacked content so labels don't overlap */
  .logo-wall { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logo-cell {
    aspect-ratio: 1.55 / 1;
    padding: 14px 12px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .logo-cell .logo-mark {
    font-size: clamp(15px, 4.4vw, 20px);
    line-height: 1.05;
    margin-bottom: 6px;
  }
  .logo-cell .logo-meta {
    position: absolute;
    inset: auto 10px 10px 10px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  .logo-cell.exited::after {
    top: 8px;
    right: 8px;
    font-size: 8px;
    padding: 1px 5px;
  }

  /* FAQ mobile: question left-aligned, + toggle on the same row to the right */
  #faq .m-item .m-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
  }
  #faq .m-item .m-num { display: none; }
  #faq .m-item .m-title {
    flex: 1 1 auto;
    text-align: left;
    padding-right: 8px;
  }
  #faq .m-item .m-toggle {
    flex: 0 0 20px;
    margin-top: 0;
    align-self: center;
  }
}

/* ── Editorial typography overrides (Space Grotesk) ───── */
.hero-display,
.section-head .title,
.m-deck,
.m-title,
.hero.split .featured-card .name {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.hero-display { font-weight: 500; letter-spacing: -0.02em; line-height: 0.92; }
.hero-display .accent { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--accent); }
.hero-display .quiet { color: var(--accent-glow); font-style: italic; font-weight: 500; }
.section-head .title { font-weight: 500; letter-spacing: -0.018em; line-height: 1.04; }
.section-head .title em { font-family: var(--font-display); font-style: italic; color: var(--mute); font-weight: 500; }
.m-deck { font-weight: 400; letter-spacing: -0.012em; line-height: 1.12; }
.m-deck-accent { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--accent); }
.m-title { font-weight: 500; letter-spacing: -0.012em; line-height: 1.18; }
.m-panel-inner em { font-style: normal; color: inherit; font-weight: inherit; }

/* Section-specific kickers use the new palette */
#we .section-head .label,
#we .m-kicker { color: var(--accent); }
#portfolio .section-head .label { color: var(--accent-2); }
#team .section-head .label { color: var(--accent); }
#contact .section-head .label { color: var(--accent-2); }
#pitch .section-head .label { color: var(--accent); }

/* Google Translate widget — hide only visible UI, NOT the translation engine iframe */
.goog-te-banner-frame.skiptranslate { display: none !important; }
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: transparent !important; box-shadow: none !important; }
#google_translate_element { position: absolute !important; left: -9999px !important; top: -9999px !important; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line);
  background: transparent; color: var(--fg); cursor: pointer; border-radius: 4px;
  transition: border-color .15s, color .15s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.lang-toggle .lang-active { color: var(--accent); font-weight: 600; }
.lang-toggle .lang-sep { opacity: 0.4; }

/* ── Manifesto cards (replaces accordion) ───────── */
.m-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.m-card {
  background: #FFFFFF;
  text-align: left;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  border: 0;
  font: inherit;
  color: inherit;
  position: relative;
}
.m-card:hover { background: var(--ink-2, color-mix(in oklab, var(--bg) 92%, var(--fg))); }
.m-card-num {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mute);
}
.m-card-kicker {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.m-card-title {
  font-family: var(--font-sans);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg);
  font-weight: 500;
  margin-top: 4px;
  flex: 1;
}
.m-card-cta {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s ease, gap .2s ease;
}
.m-card-cta span { transition: transform .2s ease; }
.m-card:hover .m-card-cta { color: var(--fg); gap: 12px; }
.m-card:hover .m-card-cta span { transform: translateX(3px); }

@media (max-width: 900px) {
  .m-cards { grid-template-columns: 1fr; }
  .m-card { min-height: 0; padding: 28px 20px; }
}

/* Modal overlay reusing detail-overlay; centered panel */
.m-overlay { justify-content: center; align-items: center; padding: 40px 20px; }
.m-panel-modal {
  width: min(760px, 94vw);
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  animation: m-modal-in .35s cubic-bezier(.2,.7,.2,1);
  padding: 22px 28px 26px;
}
@keyframes m-modal-in {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.m-modal-title {
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 8px 0 0;
  max-width: 52ch;
}
.m-modal-body {
  max-width: 64ch;
  font-size: 14px;
  line-height: 1.55;
  padding: 14px 0 0;
}
.m-modal-body p { margin: 0 0 10px; }
.m-modal-body .m-sub { margin-top: 12px; }
.m-modal-body .m-stats,
.m-modal-body .m-defs,
.m-modal-body .m-list { margin-top: 6px; }

.m-panel-modal--scroll { max-height: 85vh; display: flex; flex-direction: column; }
.m-panel-modal--scroll .detail-head { flex: 0 0 auto; }
.m-panel-modal--scroll .m-modal-body {
  overflow-y: auto;
  flex: 1 1 auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
  padding-right: 12px;
}
.m-panel-modal--scroll .m-modal-body::-webkit-scrollbar { width: 8px; }
.m-panel-modal--scroll .m-modal-body::-webkit-scrollbar-track { background: transparent; }
.m-panel-modal--scroll .m-modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 4px; }
.m-panel-modal--scroll .m-modal-body::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.45); }

/* ── Minimal map override ───────────────────────── */
.contact-map iframe { filter: none; }

/* ── Hero pastel background ───────────────────── */
/* Brand stripes background — diagonal stripes on the right edge, touching each other */
.hero.has-bg { justify-content: center; padding-top: 140px; }
.hero.has-bg .hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  pointer-events: none;
}
.hero-stripes .stripe {
  position: absolute;
  top: -25%; bottom: -25%;
  transform: skewX(-14deg);
}
.hero-stripes .stripe-blue {
  right: 11vw; width: 10vw;
  background: var(--accent-2);
}
.hero-stripes .stripe-green {
  right: -6vw; width: 17vw;
  background: var(--accent);
}
.hero-stripes .stripe-thin {
  right: 8vw; width: 0.6vw;
  background: var(--accent-2);
}
.hero-stripes .stripe-blue-2 {
  right: -9vw; width: 5vw;
  background: var(--accent-2);
}
/* Fade stripes out along an imaginary diagonal (same angle as the stripes)
   so they never overlap the headline on the left. */
.hero-stripes {
  -webkit-mask-image: linear-gradient(104deg, transparent 0 40%, rgba(0,0,0,0.55) 48%, #000 56%);
  mask-image: linear-gradient(104deg, transparent 0 40%, rgba(0,0,0,0.55) 48%, #000 56%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
@media (max-width: 900px) {
  /* Same angle, narrower cluster hugging the right edge. */
  .hero-stripes .stripe-blue { right: 10vw; width: 12vw; }
  .hero-stripes .stripe-green { right: -8vw; width: 18vw; }
  .hero-stripes .stripe-thin { right: 7vw; width: 0.8vw; }
  .hero-stripes .stripe-blue-2 { right: -12vw; width: 6vw; }
  .hero-stripes {
    -webkit-mask-image: linear-gradient(104deg, transparent 0 52%, rgba(0,0,0,0.5) 64%, #000 76%);
    mask-image: linear-gradient(104deg, transparent 0 52%, rgba(0,0,0,0.5) 64%, #000 76%);
  }
}

/* Tablet: headline vertically centered like desktop. */
@media (min-width: 601px) and (max-width: 900px) {
  .hero.has-bg {
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 80px;
  }
}

/* Mobile: headline at the left edge, smaller type so it never overlaps the stripes. */
@media (max-width: 600px) {
  .hero.has-bg {
    justify-content: center;
    align-items: flex-start;
    padding-top: 120px;
    padding-bottom: 40px;
  }
  .hero.has-bg .hero-display {
    font-size: clamp(26px, 7.5vw, 38px);
    text-align: left;
    max-width: 13ch;
  }
  .hero-stripes {
    -webkit-mask-image: linear-gradient(104deg, transparent 0 58%, rgba(0,0,0,0.4) 68%, #000 80%);
    mask-image: linear-gradient(104deg, transparent 0 58%, rgba(0,0,0,0.4) 68%, #000 80%);
  }
}





/* Pitch form feedback */
.form-msg {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.5;
  flex-basis: 100%;
}
.form-msg--ok { color: var(--accent, rgb(46, 204, 64)); }
.form-msg--err { color: #c0392b; }
.submit-btn[disabled] { opacity: .55; cursor: progress; }

/* Hidden but source-present FAQ copy for crawlers / LLMs */
.faq-source {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
