@font-face {
  font-family: "Sohne";
  src: url("../fonts/soehne-buch.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne";
  src: url("../fonts/soehne-halbfett.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne Halbfett";
  src: url("../fonts/soehne-halbfett.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne Mono";
  src: url("../fonts/soehne-mono-buch.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne Mono";
  src: url("../fonts/soehne-mono-halbfett.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sohne Mono Halbfett";
  src: url("../fonts/soehne-mono-halbfett.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #245399;
  --text: #ffffff;
  --lead: #f0ecdc;
  --lead-dark: #e1d9b8;
  --line: rgb(180, 180, 175);
  --soft: rgba(255, 255, 255, 0.11);
  --soft-strong: rgba(255, 255, 255, 0.18);
  --font-display: "Sohne Halbfett", "Sohne", Arial, sans-serif;
  --font-display-strong: "Sohne Halbfett", "Sohne", Arial, sans-serif;
  --font-body: "Sohne Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --page: min(58vw, 800px);
  --pad-x: 40px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  position: fixed;
  inset: 0 40px auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  background: var(--background);
  pointer-events: none;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.topbar a,
.footer a,
.contact-button,
.back-link {
  pointer-events: auto;
}

.icon-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.15s ease;
}

.icon-link img {
  width: 24px;
  height: 24px;
  filter: invert(95%) sepia(8%) saturate(524%) hue-rotate(8deg) brightness(103%) contrast(88%);
}

.icon-link:hover {
  background: rgba(180, 180, 175, 0.3);
}

.contact-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: var(--lead);
  color: var(--background);
  font-weight: 600;
  white-space: nowrap;
}

.contact-button {
  font-size: 14px;
}

.main {
  position: relative;
  z-index: 1;
}

.home-hero {
  min-height: 100vh;
  padding: 0 var(--pad-x) 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 26.5vw);
  align-items: end;
  gap: clamp(36px, 8vw, 120px);
}

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

.hero-row picture {
  justify-self: end;
}

.intro {
  max-width: 100%;
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.5;
  white-space: nowrap;
}

.name {
  width: 100%;
  max-width: 1200px;
  margin: 0;
  color: var(--lead);
  font-family: var(--font-display);
  font-size: clamp(74px, 8.6vw, 112px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.name span {
  display: inline;
}

.roles {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin-top: 18px;
  font-family: var(--font-display-strong);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.roles span:not(:last-child)::after {
  content: " /";
  margin-left: 0;
}

.hero-image {
  width: clamp(250px, 26vw, 540px);
  min-width: 250px;
  margin-bottom: 182px;
}

@media (max-width: 1800px) {
  .intro {
    white-space: normal;
  }
}

@media (max-width: 1439px) and (min-width: 901px) {
  :root {
    --pad-x: 16px;
  }

  .topbar {
    inset-inline: 16px;
  }

  .home-hero {
    min-height: calc(100vh + 118px);
  }

  .hero-row {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 26.5vw);
    gap: clamp(36px, 8vw, 120px);
  }

  .hero-image {
    width: clamp(250px, 26vw, 540px);
    margin-bottom: 225px;
  }

  .intro {
    white-space: normal;
  }
}

.section-stack {
  width: var(--page);
  max-width: calc(100vw - 80px);
  margin: 0 auto;
  padding: 112px 0 202px;
}

.section + .section {
  margin-top: 96px;
}

.section[aria-labelledby="companies"] {
  margin-top: 72px;
}

.section[aria-labelledby="contact"] {
  margin-top: 280px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 0;
}

.section-heading h1,
.section h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.section h2 {
  margin: 28px 0 14px;
  font-size: 16px;
  font-weight: 600;
}

.section-text {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.view-all {
  font-size: 14px;
  font-weight: 600;
}

.list {
  border-top: 0;
}

.list-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.list-item:first-child {
  border-top: 0;
}

.list-item time,
.date {
  display: block;
  margin-bottom: 8px;
}

.list-item h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 56px;
  align-items: center;
  margin-top: 22px;
}

.logo-grid a {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
}

.logo-grid img {
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.contact-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.contact-preferences {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.contact-preferences a {
  border-bottom: 1px dotted currentColor;
}

.page-content {
  width: var(--page);
  max-width: calc(100vw - 80px);
  margin: 0 auto;
  padding: 128px 0 160px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 44px;
  font-size: 30px;
  font-weight: 600;
}

.resume-title,
.contact-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.form {
  display: grid;
  gap: 26px;
}

.category-label,
.field label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.category-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-options button {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.category-options button[aria-pressed="true"] {
  background: var(--lead);
  color: var(--background);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field input,
.field textarea {
  width: 100%;
  border: 2px solid var(--soft-strong);
  border-radius: 7px;
  background: var(--soft);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}

.field textarea {
  min-height: 152px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.status-message {
  min-height: 24px;
  font-weight: 600;
}

.footer {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--page);
  max-width: calc(100vw - 80px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  font-size: 14px;
}

.footer-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
}

.footer-details span:not(:last-child)::after {
  content: " ·";
  margin-left: 8px;
}

.footer .social-links {
  gap: 0;
}

@media (max-width: 900px) {
  :root {
    --page: calc(100vw - 48px);
    --pad-x: 16px;
  }

  .topbar {
    position: fixed;
    inset: 0 16px auto;
    width: calc(100vw - 32px);
    gap: 16px;
  }

  .home-hero {
    min-height: 100svh;
    padding-top: 108px;
    padding-bottom: 72px;
  }

  .hero-row {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 22px;
  }

  .hero-image {
    width: min(92vw, 540px);
    min-width: 0;
    margin: 0 0 0 auto;
  }

  .hero-copy {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .intro {
    width: 100%;
    max-width: calc(100vw - 32px);
    inline-size: auto;
    max-inline-size: calc(100vw - 32px);
    font-size: 16px;
    line-height: 1.5;
    white-space: normal !important;
    overflow-wrap: break-word;
  }

  .name {
    width: 100%;
    max-width: none;
    font-size: clamp(42px, 11vw, 78px);
    white-space: normal;
    overflow-wrap: normal;
  }

  .name span {
    display: block;
  }

  .roles {
    width: 100%;
    font-size: 24px;
    max-width: 100%;
  }

  .section-stack,
  .page-content {
    max-width: none;
    padding-top: 80px;
  }

  .section-stack {
    width: calc(100vw - 32px);
    padding-bottom: 87px;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 40px;
  }

  .logo-grid a {
    min-height: 74px;
    min-width: 0;
  }

  .logo-grid img {
    max-height: 68px;
    max-width: 88%;
  }

  .contact-summary {
    flex-direction: column;
    gap: 24px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer {
    position: static;
    width: var(--page);
    max-width: none;
    margin: 0 auto;
    transform: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
}

@media (max-width: 540px) {
  .icon-link {
    width: 34px;
    height: 34px;
  }

  .icon-link img {
    width: 22px;
    height: 22px;
  }

  .contact-button {
    min-height: 40px;
    padding-inline: 12px;
  }
}
