/* Natural image ratios · plain spoken copy · calm motion */

/* Local fonts — no third-party font request */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070a10;
  --panel: #0c1018;
  --panel-alt: #101622;
  --ink: #eef3f8;
  --muted: #8b96a8;
  --line: rgba(148, 180, 220, 0.14);
  --accent: #6ee7f2;
  --grad: linear-gradient(120deg, #2dd4bf 0%, #38bdf8 48%, #818cf8 100%);
  --grad-soft: linear-gradient(160deg, rgba(45, 212, 191, 0.18), rgba(56, 189, 248, 0.1) 45%, rgba(129, 140, 248, 0.14));
  --font: "Manrope", system-ui, sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1040px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 70% 45% at 10% -10%, rgba(45, 212, 191, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 20%, rgba(129, 140, 248, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(56, 189, 248, 0.1), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.75;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--space);
  background: rgba(11, 11, 11, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: transparent;
}

.brand span {
  display: none;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

.nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: var(--space);
  left: var(--space);
  flex-direction: column;
  padding: 0.5rem;
  background: #161616;
  border: 1px solid var(--line);
}

.nav.is-open {
  display: flex;
}

.nav a {
  padding: 0.75rem 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

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

/* Hero: portrait keeps its ratio — no forced cover into weird frames */
.hero {
  display: grid;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
}

.hero__text {
  padding: 2.5rem var(--space) 2rem;
}

.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 10vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__role {
  margin: 0.85rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.hero__lead {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__photo {
  margin: 0;
  width: 100%;
  background: #000;
}

.hero__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 576 / 1024;
  object-fit: cover;
  object-position: center top;
}

/* Full-width shots — show the whole photo, no crop boxes */
.shot {
  margin: 0;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
}

/* Panels */
.panel {
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  padding: clamp(3rem, 8vh, 5rem) 0;
  border-top: 1px solid var(--line);
}

.panel--alt {
  background:
    var(--grad-soft),
    color-mix(in srgb, var(--panel-alt) 94%, transparent);
}

.panel__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--space);
}

.panel h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.lead {
  margin: 0 0 1.1rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.subhead {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.4rem;
  min-height: 48px;
  padding: 0.8rem 1.3rem;
  background: var(--grad);
  background-size: 160% 160%;
  color: #061018;
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease, background-position 0.35s ease;
}

.btn:hover {
  filter: brightness(1.08);
  background-position: 100% 50%;
  color: #061018;
}

.btn:active {
  transform: translateY(1px);
}

.btn--line {
  margin-top: 0;
  background: transparent;
  color: var(--ink);
  border: 1px solid transparent;
  border-image: var(--grad) 1;
  font-weight: 700;
}

.btn--line:hover {
  background: var(--grad-soft);
  color: var(--ink);
  filter: none;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 0;
  font-size: 0.98rem;
}

.table th,
.table td {
  padding: 0.9rem 0.75rem 0.9rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table thead th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.table tbody th {
  width: 7rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  padding-right: 1.25rem;
}

.table td {
  color: var(--muted);
}

.table td:first-child {
  color: var(--ink);
}

.table a {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.table a:hover {
  text-decoration: underline;
}

.table--wide {
  display: block;
  overflow-x: auto;
}

/* Career path — continuous route line + stops */
.path {
  --path-x: 1.1rem;
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0 0 0 0.25rem;
  display: grid;
  gap: 0;
  position: relative;
}

.path::before {
  content: "";
  position: absolute;
  left: var(--path-x);
  top: 1.4rem;
  bottom: 1.4rem;
  width: 4px;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.25);
}

.path__stop {
  --job: #2dd4bf;
  --job-2: #38bdf8;
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.85rem;
  margin: 0;
  padding: 0 0 1.75rem;
}

.path__stop:last-child {
  padding-bottom: 0;
}

.path__rail {
  position: relative;
  width: 2.4rem;
}

.path__rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.35rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--job);
  border: 3px solid #070a10;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--job) 55%, transparent),
    0 0 20px color-mix(in srgb, var(--job) 45%, transparent);
  z-index: 2;
}

.path__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: 1.25rem 1.2rem;
  border-radius: 1.15rem;
  border: 1px solid color-mix(in srgb, var(--job) 42%, var(--line));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--job) 16%, transparent), transparent 55%),
    linear-gradient(210deg, color-mix(in srgb, var(--job-2) 10%, transparent), transparent 50%),
    rgba(8, 12, 20, 0.65);
}

.path__card::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 55%;
  background:
    radial-gradient(ellipse 55% 80% at 18% 40%, color-mix(in srgb, var(--job) 28%, transparent), transparent 62%),
    radial-gradient(ellipse 50% 70% at 78% 30%, color-mix(in srgb, var(--job-2) 20%, transparent), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* Brand-inspired tile colors (no logos) */
.path__stop--now {
  --job: #2dd4bf;
  --job-2: #38bdf8;
}

.path__stop--fairfy {
  --job: #f472b6;
  --job-2: #fb923c;
}

.path__stop--elektrohub {
  --job: #4ade80;
  --job-2: #22d3ee;
}

.path__stop--harbort {
  --job: #3b82f6;
  --job-2: #94a3b8;
}

.path__stop--heidepark {
  --job: #fb923c;
  --job-2: #ef4444;
}

.job__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.65rem;
}

.job__when {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--job);
}

.job__status {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #061018;
  background: var(--job);
}

.job__brand {
  display: block;
  margin: 0 0 0.95rem;
}

.job__brand img {
  display: block;
  width: min(220px, 70%);
  height: auto;
  object-fit: contain;
  background: transparent;
}

.job__brand--fairfy {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 0 1.15rem;
  padding: 0.55rem 0 0.85rem;
}

.job__brand--fairfy img {
  width: min(240px, 78%);
  filter: drop-shadow(0 8px 22px color-mix(in srgb, var(--job) 35%, transparent));
}

.job__role {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.job__company {
  margin: 0.35rem 0 0;
  font-weight: 650;
  color: color-mix(in srgb, var(--job) 72%, var(--ink));
}

.job__text {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.job__detail {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid color-mix(in srgb, var(--job) 35%, var(--line));
}

.job__detail h4 {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--job);
}

.job__detail ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.job__detail li {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--job) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--job) 22%, transparent);
}

.job__detail strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.job__detail span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.job__detail .note {
  margin-top: 0.9rem;
}

/* Certs */
.certs {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.cert {
  display: grid;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.cert__badge {
  display: block;
  width: min(220px, 65%);
  aspect-ratio: 1 / 1;
}

.cert__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.cert p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.list li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

.contact {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.contact h3 {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.75rem var(--space) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  gap: 1.1rem;
}

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

.legal-nav {
  display: flex;
  gap: 1rem;
  color: var(--muted);
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem var(--space) 4rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 6vw, 2.6rem);
}

.legal-meta {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-page h2 {
  margin: 1.75rem 0 0.55rem;
  font-size: 1.1rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-page a {
  color: #67e8f9;
}

.legal-card {
  padding: 1rem 0;
  margin: 0.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-card strong {
  color: var(--ink);
}

.hint {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (min-width: 900px) {
  .brand span {
    display: inline;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 1.4rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav a {
    padding: 0;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: calc(100dvh - 70px);
  }

  .hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem clamp(2rem, 5vw, 4rem);
  }

  .hero__photo {
    height: 100%;
    min-height: calc(100dvh - 70px);
  }

  .hero__photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 20%;
  }

  .cert {
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
  }

  .cert__badge {
    width: 200px;
  }

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

  .path {
    --path-x: 1.2rem;
    gap: 0;
  }

  .path__stop {
    grid-template-columns: 2.6rem 1fr;
    gap: 1.15rem;
    padding-bottom: 2rem;
  }

  .path__card {
    padding: 1.5rem 1.5rem;
  }

  .job__detail ul {
    grid-template-columns: 1fr 1fr;
  }
}

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