:root {
  color-scheme: light;
  --ink: #111111;
  --text: #2b2b2b;
  --muted: #707070;
  --soft: #f5f5f7;
  --softer: #fbfbfd;
  --line: #e6e6e9;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 34px 120px rgba(0, 0, 0, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -12%, rgba(0, 0, 0, 0.08), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, var(--softer) 52%, #ffffff 100%);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
}

body.nav-open {
  overflow: hidden;
}

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

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

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1120px, calc(100% - 28px));
  min-height: 58px;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  background: rgba(251, 251, 253, 0.78);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 720;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  font-size: 0.9rem;
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: clamp(18px, 4vw, 42px);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 560;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 650;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  width: min(1320px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 116px 0 64px;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 7%;
  z-index: -1;
  content: "Vertex";
  color: rgba(0, 0, 0, 0.035);
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 760;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.hero-copy {
  max-width: 1120px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: #707070;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  display: block;
  margin-bottom: 22px;
  max-width: none;
  font-size: clamp(3.15rem, 6.1vw, 7.05rem);
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 0.92;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

h1 span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

h1 span:nth-child(2) {
  color: #4a4a4f;
}

h1 span:nth-child(3) {
  color: #8b8b91;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  font-weight: 730;
  letter-spacing: -0.05em;
  line-height: 0.94;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.no-break {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  color: var(--text);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 164px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 680;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-dark {
  background: #111111;
  color: #ffffff;
}

.button-light {
  border-color: var(--line);
  background: #ffffff;
  color: #111111;
}

.statement,
.services,
.profiles,
.quiet-proof,
.candidate,
.contact {
  padding: clamp(82px, 10vw, 150px) 0;
}

.statement {
  max-width: 1040px;
  text-align: center;
}

.statement p:not(.section-kicker),
.quiet-proof p,
.contact-copy p {
  max-width: 690px;
  margin-inline: auto;
  font-size: 1.1rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card span {
  display: block;
  margin-bottom: 92px;
  color: #9b9b9f;
  font-size: 0.82rem;
  font-weight: 700;
}

.service-card p {
  margin-bottom: 0;
}

.profiles {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.92fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.profile-groups {
  display: grid;
  gap: 16px;
}

.profile-groups > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.profile-groups h3 {
  margin-bottom: 18px;
  color: #111111;
}

.profile-list span {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8f8fa;
  color: #2b2b2b;
  font-weight: 610;
}

.quiet-proof {
  text-align: center;
}

.quiet-proof h2 {
  margin-inline: auto;
  max-width: 980px;
}

.candidate {
  padding-top: clamp(38px, 6vw, 84px);
  padding-bottom: clamp(38px, 6vw, 84px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.candidate-note-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(280px, 1fr) auto;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.candidate-note-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.candidate-note-card p:not(.section-kicker) {
  margin-bottom: 0;
  color: var(--text);
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 54px);
  align-items: start;
  text-align: center;
}

.contact-copy {
  max-width: 880px;
  margin: 0 auto;
}

.contact-copy p,
.contact-copy .section-kicker {
  margin-inline: auto;
}

.contact-form {
  display: grid;
  gap: 22px;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: left;
}

.wizard-progress {
  display: grid;
  gap: 10px;
}

.wizard-progress > span {
  color: #8a8a90;
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.wizard-progress div {
  overflow: hidden;
  height: 4px;
  border-radius: 999px;
  background: #eeeeef;
}

.wizard-progress div span {
  display: block;
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: #111111;
  transition: width 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wizard-window {
  position: relative;
  overflow: hidden;
  min-height: 286px;
  border-radius: 24px;
  background: #f8f8fa;
}

.form-step {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: clamp(24px, 5vw, 44px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(34px) scale(0.985);
}

.form-step.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  animation: stepIn 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.form-step.is-leaving {
  animation: stepOut 260ms ease both;
}

label {
  display: grid;
  gap: 12px;
  color: #222222;
  font-size: 0.92rem;
  font-weight: 620;
}

.form-step label > span {
  color: #8a8a90;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-step label > strong {
  color: #111111;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 730;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

input,
select,
textarea {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid #d8d8dc;
  border-radius: 0;
  padding: 13px 0;
  background: transparent;
  color: #111111;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #111111;
  box-shadow: 0 1px 0 #111111;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
}

textarea::placeholder {
  color: #9b9b9f;
}

.wizard-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.wizard-actions .button {
  min-width: 132px;
}

.wizard-actions .button-dark {
  justify-self: end;
}

.wizard-actions .button[disabled] {
  cursor: not-allowed;
  opacity: 0.34;
  transform: none;
}

.wizard-actions [hidden] {
  display: none;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

@keyframes stepIn {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateX(34px) scale(0.985);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes stepOut {
  to {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-26px) scale(0.985);
  }
}

.imprint-page {
  min-height: calc(100svh - 120px);
  padding: 150px 0 80px;
}

.imprint-page h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 7rem);
}

.imprint-card {
  max-width: 620px;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.imprint-card p {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1.05rem;
}

.imprint-card p:last-child {
  margin-bottom: 0;
}

.imprint-card a {
  color: #111111;
  font-weight: 650;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: #111111;
  font-weight: 650;
}

.site-footer .footer-mail {
  color: var(--muted);
  font-weight: 560;
}

.site-footer div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 640ms ease,
    transform 640ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-action {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    right: 14px;
    left: auto;
    display: grid;
    width: min(310px, calc(100vw - 28px));
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    visibility: hidden;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .nav-toggle {
    justify-self: end;
    display: grid;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #111111;
    padding: 13px 10px;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: #ffffff;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  body.nav-open .site-nav a {
    padding: 14px 12px;
    border-radius: 16px;
  }

  body.nav-open .site-nav a:hover {
    background: #f5f5f7;
  }

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

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

  .services,
  .profiles,
  .candidate,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
    width: min(100% - 40px, 1120px);
  }

  h1 {
    font-size: clamp(2.6rem, 9.5vw, 5.6rem);
  }

  .candidate-note-card {
    grid-template-columns: 1fr;
  }

  .candidate-note-card .button {
    width: fit-content;
  }

}

@media (max-width: 580px) {
  .section-shell,
  .hero {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3.25rem);
  }

  h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

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

  .contact-form {
    border-radius: 22px;
  }

  .wizard-window {
    min-height: 250px;
  }

  .form-step {
    padding: 22px;
  }

  .wizard-actions {
    grid-template-columns: 1fr;
  }

  .wizard-actions .button,
  .wizard-actions .button-dark {
    justify-self: stretch;
    width: 100%;
  }

  .candidate-note-card .button {
    width: 100%;
  }

  .service-card {
    min-height: 240px;
  }

  .service-card span {
    margin-bottom: 58px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer div {
    flex-direction: column;
    gap: 8px;
  }
}
