:root {
  --bg: #ffffff;
  --bg-soft: #f4f4f8;
  --bg-grid: rgba(19, 24, 37, 0.05);
  --surface: #ffffff;
  --surface-soft: #f7f7fb;
  --surface-dark: #131825;
  --surface-dark-2: #1a2031;
  --ink: #131825;
  --ink-soft: rgba(19, 24, 37, 0.72);
  --ink-muted: rgba(19, 24, 37, 0.5);
  --ink-inverse: #ffffff;
  --purple: #7313eb;
  --purple-deep: #590bb2;
  --green: #6dda84;
  --green-soft: rgba(109, 218, 132, 0.16);
  --line: rgba(19, 24, 37, 0.1);
  --line-strong: rgba(19, 24, 37, 0.16);
  --line-inverse: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(19, 24, 37, 0.12);
  --shadow-strong: 0 32px 100px rgba(10, 14, 24, 0.28);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content: 1200px;
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Syne", "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(115, 19, 235, 0.08), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(109, 218, 132, 0.14), transparent 18%),
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px),
    var(--bg);
  background-size:
    auto,
    auto,
    42px 42px,
    42px 42px,
    auto;
  overflow-x: hidden;
}

.page-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.page-orb-a {
  width: 22rem;
  height: 22rem;
  top: 6rem;
  left: -6rem;
  background: rgba(115, 19, 235, 0.12);
}

.page-orb-b {
  width: 24rem;
  height: 24rem;
  right: -8rem;
  bottom: 10rem;
  background: rgba(109, 218, 132, 0.12);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

code {
  font-family: var(--font-mono);
  font-size: 0.95em;
}

.topbar,
.section,
.footer,
.legal-shell,
.draft-banner {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(19, 24, 37, 0.96), rgba(19, 24, 37, 0.76));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 26px rgba(0, 0, 0, 0.18);
}

.brand-mark img,
.brand-mark video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

.brand-mark img {
  object-fit: cover;
  object-position: center;
}

.brand-mark video {
  object-fit: cover;
  background: #0e1422;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  color: white;
  font-size: 0.98rem;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.nav a {
  position: relative;
}

.nav-item-has-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  margin-top: -0.12rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.nav-dropdown-toggle.is-current {
  color: white;
}

.nav-dropdown-toggle.is-current::before,
.nav-dropdown-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-item-has-menu:hover .nav-dropdown-toggle::before,
.nav-item-has-menu:focus-within .nav-dropdown-toggle::before,
.nav-dropdown-toggle.is-current::before {
  transform: scaleX(1);
}

.nav-item-has-menu:hover .nav-dropdown-toggle::after,
.nav-item-has-menu:focus-within .nav-dropdown-toggle::after,
.nav-item-has-menu.is-open .nav-dropdown-toggle::after {
  transform: rotate(225deg);
}

.nav-mega {
  position: absolute;
  top: calc(100% + 1rem);
  left: var(--nav-panel-left, -1.25rem);
  z-index: 35;
  display: grid;
  grid-template-columns: repeat(3, minmax(14rem, 1fr));
  gap: 1.2rem;
  width: min(68rem, var(--nav-panel-max-width, calc(100vw - 4rem)));
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(115, 19, 235, 0.18), transparent 22%),
    linear-gradient(145deg, rgba(19, 24, 37, 0.98), rgba(26, 32, 49, 0.98) 74%);
  box-shadow: var(--shadow-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.nav-mega.is-compact {
  width: min(34rem, var(--nav-panel-max-width, calc(100vw - 4rem)));
  grid-template-columns: repeat(2, minmax(13rem, 1fr));
}

.nav-mega.is-branches {
  width: min(76rem, var(--nav-panel-max-width, calc(100vw - 4rem)));
  grid-template-columns: repeat(3, minmax(15rem, 1fr));
}

.nav-group {
  display: grid;
  gap: 0.75rem;
}

.nav-group.is-cluster {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.nav-group-title {
  margin: 0;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-group-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.55;
}

.nav-group-links {
  display: grid;
  gap: 0.65rem;
}

.nav-group-links a {
  display: block;
  color: white;
  font-size: 0.94rem;
  line-height: 1.4;
}

.nav-group-links a::after {
  display: none;
}

.nav-group-links a[aria-current="page"] {
  color: var(--green);
}

.nav-menu-footer {
  grid-column: 1 / -1;
  padding-top: 0.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-menu-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: white;
}

.nav-menu-footer a::after {
  display: none;
}

.nav-menu-footer a[aria-current="page"] {
  color: var(--green);
}

.nav-item-has-menu:hover .nav-mega,
.nav-item-has-menu:focus-within .nav-mega,
.nav-item-has-menu.is-open .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0 auto;
  background: white;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 16px 34px rgba(115, 19, 235, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--purple-deep);
}

.button-secondary,
.button-nav {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.draft-banner {
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(115, 19, 235, 0.16);
  border-radius: var(--radius-md);
  background: rgba(115, 19, 235, 0.06);
  color: var(--ink);
}

.section {
  padding: 6rem 0;
}

.section-ribbon {
  padding-top: 0;
}

.section-light {
  color: var(--ink);
}

.hero {
  padding-top: 2.2rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 1.4rem;
  padding: 2rem;
  border: 1px solid var(--line-inverse);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(115, 19, 235, 0.22), transparent 20%),
    radial-gradient(circle at 0% 100%, rgba(109, 218, 132, 0.12), transparent 24%),
    linear-gradient(145deg, #131825, #1a2031 70%);
  box-shadow: var(--shadow-strong);
}

.hero-copy,
.hero-rail {
  min-width: 0;
}

.hero-shell > *,
.signal-ribbon > *,
.profile-grid > *,
.value-grid > *,
.service-grid > *,
.challenge-shell > *,
.challenge-list > *,
.process-grid > *,
.investment-grid > *,
.contact-shell > *,
.contact-form > *,
.footer > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--purple);
}

.hero-intro {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.hero-copy h1,
.section-head h2,
.hero-rail-card-main h2,
.legal-shell h1,
.legal-shell h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hero-copy h1 {
  max-width: 10ch;
  color: white;
  font-size: clamp(3.1rem, 5.8vw, 5.25rem);
}

.lead,
.section-head p,
.hero-rail-card-main p,
.hero-mini-card p,
.profile-card p,
.value-card p,
.service-card p,
.process-card p,
.investment-card p,
.contact-panel p,
.form-note,
.form-feedback,
.footer p,
.legal-shell p,
.legal-shell li,
.signal-ribbon p,
.challenge-list span {
  color: var(--ink-soft);
}

.hero .lead,
.hero .hero-rail-card-main p,
.hero .hero-mini-card p {
  color: rgba(255, 255, 255, 0.76);
}

.lead {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  font-size: 1.16rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.8rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-proof article {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-proof strong {
  display: block;
  margin-bottom: 0.45rem;
  color: white;
  font-size: 1rem;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.hero-rail {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.hero-rail-card-main,
.hero-mini-card,
.profile-card,
.value-card,
.service-card,
.process-card,
.investment-card,
.contact-form,
.contact-panel,
.signal-ribbon,
.legal-note,
.legal-page {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-rail-card-main {
  padding: 1.5rem;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.hero-brand-lockup {
  position: relative;
  display: block;
  margin-bottom: 1.1rem;
  min-height: clamp(9rem, 26vw, 14rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at 18% 72%, rgba(118, 243, 164, 0.12), transparent 32%),
    radial-gradient(circle at 78% 22%, rgba(115, 19, 235, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(20, 27, 43, 0.98), rgba(38, 32, 78, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 34px rgba(0, 0, 0, 0.24);
  isolation: isolate;
}

.hero-brand-lockup.is-photo {
  min-height: 0;
  aspect-ratio: 4 / 5;
  background: rgba(255, 255, 255, 0.08);
}

.hero-brand-lockup::before,
.hero-brand-lockup::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-brand-lockup.is-photo::before {
  background: linear-gradient(180deg, rgba(19, 24, 37, 0.06), transparent 40%);
  opacity: 1;
}

.hero-brand-lockup.is-photo::after {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.hero-brand-lockup::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 24% 24%, rgba(255, 255, 255, 0.1), transparent 24%);
  opacity: 0.55;
}

.hero-brand-lockup::after {
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.1rem;
}

.hero-brand-video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 1rem;
  object-fit: contain;
  background: transparent;
  transform: scale(1.08);
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.28));
}

.hero-brand-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.rail-label,
.investment-label,
.service-index {
  margin: 0;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-rail-card-main h2 {
  margin-top: 0.7rem;
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tag-cloud a,
.tag-cloud span,
.tag-cloud label {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.tag-cloud a,
.tag-cloud label {
  text-decoration: none;
}

.tag-cloud label {
  gap: 0.55rem;
}

.service-hub-cloud {
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.hero-proof + .rail-label {
  margin-top: 2.6rem;
}

.service-hub-cloud a {
  position: relative;
  min-height: 2.85rem;
  padding: 0.72rem 1.08rem;
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.16);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
  isolation: isolate;
}

.service-hub-cloud a::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 58%);
  opacity: 0.9;
  pointer-events: none;
}

.service-hub-cloud a:hover,
.service-hub-cloud a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(118, 243, 164, 0.32);
  background: linear-gradient(180deg, rgba(115, 19, 235, 0.24), rgba(255, 255, 255, 0.08));
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 34px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(115, 19, 235, 0.16),
    0 0 22px rgba(115, 19, 235, 0.24),
    0 0 14px rgba(118, 243, 164, 0.12);
}

.hero-mini-grid,
.profile-grid,
.value-grid,
.service-grid,
.process-grid,
.investment-grid {
  display: grid;
  gap: 1rem;
}

.hero-mini-grid {
  grid-template-columns: 1fr;
}

.hero-mini-card {
  padding: 1.25rem;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.hero-mini-card span,
.profile-card span,
.value-card span,
.process-card span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.hero-mini-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: white;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.signal-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -2.1rem;
  padding: 1.2rem 1.25rem;
}

.signal-ribbon span {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.signal-ribbon p {
  margin: 0;
  line-height: 1.6;
}

.section-head {
  max-width: 52rem;
  margin-bottom: 2.2rem;
}

.section-head h2 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.section-head p {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-head-light h2,
.section-head-light p {
  color: rgba(255, 255, 255, 0.88);
}

.profile-grid,
.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-card,
.value-card,
.service-card,
.process-card,
.investment-card {
  position: relative;
  padding: 1.5rem;
  overflow: hidden;
}

.profile-card::before,
.value-card::before,
.service-card::before,
.process-card::before,
.investment-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--green));
}

.profile-card h3,
.value-card h3,
.service-card h3,
.process-card h3,
.investment-card h3,
.contact-panel a,
.legal-shell h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.18rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.section-dark-block {
  padding-top: 3.2rem;
  padding-bottom: 6.5rem;
}

.dark-block-shell,
.challenge-shell,
.contact-shell {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #131825, #1a2031 70%);
  box-shadow: var(--shadow-strong);
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.value-card h3 {
  color: white;
}

.value-card p {
  color: rgba(255, 255, 255, 0.72);
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.2rem, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.team-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.9rem;
  align-content: start;
}

.team-card-head {
  display: grid;
  gap: 0.95rem;
  align-content: start;
}

.team-card-copy {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.team-card h3 {
  margin: 0;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.team-role {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.team-avatar {
  width: 5.25rem;
  height: 5.25rem;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.team-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.team-photo-christian {
  object-position: center 22%;
}

.team-photo-viktor {
  object-position: center 16%;
}

.team-summary {
  margin: 0;
  line-height: 1.68;
}

.team-tags {
  gap: 0.55rem;
  margin-top: auto;
}

.team-tags span {
  min-height: 2.15rem;
  padding: 0.4rem 0.75rem;
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 0.72rem;
  white-space: normal;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.team-note {
  max-width: 52rem;
  margin: 1.4rem 0 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.team-section-head h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.service-card ul,
.legal-shell ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.service-card li,
.legal-shell li {
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
}

.section-challenges {
  padding-top: 0;
}

.challenge-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.challenge-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.challenge-list span {
  display: flex;
  align-items: center;
  min-height: 4rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.investment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.investment-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.investment-card-featured {
  background: linear-gradient(180deg, rgba(115, 19, 235, 0.04), rgba(109, 218, 132, 0.05));
}

#bundesweite-wege .service-card,
#bundesweite-wege .investment-card,
#bundesweite-wege .investment-card-featured {
  background: var(--surface);
  border-color: var(--line);
}

#bundesweite-wege .service-card h3,
#bundesweite-wege .investment-card h3,
#bundesweite-wege .investment-card-featured h3,
#bundesweite-wege .service-card a,
#bundesweite-wege .investment-card a,
#bundesweite-wege .investment-card-featured a,
#bundesweite-wege .service-card .service-index,
#bundesweite-wege .investment-card .investment-label,
#bundesweite-wege .investment-card-featured .investment-label {
  color: var(--ink);
}

#bundesweite-wege .service-card p,
#bundesweite-wege .service-card li,
#bundesweite-wege .investment-card p,
#bundesweite-wege .investment-card li,
#bundesweite-wege .investment-card-featured p,
#bundesweite-wege .investment-card-featured li {
  color: var(--ink-soft);
}

.contact-section {
  padding-top: 3.2rem;
}

.contact-shell {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
}

.contact-panel {
  display: grid;
  gap: 0.45rem;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.contact-panel strong,
.contact-panel a {
  color: white;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel a,
.footer a,
.legal-shell a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem;
}

.contact-form-stacked {
  grid-template-columns: 1fr;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--ink);
}

.form-span {
  grid-column: 1 / -1;
}

.contact-form input:not([type="checkbox"]):not([type="hidden"]),
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  color: var(--ink);
  background: white;
}

.contact-form input:not([type="checkbox"]):not([type="hidden"]):focus-visible,
.contact-form textarea:focus-visible,
.contact-form select:focus-visible {
  outline: 2px solid rgba(115, 19, 235, 0.18);
  border-color: var(--purple);
}

.contact-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form legend {
  margin-bottom: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.option-group {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: white;
}

.option-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 600;
}

.option-group input[type="checkbox"] {
  width: auto;
  margin: 0.2rem 0 0;
  padding: 0;
}

.option-group span {
  line-height: 1.55;
}

.contact-form textarea {
  resize: vertical;
}

.form-note,
.form-feedback {
  margin: 0;
  line-height: 1.6;
  font-size: 0.94rem;
}

.form-feedback {
  min-height: 1.4rem;
}

.form-feedback.is-visible {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-feedback-icon {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 1.55rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
}

.form-feedback-copy {
  display: grid;
  gap: 0.12rem;
}

.form-feedback-copy strong {
  font-size: 0.96rem;
}

.form-feedback.is-success .form-feedback-icon {
  background: var(--green-soft);
  color: var(--green);
}

.form-feedback.is-error .form-feedback-icon {
  background: rgba(115, 19, 235, 0.08);
  color: var(--purple);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 600;
  line-height: 1.55;
}

.consent-check input[type="checkbox"] {
  width: auto;
  margin: 0.2rem 0 0;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem 2rem;
  align-items: end;
  margin-bottom: 2rem;
  padding: 1.6rem 2rem;
  border-radius: var(--radius-xl);
  background: #131825;
  box-shadow: var(--shadow-strong);
}

.footer strong,
.footer a {
  color: white;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.2rem;
}

.footer-meta {
  text-align: right;
}

.placeholder {
  color: var(--green) !important;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-shell {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.legal-note,
.legal-page {
  border-radius: var(--radius-xl);
}

.legal-note {
  padding: 1.2rem 1.35rem;
  margin-bottom: 1rem;
  background: rgba(115, 19, 235, 0.05);
  border: 1px solid rgba(115, 19, 235, 0.14);
}

.legal-note p {
  margin: 0;
  line-height: 1.65;
}

.legal-page {
  padding: 2.2rem;
}

.legal-shell h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

.legal-shell h2 {
  margin-top: 2rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.legal-shell h3 {
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-shell p,
.legal-shell li {
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.legal-meta {
  color: var(--ink-muted);
  font-size: 0.94rem;
}

@media (max-width: 1180px) {
  .hero-shell,
  .signal-ribbon,
  .profile-grid,
  .value-grid,
  .service-grid,
  .team-grid,
  .challenge-shell,
  .challenge-list,
  .process-grid,
  .investment-grid,
  .contact-shell,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .section-head h2,
  .hero-rail-card-main h2 {
    max-width: none;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .signal-ribbon {
    margin-top: 0;
  }

  .footer-links,
  .footer-meta {
    justify-content: flex-start;
    text-align: left;
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding-top: 0.6rem;
  }

  .button-nav {
    display: none;
  }

  .nav-item-has-menu {
    width: 100%;
    display: grid;
    gap: 0.75rem;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-mega {
    position: static;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    padding: 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item-has-menu.is-open .nav-mega,
  .nav-item-has-menu:focus-within .nav-mega {
    display: grid;
  }

  .topbar.nav-open .nav,
  .topbar.nav-open .button-nav {
    display: inline-flex;
  }

  .topbar.nav-open .button-nav {
    width: 100%;
  }

  .topbar.nav-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .topbar.nav-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.6rem 0;
  }

  .hero-shell,
  .dark-block-shell,
  .challenge-shell,
  .contact-shell {
    padding: 1.4rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4.1rem);
    line-height: 0.96;
  }

  .section-head h2,
  .legal-shell h1 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
    line-height: 0.98;
  }

  .hero-actions,
  .button,
  .button-nav {
    width: 100%;
  }

  .hero-rail-card-main h2 {
    font-size: clamp(1.5rem, 8vw, 2.1rem);
    line-height: 1;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-rows: auto auto auto auto;
  }

  .hero-brand-lockup {
    min-height: 8.5rem;
  }

  .profile-card h3,
  .value-card h3,
  .service-card h3,
  .process-card h3,
  .investment-card h3 {
    font-size: 1.05rem;
  }

  .lead,
  .section-head p,
  .hero-rail-card-main p,
  .service-card p,
  .value-card p,
  .process-card p,
  .investment-card p,
  .contact-panel p {
    font-size: 1rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .team-avatar {
    width: 4.9rem;
    height: 4.9rem;
  }
}

@media (max-width: 480px) {
  .hero-shell,
  .dark-block-shell,
  .challenge-shell,
  .contact-shell,
  .signal-ribbon,
  .footer,
  .legal-page {
    padding: 1.15rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .section-head h2,
  .legal-shell h1 {
    font-size: clamp(1.65rem, 9vw, 2.35rem);
  }

  .hero-proof article,
  .profile-card,
  .value-card,
  .service-card,
  .process-card,
  .investment-card,
  .contact-form,
  .contact-panel {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
