/* ===========================
   Sascha Jansen — Portfolio
   =========================== */

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

:root {
  --bg: #F8F6F1;
  --ink: #1a1a18;
  --ink-muted: #555;
  --ink-light: #888;
  --ink-faint: #aaa;
  --border: rgba(0, 0, 0, 0.1);
  --border-medium: rgba(0, 0, 0, 0.25);
  --photo-bg: #E8E4DC;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

/* ---- Navigation ---- */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  border-bottom: 0.5px solid var(--border);
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* ---- Hero ---- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 82vh;
}

.hero-left {
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 0.5px solid var(--border);
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 4rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 2rem;
}

.hero-title em {
  font-style: italic;
  color: #4A4A40;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
  max-width: 380px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.85rem 1.8rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  width: fit-content;
}

.hero-cta:hover {
  background: #333;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  background: var(--photo-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Replace placeholder with a real photo:
   .hero-photo-placeholder img {
     width: 100%;
     height: 100%;
     object-fit: cover;
   }
*/

.photo-initials {
  font-family: 'DM Serif Display', serif;
  font-size: 6rem;
  color: rgba(0, 0, 0, 0.15);
  letter-spacing: -0.05em;
}

.hero-tag {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 1;
}

/* ---- Stats Bar ---- */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--border);
}

.stat {
  padding: 2rem 3rem;
  border-right: 0.5px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--ink-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- Über mich ---- */

.about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-top: 0.5px solid var(--border);
}

.about-label {
  padding: 4rem 3rem;
  border-right: 0.5px solid var(--border);
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  height: fit-content;
}

.about-content {
  padding: 4rem 3rem;
}

.about-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.about-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 500px;
  font-weight: 300;
  margin-bottom: 2rem;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  border: 0.5px solid var(--border-medium);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #444;
}

/* ---- Footer ---- */

footer {
  border-top: 0.5px solid var(--border);
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.footer-contact a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    border-right: none;
    border-bottom: 0.5px solid var(--border);
    padding: 3rem 1.5rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-right {
    min-height: 50vw;
    padding: 1.5rem;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 0.5px solid var(--border);
    padding: 1.5rem;
  }

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

  .about-label {
    display: none;
  }

  .about-content {
    padding: 2.5rem 1.5rem;
  }

  footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 1.5rem;
  }
}
