﻿:root {
  --bg: #f3f0ea;
  --surface: #fffdf9;
  --surface-alt: #f8f4ee;
  --text: #161616;
  --muted: #585858;
  --line: #dfd7cb;
  --accent: #0f766e;
  --accent-dark: #0a5a54;
  --shadow: 0 18px 40px rgba(30, 30, 30, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 15%, #ffffff 0%, var(--bg) 35%, #ede7db 100%);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  filter: blur(30px);
  opacity: 0.5;
  pointer-events: none;
}

.bg-shape-a {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #9bd5c8;
  top: -80px;
  right: -100px;
}

.bg-shape-b {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: #e7c7a5;
  left: -80px;
  bottom: 10%;
}

.site-header {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--surface);
}

.site-header nav {
  display: flex;
  gap: 16px;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
}

main {
  max-width: 980px;
  margin: 0 auto;
  padding: 8px 20px 48px;
}

.hero {
  margin-top: 24px;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: linear-gradient(130deg, #fffefb 5%, #f7f3ec 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
}

.subtitle {
  color: var(--muted);
  max-width: 70ch;
  margin: 14px 0 0;
}

.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  border-color: var(--line);
  background: #ffffffd9;
  color: var(--text);
}

.card {
  margin-top: 20px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card h2 {
  font-size: 1.5rem;
}

.list {
  margin: 14px 0 0;
  padding-left: 22px;
}

.list li + li {
  margin-top: 9px;
}

.list.compact li + li {
  margin-top: 6px;
}

.note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.timeline {
  margin-top: 16px;
  display: grid;
  gap: 18px;
}

.timeline article {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--surface-alt);
  font-size: 0.9rem;
}

.resume-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.pdf-wrap {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  height: 68vh;
  min-height: 480px;
  background: #f8f8f8;
}

.pdf-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  max-width: 980px;
  margin: 0 auto;
  padding: 8px 20px 34px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--accent-dark);
}

.small {
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 14px;
    flex-direction: column;
    gap: 12px;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .card {
    padding: 20px;
  }

  .resume-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdf-wrap {
    min-height: 60vh;
  }
}
